Skip to content

fix: honor template overrides for tasks-template (#2278)#2292

Open
Nimraakram22 wants to merge 2 commits intogithub:mainfrom
Nimraakram22:fix/honor-tasks-template-overrides-2278
Open

fix: honor template overrides for tasks-template (#2278)#2292
Nimraakram22 wants to merge 2 commits intogithub:mainfrom
Nimraakram22:fix/honor-tasks-template-overrides-2278

Conversation

@Nimraakram22
Copy link
Copy Markdown

This PR resolves #2278 by implementing a unified template resolution flow for the tasks command, bringing it into parity with the plan command.

Key Changes:

Removed hardcoded path in templates/commands/tasks.md in favor of {{TASKS_TEMPLATE}}.

Added setup-tasks.ps1 and setup-tasks.sh to handle the resolution priority stack (Overrides > Presets > Core).

Exported the resolved path via environment variables in the prerequisite check.

Updated docs/reference/presets.md to include tasks-template.md in the documented override stack.

Verification:
Confirmed on Windows 64-bit that local overrides in .specify/templates/overrides/tasks-template.md are correctly loaded and utilized by the AI agent.

@Nimraakram22 Nimraakram22 requested a review from mnriem as a code owner April 21, 2026 14:21
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.

[Feature]: Honor template overrides for tasks-template (parity with plan)

2 participants