Repository navigation
refactor(agentctl): externalize task lifecycle - #4098
Conversation
Problem: branch-local Beads state and DevTools task protocols could carry live task authority through worktrees, PRs, and Pages publication. What changed: remove the local Beads workspace, live graph/clustering tools, task-carrier guidance, and task-state publication paths. Preserve append-only Beads interaction ledgers as archive evidence and expose campaign-genesis verification as a read-only maintenance command over pinned historical Git blobs. Compatibility: task authority is external to the checkout; historical Git evidence remains verifiable.
Remove the unregistered Pages template that still referenced tracked Beads task state.
|
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: db6212febf
ℹ️ 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 - ignore the checkout-local `.beads/` redirect and external-authority metadata ## Problem After #4098 removed tracked Beads state, the canonical external task authority’s local `.beads/redirect` made the main checkout appear dirty. That contradicted the migration invariant that ordinary task operations do not affect Git status. ## Solution Root-ignore `/.beads/`. Historical Beads exports remain available through Git history and product evidence parsers; live task state stays under the external authority. ## Verification ```text git check-ignore -v --no-index .beads/redirect .gitignore:115:/.beads/ .beads/redirect git diff --check clean ``` Co-authored-by: Codex <[email protected]>
Summary
Problem
Polylogue still carried task authority through feature checkouts, PR policy, DevTools graph helpers, and tracked
.beadsfiles after Sinnixd established a canonical external task backend. Branch switches could therefore carry stale task snapshots and ordinary tracker work remained coupled to Git delivery.Solution
Delete the checkout-owned task state, carrier conventions, board generation, Beads graph verifier, clustering helper, and their tests. Update agent and repository contracts so AgentCTL and the external task backend own lifecycle state. Preserve evidence capabilities: the historical Beads parser and append-only interaction-ledger watcher remain, while immutable reindex genesis records are checked against pinned Git blobs through
polylogue maintenance campaign-genesis.Verification
Net change: 338 insertions, 7,236 deletions.