Skip to content

Commit bd466d4

Browse files
only21milclaude
andcommitted
fix(cli): t3 triage posts to pingdotgg/t3code from any directory
The direct `gh issue create` step had no `--repo`, so gh resolved the repository from the session's working directory. A triage session runs in the user's own project, where that picks the wrong repository or none. The command now names pingdotgg/t3code, like the permission check and form URL beside it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent e450bb8 commit bd466d4

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/triage/PLAYBOOK.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ of `main` for that work, never the tag-pinned diagnosis clone.
126126
- Show the user the complete final issue text and get an explicit yes before
127127
posting. Never post without it.
128128
- Note at the end of the issue which model and agent produced it.
129-
- Post with `gh issue create --label via-triage` only if
130-
`gh api repos/pingdotgg/t3code --jq .permissions.triage` prints `true`. For
131-
anyone else GitHub drops the label and still reports success.
129+
- Post with `gh issue create --repo pingdotgg/t3code --label via-triage` only
130+
if `gh api repos/pingdotgg/t3code --jq .permissions.triage` prints `true`.
131+
For anyone else GitHub drops the label and still reports success.
132132
- Otherwise, or if `gh` is not authenticated, build a prefilled
133133
https://github.com/pingdotgg/t3code/issues/new?template=via-triage.yml URL.
134134
The form applies the label whoever submits it. Add `title` plus one

‎apps/server/src/cli/triagePrompt.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ of \`main\` for that work, never the tag-pinned diagnosis clone.
128128
- Show the user the complete final issue text and get an explicit yes before
129129
posting. Never post without it.
130130
- Note at the end of the issue which model and agent produced it.
131-
- Post with \`gh issue create --label via-triage\` only if
132-
\`gh api repos/pingdotgg/t3code --jq .permissions.triage\` prints \`true\`. For
133-
anyone else GitHub drops the label and still reports success.
131+
- Post with \`gh issue create --repo pingdotgg/t3code --label via-triage\` only
132+
if \`gh api repos/pingdotgg/t3code --jq .permissions.triage\` prints \`true\`.
133+
For anyone else GitHub drops the label and still reports success.
134134
- Otherwise, or if \`gh\` is not authenticated, build a prefilled
135135
https://github.com/pingdotgg/t3code/issues/new?template=via-triage.yml URL.
136136
The form applies the label whoever submits it. Add \`title\` plus one

0 commit comments

Comments
 (0)