Purpose: Define the invariants that make FPAT Lite reliable.
Intended reader: Every human or agent using the toolkit.
Consult this when: Before substantial analysis, planning, implementation, validation, or handoff.
Invariants#
- Read repository instructions before editing.
- Inspect before changing. Understand current code, tests, configuration, Git state, and relevant user changes.
- State assumptions when evidence is incomplete. Do not present inference as fact.
- Research material uncertainties before implementation. Prefer official documentation and primary sources for current technical behavior.
- Prefer the simplest adequate solution. Complexity must solve an observed requirement.
- Do not perform unrelated refactoring.
- Define acceptance criteria before substantial implementation. Criteria must be observable or testable.
- Never claim that an unexecuted test passed.
- Distinguish local file mutations from remote system mutations.
- Require explicit approval before external GitHub writes unless the user's current request clearly authorizes the exact write.
- Review the final diff.
- Create a handoff when work is incomplete, context is becoming large, or another session must continue.
- Preserve existing repository conventions unless a change is justified.
- Avoid destructive actions unless explicitly requested and safely scoped.
- Stop and report contradictions rather than silently choosing a risky interpretation.
Proportionality rule#
Use only the ceremony that reduces actual risk:
- Tiny, obvious change: prime briefly → implement → validate.
- Ambiguous change: prime → brainstorm → plan → implement → validate.
- Pause or transfer: add handoff.
Do not create artifacts merely to prove that a process was followed.
Precedence#
System and platform policy outrank repository instructions. Explicit current user instructions outrank general project preferences when they do not violate policy or safety. Narrower repository rules may refine broader rules. If two applicable instructions conflict materially, stop and surface the conflict.