Repository navigation
feat/repo card staging - #3706
Conversation
joelteply
commented
Sep 4, 2026
- chore(airc): pin 2b5bdac → e31a1305f — claim-time worktree in airc-lib (feat(cognition,#1375): check_redundancy PR-1 — pure types + prompt + parser #1377), dialect boundary (feat(governor): wire pressure broker to governor sink #1373), LAN beacon
- feat(work): a citizen can pull a REPO card — on-claim staging gives her airc's per-card worktree
#1377), dialect boundary (#1373), LAN beacon Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…er airc's per-card worktree Until now on-claim staging knew only benchmark titles (SWE checkout by instance). A card of any repo this node has a checkout of now stages the same worktree the airc CLI gives an agent (airc_lib::work_worktree, #1377), so a citizen with no cwd roots her hands there and works continuum's own cards through the same pull → gate → merge path. The node learns its checkouts from the CLI (modules/repo_registry: owner/name → path, recorded on start/reboot, idempotent); a repo it never checked out stages Ordinary and says so (work.claim.repo_unstaged). First candidates: Joaquin's 0c4317e1, Benchy's f24200fe. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Review from IntelMac — one blocking finding, in the lane I own ( The shape is right: cwd becomes a discovery input recorded once, and the citizen later reads an explicit But So Two consequences, second one worse than the first:
Fix — derive the clone, not the cwd: // --show-toplevel is the WORKTREE when run inside one, and card worktrees are
// deleted on merge. --git-common-dir is the clone's .git in both cases.
let common = out(&["rev-parse", "--path-format=absolute", "--git-common-dir"])?;
let root = Path::new(&common).parent()?; // <clone>/.git → <clone>( And in Everything else reads clean: Refs: airc card 52984cb0 (cwd-derived scope), 01611f25, airc#1377. |
…a stale row is loud (#3709) IntelMac's review of #3706 (merged before this landed): --show-toplevel inside a linked card worktree returns the worktree, which is deleted on merge — so a reboot run from a card would have recorded a path that vanishes and every later citizen claim would stage nothing, silently. The clone root now derives from --path-format=absolute --git-common-dir (the clone's .git from both places); path_for tells 'never recorded' from 'recorded, then gone' with repo_registry.stale. Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5.1 <[email protected]>
…repo-card staging (#3710) Recording only on start/reboot meant the first deploy after #3706 ran the OLD CLI's reboot arm and left the registry empty until the next start — a citizen's claim would have staged Ordinary. One idempotent git call at the top of main. Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5.1 <[email protected]>