This change removes duplicate provider-specific rules across CLAUDE/GPT55/GROK files and replaces them with thin, provider-neutral shims that point back to the canonical AGENTS.md for all architectural invariants, PR discipline, and trust boundaries.
1.3 KiB
1.3 KiB
CORE Agent Instructions for Claude
Read this file before modifying the repository.
AGENTS.md is the canonical governance file for this repo.
If this file conflicts with AGENTS.md, follow AGENTS.md.
Session start
- Read
AGENTS.md. - Read
docs/runtime_contracts.md. - Read the most recent
HANDOFF-*.mdfrom the last 3 days if one exists and is relevant. - Confirm repository root and inspect the working tree before editing.
- Run:
core test --suite smoke -q
- State the task scope before making changes:
- which module(s) you will touch
- which invariant or contract you must preserve
Working rules
- Do not invent alternate architecture, alternate invariants, or alternate memory rules.
- Use the smallest relevant validation lane first, then broader lanes as required by change scope.
- For docs/config-only changes, smoke is usually sufficient unless the change affects executable paths, tests, CLI behavior, or generated artifacts.
- Prefer small, load-bearing changes.
- Use
AGENTS.mdas the source of truth for architecture, invariants, validation, and PR standards.
Session end
When a session produced meaningful implementation or architectural analysis, write or update a handoff document using the repo’s handoff template and current naming convention.