You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: rename slash commands tw-* → taskwing:* and MCP server → taskwing (#24)
* refactor: rename slash commands from tw-* to taskwing:* and MCP server to taskwing
Standardize naming convention across the entire codebase:
- Slash commands: /tw-ask → /taskwing:ask, /tw-next → /taskwing:next, etc.
- MCP server name: taskwing-mcp → taskwing
- No backward compatibility shims — old names detected as legacy for cleanup
* fix(bootstrap): use subdirectory for namespaced slash commands
Fix three critical runtime bugs identified by Greptile review:
1. macOS filesystem failure: colons in filenames (taskwing:ask.md) are
invalid on HFS+/APFS. Now uses subdirectory approach:
.claude/commands/taskwing/ask.md → /taskwing:ask
2. OpenCode validation failure: regex rejects colons. Now uses SlashCmd
field (ask, next, etc.) instead of BaseName for OpenCode filenames.
3. Migration cleanup: managedSlashCommandBases() now includes legacy
tw-* names so old files are properly pruned during upgrade.
Also fixes misleading comment on SlashCommandNames().
* fix(config): remove hardcoded dev path from opencode.json
Replace absolute dev binary path with portable "taskwing" command name
so the config works on any machine.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
22
22
- "TaskWing helps turn a goal into executed tasks with persistent context across AI sessions."
23
23
- Updated slash and MCP prompt contracts to unified `task` and `plan` action-based interfaces.
24
24
- Purged stale/outdated architecture documentation that no longer matches shipped behavior.
25
-
- Reworked `/tw-plan`, `/tw-next`, `/tw-done`, and `/tw-debug` prompts as explicit process contracts with hard gates and refusal fallbacks.
25
+
- Reworked `/taskwing:plan`, `/taskwing:next`, `/taskwing:done`, and `/taskwing:debug` prompts as explicit process contracts with hard gates and refusal fallbacks.
26
26
- Updated slash command descriptions to trigger-focused "Use when ..." phrasing across assistant command generation.
27
27
- Session initialization output now injects TaskWing Workflow Contract v1 for hook-enabled assistants.
Reason: fmt.Sprintf("Sentinel circuit breaker: Critical deviation detected in previous task. %s\n\nReview the changes before proceeding. Use /tw-next to continue after review.", session.LastDeviationSummary),
212
+
Reason: fmt.Sprintf("Sentinel circuit breaker: Critical deviation detected in previous task. %s\n\nReview the changes before proceeding. Use /taskwing:next to continue after review.", session.LastDeviationSummary),
0 commit comments