Skip to content

Document the rule-mining procedure; expose the universe policy in the CLI#35

Merged
psaegert merged 2 commits into
mainfrom
feat/rule-mining-docs
Jul 12, 2026
Merged

Document the rule-mining procedure; expose the universe policy in the CLI#35
psaegert merged 2 commits into
mainfrom
feat/rule-mining-docs

Conversation

@psaegert

Copy link
Copy Markdown
Owner

Updates Creating Rulesets (docs/rules.md) to explain how find_rules actually works — the two mining phases, the certification chain (complete enumeration cross-checked against an exact count, shortest-first minimal targets, constant-fit challenges, the tolerance gate with domain extension, independent confirmation), determinism, and the provenance sidecar — and replaces the minimal example configuration with a complete one (sources to length 7, targets to length 4, the universe policy sampling lengths 6–7).

The find-rules CLI now forwards source_sample_per_length and candidate_fold_filter from the configuration file, so the documented example is runnable as-is. The documented keys are validated against the find_rules signature.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VKNo5wM1D5Xm8eVTLhrPzf

psaegert and others added 2 commits July 12, 2026 01:49
…licy keys

docs/rules.md now describes how find_rules certifies rules (complete
enumeration with an exact count cross-check, shortest-first minimal targets,
constant-fit challenges, tolerance gate with domain extension, independent
confirmation, deterministic seeding, provenance sidecar) and ships a complete
mining configuration example. The find-rules CLI forwards
source_sample_per_length and candidate_fold_filter from the config file.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VKNo5wM1D5Xm8eVTLhrPzf
SimpliPyEngine.certify_rules certifies externally proposed rule sources with
the mining gates (validity, pruning against current rules, shortest-first
minimal-target search, independent confirmation), with an optional per-proposal
target hint verified pairwise when no library-sized target exists ('verified'
vs 'minimal' certificates; hinted targets may have any length shorter than the
source). docs/rules.md explains the channel, how the upcoming asset's packs
were proposed (Claude, grammar-constrained family prompts) with observed yield
and timing expectations, and an end-to-end replication recipe. The documented
example is validated against the dev_7-3 engine.

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