issue-create accepts a one-character title and an empty Origin section #739

Closed
opened 2026-09-26 12:31:31 +00:00 by jared · 2 comments
Owner

Origin

Six tickets (#710 #711 #720-#723) reached the live tracker with title "T" and body "## Origin\nB" on 2026-09-24 and 2026-09-25. issue_create_params and require_origin_block in plugins/os-backlog/lib/backlog/cli_command_helpers.rb check only that a title is present and that the body contains the "## Origin" heading.

Required work

  • Reject a title shorter than a minimum (proposed 8 characters) with fail_soft, matching the existing scope-label gate.
  • Reject an Origin section with no content after the heading.
  • Add a test beside issue_create_origin_gate_cli_test.rb.
## Origin Six tickets (#710 #711 #720-#723) reached the live tracker with title "T" and body "## Origin\nB" on 2026-09-24 and 2026-09-25. issue_create_params and require_origin_block in plugins/os-backlog/lib/backlog/cli_command_helpers.rb check only that a title is present and that the body contains the "## Origin" heading. ## Required work - Reject a title shorter than a minimum (proposed 8 characters) with fail_soft, matching the existing scope-label gate. - Reject an Origin section with no content after the heading. - Add a test beside issue_create_origin_gate_cli_test.rb.
Author
Owner

Folded into #765 on 2026-09-27: the 8-character title minimum and the Origin content check ship there as items 5 and 2. This ticket closes when #765 ships.

Folded into #765 on 2026-09-27: the 8-character title minimum and the Origin content check ship there as items 5 and 2. This ticket closes when #765 ships.
Author
Owner

Resolution

Done: Folded into #765: issue-create now refuses a title under 8 characters and an ## Origin block without Session:, Transcript:, and Where: lines, with a named refusal for each.

Evidence: Shipped in #765, implementation 53, commit 72760454 on main; tests issue_create_template_gate_cli_test.rb (title minimum) and issue_create_origin_lines_gate_cli_test.rb (Origin content) beside issue_create_origin_gate_cli_test.rb as the ticket asked.

Follow-ups: none

## Resolution **Done:** Folded into #765: issue-create now refuses a title under 8 characters and an ## Origin block without Session:, Transcript:, and Where: lines, with a named refusal for each. **Evidence:** Shipped in #765, implementation 53, commit 72760454 on main; tests issue_create_template_gate_cli_test.rb (title minimum) and issue_create_origin_lines_gate_cli_test.rb (Origin content) beside issue_create_origin_gate_cli_test.rb as the ticket asked. **Follow-ups:** none
jared closed this issue 2026-09-27 16:13:44 +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#739
No description provided.