progress-addendum
Add an append-only Addendum section to DONE progress files (top-of-file), with audit + template scripts to keep archived docs from going stale.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
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)
### YYYY-MM-DD
- Change: ...
- Reason: ...
- Impact: ...
- Links: ...
Scripts
- Add a new entry template into a DONE progress file (and bump
Updated):-
$CODEX_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:
-
$CODEX_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:
-
$CODEX_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):-
$CODEX_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):
-
$CODEX_HOME/skills/workflows/pr/progress/progress-addendum/scripts/progress_addendum.sh --print-entry
-
- Audit progress files for Addendum placement/format:
-
$CODEX_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
-
-
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-02-02
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!