Post Edit Checks
Overview
Enforce the cork-core post-edit checklist by running the required cargo/make checks in a deterministic order and addressing any failures.
Workflow
- •Confirm you are at the repository root (where
Cargo.tomlandMakefileexist). - •Run the checks in this order:
- •
make fmt- Format code with cargo fmt - •
make lint- Check formatting and run clippy - •
make test- Run all tests - •
make build- Build release binary
- •
- •If any step fails:
- •Read the error output.
- •Fix the underlying issue.
- •Re-run the failed command, then continue with the remaining steps.
- •Report results and any fixes applied.
- •Update task list (
docs/tasks.md) if a task was completed.
Definition of Done
Per docs/dod.md, all tasks must satisfy:
- •
cargo buildpasses (stable) - •
cargo fmtis applied - •
cargo clippy -- -D warningspasses - •Relevant unit/integration tests added and
cargo testpasses - •Public API changes documented in
docs/
Resources
scripts/
Use scripts/run_checks.sh to run the standard sequence.