chore(work-items): fix deferred Codex publish-review findings#133
Conversation
Resolves the 8 findings deferred from the work-items v2 republish
(claude-code-plugins#121), applied to the published plugin skill (the medley
core PR mirrors these behaviorally so both stay aligned modulo the publish
de-couple):
1. add: restore the richer default body skeleton (Context / Proposed work /
Acceptance criteria / References / Metadata).
2. add --recurring: create the schedule file with an {"items": []} skeleton
(ask-first) when it does not exist yet.
3. add --agent-ready: append the agent-ready meta label for autonomous pickup.
4. taxonomy: add needs-human to the Meta group (label-taxonomy + SKILL).
5. seam invocations: project-root the tracker path
(${CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel)}) so they work
from a subdirectory.
6. done --pr: do not close an item whose PR is still unmerged.
7. due: match open recurring items on the full [Maintenance] {title}.
8. checklist: align the recheck section to the recheck action.
Refs melodic-software/medley#1460
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_117d3a46-c2e6-4048-aec8-be317f3262fa) |
There was a problem hiding this comment.
Stale comment
Risk: low. Not approving because Cursor Bugbot did not complete successfully (check skipped due to usage limit). Human review is needed before merge; no reviewers were assigned because the sole repo contributor is the PR author.
Sent by Cursor Approval Agent: Pull Request Router and Approver
…publish-review-findings # Conflicts: # plugins/work-items/skills/work-items/actions/due.md
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_f5b9d62e-1e9a-4554-a3d9-b723dce23ef5) |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 240bc1f1c5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Stale comment
Risk: low. Not approving because Cursor Bugbot did not complete successfully (check skipped due to usage limit). Human review is needed before merge; no reviewers were assigned because the sole repo contributor is the PR author.
Sent by Cursor Approval Agent: Pull Request Router and Approver
…ering + schedule guards) Mirrors the medley core fixes so both stay aligned: - add/decompose: order the create-item snippet so the Write-to-$BODY_FILE step is shown after mktemp and before create-item. - audit/due/recheck/work: convert '[[ -f $SCHEDULE ]] && jq' guards to 'if [[ -f ]]; then jq; fi' so an absent schedule file returns exit 0. Refs melodic-software/medley#1460
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_45b408ef-420d-4f67-a392-ff441d210c6f) |
|
Claude finished @kyle-sexton's task in 2m 42s —— View job PR Review
SummaryAll 8 stated findings are addressed correctly. The seam-path fix (finding 5) is applied consistently across all 6 action files. The PR is low-risk markdown-only changes. I confirmed the two existing Codex P2 findings and found a third gap the Codex review missed. Finding-by-finding verification
Issues1.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8327d28d14
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…recurring) - done: the unmerged --pr path now branches on THIS item's closing keyword — respects a deliberate opt-out (Refs #N / No related issue:) instead of falsely claiming auto-close, and never counts a different issue's keyword. - checklist(recheck): advance next_due when due today OR past (next_due <= today), matching the recheck action (was 'only when past due'). - add(--recurring): resolve the schedule bootstrap BEFORE create-item so a declined/failed schedule doesn't strand an unreconcilable [Maintenance] item. Refs melodic-software/medley#1460
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_c31dc314-692f-430f-b06c-7951959ccb82) |
|
Claude finished @kyle-sexton's task in 2m 0s —— View job PR Review (Round 2)
SummaryThe two Codex P2 findings and the Findings fixed in
|
| Finding | Status |
|---|---|
Codex P2 — checklist.md:40 next_due boundary wrong ("past due" → "past due or today") |
✅ Fixed — now reads advance next_due when it is due today or past due (next_due <= today) |
Codex P2 — done.md unmerged --pr path assumes keyword is guaranteed |
✅ Fixed — Step 4 now branches on THIS item's #<N> keyword specifically; a different issue's closing keyword no longer counts, and a deliberate opt-out for #<N> no longer falsely claims auto-close |
add.md schedule bootstrap order — [Maintenance] item could be created before the user confirms the schedule |
✅ Fixed — Step 5 now says to resolve the bootstrap FIRST; on decline/failure the item is created non-recurring or aborted |
The done.md fix is well-structured. Step 5's keyword prepend check is now correctly keyed to #<N> (not any closing keyword), and Step 4's branching correctly scopes the opt-out check to this item — the logic is internally consistent.
Remaining gap — checklist.md bare seam paths (finding #3 from round 1)
plugins/work-items/skills/work-items/templates/checklist.md
Round 1 noted that the checklist template's seam snippets were not updated when finding 5 applied project-rooted paths to all 6 action files. 251051a only touched line 40 (the next_due boundary). Lines 7, 17, 24, and 25 still carry bare relative paths:
Line 7: `tools/work-item-tracker/work-item-tracker.sh reclaim "<id>"`
Line 17: `tools/work-item-tracker/work-item-tracker.sh create-item ...`
Line 24: `tools/work-item-tracker/work-item-tracker.sh reclaim "<id>"`
Line 25: `tools/work-item-tracker/work-item-tracker.sh claim "<id>"`An agent following the checklist from a subdirectory hits the same resolution failure that finding 5 fixed in the action files. The fix is to update these four lines to use "${CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel)}/tools/work-item-tracker/work-item-tracker.sh". Fix this →
Verdict
The core behavioral fixes are all correct and well-implemented. The two Codex P2s are resolved. The only outstanding item is the four bare paths in the checklist template (a missed application of finding 5). Everything else is clean — the PR is ready to merge once those four lines are updated.



Addresses the 8 Codex publish-review findings deferred from the work-items v2 republish, applied to the published plugin skill (
plugins/work-items). The medley core PR mirrors these behaviorally so both stay aligned modulo the publish de-couple.Findings addressed
adddefault body skeleton restored — Context / Proposed work / Acceptance criteria / References / Metadata.add --recurringcreates the schedule file with an{"items": []}skeleton (ask-first) when it does not exist yet.add --agent-readyappends theagent-readymeta label for autonomous pickup.needs-humanadded to the Meta group (label-taxonomy + SKILL).${CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel)}) so they work from a subdirectory.done --prno longer closes an item whose PR is still unmerged.duematches open recurring items on the full[Maintenance] {title}, not the bare prefix.recheckchecklist aligned to the recheck action.Refs melodic-software/medley#1460
Note
Low Risk
Documentation-only changes to agent skill markdown; behavior shifts are procedural guidance for agents, not executable product code.
Overview
Addresses eight deferred Codex publish-review findings in the published
plugins/work-itemsskill (agent instructions only—no tracker runtime code).addrestores the default item body (Context, Proposed work, Acceptance criteria, References, Metadata), applies theagent-readymeta label when--agent-readyis set, and tightens--recurring: bootstrap.github/recurring-schedule.json(ask-first) before creating[Maintenance]items thatdue/recheckcannot reconcile.Taxonomy documents
needs-humanin the Meta group so HITL slices align withlist-frontier --autonomousexclusion (already described indecompose).Seam snippets across actions use
${CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel)}sowork-item-tracker.shworks from subdirectories; recurringjqexamples use explicitif [[ -f "$SCHEDULE" ]]guards.done --prno longer closes an item when the named PR is still unmerged and will auto-close this issue viaCloses #N(or respects per-issue opt-outs); closing keywords are evaluated for the target issue, not another issue on the same PR.due(and matching guidance inwork) requires exact[Maintenance] {schedule title}matches when cross-referencing open recurring items—no bare[Maintenance]prefix or substring matches.recheckchecklist intemplates/checklist.mdmatches the real recheck flow (schedule lookup, date updates, close associated maintenance item).Reviewed by Cursor Bugbot for commit 251051a. Bugbot is set up for automated code reviews on this repo. Configure here.