Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 2 column 8
---
status: draft
owner: @vi
last_reviewed: 2026-04-10
review_cadence: quarterly
---
- Give human and AI contributors a short map of the repo surfaces that matter first.
- Keep repo-specific working rules in one file and link to deeper docs instead of duplicating them.
- Make it obvious which changes are just docs, which change deterministic core behavior, and which change LLM orchestration.
| Surface | Path | Role | Owner | Notes |
|---|---|---|---|---|
| Primary product entry point | commands/signum.md |
Canonical pipeline behavior (CONTRACT -> EXECUTE -> AUDIT -> PACK) |
@vi |
Source of truth for core Signum behavior |
| Init/bootstrap entry point | commands/init.md |
Bootstraps project.intent.md, project.glossary.json, and optional harness docs |
@vi |
Root variant; Claude overlay lives under platforms/claude-code/commands/init.md |
| LLM prompts | agents/ |
Contractor, engineer, reviewer, synthesizer, init synthesizer prompts | @vi |
Changes here affect agent behavior directly |
| Deterministic core | lib/ |
Shell checks, DSL runner, scanners, state/policy helpers | @vi |
Prefer tests for every behavioral change |
| Schemas and contracts | lib/schemas/ |
Contract / proofpack / modules schemas | @vi |
Treat schema changes as compatibility-sensitive |
| Platform overlays | platforms/ |
Surface-specific command/docs variants | @vi |
Root command/docs remain canonical unless an overlay deviation is explicitly documented |
| Codex plugin metadata | .agents/plugins/marketplace.json, .codex-plugin/plugin.json, platforms/codex/.codex-plugin/plugin.json, platforms/codex/SKILL.md |
Codex App marketplace, install manifest, and skill entry point | @vi |
Keep version aligned with .claude-plugin/plugin.json; Codex skill remains an overlay |
| OpenSpec workflow | openspec/config.yaml, .claude/commands/opsx/, .claude/skills/openspec-*/, .codex/skills/openspec-*/ |
Spec-driven change workflow and generated agent entry points | @vi |
Regenerate managed instructions with openspec update; review config changes before regeneration |
| Verification surface | tests/ |
Shell tests for deterministic behavior | @vi |
If a deterministic behavior changes, add/update a test |
- Treat root
commands/signum.mdas the canonical source for pipeline behavior. Seedocs/reference.md. - Treat
platforms/*/commands/*.mdas overlays, not peer sources of truth. Intentional deviations must be documented indocs/overlay-deviations.json. - Prefer deterministic shell/JSON changes in
lib/over adding more model behavior. - If a change touches core behavior, update the matching docs or parity checks in the same diff.
- Keep changes bounded: docs-only, deterministic-core, or prompt/orchestration. Do not mix all three unless the change is impossible to split.
- When changing verification logic, prefer shell tests in
tests/and keep outputs structured JSON.
commands/signum.md— canonical orchestration behavioragents/contractor.md,agents/engineer.md,agents/synthesizer.md,agents/reviewer-claude.md— model promptslib/dsl-runner.sh— verify DSL execution surfacelib/policy-scanner.sh,lib/policy-resolver.sh— execution policy enforcementlib/contract-injection-scan.sh— prompt/contract injection defenselib/schemas/*.json— compatibility-sensitive contract/proofpack formats.agents/plugins/marketplace.json,.codex-plugin/plugin.json,platforms/codex/.codex-plugin/plugin.json,platforms/codex/SKILL.md— Codex App marketplace, install, and orchestration surfaceopenspec/config.yaml,.claude/commands/opsx/,.claude/skills/openspec-*/,.codex/skills/openspec-*/— OpenSpec workflow configuration and generated orchestration prompts
- Understand the product:
README.md,project.intent.md,docs/how-it-works.md - Change core pipeline behavior:
commands/signum.md,docs/reference.md, matchingtests/* - Change init/bootstrap behavior:
commands/init.md,agents/init-synthesizer.md,lib/init-scanner.sh,lib/init-harness-scaffold.sh,tests/test-init*.sh - Change docs/parity policy:
docs/reference.md,docs/overlay-deviations.json,lib/doc-parity-check.sh,tests/test-doc-parity.sh - Change Codex App plugin support:
.agents/plugins/marketplace.json,.codex-plugin/plugin.json,platforms/codex/.codex-plugin/plugin.json,platforms/codex/SKILL.md,tests/test-codex-plugin-metadata.sh - Change OpenSpec workflow support:
openspec/config.yaml, generated.claude/and.codex/OpenSpec entries; runopenspec updateandopenspec doctor --json - Change future architecture direction:
docs/plans/2026-03-15-large-project-support-roadmap.md,docs/thin-cli-extraction-plan.md
- Update this file when a new agent-facing surface, canonical source, or high-risk path is introduced.
- Keep this file short; move detailed rationale into
ARCHITECTURE.md,docs/SECURITY.md,docs/RELIABILITY.md, ordocs/QUALITY_SCORE.md. - Review after major pipeline, schema, or platform overlay changes.
- First check whether the PR should exist at all: non-trivial changes need linked Issue or Discussion intent before code review.
- Prefer no-code alternatives when possible: docs, configuration, process changes, or clearer existing workflows beat new code.
- Do not recommend adding dependencies unless the benefit is explicit and stdlib/built-in options are insufficient.
- Treat workflow, dependency, auth, security, eval/subprocess/shell, install scripts, public API, schema, command behavior, and runtime behavior changes as high-risk.
- For high-risk PRs, ask for maintainer attention instead of continuing ordinary review unless
maintainer/override-intakeis present. - Public comments must be polite, concise, and actionable.
- Do not publish contributor trust scores.