Skip to content

spec: manifest.zod.ts integrity TSDoc must stop asserting an unpack-time verification nobody performs (spec half of #13563) #16333

Description

@os-zhuang

Spec half of #13563, split by director ruling (decision batch #58, 2026-09-06, option C — break the documentary cross-reference now; the runtime loader (option B) is the eventual home of ADR-0025 §3.5 step 5).

Why

packages/spec/src/kernel/manifest.zod.ts:129-131 says per-file manifest.integrity re-verification at unpack is the cloud control plane's obligation. The cloud repo's plugin-artifact.ts:9-11 and docs/design/plugin-distribution-cloud.md say it is done by the runtime at unpack. Neither side unpacks anything today (#13563 measured: the .osplugin blob is write-only on cloud, no tar/zlib dependency in either repo, verifyIntegrity's only production caller is the publisher self-check from #13464). Two published texts each point at the other, so an agent or a spec consumer reading either learns that a verification exists.

Scope

Out of scope

Acceptance

  • manifest.zod.ts no longer asserts a cloud-side unpack verification
  • ADR / ledger text agrees with the TSDoc
  • changeset present

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions