Uh oh!
There was an error while loading. Please reload this page.
feat: secure binary ZIP distribution, host views, and read-only inspection - #266
Conversation
Add configurable source-qualified host materialization, tighten canonical ZIP envelope verification, and move live R2 certification behind protected upstream-main dispatch while retaining credential-free PR preflights.
# Conflicts: # README.md # src/lib.rs
…-inspection-reconciliation-20260814
ORESoftware
commented
Aug 14, 2026
Semantic reconciliation update: this branch now contains the current merged main (including PR #265) and preserves both feature families from PRs #266 and #270. Conflict resolution retained the existing task/graph/native/OCI command families, added the read-only static inspection command, bypasses transaction recovery only for inspection, keeps project-scoped recovery locking for mutable commands, and routes explicit or manifest-declared Git submodule consumption through the same locked install path. Local verification on exact head 1c775ff passed cargo fmt, locked all-target cargo check, 502 library tests, and every integration target; only the two explicitly Nix-dependent tests remained ignored by design. |
Restore Windows compilation for the target-gated shebang command parser. The four failing Windows CI jobs all stopped at the same missing trait import.
ORESoftware
commented
Aug 14, 2026
CI follow-up on exact head eae900d: restored the Windows-only std::io::Read import required by shebang inspection without creating a Unix unused import, and removed the two needless Path borrows rejected by the all-target -D warnings gate. Local cargo fmt, locked all-target Clippy with warnings denied, 19 Git-submodule tests, and 6 read-only inspect CLI tests pass. The fixes were committed through an isolated index so the separate local publish-ignore work was not staged, altered, or published. |
Uh oh!
There was an error while loading. Please reload this page.
ORESoftware
commented
Aug 20, 2026
Local R2 harness recovery audit — 2026-08-20A removed-worktree sweep recovered the one-off Recovery validation passed: Node syntax, fresh C compilation/execution, ZIP integrity, and a targeted credential/private-key scan. The harness embeds no credential; it reads temporary values from stdin. Its archive descriptor cites source This is historical certification scaffolding, not an unpublished product delta. It uses ephemeral absolute |
Summary
Adds secure native-binary ZIP packing, verification, publication, download, and a configurable human-readable host view.
Release identity remains
org/name/version; binary artifact identity additionally binds target and ZIP format without encoding platform data in SemVer.Canonical archive
.zpkg.tomlis authoritative. Canonical.zpkg-binary.jsonbinds package identity, complete[bin], structured platform, payload digest/size/executable intent, and optional source provenance. The outer SHA-256 binds the exact ZIP bytes.Host layout
Successful downloads create an immutable verified view while retaining
~/.zed-pkg/storeas the content-addressed authority:zed,github,gitlab,maven,npm, andcargoare real source directoriestargets/<target>prevents platform collisions~/.zpkg/zpkg-config.tomlcan configure root, portable delimiter, source allow-list/precedence, and indexeszed-org--...segmentsSecurity and determinism
file://qualified storage8428bc574111fa148e590c8350c7855035ce2046includes merged binary contract feat(DEN-1418): add deterministic frozen Zed→Nix export plans #64 and manifest aliasesa483572594758196adf906119b46e594aa921622Registry and R2 status
The legacy deployed route carries one immutable binary ZIP per version. Qualified
file://transport implements the shared target-qualified contract; qualified HTTP persistence/handlers remain an explicit server follow-up documented by zed-api-server.rs#38.Pull requests run credential-free native and Android ARM64 preflights. Live R2 certification is now dispatch-only from upstream
mainbehind the protectedr2-release-publicationenvironment; PR code cannot solicit credentials through comments, logs, annotations, or artifacts. A prior actual-R2 certification passed exact-object upload, HEAD, registry/direct/presigned download, digest verification, out-of-scope denial, idempotency, and cleanup. Physical Android execution is not claimed.Validation
Exact merged tree:
cargo test --locked --all-targets: 423/423 library tests plus all integration targetscargo clippy --locked --all-targets -- -D warningsLinear: DEN-3495