AGENTS.md · git:20261026.1858fa0 · 2026-10-26 · sha256 e9f7da277017c692

AGENTS.md git:20261026.1858fa0A

Immutable. This exact content never changes and is served at /api/v1/blob/e9f7da277017c692.

# MASC Agent Instructions

## Required Contract

- Before planning or changing MASC, read `docs/constitution.xml` in full.
- For MASC coding-agent work, its `<execution_protocol>` is the repository-specific workflow authority. It overrides parent or general contributor guidance, including `CONTRIBUTING.md`, only where those sources would require local Dune builds, CI watch/wait loops, or a different default for parallel review agents.
- System, developer, and explicit user instructions still take precedence. The execution protocol does not relax safety, scope, destructive-action, or evidence-honesty rules.
- Follow the concrete contributor procedures in `docs/guides/CONTRIBUTOR-WORKFLOW.md` after reading the constitution.
- Before GitHub PR review or merge, read `docs/guides/NATIVE-GITHUB-STACKS.md`. Inspect REST `stack` metadata; a non-main `baseRefName` alone does not imply a parent-merge blocker.
- Follow `docs/guides/WORKSPACE-STORAGE.md` when placing research, evidence, reports or generated output.
- Keep this file as a thin entrypoint. Do not duplicate the full constitution here.

## Keeper Runtime Boundary

- `docs/constitution.xml` is a product and development contract, not a Keeper runtime system prompt.
- The shared Keeper runtime prompt is `config/prompts/keeper.md`. Per-Keeper behavior also comes from the resolved `<base-path>/.masc/config/keepers/<name>.toml` `keeper.instructions`.
- Edit the contract and runtime prompts independently; changing one does not implicitly change the other.
- `<execution_protocol>` in `docs/constitution.xml` binds external coding-agent sessions, not Keeper lanes. A Keeper may build and test locally when its lane has a toolchain. Ordinary PRs use current-head independent source review; Release/Tag verdicts additionally require completed full CI for that head. Local results do not substitute for either requirement.