feat: add /workflow:session:sync command and integrate auto-sync into execution pipelines

Add a new session sync command that updates both project-guidelines.json
and project-tech.json from session context in one shot. Replace inline
Step 6 (Update Development Index) in lite-execute with sync call, and
add auto-sync to Post-Completion Expansion across 6 execution commands.
Simplify session/complete by replacing Phase 4+5 with single sync call.
This commit is contained in:
catlog22
2026-02-25 22:32:33 +08:00
parent b2b8688d26
commit f96febe09a
10 changed files with 224 additions and 164 deletions

View File

@@ -736,6 +736,8 @@ TodoWrite({
## Post-Completion Expansion
**Auto-sync**: 执行 `/workflow:session:sync -y "{summary}"` 更新 project-guidelines + project-tech。
完成后询问用户是否扩展为issue(test/enhance/refactor/doc),选中项调用 `/issue:new "{summary} - {dimension}"`
## Best Practices