Define RAVEL recursive experience and causal-learning substrate - #55
Merged
Conversation
epi13
marked this pull request as ready for review
August 3, 2026 05:48
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Define an additive post-RAVEL-0.6 experience substrate so recursive development is not reduced to feeding errors into the next candidate.
What changed
experience_episode;causal_hypothesis;intervention_record;causal_attribution;learned_principle; andstrategy_record;make checktarget and the Core Standard CI workflow;Why
The existing recursive architecture track governs candidate lineage, evaluation, rollback, policy replacement, and authority. Its feedback object is still primarily structured failure plus predicted and actual effects. That is enough for controlled recursive repair, but not for a system to learn what an event means, distinguish competing causes, preserve successful behavior, understand why an intervention worked or failed, assign delayed lineage credit, or determine when a lesson transfers.
This PR defines that missing substrate without implementing a hidden optimizer or allowing the recursive system to rewrite its judge.
Core lifecycle
Authority and evidence boundary
PASS | FAIL | UNKNOWNresults cannot be redefined by diagnostic interpretation.UNKNOWN; independent evaluation, protected custody, certification, and promotion remain unestablished.Executable checks
The validator requires:
Negative fixtures must reject:
Scope
This is architecture, vocabulary, reference data, and semantic validation. It does not yet implement:
Those require later bounded candidate epochs and their own preregistration.
Validation
Current-head Core Standard results completed so far:
The ordinary Python-version test/corpus matrix is still completing. The immediately preceding head passed Python 3.12, 3.13, and 3.14 tests, packaged-schema validation, conformance corpus, MNCDS corpus, and examples; the only failure on that head was the six mechanical Ruff findings corrected in the current head.
Review focus
Please focus review on: