Progress Addendum (post-DONE updates)
Contract
Prereqs:
- •Run inside the target git repo (any subdir is fine).
- •
gitavailable onPATH. - •
python3available onPATH.
Inputs:
- •A progress file path under
docs/progress/**/*.md(typicallydocs/progress/archived/<YYYYMMDD>_<slug>.md). - •Update date (
YYYY-MM-DD; default: today) and the addendum content you will fill in.
Outputs:
- •Progress file updated with a
## Addendumsection placed immediately afterLinks:(before## Goal). - •
Updateddate updated (only when adding an addendum entry). - •Audit script exits non-zero and prints errors to stderr when conventions are violated.
Exit codes:
- •
0: success - •non-zero: invalid args, missing file, malformed progress file, or audit failures
Failure modes:
- •Progress file missing the canonical
Links:section. - •Multiple
## Addendumsections detected. - •File status is not
DONE(unless--allow-not-doneis set). - •
## Addendumexists but is not the first## ...section afterLinks:.
Principles (3a: append-only at the top)
- •Goal: prevent DONE progress files from going stale without rewriting history.
- •Canonical placement:
## Addendumlives immediately afterLinks:and before the rest of the document (typically## Goal). - •Post-DONE edits should be limited to:
- •
## Addendum(append-only notes) - •the header table’s
Updateddate (to reflect the addendum entry)
- •
- •If the change is large, prefer creating a new progress file / PR and link it from the Addendum instead of editing the original
Goal / Acceptance Criteria / Scope / Steps.
Entry format (recommended)
md
### YYYY-MM-DD - Change: ... - Reason: ... - Impact: ... - Links: ...
Scripts
- •Add a new entry template into a DONE progress file (and bump
Updated):- •
$AGENTS_HOME/skills/workflows/pr/progress/progress-addendum/scripts/progress_addendum.sh --file docs/progress/archived/<file>.md
- •
- •Add an entry and link to an existing follow-up progress file:
- •
$AGENTS_HOME/skills/workflows/pr/progress/progress-addendum/scripts/progress_addendum.sh --file docs/progress/archived/<file>.md --followup-progress docs/progress/<YYYYMMDD>_<slug>.md
- •
- •Create a new follow-up progress file (skeleton) and link it from the Addendum entry:
- •
$AGENTS_HOME/skills/workflows/pr/progress/progress-addendum/scripts/progress_addendum.sh --file docs/progress/archived/<file>.md --followup-title "<short title>"
- •
- •Ensure a DONE file has
## Addendum(insert- Noneif missing; does not changeUpdated):- •
$AGENTS_HOME/skills/workflows/pr/progress/progress-addendum/scripts/progress_addendum.sh --file docs/progress/archived/<file>.md --ensure-only
- •
- •Print a copy/paste entry template (no file edits):
- •
$AGENTS_HOME/skills/workflows/pr/progress/progress-addendum/scripts/progress_addendum.sh --print-entry
- •
- •Audit progress files for Addendum placement/format:
- •
$AGENTS_HOME/skills/workflows/pr/progress/progress-addendum/scripts/audit_progress_addendum.sh - •Optional stricter checks:
- •
.../audit_progress_addendum.sh --require-addendum --check-updated - •
.../audit_progress_addendum.sh --require-links - •
.../audit_progress_addendum.sh --require-progress-link
- •
- •