docs: bootstrap project metadata and DOX tree
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.
This commit is contained in:
1 parent
5b6614bbb8
commit
8599ae8176
12 files changed
+906
No files matched your search
@@ -0,0 +1,3 @@
|
||||
# TypeScript single-file extension, no manifest
|
||||
|
||||
Smart Compact is a Pi extension written as one TypeScript file (`index.ts`) with zero dependencies and deliberately no `package.json`: Pi discovers `*/index.ts` one level deep from its extensions directory, so a manifest would add metadata nothing reads. The test harness (`harness.ts`) runs via Node ≥ 22.18 native type stripping (`node --test harness.ts`), which is also why there is no build step. Do not "helpfully" add a manifest or bundler — npm distribution was rejected because the extension is symlinked from `~/.pi/agent/extensions/` and has nowhere to ship.
|
||||
@@ -0,0 +1,3 @@
|
||||
# GPL-3.0-or-later
|
||||
|
||||
The project carries GPL-3.0-or-later, chosen over MIT and Apache-2.0 during `/init-project` on 2026-11-16. This is personal infrastructure on a self-hosted forge, so strong copyleft keeps derived versions open with no practical downside for the author. SPDX id used everywhere: `GPL-3.0-or-later`.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Forge is Gitea; CI deliberately none
|
||||
|
||||
The repo lives on the self-hosted Gitea instance at `git.babylondreams.de` (`origin`). No CI pipeline: adding a Woodpecker config was explicitly declined during `/init-project` on 2026-11-16. The verification contract is the committed harness — `node --test harness.ts` on Node ≥ 22.18 (14 tests, every guard path) — run locally after any `index.ts` change. If CI is ever wanted, the forge convention is `.woodpecker.yml` running exactly that command.
|
||||
@@ -0,0 +1,28 @@
|
||||
# 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.
|
||||
Reference in new issue
Block a user