This file defines the required standard for executable plans in this repository.
Use an ExecPlan whenever work spans multiple files, more than one subsystem, or more than 45 minutes of implementation time.
An ExecPlan is a living design and implementation document that a coding agent or human can follow without prior memory.
- Every ExecPlan must be self-contained.
- Every ExecPlan must explain the user-visible purpose first.
- Every ExecPlan must define exact files, modules, commands, and acceptance checks.
- Every ExecPlan must be updated as work proceeds.
- Every ExecPlan must keep
Progress,Surprises & Discoveries,Decision Log, andOutcomes & Retrospectiveup to date. - Every ExecPlan must prefer additive, testable changes.
- Every ExecPlan must state rollback or retry guidance for risky steps.
- Every ExecPlan must include validation commands.
- Every ExecPlan must describe evidence of success, not just code changes.
Every ExecPlan must contain these sections, in this order:
### Purpose / Big Picture## Progress## Surprises & Discoveries## Decision Log## Context and Orientation## Plan of Work## Concrete Steps## Validation and Acceptance## Idempotence and Recovery## Artifacts and Notes## Interfaces and Dependencies## Outcomes & Retrospective
- Write in plain prose.
- Prefer sentences over giant bullet lists.
- Be concrete about files and commands.
- Use checkboxes only in
Progress. - Use UTC timestamps in
Progressentries once work starts. - Do not rely on "as discussed before".
- Repeat assumptions if they matter.
For PolicyVault ExecPlans:
- name the target milestone and submilestones explicitly
- mention any changes to the contract interface
- mention any new events or custom errors
- mention any ABI sync implications for
app/src/lib/abi.ts - mention any changes required in the UI or demo scripts
- mention if a change affects the interview demo story
- mention the security implications of any new state-changing path
- proceed milestone by milestone
- do not ask for "next steps" after every tiny change
- keep the plan updated after meaningful progress
- if scope changes, record the reason in the
Decision Log - if a safer or simpler design emerges, prefer it and document the change
Use plans/templates/execplan-template.md as the starting point for new ExecPlans.