Skip to content

feat(devtools): derive campaign genesis from Beads state - #4069

Merged
Sinity merged 2 commits into
masterfrom
feature/integration/unified-reindex-recovery
Aug 23, 2026
Merged

Sinity merged 2 commits into
masterfrom
feature/integration/unified-reindex-recovery

Conversation

@Sinity

@Sinity Sinity commented Aug 23, 2026 •

Copy link
Copy Markdown
Owner

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.py with 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 on c1f84b48 in the managed receipt 20260823T052004Z-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.

@coderabbitai

coderabbitai Bot commented Aug 23, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 5163b7ab-0fdb-468b-ba7c-4ec0e1fef939


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread devtools/verify_bead_graph.py Resolved
Comment thread devtools/verify_bead_graph.py Resolved
Comment thread devtools/verify_bead_graph.py Resolved
Comment thread devtools/verify_bead_graph.py Resolved
Comment thread devtools/verify_bead_graph.py Resolved
Comment thread devtools/verify_bead_graph.py Resolved
Comment thread devtools/verify_bead_graph.py Resolved
Comment thread devtools/verify_bead_graph.py Resolved
@Sinity
Sinity merged commit 58a813a into master Aug 23, 2026
3 checks passed
@Sinity
Sinity deleted the feature/integration/unified-reindex-recovery branch August 23, 2026 05:33
Sinity added a commit that referenced this pull request Aug 23, 2026
## 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]>
Sinity added a commit that referenced this pull request Aug 23, 2026
## 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]>
@Sinity

Sinity commented Sep 28, 2026

Copy link
Copy Markdown
Owner Author

Codex review threads on this PR whose cited code is gone (checked against master at 23f91a5):

Resolving these threads.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

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.

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