Repository navigation
feat(devtools): derive campaign genesis from Beads state - #4069
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c1f84b48bc
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
## Summary - remove branch-local Beads import/export, wrappers, Git hooks, carrier receipts, and tracked live task snapshots - keep product commit/push checks in `.githooks` while task mutations publish directly through Dolt - preserve immutable historical snapshot verification and historical Beads evidence ingestion ## Verification - surviving focused control/evidence surface: 132 passed - real Bead mutation left Git status hash unchanged; `bd dolt push` completed - `devtools verify --quick`: success at exact head `533dde76` - AgentCTL bound job `28d3233e-4b81-4812-a476-bb96680935f1`: succeeded at exact head ## Baseline `devtools verify bead-graph` has 31 campaign-migration findings on both master and this branch; the branch removes only the old stale-JSONL wrapper warning. These findings were introduced by #4069 and are tracked separately from this control-path cutover. Co-authored-by: Polylogue tests <[email protected]>
## Summary Adds the immutable campaign genesis artifact and restores the managed temporary root required by snapshot-isolated verification. ## Problem PR #4069 added `CAMPAIGN_GENESIS_PATH` and unconditionally loads `devtools/campaign_genesis/reindex-2026.json`, but the required JSON artifact was left untracked in its originating worktree and was absent from `master`. In addition, the guarded `devtools verify --quick` path attempted to create its isolated snapshot under `/realm/tmp`, the deliberately immutable directory index, so the repository pre-push hook could not complete. ## Solution Adds the pinned reindex-2026 input, migration, and formula snapshot digests at the path the validator owns. Snapshot isolation now uses `/realm/tmp/work`, the managed writable work area, with a regression test for the implicit destination. ## Verification `direnv exec . devtools test tests/unit/devtools/test_snapshot_run.py tests/unit/devtools/test_verify_bead_graph.py` Result: `40 passed in 7.94s` (`ok (10.1s)`). The guarded push also completed using the repaired snapshot path. <!-- polylogue-pr-scope:v2 { "assigned_beads": [], "dispositions": [], "mutated_beads": [], "scope_digest": "79a7984a9ec80a157c96dc8d28561159c642c15de3793837eff751fa7eac34a1", "scope_kind": "self_contained", "version": 2 } --> --------- Co-authored-by: Polylogue tests <[email protected]>
|
Closing out open Codex review threads on this PR (evidence checked against master at 2175f9b):
Resolving every thread listed; confirmed defects are fixed under the named bead. |
Summary
Derive campaign genesis requirements directly from the live Beads graph.
Problem
The reindex assimilation batch needs auditable campaign provenance rather than manually maintained genesis assumptions.
Solution
Extends
devtools/verify_bead_graph.pywith Beads-derived campaign genesis validation and adds regression coverage for its graph states.Verification
devtools test tests/unit/devtools/test_verify_bead_graph.py— 32 passed.devtools verify --quick— success onc1f84b48in the managed receipt20260823T052004Z-quick-1765177-e5169c4b.Ref polylogue-4zyi0.
Acceptance disposition: campaign-provenance slice satisfied; raw and fixture deltas were already absorbed by current master; recurring FTS ownership remains under separate semantic integration.