Skip to content

t1899: Fix placeholder issue bodies and missing signature footers in claim-task-id.sh and issue-sync-helper.sh #17520

@marcusquinn

Description

@marcusquinn

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

  1. claim-task-id.sh: Compose structured body from title when no --description; warn callers about the gap
  2. claim-task-id.sh + issue-sync-lib.sh: Append gh-signature-helper.sh footer to all created issues
  3. pulse-wrapper.sh: Skip issues with placeholder/empty bodies in deterministic fill floor dispatch

Acceptance Criteria

  • claim-task-id.sh without --description produces 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.

Metadata

Metadata

Assignees

Labels

origin:workerAuto-created by pulse labelless backfill (t2112)status:doneTask is complete

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions