Skip to content

fix(cli): \start\ refuses explicitly instead of silent-exiting#71

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/start-not-silent-exit
May 14, 2026
Merged

fix(cli): \start\ refuses explicitly instead of silent-exiting#71
hyperpolymath merged 1 commit into
mainfrom
fix/start-not-silent-exit

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

Summary

Per V-L3-G3 option (a): refuse explicitly.

verisimiser start parsed the manifest, printed three status lines, then returned Ok(()) because the interception daemon hasn't been built — looking like a successful start while doing nothing. Replace the print-and-exit with anyhow::bail! that names the tracking issue (#46 / V-L1-C1) and exits non-zero.

Closes

Test plan

When V-L1-C1 lands, the bail! gets replaced with the real daemon loop.

Closes #54.

`verisimiser start` previously parsed the manifest, printed three
status lines, then returned `Ok(())` because the interception daemon
(V-L1-C1, #46) hasn't been built. That looks like a successful start,
which is worse than not having the subcommand at all — anyone running
`verisimiser start` would assume their database is being augmented
when nothing is happening.

Replace the print-and-exit with `anyhow::bail!` that:

  - still loads the manifest (so config errors surface)
  - names the tracking issue (#46 / V-L1-C1) in the error message
  - exits non-zero, so shell scripts and CI gates notice

This is option (a) from the issue: refuse with a typed error. Once the
interception daemon lands in V-L1-C1, the bail can be replaced with
the actual daemon loop.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@hyperpolymath hyperpolymath merged commit 6824a42 into main May 14, 2026
16 of 18 checks passed
@hyperpolymath hyperpolymath deleted the fix/start-not-silent-exit branch May 14, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

V-L3-G3: verisimiser start should not silently exit; refuse or report idling

1 participant