Skip to content

0.7.1: find-rules config keys honored, unknown keys rejected fail-closed#38

Merged
psaegert merged 1 commit into
mainfrom
release/0.7.1
Jul 21, 2026
Merged

0.7.1: find-rules config keys honored, unknown keys rejected fail-closed#38
psaegert merged 1 commit into
mainfrom
release/0.7.1

Conversation

@psaegert

Copy link
Copy Markdown
Owner

Summary

  • The prune and relaxed_kruskal keys in a find-rules YAML were silently ignored; a config declaring prune: covered produced an unpruned artifact that did not match its own claims. Both are now forwarded (config prune: takes precedence over the --prune flag).
  • The CLI rejects unknown find-rules config keys fail-closed, naming the offending key — a mis-spelled or unsupported key is an error, never a silent no-op.
  • The provenance sidecar records relaxed_kruskal alongside the other mine parameters.

Test plan

  • Two new CLI regression tests: honored keys land in provenance (prune: covered, relaxed_kruskal: false, confirm: false); unknown key (confirm_rules) exits 1 naming the key
  • Full pytest tests on the built wheel: 274 passed

🤖 Generated with Claude Code

https://claude.ai/code/session_01EhLKRZHNh5nNjLZhZqym9w

…and rejects unknown keys fail-closed

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EhLKRZHNh5nNjLZhZqym9w
@psaegert
psaegert merged commit ad0d6e3 into main Jul 21, 2026
7 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