session-memory: fill real resolutions into auto-approved catalog stubs

Replaced the placeholder 'TODO: capture the recommended resolution' in the five
auto-approved patterns with grounded problem descriptions + concrete resolutions
drawn from the friction assessment: budget_overrun (read narrowly / checkpoint),
infra_overhead (batch hub writes / orient once), schema_thrash (front-load tool
schemas), tool_thrash (batch shell + larger edits), clean_pass (tests gate done).
Each versioned 1.0.0 -> 1.0.1 with the stub archived to <id>.history.jsonl.
Proposals regenerate with real content (0 TODO). Suite 139/139.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-07 16:26:56 +02:00
parent 4f28cd67cf
commit 15ba625351
11 changed files with 252 additions and 61 deletions

View File

@@ -2,9 +2,9 @@
"created_at": "2026-06-07T09:13:20Z",
"distribution_ready": true,
"id": "sp-problem-tool_thrash-tool-bash",
"name": "problem: tool thrash",
"name": "Tool thrash: one tool hammered",
"polarity": "problem",
"problem": "problem: tool thrash",
"problem": "A single tool (often Bash or Edit) is invoked far more than any other in a session \u2014 a sign of trial-and-error churn or missing higher-level tooling.",
"provenance": {
"detected_at": null,
"evidence": {
@@ -49,15 +49,27 @@
},
"rendering_hints": {
"claude": {
"note": "TODO: refine rendering",
"target": "CLAUDE.md"
}
},
"resolutions": [
{
"detail": "",
"detail": "Compose a single command/script; run independent calls in parallel.",
"steps": [
"Group the steps",
"Run them as one block"
],
"summary": "Batch related shell work into one script, not many small Bash calls"
},
{
"detail": "Read the region, then one substantive Edit beats many tiny ones.",
"steps": [],
"summary": "TODO: capture the recommended resolution"
"summary": "Make fewer, larger edits with full context"
},
{
"detail": "If the same invocation recurs, wrap it once.",
"steps": [],
"summary": "Factor a repeated command pattern into a helper"
}
],
"schema_version": 1,
@@ -78,6 +90,6 @@
]
},
"status": "approved",
"updated_at": "2026-06-07T09:13:20Z",
"version": "1.0.0"
"updated_at": "2026-06-07T14:21:06Z",
"version": "1.0.1"
}