@@ -10,6 +10,35 @@ range may break in any release.
1010
1111### Added
1212
13+ - ** ` vault config ` + ` vault purge ` (PRD §7.1).** A persistent, typed config
14+ file and the two remaining settings/maintenance verbs.
15+ - ** Config file** at ` $XDG_CONFIG_HOME/vault/config.toml ` , modeled as a
16+ * known-key registry* : ` vault config set <key> <value> ` validates the key
17+ and parses the value to its type (a typo or non-numeric value is rejected,
18+ not silently kept), ` vault config unset <key> ` clears it, and
19+ ` vault config get ` with no key lists every known key with its effective
20+ value (` --json ` on all three). Writes are atomic (tempfile + rename).
21+ Recognised keys this release: ` clipboard.clear_secs ` and
22+ ` agent.idle_lock_secs ` (both ` u64 ` , ` 0 ` disables).
23+ - ** Wired into auto-spawn.** When the CLI starts the agent, it sources those
24+ two knobs from the config and passes them as launch flags — so a saved
25+ ` clipboard.clear_secs ` finally has a persistent home instead of being
26+ flag/env-only. On the auto-spawn path the config value populates the agent
27+ flag (winning over ` $VAULT_CLIPBOARD_CLEAR_SECS ` ); a manually launched
28+ agent is unaffected, and a malformed config is reported and skipped rather
29+ than blocking the spawn.
30+ - ** ` vault purge ` ** drops a running agent's in-memory keys (best-effort
31+ ` Lock ` , never auto-spawning) and removes the on-disk item cache
32+ (` $XDG_DATA_HOME/vault ` ). Confirmation-gated like ` remove ` (` --force ` to
33+ skip; required when stdin isn't a TTY); an absent cache is success.
34+ - CLI-only slice — no protocol, agent, or TUI changes; the agent still
35+ receives knobs as the launch flags it already accepted. New ` toml `
36+ dependency (MIT/Apache, within the ` deny.toml ` allow-list).
37+ - Tests: config registry units (set/get/unset round-trips, unknown-key and
38+ bad-value rejection, ` 0 ` accepted, ` KNOWN_KEYS ` reachable by all three
39+ ops, TOML serde round-trip) and a pure ` agent_args ` test for the
40+ config→launch-flags mapping (both set / one set / none).
41+
1342- ** Clipboard hardening — clear-on-lock sweep, backend trait, OSC52 fallback,
1443 configurable interval.** Closes the secret-can-outlive-the-agent limitation
1544 tracked since the M5 copy slice, and delivers PRD §7.5 in its
0 commit comments