Accept positional body in os-backlog comment #421

Closed
opened 2026-08-16 22:07:54 +00:00 by jared · 1 comment
Owner

Context

Agents pattern-match on tea/gh style (tea comment 420 "body") and try os-backlog comment 420 "text", which fails because the comment subcommand requires --body/--body-file. Seen repeatedly across sessions (screenshot reviewed 2026-08-16). Accept a positional body argument, keep --body/--body-file, and error only when more than one body source is given.

Origin

  • Trigger: haiku bookkeeping agent running os-backlog comment 420 "..." during /os-sdlc:implement #420 setup
  • Improvised this session: agent retried with --body after the CLI error; auto-memory note os-backlog-comment-requires-body-flag added
  • Chain: first-try CLI failure ← comment requires explicit --body flag ← DESIGN (plugins/os-backlog comment subcommand arg parsing)
  • Root candidate: this ticket
## Context Agents pattern-match on tea/gh style (`tea comment 420 "body"`) and try `os-backlog comment 420 "text"`, which fails because the comment subcommand requires --body/--body-file. Seen repeatedly across sessions (screenshot reviewed 2026-08-16). Accept a positional body argument, keep --body/--body-file, and error only when more than one body source is given. ## Origin - Trigger: haiku bookkeeping agent running `os-backlog comment 420 "..."` during /os-sdlc:implement #420 setup - Improvised this session: agent retried with --body after the CLI error; auto-memory note os-backlog-comment-requires-body-flag added - Chain: first-try CLI failure ← comment requires explicit --body flag ← DESIGN (plugins/os-backlog comment subcommand arg parsing) - Root candidate: this ticket
Author
Owner

Resolution

Done: os-backlog comment now accepts a positional body argument; --body/--body-file unchanged; errors when zero or multiple body sources are given.

Evidence: Commit ce66705 on branch worktree-sdlc+420; comment_cli_test.rb 9 runs / 33 assertions green (red-first), full os-backlog suite 203 runs / 0 failures.

Follow-ups: Consider accepting a positional body for other body-taking subcommands (e.g. occurrence) if the same tea-style reflex bites there.

## Resolution **Done:** os-backlog comment now accepts a positional body argument; --body/--body-file unchanged; errors when zero or multiple body sources are given. **Evidence:** Commit ce66705 on branch worktree-sdlc+420; comment_cli_test.rb 9 runs / 33 assertions green (red-first), full os-backlog suite 203 runs / 0 failures. **Follow-ups:** Consider accepting a positional body for other body-taking subcommands (e.g. occurrence) if the same tea-style reflex bites there.
jared closed this issue 2026-08-16 22:19:50 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#421
No description provided.