Repository navigation
docs(spec): executor removal design (#551) - #714
Merged
Merged
Conversation
Part 9 of 9 of #473. The engine must first run the 21 query shapes that still fall back to the executor; then the executor's query path and the oracle go, test-oracle becomes test-hooks and the 1,200 KiB size gate returns; then the envelope, the Python round trip and the docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0169pNQsLcCEn48te9X9WuZW
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Design for #551 (streaming engine 9/9, part of #473):
docs/superpowers/specs/2026-10-23-executor-removal-design.md.test-oracleon, the whole suite at1096e6a2sends 48 queries (21 shapes) to the executor. Causes A–N::as-oftimestamps,orbranches with nestedors or UDFs, bodies with no pattern, magic-set constant heads (Recursive rule calling another rule fails with INT-022 when its second argument is bound #608), non-entity invocation constants, arity errors, and others no test reaches yet.plan/plan_rulesreturnResult, so every refusal becomes an operator path or today's error code. A fallback panics under test.:as-ofwith a timestamp becomes atx_countbound whentx_idis monotonic over the snapshot, and a per-version filter otherwise.orbranch (checked example), and an unknown predicate in a branch with no row reaching it.PatternMatcher, the old evaluators and the oracle;test-oraclebecomestest-hooks; restore the 1,200 KiB size gate.1096e6a2, Python round trip with batches of 1,000, the enhancement: streaming, pull-based operator pipeline with bounded memory behind the cursor API (follow-up to #432) #473 acceptance checklist, docs.Reviewed with Codex; its two findings (head entity cells, head arity) are fixed in §3.4.
Part of #473.
🤖 Generated with Claude Code
https://claude.ai/code/session_0169pNQsLcCEn48te9X9WuZW