Conversation
Reference docs from the coordinator branch (unmodified): proposal §2e/§2f and PKG_MINING_NOTES.md top-10. Co-authored-by: johns243a <johns243a@gmail.com>
…nts. Extend the catalog term with catalog/9 extras while keeping catalog/6 (bare Name-Ver = blanket). New queries: safe_upgrade, upgrade_set, freeze_audit, dependents, dependents_installed. Exclusion filters candidate generation only; aliases rewrite at the request edge. Co-authored-by: johns243a <johns243a@gmail.com>
Sixteen new plunit tests cover each safe_upgrade verdict, upgrade_set minimality and blocked/3, freeze_audit over_frozen/abi_anchor, a second loaded layer, excluded-vs-removal, dependents, and request-edge aliases. Co-authored-by: johns243a <johns243a@gmail.com>
…ial. Dump and oracle encode reasons/layers/excluded/aliases; the shim still contains no resolver logic. gen_catalogs seed 0xa5b6c7d8 emits 2400 cases across the old four queries plus the five new ones. 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 13:45
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.
Holds get reasons; mining-notes adoptions land. Branches from
grok/pkg-resolver. Spec fromPACKAGE_MANAGER_LOGIC_PROPOSAL.md§2e (graduated freeze) / §2f (named layers) andPKG_MINING_NOTES.mdtop-10. Design docs are imported unmodified. Edit scope isexamples/pkg_resolver/plus those two reference docs.Catalog shape (P0
catalog/6still accepted)Bare
Name-Ver=blanket. Extras viacatalog/9:Combined example (reasons + a second loaded layer + excluded + alias):
safe_upgradeverdicts:safe(cost(Reason))(footprint/blanket/layer_shadow),coordinated(Set)(abi_anchor),unsafe(modified),no_candidate.upgrade_setis the reverse-dep closure over BASE holds whose constraint breaks at NewVer; a tolerant dep stays out; a member with no repair bindsblocked/3. Exclusion filters candidate generation only — neverremoval_orphans. Aliases rewrite at the request edge; catalog names stay canonical.New scenarios (16; all 22 P0 tests unchanged)
safe_upgrade footprint / blanket / layer_shadow / modified / no_candidate / coordinated; upgrade_set minimality (tool with
anystays out) + blocked/3; freeze_audit over_frozen + suggest(abi_anchor); named layer satisfies a dep + layer_closure omits loaded; excluded never selected / excluded does not block removal; dependents + dependents_installed; alias at the request edge.Gates (measured)
swipl … test_resolver.plrun_corpus_wamjs.shrun_differential.sh0xa5b6c7d8, all 10 queries)tests/test_wam_javascript_lowered.pltests/test_wam_javascript_builtins.pltests/test_wam_javascript_fact_sources.plCONFORMANCE_TARGETS=javascriptNo JS WAM runtime/emitter/target/template edits. No runtime bug exposed; no workaround.
Residuals (still deferred)
P2 GP-LMDB catalog backend, Provides/virtual, epoch/tilde, CLI, write paths, per-file layer modeling.