diff --git a/src/features/builtin-commands/templates/init-deep.ts b/src/features/builtin-commands/templates/init-deep.ts index beb1be85b..05f2dd115 100644 --- a/src/features/builtin-commands/templates/init-deep.ts +++ b/src/features/builtin-commands/templates/init-deep.ts @@ -45,12 +45,12 @@ Don't wait—these run async while main session works. \`\`\` // Fire all at once, collect results later -background_task(agent="explore", prompt="Project structure: PREDICT standard patterns for detected language → REPORT deviations only") -background_task(agent="explore", prompt="Entry points: FIND main files → REPORT non-standard organization") -background_task(agent="explore", prompt="Conventions: FIND config files (.eslintrc, pyproject.toml, .editorconfig) → REPORT project-specific rules") -background_task(agent="explore", prompt="Anti-patterns: FIND 'DO NOT', 'NEVER', 'ALWAYS', 'DEPRECATED' comments → LIST forbidden patterns") -background_task(agent="explore", prompt="Build/CI: FIND .github/workflows, Makefile → REPORT non-standard patterns") -background_task(agent="explore", prompt="Test patterns: FIND test configs, test structure → REPORT unique conventions") +sisyphus_task(agent="explore", prompt="Project structure: PREDICT standard patterns for detected language → REPORT deviations only") +sisyphus_task(agent="explore", prompt="Entry points: FIND main files → REPORT non-standard organization") +sisyphus_task(agent="explore", prompt="Conventions: FIND config files (.eslintrc, pyproject.toml, .editorconfig) → REPORT project-specific rules") +sisyphus_task(agent="explore", prompt="Anti-patterns: FIND 'DO NOT', 'NEVER', 'ALWAYS', 'DEPRECATED' comments → LIST forbidden patterns") +sisyphus_task(agent="explore", prompt="Build/CI: FIND .github/workflows, Makefile → REPORT non-standard patterns") +sisyphus_task(agent="explore", prompt="Test patterns: FIND test configs, test structure → REPORT unique conventions") \`\`\` @@ -76,9 +76,9 @@ max_depth=$(find . -type d -not -path '*/node_modules/*' -not -path '*/.git/*' | Example spawning: \`\`\` // 500 files, 50k lines, depth 6, 15 large files → spawn 5+5+2+1 = 13 additional agents -background_task(agent="explore", prompt="Large file analysis: FIND files >500 lines, REPORT complexity hotspots") -background_task(agent="explore", prompt="Deep modules at depth 4+: FIND hidden patterns, internal conventions") -background_task(agent="explore", prompt="Cross-cutting concerns: FIND shared utilities across directories") +sisyphus_task(agent="explore", prompt="Large file analysis: FIND files >500 lines, REPORT complexity hotspots") +sisyphus_task(agent="explore", prompt="Deep modules at depth 4+: FIND hidden patterns, internal conventions") +sisyphus_task(agent="explore", prompt="Cross-cutting concerns: FIND shared utilities across directories") // ... more based on calculation \`\`\` @@ -240,7 +240,7 @@ Launch document-writer agents for each location: \`\`\` for loc in AGENTS_LOCATIONS (except root): - background_task(agent="document-writer", prompt=\\\` + sisyphus_task(agent="document-writer", prompt=\\\` Generate AGENTS.md for: \${loc.path} - Reason: \${loc.reason} - 30-80 lines max