小橘 645f0bacf2 refactor: remove redundant context from prompts, delegate to nerve-dev skill
- Remove nerveYaml injection from planner (skill has it)
- Remove sensesDir/nerveRoot from coder and tester (skill has conventions)
- Prompts now just say 'read the skill' instead of inlining knowledge
- BuildSenseGeneratorDeps reduced to { provider, cwd }
- index.ts drops getNerveYaml(), SENSES_DIR, readFileSync
2026-04-28 04:50:21 +00:00

17 lines
801 B
TypeScript

export function testerPrompt({ threadId }: { threadId: string }): string {
return `You are testing a newly created Nerve sense end-to-end.
Read the workflow thread for context: \`nerve thread ${threadId}\`
Read the nerve-dev skill for expected file structure: \`cat node_modules/@uncaged/nerve-skills/nerve-dev/SKILL.md\`
Verify the full lifecycle:
1. Check all required sense files exist
2. Check nerve.yaml has the sense config
3. Run \`nerve sense list\` — confirm the sense appears
4. Run \`nerve sense trigger <sense-name>\` — should complete without error
5. Run \`nerve sense query <sense-name>\` — retry up to 20s until rows appear
6. If any step fails, run \`nerve logs\` and include relevant errors
Output a clear summary: what you checked, what passed, what failed, and why.`;
}