Skip to content

fix(cli): restore unreachable corpus verify command and parsel verify… - #12

Merged
pt-act merged 1 commit into
mainfrom
fix/restore-corpus-verify-cli
Sep 1, 2026
Merged

pt-act merged 1 commit into
mainfrom
fix/restore-corpus-verify-cli

Conversation

@pt-act

@pt-act pt-act commented Sep 1, 2026

Copy link
Copy Markdown
Owner

… alias

The corpus integrity CLI (wallbreaker corpus verify [--update], aliased as 'wallbreaker parsel verify') was added in 53c9ca2 (roadmap-implementation TG3) but its dispatch was lost when the PR JailbrokenAI#21 line merged with the PR JailbrokenAI#24 line in da21689: the Daedalus side of cli.py won the merge, leaving _run_corpus_verify() defined but unreachable from the CLI.

  • add 'corpus' back to SUBCOMMANDS
  • restore the corpus subparser (--update / --lock) in build_sub_parser()
  • restore the dispatch: 'corpus' -> _run_corpus_verify(), plus the 'parsel verify' alias (choices + getattr routing)
  • re-add 'import subprocess' / 'from pathlib import Path' used by _run_corpus_verify / _resolve_lock_path (also lost in the merge)

The load-time pin check (load_corpus_with_pin_check) was always intact; this only restores the interactive pin/verify surface its own error messages point users at ('run: wallbreaker corpus verify --update').

… alias

The corpus integrity CLI (wallbreaker corpus verify [--update], aliased as
'wallbreaker parsel verify') was added in 53c9ca2 (roadmap-implementation
TG3) but its dispatch was lost when the PR JailbrokenAI#21 line merged with the PR JailbrokenAI#24
line in da21689: the Daedalus side of cli.py won the merge, leaving
_run_corpus_verify() defined but unreachable from the CLI.

- add 'corpus' back to SUBCOMMANDS
- restore the corpus subparser (--update / --lock) in build_sub_parser()
- restore the dispatch: 'corpus' -> _run_corpus_verify(), plus the
  'parsel verify' alias (choices + getattr routing)
- re-add 'import subprocess' / 'from pathlib import Path' used by
  _run_corpus_verify / _resolve_lock_path (also lost in the merge)

The load-time pin check (load_corpus_with_pin_check) was always intact;
this only restores the interactive pin/verify surface its own error
messages point users at ('run: wallbreaker corpus verify --update').
@pt-act
pt-act merged commit 31dbf86 into main Sep 1, 2026
3 checks passed
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.

1 participant