Add the metadata layer from /init-project: canonical GPL-3.0-or-later LICENSE, CITATION.cff, seeded CHANGELOG, .editorconfig, and ADRs 0001-0003 recording the stack, license, and forge/CI decisions. README gains a forge badge and a License section. Root AGENTS.md gains the DOX framework with child docs for docs/, docs/devlog/, and docs/adr/ so the doc tree has binding contracts.
1.3 KiB
docs/adr/ — Architecture Decision Records
Purpose
Short, numbered records of decisions that are hard to reverse, surprising without context, or the result of a real trade-off. Existing decisions: 0001 stack (TypeScript single-file, no manifest), 0002 license (GPL-3.0-or-later), 0003 forge and CI (Gitea, no CI pipeline).
Ownership
Created during /init-project (0001–0003 are reserved for stack / license / forge-and-CI); extended whenever a qualifying decision is made, per the domain-modeling skill's ADR conventions.
Local Contracts
- File name
NNNN-slug.md; number = highest existing + 1, gap-free. - Body:
# {Short title}+ 1–3 sentences (context, decision, why). Optional sections only when they add value: Status, Considered Options, Consequences. - Records are immutable once accepted — supersede via a new ADR with
Status: superseded by ADR-NNNN, never rewrite history. - Licenses are named by SPDX id (
GPL-3.0-or-later, not "GPLv3").
Work Guidance
Offer an ADR only when all three hold: hard to reverse, surprising without context, a real trade-off. Easy reversals and obvious choices are recorded in a session log instead.
Verification
Numbering is sequential and gap-free; each file parses as the ADR format (heading + short paragraph).
Child DOX Index
None — leaf directory.