Skip to content

feat: plan file review report + enriched JSONL logging (v0.9.7.0) - #303

Merged
garrytan merged 4 commits into
mainfrom
garrytan/plan-file-footer
Mar 21, 2026
Merged

garrytan merged 4 commits into
mainfrom
garrytan/plan-file-footer

Conversation

@garrytan

Copy link
Copy Markdown
Owner

Summary

  • Every plan file now shows which reviews have run — a markdown table appended after each review skill finishes, showing trigger command, purpose, run count, status, and findings
  • Review logs enriched with richer fields: CEO logs scope proposal counts, eng logs total issues, design logs before→after scores, codex logs findings fixed
  • Report generator uses JSONL fields directly — no more partial reconstruction from incomplete metadata
  • Footer replacement handles mid-file sections robustly (fixes Codex P2 finding)

Pre-Landing Review

No issues found.

Codex Review

  • [P1] JSONL fields insufficient for prior review reconstruction → FIXED (enriched all 4 skill logs)
  • [P2] Footer replacement fragile when content added after report → FIXED (search anywhere, preserve surrounding content)

TODOS

No TODO items completed in this PR.

Test plan

  • All tests pass (exit 0)
  • gen-skill-docs tests pass (109 tests, 988 expect() calls)
  • SKILL.md files regenerated for both claude and codex hosts

🤖 Generated with Claude Code

garrytan and others added 4 commits March 21, 2026 12:14
Adds {{PLAN_FILE_REVIEW_REPORT}} template resolver that instructs review
skills to write a structured markdown table (with Trigger/Why/Status/Findings
columns) to the plan file itself, so review status is visible to anyone
reading the plan — not just in conversation output.

Integrated into plan-ceo-review, plan-eng-review, plan-design-review, and
codex skill templates.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
CEO reviews now log scope_proposed/accepted/deferred counts,
eng reviews log total issues_found, design reviews log initial_score
for before→after tracking, and codex reviews log findings_fixed.

Report generator references these fields directly instead of
requiring agents to reconstruct from partial data. Also fixes
footer replacement to handle mid-file sections robustly.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@garrytan
garrytan merged commit 8321115 into main Mar 21, 2026
rapidstartup pushed a commit to rapidstartup/gstack that referenced this pull request Mar 29, 2026
…rrytan#303)

* feat: plan file review report — markdown table appended to plan files

Adds {{PLAN_FILE_REVIEW_REPORT}} template resolver that instructs review
skills to write a structured markdown table (with Trigger/Why/Status/Findings
columns) to the plan file itself, so review status is visible to anyone
reading the plan — not just in conversation output.

Integrated into plan-ceo-review, plan-eng-review, plan-design-review, and
codex skill templates.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

* fix: enrich JSONL review logs for accurate plan file report

CEO reviews now log scope_proposed/accepted/deferred counts,
eng reviews log total issues_found, design reviews log initial_score
for before→after tracking, and codex reviews log findings_fixed.

Report generator references these fields directly instead of
requiring agents to reconstruct from partial data. Also fixes
footer replacement to handle mid-file sections robustly.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

* chore: bump version and changelog (v0.9.7.0)

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant