fix(KIND_DEFAULTS): permission_mode acceptEdits voor idea-kinds + PLAN_CHAT (#172)
* fix(KIND_DEFAULTS): permission_mode acceptEdits voor idea-kinds + PLAN_CHAT Spiegel van scrum4me-mcp PR #40. Symptoom: IDEA_GRILL job IDEA-047 werd 3x geclaimd, Claude liep telkens succesvol (exit 0 na 600-900s) maar deed nooit update_job_status('done'). Lease verliep, retry_count >= 2 → status FAILED met "agent did not complete job within 2 attempts". Root cause: KIND_DEFAULTS.permission_mode='plan' voor idea-kinds en PLAN_CHAT. In autonome batch-mode wacht plan-mode op een human "go" na elke planning-fase — geen mens in de loop in deze runner-context. Fix: - IDEA_GRILL.permission_mode: plan → acceptEdits - IDEA_MAKE_PLAN.permission_mode: plan → acceptEdits - PLAN_CHAT.permission_mode: plan → acceptEdits - PLAN_CHAT.allowed_tools krijgt mcp__scrum4me__update_job_status (ontbrak) De allowed_tools-lijsten doen de echte sandboxing (geen Bash, geen Edit voor IDEA_GRILL/PLAN_CHAT). Plan-mode's "veiligheid" wordt al door tool-allowlists geleverd; acceptEdits is hier puur om Claude door zijn eigen update_job_status loop te laten lopen zonder approval-wachttijd. Plus: docs/runbooks/{job-model-selection,worker-idempotency}.md tabellen bijgewerkt. last_updated note in job-model-selection.md. Verify: 587 tests in 78 files passed (incl. nieuwe lib/job-config tests). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * chore: remove .claude/scheduled_tasks.lock per ongeluk meegecommit Lokale tooling-lock-file van de cowork-skills, hoort niet in de repo. --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
00c5045558
commit
c2633695d2
4 changed files with 20 additions and 12 deletions
|
|
@ -3,7 +3,7 @@ title: "Job-model-selectie per ClaudeJob-kind"
|
|||
status: active
|
||||
audience: [ai-agent, contributor]
|
||||
language: nl
|
||||
last_updated: 2026-05-09
|
||||
last_updated: 2026-05-09 (idea-kinds + PLAN_CHAT permission_mode → acceptEdits)
|
||||
when_to_read: "Vóór het wijzigen van model/thinking/permission-mode-keuze of bij debugging van 'verkeerd model gebruikt'-incidents."
|
||||
---
|
||||
|
||||
|
|
@ -39,9 +39,9 @@ altijd kind-default — geen product- of task-override.
|
|||
|
||||
| Kind | Model | Thinking-budget | Permission-mode | max_turns | allowed_tools |
|
||||
|---|---|---|---|---|---|
|
||||
| `IDEA_GRILL` | `claude-sonnet-4-6` | 12 000 | `plan` | 15 | Read, Grep, Glob, WebSearch, AskUserQuestion |
|
||||
| `IDEA_MAKE_PLAN` | `claude-opus-4-7` | 24 000 | `plan` | 20 | Read, Grep, Glob, WebSearch, AskUserQuestion, Write |
|
||||
| `PLAN_CHAT` | `claude-sonnet-4-6` | 6 000 | `plan` | 5 | Read, Grep, AskUserQuestion |
|
||||
| `IDEA_GRILL` | `claude-sonnet-4-6` | 12 000 | `acceptEdits` | 15 | Read, Grep, Glob, WebSearch, AskUserQuestion |
|
||||
| `IDEA_MAKE_PLAN` | `claude-opus-4-7` | 24 000 | `acceptEdits` | 20 | Read, Grep, Glob, WebSearch, AskUserQuestion, Write |
|
||||
| `PLAN_CHAT` | `claude-sonnet-4-6` | 6 000 | `acceptEdits` | 5 | Read, Grep, AskUserQuestion |
|
||||
| `TASK_IMPLEMENTATION` | `claude-sonnet-4-6` | 6 000 | `bypassPermissions` | 50 | (alle) |
|
||||
| `SPRINT_IMPLEMENTATION` | `claude-sonnet-4-6` | 6 000 | `bypassPermissions` | (geen) | (alle) |
|
||||
|
||||
|
|
|
|||
|
|
@ -161,9 +161,9 @@ Claude. De resolver in `lib/job-config.ts` exporteert
|
|||
|
||||
| Kind | Model | thinking_budget | --effort | permission_mode |
|
||||
|---|---|---|---|---|
|
||||
| `IDEA_GRILL` | sonnet-4-6 | 12000 | high | plan |
|
||||
| `IDEA_MAKE_PLAN` | opus-4-7 | 24000 | xhigh | plan |
|
||||
| `PLAN_CHAT` | sonnet-4-6 | 6000 | medium | plan |
|
||||
| `IDEA_GRILL` | sonnet-4-6 | 12000 | high | acceptEdits |
|
||||
| `IDEA_MAKE_PLAN` | opus-4-7 | 24000 | xhigh | acceptEdits |
|
||||
| `PLAN_CHAT` | sonnet-4-6 | 6000 | medium | acceptEdits |
|
||||
| `TASK_IMPLEMENTATION` | sonnet-4-6 | 6000 | medium | bypassPermissions |
|
||||
| `SPRINT_IMPLEMENTATION` | sonnet-4-6 | 6000 | medium | bypassPermissions |
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue