Repository navigation
feat(specs): OpenPkg 1.0 Draft, the open format behind W3BS Package Manager - #237
Merged
Merged
Conversation
…anager Adds docs/openpkg.md, a registry entry in the process family next to OpenInstall, a /openpkg landing page and a contract test that keeps the page's tables in step with the spec. The spec is written from the w3bs reference implementation: package identity grammar, TUF repository profile 1 with first-use trust by root fingerprint, the package index, channel index, release manifest and curl catalog documents, the catalog listing rule, client lifecycle rules, receipts, the JSON result object and exit codes 0/1/2/3/4/5/130. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan27 finding(s) HIGH/CRITICAL: 3 | MEDIUM: 12 | LOW: 12
Snippets are redacted; ThreatCrush never prints matched credential material. |
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.
Adds OpenPkg to logicsrc.com: the open, implementation-neutral format behind W3BS Package Manager (
w3bs).docs/openpkg.md: the 1.0 Draft specification, written from the reference implementation's code (w3bs-schema,w3bs-publish,w3bs-core,bootstrap/install.sh). It covers package identity, TUF repository profile 1 with first-use trust by root fingerprint, the four target documents with JSON examples, the catalog listing rule, client lifecycle (immutability, version policy, journaled activation, rollback, removal, receipts), the JSON result object with exit codes 0/1/2/3/4/5/130, security considerations and conformance.specs.ts: one entry, familyprocess, slugopenpkg, next to OpenInstall. The process blurb now mentions it./openpkg: a modest landing page in the same style as/openinstall.contract/openpkg.contract.test.ts: discovery (family, /docs, llms.txt, llms-full.txt, sitemap) and checks that the page's exit codes and target list match the spec, plus no em dashes.w3bs.org's guide already links to https://logicsrc.com/docs/openpkg.
Locally:
bun run buildpasses and@logicsrc/webcontract tests pass (159). Two other suites fail on this box only, for environment reasons that have nothing to do with this change: opencreds needs azipbinary, and openfleet expects umask 022.🤖 Generated with Claude Code