issue-create truncates a multiline --body value at the first newline #658
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#658
Loading…
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?
Problem
bin/os-backlog issue-create --body "" stores only the first line of the body. The command has no --body-file option, unlike comment, which has one. This forces callers to pass multiline text through a single --body string, and it does not survive.
Observed
An agent filed a ticket with a multiline --body value. Only the first line reached the tracker; the rest of the drafted body was lost.
plugins/os-backlog/bin/os-backlog issue-create --title "
Work started 2026-09-27 on branch ticket-658 via /os-sdlc:implement.
Resolution
Done: issue-create accepts --body-file, mirroring comment; both --body and --body-file together refuse with a named conflict; the body reaches the tea backend as one --description argv element.
Evidence: Implementation 49 on branch ticket-658, 11 dispatches all gates green; new test plugins/os-backlog/tests/issue_create_body_file_cli_test.rb; os-backlog suite green. Truncation point is outside this repository: an in-process Backlog::CLI.start with a three-line --body stored all three lines on 2026-09-27, and TeaBackend/GhBackend pass the body as one argv element to Open3.capture3, so no code change for Required work item 2.
Follow-ups: none