claw-code/rust/crates/rusty-claude-cli
YeonGyu-Kim 6c09172b9f feat(#248): Fix test visibility and refine verb-option detector precision
## Fixes

1. **Test visibility**: Added is_unknown_verb_option_error to mod tests
   use super import list so tests can call the detector function.

2. **Detector precision**: The verb-option detector was incorrectly matching
   'unknown option: --foo' (generic form missing a verb). Tightened the
   detector to require a non-empty, space-free verb between 'unknown '
   and ' option:'. Now correctly matches only verb-qualified rejections like:
   - 'unknown system-prompt option: --json'
   - 'unknown export option: --bogus'

## Test Results

- All 180 library tests pass
- 4 new #248-specific classifier tests pass:
  - classify_error_kind_covers_verb_qualified_unknown_options_248
  - is_unknown_verb_option_error_only_matches_verb_qualified_shape_248
- No regressions (all existing classifier paths still classifying correctly)

## Status

#248 implementation is complete and tested. Branch is ready for code review
before merging to main. The implementation extends the classifier to handle
verb-qualified unknown-option rejections across all subcommands (system-prompt,
export, dump-manifests, etc.) plus unknown subcommand/slash-command rejections
at the top level.
2026-04-23 00:24:00 +09:00
..
.claw/sessions feat(runtime): typed task packet format for structured claw dispatch 2026-04-04 00:40:20 +09:00
src feat(#248): Fix test visibility and refine verb-option detector precision 2026-04-23 00:24:00 +09:00
tests fix: #150 — eliminate symlink canonicalization flake in resume_latest test + file #246 (reminder outcome ambiguity) 2026-04-21 21:01:09 +09:00
Cargo.toml Close the clawability backlog with deterministic CLI output and lane lineage 2026-04-05 18:41:02 +00:00
build.rs Remove the deprecated Claude subscription login path and restore a green Rust workspace 2026-04-11 17:24:44 +00:00