Resolve a deterministic set of versioned packages with source diagnostics #4

Closed
opened 2026-12-02 18:14:39 +00:00 by faumaray · 1 comment
Owner

The public StrictJson parser, SemVer implementation, graph algorithms and SHA-256 utilities at 7b0fea6095f603f9e1904f66dfdc7752f4be4792 cover individual operations needed by a game rules catalog. The remaining reusable operation takes installed package descriptions and selected IDs, then returns an exact, reproducible dependency set or a diagnostic identifying the input package and field. Update::validateComponentSet operates on the release/update catalog contract.

Please consider a resolver over caller-supplied IDs, exact versions, dependency ranges, exclusive capabilities and content digests. Permuting input order should preserve the result. A missing dependency, cycle, incompatible version, ambiguous installed ID or competing exclusive providers should return an actionable diagnostic. Frozen identities must distinguish build metadata and digest changes even when SemVer precedence is equal. The caller should retain responsibility for game-specific definitions and schema.

The game can replace its local dependency resolution step once order permutation, transitive closure, diagnostics and frozen identity tests pass through the public API on Windows x64.

The public StrictJson parser, SemVer implementation, graph algorithms and SHA-256 utilities at `7b0fea6095f603f9e1904f66dfdc7752f4be4792` cover individual operations needed by a game rules catalog. The remaining reusable operation takes installed package descriptions and selected IDs, then returns an exact, reproducible dependency set or a diagnostic identifying the input package and field. `Update::validateComponentSet` operates on the release/update catalog contract. Please consider a resolver over caller-supplied IDs, exact versions, dependency ranges, exclusive capabilities and content digests. Permuting input order should preserve the result. A missing dependency, cycle, incompatible version, ambiguous installed ID or competing exclusive providers should return an actionable diagnostic. Frozen identities must distinguish build metadata and digest changes even when SemVer precedence is equal. The caller should retain responsibility for game-specific definitions and schema. The game can replace its local dependency resolution step once order permutation, transitive closure, diagnostics and frozen identity tests pass through the public API on Windows x64.
Author
Owner

Implemented on branch issue/4-package-resolver (commit d30384d).

Void::Update::resolve_packages added: deterministic, order-invariant dependency resolution over caller-supplied packages with actionable diagnostics, frozen identities and bounded backtracking.

Branch: https://git.faumaray.com/Void/Library/src/branch/issue/4-package-resolver
Merge request: https://git.faumaray.com/Void/Library/pulls/new/issue/4-package-resolver

Implemented on branch `issue/4-package-resolver` (commit `d30384d`). `Void::Update::resolve_packages` added: deterministic, order-invariant dependency resolution over caller-supplied packages with actionable diagnostics, frozen identities and bounded backtracking. Branch: https://git.faumaray.com/Void/Library/src/branch/issue/4-package-resolver Merge request: https://git.faumaray.com/Void/Library/pulls/new/issue/4-package-resolver
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Void/Library#4