Skip to content

Make the triage and resolver prompts more explicit - #1

Closed
Ayesh96 wants to merge 1 commit into
mainfrom
claude/project-thread-o1oxql
Closed

Ayesh96 wants to merge 1 commit into
mainfrom
claude/project-thread-o1oxql

Conversation

@Ayesh96

@Ayesh96 Ayesh96 commented Oct 14, 2026

Copy link
Copy Markdown
Owner

Requested by Ayesh · project thread

Before: The triage prompt gave rules in prose and no examples. The resolver prompt said what it could not do, but not how to work or when to give up.

After: Triage asks seven questions in order, shows three short examples, and asks for message before small_fix. The resolver prompt gives a five-step work order, lists the cases where it must SKIP, and says how to write an exact old_string for edit_file.

How: Only the two prompt strings changed (server/workflows/errors/triage.ts, server/workflows/resolver/fixer.ts). The JSON keys, the tool set, the FIX:/SKIP: contract and the code guardrails in modelTriager are unchanged. One new test checks the triage prompt.

Not measured. No Ollama or model key was available, so neither the 12-case triage benchmark nor any resolver run was done. Typecheck and the 371 workflow and LLM tests pass; those do not test model behaviour. Do not merge on the basis of this description: run the benchmark first.

Sources for the design: Tam et al. 2024, arXiv 2408.02442 (strict output formats can hurt reasoning, so the free-text reason comes first); Xia et al. 2024, arXiv 2407.01489 (locate, then repair); Yang et al. 2024, arXiv 2405.15793 (tool design matters for agents).

🤖 Generated with Claude Code

https://claude.ai/code/session_019njmQwspnQiT924GVM2bFz


Generated by Claude Code

Triage: ordered questions, one example per outcome, reason asked before the verdict.
Resolver: a fixed work order, clear SKIP cases, exact-match rules for edit_file.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019njmQwspnQiT924GVM2bFz
@Ayesh96 Ayesh96 self-assigned this Oct 14, 2026
@Ayesh96 Ayesh96 closed this Oct 19, 2026
@Ayesh96
Ayesh96 deleted the claude/project-thread-o1oxql branch October 19, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants