Development record
`abcd intent` creates its draft in the checkout it runs in, with no repository or worktree target, which bites when the record store is being edited across several worktrees at once.
abcd intent creates its draft in the checkout it runs in, with no repository or worktree target, which bites when the record store is being edited across several worktrees at once.
Observed in an autonomous run in a managed repository where several worktrees were live against one record store. The verb has no --repo and no worktree target, so where a draft lands is decided by the process's working directory rather than by the operator, and a session working in a feature worktree mints into that worktree's copy of the store. The record then travels only with that branch — or, if the branch is abandoned, not at all.
This is the same shape as iss-89, which reports that abcd capture writes only to the cwd repo's ledger and so has no way to route a defect found in one repository into another's store. That record's proposed remedy is exactly the one wanted here: an upstream or --repo flag on the writing verbs. The two differ only in which cross-boundary case bites — iss-89 is cross-repository (an abcd defect found while working in a managed repo), this is cross-worktree within one repository — and a --repo-shaped fix answers both. Filed rather than folded into iss-89 because the worktree case has a second requirement iss-89 does not: within one repository, the operator usually wants the PRIMARY worktree's store, not an arbitrary path, and the verb could default there rather than requiring the path be named.
Remedy grounds (2026-09-29)
Why: the primary-root resolver already exists in the banlist package, and the itd-148 ruling bounds who may write there. Rejected: an unconditional primary default, which would have every lane session write into the primary checkout that ruling forbids.
Frontmatter
| id | iss-2609100509533147 |
|---|---|
| type | issue |
| lifecycle | open |
| severity | minor |
.abcd/work/issues/open/iss-2609100509533147-intent-mints-into-the-checkout-it-runs.md
open on GitHub ↗ · commit history ↗
mentions2
- iss-89abcd defects found while dogfooding a target repo have no ledger home: abcd capture writes only to the cwd repo .abcd/work/issues/, so capturing an abcd bug found while onboarding repo X would either pollute X ledger (wrong repo) or require re-running with abcd-cli as cwd. Surfaced during the Manuscripts B1 dogfood -- these seven captures had to be routed to abcd-cli by hand. Seed: a capture routing option that targets the abcd repo (or an upstream/--repo flag) for tool-defect captures. Acceptance: capturing an abcd defect from within a target repo lands it in abcd ledger without a manual cd.
- itd-148Every change starts in its own worktree in abcd's store: the primary checkout is a read-only surface, and abcd blocks mutations there for every session but a declared coordinator