Repository navigation
docs: Re-verify the atlas after the structured-logging wave - #5075
Conversation
The structured-logging conversion moved `run_daemon_services`, `DaemonWriteCoordinator.run`, and the origin-spec tightness validator without changing what any of them does. Re-read each cited region against the code and corrected the anchors; the detector tightness table was checked against the live `ORIGIN_SPECS` registry and is exact. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK
Blob GC collapsed twelve refusal log lines into one `storage.blob_gc.refused` event carrying `outcome="refused"`, so a refusal can no longer be read as a pass that reclaimed nothing. That distinction is now real and the sheet says so. It also says where it does not hold: the six refusal returns inside `_execute_gc_generation_members` set `blocked_reason` and emit nothing, and the per-member return carries deletions already committed in that batch. That gap predates the conversion; the sheet points a reader at the report rather than the event stream for an aborted unlink pass. Blob-store and blob-GC anchors re-read and corrected for the import shift. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK
Both derivation-kernel submits now wrap their `partial` in `propagate(...)`, because neither `ThreadPoolExecutor.submit` nor `threading.Thread` copies contextvars and the work would otherwise run with an empty context and lose the run's correlation id. The sheet states that as a property of the path. The sheet also no longer invites the overclaim: `legacy-stdlib-logger` is a `devtools gate patterns` rule that matches only the *acquisition* of a stdlib logger, so green means no module calls `logging.getLogger` — not that no module logs prose. 131 modules still use the `get_logger` wrapper, `daemon/write_coordinator.py` among them. Daemon CLI anchors re-read against the rewritten module. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK
The twelve-tool inventory, capability independence, and every registry anchor were re-checked against the live declarations and hold unchanged; only `maintenance`'s `target_purpose` string moved, and the sheet already matched its new wording. `agent_integration/spec.py` was corrected to the three live maintenance operations, but the hand-written manual prose rendered in the same document still summarises `maintenance` as "Preview/status/reconcile" and prescribes `operation="preview"`. The manual now contradicts itself; the sheet says so. Two `tests/infra/mcp.py` anchors were off by two lines and are corrected. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK
#5072 converted the remaining daemon modules, moving every cited region in write_coordinator, convergence_stages, derivation, fts_status and intake. Each was re-read: the stage inventory, the prerequisite validator, the readiness contract and the intake cooldown/isolation behaviour are unchanged, so the anchors move and the prose stands. The logging scope note is corrected for what #5072 actually leaves behind: write_coordinator is now fully converted, 100 modules still use the `get_logger` wrapper, and `_StdlibBoundLogger` forwards only four stdlib kwargs while discarding the rest — which is why a green ratchet does not mean structured output. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedNext included review available in 19 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
The logging conversion changed files every atlas sheet cites, so
devtools gate atlaswent from 0 back to 53 BLOCKs. All five affected sheets were re-read against the code at head. 53 → 0. Docs only; no code touched.Why this needed reading rather than re-stamping
The expected answer was that a logging conversion changes how a module reports, not what it does — so most prose should hold and need only an anchor fix. That expectation was mostly right and would have been the wrong thing to trust, because it is not uniformly right.
storage/blob_gc.pyanddaemon/convergence.pychanged real behaviour, and one section was found to overclaim as a direct result.#5072landed mid-task and was caught on a re-fetch before stamping, sodaemon.mdand00-core.mdwere re-verified twice — the second pass againstwrite_coordinator.py,convergence_stages.py,derivation.py,fts_status.pyandintake.pyas they now stand.Nothing was deleted.
mcp.md's twelve-tool inventory and per-capability gates were checked by executingdeclared_tool_namesat each capability combination rather than by reading it.The finding worth having
Six blob-GC refusals still emit nothing, and one of them reports deletions that did happen.
storage/blob_gc.py::_execute_gc_generation_memberssetsreport.blocked_reasonand returns at lines 752, 757, 781, 786, 801, 886 with no_emit_gc_refusalcall. The conversion collapsed twelve refusal lines intostorage.blob_gc.refusedprecisely so a refusal cannot be read as a clean pass — but these six were never logged before either, so the conversion never touched them, and the hazard survives inside the locked execution window.Line 801 is the sharp one: a per-member protection blocker during the final locked recheck does
so an aborted unlink pass emits nothing and returns a nonzero deletion count. Pre-existing, not introduced by the conversion.
storage.mdnow documents the exception rather than leaving the sheet overclaiming, and it is filed separately.Other disagreements recorded
polylogue-4u79wwas narrowed, not closed, and the manual now contradicts itself inside one document.agent_integration/spec.py:499-517was corrected to the three live operations, matching the handler — but the hand-written prose rendered into the same manual still callsmaintenance"Preview/status/reconcile and administrative execution" and prescribesoperation="preview"with a dry-run mode, which theLiteralrejects.polylogue-nysanunchanged at head —render_agent_manual.py:125,agent_integration/spec.py:5andtests/infra/mcp.py:20still say "ten-tool" against a declaration-derived twelve.tests/infra/mcp.pyanchors were off by two lines. The gate only checks that a cited line exists, not that it says what the prose claims.Verification
Exit statuses read from
$?on the command itself; gate output was redirected to a file rather than piped, since a pipe reports the pipe's status.🤖 Generated with Claude Code
https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK