8000 docs(spec): recursive rules on the streaming engine (#548) by adityamukho · Pull Request #667 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content

docs(spec): recursive rules on the streaming engine (#548) - #667

Merged
adityamukho merged 3 commits into
v3from
docs/548-recursive-spec
Oct 20, 2026
Merged

adityamukho merged 3 commits into
v3from
docs/548-recursive-spec

Conversation

@adityamukho
Copy link
Copy Markdown
Collaborator

Design for #548 (part 6 of 9 of #473): docs/superpowers/specs/2026-10-20-recursive-engine-design.md. Docs only.

Records the decisions settled 2026-10-20 (spec §1): merged rule relations and stored facts (today's visibility kept), #661 first, QRY-013 for a head entity that is not an entity, #553 first (one total max_derived_facts), nil metadata for derived facts, one semi-naive fixpoint per stratum with a naive fallback, the real function registry in rule-body or branches, and delivery as spec → plan → 3 PRs (executor fixes; engine Recursive; acceptance + envelope).

Reviewed with Codex against the code; its five findings are folded in (stored facts in Full/Old reads, the naive-rule test on the parsed body, the magic guard's scope, :any-valid-time multiplicity claim removed, delta definition).

Open points flagged in the text: an unbound head variable stays INT-022 on both paths (parse-time rejection is a follow-up); a not body pattern naming a same-stratum predicate is undefined (possible follow-up error); the magic-set rewrite still changes what attribute-variable patterns see (kept, documented).

No closing keyword for #473 or #548.

🤖 Generated with Claude Code

https://claude.ai/code/session_019kY61Y11gcRD91Y6b7jbGT

adityamukho and others added 3 commits October 20, 2026 21:45
…rsed body, magic guard scope (Codex review)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019kY61Y11gcRD91Y6b7jbGT
@codecov
codecov Bot commented Oct 20, 2026
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@adityamukho
adityamukho merged commit 7180812 into v3 Oct 20, 2026
25 checks passed
@adityamukho
adityamukho deleted the docs/548-recursive-spec branch October 20, 2026 16:45
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

0