Loading...
Loading...
Draft, promote, archive, and supersede ADR-style decision records (types are open: architecture, product, security, policy, legal, …) and keep INDEX.md and cross-links generated, via the bundled scripts/decisions.py tool. Use when creating or promoting decision drafts, superseding or archiving a decision, fixing a promotion breach, or running build, check, promote, rename-draft-id, or install.
npx skill4agent add skymavis/skills decision-recordsdecisions.pyscripts/decisions.pydecisions.py installdocs/python scripts/decisions.py build [--relink] # regenerate INDEX.md (+ refresh links)
python scripts/decisions.py check # validate (CI-safe; exit 1 if stale)
python scripts/decisions.py promote <name…> [--deref] [--allow-replace] # draft(s) -> accepted/
python scripts/decisions.py rename-draft-id <name> <NEW> # re-ID a draft
python scripts/decisions.py install [repo] # adopt in a repo: symlink + pre-commitdocs/decisions/docs/
decisions/ # the convention's namespace (the umbrella)
INDEX.md # GENERATED registry over accepted/ + archived/
README.md # human guide to the convention (scaffolded by install)
AGENTS.md # agent rules: decisions are binding here (scaffolded by install)
accepted/<type>/ # ACCEPTED numbered records; <type> = any lowercase slug you define
archived/ # RETIRED records (superseded | deprecated) — flat
drafts/ # WIP candidates — flat, 4-UPPERCASE-letter IDs, NOT in INDEX
threat-model.md # other repo docs stay siblings — still cross-reference decisions| Stage | Dir | ID | Status |
|---|---|---|---|
| candidate (WIP) | | 4 UPPERCASE letters, mnemonic ( | |
| decision | | global counter ( | |
| retired | | (keeps its counter) | |
<type>accepted/<type>/architectureproductsecuritypolicylegalfinancepeoplecomplianceoperationstypeproposedcheck`0006``CONF`build --relinkdocs/*.mdthreat-model.mdpromoteINDEX.mdpromote--deref--allow-replacedecisions.py install [repo]repoINDEX.md<repo>/scripts/decisions.py.gitignoreinstalldocs/decisions/accepted/archived/drafts/README.mdAGENTS.mdINDEX.mdREADME.mdAGENTS.mdpre-commitdecisions.py checkdocs/decisions/README.mdCONTRIBUTING.mdREADME.mddocs/decisions/INDEX.mdAGENTS.mdCLAUDE.mddocs/decisions/AGENTS.md