Skip to content

docs: correct daemon anchors, schema gate scope, sidecars, slo tiers - #5825

Merged
Sinity merged 1 commit into
masterfrom
fix/codex-p2-docs
Sep 29, 2026
Merged

Sinity merged 1 commit into
masterfrom
fix/codex-p2-docs

Conversation

@Sinity

@Sinity Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner

Summary

Corrects four documentation claims that confirmed Codex P2 review threads showed to be wrong or unverifiable at the current tree.

Problem

  • docs/atlas/daemon.md supported "session profiles run after admitted ingest" and "embeddings use watcher scopes" with polylogue/daemon/cli.py:2824-2854, which holds the watcher gate event and periodic-service arguments, not the post-ingest calls. Every other anchor in the first four paragraphs had drifted as well (for example http.py:6318-6347 no longer holds the execution kernel).
  • docs/internals.md said the schema-manifest check holds derived tiers to their identity hash. devtools gate schema-manifest runs verify_schema_manifest --check-evolution, which runs only _durable_ddl_evolution_violations; derived identity is enforced at open time by assert_derived_schema_identity.
  • docs/sidecars.md listed only -wal/-shm for SQLite sidecars, while _SQLITE_SIDECAR_SUFFIXES in daemon/backup.py and sources/sqlite_snapshot.py also covers -journal.
  • The bench slo catalog entry said it confirms interactive latencies, but the default run measures only the cheap-local tier; the interactive rows are tier lab and need --include-lab.

Solution

  • Re-anchored the daemon atlas runtime-ownership and composition paragraphs, and cited the actual post-ingest route: LiveWatcher wiring in daemon/cli.py, the intake adapter's calls in operations/intake_adapters.py:1041-1049, and the watcher's lease-free convergence methods.
  • Rewrote the internals paragraph to name both enforcers and what each checks.
  • Added -journal to the SQLite sidecar row.
  • Rewrote the bench slo use_when and added a --include-lab example.

Verification

  • agentctl job start --workspace <wt> polylogue verify_quick (job 2993): job 2993 polylogue:verify_quick succeeded.
  • agentctl job start --workspace <wt> polylogue pytest_focused -- tests/unit/devtools/test_command_catalog.py tests/unit/devtools/test_render_devtools_reference.py (job 3020): one failure, test_tool_outcome_help_declares_required_candidate_root, which fails identically on the default branch (job 3029, --on-default-branch, head b5fd10a) and concerns archive tool-outcome-census --help, not this change.

Self-review

Checklists read: docs/review/codex-review-guide.md, the worker-contract generic list. Passes: 1 (clean).

  1. Each criterion is met on the production path: N/A for code paths; each corrected claim was checked against the cited source (devtools/gate.py:124-128, devtools/verify_schema_manifest.py:424, storage/sqlite/schema_bootstrap.py:79-98, daemon/backup.py:82, docs/plans/slo-catalog.yaml:45,176-268).
  2. Sibling sites: the other anchors in the same daemon.md paragraphs had drifted and were re-anchored in the same batch (6 citation groups). docs/atlas/storage.md:35 (thread 20.F007) is being re-anchored by another in-flight branch, so it is left to that owner and the thread stays open.
  3. Consumers: the catalog change touches only use_when and examples; the generated docs/devtools.md renders the summary line, which is unchanged.
  4. Failure paths: N/A, no code path changed.
  5. Tests: N/A. These are prose corrections; the repository rule forbids tests that assert prose wording.
  6. No private paths or data: the diff names only repository paths.

Findings

finding thread node_id disposition evidence test
20.F004 Restore the omitted live-watcher anchors PRRT_kwDOR7_N4c6koG2u fixed docs/atlas/daemon.md cites operations/intake_adapters.py:1041-1049 and sources/live/watcher.py:1282-1302 N/A (docs)
20.F013 Stop claiming the gate verifies derived identities PRRT_kwDOR7_N4c6fm3sv fixed docs/internals.md names the gate's durable-only check and assert_derived_schema_identity N/A (docs)
20.F017 Include rollback-journal sidecars PRRT_kwDOR7_N4c6dlC-c fixed docs/sidecars.md SQLite row lists -journal N/A (docs)
19.F007 Tell users to include the lab tier PRRT_kwDOR7_N4c6c30n_ fixed devtools/command_catalog.py bench slo use_when and --include-lab example N/A (docs)

🤖 Generated with Claude Code

https://claude.ai/code/session_015pdKaZWyGe6Ngvsz468dzg

Re-anchor the daemon atlas composition paragraphs to the current service
wiring, including the post-ingest embedding and profile calls in the intake
adapter and live watcher. State that the schema-manifest gate checks only
durable evolution while derived identity is enforced at open time. Add the
rollback-journal sidecar to the SQLite row, and tell `devtools bench slo`
users that lab-tier surfaces need --include-lab.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_015pdKaZWyGe6Ngvsz468dzg
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@Sinity
Sinity enabled auto-merge (squash) September 29, 2026 12:58
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-29T13:02:07.841226Z 44a2a07 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant