Audit and clean up review notes: type consistency, naming, and lifecycle #246
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-api#246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Bug
Lineage
Discovered during westside schedule feature scoping — review agents created notes with wrong slugs (Forgejo issue number instead of board item ID), wrong note_type (
docinstead ofreview), blocking thecheck-board-advancehook.Repo
forgejo_admin/pal-e-api(notes + skill-review-ticket)What Broke
Review notes are inconsistent and accumulating without cleanup:
skill-review-ticketstep 12 saysreview-{board_item_id}-YYYY-MM-DDbut agents frequently use Forgejo issue numbers instead. Thecheck-board-advancehook queries forreview-{board_item_id}-*, so misnamed notes fail the gate silently.reviewbut most notes were created asdocornull. 50+ notes taggedreviewexist with mixed types.done.reviewis not infeedback_active_note_types(sop, convention, doc, project-page, board). Either add it or decide reviews shouldn't be notes.Repro Steps
/review-ticket board-westside-basketball#629review-232-2026-03-28(using Forgejo issue #232 instead of board item #629)check-board-advancehook blocks because it looks forreview-629-*Expected Behavior
review-{board_item_id}-*slugs consistentlydoneEnvironment
~/.claude/hooks/check-board-advance.shskill-review-ticketnote in pal-e-docsAcceptance Criteria
reviewwhere taggedreviewdoneor no longer exists)convention-review-note-lifecycledefining creation, naming, type, and cleanup rulesreviewadded to active note types list (or decision documented to remove review notes entirely)skill-review-ticketstep 12 verified — if the naming convention is clear, note WHY agents drift (possible: agents see existing misnamed notes and copy the pattern)Related
skill-review-ticket— the skill that guides review agentscheck-board-advance.sh— hook in claude-custom that enforces the gate (code change is a separate ticket if needed)feedback_active_note_types— memory noting active typesconvention-todo-lifecycle— related lifecycle conventionReview Note Audit -- Dottie Report
Summary
review)docinstead ofreview)doneor superseded)Review Notes Inventory
review-241-2026-03-28review-317-2026-03-24review-356-2026-03-25review-356-2026-03-25-r2review-364-2026-03-27review-364-2026-03-27-v2review-376-2026-03-25review-376-2026-03-25-r2review-398-2026-03-26review-416-2026-03-25review-416-2026-03-26review-418-2026-03-25review-418-2026-03-25-r2review-418-2026-03-27review-424-2026-03-26review-464-2026-03-27review-464-2026-03-28review-479-2026-03-27review-181-2026-03-27review-595-2026-03-28review-595-2026-03-28-r2review-597-2026-03-28review-597-2026-03-28-r2Fixes Applied
review-595-2026-03-28,review-597-2026-03-28,review-597-2026-03-28-r2changed fromdoctoreview.template-reviewnaming convention section saidnote_type: doc (until review is added to NoteType enum)-- butreviewIS a valid NoteType now. Stale guidance caused the westside-ai-assistant session to usedoc.Duplicate Reviews (Review Chains)
These are expected -- they are the review-fix-re-review loop in action:
Naming Convention Conflict Found
Three sources gave conflicting slug guidance:
skill-review-ticketstep 12:review-{board_item_id}-{YYYY-MM-DD}(authoritative)template-review:review-{issueNumber}-{YYYY-MM-DD}(stale)note-conventions:review-{repo}-{pr-number}(describes PR reviews, different artifact)Resolution:
skill-review-ticketis authoritative. All existing review notes already follow the board-item-ID pattern.template-reviewnaming convention section needs updating to match.Convention Note Created
convention-review-note-lifecycle-- covers naming, note_type, tags, status, cleanup rules, and documents the source conflict resolution.Remaining Work (for Betty Sue)
template-reviewnaming convention section to sayreview-{board_item_id}andnote_type: review(currently says{issueNumber}anddoc).doneolder than 7 days are cleanup candidates per the new convention.