feat: export guidelines - the guideline pages as a generated GUIDELINES.md, pushed into the captured repositories behind the Guideline Push Gate (#179)
CI / verify (push) Successful in 5m40s
CI / pwsh (push) Successful in 1m59s
Release / release (push) Successful in 35s

Files changed:
- AGENTS.md
- CHANGES.md
- README.md
- VERSION
- docs/why-gates-are-code.md
- instructions/gates.md
- instructions/kb-profiles.md
- kb/CONTRACT.md
- kb/CONVENTIONS.md
- kb/CONVENTIONS.md.template
- raw/CONTRACT.md
- tools/CONTRACT.md
- tools/README.md
- tools/chemenu/cli.py
- tools/chemenu/cli_contract.py
- tools/chemenu/commands/export_cmd.py
- tools/chemenu/commands/page_ops.py
- tools/chemenu/commands/raw_cmd.py
- tools/chemenu/commands/search.py
- tools/chemenu/guideline_export.py
- tools/chemenu/kb_scan.py
- tools/chemenu/repo_capture.py
- tools/chemenu/search/filters.py
- tools/chemenu/tests/test_cli.py
- tools/chemenu/tests/test_export_guidelines.py

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SnAJ7Z3CpVD3PRbN73QtU2
This commit is contained in:
torbenandClaude Opus 5.5 committed 2026-10-06 06:48:07 +02:00
1 parent ccede04b97
commit 283cdae8be
25 files changed
+1753 -68

No files matched your search

+13
View File
@@ -35,6 +35,7 @@ those regions and nothing else. Nothing matches on this text.
- [Tone](#tone)
- [Relationship labels](#relationship-labels)
- [Hedging](#hedging)
- [Guidelines for other repositories](#guidelines-for-other-repositories)
- [Keeping this file honest](#keeping-this-file-honest)
<!-- /wikitool:toc -->
@@ -140,6 +141,18 @@ carry, not against a threshold.
This is `SOUL.md`'s existing standard ("Was nicht belegt ist, ist nicht gewusst, nur vermutet -
und wird auch so benannt"), applied to `kb/` without a number competing next to it.
## Guidelines for other repositories
`tools/wikitool export guidelines` renders the pages this filter selects into one generated
`GUIDELINES.md` for the repositories this instance captured (`raw/CONTRACT.md`). The stack defines
no type or field for a guideline - which pages are guidelines is this instance's decision, and it
is written down here and nowhere else.
**The filter is `--tag guideline`.** A page carries the tag when its content is a rule an agent
working in another repository should follow there as it stands - written so that it reads without
its links and citations, because the export turns `[[links]]` into plain text and drops every
footnote. No page in this corpus carries it yet.
## Keeping this file honest
Change it when a convention actually changes. `sections:` is safe to change at any time - the