Conversation
Pulls the barrier-model runtime, lowered-emitter fixes, cut-semantics suite, and status/convention docs so pkg_resolver P2 builds against the post-P0.5 runtime. No resolver changes in this commit. Co-authored-by: johns243a <johns243a@gmail.com>
Confirms P0.5 gates still hold on the coordinator tip: 38/38 SWI, 39/39 wamjs corpus, 2400/0 term-catalog differential. Co-authored-by: johns243a <johns243a@gmail.com>
resolver_store.pl keeps the term-catalog API untouched and serves the same 10 queries from P/2 fact predicates (packages/depends/conflicts/ reverse-deps) plus a tiny env term. SWI identity: 39/39 corpus rows match term-catalog results. Co-authored-by: johns243a <johns243a@gmail.com>
Rich JSONL plus four P/2 indexes (pkg/dep/conflict/revdep, reverse-deps precomputed). wamjs_store binds those stores as javascript_wam_fact_sources. lmdb stays opt-in; the missing-package error path is ungated. Co-authored-by: johns243a <johns243a@gmail.com>
Seeded catalog (≥5000 packages, ≥15000 deps) with a bound resolve_layered bytes-read proof, term-vs-store timings, and 500 SWI-vs-wamjs cases at 0 divergences. Co-authored-by: johns243a <johns243a@gmail.com>
Co-authored-by: johns243a <johns243a@gmail.com>
s243a
marked this pull request as ready for review
September 2, 2026 19:39
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.
P2: store-backed resolution. Branches from
grok/pkg-resolver-p05. Coordinator cut-semantics runtime imported first; P0.5 gates reconfirmed before P2 work.Environment split
Huge shared catalog (packages / depends / conflicts / reverse-deps) lives in D43 indexed P/2 stores. Machine-local state stays a term:
resolver.plcatalog-as-term API is untouched.resolver_store.plis the adapter.JSONL + store layout
Rich dump (one object per fact,
kind+catalogprefix). Indexed stores (a1 =CatId|Name):pkgMajor.Minor.PatchdepVer#Dep#ConstraintconflictVer#OtherrevdepName#Ver#Constraint(precomputed)SWI reads the same P/2 JSONL the indexer consumes (
load_p2_jsonl/1) — no UWFI reader in SWI; identical keys/cells. WAM seeksindexed(Prefix).lmdb(Dir)is the same P/2 viauw_fact_lmdb.js(opt-in). The gated lmdb arm ran in this env (83 records); missing-package error path ungated.Gates (measured)
resolve_layeredp30data_size=489001, n_reads=650; wamjs 92 msNo runtime/emitter fixes.
uw_fact_index.jsreused as-is (no codec change).examples/pkg_resolver/cli/not created.Residuals
Provides/virtual, epoch/tilde, write paths, incremental store updates, CLI.