docs(dox): build out the DOX AGENTS.md hierarchy
Root Child DOX Index assembled, plus a per-module AGENTS.md across the tree (core/*, infrastructure/*, apps/*, testing/*, and docs/examples/frontend/etc), each following the DOX section shape: Purpose, Ownership, Local Contracts, Work Guidance, Verification, Child DOX Index.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# core/critique — AGENTS.md
|
||||
|
||||
## Purpose
|
||||
|
||||
Critic calibration tracking: projects critic outcome history into `CriticCalibrationState` so the kernel can adapt critic weighting over time.
|
||||
|
||||
## Ownership
|
||||
|
||||
CORREX kernel team.
|
||||
|
||||
## Local Contracts
|
||||
|
||||
- `CriticCalibrationState` — accumulated calibration data rebuilt from `CritiqueCalibrationEvents` (defined in `core:events`).
|
||||
- `CriticCalibrationReducer` / `DefaultCriticCalibrationReducer` — standard reducer, only `state.copy(...)`.
|
||||
- `CriticCalibrationProjector` — wraps the reducer as `Projection<CriticCalibrationState>`.
|
||||
- No repository class here; callers use `EventReplayer<CriticCalibrationState>` directly or wire their own.
|
||||
|
||||
## Work Guidance
|
||||
|
||||
- Follow the standard Events→State→Reducer→Projector pattern (see `core/AGENTS.md`).
|
||||
- No promotion logic in this module — calibration data is read by `core:kernel`; decisions are made there.
|
||||
|
||||
## Verification
|
||||
|
||||
```bash
|
||||
./gradlew :core:critique:test --rerun-tasks
|
||||
```
|
||||
|
||||
## Child DOX Index
|
||||
|
||||
No child AGENTS.md (leaf module).
|
||||
Reference in New Issue
Block a user