-
Notifications
You must be signed in to change notification settings - Fork 36
t1899: Fix placeholder issue bodies and missing signature footers in claim-task-id.sh and issue-sync-helper.sh #17520
Description
Task
Fix placeholder issue bodies and missing signature footers in claim-task-id.sh and issue-sync-helper.sh.
Problem
claim-task-id.sh creates GitHub issues with placeholder body Task created via claim-task-id.sh when no --description is passed. Neither it nor issue-sync-lib.sh appends a provenance signature footer (build.txt rule #8). The pulse dispatches workers to these undescribed issues, wasting sessions.
Root cause: claim-task-id.sh delegates to issue-sync-helper.sh push for rich body composition, but the TODO.md entry doesn't exist yet at claim time (the caller adds it after the script returns). The fallback path used a hardcoded placeholder with no signature. Three workers were dispatched to #17511 with this body.
Fix
- claim-task-id.sh: Compose structured body from title when no
--description; warn callers about the gap - claim-task-id.sh + issue-sync-lib.sh: Append
gh-signature-helper.sh footerto all created issues - pulse-wrapper.sh: Skip issues with placeholder/empty bodies in deterministic fill floor dispatch
Acceptance Criteria
-
claim-task-id.shwithout--descriptionproduces a structured body (not the old placeholder) - All issue creation paths append a signature footer
- Pulse skips dispatch for issues with placeholder/empty bodies
- ShellCheck clean on modified files
aidevops.sh v3.6.113 plugin for OpenCode v1.3.15 with claude-opus-4-6 spent 14m and 11,603 tokens on this with the user in an interactive session. Overall, 9m since this issue was created.