beads/internal/config
CI Bot a6f2d8d2d3 fix(config): remove dead dolt.idle-timeout key (GH#2452-followup)
The dolt.idle-timeout config key has had no consumer in the tree since
GH#2452 (commit 4df17ca34, in v0.60.0) removed the idle-monitor and
activity-signal daemon infrastructure. There is:
- No SetDefault for it in internal/config/config.go
- No GetString/GetDuration/viper consumer anywhere in cmd/ or internal/
- Only references are docs, the YamlOnlyKeys entry, and a validator case

The validator case (yaml_config.go:521) and YamlOnlyKeys entry served
no purpose since the value was never read. Remove both, plus the
'time' import that becomes unused, and update docs.

Out of scope: docs/DOLT-BACKEND.md:467 has 'idle_timeout: "30s"' under
Dolt server lock-retry settings — that's a different idle_timeout from
the upstream Dolt server config, not the removed beads key. Untouched.

Discovered while reviewing PR #3714 (mybd-b5q).

Amp-Thread-ID: https://ampcode.com/threads/T-019dfe19-17ae-713e-bc3a-d7c9da6a117d
Co-authored-by: Amp <amp@ampcode.com>
2026-05-06 09:50:01 -07:00
..
agents_file_test.go feat(init): add --agents-file flag to customize agent instructions filename 2026-03-22 11:17:43 -07:00
config.go fix(hooks): auto-import .beads/issues.jsonl after pull/checkout (GH#3729) (#3730) 2026-05-05 20:16:51 -07:00
config_test.go fix(config): remove dead dolt.idle-timeout key (GH#2452-followup) 2026-05-06 09:50:01 -07:00
permissions.go fix(init): repair existing .beads permissions to 0700 2026-04-28 06:48:13 -07:00
permissions_test.go fix(init): repair existing .beads permissions to 0700 2026-04-28 06:48:13 -07:00
permissions_windows.go fix(init): add FixBeadsDirPermissions stub for Windows build 2026-04-27 18:00:27 -04:00
repos.go Fix worktree-aware config.yaml resolution (#3265) 2026-04-24 07:33:31 -07:00
repos_test.go fix: bd repo commands write to YAML and cleanup on remove (#683) 2025-12-22 01:26:45 -08:00
sync.go refactor: remove dead sync mode scaffolding (GH#2485) 2026-03-10 11:48:11 -07:00
sync_test.go refactor: remove dead sync mode scaffolding (GH#2485) 2026-03-10 11:48:11 -07:00
testmain_test.go refactor: clean up residual sync.mode references (PR #2661) 2026-03-18 12:07:13 -07:00
worktree_config_test.go Fix worktree-aware config.yaml resolution (#3265) 2026-04-24 07:33:31 -07:00
yaml_config.go fix(config): remove dead dolt.idle-timeout key (GH#2452-followup) 2026-05-06 09:50:01 -07:00
yaml_config_test.go fix(config): refuse to write secret keys to git-tracked config.yaml (#3652) 2026-05-02 13:45:25 -07:00