Development record
2026-07-10: Repo preparation is a plugin skill (`/abcd:prepare-this-repo`),
2026-07-10: Repo preparation is a plugin skill (/abcd:prepare-this-repo),
superseding the external scaffold-repo script's entry point. Grilled rulings:
the committed AGENTS.md working-conventions section is full-inline and
NAMELESS (a pre-public repo name never lands in target repos) between dated
markers for later tooling; the skill hard-refuses not-owned repos (no audit,
no local layer — we don't impose our principles on others' repos); legacy
root .work/ layouts migrate propose-then-sign-off, never leaving two
working-state homes; no re-run/update machinery now — the CLI will own
managed-repo migration (gaps seeded as iss-84/iss-85, originally minted as
duplicate iss-56/iss-57). Rejected: a standalone
handover prompt file (drifts, unversioned); naming abcd in private-only
target repos (two-class rule someone eventually gets wrong).
Frontmatter
| id | dcn-2607100000000006 |
|---|---|
| type | decision |
| date | 2026-07-10 |
.abcd/work/decisions/dcn-2607100000000006-repo-preparation-is-a-plugin-skill-abcd.md
open on GitHub ↗ · commit history ↗
mentions4
- iss-56iss-36 lists .abcd/logbook as a retired location, but the shipped binary writes there: memory lint reports go to .abcd/logbook/memory/ (internal/core/memory/lint.go) and the scanner skip-list references .abcd/logbook/pii-scan/. Adjudicate before any logbook ban is armed; the logbook token was deliberately left OUT of record-lint banned_tokens.
- iss-57capture --source has no autonomous-agent provenance value: agent-finding means a review agent's finding, but an autonomous run's self-observation has no honest source enum; the run had to reuse agent-finding. Candidate: add an agent-observation (or autonomous-run) source.
- iss-84Managed pre-commit gates: the interim prepare-this-repo skill offers the secrets and absolute-path pre-commit config from a private template directory outside the repo. The gate belongs to the configuration layer itself: a core-owned surface should install and maintain commit gates in managed repos, replacing the template copy. Seeded from the scaffold-repo retirement analysis; relates to the pluggable safety gate draft (itd-62).
- iss-85Managed attribution config: AI-disclosure attribution (prepare-commit-msg hook adding the kernel-style trailer, hooksPath wiring, AGENTS.md section) is installed by the interim prepare-this-repo skill from a private template directory. No intent covers the configuration layer owning attribution setup in managed repos; it should, so the per-repo attribution policy is declared and enforced by the tool rather than a hand-copied hook.