Skip to content

chore: upgrade @minigraf/browser to 2.0.1 and revert #298 workaround - #43

Merged
adityamukho merged 1 commit into
mainfrom
claude/dazzling-bardeen-u84u3m
Sep 26, 2026
Merged

adityamukho merged 1 commit into
mainfrom
claude/dazzling-bardeen-u84u3m

Conversation

@adityamukho

Copy link
Copy Markdown
Collaborator

Summary

What 2.0.1 fixes for users

  • Recursive rules called with a literal keyword now return rows instead of nothing (minigraf#298).
  • [(< "a" "b")] and other string comparisons now work. In 1.2.0 they matched nothing.
  • Keywords that end in ? (for example :person/alive?) now parse.

One behavior change: 2.0 rejects extra arguments after the query vector. (query [...] :max-results 5) is now an error. The lessons and the tutor prompt already put :max-results inside the vector, so nothing in the app breaks.

Workarounds kept

This change does not close #40. It only covers the #298 part.

Testing

  • npm test: 224 tests pass. This includes the 66 e2e lesson steps against the real 2.0.1 WASM.
  • npm run build: passes.
  • I made the lockfile with npm 11. The container's npm 10 also deleted some unrelated libc fields.

Refs #40

🤖 Generated with Claude Code

https://claude.ai/code/session_01DfYD1KuzjcyDCnV7JAi68v


Generated by Claude Code

2.0.1 keeps the same JS API and file format (v7). It fixes literal
keyword bindings in rule calls (minigraf#298), string ordering in
predicates, and keywords that end in `?`.

Revert o3-s2 and o3-s3 to call reports-to with a literal keyword, as
the lessons did before 4d9730f.

Keep the other workarounds. minigraf#287 is still open (fix planned for
v3.0.0), so l1-s3 keeps its split transacts. minigraf#297 still
reproduces in 2.0.1 when a recursive rule calls another user-defined
rule ("Unbound variable in rule head: ?mid"), so sl3-s3 and t3-s3 keep
the pattern-bind form.

Refs #40

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DfYD1KuzjcyDCnV7JAi68v
@vercel

vercel Bot commented Sep 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
minigraf-playground Ready Ready Preview Sep 26, 2026 8:32am UTC

@adityamukho
adityamukho merged commit 14f805f into main Sep 26, 2026
3 checks passed
@adityamukho
adityamukho deleted the claude/dazzling-bardeen-u84u3m branch September 26, 2026 08:35

This branch was successfully deployed

1 active deployment
Preview — b85f4411 Deployed Sep 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants