Summary
Currently --attempts defaults to 3. Users should be able to set a persistent default so they don't have to pass -n 5 every time. Similar to how Claude Code allows "effort" selection that persists.
Proposed design
Config file: .thinktank/config.json
{
"defaults": {
"attempts": 5,
"model": "sonnet",
"timeout": 300,
"runner": "claude-code"
}
}
CLI override hierarchy
- CLI flag (
--attempts 3) — highest priority
- Config file (
.thinktank/config.json) — project-level
- Built-in defaults (
3) — fallback
Commands
thinktank config set attempts 5 — set a default
thinktank config get attempts — view current default
thinktank config reset — restore built-in defaults
User request context
"maybe we can have it be in some way like claude-code allows effort selection that maintains throughout once set unless manually overridden"
Acceptance criteria
Summary
Currently
--attemptsdefaults to 3. Users should be able to set a persistent default so they don't have to pass-n 5every time. Similar to how Claude Code allows "effort" selection that persists.Proposed design
Config file:
.thinktank/config.json{ "defaults": { "attempts": 5, "model": "sonnet", "timeout": 300, "runner": "claude-code" } }CLI override hierarchy
--attempts 3) — highest priority.thinktank/config.json) — project-level3) — fallbackCommands
thinktank config set attempts 5— set a defaultthinktank config get attempts— view current defaultthinktank config reset— restore built-in defaultsUser request context
"maybe we can have it be in some way like claude-code allows effort selection that maintains throughout once set unless manually overridden"
Acceptance criteria
.thinktank/config.jsonloaded on startupthinktank configsubcommand for viewing/setting defaultsconfig set(not on install)