Use issue number (not issue ID) in task prompt text#119
Merged
neekolas merged 1 commit intoxmtplabs:mainfrom Apr 21, 2026
Merged
Use issue number (not issue ID) in task prompt text#119neekolas merged 1 commit intoxmtplabs:mainfrom
neekolas merged 1 commit intoxmtplabs:mainfrom
Conversation
The `ai_prompt` block composed by `buildTemplateInputs` previously embedded GitHub's numeric `issue.id` under an `ISSUE_ID:` label. The downstream `/coder-task` skill expects the user-facing issue number, so swap the field and rename the label to `ISSUE_NUMBER:`. Resolves xmtplabs#117 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
neekolas
approved these changes
Apr 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
issue.id→issue.numberin theai_promptblock produced bybuildTemplateInputs.ISSUE_ID:toISSUE_NUMBER:so the downstream/coder-taskskill receives the user-facing issue number.create-task.test.tsfixture assertion to expectISSUE_NUMBER: 42.Resolves #117
Test plan
npm run check(typecheck + lint + format + 373 tests) passes locally🤖 Generated with Claude Code
Note
Replace issue ID with issue number in AI task prompt text
Changes the
buildAiPromptfunction intemplate-inputs.tsto useissue.numberinstead ofissue.id, renaming the prompt field fromISSUE_IDtoISSUE_NUMBER. TheBuildTemplateInputsParamsinterface andcreate-task.tsare updated to match. Behavioral Change: generatedai_promptstrings now containISSUE_NUMBER: <number>instead ofISSUE_ID: <id>, which are different values since GitHub issue numbers and internal IDs are not the same.Macroscope summarized d124265.