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:
AlexKucera committed 2026-11-16 12:37:59 +01:00
1 parent 5b6614bbb8
commit 8599ae8176
12 files changed
+906

No files matched your search

+5
View File
@@ -1,4 +1,5 @@
# Smart Compact
[![forge](https://img.shields.io/badge/forge-Gitea-609926?logo=gitea)](https://git.babylondreams.de/AlexKucera/smart-compact)
**Two-tier context management for [Pi](https://github.com/earendil-works/pi): a gentle heads-up to the agent when context fills up, and a deliberate compaction when the session settles, well before the window is exhausted. Designed to compose with pi-lcm and pi-dcp instead of fighting them.**
@@ -89,3 +90,7 @@ Pi discovers `*/index.ts` one level deep, following the symlink. Reload with `/r
- Loads clean under Pi 1.5.2 (`pi -p` smoke test).
- 14-test committed harness: `node --test harness.ts` (Node ≥ 22.18 with type stripping). Covers warn-once-per-cycle at the effective threshold, force only at `agent_settled` (never from `turn_end`, not when busy), awaiting compaction completion in the settled handler, the in-flight lock and failure cooldown, the stale-token guard after `session_compact`, per-field config validation (`null`/string/zero/oversized values), cycle reset, `enabled: false`, and the status command.
- Live-session validation of the first real 100k crossing is still pending — the warn message is a single string in `index.ts` if the wording needs tuning.
## License
GPL-3.0-or-later — see [LICENSE](LICENSE).