Keep regather in fixed coordinator lanes
This commit is contained in:
parent
cda1b26416
commit
c6201363f4
7 changed files with 271 additions and 39 deletions
|
|
@ -45,3 +45,5 @@
|
|||
{"ts": "2026-04-30T08:18:46+00:00", "type": "implementation", "status": "ok", "note": "CRRC pre-compaction steering now creates a turn-scoped pending compact handoff after successful steer_input, and clean turn completion forces the existing compact automation even if the ordinary coordinator would continue; aborted turns clear the handoff. Focused Rust tests, coordinator smoke, and reorient-launch smoke passed."}
|
||||
{"ts": "2026-04-30T08:31:23+00:00", "type": "implementation", "status": "ok", "note": "CRRC pressure now uses current context usage from last token telemetry instead of cumulative thread token spend, treats cumulative-only telemetry as unknown, and starts pre-compaction preparation at 80% of the active auto-compact/context limit. Focused pressure/coordinator tests plus pressure and coordinator smokes passed."}
|
||||
{"ts": "2026-04-30T09:40:22+01:00", "type": "implementation", "status": "ok", "note": "Aetheria dogfood sanity review found the specialists were not the weak link: modeling emitted source-grounded graph/checkpoint/frontier state, and verification returned needs-evidence rather than blessing implementation. The coordinator policy was tightened so only an accepted verifier pass clears implementation; accepted non-pass verifier findings route back toward modeling/checkpoint repair or reorientation. Focused Rust coordinator tests, coordinator smoke, and an operator-safe replay now block implementation with regatherManually on the current Aetheria thread."}
|
||||
{"ts": "2026-04-30T10:05:00+01:00", "type": "verification", "status": "blocked", "note": "Aetheria dogfood attempt dogfood-20260430-094721 was contaminated by supervisor lane puppeteering: manual launchModeling, launchReorient, and launchVerification calls tested the buttons, not autonomous Epiphany coordination. The manual artifacts still showed useful facts: modeling and reorientation stayed source-grounded, verification returned needs-evidence, and implementation remained blocked."}
|
||||
{"ts": "2026-04-30T10:05:10+01:00", "type": "implementation", "status": "ok", "note": "Coordinator regather policy now keeps fixed lanes in charge: regatherManually no longer preempts modeling/verification review, completed unaccepted modeling findings produce reviewModelingResult before verification, modeling acceptance can be driven only by explicit test auto-review or operator review, and the current Aetheria coordinator replay now stops at reviewModelingResult instead of supervisor improvisation. Focused Rust coordinator tests and MVP coordinator smoke passed."}
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ accepted_design:
|
|||
- A narrow auditable coordinator is likely central to the MVP because implementation, modeling/checkpoint, verification/review, and CRRC automation depend on each other's signals. CRRC itself is harness workflow automation, not a specialist-agent role: it watches pressure/continuity, ensures persistence, triggers compaction/rehydration/reorientation when needed, and may launch a bounded reorient-worker specialist when semantic regathering is required.
|
||||
- `thread/epiphany/coordinator` is the first harness-native fixed-lane coordinator surface: it composes roles, pressure, reorient, CRRC, roleResult, and reorientResult into a read-only action recommendation with target role, source signals, review requirements, automation eligibility, reason, and current lane summaries without mutating state or launching work.
|
||||
- Coordinator implementation clearance is stricter than review acceptance: an accepted verification/review finding only clears the implementation lane when its verdict is `pass`; accepted `needs-evidence`, `needs-review`, or `fail` findings send the loop back toward modeling/checkpoint strengthening or reorientation instead of treating the review as a green light.
|
||||
- Coordinator regather handling is now fixed-lane first, not supervisor improvisation: `regatherManually` is a fallback only after reorient/modeling/verification review and launch lanes cannot advance the state, completed modeling findings must be reviewed before verification, and the CLI coordinator's explicit test-only `--auto-review` mode may accept modeling state patches before launching verification while production semantics remain review-gated.
|
||||
- `tools/epiphany_mvp_coordinator.py` is the first auditable coordinator runner: it drives the fixed single-user lanes through app-server APIs, may auto-launch modeling, verification, or reorient-worker jobs, keeps semantic findings review-gated by default, and writes coordinator summaries, JSONL steps, rendered snapshots, transcript, stderr, and final next-action artifacts.
|
||||
- Limited native CRRC automation is now wired only at turn-complete safe boundaries: it can submit a compact operation when the read-only coordinator recommends `compactRehydrateReorient` or when a successful pre-compaction checkpoint intervention left a pending compact handoff for the completed turn, and it can launch the fixed `reorient-worker` when the coordinator recommends `launchReorientWorker`. It does not auto-launch modeling or verification, auto-accept findings, promote evidence, edit implementation code, or continue after reviewable semantic results.
|
||||
- Pre-compaction checkpoint intervention is now wired at token-count boundaries: when a loaded Epiphany thread crosses the existing `shouldPrepareCompaction` pressure threshold during an active turn, the harness steers the active agent once for that turn with a bounded CRRC directive to bank scratch/checkpoint/map/evidence before compaction/reorientation. A successful steer marks a turn-scoped pending compact handoff consumed at clean turn completion; this is still steering plus compaction handoff, not semantic acceptance, broad scheduling, or automatic implementation continuation.
|
||||
|
|
@ -181,5 +182,5 @@ rejected_paths:
|
|||
reason: persistent state that accumulates every local truth becomes memory cruft and weakens rehydration
|
||||
|
||||
current_status:
|
||||
summary: Phase 1 durable state through the Phase 6 GUI/coordinator/specialist/CRRC MVP surfaces are landed. Aetheria dogfood first exposed a supervisor contamination scar, so the quarantine now keeps the supervisor on operator-safe projections and sealed transcripts. The clean supervised pass proved the CRRC compact/reorient/reorientAccept lane can reach state revision 16, and later operator-safe review showed the modeler and verifier behaved correctly: modeling grew source-grounded graph/checkpoint/frontier state while verification returned `needs-evidence`, not a pass. The coordinator was too permissive, so it now treats only an accepted verifier `pass` as implementation clearance; accepted non-pass verifier findings route back toward modeling/checkpoint repair or reorientation. The follow-up implementation pass still produced no tracked Aetheria diff, wrote audit artifacts, marked the investigation checkpoint `regather_required`, advanced state to revision 17, and current coordinator replay blocks implementation with `regatherManually` instead of fake progress.
|
||||
next_action: Retry Aetheria dogfood from the operator-safe coordinator lanes. Start with bounded regather/modeling repair for the `regather_required` checkpoint and verifier `needs-evidence` finding, then rerun verification; only retry implementation after a passing verifier result or an explicit reviewable failure artifact says the lane is still blocked. Do not inspect raw worker transcripts or `rawResult` payloads unless the user explicitly requests forensic debugging.
|
||||
summary: Phase 1 durable state through the Phase 6 GUI/coordinator/specialist/CRRC MVP surfaces are landed. Aetheria dogfood first exposed a supervisor contamination scar, so the quarantine now keeps the supervisor on operator-safe projections and sealed transcripts. A second dogfood attempt exposed a subtler supervision scar: manually clicking launchModeling, launchReorient, and launchVerification was theatre, not autonomous harness dogfood. The harness was repaired so `regatherManually` no longer preempts fixed modeling/verification review lanes, completed modeling must be reviewed before verification, accepted verifier `pass` is still required before implementation, and the coordinator now recommends `reviewModelingResult` on the current Aetheria thread instead of asking the supervisor to improvise.
|
||||
next_action: Fix the modeling output contract before another implementation dogfood run: the latest Aetheria modeler produced a source-grounded `checkpoint-ready` finding but no `statePatch`, so the coordinator correctly stops at `reviewModelingResult` and implementation stays blocked. Strengthen modeling prompt/schema/acceptance feedback so regather/modeling can emit a reviewable typed compatibility-contract/checkpoint patch, then let the coordinator runner drive modeling acceptance and verification without manual lane puppeteering. Do not inspect raw worker transcripts or `rawResult` payloads unless the user explicitly requests forensic debugging.
|
||||
|
|
|
|||
Reference in a new issue