Skip to content

refactor(agentctl): decouple Beads state from Git - #4072

Merged
Sinity merged 1 commit into
masterfrom
feature/agentctl/beads-control-cutover
Aug 23, 2026
Merged

Sinity merged 1 commit into
masterfrom
feature/agentctl/beads-control-cutover

Conversation

@Sinity

@Sinity Sinity commented Aug 23, 2026

Copy link
Copy Markdown
Owner

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.

@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: 4acb42f8-f4fc-471c-a7dd-24124daf0d14


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.

@Sinity
Sinity merged commit 635a6fb into master Aug 23, 2026
3 checks passed
@Sinity
Sinity deleted the feature/agentctl/beads-control-cutover branch August 23, 2026 05:57
@chatgpt-codex-connector

Copy link
Copy Markdown

💡 Codex Review

https://github.com/Sinity/polylogue/blob/533dde76f67fdd230f0db6a9520fbd5484bad6e9/.beads-hooks/post-checkout#L18-L20
P1 Badge Migrate existing hook paths before deleting the old hooks

Existing clones have an absolute core.hooksPath pinned to .beads-hooks; when such a clone pulls or checks out this commit, this deletion removes the post-checkout hook that previously invoked scripts/configure-git-hooks. The replacement configurator is only called by a future flake.nix shell hook, so a long-lived nix develop shell or checkout without a direnv reload silently has no pre-commit or pre-push checks until the devshell is re-entered. Retain a forwarding migration hook or otherwise update the configured path as part of the checkout transition.

AGENTS.md reference: AGENTS.md:L411-L413


# Live task state belongs to the shared Dolt database and its remote, never a
# branch-local JSONL snapshot. Keep automatic Git import disabled so checkout
# changes cannot mutate or downgrade that state.
import.auto: false

P2 Badge Disable the automatic JSONL backup explicitly

For repositories with a Git remote, the immediately preceding configuration documents that JSONL backup is auto-enabled and defaults to the project repository, but this change only disables automatic import. Consequently, ordinary bd use can periodically recreate .beads/issues.jsonl as untracked Git-side state, dirtying the worktree and undermining the stated Dolt-only model. Set backup.enabled: false or direct backups to a separate repository.

AGENTS.md reference: AGENTS.md:L353-L355


https://github.com/Sinity/polylogue/blob/533dde76f67fdd230f0db6a9520fbd5484bad6e9/.beads/issues.jsonl#L1
P2 Badge Update active agent guidance before deleting Beads surfaces

The resulting tree still has active instructions that depend on the deleted surfaces: .agent/CONVENTIONS.md:105-113 requires all bd calls to resolve through scripts/bd, while .claude/agents/lane.md:68-75 and .claude/agents/triage.md:16-19 prohibit bd and direct agents to read .beads/issues.jsonl. Coordinators therefore have no permitted wrapper and dispatched agents cannot retrieve requested Bead content; update these instructions to the new live-Dolt workflow in the same cutover.

AGENTS.md reference: AGENTS.md:L345-L351

ℹ️ 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".

This was referenced Sep 28, 2026
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