feat(framework): P3 — extract Constitution (L0) + gut AGENTS dispatcher (#575)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/publish Pipeline was successful

Co-authored-by: Jason Woltje <jason@diversecanvas.com>
Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #575.
This commit is contained in:
2026-06-21 03:20:32 +00:00
committed by jason.woltje
parent bf24066a49
commit 5118be74cb
14 changed files with 260 additions and 174 deletions

View File

@@ -330,6 +330,11 @@ Mosaic hard gates OVERRIDE runtime-default caution for routine delivery operatio
For required push/merge/issue-close/release actions, execute without routine confirmation prompts.
`);
// CONSTITUTION.md (L0 — the non-negotiable law; lead with it). Tolerant of
// pre-constitution installs that have not been re-seeded yet.
const constitution = readOptional(join(MOSAIC_HOME, 'CONSTITUTION.md'));
if (constitution) parts.push(constitution);
// AGENTS.md
parts.push(readFileSync(join(MOSAIC_HOME, 'AGENTS.md'), 'utf-8'));