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 fmtmake lint- Check formatting and run clippymake test- Run all testsmake 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 appliedcargo 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.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.