Symptom
When the profile registry is served in its typed reset-required state, tracedecay status fails with an unrelated config error instead of naming the reset:
$ tracedecay status
Error: config error: daemon status response omitted graph_statistics
rc=1
The daemon itself reports the typed state correctly:
WARN tracedecay_store_runtime::session_registry::maintenance: registered store is served in its typed reset-required state event="store_reset_required" store=profile authority authority=LCM remedy=tracedecay wipe --all --yes
tracedecay list --all also surfaces it under the wrong code: Error: project route error (graph_tool.failed): LCM profile schema 5 is incompatible with required schema 13; reset the profile.
#2263 says status, doctor and initialize name the exact reset command for a reset-required store. The CLI status path doesn't.
Reproduction (isolated profile)
- Download the published
v0.0.74 x86_64-linux release, then in a scratch HOME run tracedecay disable-upload-counter and tracedecay init in a scratch git repo. This creates ~/.tracedecay/global.db with LCM schema 5.
- Build
tracedecay-cli from master (654d88db17). Start tracedecay daemon run --socket $HOME/.tracedecay/daemon.sock under that HOME.
- Run
tracedecay status in the repo. Output: config error: daemon status response omitted graph_statistics.
A current registry whose code_projects table is missing a column triggers the same status output. That registry is refused with ResetRequired { authority: "project registry" } and remedy tracedecay wipe --all --yes.
Expected
status renders the reset-required state: store, authority, reason, and the remedy tracedecay wipe --all --yes. It should not report a missing field.
Symptom
When the profile registry is served in its typed reset-required state,
tracedecay statusfails with an unrelated config error instead of naming the reset:The daemon itself reports the typed state correctly:
tracedecay list --allalso surfaces it under the wrong code:Error: project route error (graph_tool.failed): LCM profile schema 5 is incompatible with required schema 13; reset the profile.#2263 says status, doctor and initialize name the exact reset command for a reset-required store. The CLI
statuspath doesn't.Reproduction (isolated profile)
v0.0.74x86_64-linux release, then in a scratchHOMEruntracedecay disable-upload-counterandtracedecay initin a scratch git repo. This creates~/.tracedecay/global.dbwith LCM schema 5.tracedecay-clifrom master (654d88db17). Starttracedecay daemon run --socket $HOME/.tracedecay/daemon.sockunder that HOME.tracedecay statusin the repo. Output:config error: daemon status response omitted graph_statistics.A current registry whose
code_projectstable is missing a column triggers the samestatusoutput. That registry is refused withResetRequired { authority: "project registry" }and remedytracedecay wipe --all --yes.Expected
statusrenders the reset-required state: store, authority, reason, and the remedytracedecay wipe --all --yes. It should not report a missing field.