Skip to content

feat(alpha): add issue creation command - #394

Merged
tbhb-agent merged 2 commits into
mainfrom
agent/issue-create-3
Nov 25, 2026
Merged

tbhb-agent merged 2 commits into
mainfrom
agent/issue-create-3

Conversation

@tbhb-dev-agent-pull-requests

@tbhb-dev-agent-pull-requests tbhb-dev-agent-pull-requests Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Why

Agents can close and link GitHub issues through tbhbdev alpha issue. They need a command that creates new issues with the same content scans and audit trail.

Behavior change

tbhbdev alpha issue create reads the body from a file and accepts an issue type, title, labels, and optional parent and audit reason. The command requires a recognized agent session. The issue importer validates supported types, and the shared content scans apply to every type. A dry run prints the payload without writing to GitHub or the audit log.

Risk

If GitHub creates the issue and the parent link fails, the command prints the new issue URL and number before returning an error. The caller can use that reference to link the issue separately.

Verification

uv run pytest tests/test_alpha_close.py --cov=tbhbdev.alpha.close --cov-branch --cov-report=term-missing passed 102 tests with 100% line and branch coverage. The tests use a stub GitHub client and check dry runs, creation, audit entries, validation, and parent link failures.

Assisted-by: LLM effort=medium;harness=claude-code:2.1.331;model=anthropic:claude-sonnet-5-5;session=sha-256-64:24ed779d56b187de;surface=cli

Generated-by: LLM effort=high;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:7c56b04a33d9e511;surface=exec
Generated-by: LLM effort=high;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:62f16d96badd805d;surface=exec
@tbhb-agent
tbhb-agent added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit c23b698 Nov 25, 2026
6 checks passed
@tbhb-agent
tbhb-agent deleted the agent/issue-create-3 branch November 25, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant