fix(test): align session_id→task_id across tests and source files
Several places still emitted task(session_id=...) after the refactor: - src/hooks/atlas/verification-reminders.ts: 2 occurrences - src/agents/dynamic-agent-core-sections.ts: buildNonClaudePlannerSection prompt Tests updated to match: atlas index.test.ts and dynamic-agent-prompt-builder.test.ts
This commit is contained in:
@@ -182,7 +182,7 @@ Multi-step task? **ALWAYS consult Plan Agent first.** Do NOT start implementatio
|
||||
|
||||
- Single-file fix or trivial change → proceed directly
|
||||
- Anything else (2+ steps, unclear scope, architecture) → \`task(subagent_type="plan", ...)\` FIRST
|
||||
- Use \`session_id\` to resume the same Plan Agent - ask follow-up questions aggressively
|
||||
- Use \`task_id\` to resume the same Plan Agent - ask follow-up questions aggressively
|
||||
- If ANY part of the task is ambiguous, ask Plan Agent before guessing
|
||||
|
||||
Plan Agent returns a structured work breakdown with parallel execution opportunities. Follow it.`
|
||||
|
||||
@@ -29,7 +29,7 @@ Your completion will NOT be recorded until you complete ALL of the following:
|
||||
|
||||
If anything fails while closing this out, resume the same session immediately:
|
||||
\`\`\`typescript
|
||||
task(session_id="${sessionId}", load_skills=[], prompt="fix: checkbox not recorded correctly")
|
||||
task(task_id="${sessionId}", load_skills=[], prompt="fix: checkbox not recorded correctly")
|
||||
\`\`\`
|
||||
|
||||
**Your completion is NOT tracked until the checkbox is marked in the plan file.**
|
||||
@@ -47,7 +47,7 @@ ${VERIFICATION_REMINDER}
|
||||
|
||||
**If ANY verification fails, use this immediately:**
|
||||
\`\`\`
|
||||
task(session_id="${sessionId}", load_skills=[], prompt="fix: [describe the specific failure]")
|
||||
task(task_id="${sessionId}", load_skills=[], prompt="fix: [describe the specific failure]")
|
||||
\`\`\`
|
||||
|
||||
${buildReuseHint(sessionId)}`
|
||||
|
||||
Reference in New Issue
Block a user