{"_id":"@clossys/publisher","_rev":"14-be5fd9165890b03db171a3f4651c31a8","name":"@clossys/publisher","dist-tags":{"latest":"0.13.0"},"versions":{"0.1.10":{"name":"@clossys/publisher","version":"0.1.10","keywords":["publisher","composition","render","web","email","print","image","slides","ledger","append-only","attribution","drift","content-addressed","typescript"],"author":{"name":"Calvin Hung"},"license":"MIT","_id":"@clossys/publisher@0.1.10","maintainers":[{"name":"thecalvinhung","email":"hello@clossys.com"}],"homepage":"https://github.com/clossys/foundry/tree/main/packages/publisher#readme","bugs":{"url":"https://github.com/clossys/foundry/issues"},"bin":{"publisher-media-check":"dist/media/cli.js","publisher-record-check":"dist/record/cli.js"},"dist":{"shasum":"69bd29fe70e6b3c9b735f8cc0b57cd3c3eef3eb7","tarball":"https://registry.npmjs.org/@clossys/publisher/-/publisher-0.1.10.tgz","fileCount":399,"integrity":"sha512-ubkRI+hk1SJgGkFYpU8P47fBKKUurzWAPfFISeEZsocZv9ZvnWB5MR4zglin37d35xpoHsCZhlPV2hTg1S9Fag==","signatures":[{"sig":"MEUCIDglyJ6Y0CTmYfWV5sUftsH0PqhJr9ZSjhV6KAbnlPizAiEApc9vd2rqa1mMzSqbxdWg+OImSF3SsNNkKj/9rSnShVY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2053269},"type":"module","engines":{"node":">=20"},"exports":{"./web":{"types":"./dist/web/index.d.ts","import":"./dist/web/index.js","react-server":"./dist/web/server.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js"},"./email":{"types":"./dist/email/index.d.ts","import":"./dist/email/index.js"},"./image":{"types":"./dist/image/index.d.ts","import":"./dist/image/index.js"},"./media":{"types":"./dist/media/index.d.ts","import":"./dist/media/index.js"},"./print":{"types":"./dist/print/index.d.ts","import":"./dist/print/index.js"},"./record":{"types":"./dist/record/index.d.ts","import":"./dist/record/index.js"},"./slides":{"types":"./dist/slides/index.d.ts","import":"./dist/slides/index.js"},"./document":{"types":"./dist/document/index.d.ts","import":"./dist/document/index.js"}},"imports":{"#publisher-web-views":{"types":"./dist/web/views/index.d.ts","default":"./dist/web/views/index.js","react-server":"./dist/web/views/server.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node ../../scripts/check-name-collision.mjs . && npm run build"},"_npmUser":{"name":"thecalvinhung","email":"hello@clossys.com"},"repository":{"url":"git+https://github.com/clossys/foundry.git","type":"git","directory":"packages/publisher"},"_npmVersion":"11.17.0","description":"The publisher role: did we put it out to an audience, and can we prove what shipped? Surface composition, media registries, and channel renderers for web, email, print, images, and slides, plus a product-neutral structured-document contract, under `./core","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"@clossys/writer":"^0.3.0","@clossys/designer":"^0.2.4","@clossys/controller":"~0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^19.2.8","vitest":"^4.1.9","react-dom":"^19.2.8","typescript":"~6.0.0","@types/node":"^22.10.0","tailwindcss":"^4.3.3","@types/react":"^19.2.0","tailwind-merge":"^3.0.0","@types/react-dom":"^19.2.0","react-aria-components":"^1.20.0","@testing-library/react":"^16.3.2","@internationalized/date":"^3.12.3","@testing-library/jest-dom":"^7.0.1","@testing-library/user-event":"^14.6.3"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":"^4.0.0","tailwind-merge":"^3.0.0","react-aria-components":"^1.19.0","@internationalized/date":"^3.12.2"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"tailwindcss":{"optional":true},"tailwind-merge":{"optional":true},"react-aria-components":{"optional":true},"@internationalized/date":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/publisher_0.1.10_1788210126432_0.7230806772386182","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@clossys/publisher","version":"0.2.1","keywords":["publisher","composition","render","web","email","print","image","slides","ledger","append-only","attribution","drift","content-addressed","typescript"],"author":{"name":"Calvin Hung"},"license":"MIT","_id":"@clossys/publisher@0.2.1","maintainers":[{"name":"thecalvinhung","email":"hello@clossys.com"}],"homepage":"https://github.com/clossys/foundry/tree/main/packages/publisher#readme","bugs":{"url":"https://github.com/clossys/foundry/issues"},"bin":{"publisher-media-check":"dist/media/cli.js","publisher-record-check":"dist/record/cli.js"},"dist":{"shasum":"6f42f43dcebae94a7cdbc84134e9d3ec502eec0b","tarball":"https://registry.npmjs.org/@clossys/publisher/-/publisher-0.2.1.tgz","fileCount":434,"integrity":"sha512-Kd0SDwRTbY97HrGnkHvxz9Is30QAxED5kDOJEPzR4DWAwPpy3vn4H8LuanoHJsbtSjonkaQnxxlOU9IiWRwgVA==","signatures":[{"sig":"MEUCIQDSZ2MwjH0BUx0hm6kGmq63TyTYwdwjKWdPZuHyv1PV3AIgDw9hsaZve4WjztPa8awk3zJ0fI9xXnqH3Wzj/wmVVjM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@clossys%2fpublisher@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2299399},"type":"module","engines":{"node":">=20"},"exports":{"./web":{"types":"./dist/web/index.d.ts","import":"./dist/web/index.js","react-server":"./dist/web/server.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js"},"./email":{"types":"./dist/email/index.d.ts","import":"./dist/email/index.js"},"./image":{"types":"./dist/image/index.d.ts","import":"./dist/image/index.js"},"./media":{"types":"./dist/media/index.d.ts","import":"./dist/media/index.js"},"./print":{"types":"./dist/print/index.d.ts","import":"./dist/print/index.js"},"./record":{"types":"./dist/record/index.d.ts","import":"./dist/record/index.js"},"./slides":{"types":"./dist/slides/index.d.ts","import":"./dist/slides/index.js"},"./document":{"types":"./dist/document/index.d.ts","import":"./dist/document/index.js"}},"imports":{"#publisher-web-views":{"types":"./dist/web/views/index.d.ts","default":"./dist/web/views/index.js","react-server":"./dist/web/views/server.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node ../../scripts/check-name-collision.mjs . && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8c63dd08-c972-407c-9371-363bd92ac813"}},"repository":{"url":"git+https://github.com/clossys/foundry.git","type":"git","directory":"packages/publisher"},"_npmVersion":"11.17.0","description":"The publisher role: did we put it out to an audience, and can we prove what shipped? Surface composition, media registries, and channel renderers for web, email, print, images, and slides, plus a product-neutral structured-document contract, under `./core","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"@clossys/writer":"^0.3.0","@clossys/designer":"^0.2.7","@clossys/controller":"~0.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^19.2.8","vitest":"^4.1.9","react-dom":"^19.2.8","typescript":"~6.0.0","@types/node":"^22.10.0","tailwindcss":"^4.3.3","@types/react":"^19.2.0","tailwind-merge":"^3.0.0","@types/react-dom":"^19.2.0","react-aria-components":"^1.20.0","@testing-library/react":"^16.3.2","@internationalized/date":"^3.12.3","@testing-library/jest-dom":"^7.0.1","@testing-library/user-event":"^14.6.3"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":"^4.0.0","tailwind-merge":"^3.0.0","react-aria-components":"^1.19.0","@internationalized/date":"^3.12.2"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"tailwindcss":{"optional":true},"tailwind-merge":{"optional":true},"react-aria-components":{"optional":true},"@internationalized/date":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/publisher_0.2.1_1788264155855_0.5560882869972239","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@clossys/publisher","version":"0.4.1","keywords":["publisher","composition","render","web","email","print","image","slides","ledger","append-only","attribution","drift","content-addressed","typescript"],"author":{"name":"Clossys"},"license":"MIT","_id":"@clossys/publisher@0.4.1","maintainers":[{"name":"thecalvinhung","email":"hello@clossys.com"}],"homepage":"https://github.com/clossys/foundry/tree/main/packages/publisher#readme","bugs":{"url":"https://github.com/clossys/foundry/issues"},"bin":{"publisher-media-check":"dist/media/cli.js","publisher-record-check":"dist/record/cli.js"},"dist":{"shasum":"2cd3ac854179b98eb65417e19a0b605b0dcd1b9c","tarball":"https://registry.npmjs.org/@clossys/publisher/-/publisher-0.4.1.tgz","fileCount":439,"integrity":"sha512-91ue08Rze7x5DlTqUdbePwx5SKHfLKjYRNdkiXQAMQ71iSHIOieIMGGlCeiW9st8Pv9Qm+I3FFDrAYTJXN2Xyw==","signatures":[{"sig":"MEUCIQDrCsitqtojZrIg0jp6yhnC8Pb1o+SLa404/S4t3kUrzgIgE/ZHfZskq1jJz4ZI1LppWtOyWYcPu9h13UJ7tVm+Anc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@clossys%2fpublisher@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2336069},"type":"module","engines":{"node":">=20"},"exports":{"./web":{"types":"./dist/web/index.d.ts","import":"./dist/web/index.js","react-server":"./dist/web/server.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js"},"./email":{"types":"./dist/email/index.d.ts","import":"./dist/email/index.js"},"./image":{"types":"./dist/image/index.d.ts","import":"./dist/image/index.js"},"./media":{"types":"./dist/media/index.d.ts","import":"./dist/media/index.js"},"./print":{"types":"./dist/print/index.d.ts","import":"./dist/print/index.js"},"./record":{"types":"./dist/record/index.d.ts","import":"./dist/record/index.js"},"./slides":{"types":"./dist/slides/index.d.ts","import":"./dist/slides/index.js"},"./document":{"types":"./dist/document/index.d.ts","import":"./dist/document/index.js"}},"imports":{"#publisher-web-views":{"types":"./dist/web/views/index.d.ts","default":"./dist/web/views/index.js","react-server":"./dist/web/views/server.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node ../../scripts/check-name-collision.mjs . && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8c63dd08-c972-407c-9371-363bd92ac813"}},"repository":{"url":"git+https://github.com/clossys/foundry.git","type":"git","directory":"packages/publisher"},"_npmVersion":"11.17.0","description":"The publisher role: did we put it out to an audience, and can we prove what shipped? Surface composition, media registries, and channel renderers for web, email, print, images, and slides, plus a product-neutral structured-document contract, under `./core","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"@clossys/writer":"^0.3.0","@clossys/designer":"^0.4.0","@clossys/controller":"~0.9.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^19.2.8","vitest":"^4.1.9","react-dom":"^19.2.8","typescript":"~6.0.0","@types/node":"^22.10.0","tailwindcss":"^4.3.3","@types/react":"^19.2.0","tailwind-merge":"^3.0.0","@types/react-dom":"^19.2.5","react-aria-components":"^1.20.0","@testing-library/react":"^16.3.3","@internationalized/date":"^3.12.3","@testing-library/jest-dom":"^7.0.1","@testing-library/user-event":"^14.6.6"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":"^4.0.0","tailwind-merge":"^3.0.0","react-aria-components":"^1.19.0","@internationalized/date":"^3.12.2"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"tailwindcss":{"optional":true},"tailwind-merge":{"optional":true},"react-aria-components":{"optional":true},"@internationalized/date":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/publisher_0.4.1_1788490942079_0.8015875795592569","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"@clossys/publisher","version":"0.4.3","keywords":["publisher","composition","render","web","email","print","image","slides","ledger","append-only","attribution","drift","content-addressed","typescript"],"author":{"name":"Clossys"},"license":"MIT","_id":"@clossys/publisher@0.4.3","maintainers":[{"name":"thecalvinhung","email":"hello@clossys.com"}],"homepage":"https://github.com/clossys/foundry/tree/main/packages/publisher#readme","bugs":{"url":"https://github.com/clossys/foundry/issues"},"bin":{"publisher-media-check":"dist/media/cli.js","publisher-record-check":"dist/record/cli.js"},"dist":{"shasum":"b55ced7ccc3ee880fe7d20ce90d068c9d98b0eff","tarball":"https://registry.npmjs.org/@clossys/publisher/-/publisher-0.4.3.tgz","fileCount":439,"integrity":"sha512-BbQzkLY4HYZ/3vB1SbWhngRPpVTYECBOG4J0iTRPLx31PMPwLUa0mU0P3igKXxrrmhXjh5nIlcPcREuxU1BZEA==","signatures":[{"sig":"MEYCIQCRlktj286e8mn6FCetdDewGB6cDgr7p8fmxIzgr0XEKgIhAIUcE8tRA/1A5l9B5qyNCpYSFaUXplsUYSp1UWRWqDMq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIElZEhqZkiTUjlRwcAtR89ygv9mnGaLnxBhJR+7bll8UAiAbs+c15bSOf2uLERwUG3yBwwVixOsF0/QX3wLO4kpYlA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@clossys%2fpublisher@0.4.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2336736},"type":"module","engines":{"node":">=20"},"exports":{"./web":{"types":"./dist/web/index.d.ts","import":"./dist/web/index.js","react-server":"./dist/web/server.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js"},"./email":{"types":"./dist/email/index.d.ts","import":"./dist/email/index.js"},"./image":{"types":"./dist/image/index.d.ts","import":"./dist/image/index.js"},"./media":{"types":"./dist/media/index.d.ts","import":"./dist/media/index.js"},"./print":{"types":"./dist/print/index.d.ts","import":"./dist/print/index.js"},"./record":{"types":"./dist/record/index.d.ts","import":"./dist/record/index.js"},"./slides":{"types":"./dist/slides/index.d.ts","import":"./dist/slides/index.js"},"./document":{"types":"./dist/document/index.d.ts","import":"./dist/document/index.js"}},"imports":{"#publisher-web-views":{"types":"./dist/web/views/index.d.ts","default":"./dist/web/views/index.js","react-server":"./dist/web/views/server.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node ../../scripts/check-name-collision.mjs . && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8c63dd08-c972-407c-9371-363bd92ac813"}},"repository":{"url":"git+https://github.com/clossys/foundry.git","type":"git","directory":"packages/publisher"},"_npmVersion":"11.17.0","description":"The publisher role: did we put it out to an audience, and can we prove what shipped? Surface composition, media registries, and channel renderers for web, email, print, images, and slides, plus a product-neutral structured-document contract, under `./core","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"@clossys/writer":"^0.3.0","@clossys/designer":"^0.4.0","@clossys/controller":"~0.9.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^19.2.8","vitest":"^5.0.0","react-dom":"^19.2.8","typescript":"~6.0.0","@types/node":"^26.4.1","tailwindcss":"^4.3.3","@types/react":"^19.2.0","tailwind-merge":"^3.0.0","@types/react-dom":"^19.2.5","react-aria-components":"^1.21.1","@testing-library/react":"^16.3.3","@internationalized/date":"^3.12.3","@testing-library/jest-dom":"^7.0.1","@testing-library/user-event":"^14.6.6"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":"^4.0.0","tailwind-merge":"^3.0.0","react-aria-components":"^1.19.0","@internationalized/date":"^3.12.2"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"tailwindcss":{"optional":true},"tailwind-merge":{"optional":true},"react-aria-components":{"optional":true},"@internationalized/date":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/publisher_0.4.3_1789391346838_0.6772457963585965","host":"s3://npm-registry-packages-npm-production"}},"0.4.4":{"name":"@clossys/publisher","version":"0.4.4","keywords":["publisher","composition","render","web","email","print","image","slides","ledger","append-only","attribution","drift","content-addressed","typescript"],"author":{"name":"Clossys"},"license":"MIT","_id":"@clossys/publisher@0.4.4","maintainers":[{"name":"thecalvinhung","email":"hello@clossys.com"}],"homepage":"https://github.com/clossys/foundry/tree/main/packages/publisher#readme","bugs":{"url":"https://github.com/clossys/foundry/issues"},"bin":{"publisher-media-check":"dist/media/cli.js","publisher-record-check":"dist/record/cli.js"},"dist":{"shasum":"a6e67ac8804e17445f7d46829e2b65943c0cdad2","tarball":"https://registry.npmjs.org/@clossys/publisher/-/publisher-0.4.4.tgz","fileCount":439,"integrity":"sha512-Jxp/mxKeuAAYibu5Rp16D2l+52I2f1ZByDkiXJRPGtu89KBsTHoMuYcyeh1zfo1Um1QzSy9g1HJPEsDfVkEVSQ==","signatures":[{"sig":"MEUCIBZl2izvQcjpuqYhJwONcyNrui6a+MQCv9AmYLGtmk9fAiEA7AKEIiKCdym09ZK/PDsYAkDwv9fEi2hUsWdd0cvkCpc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIFm25dgXz+5bXsAkqudwVNLuQW+Zy1ZT7mhWP+9EpylzAiEA042MoQcpcwDKGpWj9yx8Ar9g6xsct5oY5GsjioweyyA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@clossys%2fpublisher@0.4.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2339644},"type":"module","engines":{"node":">=20"},"exports":{"./web":{"types":"./dist/web/index.d.ts","import":"./dist/web/index.js","react-server":"./dist/web/server.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js"},"./email":{"types":"./dist/email/index.d.ts","import":"./dist/email/index.js"},"./image":{"types":"./dist/image/index.d.ts","import":"./dist/image/index.js"},"./media":{"types":"./dist/media/index.d.ts","import":"./dist/media/index.js"},"./print":{"types":"./dist/print/index.d.ts","import":"./dist/print/index.js"},"./record":{"types":"./dist/record/index.d.ts","import":"./dist/record/index.js"},"./slides":{"types":"./dist/slides/index.d.ts","import":"./dist/slides/index.js"},"./document":{"types":"./dist/document/index.d.ts","import":"./dist/document/index.js"}},"imports":{"#publisher-web-views":{"types":"./dist/web/views/index.d.ts","default":"./dist/web/views/index.js","react-server":"./dist/web/views/server.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node ../../scripts/check-name-collision.mjs . && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8c63dd08-c972-407c-9371-363bd92ac813"}},"repository":{"url":"git+https://github.com/clossys/foundry.git","type":"git","directory":"packages/publisher"},"_npmVersion":"11.17.0","description":"The publisher role: did we put it out to an audience, and can we prove what shipped? Surface composition, media registries, and channel renderers for web, email, print, images, and slides, plus a product-neutral structured-document contract, under `./core","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"@clossys/writer":"^0.3.0","@clossys/designer":"^0.4.0","@clossys/controller":"~0.9.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^19.3.0","vitest":"^5.0.0","react-dom":"^19.3.0","typescript":"~6.0.0","@types/node":"^26.5.1","tailwindcss":"^4.3.3","@types/react":"^19.3.0","tailwind-merge":"^3.0.0","@types/react-dom":"^19.3.0","react-aria-components":"^1.21.1","@testing-library/react":"^16.3.3","@internationalized/date":"^3.12.3","@testing-library/jest-dom":"^7.0.1","@testing-library/user-event":"^14.6.6"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":"^4.0.0","tailwind-merge":"^3.0.0","react-aria-components":"^1.19.0","@internationalized/date":"^3.12.2"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"tailwindcss":{"optional":true},"tailwind-merge":{"optional":true},"react-aria-components":{"optional":true},"@internationalized/date":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/publisher_0.4.4_1789536744872_0.9927004886247957","host":"s3://npm-registry-packages-npm-production"}},"0.4.5":{"name":"@clossys/publisher","version":"0.4.5","keywords":["publisher","composition","render","web","email","print","image","slides","ledger","append-only","attribution","drift","content-addressed","typescript"],"author":{"name":"Clossys"},"license":"MIT","_id":"@clossys/publisher@0.4.5","maintainers":[{"name":"thecalvinhung","email":"hello@clossys.com"}],"homepage":"https://github.com/clossys/foundry/tree/main/packages/publisher#readme","bugs":{"url":"https://github.com/clossys/foundry/issues"},"bin":{"publisher-rate-check":"dist/verified-publication-rate-cli.js","publisher-media-check":"dist/media/cli.js","publisher-record-check":"dist/record/cli.js"},"dist":{"shasum":"6a9a947cb759b491de76fd86ab13691d3d76813b","tarball":"https://registry.npmjs.org/@clossys/publisher/-/publisher-0.4.5.tgz","fileCount":449,"integrity":"sha512-5d/zSR4doj3xH7zhgTiADpKb3vpZVPwkCS7RjUI6BbhfdWfiNpoRwKq0LvP/Ll1f2mC50OblVgAP+N2yx6NjWg==","signatures":[{"sig":"MEYCIQDRXQcTfztqI9957/0+/x+oTLEFgyDGofBZei44Yz8rrQIhAPK2NdL+zYmo9sohe3vIBdVI+JY4bHYwnMdeWcVmmNRo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIGIOlQt82X4VXu3eVcG5KekLeDUb8hN2sdXtvjhtmCMQAiEA2nJHHA6hY+tl1CfXYYafoKJcnLbB8wSzFcOFZbfS7yc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@clossys%2fpublisher@0.4.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2374755},"type":"module","engines":{"node":">=20"},"exports":{"./web":{"types":"./dist/web/index.d.ts","import":"./dist/web/index.js","react-server":"./dist/web/server.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js"},"./email":{"types":"./dist/email/index.d.ts","import":"./dist/email/index.js"},"./image":{"types":"./dist/image/index.d.ts","import":"./dist/image/index.js"},"./media":{"types":"./dist/media/index.d.ts","import":"./dist/media/index.js"},"./print":{"types":"./dist/print/index.d.ts","import":"./dist/print/index.js"},"./record":{"types":"./dist/record/index.d.ts","import":"./dist/record/index.js"},"./slides":{"types":"./dist/slides/index.d.ts","import":"./dist/slides/index.js"},"./document":{"types":"./dist/document/index.d.ts","import":"./dist/document/index.js"},"./assessment":{"types":"./dist/verified-publication-rate.d.ts","import":"./dist/verified-publication-rate.js"}},"foundry":{"assessment":{"bin":"publisher-rate-check","invocation":"single-json-input"}},"imports":{"#publisher-web-views":{"types":"./dist/web/views/index.d.ts","default":"./dist/web/views/index.js","react-server":"./dist/web/views/server.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node ../../scripts/check-name-collision.mjs . && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8c63dd08-c972-407c-9371-363bd92ac813"}},"repository":{"url":"git+https://github.com/clossys/foundry.git","type":"git","directory":"packages/publisher"},"_npmVersion":"11.17.0","description":"The publisher role: did we put it out to an audience, and can we prove what shipped? Surface composition, media registries, and channel renderers for web, email, print, images, and slides, plus a product-neutral structured-document contract, under `./core","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"@clossys/writer":"^0.3.0","@clossys/designer":"^0.4.0","@clossys/controller":"~0.9.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^19.3.0","vitest":"^5.0.0","react-dom":"^19.3.0","typescript":"~6.0.0","@types/node":"^26.5.1","tailwindcss":"^4.3.3","@types/react":"^19.3.0","tailwind-merge":"^3.0.0","@types/react-dom":"^19.3.0","react-aria-components":"^1.21.1","@testing-library/react":"^16.3.3","@internationalized/date":"^3.12.3","@testing-library/jest-dom":"^7.0.1","@testing-library/user-event":"^14.6.6"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":"^4.0.0","tailwind-merge":"^3.0.0","react-aria-components":"^1.19.0","@internationalized/date":"^3.12.2"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"tailwindcss":{"optional":true},"tailwind-merge":{"optional":true},"react-aria-components":{"optional":true},"@internationalized/date":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/publisher_0.4.5_1789797558450_0.48886481880986166","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@clossys/publisher","version":"0.7.0","keywords":["publisher","composition","render","web","email","print","image","slides","ledger","append-only","attribution","drift","content-addressed","typescript"],"author":{"name":"Clossys"},"license":"MIT","_id":"@clossys/publisher@0.7.0","maintainers":[{"name":"thecalvinhung","email":"hello@clossys.com"}],"homepage":"https://github.com/clossys/foundry/tree/main/packages/publisher#readme","bugs":{"url":"https://github.com/clossys/foundry/issues"},"bin":{"publisher-preview":"dist/preview/cli.js","publisher-rate-check":"dist/verified-publication-rate-cli.js","publisher-media-check":"dist/media/cli.js","publisher-record-check":"dist/record/cli.js","publisher-web-route-check":"dist/web/checkWebRoutesCli.js"},"dist":{"shasum":"62ae6907f746d8346666bdca5e4343e3371eac1f","tarball":"https://registry.npmjs.org/@clossys/publisher/-/publisher-0.7.0.tgz","fileCount":676,"integrity":"sha512-UVugXPBE+7MXHjWFFvflMr5hYNwqQGL5yTylOGR4SV/9URblBGqBLjaPeQOtsG/4F2IzCE9PcL9OHCa7LSIHDA==","signatures":[{"sig":"MEYCIQCuN3yL9qP0+8jrEJJC/ZsE3KEMWX5aNSD3ZHgozBNpIgIhAPHpZKy/5HP7vGCEQk8jPNQqQrEfG8ECZ3ZiEvv06Ujh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQD7wSbvZadF7G/TxXHb4MpqhG1UFXTyVfSycD9Q8/22FgIgNgWSZud4/Hv7w/Dzw/JqhZJC8dD4kGXRr8HykwEHTRc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@clossys%2fpublisher@0.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3019197},"type":"module","engines":{"node":">=20"},"exports":{"./web":{"types":"./dist/web/index.d.ts","import":"./dist/web/index.js","react-server":"./dist/web/server.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js"},"./pack":{"types":"./dist/pack/index.d.ts","import":"./dist/pack/index.js"},"./email":{"types":"./dist/email/index.d.ts","import":"./dist/email/index.js"},"./image":{"types":"./dist/image/index.d.ts","import":"./dist/image/index.js"},"./media":{"types":"./dist/media/index.d.ts","import":"./dist/media/index.js"},"./print":{"types":"./dist/print/index.d.ts","import":"./dist/print/index.js"},"./record":{"types":"./dist/record/index.d.ts","import":"./dist/record/index.js"},"./slides":{"types":"./dist/slides/index.d.ts","import":"./dist/slides/index.js"},"./document":{"types":"./dist/document/index.d.ts","import":"./dist/document/index.js"},"./surfaces":{"types":"./dist/surfaces/index.d.ts","import":"./dist/surfaces/index.js"},"./materials":{"types":"./dist/materials/index.d.ts","import":"./dist/materials/index.js"},"./templates":{"types":"./dist/templates/index.d.ts","import":"./dist/templates/index.js"},"./assessment":{"types":"./dist/verified-publication-rate.d.ts","import":"./dist/verified-publication-rate.js"}},"foundry":{"fit":"fit-signals.json","feeds":[{"path":"clossys/publisher/surfaces/","artifact":"surface-documents"}],"needs":[{"artifact":"strategy-brief","producerRole":"@clossys/strategist"},{"artifact":"token-contract-and-brand-overlay-binding","producerRole":"@clossys/designer"},{"artifact":"copy-registry","producerRole":"@clossys/writer"},{"artifact":"keep-verdict","producerRole":"@clossys/customer"}],"solves":[{"metric":"verified publication rate","problem":"publisher-verified-release","evidence":"designed","proofCase":"rate-violated","statement":"We're not sure what's actually live, or that it matches what we approved.","capability":"sealing-and-the-publication-record"}],"outputs":["clossys/publisher/pack.json","clossys/publisher/surfaces/"],"assessment":{"bin":"publisher-rate-check","invocation":"single-json-input"},"capabilities":[{"id":"v0-launch-pack-planning-and-inventory","v0":true,"inputs":[{"artifact":"strategy-brief","producerRole":"@clossys/strategist"},{"artifact":"brand-kit-assembly","producerRole":"@clossys/designer"},{"artifact":"messaging-kit","producerRole":"@clossys/writer"}],"outputs":["clossys/publisher/pack.json"],"maturity":"planned","proofCase":null,"worldClass":"Every new product gets one declared inventory (clossys/publisher/pack.json, #1204) of what the v0 Launch pack owes it and what state each item is actually in — status, condition, version, source pins — never assembled ad hoc per product. Today: `src/pack/` ships the manifest contract (#1204) — `validatePackManifest` (schema, needs-graph, and lifecycle-vocabulary validation), `computePackReadiness`/`planPackOrder`/`sealableItemIds` (readiness and sealing order derived from the needs graph), and `detectExistingPackItems`/`foundPackItem` (adopt-don't-override detection with sha256 fingerprints) — as library functions over `PackManifest`; no CLI yet assembles or checks a real product's `clossys/publisher/pack.json` from them. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"What does this product owe its v0 Launch pack, and what already exists versus is still needed?","businessLifecycleStage":"launch"},{"id":"surface-documents","v0":true,"inputs":[{"artifact":"copy-registry","producerRole":"@clossys/writer"},{"artifact":"components-and-blocks","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/surfaces/"],"maturity":"planned","proofCase":null,"worldClass":"Every published surface is one validated SurfaceDocument resolving to a registered template and a real channel location — never a page composed ad hoc outside the document. Today: `validateSurfaceDocument` and `resolveSurfaceDocument` (`src/core/`) validate and resolve one document as library functions, and the shipped site template (`templates/site/app/*/page.tsx`) reads `clossys/publisher/surfaces/*.json` at build time, but no bin yet validates a consumer's own surface documents. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is every audience-facing surface declared once as a validated document, with its template and locations resolved?","businessLifecycleStage":"launch"},{"id":"channel-rendering","v0":true,"inputs":[{"artifact":"token-contract-and-brand-overlay-binding","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/.generated/render-report.json"],"maturity":"built","proofCase":"preview-rendered","worldClass":"A surface document renders byte-identically to its golden fixture on every channel it declares, checked, never eyeballed per release.","subQuestion":"Does every declared surface render correctly to its channel — web, email, image, print, document, or slides?","businessLifecycleStage":"launch"},{"id":"templates-and-channel-specs","v0":true,"inputs":[],"outputs":["clossys/publisher/templates.json"],"maturity":"planned","proofCase":null,"worldClass":"A channel template is data — a declared block sequence and spec — never an arbitrary per-page build function, per #1207's full set (overview, deck, email kit, social profile, video-call backgrounds). Today: `src/templates/` ships `overviewTemplate.ts`, `deckTemplate.ts`, `emailSignature.ts` (`buildEmailSignatureHtml`/`buildEmailSignatureText`), and `channelSpecs.ts` (`SOCIAL_CHANNEL_SPECS`, `OG_SHARE_CARD_SPEC`, `VIDEO_CALL_BACKGROUND_SPECS`, `staleChannelSpecEntries`) alongside the earlier web page templates (#1207); nothing yet assembles them into the declared `clossys/publisher/templates.json` output or checks them from a bin. `publisher-preview` renders from these templates and specs using built-in fixtures, but checks nothing about them. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is every channel's template and spec declared once and reused, never improvised per page?","businessLifecycleStage":"build"},{"id":"materials-site","v0":true,"inputs":[{"artifact":"messaging-kit","producerRole":"@clossys/writer"},{"artifact":"brand-kit-assembly","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/materials/index.json"],"maturity":"partial","proofCase":"preview-rendered","worldClass":"One assembled, current internal index (#1206) carries every version of the company overview (short/medium/long) and pitch deck (HTML slides with audience variants), each with a print stylesheet, opened locally or handed to a client — never a scatter of one-off files assembled by hand. Not a publicly deployed site: that is #1208's separate apps/site template. Today: `src/materials/` ships `renderMaterialsIndexHtml`, `renderPitchDeckHtml`, `selectAudienceVariant`, and `materialsPrintStylesheet` (#1206), but `renderMaterialsIndexHtml` takes its entries as a plain argument — nothing yet reads a product's own `clossys/publisher/pack.json` to derive them, or writes the declared `clossys/publisher/materials/index.json` output from a bin.","subQuestion":"Is there one internal, locally opened materials index a client can browse every version of?","businessLifecycleStage":"launch"},{"id":"channel-kits","v0":true,"inputs":[{"artifact":"messaging-kit","producerRole":"@clossys/writer"},{"artifact":"logo-and-identity-files","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/channel-kits.json"],"maturity":"planned","proofCase":null,"worldClass":"Every channel (email signatures, social profiles, video-call backgrounds, per #1207) has one governed kit of checked assets and copy slots at the exact sizes and roles that channel requires — never assembled by hand per send. Today: `buildEmailSignatureHtml`/`buildEmailSignatureText` and the channel spec registry (`src/templates/`) exist, and `publisher-preview` renders an email signature and social and video-call cards from built-in fixtures, but nothing assembles or checks a governed per-channel kit or writes the declared `clossys/publisher/channel-kits.json`. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is there one governed kit — assets, copy slots, specs — per channel a client can hand to that channel's own tool?","businessLifecycleStage":"launch"},{"id":"asset-roster-and-coverage","v0":true,"inputs":[],"outputs":["clossys/publisher/asset-roster.json"],"maturity":"built","proofCase":"media-satisfied","worldClass":"Every image/video asset a document binds resolves to a registered roster entry (favicon, OG, Twitter, email-safe, app icons…) at its required pixel size with alt text — checked both directions, never a broken or orphaned reference.","subQuestion":"Does every asset a document references resolve to a registered, checked entry at its required role and size?","businessLifecycleStage":"build"},{"id":"route-and-visibility-governance","v0":true,"inputs":[],"outputs":["clossys/publisher/routes.json"],"maturity":"partial","proofCase":"web-routes-clean","worldClass":"Every route composes only through a registered SurfaceDocument template -- never Designer blocks assembled directly in a route file -- and declares visibility as `internal` or `public` (#1204; supersedes the earlier public/unlisted/access-protected model #1206 retired); a route serving an internal-only item is refused, never silently served. Today: `PACK_VISIBILITIES` (`internal`/`public`) and `checkMaterialsVisibility` declare and check visibility at the materials level (#1206), but `checkWebRoutes`/`publisher-web-route-check` still checks only the route-to-template mapping -- no route-level visibility declaration or internal-route refusal runs yet.","subQuestion":"Does every publishing web route resolve to a registered template, with visibility declared as internal or public rather than inferred, and internal-only routes refused from serving?","businessLifecycleStage":"launch"},{"id":"site-template","v0":true,"inputs":[{"artifact":"route-and-visibility-governance","producerRole":"@clossys/publisher"}],"outputs":["clossys/publisher/site.json"],"maturity":"planned","proofCase":null,"worldClass":"An apps/site template (#1208) renders Publisher's web views and Designer's theme, reading copy, tokens, and assets from clossys/ at build time and never copying them — routes for landing, about, contact, privacy/terms, 404, metadata, sitemap, robots, all included. Today: `templates/site/` ships all of the above (#1208), plus `web-route-manifest.json` for `publisher-web-route-check`, but is template content copied by Launcher (#1215) into a consumer repository, not part of this package's own npm workspace — its own README says plainly it is \"not built, typechecked, or tested\" by this repository's `npm run build`/`npm run typecheck`/`npm test`, and Launcher's own apply step (#1215) is still a follow-up. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Does a product repository get a working marketing site wired to its team's own records from the first commit?","businessLifecycleStage":"launch"},{"id":"sealing-and-the-publication-record","v0":true,"inputs":[{"artifact":"keep-verdict","producerRole":"@clossys/customer"}],"outputs":["clossys/publisher/record.json"],"maturity":"built","proofCase":"record-append-only-clean","worldClass":"Every publication event is appended once to an immutable record — never overwritten, never silently lost — and every fact cited in what was sealed is re-checked against the current source value at seal time, with drift reported, never assumed absent. A surface seals only once Customer has recorded a keep.","subQuestion":"Once published, is the exact shipped result sealed into an immutable, append-only record, with every cited fact still current?","businessLifecycleStage":"deliver"},{"id":"live-parity","v0":false,"inputs":[{"artifact":"sealing-and-the-publication-record","producerRole":"@clossys/publisher"}],"outputs":["clossys/publisher/.generated/live-parity-report.json"],"maturity":"planned","proofCase":null,"worldClass":"`verify` (#1209) proves the live site actually serves what was sealed -- head, OG, and metadata for public surfaces -- independently re-reading the live URL, never trusting the deploy provider's own \"success\" status. Scoped to public surfaces only, per #1206 (materials visibility is declared per item; an internal item is never expected to be live-servable at all). Today: the reconciliation-loop contracts (an independent witness compared against a ledger) exist; nothing yet re-reads a live production URL. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Does the production URL actually serve what was sealed — head, OG, metadata, and the materials index — independent of the hosting provider's own success signal?","businessLifecycleStage":"operate"}]},"imports":{"#publisher-web-views":{"types":"./dist/web/views/index.d.ts","default":"./dist/web/views/index.js","react-server":"./dist/web/views/server.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node ../../scripts/check-name-collision.mjs . && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8c63dd08-c972-407c-9371-363bd92ac813"}},"repository":{"url":"git+https://github.com/clossys/foundry.git","type":"git","directory":"packages/publisher"},"_npmVersion":"11.17.0","description":"The publisher role: did we put it out to an audience, and can we prove what shipped? Surface composition, media registries, and channel renderers for web, email, print, images, and slides, plus a product-neutral structured-document contract, under `./core","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"@clossys/writer":"^0.4.0","@clossys/designer":"^0.6.0","@clossys/controller":"~0.9.14"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^19.3.0","vitest":"^5.0.1","react-dom":"^19.3.0","typescript":"~6.0.0","@types/node":"^26.5.1","tailwindcss":"^4.3.3","@types/react":"^19.3.0","tailwind-merge":"^3.7.0","@types/react-dom":"^19.3.0","react-aria-components":"^1.21.1","@testing-library/react":"^16.3.3","@internationalized/date":"^3.12.3","@testing-library/jest-dom":"^7.0.1","@testing-library/user-event":"^14.6.7"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":"^4.0.0","tailwind-merge":"^3.7.0","react-aria-components":"^1.19.0","@internationalized/date":"^3.12.2"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"tailwindcss":{"optional":true},"tailwind-merge":{"optional":true},"react-aria-components":{"optional":true},"@internationalized/date":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/publisher_0.7.0_1790283799907_0.6061144009351411","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@clossys/publisher","version":"0.8.0","keywords":["publisher","composition","render","web","email","print","image","slides","ledger","append-only","attribution","drift","content-addressed","typescript"],"author":{"name":"Clossys"},"license":"MIT","_id":"@clossys/publisher@0.8.0","maintainers":[{"name":"thecalvinhung","email":"hello@clossys.com"}],"homepage":"https://github.com/clossys/foundry/tree/main/packages/publisher#readme","bugs":{"url":"https://github.com/clossys/foundry/issues"},"bin":{"publisher-seal":"dist/pack/seal-cli.js","publisher-preview":"dist/preview/cli.js","publisher-head-lint":"dist/pack/head-lint-cli.js","publisher-rate-check":"dist/verified-publication-rate-cli.js","publisher-media-check":"dist/media/cli.js","publisher-record-check":"dist/record/cli.js","publisher-web-route-check":"dist/web/checkWebRoutesCli.js","publisher-site-instantiate":"dist/site-template/instantiate-cli.js"},"dist":{"shasum":"e26ce3ee8458bdb969b86b0372497ef0e352456f","tarball":"https://registry.npmjs.org/@clossys/publisher/-/publisher-0.8.0.tgz","fileCount":908,"integrity":"sha512-NxexrjZ5e3VwmqCeUGdzvpRLNAi3jrv0h8QS+vAkUuXuZP/1OqE6M67l8KFWYjRR4me+rlXed7lXl+/ddcLUVQ==","signatures":[{"sig":"MEUCIECAHrWOFNtBVEyuHEu+jp7i7bEhcoRifVw9tvSHX5C7AiEAvx53tFwyB6Kx1R1oSJIpTJipQTJj4eYPM03dlO00LxU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCICOKi6N7rAhrFI3iaIjDhKr6NmKKfF6SAwKCl4cxuzChAiEAmEnQLK8eQHMCp67p1Hi+K9swh2ZGe+EDCQGotjzqXkE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@clossys%2fpublisher@0.8.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4295755},"type":"module","engines":{"node":">=20"},"exports":{"./web":{"types":"./dist/web/index.d.ts","import":"./dist/web/index.js","react-server":"./dist/web/server.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js"},"./pack":{"types":"./dist/pack/index.d.ts","import":"./dist/pack/index.js"},"./email":{"types":"./dist/email/index.d.ts","import":"./dist/email/index.js"},"./image":{"types":"./dist/image/index.d.ts","import":"./dist/image/index.js"},"./media":{"types":"./dist/media/index.d.ts","import":"./dist/media/index.js"},"./print":{"types":"./dist/print/index.d.ts","import":"./dist/print/index.js"},"./record":{"types":"./dist/record/index.d.ts","import":"./dist/record/index.js"},"./slides":{"types":"./dist/slides/index.d.ts","import":"./dist/slides/index.js"},"./testing":{"types":"./dist/testing/index.d.ts","import":"./dist/testing/index.js"},"./document":{"types":"./dist/document/index.d.ts","import":"./dist/document/index.js"},"./surfaces":{"types":"./dist/surfaces/index.d.ts","import":"./dist/surfaces/index.js"},"./materials":{"types":"./dist/materials/index.d.ts","import":"./dist/materials/index.js"},"./templates":{"types":"./dist/templates/index.d.ts","import":"./dist/templates/index.js"},"./assessment":{"types":"./dist/verified-publication-rate.d.ts","import":"./dist/verified-publication-rate.js"}},"foundry":{"fit":"fit-signals.json","feeds":[{"path":"clossys/publisher/surfaces/","artifact":"surface-documents"}],"needs":[{"artifact":"strategy-brief","producerRole":"@clossys/strategist"},{"artifact":"token-contract-and-brand-overlay-binding","producerRole":"@clossys/designer"},{"artifact":"copy-registry","producerRole":"@clossys/writer"},{"artifact":"keep-verdict","producerRole":"@clossys/customer"}],"solves":[{"metric":"verified publication rate","problem":"publisher-verified-release","evidence":"designed","proofCase":"rate-violated","statement":"We're not sure what's actually live, or that it matches what we approved.","capability":"sealing-and-the-publication-record"}],"outputs":["clossys/publisher/pack.json","clossys/publisher/surfaces/"],"assessment":{"bin":"publisher-rate-check","invocation":"single-json-input"},"capabilities":[{"id":"v0-launch-pack-planning-and-inventory","v0":true,"inputs":[{"artifact":"strategy-brief","producerRole":"@clossys/strategist"},{"artifact":"brand-kit-assembly","producerRole":"@clossys/designer"},{"artifact":"messaging-kit","producerRole":"@clossys/writer"}],"outputs":["clossys/publisher/pack.json"],"maturity":"planned","proofCase":null,"worldClass":"Every new product gets one declared inventory (clossys/publisher/pack.json, #1204) of what the v0 Launch pack owes it and what state each item is actually in — status, condition, version, source pins — never assembled ad hoc per product. Today: `src/pack/` ships the manifest contract (#1204) — `validatePackManifest` (schema, needs-graph, and lifecycle-vocabulary validation), `computePackReadiness`/`planPackOrder`/`sealableItemIds` (readiness and sealing order derived from the needs graph), and `detectExistingPackItems`/`foundPackItem` (adopt-don't-override detection with sha256 fingerprints) — as library functions over `PackManifest`; no CLI yet assembles or checks a real product's `clossys/publisher/pack.json` from them. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"What does this product owe its v0 Launch pack, and what already exists versus is still needed?","businessLifecycleStage":"launch"},{"id":"surface-documents","v0":true,"inputs":[{"artifact":"copy-registry","producerRole":"@clossys/writer"},{"artifact":"components-and-blocks","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/surfaces/"],"maturity":"planned","proofCase":null,"worldClass":"Every published surface is one validated SurfaceDocument resolving to a registered template and a real channel location — never a page composed ad hoc outside the document. Today: `validateSurfaceDocument` and `resolveSurfaceDocument` (`src/core/`) validate and resolve one document as library functions, and the shipped site template (`templates/site/app/*/page.tsx`) reads `clossys/publisher/surfaces/*.json` at build time, but no bin yet validates a consumer's own surface documents. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is every audience-facing surface declared once as a validated document, with its template and locations resolved?","businessLifecycleStage":"launch"},{"id":"channel-rendering","v0":true,"inputs":[{"artifact":"token-contract-and-brand-overlay-binding","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/.generated/render-report.json"],"maturity":"built","proofCase":"preview-rendered","worldClass":"A surface document renders byte-identically to its golden fixture on every channel it declares, checked, never eyeballed per release.","subQuestion":"Does every declared surface render correctly to its channel — web, email, image, print, document, or slides?","businessLifecycleStage":"launch"},{"id":"templates-and-channel-specs","v0":true,"inputs":[],"outputs":["clossys/publisher/templates.json"],"maturity":"planned","proofCase":null,"worldClass":"A channel template is data — a declared block sequence and spec — never an arbitrary per-page build function, per #1207's full set (overview, deck, email kit, social profile, video-call backgrounds). Today: `src/templates/` ships `overviewTemplate.ts`, `deckTemplate.ts`, `emailSignature.ts` (`buildEmailSignatureHtml`/`buildEmailSignatureText`), and `channelSpecs.ts` (`SOCIAL_CHANNEL_SPECS`, `OG_SHARE_CARD_SPEC`, `VIDEO_CALL_BACKGROUND_SPECS`, `staleChannelSpecEntries`) alongside the earlier web page templates (#1207); nothing yet assembles them into the declared `clossys/publisher/templates.json` output or checks them from a bin. `publisher-preview` renders from these templates and specs using built-in fixtures, but checks nothing about them. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is every channel's template and spec declared once and reused, never improvised per page?","businessLifecycleStage":"build"},{"id":"materials-site","v0":true,"inputs":[{"artifact":"messaging-kit","producerRole":"@clossys/writer"},{"artifact":"brand-kit-assembly","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/materials/index.json"],"maturity":"partial","proofCase":"preview-rendered","worldClass":"One assembled, current internal index (#1206) carries every version of the company overview (short/medium/long) and pitch deck (HTML slides with audience variants), each with a print stylesheet, opened locally or handed to a client — never a scatter of one-off files assembled by hand. Not a publicly deployed site: that is #1208's separate apps/site template. Today: `src/materials/` ships `renderMaterialsIndexHtml`, `renderPitchDeckHtml`, `selectAudienceVariant`, and `materialsPrintStylesheet` (#1206), but `renderMaterialsIndexHtml` takes its entries as a plain argument — nothing yet reads a product's own `clossys/publisher/pack.json` to derive them, or writes the declared `clossys/publisher/materials/index.json` output from a bin.","subQuestion":"Is there one internal, locally opened materials index a client can browse every version of?","businessLifecycleStage":"launch"},{"id":"channel-kits","v0":true,"inputs":[{"artifact":"messaging-kit","producerRole":"@clossys/writer"},{"artifact":"logo-and-identity-files","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/channel-kits.json"],"maturity":"planned","proofCase":null,"worldClass":"Every channel (email signatures, social profiles, video-call backgrounds, per #1207) has one governed kit of checked assets and copy slots at the exact sizes and roles that channel requires — never assembled by hand per send. Today: `buildEmailSignatureHtml`/`buildEmailSignatureText` and the channel spec registry (`src/templates/`) exist, and `publisher-preview` renders an email signature and social and video-call cards from built-in fixtures, but nothing assembles or checks a governed per-channel kit or writes the declared `clossys/publisher/channel-kits.json`. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is there one governed kit — assets, copy slots, specs — per channel a client can hand to that channel's own tool?","businessLifecycleStage":"launch"},{"id":"asset-roster-and-coverage","v0":true,"inputs":[],"outputs":["clossys/publisher/asset-roster.json"],"maturity":"built","proofCase":"media-satisfied","worldClass":"Every image/video asset a document binds resolves to a registered roster entry (favicon, OG, Twitter, email-safe, app icons…) at its required pixel size with alt text — checked both directions, never a broken or orphaned reference.","subQuestion":"Does every asset a document references resolve to a registered, checked entry at its required role and size?","businessLifecycleStage":"build"},{"id":"route-and-visibility-governance","v0":true,"inputs":[],"outputs":["clossys/publisher/routes.json"],"maturity":"partial","proofCase":"web-routes-clean","worldClass":"Every route composes only through a registered SurfaceDocument template -- never Designer blocks assembled directly in a route file -- and declares visibility as `internal` or `public` (#1204; supersedes the earlier public/unlisted/access-protected model #1206 retired); a route serving an internal-only item is refused, never silently served. Today: `PACK_VISIBILITIES` (`internal`/`public`) and `checkMaterialsVisibility` declare and check visibility at the materials level (#1206), but `checkWebRoutes`/`publisher-web-route-check` still checks only the route-to-template mapping -- no route-level visibility declaration or internal-route refusal runs yet.","subQuestion":"Does every publishing web route resolve to a registered template, with visibility declared as internal or public rather than inferred, and internal-only routes refused from serving?","businessLifecycleStage":"launch"},{"id":"site-template","v0":true,"inputs":[{"artifact":"route-and-visibility-governance","producerRole":"@clossys/publisher"}],"outputs":["clossys/publisher/site.json"],"maturity":"planned","proofCase":null,"worldClass":"An apps/site template (#1208) renders Publisher's web views and Designer's theme, reading copy, tokens, and assets from clossys/ at build time and never copying them — routes for landing, about, contact, privacy/terms, 404, metadata, sitemap, robots, all included. Today: `templates/site/` ships all of the above (#1208), plus `web-route-manifest.json` for `publisher-web-route-check`, but is template content copied by Launcher (#1215) into a consumer repository, not part of this package's own npm workspace — its own README says plainly it is \"not built, typechecked, or tested\" by this repository's `npm run build`/`npm run typecheck`/`npm test`, and Launcher's own apply step (#1215) is still a follow-up. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Does a product repository get a working marketing site wired to its team's own records from the first commit?","businessLifecycleStage":"launch"},{"id":"sealing-and-the-publication-record","v0":true,"inputs":[{"artifact":"keep-verdict","producerRole":"@clossys/customer"}],"outputs":["clossys/publisher/record.json"],"maturity":"built","proofCase":"record-append-only-clean","worldClass":"Every publication event is appended once to an immutable record — never overwritten, never silently lost — and every fact cited in what was sealed is re-checked against the current source value at seal time, with drift reported, never assumed absent. A surface seals only once Customer has recorded a keep.","subQuestion":"Once published, is the exact shipped result sealed into an immutable, append-only record, with every cited fact still current?","businessLifecycleStage":"deliver"},{"id":"live-parity","v0":false,"inputs":[{"artifact":"sealing-and-the-publication-record","producerRole":"@clossys/publisher"}],"outputs":["clossys/publisher/.generated/live-parity-report.json"],"maturity":"planned","proofCase":null,"worldClass":"`verify` (#1209) proves the live site actually serves what was sealed -- head, OG, and metadata for public surfaces -- independently re-reading the live URL, never trusting the deploy provider's own \"success\" status. Scoped to public surfaces only, per #1206 (materials visibility is declared per item; an internal item is never expected to be live-servable at all). Today: the reconciliation-loop contracts (an independent witness compared against a ledger) exist; nothing yet re-reads a live production URL. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Does the production URL actually serve what was sealed — head, OG, metadata, and the materials index — independent of the hosting provider's own success signal?","businessLifecycleStage":"operate"}]},"imports":{"#publisher-web-views":{"types":"./dist/web/views/index.d.ts","default":"./dist/web/views/index.js","react-server":"./dist/web/views/server.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node ../../scripts/check-name-collision.mjs . && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"8c63dd08-c972-407c-9371-363bd92ac813"}},"repository":{"url":"git+https://github.com/clossys/foundry.git","type":"git","directory":"packages/publisher"},"_npmVersion":"11.17.0","description":"The publisher role: did we put it out to an audience, and can we prove what shipped? Surface composition, media registries, and channel renderers for web, email, print, images, and slides, plus a product-neutral structured-document contract, under `./core","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"@clossys/writer":"^0.5.0","@clossys/designer":"^0.7.0","@clossys/controller":"^0.10.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^29.1.1","react":"^19.3.0","vitest":"^5.0.1","react-dom":"^19.3.0","typescript":"~6.0.0","@types/node":"^26.6.3","tailwindcss":"^4.3.3","@types/react":"^19.3.0","tailwind-merge":"^3.7.0","@types/react-dom":"^19.3.0","react-aria-components":"^1.21.1","@testing-library/react":"^16.3.3","@internationalized/date":"^3.12.3","@testing-library/jest-dom":"^7.0.1","@testing-library/user-event":"^14.6.7"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":"^4.0.0","tailwind-merge":"^3.7.0","react-aria-components":"^1.19.0","@internationalized/date":"^3.12.2"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"tailwindcss":{"optional":true},"tailwind-merge":{"optional":true},"react-aria-components":{"optional":true},"@internationalized/date":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/publisher_0.8.0_1790947876803_0.9968909124406979","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"@clossys/publisher","version":"0.8.1","keywords":["publisher","composition","render","web","email","print","image","slides","ledger","append-only","attribution","drift","content-addressed","typescript"],"author":{"name":"Clossys"},"license":"MIT","_id":"@clossys/publisher@0.8.1","maintainers":[{"name":"thecalvinhung","email":"hello@clossys.com"}],"homepage":"https://github.com/clossys/foundry/tree/main/packages/publisher#readme","bugs":{"url":"https://github.com/clossys/foundry/issues"},"bin":{"publisher-seal":"dist/pack/seal-cli.js","publisher-preview":"dist/preview/cli.js","publisher-head-lint":"dist/pack/head-lint-cli.js","publisher-rate-check":"dist/verified-publication-rate-cli.js","publisher-media-check":"dist/media/cli.js","publisher-record-check":"dist/record/cli.js","publisher-web-route-check":"dist/web/checkWebRoutesCli.js","publisher-site-instantiate":"dist/site-template/instantiate-cli.js"},"dist":{"shasum":"657d3c04051d9c2158d18f43b5cd931183dc68aa","tarball":"https://registry.npmjs.org/@clossys/publisher/-/publisher-0.8.1.tgz","fileCount":928,"integrity":"sha512-4NtEtpn0dSC9PPQusXuUV5raD+QAPQC13A8U04576csA+T38F/gGmpSRSCt9u/cU79eTBrQDFnbkf0Z35TdmTg==","signatures":[{"sig":"MEYCIQDzfUC7KF0WD3JamInmTweLVQxwurTbM/DgiPS50Rr3nAIhALLNLiACymrGCaMomBYP85wq6vF1lwonbh1X7VXd8q36","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDFPlQg/oK3f6YO16qNFS6WyY4cmdh9o21uDsvJ4Rj18QIhALdio+3KxIsDq37fMC03ohrF0rnfiXo3+1ZN60VZa92h","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@clossys%2fpublisher@0.8.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4305554},"type":"module","engines":{"node":">=20"},"exports":{"./web":{"types":"./dist/web/index.d.ts","import":"./dist/web/index.js","react-server":"./dist/web/server.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js"},"./pack":{"types":"./dist/pack/index.d.ts","import":"./dist/pack/index.js"},"./email":{"types":"./dist/email/index.d.ts","import":"./dist/email/index.js"},"./image":{"types":"./dist/image/index.d.ts","import":"./dist/image/index.js"},"./media":{"types":"./dist/media/index.d.ts","import":"./dist/media/index.js"},"./print":{"types":"./dist/print/index.d.ts","import":"./dist/print/index.js"},"./record":{"types":"./dist/record/index.d.ts","import":"./dist/record/index.js"},"./slides":{"types":"./dist/slides/index.d.ts","import":"./dist/slides/index.js"},"./testing":{"types":"./dist/testing/index.d.ts","import":"./dist/testing/index.js"},"./document":{"types":"./dist/document/index.d.ts","import":"./dist/document/index.js"},"./surfaces":{"types":"./dist/surfaces/index.d.ts","import":"./dist/surfaces/index.js"},"./materials":{"types":"./dist/materials/index.d.ts","import":"./dist/materials/index.js"},"./templates":{"types":"./dist/templates/index.d.ts","import":"./dist/templates/index.js"},"./assessment":{"types":"./dist/verified-publication-rate.d.ts","import":"./dist/verified-publication-rate.js"},"./web/client":{"types":"./dist/web/client.d.ts","import":"./dist/web/client.js"}},"foundry":{"fit":"fit-signals.json","feeds":[{"path":"clossys/publisher/surfaces/","artifact":"surface-documents"}],"needs":[{"artifact":"strategy-brief","producerRole":"@clossys/strategist"},{"artifact":"token-contract-and-brand-overlay-binding","producerRole":"@clossys/designer"},{"artifact":"copy-registry","producerRole":"@clossys/writer"},{"artifact":"keep-verdict","producerRole":"@clossys/customer"}],"solves":[{"metric":"verified publication rate","problem":"publisher-verified-release","evidence":"designed","proofCase":"rate-violated","statement":"We're not sure what's actually live, or that it matches what we approved.","capability":"sealing-and-the-publication-record"}],"outputs":["clossys/publisher/pack.json","clossys/publisher/surfaces/"],"assessment":{"bin":"publisher-rate-check","invocation":"single-json-input"},"capabilities":[{"id":"v0-launch-pack-planning-and-inventory","v0":true,"inputs":[{"artifact":"strategy-brief","producerRole":"@clossys/strategist"},{"artifact":"brand-kit-assembly","producerRole":"@clossys/designer"},{"artifact":"messaging-kit","producerRole":"@clossys/writer"}],"outputs":["clossys/publisher/pack.json"],"maturity":"planned","proofCase":null,"worldClass":"Every new product gets one declared inventory (clossys/publisher/pack.json, #1204) of what the v0 Launch pack owes it and what state each item is actually in — status, condition, version, source pins — never assembled ad hoc per product. Today: `src/pack/` ships the manifest contract (#1204) — `validatePackManifest` (schema, needs-graph, and lifecycle-vocabulary validation), `computePackReadiness`/`planPackOrder`/`sealableItemIds` (readiness and sealing order derived from the needs graph), and `detectExistingPackItems`/`foundPackItem` (adopt-don't-override detection with sha256 fingerprints) — as library functions over `PackManifest`; no CLI yet assembles or checks a real product's `clossys/publisher/pack.json` from them. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"What does this product owe its v0 Launch pack, and what already exists versus is still needed?","businessLifecycleStage":"launch"},{"id":"surface-documents","v0":true,"inputs":[{"artifact":"copy-registry","producerRole":"@clossys/writer"},{"artifact":"components-and-blocks","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/surfaces/"],"maturity":"planned","proofCase":null,"worldClass":"Every published surface is one validated SurfaceDocument resolving to a registered template and a real channel location — never a page composed ad hoc outside the document. Today: `validateSurfaceDocument` and `resolveSurfaceDocument` (`src/core/`) validate and resolve one document as library functions, and the shipped site template (`templates/site/app/*/page.tsx`) reads `clossys/publisher/surfaces/*.json` at build time, but no bin yet validates a consumer's own surface documents. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is every audience-facing surface declared once as a validated document, with its template and locations resolved?","businessLifecycleStage":"launch"},{"id":"channel-rendering","v0":true,"inputs":[{"artifact":"token-contract-and-brand-overlay-binding","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/.generated/render-report.json"],"maturity":"built","proofCase":"preview-rendered","worldClass":"A surface document renders byte-identically to its golden fixture on every channel it declares, checked, never eyeballed per release.","subQuestion":"Does every declared surface render correctly to its channel — web, email, image, print, document, or slides?","businessLifecycleStage":"launch"},{"id":"templates-and-channel-specs","v0":true,"inputs":[],"outputs":["clossys/publisher/templates.json"],"maturity":"planned","proofCase":null,"worldClass":"A channel template is data — a declared block sequence and spec — never an arbitrary per-page build function, per #1207's full set (overview, deck, email kit, social profile, video-call backgrounds). Today: `src/templates/` ships `overviewTemplate.ts`, `deckTemplate.ts`, `emailSignature.ts` (`buildEmailSignatureHtml`/`buildEmailSignatureText`), and `channelSpecs.ts` (`SOCIAL_CHANNEL_SPECS`, `OG_SHARE_CARD_SPEC`, `VIDEO_CALL_BACKGROUND_SPECS`, `staleChannelSpecEntries`) alongside the earlier web page templates (#1207); nothing yet assembles them into the declared `clossys/publisher/templates.json` output or checks them from a bin. `publisher-preview` renders from these templates and specs using built-in fixtures, but checks nothing about them. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is every channel's template and spec declared once and reused, never improvised per page?","businessLifecycleStage":"build"},{"id":"materials-site","v0":true,"inputs":[{"artifact":"messaging-kit","producerRole":"@clossys/writer"},{"artifact":"brand-kit-assembly","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/materials/index.json"],"maturity":"partial","proofCase":"preview-rendered","worldClass":"One assembled, current internal index (#1206) carries every version of the company overview (short/medium/long) and pitch deck (HTML slides with audience variants), each with a print stylesheet, opened locally or handed to a client — never a scatter of one-off files assembled by hand. Not a publicly deployed site: that is #1208's separate apps/site template. Today: `src/materials/` ships `renderMaterialsIndexHtml`, `renderPitchDeckHtml`, `selectAudienceVariant`, and `materialsPrintStylesheet` (#1206), but `renderMaterialsIndexHtml` takes its entries as a plain argument — nothing yet reads a product's own `clossys/publisher/pack.json` to derive them, or writes the declared `clossys/publisher/materials/index.json` output from a bin.","subQuestion":"Is there one internal, locally opened materials index a client can browse every version of?","businessLifecycleStage":"launch"},{"id":"channel-kits","v0":true,"inputs":[{"artifact":"messaging-kit","producerRole":"@clossys/writer"},{"artifact":"logo-and-identity-files","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/channel-kits.json"],"maturity":"planned","proofCase":null,"worldClass":"Every channel (email signatures, social profiles, video-call backgrounds, per #1207) has one governed kit of checked assets and copy slots at the exact sizes and roles that channel requires — never assembled by hand per send. Today: `buildEmailSignatureHtml`/`buildEmailSignatureText` and the channel spec registry (`src/templates/`) exist, and `publisher-preview` renders an email signature and social and video-call cards from built-in fixtures, but nothing assembles or checks a governed per-channel kit or writes the declared `clossys/publisher/channel-kits.json`. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is there one governed kit — assets, copy slots, specs — per channel a client can hand to that channel's own tool?","businessLifecycleStage":"launch"},{"id":"asset-roster-and-coverage","v0":true,"inputs":[],"outputs":["clossys/publisher/asset-roster.json"],"maturity":"built","proofCase":"media-satisfied","worldClass":"Every image/video asset a document binds resolves to a registered roster entry (favicon, OG, Twitter, email-safe, app icons…) at its required pixel size with alt text — checked both directions, never a broken or orphaned reference.","subQuestion":"Does every asset a document references resolve to a registered, checked entry at its required role and size?","businessLifecycleStage":"build"},{"id":"route-and-visibility-governance","v0":true,"inputs":[],"outputs":["clossys/publisher/routes.json"],"maturity":"partial","proofCase":"web-routes-clean","worldClass":"Every route composes only through a registered SurfaceDocument template -- never Designer blocks assembled directly in a route file -- and declares visibility as `internal` or `public` (#1204; supersedes the earlier public/unlisted/access-protected model #1206 retired); a route serving an internal-only item is refused, never silently served. Today: `PACK_VISIBILITIES` (`internal`/`public`) and `checkMaterialsVisibility` declare and check visibility at the materials level (#1206), but `checkWebRoutes`/`publisher-web-route-check` still checks only the route-to-template mapping -- no route-level visibility declaration or internal-route refusal runs yet.","subQuestion":"Does every publishing web route resolve to a registered template, with visibility declared as internal or public rather than inferred, and internal-only routes refused from serving?","businessLifecycleStage":"launch"},{"id":"site-template","v0":true,"inputs":[{"artifact":"route-and-visibility-governance","producerRole":"@clossys/publisher"}],"outputs":["clossys/publisher/site.json"],"maturity":"planned","proofCase":null,"worldClass":"An apps/site template (#1208) renders Publisher's web views and Designer's theme, reading copy, tokens, and assets from clossys/ at build time and never copying them — routes for landing, about, contact, privacy/terms, 404, metadata, sitemap, robots, all included. Today: `templates/site/` ships all of the above (#1208), plus `web-route-manifest.json` for `publisher-web-route-check`, but is template content copied by Launcher (#1215) into a consumer repository, not part of this package's own npm workspace — its own README says plainly it is \"not built, typechecked, or tested\" by this repository's `npm run build`/`npm run typecheck`/`npm test`, and Launcher's own apply step (#1215) is still a follow-up. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Does a product repository get a working marketing site wired to its team's own records from the first commit?","businessLifecycleStage":"launch"},{"id":"sealing-and-the-publication-record","v0":true,"inputs":[{"artifact":"keep-verdict","producerRole":"@clossys/customer"}],"outputs":["clossys/publisher/record.json"],"maturity":"built","proofCase":"record-append-only-clean","worldClass":"Every publication event is appended once to an immutable record — never overwritten, never silently lost — and every fact cited in what was sealed is re-checked against the current source value at seal time, with drift reported, never assumed absent. A surface seals only once Customer has recorded a keep.","subQuestion":"Once published, is the exact shipped result sealed into an immutable, append-only record, with every cited fact still current?","businessLifecycleStage":"deliver"},{"id":"live-parity","v0":false,"inputs":[{"artifact":"sealing-and-the-publication-record","producerRole":"@clossys/publisher"}],"outputs":["clossys/publisher/.generated/live-parity-report.json"],"maturity":"planned","proofCase":null,"worldClass":"`verify` (#1209) proves the live site actually serves what was sealed -- head, OG, and metadata for public surfaces -- independently re-reading the live URL, never trusting the deploy provider's own \"success\" status. Scoped to public surfaces only, per #1206 (materials visibility is declared per item; an internal item is never expected to be live-servable at all). Today: the reconciliation-loop contracts (an independent witness compared against a ledger) exist; nothing yet re-reads a live production URL. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Does the production URL actually serve what was sealed — head, OG, metadata, and the materials index — independent of the hosting provider's own success signal?","businessLifecycleStage":"operate"}]},"imports":{"#publisher-web-views":{"types":"./dist/web/views/index.d.ts","default":"./dist/web/views/index.js","react-server":"./dist/web/views/server.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node ../../scripts/check-name-collision.mjs . && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"8c63dd08-c972-407c-9371-363bd92ac813"}},"repository":{"url":"git+https://github.com/clossys/foundry.git","type":"git","directory":"packages/publisher"},"_npmVersion":"11.17.0","description":"The publisher role: did we put it out to an audience, and can we prove what shipped? Surface composition, media registries, and channel renderers for web, email, print, images, and slides, plus a product-neutral structured-document contract, under `./core","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"@clossys/writer":"^0.5.1","@clossys/designer":"^0.7.1","@clossys/controller":"^0.10.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^29.1.1","react":"^19.3.0","vitest":"^5.0.1","esbuild":"0.28.2","react-dom":"^19.3.0","typescript":"~6.0.0","@types/node":"^26.6.3","tailwindcss":"^4.3.3","@types/react":"^19.3.0","tailwind-merge":"^3.7.0","@types/react-dom":"^19.3.0","react-aria-components":"^1.21.1","@testing-library/react":"^16.3.3","@internationalized/date":"^3.12.3","@testing-library/jest-dom":"^7.0.1","@testing-library/user-event":"^14.6.7"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":"^4.0.0","tailwind-merge":"^3.7.0","react-aria-components":"^1.19.0","@internationalized/date":"^3.12.2"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"tailwindcss":{"optional":true},"tailwind-merge":{"optional":true},"react-aria-components":{"optional":true},"@internationalized/date":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/publisher_0.8.1_1791149113943_0.7806809546933333","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@clossys/publisher","version":"0.9.0","keywords":["publisher","composition","render","web","email","print","image","slides","ledger","append-only","attribution","drift","content-addressed","typescript"],"author":{"name":"Clossys"},"license":"MIT","_id":"@clossys/publisher@0.9.0","maintainers":[{"name":"thecalvinhung","email":"hello@clossys.com"}],"homepage":"https://github.com/clossys/foundry/tree/main/packages/publisher#readme","bugs":{"url":"https://github.com/clossys/foundry/issues"},"bin":{"publisher-seal":"dist/pack/seal-cli.js","publisher-preview":"dist/preview/cli.js","publisher-head-lint":"dist/pack/head-lint-cli.js","publisher-rate-check":"dist/verified-publication-rate-cli.js","publisher-media-check":"dist/media/cli.js","publisher-record-check":"dist/record/cli.js","publisher-web-route-check":"dist/web/checkWebRoutesCli.js","publisher-site-instantiate":"dist/site-template/instantiate-cli.js"},"dist":{"shasum":"69fd777ff4b396d28c100da97400ec2378df3135","tarball":"https://registry.npmjs.org/@clossys/publisher/-/publisher-0.9.0.tgz","fileCount":1174,"integrity":"sha512-Um+ioD7HJ7NWilNBprZCg8egzDplT9QrO+ubk7cddnGRc9PFL9/MDpvIh+55ZppX45DHAsoARZe55eySCOxxKg==","signatures":[{"sig":"MEUCIGu8eMFpm82Njc1fnWfMvYmfArnyEZd3W7RkXf6M4vU6AiEA2iGAFbo27QO+K6ycFoOWDemaDmSV7Y5lV+FjOqcwZsU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCjcIMW8NvsrYHs2S74+XkJmqokmXf+cg1Gt3Ub/xjIzQIhANYq0XMDj30Jgar2Stw6BRBD+bl04lDHJy8bA4kTZv2I","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@clossys%2fpublisher@0.9.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6283733},"type":"module","engines":{"node":">=20"},"exports":{"./web":{"types":"./dist/web/index.d.ts","import":"./dist/web/index.js","react-server":"./dist/web/server.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js"},"./pack":{"types":"./dist/pack/index.d.ts","import":"./dist/pack/index.js"},"./email":{"types":"./dist/email/index.d.ts","import":"./dist/email/index.js"},"./image":{"types":"./dist/image/index.d.ts","import":"./dist/image/index.js"},"./media":{"types":"./dist/media/index.d.ts","import":"./dist/media/index.js"},"./print":{"types":"./dist/print/index.d.ts","import":"./dist/print/index.js"},"./record":{"types":"./dist/record/index.d.ts","import":"./dist/record/index.js"},"./slides":{"types":"./dist/slides/index.d.ts","import":"./dist/slides/index.js"},"./testing":{"types":"./dist/testing/index.d.ts","import":"./dist/testing/index.js"},"./document":{"types":"./dist/document/index.d.ts","import":"./dist/document/index.js"},"./surfaces":{"types":"./dist/surfaces/index.d.ts","import":"./dist/surfaces/index.js"},"./materials":{"types":"./dist/materials/index.d.ts","import":"./dist/materials/index.js"},"./templates":{"types":"./dist/templates/index.d.ts","import":"./dist/templates/index.js"},"./assessment":{"types":"./dist/verified-publication-rate.d.ts","import":"./dist/verified-publication-rate.js"},"./web/client":{"types":"./dist/web/client.d.ts","import":"./dist/web/client.js"}},"foundry":{"fit":"fit-signals.json","feeds":[{"path":"clossys/publisher/surfaces/","artifact":"surface-documents"}],"needs":[{"artifact":"strategy-brief","producerRole":"@clossys/strategist"},{"artifact":"token-contract-and-brand-overlay-binding","producerRole":"@clossys/designer"},{"artifact":"copy-registry","producerRole":"@clossys/writer"},{"artifact":"keep-verdict","producerRole":"@clossys/customer"}],"solves":[{"metric":"verified publication rate","problem":"publisher-verified-release","evidence":"designed","proofCase":"rate-violated","statement":"We're not sure what's actually live, or that it matches what we approved.","capability":"sealing-and-the-publication-record"}],"outputs":["clossys/publisher/pack.json","clossys/publisher/surfaces/"],"assessment":{"bin":"publisher-rate-check","invocation":"single-json-input"},"capabilities":[{"id":"v0-launch-pack-planning-and-inventory","v0":true,"inputs":[{"artifact":"strategy-brief","producerRole":"@clossys/strategist"},{"artifact":"brand-kit-assembly","producerRole":"@clossys/designer"},{"artifact":"messaging-kit","producerRole":"@clossys/writer"}],"outputs":["clossys/publisher/pack.json"],"maturity":"planned","proofCase":null,"worldClass":"Every new product gets one declared inventory (clossys/publisher/pack.json, #1204) of what the v0 Launch pack owes it and what state each item is actually in — status, condition, version, source pins — never assembled ad hoc per product. Today: `src/pack/` ships the manifest contract (#1204) — `validatePackManifest` (schema, needs-graph, and lifecycle-vocabulary validation), `computePackReadiness`/`planPackOrder`/`sealableItemIds` (readiness and sealing order derived from the needs graph), and `detectExistingPackItems`/`foundPackItem` (adopt-don't-override detection with sha256 fingerprints) — as library functions over `PackManifest`; no CLI yet assembles or checks a real product's `clossys/publisher/pack.json` from them. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"What does this product owe its v0 Launch pack, and what already exists versus is still needed?","businessLifecycleStage":"launch"},{"id":"surface-documents","v0":true,"inputs":[{"artifact":"copy-registry","producerRole":"@clossys/writer"},{"artifact":"components-and-blocks","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/surfaces/"],"maturity":"planned","proofCase":null,"worldClass":"Every published surface is one validated SurfaceDocument resolving to a registered template and a real channel location — never a page composed ad hoc outside the document. Today: `validateSurfaceDocument` and `resolveSurfaceDocument` (`src/core/`) validate and resolve one document as library functions, and the shipped site template (`templates/site/app/*/page.tsx`) reads `clossys/publisher/surfaces/*.json` at build time, but no bin yet validates a consumer's own surface documents. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is every audience-facing surface declared once as a validated document, with its template and locations resolved?","businessLifecycleStage":"launch"},{"id":"channel-rendering","v0":true,"inputs":[{"artifact":"token-contract-and-brand-overlay-binding","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/.generated/render-report.json"],"maturity":"built","proofCase":"preview-rendered","worldClass":"A surface document renders byte-identically to its golden fixture on every channel it declares, checked, never eyeballed per release.","subQuestion":"Does every declared surface render correctly to its channel — web, email, image, print, document, or slides?","businessLifecycleStage":"launch"},{"id":"templates-and-channel-specs","v0":true,"inputs":[],"outputs":["clossys/publisher/templates.json"],"maturity":"planned","proofCase":null,"worldClass":"A channel template is data — a declared block sequence and spec — never an arbitrary per-page build function, per #1207's full set (overview, deck, email kit, social profile, video-call backgrounds). Today: `src/templates/` ships `overviewTemplate.ts`, `deckTemplate.ts`, `emailSignature.ts` (`buildEmailSignatureHtml`/`buildEmailSignatureText`), and `channelSpecs.ts` (`SOCIAL_CHANNEL_SPECS`, `OG_SHARE_CARD_SPEC`, `VIDEO_CALL_BACKGROUND_SPECS`, `staleChannelSpecEntries`) alongside the earlier web page templates (#1207); nothing yet assembles them into the declared `clossys/publisher/templates.json` output or checks them from a bin. `publisher-preview` renders from these templates and specs using built-in fixtures, but checks nothing about them. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is every channel's template and spec declared once and reused, never improvised per page?","businessLifecycleStage":"build"},{"id":"materials-site","v0":true,"inputs":[{"artifact":"messaging-kit","producerRole":"@clossys/writer"},{"artifact":"brand-kit-assembly","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/materials/index.json"],"maturity":"partial","proofCase":"preview-rendered","worldClass":"One assembled, current internal index (#1206) carries every version of the company overview (short/medium/long) and pitch deck (HTML slides with audience variants), each with a print stylesheet, opened locally or handed to a client — never a scatter of one-off files assembled by hand. Not a publicly deployed site: that is #1208's separate apps/site template. Today: `src/materials/` ships `renderMaterialsIndexHtml`, `renderPitchDeckHtml`, `selectAudienceVariant`, and `materialsPrintStylesheet` (#1206), but `renderMaterialsIndexHtml` takes its entries as a plain argument — nothing yet reads a product's own `clossys/publisher/pack.json` to derive them, or writes the declared `clossys/publisher/materials/index.json` output from a bin.","subQuestion":"Is there one internal, locally opened materials index a client can browse every version of?","businessLifecycleStage":"launch"},{"id":"channel-kits","v0":true,"inputs":[{"artifact":"messaging-kit","producerRole":"@clossys/writer"},{"artifact":"logo-and-identity-files","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/channel-kits.json"],"maturity":"planned","proofCase":null,"worldClass":"Every channel (email signatures, social profiles, video-call backgrounds, per #1207) has one governed kit of checked assets and copy slots at the exact sizes and roles that channel requires — never assembled by hand per send. Today: `buildEmailSignatureHtml`/`buildEmailSignatureText` and the channel spec registry (`src/templates/`) exist, and `publisher-preview` renders an email signature and social and video-call cards from built-in fixtures, but nothing assembles or checks a governed per-channel kit or writes the declared `clossys/publisher/channel-kits.json`. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is there one governed kit — assets, copy slots, specs — per channel a client can hand to that channel's own tool?","businessLifecycleStage":"launch"},{"id":"asset-roster-and-coverage","v0":true,"inputs":[],"outputs":["clossys/publisher/asset-roster.json"],"maturity":"built","proofCase":"media-satisfied","worldClass":"Every image/video asset a document binds resolves to a registered roster entry (favicon, OG, Twitter, email-safe, app icons…) at its required pixel size with alt text — checked both directions, never a broken or orphaned reference.","subQuestion":"Does every asset a document references resolve to a registered, checked entry at its required role and size?","businessLifecycleStage":"build"},{"id":"route-and-visibility-governance","v0":true,"inputs":[],"outputs":["clossys/publisher/routes.json"],"maturity":"partial","proofCase":"web-routes-clean","worldClass":"Every route composes only through a registered SurfaceDocument template -- never Designer blocks assembled directly in a route file -- and declares visibility as `internal` or `public` (#1204; supersedes the earlier public/unlisted/access-protected model #1206 retired); a route serving an internal-only item is refused, never silently served. Today: `PACK_VISIBILITIES` (`internal`/`public`) and `checkMaterialsVisibility` declare and check visibility at the materials level (#1206), but `checkWebRoutes`/`publisher-web-route-check` still checks only the route-to-template mapping -- no route-level visibility declaration or internal-route refusal runs yet.","subQuestion":"Does every publishing web route resolve to a registered template, with visibility declared as internal or public rather than inferred, and internal-only routes refused from serving?","businessLifecycleStage":"launch"},{"id":"site-template","v0":true,"inputs":[{"artifact":"route-and-visibility-governance","producerRole":"@clossys/publisher"}],"outputs":["clossys/publisher/site.json"],"maturity":"planned","proofCase":null,"worldClass":"An apps/site template (#1208) renders Publisher's web views and Designer's theme, reading copy, tokens, and assets from clossys/ at build time and never copying them — routes for landing, about, contact, privacy/terms, 404, metadata, sitemap, robots, all included. Today: `templates/site/` ships all of the above (#1208), plus `web-route-manifest.json` for `publisher-web-route-check`, but is template content copied by Launcher (#1215) into a consumer repository, not part of this package's own npm workspace — its own README says plainly it is \"not built, typechecked, or tested\" by this repository's `npm run build`/`npm run typecheck`/`npm test`, and Launcher's own apply step (#1215) is still a follow-up. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Does a product repository get a working marketing site wired to its team's own records from the first commit?","businessLifecycleStage":"launch"},{"id":"sealing-and-the-publication-record","v0":true,"inputs":[{"artifact":"keep-verdict","producerRole":"@clossys/customer"}],"outputs":["clossys/publisher/record.json"],"maturity":"built","proofCase":"record-append-only-clean","worldClass":"Every publication event is appended once to an immutable record — never overwritten, never silently lost — and every fact cited in what was sealed is re-checked against the current source value at seal time, with drift reported, never assumed absent. A surface seals only once Customer has recorded a keep.","subQuestion":"Once published, is the exact shipped result sealed into an immutable, append-only record, with every cited fact still current?","businessLifecycleStage":"deliver"},{"id":"live-parity","v0":false,"inputs":[{"artifact":"sealing-and-the-publication-record","producerRole":"@clossys/publisher"}],"outputs":["clossys/publisher/.generated/live-parity-report.json"],"maturity":"planned","proofCase":null,"worldClass":"`verify` (#1209) proves the live site actually serves what was sealed -- head, OG, and metadata for public surfaces -- independently re-reading the live URL, never trusting the deploy provider's own \"success\" status. Scoped to public surfaces only, per #1206 (materials visibility is declared per item; an internal item is never expected to be live-servable at all). Today: the reconciliation-loop contracts (an independent witness compared against a ledger) exist; nothing yet re-reads a live production URL. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Does the production URL actually serve what was sealed — head, OG, metadata, and the materials index — independent of the hosting provider's own success signal?","businessLifecycleStage":"operate"}]},"imports":{"#publisher-web-views":{"types":"./dist/web/views/index.d.ts","default":"./dist/web/views/index.js","react-server":"./dist/web/views/server.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node ../../scripts/check-name-collision.mjs . && npm run build","check:preview-css":"node scripts/preview-css.mjs --check","generate:preview-css":"node scripts/preview-css.mjs --write"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"8c63dd08-c972-407c-9371-363bd92ac813"}},"repository":{"url":"git+https://github.com/clossys/foundry.git","type":"git","directory":"packages/publisher"},"_npmVersion":"11.17.0","description":"The publisher role: did we put it out to an audience, and can we prove what shipped? Surface composition, media registries, and channel renderers for web, email, print, images, and slides, plus a product-neutral structured-document contract, under `./core","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"@clossys/writer":"^0.5.1","@clossys/designer":"^0.8.0","@clossys/controller":"^0.10.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^29.1.1","react":"^19.3.0","vitest":"^5.0.1","esbuild":"0.28.2","react-dom":"^19.3.0","typescript":"~6.0.0","@types/node":"^26.6.3","tailwindcss":"^4.3.3","@types/react":"^19.3.0","tailwind-merge":"^3.7.0","@types/react-dom":"^19.3.0","react-aria-components":"^1.21.1","@testing-library/react":"^16.3.3","@internationalized/date":"^3.12.3","@testing-library/jest-dom":"^7.0.1","@testing-library/user-event":"^14.6.7"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":"^4.0.0","tailwind-merge":"^3.7.0","react-aria-components":"^1.19.0","@internationalized/date":"^3.12.2"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"tailwindcss":{"optional":true},"tailwind-merge":{"optional":true},"react-aria-components":{"optional":true},"@internationalized/date":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/publisher_0.9.0_1791864333598_0.06473895003378094","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"@clossys/publisher","version":"0.10.0","keywords":["publisher","composition","render","web","email","print","image","slides","ledger","append-only","attribution","drift","content-addressed","typescript"],"author":{"name":"Clossys"},"license":"MIT","_id":"@clossys/publisher@0.10.0","maintainers":[{"name":"thecalvinhung","email":"hello@clossys.com"}],"homepage":"https://github.com/clossys/foundry/tree/main/packages/publisher#readme","bugs":{"url":"https://github.com/clossys/foundry/issues"},"bin":{"publisher-seal":"dist/pack/seal-cli.js","publisher-preview":"dist/preview/cli.js","publisher-head-lint":"dist/pack/head-lint-cli.js","publisher-rate-check":"dist/verified-publication-rate-cli.js","publisher-media-check":"dist/media/cli.js","publisher-record-check":"dist/record/cli.js","publisher-web-route-check":"dist/web/checkWebRoutesCli.js","publisher-site-instantiate":"dist/site-template/instantiate-cli.js"},"dist":{"shasum":"4b77ce301bfd5e32ed18a782696b8bc6d55cf6a1","tarball":"https://registry.npmjs.org/@clossys/publisher/-/publisher-0.10.0.tgz","fileCount":1309,"integrity":"sha512-oiOSfpym1vax0P6hf9AQ5r75Tc4hol8aulxoIOm68/wNdp1d9yFN5kuF7dgidA3K2zid6JEGJ+VBmVRthQszMA==","signatures":[{"sig":"MEUCIQDDtmA2Qm6UNnM1kNPAdesgA2TvYpC1v17hMQJ1bdLjogIgTuB3yqjuchXn8vlAldTc6q0RnBrQIbzUHp3PLwDB+to=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCiNPKcLOUrjMoTJOD8A4X7pdHV2fsy+ch3iBa5U3UGUwIhALz4k6daUAON0Y56DqxZUPuZvRgTAKULiawdOuAg3T3r","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@clossys%2fpublisher@0.10.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6600618},"type":"module","engines":{"node":">=20"},"exports":{"./web":{"types":"./dist/web/index.d.ts","import":"./dist/web/index.js","react-server":"./dist/web/server.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js"},"./pack":{"types":"./dist/pack/index.d.ts","import":"./dist/pack/index.js"},"./email":{"types":"./dist/email/index.d.ts","import":"./dist/email/index.js"},"./image":{"types":"./dist/image/index.d.ts","import":"./dist/image/index.js"},"./media":{"types":"./dist/media/index.d.ts","import":"./dist/media/index.js"},"./print":{"types":"./dist/print/index.d.ts","import":"./dist/print/index.js"},"./record":{"types":"./dist/record/index.d.ts","import":"./dist/record/index.js"},"./slides":{"types":"./dist/slides/index.d.ts","import":"./dist/slides/index.js"},"./testing":{"types":"./dist/testing/index.d.ts","import":"./dist/testing/index.js"},"./document":{"types":"./dist/document/index.d.ts","import":"./dist/document/index.js"},"./surfaces":{"types":"./dist/surfaces/index.d.ts","import":"./dist/surfaces/index.js"},"./materials":{"types":"./dist/materials/index.d.ts","import":"./dist/materials/index.js"},"./templates":{"types":"./dist/templates/index.d.ts","import":"./dist/templates/index.js"},"./assessment":{"types":"./dist/verified-publication-rate.d.ts","import":"./dist/verified-publication-rate.js"},"./web/client":{"types":"./dist/web/client.d.ts","import":"./dist/web/client.js"},"./web/consent":{"types":"./dist/web/consent/index.d.ts","default":"./dist/web/consent/index.js","react-server":"./dist/web/consent/refuse-react-server.js"},"./consent-copy":{"types":"./dist/consent-copy/index.d.ts","browser":"./dist/consent-copy/refuse-browser.js","default":"./dist/consent-copy/index.js"},"./web/consent/preview":{"types":"./dist/web/consent/preview/index.d.ts","default":"./dist/web/consent/preview/refuse-non-development.js","development":"./dist/web/consent/preview/index.js","react-server":"./dist/web/consent/preview/refuse-react-server.js"}},"foundry":{"fit":"fit-signals.json","feeds":[{"path":"clossys/publisher/surfaces/","artifact":"surface-documents"}],"needs":[{"artifact":"strategy-brief","producerRole":"@clossys/strategist"},{"artifact":"token-contract-and-brand-overlay-binding","producerRole":"@clossys/designer"},{"artifact":"copy-registry","producerRole":"@clossys/writer"},{"artifact":"keep-verdict","producerRole":"@clossys/customer"}],"solves":[{"metric":"verified publication rate","problem":"publisher-verified-release","evidence":"designed","proofCase":"rate-violated","statement":"We're not sure what's actually live, or that it matches what we approved.","capability":"sealing-and-the-publication-record"}],"outputs":["clossys/publisher/pack.json","clossys/publisher/surfaces/"],"assessment":{"bin":"publisher-rate-check","invocation":"single-json-input"},"capabilities":[{"id":"v0-launch-pack-planning-and-inventory","v0":true,"inputs":[{"artifact":"strategy-brief","producerRole":"@clossys/strategist"},{"artifact":"brand-kit-assembly","producerRole":"@clossys/designer"},{"artifact":"messaging-kit","producerRole":"@clossys/writer"}],"outputs":["clossys/publisher/pack.json"],"maturity":"planned","proofCase":null,"worldClass":"Every new product gets one declared inventory (clossys/publisher/pack.json, #1204) of what the v0 Launch pack owes it and what state each item is actually in — status, condition, version, source pins — never assembled ad hoc per product. Today: `src/pack/` ships the manifest contract (#1204) — `validatePackManifest` (schema, needs-graph, and lifecycle-vocabulary validation), `computePackReadiness`/`planPackOrder`/`sealableItemIds` (readiness and sealing order derived from the needs graph), and `detectExistingPackItems`/`foundPackItem` (adopt-don't-override detection with sha256 fingerprints) — as library functions over `PackManifest`; no CLI yet assembles or checks a real product's `clossys/publisher/pack.json` from them. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"What does this product owe its v0 Launch pack, and what already exists versus is still needed?","businessLifecycleStage":"launch"},{"id":"surface-documents","v0":true,"inputs":[{"artifact":"copy-registry","producerRole":"@clossys/writer"},{"artifact":"components-and-blocks","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/surfaces/"],"maturity":"planned","proofCase":null,"worldClass":"Every published surface is one validated SurfaceDocument resolving to a registered template and a real channel location — never a page composed ad hoc outside the document. Today: `validateSurfaceDocument` and `resolveSurfaceDocument` (`src/core/`) validate and resolve one document as library functions, and the shipped site template (`templates/site/app/*/page.tsx`) reads `clossys/publisher/surfaces/*.json` at build time, but no bin yet validates a consumer's own surface documents. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is every audience-facing surface declared once as a validated document, with its template and locations resolved?","businessLifecycleStage":"launch"},{"id":"channel-rendering","v0":true,"inputs":[{"artifact":"token-contract-and-brand-overlay-binding","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/.generated/render-report.json"],"maturity":"built","proofCase":"preview-rendered","worldClass":"A surface document renders byte-identically to its golden fixture on every channel it declares, checked, never eyeballed per release.","subQuestion":"Does every declared surface render correctly to its channel — web, email, image, print, document, or slides?","businessLifecycleStage":"launch"},{"id":"templates-and-channel-specs","v0":true,"inputs":[],"outputs":["clossys/publisher/templates.json"],"maturity":"planned","proofCase":null,"worldClass":"A channel template is data — a declared block sequence and spec — never an arbitrary per-page build function, per #1207's full set (overview, deck, email kit, social profile, video-call backgrounds). Today: `src/templates/` ships `overviewTemplate.ts`, `deckTemplate.ts`, `emailSignature.ts` (`buildEmailSignatureHtml`/`buildEmailSignatureText`), and `channelSpecs.ts` (`SOCIAL_CHANNEL_SPECS`, `OG_SHARE_CARD_SPEC`, `VIDEO_CALL_BACKGROUND_SPECS`, `staleChannelSpecEntries`) alongside the earlier web page templates (#1207); nothing yet assembles them into the declared `clossys/publisher/templates.json` output or checks them from a bin. `publisher-preview` renders from these templates and specs using built-in fixtures, but checks nothing about them. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is every channel's template and spec declared once and reused, never improvised per page?","businessLifecycleStage":"build"},{"id":"materials-site","v0":true,"inputs":[{"artifact":"messaging-kit","producerRole":"@clossys/writer"},{"artifact":"brand-kit-assembly","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/materials/index.json"],"maturity":"partial","proofCase":"preview-rendered","worldClass":"One assembled, current internal index (#1206) carries every version of the company overview (short/medium/long) and pitch deck (HTML slides with audience variants), each with a print stylesheet, opened locally or handed to a client — never a scatter of one-off files assembled by hand. Not a publicly deployed site: that is #1208's separate apps/site template. Today: `src/materials/` ships `renderMaterialsIndexHtml`, `renderPitchDeckHtml`, `selectAudienceVariant`, and `materialsPrintStylesheet` (#1206), but `renderMaterialsIndexHtml` takes its entries as a plain argument — nothing yet reads a product's own `clossys/publisher/pack.json` to derive them, or writes the declared `clossys/publisher/materials/index.json` output from a bin.","subQuestion":"Is there one internal, locally opened materials index a client can browse every version of?","businessLifecycleStage":"launch"},{"id":"channel-kits","v0":true,"inputs":[{"artifact":"messaging-kit","producerRole":"@clossys/writer"},{"artifact":"logo-and-identity-files","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/channel-kits.json"],"maturity":"planned","proofCase":null,"worldClass":"Every channel (email signatures, social profiles, video-call backgrounds, per #1207) has one governed kit of checked assets and copy slots at the exact sizes and roles that channel requires — never assembled by hand per send. Today: `buildEmailSignatureHtml`/`buildEmailSignatureText` and the channel spec registry (`src/templates/`) exist, and `publisher-preview` renders an email signature and social and video-call cards from built-in fixtures, but nothing assembles or checks a governed per-channel kit or writes the declared `clossys/publisher/channel-kits.json`. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is there one governed kit — assets, copy slots, specs — per channel a client can hand to that channel's own tool?","businessLifecycleStage":"launch"},{"id":"asset-roster-and-coverage","v0":true,"inputs":[],"outputs":["clossys/publisher/asset-roster.json"],"maturity":"built","proofCase":"media-satisfied","worldClass":"Every image/video asset a document binds resolves to a registered roster entry (favicon, OG, Twitter, email-safe, app icons…) at its required pixel size with alt text — checked both directions, never a broken or orphaned reference.","subQuestion":"Does every asset a document references resolve to a registered, checked entry at its required role and size?","businessLifecycleStage":"build"},{"id":"route-and-visibility-governance","v0":true,"inputs":[],"outputs":["clossys/publisher/routes.json"],"maturity":"partial","proofCase":"web-routes-clean","worldClass":"Every route composes only through a registered SurfaceDocument template -- never Designer blocks assembled directly in a route file -- and declares visibility as `internal` or `public` (#1204; supersedes the earlier public/unlisted/access-protected model #1206 retired); a route serving an internal-only item is refused, never silently served. Today: `PACK_VISIBILITIES` (`internal`/`public`) and `checkMaterialsVisibility` declare and check visibility at the materials level (#1206), but `checkWebRoutes`/`publisher-web-route-check` still checks only the route-to-template mapping -- no route-level visibility declaration or internal-route refusal runs yet.","subQuestion":"Does every publishing web route resolve to a registered template, with visibility declared as internal or public rather than inferred, and internal-only routes refused from serving?","businessLifecycleStage":"launch"},{"id":"site-template","v0":true,"inputs":[{"artifact":"route-and-visibility-governance","producerRole":"@clossys/publisher"}],"outputs":["clossys/publisher/site.json"],"maturity":"planned","proofCase":null,"worldClass":"An apps/site template (#1208) renders Publisher's web views and Designer's theme, reading copy, tokens, and assets from clossys/ at build time and never copying them — routes for landing, about, contact, privacy/terms, 404, metadata, sitemap, robots, all included. Today: `templates/site/` ships all of the above (#1208), plus `web-route-manifest.json` for `publisher-web-route-check`, but is template content copied by Launcher (#1215) into a consumer repository, not part of this package's own npm workspace — its own README says plainly it is \"not built, typechecked, or tested\" by this repository's `npm run build`/`npm run typecheck`/`npm test`, and Launcher's own apply step (#1215) is still a follow-up. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Does a product repository get a working marketing site wired to its team's own records from the first commit?","businessLifecycleStage":"launch"},{"id":"sealing-and-the-publication-record","v0":true,"inputs":[{"artifact":"keep-verdict","producerRole":"@clossys/customer"}],"outputs":["clossys/publisher/record.json"],"maturity":"built","proofCase":"record-append-only-clean","worldClass":"Every publication event is appended once to an immutable record — never overwritten, never silently lost — and every fact cited in what was sealed is re-checked against the current source value at seal time, with drift reported, never assumed absent. A surface seals only once Customer has recorded a keep.","subQuestion":"Once published, is the exact shipped result sealed into an immutable, append-only record, with every cited fact still current?","businessLifecycleStage":"deliver"},{"id":"live-parity","v0":false,"inputs":[{"artifact":"sealing-and-the-publication-record","producerRole":"@clossys/publisher"}],"outputs":["clossys/publisher/.generated/live-parity-report.json"],"maturity":"planned","proofCase":null,"worldClass":"`verify` (#1209) proves the live site actually serves what was sealed -- head, OG, and metadata for public surfaces -- independently re-reading the live URL, never trusting the deploy provider's own \"success\" status. Scoped to public surfaces only, per #1206 (materials visibility is declared per item; an internal item is never expected to be live-servable at all). Today: the reconciliation-loop contracts (an independent witness compared against a ledger) exist; nothing yet re-reads a live production URL. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Does the production URL actually serve what was sealed — head, OG, metadata, and the materials index — independent of the hosting provider's own success signal?","businessLifecycleStage":"operate"}]},"imports":{"#publisher-web-views":{"types":"./dist/web/views/index.d.ts","default":"./dist/web/views/index.js","react-server":"./dist/web/views/server.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node ../../scripts/check-name-collision.mjs . && npm run build","check:preview-css":"node scripts/preview-css.mjs --check","generate:preview-css":"node scripts/preview-css.mjs --write"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"8c63dd08-c972-407c-9371-363bd92ac813"}},"repository":{"url":"git+https://github.com/clossys/foundry.git","type":"git","directory":"packages/publisher"},"_npmVersion":"11.17.0","description":"The publisher role: did we put it out to an audience, and can we prove what shipped? Surface composition, media registries, and channel renderers for web, email, print, images, and slides, plus a product-neutral structured-document contract, under `./core","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"@clossys/writer":"^0.6.0","@clossys/designer":"^0.9.0","@clossys/controller":"^0.10.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^29.1.1","react":"^19.3.0","vitest":"^5.0.1","esbuild":"0.28.2","react-dom":"^19.3.0","typescript":"~6.0.0","@types/node":"^26.6.3","tailwindcss":"^4.3.3","@types/react":"^19.3.0","tailwind-merge":"^3.7.0","@types/react-dom":"^19.3.0","react-aria-components":"^1.21.1","@testing-library/react":"^16.3.3","@internationalized/date":"^3.12.3","@testing-library/jest-dom":"^7.0.1","@testing-library/user-event":"^14.6.7"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":"^4.0.0","tailwind-merge":"^3.7.0","react-aria-components":"^1.19.0","@internationalized/date":"^3.12.2"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"tailwindcss":{"optional":true},"tailwind-merge":{"optional":true},"react-aria-components":{"optional":true},"@internationalized/date":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/publisher_0.10.0_1791992652427_0.920414393422798","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"@clossys/publisher","version":"0.11.0","keywords":["publisher","composition","render","web","email","print","image","slides","ledger","append-only","attribution","drift","content-addressed","typescript"],"author":{"name":"Clossys"},"license":"MIT","_id":"@clossys/publisher@0.11.0","maintainers":[{"name":"thecalvinhung","email":"hello@clossys.com"}],"homepage":"https://github.com/clossys/foundry/tree/main/packages/publisher#readme","bugs":{"url":"https://github.com/clossys/foundry/issues"},"bin":{"publisher-seal":"dist/pack/seal-cli.js","publisher-preview":"dist/preview/cli.js","publisher-head-lint":"dist/pack/head-lint-cli.js","publisher-rate-check":"dist/verified-publication-rate-cli.js","publisher-media-check":"dist/media/cli.js","publisher-record-check":"dist/record/cli.js","publisher-web-route-check":"dist/web/checkWebRoutesCli.js","publisher-site-instantiate":"dist/site-template/instantiate-cli.js"},"dist":{"shasum":"9d1b28d747f0b4fe58a4d75c59f772d844f05654","tarball":"https://registry.npmjs.org/@clossys/publisher/-/publisher-0.11.0.tgz","fileCount":1309,"integrity":"sha512-uew6w1XNEt/FeJzk9Cxp5aQf/SHSNf8mYJ3qhwD4jl+FYPIFGlotXxU9pMv8QCl31eeVO0xbCPaerCK16bnf4w==","signatures":[{"sig":"MEYCIQCmjPtV/L1EBhdwm5838wsCeuD7d7HT9iWq2l990X+fJQIhAL/jn9I7IVmFFt72DWmFLg/yAcx9bsaJfOmFhML9e/DO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIEQmfIkT0VpKS1RVdkJlu11Pjn8U9xHOSanrXQHQ7229AiAWYwH59IL2Opp5vLAGQ9WizNOYiTW1NKh/X/gGMEQDvg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@clossys%2fpublisher@0.11.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6620266},"type":"module","engines":{"node":">=20"},"exports":{"./web":{"types":"./dist/web/index.d.ts","import":"./dist/web/index.js","react-server":"./dist/web/server.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js"},"./pack":{"types":"./dist/pack/index.d.ts","import":"./dist/pack/index.js"},"./email":{"types":"./dist/email/index.d.ts","import":"./dist/email/index.js"},"./image":{"types":"./dist/image/index.d.ts","import":"./dist/image/index.js"},"./media":{"types":"./dist/media/index.d.ts","import":"./dist/media/index.js"},"./print":{"types":"./dist/print/index.d.ts","import":"./dist/print/index.js"},"./record":{"types":"./dist/record/index.d.ts","import":"./dist/record/index.js"},"./slides":{"types":"./dist/slides/index.d.ts","import":"./dist/slides/index.js"},"./testing":{"types":"./dist/testing/index.d.ts","import":"./dist/testing/index.js"},"./document":{"types":"./dist/document/index.d.ts","import":"./dist/document/index.js"},"./surfaces":{"types":"./dist/surfaces/index.d.ts","import":"./dist/surfaces/index.js"},"./materials":{"types":"./dist/materials/index.d.ts","import":"./dist/materials/index.js"},"./templates":{"types":"./dist/templates/index.d.ts","import":"./dist/templates/index.js"},"./assessment":{"types":"./dist/verified-publication-rate.d.ts","import":"./dist/verified-publication-rate.js"},"./web/client":{"types":"./dist/web/client.d.ts","import":"./dist/web/client.js"},"./web/consent":{"types":"./dist/web/consent/index.d.ts","default":"./dist/web/consent/index.js","react-server":"./dist/web/consent/refuse-react-server.js"},"./consent-copy":{"types":"./dist/consent-copy/index.d.ts","browser":"./dist/consent-copy/refuse-browser.js","default":"./dist/consent-copy/index.js"},"./web/consent/preview":{"types":"./dist/web/consent/preview/index.d.ts","default":"./dist/web/consent/preview/refuse-non-development.js","development":"./dist/web/consent/preview/index.js","react-server":"./dist/web/consent/preview/refuse-react-server.js"}},"foundry":{"fit":"fit-signals.json","feeds":[{"path":"clossys/publisher/surfaces/","artifact":"surface-documents"}],"needs":[{"artifact":"strategy-brief","producerRole":"@clossys/strategist"},{"artifact":"token-contract-and-brand-overlay-binding","producerRole":"@clossys/designer"},{"artifact":"copy-registry","producerRole":"@clossys/writer"},{"artifact":"keep-verdict","producerRole":"@clossys/customer"}],"solves":[{"metric":"verified publication rate","problem":"publisher-verified-release","evidence":"designed","proofCase":"rate-violated","statement":"We're not sure what's actually live, or that it matches what we approved.","capability":"sealing-and-the-publication-record"}],"outputs":["clossys/publisher/pack.json","clossys/publisher/surfaces/"],"assessment":{"bin":"publisher-rate-check","invocation":"single-json-input"},"capabilities":[{"id":"v0-launch-pack-planning-and-inventory","v0":true,"inputs":[{"artifact":"strategy-brief","producerRole":"@clossys/strategist"},{"artifact":"brand-kit-assembly","producerRole":"@clossys/designer"},{"artifact":"messaging-kit","producerRole":"@clossys/writer"}],"outputs":["clossys/publisher/pack.json"],"maturity":"planned","proofCase":null,"worldClass":"Every new product gets one declared inventory (clossys/publisher/pack.json, #1204) of what the v0 Launch pack owes it and what state each item is actually in — status, condition, version, source pins — never assembled ad hoc per product. Today: `src/pack/` ships the manifest contract (#1204) — `validatePackManifest` (schema, needs-graph, and lifecycle-vocabulary validation), `computePackReadiness`/`planPackOrder`/`sealableItemIds` (readiness and sealing order derived from the needs graph), and `detectExistingPackItems`/`foundPackItem` (adopt-don't-override detection with sha256 fingerprints) — as library functions over `PackManifest`; no CLI yet assembles or checks a real product's `clossys/publisher/pack.json` from them. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"What does this product owe its v0 Launch pack, and what already exists versus is still needed?","businessLifecycleStage":"launch"},{"id":"surface-documents","v0":true,"inputs":[{"artifact":"copy-registry","producerRole":"@clossys/writer"},{"artifact":"components-and-blocks","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/surfaces/"],"maturity":"planned","proofCase":null,"worldClass":"Every published surface is one validated SurfaceDocument resolving to a registered template and a real channel location — never a page composed ad hoc outside the document. Today: `validateSurfaceDocument` and `resolveSurfaceDocument` (`src/core/`) validate and resolve one document as library functions, and the shipped site template (`templates/site/app/*/page.tsx`) reads `clossys/publisher/surfaces/*.json` at build time, but no bin yet validates a consumer's own surface documents. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is every audience-facing surface declared once as a validated document, with its template and locations resolved?","businessLifecycleStage":"launch"},{"id":"channel-rendering","v0":true,"inputs":[{"artifact":"token-contract-and-brand-overlay-binding","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/.generated/render-report.json"],"maturity":"built","proofCase":"preview-rendered","worldClass":"A surface document renders byte-identically to its golden fixture on every channel it declares, checked, never eyeballed per release.","subQuestion":"Does every declared surface render correctly to its channel — web, email, image, print, document, or slides?","businessLifecycleStage":"launch"},{"id":"templates-and-channel-specs","v0":true,"inputs":[],"outputs":["clossys/publisher/templates.json"],"maturity":"planned","proofCase":null,"worldClass":"A channel template is data — a declared block sequence and spec — never an arbitrary per-page build function, per #1207's full set (overview, deck, email kit, social profile, video-call backgrounds). Today: `src/templates/` ships `overviewTemplate.ts`, `deckTemplate.ts`, `emailSignature.ts` (`buildEmailSignatureHtml`/`buildEmailSignatureText`), and `channelSpecs.ts` (`SOCIAL_CHANNEL_SPECS`, `OG_SHARE_CARD_SPEC`, `VIDEO_CALL_BACKGROUND_SPECS`, `staleChannelSpecEntries`) alongside the earlier web page templates (#1207); nothing yet assembles them into the declared `clossys/publisher/templates.json` output or checks them from a bin. `publisher-preview` renders from these templates and specs using built-in fixtures, but checks nothing about them. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is every channel's template and spec declared once and reused, never improvised per page?","businessLifecycleStage":"build"},{"id":"materials-site","v0":true,"inputs":[{"artifact":"messaging-kit","producerRole":"@clossys/writer"},{"artifact":"brand-kit-assembly","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/materials/index.json"],"maturity":"partial","proofCase":"preview-rendered","worldClass":"One assembled, current internal index (#1206) carries every version of the company overview (short/medium/long) and pitch deck (HTML slides with audience variants), each with a print stylesheet, opened locally or handed to a client — never a scatter of one-off files assembled by hand. Not a publicly deployed site: that is #1208's separate apps/site template. Today: `src/materials/` ships `renderMaterialsIndexHtml`, `renderPitchDeckHtml`, `selectAudienceVariant`, and `materialsPrintStylesheet` (#1206), but `renderMaterialsIndexHtml` takes its entries as a plain argument — nothing yet reads a product's own `clossys/publisher/pack.json` to derive them, or writes the declared `clossys/publisher/materials/index.json` output from a bin.","subQuestion":"Is there one internal, locally opened materials index a client can browse every version of?","businessLifecycleStage":"launch"},{"id":"channel-kits","v0":true,"inputs":[{"artifact":"messaging-kit","producerRole":"@clossys/writer"},{"artifact":"logo-and-identity-files","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/channel-kits.json"],"maturity":"planned","proofCase":null,"worldClass":"Every channel (email signatures, social profiles, video-call backgrounds, per #1207) has one governed kit of checked assets and copy slots at the exact sizes and roles that channel requires — never assembled by hand per send. Today: `buildEmailSignatureHtml`/`buildEmailSignatureText` and the channel spec registry (`src/templates/`) exist, and `publisher-preview` renders an email signature and social and video-call cards from built-in fixtures, but nothing assembles or checks a governed per-channel kit or writes the declared `clossys/publisher/channel-kits.json`. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is there one governed kit — assets, copy slots, specs — per channel a client can hand to that channel's own tool?","businessLifecycleStage":"launch"},{"id":"asset-roster-and-coverage","v0":true,"inputs":[],"outputs":["clossys/publisher/asset-roster.json"],"maturity":"built","proofCase":"media-satisfied","worldClass":"Every image/video asset a document binds resolves to a registered roster entry (favicon, OG, Twitter, email-safe, app icons…) at its required pixel size with alt text — checked both directions, never a broken or orphaned reference.","subQuestion":"Does every asset a document references resolve to a registered, checked entry at its required role and size?","businessLifecycleStage":"build"},{"id":"route-and-visibility-governance","v0":true,"inputs":[],"outputs":["clossys/publisher/routes.json"],"maturity":"partial","proofCase":"web-routes-clean","worldClass":"Every route composes only through a registered SurfaceDocument template -- never Designer blocks assembled directly in a route file -- and declares visibility as `internal` or `public` (#1204; supersedes the earlier public/unlisted/access-protected model #1206 retired); a route serving an internal-only item is refused, never silently served. Today: `PACK_VISIBILITIES` (`internal`/`public`) and `checkMaterialsVisibility` declare and check visibility at the materials level (#1206), but `checkWebRoutes`/`publisher-web-route-check` still checks only the route-to-template mapping -- no route-level visibility declaration or internal-route refusal runs yet.","subQuestion":"Does every publishing web route resolve to a registered template, with visibility declared as internal or public rather than inferred, and internal-only routes refused from serving?","businessLifecycleStage":"launch"},{"id":"site-template","v0":true,"inputs":[{"artifact":"route-and-visibility-governance","producerRole":"@clossys/publisher"}],"outputs":["clossys/publisher/site.json"],"maturity":"planned","proofCase":null,"worldClass":"An apps/site template (#1208) renders Publisher's web views and Designer's theme, reading copy, tokens, and assets from clossys/ at build time and never copying them — routes for landing, about, contact, privacy/terms, 404, metadata, sitemap, robots, all included. Today: `templates/site/` ships all of the above (#1208), plus `web-route-manifest.json` for `publisher-web-route-check`, but is template content copied by Launcher (#1215) into a consumer repository, not part of this package's own npm workspace — its own README says plainly it is \"not built, typechecked, or tested\" by this repository's `npm run build`/`npm run typecheck`/`npm test`, and Launcher's own apply step (#1215) is still a follow-up. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Does a product repository get a working marketing site wired to its team's own records from the first commit?","businessLifecycleStage":"launch"},{"id":"sealing-and-the-publication-record","v0":true,"inputs":[{"artifact":"keep-verdict","producerRole":"@clossys/customer"}],"outputs":["clossys/publisher/record.json"],"maturity":"built","proofCase":"record-append-only-clean","worldClass":"Every publication event is appended once to an immutable record — never overwritten, never silently lost — and every fact cited in what was sealed is re-checked against the current source value at seal time, with drift reported, never assumed absent. A surface seals only once Customer has recorded a keep.","subQuestion":"Once published, is the exact shipped result sealed into an immutable, append-only record, with every cited fact still current?","businessLifecycleStage":"deliver"},{"id":"live-parity","v0":false,"inputs":[{"artifact":"sealing-and-the-publication-record","producerRole":"@clossys/publisher"}],"outputs":["clossys/publisher/.generated/live-parity-report.json"],"maturity":"planned","proofCase":null,"worldClass":"`verify` (#1209) proves the live site actually serves what was sealed -- head, OG, and metadata for public surfaces -- independently re-reading the live URL, never trusting the deploy provider's own \"success\" status. Scoped to public surfaces only, per #1206 (materials visibility is declared per item; an internal item is never expected to be live-servable at all). Today: the reconciliation-loop contracts (an independent witness compared against a ledger) exist; nothing yet re-reads a live production URL. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Does the production URL actually serve what was sealed — head, OG, metadata, and the materials index — independent of the hosting provider's own success signal?","businessLifecycleStage":"operate"}]},"imports":{"#publisher-web-views":{"types":"./dist/web/views/index.d.ts","default":"./dist/web/views/index.js","react-server":"./dist/web/views/server.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node ../../scripts/check-name-collision.mjs . && npm run build","check:preview-css":"node scripts/preview-css.mjs --check","generate:preview-css":"node scripts/preview-css.mjs --write"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"8c63dd08-c972-407c-9371-363bd92ac813"}},"repository":{"url":"git+https://github.com/clossys/foundry.git","type":"git","directory":"packages/publisher"},"_npmVersion":"11.17.0","description":"The publisher role: did we put it out to an audience, and can we prove what shipped? Surface composition, media registries, and channel renderers for web, email, print, images, and slides, plus a product-neutral structured-document contract, under `./core","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"@clossys/writer":"^0.6.0","@clossys/designer":"^0.10.0","@clossys/controller":"^0.10.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^29.1.1","react":"^19.3.0","vitest":"^5.0.1","esbuild":"0.28.2","react-dom":"^19.3.0","typescript":"~6.0.0","@types/node":"^26.6.3","tailwindcss":"^4.3.3","@types/react":"^19.3.0","tailwind-merge":"^3.7.0","@types/react-dom":"^19.3.0","react-aria-components":"^1.21.1","@testing-library/react":"^16.3.3","@internationalized/date":"^3.12.3","@testing-library/jest-dom":"^7.0.1","@testing-library/user-event":"^14.6.7"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":"^4.0.0","tailwind-merge":"^3.7.0","react-aria-components":"^1.19.0","@internationalized/date":"^3.12.2"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"tailwindcss":{"optional":true},"tailwind-merge":{"optional":true},"react-aria-components":{"optional":true},"@internationalized/date":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/publisher_0.11.0_1792026433315_0.4554931645562692","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"@clossys/publisher","version":"0.12.0","keywords":["publisher","composition","render","web","email","print","image","slides","ledger","append-only","attribution","drift","content-addressed","typescript"],"author":{"name":"Clossys"},"license":"MIT","_id":"@clossys/publisher@0.12.0","maintainers":[{"name":"thecalvinhung","email":"hello@clossys.com"}],"homepage":"https://github.com/clossys/foundry/tree/main/packages/publisher#readme","bugs":{"url":"https://github.com/clossys/foundry/issues"},"bin":{"publisher-seal":"dist/pack/seal-cli.js","publisher-preview":"dist/preview/cli.js","publisher-head-lint":"dist/pack/head-lint-cli.js","publisher-rate-check":"dist/verified-publication-rate-cli.js","publisher-media-check":"dist/media/cli.js","publisher-record-check":"dist/record/cli.js","publisher-web-route-check":"dist/web/checkWebRoutesCli.js","publisher-site-instantiate":"dist/site-template/instantiate-cli.js"},"dist":{"shasum":"22cbfe4bccc0a8f6d8fab84aa9e7e4373d42b601","tarball":"https://registry.npmjs.org/@clossys/publisher/-/publisher-0.12.0.tgz","fileCount":1334,"integrity":"sha512-DI+rLc2P64n5yQrm1fZ9g1f2c2QCSLJhjOkksOtLAMbb1ZHXfCfIhuMwafJdlXGM+pi/oKsEnPAxWTdiv4n1bQ==","signatures":[{"sig":"MEQCIBetDfZzOyzDBpW8sN2LLsIajLW4k0FHFEfJdG2/7r7fAiBeoblbGioMuDKMHXa+4BBxHr0MZJcVDdDxefmv5zDlzQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCQIc2P0A4kRqtBd5AgI15nKw75S15yRLN5hw/V9MO+LgIhAI3kLLLxzmh7TqdG8f0i3TwjuYrNlwpUKYx++PVI8XgB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@clossys%2fpublisher@0.12.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6655018},"type":"module","engines":{"node":">=20"},"exports":{"./web":{"types":"./dist/web/index.d.ts","import":"./dist/web/index.js","react-server":"./dist/web/server.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js"},"./pack":{"types":"./dist/pack/index.d.ts","import":"./dist/pack/index.js"},"./email":{"types":"./dist/email/index.d.ts","import":"./dist/email/index.js"},"./image":{"types":"./dist/image/index.d.ts","import":"./dist/image/index.js"},"./media":{"types":"./dist/media/index.d.ts","import":"./dist/media/index.js"},"./print":{"types":"./dist/print/index.d.ts","import":"./dist/print/index.js"},"./record":{"types":"./dist/record/index.d.ts","import":"./dist/record/index.js"},"./slides":{"types":"./dist/slides/index.d.ts","import":"./dist/slides/index.js"},"./testing":{"types":"./dist/testing/index.d.ts","import":"./dist/testing/index.js"},"./document":{"types":"./dist/document/index.d.ts","import":"./dist/document/index.js"},"./surfaces":{"types":"./dist/surfaces/index.d.ts","import":"./dist/surfaces/index.js"},"./materials":{"types":"./dist/materials/index.d.ts","import":"./dist/materials/index.js"},"./templates":{"types":"./dist/templates/index.d.ts","import":"./dist/templates/index.js"},"./assessment":{"types":"./dist/verified-publication-rate.d.ts","import":"./dist/verified-publication-rate.js"},"./web/client":{"types":"./dist/web/client.d.ts","import":"./dist/web/client.js"},"./web/consent":{"types":"./dist/web/consent/index.d.ts","default":"./dist/web/consent/index.js","react-server":"./dist/web/consent/refuse-react-server.js"},"./consent-copy":{"types":"./dist/consent-copy/index.d.ts","browser":"./dist/consent-copy/refuse-browser.js","default":"./dist/consent-copy/index.js"},"./web/consent/preview":{"types":"./dist/web/consent/preview/index.d.ts","default":"./dist/web/consent/preview/refuse-non-development.js","development":"./dist/web/consent/preview/index.js","react-server":"./dist/web/consent/preview/refuse-react-server.js"}},"foundry":{"fit":"fit-signals.json","feeds":[{"path":"clossys/publisher/surfaces/","artifact":"surface-documents"}],"needs":[{"artifact":"strategy-brief","producerRole":"@clossys/strategist"},{"artifact":"token-contract-and-brand-overlay-binding","producerRole":"@clossys/designer"},{"artifact":"copy-registry","producerRole":"@clossys/writer"},{"artifact":"keep-verdict","producerRole":"@clossys/customer"}],"solves":[{"metric":"verified publication rate","problem":"publisher-verified-release","evidence":"designed","proofCase":"rate-violated","statement":"We're not sure what's actually live, or that it matches what we approved.","capability":"sealing-and-the-publication-record"}],"outputs":["clossys/publisher/pack.json","clossys/publisher/surfaces/"],"assessment":{"bin":"publisher-rate-check","invocation":"single-json-input"},"capabilities":[{"id":"v0-launch-pack-planning-and-inventory","v0":true,"inputs":[{"artifact":"strategy-brief","producerRole":"@clossys/strategist"},{"artifact":"brand-kit-assembly","producerRole":"@clossys/designer"},{"artifact":"messaging-kit","producerRole":"@clossys/writer"}],"outputs":["clossys/publisher/pack.json"],"maturity":"planned","proofCase":null,"worldClass":"Every new product gets one declared inventory (clossys/publisher/pack.json, #1204) of what the v0 Launch pack owes it and what state each item is actually in — status, condition, version, source pins — never assembled ad hoc per product. Today: `src/pack/` ships the manifest contract (#1204) — `validatePackManifest` (schema, needs-graph, and lifecycle-vocabulary validation), `computePackReadiness`/`planPackOrder`/`sealableItemIds` (readiness and sealing order derived from the needs graph), and `detectExistingPackItems`/`foundPackItem` (adopt-don't-override detection with sha256 fingerprints) — as library functions over `PackManifest`; no CLI yet assembles or checks a real product's `clossys/publisher/pack.json` from them. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"What does this product owe its v0 Launch pack, and what already exists versus is still needed?","businessLifecycleStage":"launch"},{"id":"surface-documents","v0":true,"inputs":[{"artifact":"copy-registry","producerRole":"@clossys/writer"},{"artifact":"components-and-blocks","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/surfaces/"],"maturity":"planned","proofCase":null,"worldClass":"Every published surface is one validated SurfaceDocument resolving to a registered template and a real channel location — never a page composed ad hoc outside the document. Today: `validateSurfaceDocument` and `resolveSurfaceDocument` (`src/core/`) validate and resolve one document as library functions, and the shipped site template (`templates/site/app/*/page.tsx`) reads `clossys/publisher/surfaces/*.json` at build time, but no bin yet validates a consumer's own surface documents. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is every audience-facing surface declared once as a validated document, with its template and locations resolved?","businessLifecycleStage":"launch"},{"id":"channel-rendering","v0":true,"inputs":[{"artifact":"token-contract-and-brand-overlay-binding","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/.generated/render-report.json"],"maturity":"built","proofCase":"preview-rendered","worldClass":"A surface document renders byte-identically to its golden fixture on every channel it declares, checked, never eyeballed per release.","subQuestion":"Does every declared surface render correctly to its channel — web, email, image, print, document, or slides?","businessLifecycleStage":"launch"},{"id":"templates-and-channel-specs","v0":true,"inputs":[],"outputs":["clossys/publisher/templates.json"],"maturity":"planned","proofCase":null,"worldClass":"A channel template is data — a declared block sequence and spec — never an arbitrary per-page build function, per #1207's full set (overview, deck, email kit, social profile, video-call backgrounds). Today: `src/templates/` ships `overviewTemplate.ts`, `deckTemplate.ts`, `emailSignature.ts` (`buildEmailSignatureHtml`/`buildEmailSignatureText`), and `channelSpecs.ts` (`SOCIAL_CHANNEL_SPECS`, `OG_SHARE_CARD_SPEC`, `VIDEO_CALL_BACKGROUND_SPECS`, `staleChannelSpecEntries`) alongside the earlier web page templates (#1207); nothing yet assembles them into the declared `clossys/publisher/templates.json` output or checks them from a bin. `publisher-preview` renders from these templates and specs using built-in fixtures, but checks nothing about them. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is every channel's template and spec declared once and reused, never improvised per page?","businessLifecycleStage":"build"},{"id":"materials-site","v0":true,"inputs":[{"artifact":"messaging-kit","producerRole":"@clossys/writer"},{"artifact":"brand-kit-assembly","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/materials/index.json"],"maturity":"partial","proofCase":"preview-rendered","worldClass":"One assembled, current internal index (#1206) carries every version of the company overview (short/medium/long) and pitch deck (HTML slides with audience variants), each with a print stylesheet, opened locally or handed to a client — never a scatter of one-off files assembled by hand. Not a publicly deployed site: that is #1208's separate apps/site template. Today: `src/materials/` ships `renderMaterialsIndexHtml`, `renderPitchDeckHtml`, `selectAudienceVariant`, and `materialsPrintStylesheet` (#1206), but `renderMaterialsIndexHtml` takes its entries as a plain argument — nothing yet reads a product's own `clossys/publisher/pack.json` to derive them, or writes the declared `clossys/publisher/materials/index.json` output from a bin.","subQuestion":"Is there one internal, locally opened materials index a client can browse every version of?","businessLifecycleStage":"launch"},{"id":"channel-kits","v0":true,"inputs":[{"artifact":"messaging-kit","producerRole":"@clossys/writer"},{"artifact":"logo-and-identity-files","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/channel-kits.json"],"maturity":"planned","proofCase":null,"worldClass":"Every channel (email signatures, social profiles, video-call backgrounds, per #1207) has one governed kit of checked assets and copy slots at the exact sizes and roles that channel requires — never assembled by hand per send. Today: `buildEmailSignatureHtml`/`buildEmailSignatureText` and the channel spec registry (`src/templates/`) exist, and `publisher-preview` renders an email signature and social and video-call cards from built-in fixtures, but nothing assembles or checks a governed per-channel kit or writes the declared `clossys/publisher/channel-kits.json`. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is there one governed kit — assets, copy slots, specs — per channel a client can hand to that channel's own tool?","businessLifecycleStage":"launch"},{"id":"asset-roster-and-coverage","v0":true,"inputs":[],"outputs":["clossys/publisher/asset-roster.json"],"maturity":"built","proofCase":"media-satisfied","worldClass":"Every image/video asset a document binds resolves to a registered roster entry (favicon, OG, Twitter, email-safe, app icons…) at its required pixel size with alt text — checked both directions, never a broken or orphaned reference.","subQuestion":"Does every asset a document references resolve to a registered, checked entry at its required role and size?","businessLifecycleStage":"build"},{"id":"route-and-visibility-governance","v0":true,"inputs":[],"outputs":["clossys/publisher/routes.json"],"maturity":"partial","proofCase":"web-routes-clean","worldClass":"Every route composes only through a registered SurfaceDocument template -- never Designer blocks assembled directly in a route file -- and declares visibility as `internal` or `public` (#1204; supersedes the earlier public/unlisted/access-protected model #1206 retired); a route serving an internal-only item is refused, never silently served. Today: `PACK_VISIBILITIES` (`internal`/`public`) and `checkMaterialsVisibility` declare and check visibility at the materials level (#1206), but `checkWebRoutes`/`publisher-web-route-check` still checks only the route-to-template mapping -- no route-level visibility declaration or internal-route refusal runs yet.","subQuestion":"Does every publishing web route resolve to a registered template, with visibility declared as internal or public rather than inferred, and internal-only routes refused from serving?","businessLifecycleStage":"launch"},{"id":"site-template","v0":true,"inputs":[{"artifact":"route-and-visibility-governance","producerRole":"@clossys/publisher"}],"outputs":["clossys/publisher/site.json"],"maturity":"planned","proofCase":null,"worldClass":"An apps/site template (#1208) renders Publisher's web views and Designer's theme, reading copy, tokens, and assets from clossys/ at build time and never copying them — routes for landing, about, contact, privacy/terms, 404, metadata, sitemap, robots, all included. Today: `templates/site/` ships all of the above (#1208), plus `web-route-manifest.json` for `publisher-web-route-check`, but is template content copied by Launcher (#1215) into a consumer repository, not part of this package's own npm workspace — its own README says plainly it is \"not built, typechecked, or tested\" by this repository's `npm run build`/`npm run typecheck`/`npm test`, and Launcher's own apply step (#1215) is still a follow-up. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Does a product repository get a working marketing site wired to its team's own records from the first commit?","businessLifecycleStage":"launch"},{"id":"sealing-and-the-publication-record","v0":true,"inputs":[{"artifact":"keep-verdict","producerRole":"@clossys/customer"}],"outputs":["clossys/publisher/record.json"],"maturity":"built","proofCase":"record-append-only-clean","worldClass":"Every publication event is appended once to an immutable record — never overwritten, never silently lost — and every fact cited in what was sealed is re-checked against the current source value at seal time, with drift reported, never assumed absent. A surface seals only once Customer has recorded a keep.","subQuestion":"Once published, is the exact shipped result sealed into an immutable, append-only record, with every cited fact still current?","businessLifecycleStage":"deliver"},{"id":"live-parity","v0":false,"inputs":[{"artifact":"sealing-and-the-publication-record","producerRole":"@clossys/publisher"}],"outputs":["clossys/publisher/.generated/live-parity-report.json"],"maturity":"planned","proofCase":null,"worldClass":"`verify` (#1209) proves the live site actually serves what was sealed -- head, OG, and metadata for public surfaces -- independently re-reading the live URL, never trusting the deploy provider's own \"success\" status. Scoped to public surfaces only, per #1206 (materials visibility is declared per item; an internal item is never expected to be live-servable at all). Today: the reconciliation-loop contracts (an independent witness compared against a ledger) exist; nothing yet re-reads a live production URL. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Does the production URL actually serve what was sealed — head, OG, metadata, and the materials index — independent of the hosting provider's own success signal?","businessLifecycleStage":"operate"}]},"imports":{"#publisher-web-views":{"types":"./dist/web/views/index.d.ts","default":"./dist/web/views/index.js","react-server":"./dist/web/views/server.js"},"#publisher-frame-navigation":{"types":"./dist/web/frame/NavDisclosure.client.d.ts","default":"./dist/web/frame/NavDisclosure.client.js","react-server":"./dist/web/frame/NavDisclosure.server.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node ../../scripts/check-name-collision.mjs . && npm run build","check:preview-css":"node scripts/preview-css.mjs --check","generate:preview-css":"node scripts/preview-css.mjs --write"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"8c63dd08-c972-407c-9371-363bd92ac813"}},"repository":{"url":"git+https://github.com/clossys/foundry.git","type":"git","directory":"packages/publisher"},"_npmVersion":"11.17.0","description":"The publisher role: did we put it out to an audience, and can we prove what shipped? Surface composition, media registries, and channel renderers for web, email, print, images, and slides, plus a product-neutral structured-document contract, under `./core","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"@clossys/writer":"^0.6.0","@clossys/designer":"^0.11.0","@clossys/controller":"^0.10.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^29.1.1","react":"^19.3.0","vitest":"^5.0.1","esbuild":"0.28.2","react-dom":"^19.3.0","typescript":"~6.0.0","@types/node":"^26.6.3","tailwindcss":"^4.3.3","@types/react":"^19.3.0","tailwind-merge":"^3.7.0","@types/react-dom":"^19.3.0","react-aria-components":"^1.21.1","@testing-library/react":"^16.3.3","@internationalized/date":"^3.12.3","@testing-library/jest-dom":"^7.0.1","@testing-library/user-event":"^14.6.7"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":"^4.0.0","tailwind-merge":"^3.7.0","react-aria-components":"^1.19.0","@internationalized/date":"^3.12.2"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"tailwindcss":{"optional":true},"tailwind-merge":{"optional":true},"react-aria-components":{"optional":true},"@internationalized/date":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/publisher_0.12.0_1792139345247_0.29272624396066305","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"_id":"@clossys/publisher@0.13.0","bin":{"publisher-seal":"dist/pack/seal-cli.js","publisher-preview":"dist/preview/cli.js","publisher-head-lint":"dist/pack/head-lint-cli.js","publisher-rate-check":"dist/verified-publication-rate-cli.js","publisher-media-check":"dist/media/cli.js","publisher-record-check":"dist/record/cli.js","publisher-web-route-check":"dist/web/checkWebRoutesCli.js","publisher-site-instantiate":"dist/site-template/instantiate-cli.js"},"bugs":{"url":"https://github.com/clossys/foundry/issues"},"dist":{"shasum":"03702583d58d8e8d8174a39810ca3876f212eb19","tarball":"https://registry.npmjs.org/@clossys/publisher/-/publisher-0.13.0.tgz","fileCount":1349,"integrity":"sha512-r6pidgHvxIa3BKpRB1Rs8fJtB6VB3LhObjIhXofZTaTApSuuchkmf6VmTijvCIGwPh3y9wZmMWVnv38ulefMkA==","signatures":[{"sig":"MEYCIQCipPbHhoubMyM+m+qYkki13SrMGPBdCw0wR5q3d9VMTQIhAOr2jrs+37+Y1GCHjzLDijWVuO2QnVLWTN/EY4KlJOpS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAUTOmGbL5G2J06o9YNyvflGnxh8viPHbl8YBzP2laqhAiBNnwwZeVv1IdFHEcoEAAGtMpcpqy1C/tTgefRTtvJVJQ=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@clossys%2fpublisher@0.13.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6759715},"name":"@clossys/publisher","type":"module","author":{"name":"Clossys"},"engines":{"node":">=20"},"exports":{"./web":{"types":"./dist/web/index.d.ts","import":"./dist/web/index.js","react-server":"./dist/web/server.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js"},"./pack":{"types":"./dist/pack/index.d.ts","import":"./dist/pack/index.js"},"./email":{"types":"./dist/email/index.d.ts","import":"./dist/email/index.js"},"./image":{"types":"./dist/image/index.d.ts","import":"./dist/image/index.js"},"./media":{"types":"./dist/media/index.d.ts","import":"./dist/media/index.js"},"./print":{"types":"./dist/print/index.d.ts","import":"./dist/print/index.js"},"./record":{"types":"./dist/record/index.d.ts","import":"./dist/record/index.js"},"./slides":{"types":"./dist/slides/index.d.ts","import":"./dist/slides/index.js"},"./testing":{"types":"./dist/testing/index.d.ts","import":"./dist/testing/index.js"},"./document":{"types":"./dist/document/index.d.ts","import":"./dist/document/index.js"},"./surfaces":{"types":"./dist/surfaces/index.d.ts","import":"./dist/surfaces/index.js"},"./materials":{"types":"./dist/materials/index.d.ts","import":"./dist/materials/index.js"},"./templates":{"types":"./dist/templates/index.d.ts","import":"./dist/templates/index.js"},"./assessment":{"types":"./dist/verified-publication-rate.d.ts","import":"./dist/verified-publication-rate.js"},"./web/client":{"types":"./dist/web/client.d.ts","import":"./dist/web/client.js"},"./web/consent":{"types":"./dist/web/consent/index.d.ts","default":"./dist/web/consent/index.js","react-server":"./dist/web/consent/refuse-react-server.js"},"./consent-copy":{"types":"./dist/consent-copy/index.d.ts","browser":"./dist/consent-copy/refuse-browser.js","default":"./dist/consent-copy/index.js"},"./web/consent/preview":{"types":"./dist/web/consent/preview/index.d.ts","default":"./dist/web/consent/preview/refuse-non-development.js","development":"./dist/web/consent/preview/index.js","react-server":"./dist/web/consent/preview/refuse-react-server.js"}},"foundry":{"fit":"fit-signals.json","feeds":[{"path":"clossys/publisher/surfaces/","artifact":"surface-documents"}],"needs":[{"artifact":"strategy-brief","producerRole":"@clossys/strategist"},{"artifact":"token-contract-and-brand-overlay-binding","producerRole":"@clossys/designer"},{"artifact":"copy-registry","producerRole":"@clossys/writer"},{"artifact":"keep-verdict","producerRole":"@clossys/customer"}],"solves":[{"metric":"verified publication rate","problem":"publisher-verified-release","evidence":"designed","proofCase":"rate-violated","statement":"We're not sure what's actually live, or that it matches what we approved.","capability":"sealing-and-the-publication-record"}],"outputs":["clossys/publisher/pack.json","clossys/publisher/surfaces/"],"assessment":{"bin":"publisher-rate-check","invocation":"single-json-input"},"capabilities":[{"id":"v0-launch-pack-planning-and-inventory","v0":true,"inputs":[{"artifact":"strategy-brief","producerRole":"@clossys/strategist"},{"artifact":"brand-kit-assembly","producerRole":"@clossys/designer"},{"artifact":"messaging-kit","producerRole":"@clossys/writer"}],"outputs":["clossys/publisher/pack.json"],"maturity":"planned","proofCase":null,"worldClass":"Every new product gets one declared inventory (clossys/publisher/pack.json, #1204) of what the v0 Launch pack owes it and what state each item is actually in — status, condition, version, source pins — never assembled ad hoc per product. Today: `src/pack/` ships the manifest contract (#1204) — `validatePackManifest` (schema, needs-graph, and lifecycle-vocabulary validation), `computePackReadiness`/`planPackOrder`/`sealableItemIds` (readiness and sealing order derived from the needs graph), and `detectExistingPackItems`/`foundPackItem` (adopt-don't-override detection with sha256 fingerprints) — as library functions over `PackManifest`; no CLI yet assembles or checks a real product's `clossys/publisher/pack.json` from them. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"What does this product owe its v0 Launch pack, and what already exists versus is still needed?","businessLifecycleStage":"launch"},{"id":"surface-documents","v0":true,"inputs":[{"artifact":"copy-registry","producerRole":"@clossys/writer"},{"artifact":"components-and-blocks","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/surfaces/"],"maturity":"planned","proofCase":null,"worldClass":"Every published surface is one validated SurfaceDocument resolving to a registered template and a real channel location — never a page composed ad hoc outside the document. Today: `validateSurfaceDocument` and `resolveSurfaceDocument` (`src/core/`) validate and resolve one document as library functions, and the shipped site template (`templates/site/app/*/page.tsx`) reads `clossys/publisher/surfaces/*.json` at build time, but no bin yet validates a consumer's own surface documents. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is every audience-facing surface declared once as a validated document, with its template and locations resolved?","businessLifecycleStage":"launch"},{"id":"channel-rendering","v0":true,"inputs":[{"artifact":"token-contract-and-brand-overlay-binding","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/.generated/render-report.json"],"maturity":"built","proofCase":"preview-rendered","worldClass":"A surface document renders byte-identically to its golden fixture on every channel it declares, checked, never eyeballed per release.","subQuestion":"Does every declared surface render correctly to its channel — web, email, image, print, document, or slides?","businessLifecycleStage":"launch"},{"id":"templates-and-channel-specs","v0":true,"inputs":[],"outputs":["clossys/publisher/templates.json"],"maturity":"planned","proofCase":null,"worldClass":"A channel template is data — a declared block sequence and spec — never an arbitrary per-page build function, per #1207's full set (overview, deck, email kit, social profile, video-call backgrounds). Today: `src/templates/` ships `overviewTemplate.ts`, `deckTemplate.ts`, `emailSignature.ts` (`buildEmailSignatureHtml`/`buildEmailSignatureText`), and `channelSpecs.ts` (`SOCIAL_CHANNEL_SPECS`, `OG_SHARE_CARD_SPEC`, `VIDEO_CALL_BACKGROUND_SPECS`, `staleChannelSpecEntries`) alongside the earlier web page templates (#1207); nothing yet assembles them into the declared `clossys/publisher/templates.json` output or checks them from a bin. `publisher-preview` renders from these templates and specs using built-in fixtures, but checks nothing about them. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is every channel's template and spec declared once and reused, never improvised per page?","businessLifecycleStage":"build"},{"id":"materials-site","v0":true,"inputs":[{"artifact":"messaging-kit","producerRole":"@clossys/writer"},{"artifact":"brand-kit-assembly","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/materials/index.json"],"maturity":"partial","proofCase":"preview-rendered","worldClass":"One assembled, current internal index (#1206) carries every version of the company overview (short/medium/long) and pitch deck (HTML slides with audience variants), each with a print stylesheet, opened locally or handed to a client — never a scatter of one-off files assembled by hand. Not a publicly deployed site: that is #1208's separate apps/site template. Today: `src/materials/` ships `renderMaterialsIndexHtml`, `renderPitchDeckHtml`, `selectAudienceVariant`, and `materialsPrintStylesheet` (#1206), but `renderMaterialsIndexHtml` takes its entries as a plain argument — nothing yet reads a product's own `clossys/publisher/pack.json` to derive them, or writes the declared `clossys/publisher/materials/index.json` output from a bin.","subQuestion":"Is there one internal, locally opened materials index a client can browse every version of?","businessLifecycleStage":"launch"},{"id":"channel-kits","v0":true,"inputs":[{"artifact":"messaging-kit","producerRole":"@clossys/writer"},{"artifact":"logo-and-identity-files","producerRole":"@clossys/designer"}],"outputs":["clossys/publisher/channel-kits.json"],"maturity":"planned","proofCase":null,"worldClass":"Every channel (email signatures, social profiles, video-call backgrounds, per #1207) has one governed kit of checked assets and copy slots at the exact sizes and roles that channel requires — never assembled by hand per send. Today: `buildEmailSignatureHtml`/`buildEmailSignatureText` and the channel spec registry (`src/templates/`) exist, and `publisher-preview` renders an email signature and social and video-call cards from built-in fixtures, but nothing assembles or checks a governed per-channel kit or writes the declared `clossys/publisher/channel-kits.json`. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Is there one governed kit — assets, copy slots, specs — per channel a client can hand to that channel's own tool?","businessLifecycleStage":"launch"},{"id":"asset-roster-and-coverage","v0":true,"inputs":[],"outputs":["clossys/publisher/asset-roster.json"],"maturity":"built","proofCase":"media-satisfied","worldClass":"Every image/video asset a document binds resolves to a registered roster entry (favicon, OG, Twitter, email-safe, app icons…) at its required pixel size with alt text — checked both directions, never a broken or orphaned reference.","subQuestion":"Does every asset a document references resolve to a registered, checked entry at its required role and size?","businessLifecycleStage":"build"},{"id":"route-and-visibility-governance","v0":true,"inputs":[],"outputs":["clossys/publisher/routes.json"],"maturity":"partial","proofCase":"web-routes-clean","worldClass":"Every route composes only through a registered SurfaceDocument template -- never Designer blocks assembled directly in a route file -- and declares visibility as `internal` or `public` (#1204; supersedes the earlier public/unlisted/access-protected model #1206 retired); a route serving an internal-only item is refused, never silently served. Today: `PACK_VISIBILITIES` (`internal`/`public`) and `checkMaterialsVisibility` declare and check visibility at the materials level (#1206), but `checkWebRoutes`/`publisher-web-route-check` still checks only the route-to-template mapping -- no route-level visibility declaration or internal-route refusal runs yet.","subQuestion":"Does every publishing web route resolve to a registered template, with visibility declared as internal or public rather than inferred, and internal-only routes refused from serving?","businessLifecycleStage":"launch"},{"id":"site-template","v0":true,"inputs":[{"artifact":"route-and-visibility-governance","producerRole":"@clossys/publisher"}],"outputs":["clossys/publisher/site.json"],"maturity":"planned","proofCase":null,"worldClass":"An apps/site template (#1208) renders Publisher's web views and Designer's theme, reading copy, tokens, and assets from clossys/ at build time and never copying them — routes for landing, about, contact, privacy/terms, 404, metadata, sitemap, robots, all included. Today: `templates/site/` ships all of the above (#1208), plus `web-route-manifest.json` for `publisher-web-route-check`, but is template content copied by Launcher (#1215) into a consumer repository, not part of this package's own npm workspace — its own README says plainly it is \"not built, typechecked, or tested\" by this repository's `npm run build`/`npm run typecheck`/`npm test`, and Launcher's own apply step (#1215) is still a follow-up. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Does a product repository get a working marketing site wired to its team's own records from the first commit?","businessLifecycleStage":"launch"},{"id":"sealing-and-the-publication-record","v0":true,"inputs":[{"artifact":"keep-verdict","producerRole":"@clossys/customer"}],"outputs":["clossys/publisher/record.json"],"maturity":"built","proofCase":"record-append-only-clean","worldClass":"Every publication event is appended once to an immutable record — never overwritten, never silently lost — and every fact cited in what was sealed is re-checked against the current source value at seal time, with drift reported, never assumed absent. A surface seals only once Customer has recorded a keep.","subQuestion":"Once published, is the exact shipped result sealed into an immutable, append-only record, with every cited fact still current?","businessLifecycleStage":"deliver"},{"id":"live-parity","v0":false,"inputs":[{"artifact":"sealing-and-the-publication-record","producerRole":"@clossys/publisher"}],"outputs":["clossys/publisher/.generated/live-parity-report.json"],"maturity":"planned","proofCase":null,"worldClass":"`verify` (#1209) proves the live site actually serves what was sealed -- head, OG, and metadata for public surfaces -- independently re-reading the live URL, never trusting the deploy provider's own \"success\" status. Scoped to public surfaces only, per #1206 (materials visibility is declared per item; an internal item is never expected to be live-servable at all). Today: the reconciliation-loop contracts (an independent witness compared against a ledger) exist; nothing yet re-reads a live production URL. No qualification case exercises this capability yet, so it is `planned` with no `proofCase` (#1272).","subQuestion":"Does the production URL actually serve what was sealed — head, OG, metadata, and the materials index — independent of the hosting provider's own success signal?","businessLifecycleStage":"operate"}]},"imports":{"#publisher-web-views":{"types":"./dist/web/views/index.d.ts","default":"./dist/web/views/index.js","react-server":"./dist/web/views/server.js"},"#publisher-frame-navigation":{"types":"./dist/web/frame/NavDisclosure.client.d.ts","default":"./dist/web/frame/NavDisclosure.client.js","react-server":"./dist/web/frame/NavDisclosure.server.js"}},"license":"MIT","private":false,"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node ../../scripts/check-name-collision.mjs . && npm run build","check:preview-css":"node scripts/preview-css.mjs --check","generate:preview-css":"node scripts/preview-css.mjs --write"},"version":"0.13.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"8c63dd08-c972-407c-9371-363bd92ac813"}},"homepage":"https://github.com/clossys/foundry/tree/main/packages/publisher#readme","keywords":["publisher","composition","render","web","email","print","image","slides","ledger","append-only","attribution","drift","content-addressed","typescript"],"repository":{"url":"git+https://github.com/clossys/foundry.git","type":"git","directory":"packages/publisher"},"_npmVersion":"11.17.0","description":"The publisher role: did we put it out to an audience, and can we prove what shipped? Surface composition, media registries, and channel renderers for web, email, print, images, and slides, plus a product-neutral structured-document contract, under `./core","directories":{},"maintainers":[{"name":"thecalvinhung","email":"hello@clossys.com"}],"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"@clossys/writer":"^0.6.0","@clossys/designer":"^0.12.0","@clossys/controller":"^0.10.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^29.1.1","react":"^19.3.0","vitest":"^5.0.1","esbuild":"0.28.2","react-dom":"^19.3.0","typescript":"~6.0.0","@types/node":"^26.6.3","tailwindcss":"^4.3.3","@types/react":"^19.3.0","tailwind-merge":"^3.7.0","@types/react-dom":"^19.3.0","react-aria-components":"^1.21.1","@testing-library/react":"^16.3.3","@internationalized/date":"^3.12.3","@testing-library/jest-dom":"^7.0.1","@testing-library/user-event":"^14.6.7"},"peerDependencies":{"react":">=18","react-dom":">=18","tailwindcss":"^4.0.0","tailwind-merge":"^3.7.0","react-aria-components":"^1.19.0","@internationalized/date":"^3.12.2"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"tailwindcss":{"optional":true},"tailwind-merge":{"optional":true},"react-aria-components":{"optional":true},"@internationalized/date":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/publisher_0.13.0_1792185290049_0.09038882195785525"}}},"time":{"created":"2026-08-31T21:02:06.085Z","modified":"2026-10-16T21:14:50.585Z","0.1.10":"2026-08-31T21:02:06.589Z","0.2.1":"2026-09-01T12:02:36.037Z","0.4.1":"2026-09-04T03:02:22.353Z","0.4.3":"2026-09-14T13:09:06.994Z","0.4.4":"2026-09-16T05:32:25.010Z","0.4.5":"2026-09-19T05:59:18.552Z","0.7.0":"2026-09-24T21:03:20.007Z","0.8.0":"2026-10-02T13:31:16.977Z","0.8.1":"2026-10-04T21:25:14.044Z","0.9.0":"2026-10-13T04:05:33.743Z","0.10.0":"2026-10-14T15:44:12.580Z","0.11.0":"2026-10-15T01:07:13.439Z","0.12.0":"2026-10-16T08:29:05.455Z","0.13.0":"2026-10-16T21:14:50.225Z"},"bugs":{"url":"https://github.com/clossys/foundry/issues"},"author":{"name":"Clossys"},"license":"MIT","homepage":"https://github.com/clossys/foundry/tree/main/packages/publisher#readme","keywords":["publisher","composition","render","web","email","print","image","slides","ledger","append-only","attribution","drift","content-addressed","typescript"],"repository":{"url":"git+https://github.com/clossys/foundry.git","type":"git","directory":"packages/publisher"},"description":"The publisher role: did we put it out to an audience, and can we prove what shipped? Surface composition, media registries, and channel renderers for web, email, print, images, and slides, plus a product-neutral structured-document contract, under `./core","maintainers":[{"name":"thecalvinhung","email":"hello@clossys.com"}],"readme":"# @clossys/publisher\n\n**The publisher role — did we put it out to an audience, and can we prove\nwhat shipped?** This package is named for the job, not the artifact: it is\nrecut from two donor packages, `@example/surface` (the composer half\n— eight subpaths, unchanged) and `@example/ledger` (the record half,\nnow the `./record` subpath), per\n[decision 10](../../docs/DECISIONS.md#10-recutting-the-expression-surface-into-role-shaped-packages).\nThe vocabulary inside each half is unchanged: renaming the role does not\nrename what it composes or what it records.\n\n```bash\nnpm install @clossys/publisher\n```\n\nThis package is published to `https://registry.npmjs.org` with public\naccess; installing it requires no authentication.\n\n## Verified publication rate\n\nIndependent consumer evidence shows the position's owned metric meets its\nsetpoint over the declared review cadence. The owned metric is `verified\npublication rate`, computed by `assessVerifiedPublicationRate()`. An empty\nevaluated set is `indeterminate`, never a perfect rate of 1.\n`publisher-media-check` and `publisher-record-check` remain the gates they\nare; neither is this rate. The record half still records and does not\njudge. This package does not measure consumer evidence and does not close\nthe loop. A green run of this package's tests is not a close.\n\n```ts\nimport { assessVerifiedPublicationRate } from \"@clossys/publisher/assessment\";\n\nconst report = assessVerifiedPublicationRate(input);\n```\n\n```bash\npublisher-rate-check assessment.json\n```\n\nThe command prints JSON and exits `0` for satisfied, `1` for violated, and\n`2` for indeterminate, unreadable, or invalid input.\n\nThis package declares that command as its first-day assessment surface in\nits own manifest:\n\n```json\n\"foundry\": { \"assessment\": { \"bin\": \"publisher-rate-check\", \"invocation\": \"single-json-input\" } }\n```\n\nOnboarding discovers that declaration from the installed manifest and never\ninfers a surface. `publisher-media-check` and `publisher-record-check`\nremain gates and are not the assessment surface. Publisher is not a\nrequired first-day role; Advisor remains the only required first-day\nassessment.\n\n## The job\n\n**Aim** — every audience-facing release is accounted for in an immutable\npublication record, and nothing in the record names something that never\nshipped.\n\nPublisher is a **reconciliation** role, not a gate over a source tree. It\ndoes not scan prose or stylesheets and return a verdict the way `writer-check`\nor `designer-fold-check` do. It compares **two records that can disagree**:\nwhat an independent observer reports was released to an audience, and what\nthe append-only ledger says was published.\n\n## Escape\n\nAn **escape** is either:\n\n1. **Unrecorded release** — something reached an audience with no matching\n   immutable publication record.\n2. **Phantom record** — the ledger names a publication that never shipped, or\n   names bytes or strategy citations that no longer match what actually went\n   out.\n\nA green run of this package's own tests, or a ledger authored from the same\nknowledge that would check it, is **not** evidence of zero escapes — that is\nthe house failure pattern this role exists to prevent.\n\n## The metric\n\nThe charter metric is **`verified publication rate`**: due publication\nintents where independent observers report both audience release and a\nmatching immutable record, divided by all due intents actually evaluated. An\nempty evaluated set is **indeterminate**, never a perfect rate of 1. See\n[Verified publication rate](#verified-publication-rate) above for\n`assessVerifiedPublicationRate()` and `publisher-rate-check`.\n\n`publisher-media-check` reports registry coverage (referenced asset ids vs\nregistered entries). `publisher-record-check` reports fact drift, append-only\nintegrity, and join-key completeness on a ledger a consumer already holds.\nThose counts are **inputs** to reconciliation; none of them is the charter\nrate, and none of them alone proves the escape surface is closed.\n\n## Loop\n\n- **sense** — enumerate due publication intents; collect independent\n  observations of audience release; hold the append-only ledger and the fact\n  snapshot `publisher-record-check` compares against.\n- **judge** — `assessVerifiedPublicationRate()` for the charter metric;\n  `publisher-record-check` for drift, append-only violations, and join-key\n  gaps on declared ledger entries.\n- **act** — append an immutable `PublicationEntry` when something ships;\n  remediate drift findings and missing join keys; retract or supersede\n  entries when a release is withdrawn.\n- **learn** — repeated `indeterminate` or `violated` assessments, or drift\n  findings that keep reopening on the same intent, signal that the publish\n  path is not emitting a record an observer can match — not that the gate\n  needs softer rules.\n\n**Measurer today:** `publisher-rate-check` (charter metric from\nconsumer-supplied observations) and `publisher-record-check` (ledger gates).\n**Blocker:** nothing in this package yet produces a **second**,\npublish-path-emitted view of what actually shipped for an automatic\nreconcile — issue #502 tracks that gap. Until two independent records exist,\nevery rate reads **unmeasured** rather than zero; treat silence as\nindeterminate, not health.\n\n## Close condition\n\nThis loop closes when **`verified publication rate` reads satisfied** from\n**independent consumer evidence** over a non-empty set of due intents — each\nintent independently observed with both `audienceReleased` and\n`matchingImmutableRecord` — and when reconciliation machinery can compare\nthat evidence to a publish-path-emitted ledger without hand-copying the same\nfacts into both sides.\n\nIt does **not** close when: no observer runs the assessment; the evaluated\nset is empty; `publisher` observes itself; or the ledger and the \"what\nshipped\" view share one author. A consumer wiring `publisher-record-check` in\nCI proves ledger **shape** integrity, not that the escape surface is zero.\n\nThat close is **not claimed today** — the reconciler gap in #502 is the long\npole. This README states the contract so the gap stays visible instead of\nreading as a perfect zero escape rate from outside.\n\n## Public entry points\n\nUse explicit subpaths:\n\n- `@clossys/publisher/assessment` — `assessVerifiedPublicationRate`, the charter close metric. Empty evaluated set is indeterminate, never 1. The CLI is `publisher-rate-check`.\n- `@clossys/publisher/core` — canonical `SurfaceDocument` contract, validation, copy/media resolution, and output manifests.\n- `@clossys/publisher/media` — media registry, reader, and coverage check.\n- `@clossys/publisher/web` — web composition, head metadata (including site identity metadata and its head lint), and the dedicated\n  resolved-model `SectionedView` renderer. Under React's\n  `react-server` export condition it resolves a server-safe target with the\n  same runtime export names and Designer's server-only component barrels;\n  ordinary imports retain the interactive React Aria FAQ.\n- `@clossys/publisher/web/consent` — the client-only browser consent assembly: `ConsentExperience`, `bindTransport`, `useAnalyticsAllowed` and `useConsentStatus`. Under `react-server` it resolves a module that throws at import. See \"Browser consent,\" below.\n- `@clossys/publisher/web/consent/preview` — the fixed-clock consent preview for development review. It resolves only under the `development` condition; every other condition, and `react-server`, resolves a module that throws at import.\n- `@clossys/publisher/consent-copy` — server-only consent copy resolution, `resolveConsentCopy`. Under the `browser` condition it resolves a module that throws at import.\n- `@clossys/publisher/document` — the product-neutral structured-document contract (sections, paragraphs, lists, tables, callouts, safe links) and its renderer.\n- `@clossys/publisher/email`, `/print`, `/image`, `/slides` — channel renderers.\n- `@clossys/publisher/record` — the append-only, content-addressed publication ledger and its drift checker. See \"`record` — the append-only publication ledger,\" below.\n- `@clossys/publisher/pack` — the v0 Launch pack manifest contract: types, schema validation, needs-graph readiness, adopt-don't-override detection, and the evidence-gated website seal (`publisher-seal`) and the rendered-head lint (`publisher-head-lint`). See \"The pack,\" below.\n- `@clossys/publisher/surfaces` — the one-owner-per-file contract for surface documents under `clossys/publisher/surfaces/`. See \"Surface documents move to Publisher,\" below.\n- `@clossys/publisher/materials` — the materials mini-site (overviews, pitch decks, audience variants). See \"Materials site,\" below.\n- `@clossys/publisher/templates` — the pack's default templates and the channel spec registry. See \"Templates and channel specs,\" below.\n- `@clossys/publisher/testing` — a test-support check that a consumer's front-door surfaces (sign-in, boundary and error pages) hold the shared invariants. See \"Front-door conformance,\" below.\n\nThe package has no root export. `core` is deliberately framework-agnostic;\nthe web and document subpaths have optional React peers, while `web` also\ndeclares Designer's optional runtime peers directly so a public-registry\nconsumer receives a complete, inspectable peer contract. Non-web renderers do\nnot require them at runtime. `record` is pure and has no peer dependencies of\nits own.\n\nThe web condition changes only the implementation selected for server\nrendering, not the API. `MarketingView` keeps the same props and regional\nlayout; its server target uses Designer's native `details`/`summary` FAQ while\nthe ordinary target keeps Designer's React Aria FAQ. `SiteFrame`, `AuthView`,\n`StatusView`, `GlobalErrorDocument`, `ErrorView`,\n`CaptureView`, `CollectionView`, `DocumentView`, `LegalView`, the renderer functions,\ntemplate helpers, error class, and all runtime export names are present in\nboth targets.\n\n## Why `publisher` is one package, not two\n\nComposition without a record is unprovable, and every time the publisher\nruns, the record runs — there is no publish that legitimately skips it. That\nargues for one install and one version, which one package with a `./record`\nsubpath delivers.\n\nThe measurement that originally argued for two separate packages is\naccommodated rather than overturned: **the record shares no code with the\ncomposer and does not import it**, so the two import surfaces stay genuinely\nseparate under one version. Fusing the *packaging* was never the same as\nfusing the *dependency graph*, and only the second would have cost anything —\nsee \"`record` — the append-only publication ledger,\" below, for the half\nthat proves it: a publication record is a DOCUMENT the composer never\nimports.\n\n## Scope: this package renders and validates. It does not compose.\n\nStated plainly because evaluating it and discovering this costs real time:\n**there is no compose step here, and there will not be one.** Nothing in this\npackage takes an intent, a brief, or a content plan and *selects* a template\nto put it in. Every export is a `render*`, a `resolve*`, or a `validate*`.\n\nThe boundary is: a caller authors a `SurfaceDocument` — naming its template\nexplicitly — and this package validates it, resolves its copy and assets\nagainst real approved registries, renders it for a channel, and reports what\nit did. Deciding *which* document to build, from *what* intent, is the\nconsumer's job and stays there.\n\nThis is a scope decision, not a gap awaiting a contributor. Template selection\nis where product judgement lives: which page shape serves which audience at\nwhich moment is exactly the reasoning a shared package cannot hold for someone\nelse, and a `compose(intent, target)` that guessed would be wrong in a way\nthat is expensive to discover and impossible to override cleanly. Drawing the\nline at \"you name the template, we guarantee everything after it\" is what lets\nthis package promise something real — validated content, resolved copy\nprovenance, deterministic output — instead of promising judgement it does not\nhave.\n\nWhat that leaves the consumer owning: intent-to-template selection, and any\ncatalog of their own templates worth selecting from. What it leaves this\npackage owning: everything from a named template onward.\n\nMaking the *set* of selectable web templates extensible is a separate and\ngenuinely open question — see the template-registry proposal in this\nrepository's issues. That is about who may add a template, not about who picks\none; extensibility does not imply composition.\n\n## SurfaceDocument and renderer boundary\n\n`SurfaceDocument` is the canonical authored contract. It replaces the\nstring-bearing `ComposeDocument` with `CopyRef` values for audience-facing\nslots and metadata: web titles/descriptions, email subjects/preheaders, image\nalt text, and slide notes. A binding is exactly one of `copy`, `node`, or\n`assetId`; `node` preserves an explicit consumer-provided interactive/rich UI\nnode without pretending it is copy. Use `resolveSurfaceDocument(surface,\ncopyResolver)` at render time: it\nvalidates the canonical document, resolves every required `CopyRef` against a\nreal approved registry, returns renderer-facing data plus the full resolution\nprovenance, and fails closed for invalid, missing, or unsupported node\nbindings. New consumer code authors `SurfaceDocument`; `ComposeDocument` is\nthe renderer-facing shape produced by this package, not a consumer migration\nAPI.\n\nWeb and email templates use `FlowLayoutSpec`, which contains ordered keys and\nrequiredness only. Print, slides, and image surfaces use `CanvasLayoutSpec`\nwith frames and element kinds. This prevents flowed surfaces from carrying\nfictional canvas geometry.\n\n### Repeating-group bindings\n\nA `SurfaceDocument`'s `bindings` array accepts two shapes: a\n`SurfaceSlotBinding` (one slot, exactly one of `copy`/`node`/`assetId`, as\nabove) or a `SurfaceRepeatingSlotBinding` — the same slot, bound to an\n**ordered list** of items instead of a single source. This closes part of\nissue #166: a template can commit a slot to holding N items (a capability\ngrid, a stat band, a testimonial list) where N is a run-time fact the\ntemplate's own layout cannot encode, since `FlowLayoutSpec`/`CanvasLayoutSpec`\nname a slot once, not \"this slot, repeated.\"\n\nA repeating binding still names one explicit slot the consumer already\ndecided exists — it does not select a template or invent a slot, the same\nboundary every other binding in this package holds to (see \"Scope,\" above).\nEach item in `items` independently obeys the identical exactly-one-of\ndiscipline a single binding does. For a one-value item, use `copy`, `node`,\nor `assetId` as before. For ordinary multi-field editorial content, use one\nnamed `fields` map instead; each field is exactly one `copy` or `assetId`\nbinding. A field may never be a `node`, so structured copy cannot bypass the\nregistry, voice checks, locale selection, or output provenance.\n\n```ts\nimport type { SurfaceDocument } from \"@clossys/publisher/core\";\n\nconst acmeCapabilities: SurfaceDocument[\"bindings\"][number] = {\n  slot: \"capabilities\",\n  items: [\n    { copy: { id: \"acme.capability.one\" } },\n    { copy: { id: \"acme.capability.two\" } },\n    { assetId: \"acme.capability.icon.three\" },\n  ],\n};\n```\n\nTemplates opt into structured items by declaring their accepted field names\nand requiredness in `repeatingSlots`. At render time, an unknown field, a\nmissing required field, a malformed field map, or a legacy one-value item\nagainst a structured slot fails closed. A field map against a slot that did\nnot declare fields fails closed too. This keeps the template—not a caller's\nad hoc object—the authority for the repeating item's shape.\n\n`items` may be an empty array. That is a deliberate choice, not an\noversight: this package cannot tell \"the consumer configured zero of these\non purpose\" (a legitimately-empty testimonial list) apart from \"something\nupstream failed to populate this,\" so it validates an explicit `items: []`\nas clean rather than guessing. See `types.ts`'s `SurfaceRepeatingSlotBinding`\ndoc comment for the fuller reasoning.\n\n`resolveSurfaceDocument` resolves a repeating binding's items in order and\nreturns them on `ResolvedSurfaceDocument.groups` — an array of\n`{ slot, items: [{ index, value?, node?, assetId?, fields? }, ...] }` — rather than\nfolding them into the legacy `ComposeDocument.bindings` shape, which has no\nway to carry more than one source per slot. `groups` is omitted entirely\n(not an empty array) on a document with no repeating binding, so an existing\nsingle-binding-only `SurfaceDocument` resolves identically to before this\nexisted. A bad item — an unresolvable `CopyRef`, same as any single\nbinding's — fails the whole `resolveSurfaceDocument` call with a message\nnaming the specific item (`bindings.N.items.M`), the same fail-closed,\nall-or-nothing contract this function already holds for a single binding;\nit does not invent a second, partial-success mode just because the content\nis array-shaped. Per-item copy resolutions flow into the same\n`resolutions`/`collectCopyProvenance` provenance path a single binding's\ndoes, so a repeating-group slot shows up in manifest provenance per item,\nnot just per slot — see `output-manifest.ts`. A structured field resolved\nfrom `assetId` instead carries registry-validated asset evidence into the\ntarget renderer; it has no copy provenance because it is not copy.\nAt the public `RenderWebOptions.groups` boundary, items must retain the\nresolver's contiguous source order: item `index` is exactly its zero-based\narray position. This prevents a direct caller from silently reordering,\nduplicating, or sparsifying the authored group after resolution.\n\n### Structured repeating-item migration and planned semver boundary\n\nPublisher `0.1.10` exposed the FAQ repeat as a legacy one-value/node-shaped\ncontract. That shape cannot represent two separately governed editorial\nfields, and it is not compatible with the structured FAQ contract above.\nMigrate each FAQ item from a caller-authored node to explicit approved-copy\nfields:\n\n```ts\n// Before: legacy node-shaped FAQ item (do not carry this forward).\n{ node: { question: \"...\", answer: \"...\" } }\n\n// After: every audience-facing field is a CopyRef.\n{\n  fields: {\n    question: { copy: ref(\"acme.faq.question\") },\n    answer: { copy: ref(\"acme.faq.answer\") },\n  },\n}\n```\n\nThis is a breaking contract correction, so Publisher source is now the planned\n`0.2.0` successor; a `^0.1.x` range must not satisfy it. The source is neither\nqualified nor published: an exact-head candidate and public dependency\nverification remain required before any release action.\n\n### Choosing a shipped view — closed kinds, `defineWebTemplate` for the rest\n\nName a shipped template when its slots cover the page:\n\n- **`MarketingView`** — pre-auth marketing landing (hero, features, optional\n  FAQ, CTA).\n- **`SectionedView`** — long public pages whose sections are exactly the\n  closed nine kinds (`hero`, `feature-grid`, `faq`, `ordered-step-sequence`,\n  `status-list`, `stat-grid`, `pricing`, `testimonial`, `stat`).\n- **`AuthView`** — one shell for every authentication step (sign-in, sign-up,\n  password reset, verification): the page header and the form inside\n  Designer's `Card`, rendered chrome-free inside a\n  [`SiteFrame`](#site-frame--siteframe); any deprecated chrome prop selects\n  the legacy page, which adds Designer's site header and site footer. The\n  card holds only the form;\n  `notes` (the alternate-step lines, such as \"Forgot password?\" or\n  \"No account? Join the waitlist\") renders below it, before the footnote, and\n  is always the site's copy. `secondaryAction` is the deprecated name of\n  `notes` and renders in the same place; passing both throws. Optional\n  `noAccountPrompt` and `requestAccessLabel` hold caller copy and a labeled\n  link. The view has no access mode and renders whatever prompt, label or\n  notes it is given, so invitation-only sign-in and activation pages omit\n  both props and request-access/sign-up notes, and each site's page test\n  should assert no request-access or sign-up text. Pass each `notes` line as one element: text plus a\n  link in one fragment splits onto two lines. When the sign-in provider is\n  unavailable, `isDisabled` keeps the form on screen inside a disabled\n  `<fieldset>` with the typed values still shown; the explanation goes in the\n  form's own `submitError`, and a retry link in `notes` stays\n  enabled. Switching `isDisabled` remounts the form, so the site keeps the\n  typed values in its own state. The content column uses the\n  `--ui-width-form-max` form measure, and `description` is a required prop\n  so every step decides on a supporting line. The form slot is filled with\n  Designer's `Form` / `TextField` / `Button`. There is no mode prop, and\n  the view does not call an auth provider. The view prints no developer\n  text: a missing sign-in provider setting is reported once in the server log\n  (for the Clerk adapter, `createClerkSignInPage` in\n  `@clossys/bouncer/providers/clerk/web/server` names the missing settings\n  there, never their values), and the page shows only the user-facing\n  unavailable message. `internalNote` is deprecated: it is still accepted,\n  with its earlier `{ label, message }` shape, for one release and renders\n  nothing; delete it from the call site. An auth page's\n  `footerSecondary` holds a legal row only, never a locale switcher, because\n  auth pages are single-locale. `SignInForm` fills the\n  form slot of a sign-in page. The header slots are listed under\n  [Front-door shell](#front-door-shell).\n- **`ErrorView`** (deprecated; use `StatusView`, or `AuthView` when the\n  state needs a card) — error shell, including the sign-in-boundary states: not\n  authorized (403), pending, revoked, and provider unavailable (503). It takes\n  the same props for each; the status, title, description, and recovery\n  action are the caller's copy. A diagnostic reference goes inline in the\n  description (`\"Something went wrong. Error: 8f2a91c0.\"`), there is no\n  details disclosure, and `action` holds one primary control: a secondary\n  destination is a text link inside the description.\n- **`BoundaryView`** (deprecated; use `StatusView`, or `AuthView` when the\n  state needs a card) — a boundary page: the page header block (`status`,\n  `title`, `description`), the `action` in a `Card` and the `notes` below\n  it. Inside a `SiteFrame` it renders that content only; passing any\n  deprecated chrome prop (`brand` is optional) selects the legacy page, which\n  adds Designer's `SiteHeader` (`brand`) and `SiteFooter` (`footerSecondary`,\n  optional). It takes every\n  `ErrorViewProps` key, so a site deletes its private copy of the\n  header/error/footer shell. It also frames the sign-in-boundary states. It\n  is not a built-in web template. See [Boundary pages](#boundary-pages).\n- **`StatusView`** — a whole-page status (not found, server error, no access,\n  expired link, unavailable, or a placeholder for a page that is not built\n  yet) on the [card-free layout](#card-free-layout): `status` as the one\n  `<h1>` (a code or a short title), plus optional `subtitle`, `action` and\n  `notes`. Chrome-free only. It replaces `ErrorView` and `BoundaryView`.\n- **`PackReviewView`** — the dev-only review index: the pack's strategy\n  brief, brand kit (through `BrandGuideView`) and voice and copy, then a\n  site's pages, their forced states, its exported artifacts and a lazy\n  contact sheet, each page and export with a `draft`, `delegated` or\n  `approved` badge. It uses the same frame as `AuthView`. See\n  [`PackReviewView`](#packreviewview).\n\n**Rule of thumb for a whole-page state.** A title, a subtitle and one action\nis `StatusView` (cardless). Content that needs a card to house it takes the\ncard view for that content: `AuthView` (a form, or a signed-in state that\nshows the account and a switch-account control), `CaptureView` (a capture\nform) or `DocumentView` (a document). `ErrorView` and `BoundaryView` still\nrender and are not removed, but new pages do not use them.\n\nIf a required band is not a slot on any shipped template and not one of the\nnine `SectionedView` kinds, **do not flatten** it into a one-item\n`feature-grid` or any other shipped kind — that produces a document that\nvalidates while the page is wrong. Register `defineWebTemplate` in the\nconsumer instead; its `build` function maps resolved slots to Designer\nblocks. That registry path is the public custom-page extension.\n\nComposing Designer blocks directly in an unregistered route file can work as\na one-off, but it is a workaround: it bypasses the template registry,\n`validateSurfaceDocument`/`resolveSurfaceDocument`, and copy provenance for\nthat page shape. Prefer `defineWebTemplate` + `createWebRenderer` so the\npage stays provable.\n\n### View vocabulary\n\nThree words describe how a page uses a view:\n\n- **Standard.** A published Clossys view used as it ships, through its props,\n  slots and copy references only, such as `StatusView` with a status, a\n  subtitle and a link home.\n- **Custom.** A published view customized through its sanctioned extension\n  points: extra slot content (a form in `AuthView`'s form slot, a notes\n  line), theme tokens, `SectionedView` section kinds and copy. It still\n  conforms to the framework and stays inside the catalog contract. A thin\n  wrapper that fixes some props is a custom use, not a new view.\n- **Unique.** A one-off view owned by a single consumer, for a page no\n  published view can express. It is built from Clossys assets\n  (`defineWebTemplate`, Designer blocks, Publisher's page layouts), checked\n  with `checkFrontDoor` (and `publisher-web-route-check` for the route\n  manifest), and exported from the consumer, not from a Clossys package. It\n  is never hand-built in a route file.\n\nAll copy reaches a view as a `CopyRef` or as a string resolved through\n`@clossys/writer`; consumer code passes no literal copy in view props. The\nexamples in this README use literal strings for brevity only.\n\n**Catalog direction.** Every main-navigation page, the home page included, is\nto be one view, `LandingView`: a hero alone fills the screen; a hero with\ncontent below it shows a sliver of that content and a scroll hint.\n`LandingView` now ships as a sectioned page (documented below), and\n`HeroView` is the single-screen hero-only page (the view named `LandingView`\nbefore this release). `MarketingView` and `SectionedView` still ship as\ndocumented below; `SectionedView` is to stay as an internal engine rather\nthan a catalog entry, and `MarketingView` folding into `LandingView` lands\nin a later release.\n\n### Pre-auth marketing pages — `MarketingView` first\n\nFor a pre-auth marketing landing page, use `MarketingView` (header, Hero with\noptional `heroMedia` and `heroActions`, feature grid, optional FAQ, CTA band,\nshell) and fill its slots. In the first viewport, ship exactly one primary CTA\nin `heroActions`; `heroMedia` must be the product surface or original art, not\ndecorative stock imagery. See\n[`MarketingView`](#marketingview--the-flowed-marketing-template) below. When\nthe page needs a Designer block that is not a MarketingView slot, import that\nnamed block in your page module. Do not flatten into `SectionedView` —\nthat document assembler is not the pre-auth path.\n\n### `SectionedViewDocument` — Designer-independent long-page core\n\n`@clossys/publisher/core` now owns the closed, data-only source model for a\nlong public site page: `SectionedViewDocument`. It requires one or more\nordered sections with unique lowercase fragment-safe ids and one of ten\nnamed kinds: `hero`, `feature-grid`, `faq`, `ordered-step-sequence`,\n`status-list`, `stat-grid`, `pricing` (a heading and plan items, each with a\nname, a price, features and an optional call to action), `testimonial`\n(quotes with an attributor name and optional role), `stat` (label and value\nitems with an optional delta) or `content-section` (see below). Legacy kinds use the closed `base`/`sunken`/`inverse` ground vocabulary; canonical content sections omit ground for automatic cadence or author `inverse`;\nstatus values are the closed `available`/`partial`/`planned` readiness axis,\nwith a separate `not-offered` disposition for deliberate non-capabilities.\n\n`status-list` is a declared Index mapping to canonical `topics` rows with\nbadges. The readiness states use the original localized labels:\n`available` → success, `partial` → warning, and `planned` → info.\nThe separate `not-offered` disposition uses its own label and neutral tone;\nit is never converted to a readiness state. Row labels become headings and\nrow details become descriptions. This lookup contains 3–8 entries. Grouped\ninputs contain 2–4 groups of 2–4 entries, with at most eight entries overall,\npartitioning every item once; resolved group headings contain at most 24 characters.\n\nThe original status shape, closed labels and exactly-one state/disposition\nrule are validated before projection. CopyRef resolution order and the\nresolved status wire shape stay intact. Web output uses ContentSection and\nItems instead of definition lists and the old readiness legend. Counts and\ngroups outside the catalog bounds are refused; split larger collections\ninto separate editorial sections rather than widening the configuration.\n\nEvery audience-facing label, heading, description, question, answer, ordinal,\nand status label is a `CopyRef`. There are no React nodes, render callbacks,\nrouter fields, locale overrides, classes, styles, arbitrary colours, or\ncomposition escape hatches.\n\nThis is a closed wire model at runtime as well as in TypeScript: structural\nobjects use only enumerable own data properties (no inherited, symbol, hidden,\nor accessor fields), and every ordered section, item, and status-group array\nmust be dense. A `CopyRef` has only its non-empty `id`, optional non-empty\n`locale`, and an optional plain interpolation-value record whose values are\nstrings, numbers, or booleans. Malformed input is rejected before a custom\nresolver is called.\n\n`validateSectionedViewDocument` reports malformed or unknown structure;\n`resolveSectionedViewDocument` resolves every CopyRef depth-first in authored\norder and returns its ordinary `CopyResolution[]`. Pass that list directly to\n`collectCopyProvenance` or existing output-manifest helpers—there is no second\nprovenance format. A missing or empty resolution fails the entire document and\nnames the exact authored path. An unknown section kind is refused at validate\nand resolve time and names that kind — there is no implicit remap to\n`feature-grid` or any other shipped kind. This core stage intentionally imports neither\nReact nor Designer and does not render a web view. The grounded web renderer\nuses the server-safe site-block API. Status lookup projects the separate\n`not-offered` disposition, caller-localized `labels.dispositions`, non-hero\n`eyebrow`, per-row `detail`, and exactly one flat `items` or grouped `groups`\nshape into canonical Items.\n\n#### `content-section` and content icons\n\n`content-section` is one general band with a heading, optional eyebrow,\ndescription and actions, at most one content block and one media object, and\nan optional footnote. This canonical contract is validated and resolved in\n`core`; web views and the content preview render its collection and media data.\nPublished section kinds, including `feature-grid`, `faq` and\n`ordered-step-sequence`, retain their own contracts.\n\nThe frame has `size: \"standard\" | \"display\"` (default `standard`) and\n`layout: \"stacked\" | \"split-start\" | \"split-end\"` (default `stacked`).\nA split direction names the visual or block side; a split with neither is\na header-only band. Only stacked statement bands centre their header; split\nbands never centre. Alignment derives from scale and layout. Hero sections accept\n`size: \"display\" | \"compact\"`; the unreleased hero `compact` boolean and\ncontent-section `align`, `size: \"compact\"` and `mediaSide` are refused.\nFor existing drafts, omit `align`, replace compact content size with\n`standard`, and replace `mediaSide` with a split direction.\n\nA block has one of three canonical types. `items` holds a flat list of\n`SectionedViewItem` objects; `matrix` holds exactly two id-bearing sides;\n`prose` holds ordered paragraphs of inline text and link spans.\nItems recipes expand into the same canonical axes through `desugarRecipe`. A\nrecipe may omit an arrangement supplied by its fixed axes or defaults. An\nItems block without a recipe must name its arrangement. Explicit fixed-axis conflicts are refused with\n`recipe-axis`. `SECTIONED_VIEW_CONTENT_CONTRACT` exports the shared closed\nvocabulary and count table.\n\nThe [runnable canonical example](#runnable-canonical-example) below combines\nthese contracts with a local, approved Writer registry.\n\n| Items arrangement | Counts and options |\n| --- | --- |\n| `columns` | 2 columns with 2/4/6 items, or 3 columns with 3/6 items; defaults to 3 columns |\n| `rows` | 2–8 items, 1 or 2 columns; 2 columns require an even count |\n| `bento` | 2–6 items; `third`, `half`, `two-thirds` and `full` spans fill 12-unit rows; omitted spans resolve to `half` |\n| `stacked` | 2–4 items |\n| `order: \"connected\"` | 3–5 items in columns or stacked; four without lanes emits the advisory `steps-count` warning |\n| `reveal: \"disclose\"` | Rows only, 4–6 items |\n\nThe `prose` recipe's configuration budget is **1–8 non-empty paragraphs,\nat most 24 inline spans, 6 links and 1,200 Unicode characters per paragraph**. Its closed shape is\n`{ type: \"prose\", paragraphs }`, where each paragraph is a dense, ordered\narray of `{ type: \"text\", text: CopyRef }` or\n`{ type: \"link\", text: CopyRef, href }` spans. Every visible span resolves\nthrough the existing Writer CopyRef path, retaining resolution provenance;\nmissing, stale, pending or production-refused copy stops resolution with\nthe same field-path refusal as other content recipes. Preserve spaces in\nthe span copy: rendering joins spans without inserting separators.\nThe character count includes visible link text and inline spaces; the limit\nis checked after copy resolution and again at the resolved rendering boundary.\nParagraphs use the `lg` spacing token and `ui-width-prose-max` readable measure.\nLink hrefs use Publisher's shared sanctioned set: fragments, one-origin\npaths, HTTP(S) URLs without credentials, and explicit mailto links.\nUnknown fields, empty paragraphs, unsafe schemes, protocol-relative URLs,\nand over-budget data are refused at authored and resolved boundaries.\nBoth web entries render one `<p>` per paragraph and inline `<a>` elements\nthrough the existing Frame, using Designer tokens. The Explain catalog\nincludes the `prose` witness; no consumer JSX is needed.\nProse is a catalog sample with no configurable axis values. Explain's\n`shape` axis retains `grid-2`, `grid-3`, `bento` and `stack`. The catalog\ncontains 32 reader samples and 4 configuration examples, including prose\namong Explain's 6 samples.\n\nThe default axes are `order: \"none\"`, `reveal: \"all\"`,\n`treatment: \"plain\"` and `scale: \"item\"`. Statement scale requires three\ncolumns and exactly three items. Recipes are `features`, `statement`,\n`cards`, `topics`, `link-index`, `faq`, `steps` and `specimen-stack`;\nMatrix's recipe is `comparison`. `link-index` fixes treatment to `plate`.\n`steps` defaults to columns and also accepts a stack; it takes optional lane\ndefinitions for two actors. The retired `flow` recipe is refused; migrate\nto `steps` with `arrangement: \"stacked\"`. Items `emphasis` is refused; use\n`scale` instead. Recipes\nconstrain optional slots as well as axes. The six unreleased raw block types\n`feature-grid`, `card-grid`, `topic-list`, `ordered-step-sequence`, `faq` and `comparison`\nare refused with their replacement recipe named. The retired `module` field\nis also refused; it has no alias.\n\nEach item has an id and heading, with optional description, eyebrow, icon,\nmeta, one specimen-part visual, href, bento span, lane id and badge.\nItem `featured` is refused; remove it from drafts and select a block\n`treatment` for the collection. The eyebrow resolves to at most\n`CONTENT_ITEM_EYEBROW_MAX_CHARACTERS` (32) characters.\nRow groups are `{ id, label, items }`, where\n`items` contains ids referencing the flat list; every item must belong to\nexactly one group, and each group contains 2–4 item ids. Arrays contain only\nordinary dense data items. Lanes are exactly two `{ id, label }` objects,\nwith known lane ids on every item in a connected block of three to five\nitems, using columns or stacked arrangement. The first item uses the first\ndefined lane, and both lanes appear.\n\nFor status-labelled lookup, use the [Index status-list configuration](#index-configuration-status-list)\nwith the existing `topics` recipe and per-item badges.\n\nMatrix sides each have an id and heading, and either 2–4 points or one\nspecimen panel. Labels are optional on both sides together; mixed label\npresence is refused. Without labels, each side heading is its semantic heading.\nAn optional description supplies lead copy\nalongside points or a panel; description alone is refused. Points and a\npanel cannot be combined. Both sides share a primary form (points or panel),\nwith equal point counts. `featured` names an existing side id. Disclosed\nitems require a description on every item and cannot take href or visual.\nRecipe constraints are deeply immutable; the features recipe fixes item scale.\n\nMedia is exactly one of:\n\n- `asset`: a consumer-owned image or video addressed by `assetId`, with a\n  closed `ContentAssetContract`, meaningful or decorative intent, and an\n  optional caption CopyRef. Meaningful alt is a CopyRef; decorative images\n  omit authored alt and render empty alt with `aria-hidden`. Videos are\n  meaningful, captioned, user-controlled media. See Consumer-owned content\n  below for the contract and a complete example.\n- `specimen`: an accessible label and one `panel`, optionally an ordered\n  `key` of 3–5 items targeting labeled header, part or footer slots. Key\n  placement derives from the frame layout: at the end of a stacked band,\n  below the panel in a split band; authored key `side` is refused, so remove\n  it from drafts and let the layout place the key. A keyed\n  figure label uses 6–25 words. Panels\n  retain their closed fields, status rows, meter, table, schedule, shares and\n  files parts. A status-rows part may specify `mobileRows: 3`; meter\n  `previous` and `previousText` are authored together alongside the existing\n  `value`, `scaleMax` and `limit` fields. The previous marker cannot exceed\n  `scaleMax`.\n- `record`: an id, head, groups and caption, optionally columns and flag\n  label. A group holds rows or an owner; the owner group is last. All visible\n  copy, including owner initials, is a CopyRef. Multi-column records require\n  a stacked frame.\n- `scene`: `{ type: \"scene\", label, relationLabel?, input }`, where `input`\n  is a closed `converge`, `evidence-trail` or `approval-chain` data object.\n  Every visible input field uses CopyRefs except person initials. Structural\n  ids, seed, formats and relationships remain data. Converge and approval\n  scenes require a stacked frame. There is no authored sample field.\n\nItem and panel badges are independent of meta. Their label is a CopyRef and\ntheir tone is one of `neutral`, `success`, `warning`, `danger` or `info`.\nStatus tones use the same closed set; meter numbers remain finite and\nnon-negative. Content icons use the sixteen `CONTENT_ICON_NAMES`, rather\nthan authored nodes or arbitrary names.\n\nActions retain one or two `{ id, label, href, emphasis? }` records, at most\none primary, with `primary`, `secondary`, `tertiary` and `quiet` emphasis.\nGroup size follows the frame independently of emphasis. A stacked band with\na block or media takes no section actions; a header-only band with actions\ntakes no footnote after them. A split takes actions in its text column.\nHero actions retain their primary/secondary/quiet subset and effective\nprimary rules. A footnote holds text, one `{ label, href }` link, or both;\nan empty footnote is refused.\n\nItem links remain all-or-none, at most six, with unique normalized\nsanctioned destinations. Statement items and recipes without a link slot\nrefuse hrefs. Every CopyRef resolves through the caller's CopyResolver,\nretaining provenance and naming the exact path of unavailable copy. Optional\nfields stay absent when omitted, while canonical frame and block defaults\nare materialized in the resolved model. Warnings do not prevent resolution.\n\n`checkSectionVariety(document | documents[])` is an advisory page-rhythm lint\nover one or more documents read as one page. It returns `warning` findings\nonly and never changes validation: neighbouring bands that repeat the same\nlayout, block and visual; a split after a split on the same side or a third\nsplit in a row; a dense band right after a dense band; a specimen on an\ninverse ground or a second inverse body band; a second band of four or more\ncards; a second comparison; one block type repeated with the same\ntreatment where that block offers treatment options (prose does not); and a second band holding a `primary` action\n(`sectioned-view-variety-primary-actions`): a page has one main call to\naction per run of bands; and a split whose block is linked and whose text\ncolumn also holds actions (`sectioned-view-variety-link-competing`): two link\nsystems compete for one click.\n\n`SectionedView` is now the dedicated web renderer after that Designer floor is\navailable. Resolve the CopyRef document first, retain its `resolutions` as the\nonly publication provenance, and pass the resolved model directly:\n\n#### Prose recipe example\n\nThis example uses a local approved Writer registry for the prose band\nand a leading hero. Its `resolveCopy` supplies both documents.\n\n```tsx\nimport {\n  createCopyResolver,\n  type CopyRegistry,\n} from \"@clossys/writer\";\nimport {\n  resolveSectionedViewDocument,\n  type SectionedViewDocument,\n} from \"@clossys/publisher/core\";\nimport { SectionedView } from \"@clossys/publisher/web\";\n\nconst registry = {\n  id: \"prose-example\", locale: \"en\", revision: \"1\",\n  source: { kind: \"consumer\", reference: \"prose-example\" },\n  entries: [\n    { id: \"acme.home.heading\", text: \"Welcome\", context: \"Section example\", status: \"approved\" },\n    { id: \"acme.home.description\", text: \"A section of approved copy.\", context: \"Section example\", status: \"approved\" },\n    { id: \"prose.heading\", text: \"Reading guide\", context: \"Prose example\", status: \"approved\" },\n    { id: \"prose.before\", text: \"Read the \", context: \"Prose example\", status: \"approved\" },\n    { id: \"prose.link\", text: \"writing guide\", context: \"Prose example\", status: \"approved\" },\n    { id: \"prose.after\", text: \" before continuing.\", context: \"Prose example\", status: \"approved\" },\n    { id: \"prose.second\", text: \"Keep source material beside the record.\", context: \"Prose example\", status: \"approved\" },\n  ],\n} satisfies CopyRegistry;\nconst document = {\n  id: \"prose-example\",\n  sections: [{\n    id: \"reading\", kind: \"content-section\", heading: { id: \"prose.heading\" },\n    block: { type: \"prose\", paragraphs: [\n      [\n        { type: \"text\", text: { id: \"prose.before\" } },\n        { type: \"link\", text: { id: \"prose.link\" }, href: \"/guide\" },\n        { type: \"text\", text: { id: \"prose.after\" } },\n      ],\n      [{ type: \"text\", text: { id: \"prose.second\" } }],\n    ] },\n  }],\n} satisfies SectionedViewDocument;\nconst resolveCopy = createCopyResolver(registry);\nexport const proseDocument = resolveSectionedViewDocument(document, resolveCopy);\nconst prosePage = <SectionedView document={proseDocument} />;\n\nconst resolved = resolveSectionedViewDocument({\n  id: \"acme-home\",\n  sections: [{\n    id: \"welcome\",\n    kind: \"hero\",\n    ground: \"base\",\n    heading: { id: \"acme.home.heading\" },\n    description: { id: \"acme.home.description\" },\n  }],\n}, resolveCopy);\n\nconst page = <SectionedView document={resolved} />;\n// resolved.resolutions feeds collectCopyProvenance/output-manifest helpers.\n```\n\n#### Optional fields the document may also carry\n\nThese fields remain optional. Status lookup uses the catalog bounds and\nrendering described above, including when its optional fields are omitted.\n\n- **`eyebrow` on every section kind.** `hero` always had one; `feature-grid`,\n  `faq`, `ordered-step-sequence`, and `status-list` now carry the same\n  optional `CopyRef`, so authored eyebrow copy is no longer dropped at\n  conversion time.\n- **`actions` on the hero section.** An optional, non-empty list of\n  `{ id, label, href }`, where `label` is a `CopyRef` and `href` must be a\n  fragment, a one-origin path, an `http(s)` URL, or a `mailto:` link. It stays\n  data: there is no node, class, or handler slot, and the view renders\n  underlined `<a href>` elements into the Designer `Hero` block's existing\n  `actions` slot (not `Button` atoms — the wire model stays href-shaped).\n- **`media` on the hero section.** An optional `{ assetId, alt }` pair:\n  `alt` is a `CopyRef` (provenance-complete) and `assetId` resolves at render\n  time through `SectionedView`'s `resolveAssetId`, the same seam\n  `renderWebDocument` uses for `MarketingView`'s `heroMedia`. Presence\n  switches `Hero` to the two-column layout (`tablet:grid-cols-2`). Product\n  surface or original art only — not decorative stock.\n- **`stat-grid` sections.** A titled grid of metrics: each item carries\n  `label` and `value` `CopyRef`s plus optional `delta`, closed `trend`\n  (`up` | `down` | `neutral`, only with `delta`), and optional `description`.\n  The view maps each row onto Designer `Stat`; do not flatten metrics into\n  `feature-grid`.\n- **`layout` on the faq section.** `stacked` (the default) or\n  `split`: the header group in the narrow text column and the rows in the\n  wide column beside it, top-aligned. It renders the same band as a\n  `content-section` with a split Items block using the `faq` recipe, so the\n  two read alike on one page.\n- **`detail` on a status-list item.** An optional `CopyRef` carrying that\n  row's own explanation, including the reasoning behind a `not-offered`\n  answer. The label becomes an Item heading, detail becomes its description,\n  and the localized status becomes a badge. Canonical Items lists and group\n  labels replace definition lists and the separate readiness legend.\n\n```tsx\nconst resolved = resolveSectionedViewDocument({\n  id: \"acme-trust\",\n  sections: [\n    {\n      id: \"welcome\",\n      kind: \"hero\",\n      ground: \"base\",\n      heading: { id: \"acme.trust.heading\" },\n      actions: [{ id: \"contact\", label: { id: \"acme.trust.contact\" }, href: \"/contact\" }],\n    },\n    {\n      id: \"posture\",\n      kind: \"status-list\",\n      ground: \"sunken\",\n      eyebrow: { id: \"acme.trust.eyebrow\" },\n      heading: { id: \"acme.trust.posture\" },\n      labels: {\n        available: { id: \"acme.status.available\" },\n        partial: { id: \"acme.status.partial\" },\n        planned: { id: \"acme.status.planned\" },\n        dispositions: { \"not-offered\": { id: \"acme.status.not-offered\" } },\n      },\n      groups: [{\n        id: \"core\",\n        heading: { id: \"acme.trust.core\" },\n        items: [{\n          id: \"audit\",\n          label: { id: \"acme.trust.audit.label\" },\n          detail: { id: \"acme.trust.audit.detail\" },\n          disposition: \"not-offered\",\n        }, { id: \"access\", label: { id: \"acme.trust.access.label\" }, state: \"available\" }],\n      }, {\n        id: \"next\",\n        heading: { id: \"acme.trust.next\" },\n        items: [\n          { id: \"review\", label: { id: \"acme.trust.review.label\" }, state: \"partial\" },\n          { id: \"follow-up\", label: { id: \"acme.trust.follow-up.label\" }, state: \"planned\" },\n        ],\n      }],\n    },\n  ],\n}, resolveCopy);\n```\n\n#### At most one hero, and a status-list may go flat\n\nThe hero placement relaxation remains additive. Status-list projection now\nuses the catalog lookup bounds: 3–8 flat entries, or 2–4 groups of 2–4\nentries, with at most eight entries overall.\n\n- **A hero section is now optional, and may sit anywhere.** The document\n  previously required exactly one `hero` section and required it to be\n  first. It now permits zero or one — never more than one — in any position.\n  A document with a single leading hero, the shape every document authored\n  before this change already has, still validates and renders identically:\n  `SectionedView` already assigned `headingLevel={1}` only to a hero at\n  index 0 and `headingLevel={2}` to any other section, so a non-leading hero\n  renders as an `h2`, the same fixed-outline discipline the view has always\n  held. This unlocks a closing call-to-action band authored as its own\n  section, and a page with no hero section at all.\n- **A `status-list` section's `groups` is now optional, with a flat `items`\n  alternative.** Provide exactly one of `groups` or `items`. Flat entries\n  render as canonical Items topics; grouped entries retain authored group\n  labels and order. The old one-row and one-group view shapes are refused;\n  standalone Designer `StatusList` remains available for historical usage.\n\n```tsx\nconst resolved = resolveSectionedViewDocument({\n  id: \"acme-trust\",\n  sections: [\n    {\n      id: \"core\",\n      kind: \"status-list\",\n      ground: \"base\",\n      heading: { id: \"acme.trust.posture\" },\n      labels: {\n        available: { id: \"acme.status.available\" },\n        partial: { id: \"acme.status.partial\" },\n        planned: { id: \"acme.status.planned\" },\n        dispositions: { \"not-offered\": { id: \"acme.status.not-offered\" } },\n      },\n      items: [\n        { id: \"audit\", label: { id: \"acme.trust.audit.label\" }, disposition: \"not-offered\" },\n        { id: \"access\", label: { id: \"acme.trust.access.label\" }, state: \"available\" },\n        { id: \"review\", label: { id: \"acme.trust.review.label\" }, state: \"partial\" },\n      ],\n    },\n    // A closing call-to-action band: a second hero, not first, rendered as h2.\n    { id: \"cta\", kind: \"hero\", ground: \"inverse\", heading: { id: \"acme.trust.cta\" } },\n  ],\n}, resolveCopy);\n```\n\n#### Mounting part of a page: the `landmark` prop\n\n`SectionedView` renders its own `main` landmark by default, which is right\nwhen the whole page is the document. A page that can express only some of its\nsections through this contract needs the other option, or its remaining\ncontent ends up outside the page's only `main`:\n\n```tsx\n<main>\n  <SectionedView document={resolved} landmark=\"none\" />\n  <ConsumerOwnedSection />\n</main>\n```\n\n`landmark=\"none\"` renders the same sections in a plain grouping element with\nno landmark role and no accessible name. Default behaviour is unchanged, and\nchoosing it makes the surrounding page responsible for supplying exactly one\n`main` landmark containing this output.\n\n#### Contract holds measured in issue #756\n\nThree 0.2.1 refusals stay deliberate after the additive fixes above; they are\nnot backlog slots waiting for a loosening pass.\n\n- **Required `labels` on every `status-list` section.** The section must\n  carry exactly `available`, `partial`, `planned`, and\n  `dispositions.not-offered` as `CopyRef`s. Catalog Item badges render\n  human-readable readiness names from this caller-localized map, so a surface\n  cannot mount a status list until it has merged reader-facing words for all\n  four axes. Omit the section when the page has no readiness posture to\n  report.\n- **Required `ordinal` as a `CopyRef` on each ordered step.** Ordinals\n  participate in copy provenance and locale like every other audience field;\n  a surface that paints step numbers visually still authors copy entries\n  (often `\"1\"`, `\"2\"`) rather than relying on presentation-only counters.\n- **Non-empty repeating arrays.** Every `items` array, status-list `groups`\n  array, group `items` array, and optional hero `actions` array must contain\n  at least one entry when present; status lookups additionally require 3–8\n  flat entries or 2–4 groups of 2–4 entries, at most eight total. An explicit\n  `items: []` is refused\n  (`sectioned-view-items-shape` / `sectioned-view-status-items-shape`).\n  Unlike `MarketingView`'s repeating bindings, this document has no separate\n  \"slot omitted\" vs \"slot empty\" distinction at the section level: a section\n  kind in the wire model is a commitment to render that block with at least\n  one row. Express stated absence by omitting the section or by owning an\n  empty state outside this contract (`StructuredDocument`, host markup).\n\nThe ordinary and `react-server` `@clossys/publisher/web` exports are aligned.\nThe view owns section markup, source order, unique section ids, grounds, and\nthe h1/h2/h3 outline; Designer owns visual tokens and block internals. Per\n#708, Publisher does not own locale selection, routing, or document-level\n`html`, `lang`, or `dir` attributes: the host application supplies those\nboundaries around this renderer.\n\n`section-header` and `article-body` remain intentionally outside the closed\n`SectionedView` kinds: the former's action region and the latter's full\nstructured-document rendering still need a grounded view integration to stay\nfully data-shaped and provenance-complete without node slots. Compose those\nDesigner blocks in the consumer renderer or register `defineWebTemplate` for\nthe page band instead of flattening into `feature-grid` or `stat-grid`.\n\nOn its own, this is a repeating-group *binding* primitive only — it says\nnothing about which template actually consumes it. `web`'s `MarketingView`\ntemplate (below) is that consumer, closing the second and final half of\nissue #166.\n\n### `MarketingView` — the flowed marketing template\n\n`web`'s template registry (`listWebTemplateNames()`) knows three names:\n`AuthView`, `ErrorView`, and `MarketingView` — an ordinary flowed page with\na persistent header/footer, a hero, a feature grid, an optional FAQ list,\nand a closing call-to-action band. Like `AuthView`/`ErrorView`, it is one\nmore explicit, nameable `SurfaceDocument.template` value, not a mechanism\nthat picks one — see \"Scope,\" above: this package still does not compose.\n\n`MarketingView`'s fixed slot set: `brand` and `heroHeading` and\n`ctaHeading` are required flowed text slots; `heroEyebrow`,\n`heroDescription`, `heroActions`, `heroMedia` (an asset slot),\n`featuresHeading`, `featuresDescription`, `faqHeading`, `faqDescription`,\n`ctaDescription`, `ctaAction`, and `footerSecondary` are optional flowed\nslots; `features` (required) and `faq` (optional) are **repeating** slots,\neach bound via a `SurfaceRepeatingSlotBinding` and rendered through\n`@clossys/designer`'s `FeatureGrid`/`Faq` blocks respectively. An empty\n`features` group with no `featuresHeading` or `featuresDescription` omits\nthe grid. An empty `faq` group (`items: []`) still renders its section with\nzero entries; a `faq` binding that\nwas never authored at all omits the whole FAQ section instead, which is a\ndifferent, equally valid outcome (see `MarketingView`'s own `faq` prop doc\ncomment).\n\n`faq` declares two required structured fields: `question` and `answer`.\nEach resolves through the normal `CopyRef` path, so its locale, approved\nvoice, and provenance stay visible alongside the rest of the page. A FAQ\nitem authored as a caller-owned `node`, as a legacy single value, or with an\nunknown/missing field is refused rather than bypassing editorial governance.\n\n```ts\nimport type { SurfaceDocument } from \"@clossys/publisher/core\";\nimport { resolveSurfaceDocument } from \"@clossys/publisher/core\";\nimport { renderWebDocument } from \"@clossys/publisher/web\";\n\nconst ref = (id: string) => ({ id });\n\nconst acmeMarketingHome: SurfaceDocument = {\n  id: \"acme.marketing.home\",\n  channel: \"web\",\n  template: \"MarketingView\",\n  meta: { channel: \"web\", title: ref(\"acme.brand\"), description: ref(\"acme.hero.description\") },\n  bindings: [\n    { slot: \"brand\", copy: ref(\"acme.brand\") },\n    { slot: \"heroHeading\", copy: ref(\"acme.hero.heading\") },\n    { slot: \"heroDescription\", copy: ref(\"acme.hero.description\") },\n    { slot: \"ctaHeading\", copy: ref(\"acme.cta.heading\") },\n    // Required repeating slot; an explicitly empty grid is valid.\n    { slot: \"features\", items: [] },\n    // A repeating slot — one CopyRef per placeholder feature, in order.\n    {\n      slot: \"faq\",\n      items: [\n        {\n          fields: {\n            question: { copy: ref(\"acme.faq.one.question\") },\n            answer: { copy: ref(\"acme.faq.one.answer\") },\n          },\n        },\n      ],\n    },\n  ],\n};\n\nconst resolved = resolveSurfaceDocument(acmeMarketingHome, myCopyResolver);\nconst { element, head } = renderWebDocument(resolved.document, {\n  groups: resolved.groups, // carries the structured FAQ fields\n});\n```\n\n`resolved.groups` is exactly `ResolvedSurfaceDocument.groups` — pass it\nstraight through as `RenderWebOptions.groups`; `renderWebDocument` maps\neach declared repeating slot's resolved items onto `MarketingView`'s\n`features`/`faq` props in authored order. Passing a group for a slot\n`MarketingView` does not declare as repeating, or omitting the required\n`features` group entirely, both fail closed with\n`RenderError(\"resolution-failed\", ...)` — the same error contract a\nmissing/unknown single-slot binding already produces for `AuthView`/\n`ErrorView`.\n\nRendered directly as a component, `MarketingView` also takes the header\nslots `HeroView`'s banner uses. They are props, not template slots, so a\n`SurfaceDocument` cannot bind them:\n\n- `headerAction` (optional): the site's call to action in the banner,\n  passed to Designer `SiteHeader`'s `actions`.\n- `secondaryAction` (optional): a second call to action, just before\n  `headerAction`.\n- `nav` (optional): the primary navigation, beside the brand.\n- `ground` (`\"base\"`, `\"inverse\"` or `\"transparent\"`, default `\"base\"`): the\n  plate of both the header and the footer. `\"transparent\"` matches\n  `HeroView`. The section bands keep their own `*Ground` props.\n\nEach slot is absent from the markup when omitted, so a page that passes none\nrenders exactly as before.\n\n```tsx\nimport { MarketingView } from \"@clossys/publisher/web\";\n\nexport function AboutPage() {\n  return (\n    <MarketingView\n      brand=\"Example Studio\"\n      headerAction={<a href=\"/contact\">Contact</a>}\n      ground=\"transparent\"\n      heroHeading=\"About the studio\"\n      features={[]}\n      ctaHeading=\"Start a project\"\n    />\n  );\n}\n```\n\n### `CaptureView`, `DocumentView`, and `CollectionView` — fixed publisher page shells\n\nThese exports are direct, server-safe page shells rather than new\n`SurfaceDocument.template` registrations. They deliberately do not select\ncontent, load a CMS, own a router, or add client state.\n\n`CaptureView` provides one heading, a consumer-owned form inside Designer's\n`Card` and an optional `notes` block below the card, as the shared\n[page layout](#page-layout); the deprecated chrome props add a site header and\na footer. `secondaryAction` stays inside the card, under the form or the\nconfirmation. The header slots are listed under\n[Front-door shell](#front-door-shell). The consumer owns form fields, submission, validation,\nand network effects. On a failed client-side submission, pass both\n`errorSummary` and `errorSummaryId`, focus that id, and keep the summary\nbefore the form; the view makes it a focusable `role=\"alert\"`. On success,\npass `submitted`: it replaces the form in the same position in a polite live\nregion. `CaptureView` intentionally does not choose a form library, add spam\nhandling, or model submission state. `formLabel` is the accessible name of\nthe region that holds the form or the confirmation, and defaults to\n\"Capture form\".\n\n`DocumentView` accepts a `StructuredDocument` and an approved-copy resolver,\nthen calls `renderStructuredDocument` itself. Inside a `SiteFrame` it renders\nthe [page layout](#page-layout) shared with `CaptureView` and `AuthView`: the\ndocument title and optional summary as the header, the effective date and the\narticle in the card, and the optional `action` as the notes line below it. A caller cannot supply a\npre-rendered article node or skip heading and in-document-fragment validation\non this path. The document title becomes the page `h1`; optional summary and\neffective-date labels remain `CopyRef`s. An effective date is\n`{ dateTime, text }`, so its visible approved copy is paired with a semantic\n`time` value; `dateTime` must be a real ISO date or date-time, not arbitrary\ndisplay text. Invalid document structure, unresolved fragments, missing copy,\nand malformed effective-date metadata fail closed with `RenderError`.\n\n`CollectionView` supplies an accessible collection index: each non-empty\nentry has a unique linked title, a semantic `time`, optional summary and tag\nlist, and a navigation landmark for consumer-owned pagination. Its required\n`empty` state prevents an empty index from silently becoming a blank region.\nEntries use a deliberately small closed shape (`id`, `href`, string `title`,\n`date`, optional string `summary`/`tags`); its raw props are consumer-owned\nview data and do not themselves carry CopyRef provenance. Consumers that need\neditorial provenance resolve structured fields before constructing these\nstrings, while Publisher's structured renderer continues to retain the\nunderlying field-level copy/asset evidence. Pagination and empty-state actions\nare likewise `{ href, label }` data, not node escape hatches. Route loading,\ntaxonomy, and paging state remain outside Publisher. If a router replaces collection items in place, it\nmust move focus to `focusTargetId` (the focusable `PageHeader` region that\ncontains the view's `h1`); ordinary links retain normal browser route focus\nhandling. Entry, empty-state, and pagination links accept only a fragment,\na single-root-relative path (never `//`), `http(s)`, or non-empty `mailto:`;\nscript, data, file, and protocol-relative URLs fail closed.\n`entriesLabel` (default \"Collection entries\"), `tagsLabel` (default\n\"Tags\"), and `paginationLabel` (default \"Collection pagination\") name the\nentry list, each entry's tag list, and the pagination landmark.\n\n`BrandGuideView` names its sections with `lockupLabel` (default \"Lockup\"),\n`downloadsLabel` (default \"Downloads\"), `colorLabel` (default \"Color\"),\n`typeLabel` (default \"Type\"), `specimenLabel` (default \"Type specimen\"), and\n`factsLabel` (default \"Strategy facts\"). `lockupSvg` is optional: when it is\nomitted the lockup section is absent. `specimen` (`{ text, faces }`, optional)\nadds a type specimen that sets `text` in each face's font family; a face value\nthat is not a plain family list (letters, digits, spaces, commas, quotes,\ndots, hyphens and underscores) keeps the text and drops the style.\n`emptyLabel` (optional) is shown in place of a list with no entries. With\n`embedded`, the guide renders inside another page's `main`: a `div` instead\nof a `main`, the title as an `h3` instead of a `PageHeader`, and each section\nnamed by a visible `h4` through `aria-labelledby` instead of an `aria-label`.\n`PackReviewView` renders its brand kit this way.\n`SystemAuditView` names its gallery link and sections with `galleryLabel`\n(default \"Preview gallery\"), `brandSectionLabel` (default \"Brand file\"),\nand `contrastLabel` (default \"Contrast\"), and its coverage status line with\n`coverageDescription` (default \"Brand file coverage passed.\" /\n\"Brand file coverage failed.\" from `brandOk`).\n\nThere is intentionally no `EntryView`. A document-backed entry page uses\n`DocumentView`, with its optional `action` linking back to the\ncollection, rather than duplicating the validated document page contract.\nThis is the narrow disposition for entry pages; it does not add CMS, parser,\nor taxonomy behavior. A future Designer-block integration is separately\nstaged and is not part of these publisher shells.\n\n### `HeroView`\n\n`HeroView`, exported from `@clossys/publisher/web`, is a single-screen\nlanding page: a transparent banner, one hero centred both ways, and a\ntransparent legal footer, over an optional backdrop. It is server-safe (it\nimports only Designer's `/shell/server`, `/atoms/server` and `/blocks/server`\nbarrels) and ships no wording of its own: every visible word comes from a prop.\n\n```tsx\nimport { HeroView } from \"@clossys/publisher/web\";\n\ndeclare const brand: React.ReactNode; // the caller's brand mark, for example a Designer `Brandmark`\n\nexport function HomePage() {\n  return (\n    <HeroView\n      brand={brand}\n      headerAction={<a href=\"/start\">Start</a>}\n      heading=\"A page that says one thing\"\n      description=\"One supporting line.\"\n      legal={{ entity: \"Example Co\", links: [{ label: \"Privacy\", href: \"/privacy\" }] }}\n    />\n  );\n}\n```\n\nProps, in addition to the standard `div` attributes (minus `children`) and `style`:\n\n- `brand`: the identity slot in the banner.\n- `headerAction` (optional): the page's call to action, rendered in the banner.\n- `eyebrow`, `description` (optional): the lines above and below the heading.\n- `heading`: the page's only `<h1>`.\n- `heroAction` (optional): a call to action inside the hero. It is absent by\n  default, so the call to action is header-only unless you supply one.\n- `media` (optional): rendered after the description.\n- `align` (`\"center\"` or `\"start\"`, default `\"center\"`): aligns the hero's\n  content and changes only that wrapper's classes.\n- `backdrop` (optional): rendered first, absolutely positioned behind the rest,\n  with `aria-hidden=\"true\"` and `pointer-events-none`. It is absent from the\n  markup when not supplied.\n- `legal`: the props of Designer's `SiteFooter.Legal`, passed straight through.\n- `ground` (`HeroViewGround`: `\"base\"` or `\"inverse\"`, default `\"base\"`): the\n  page's ground. Unlike the `ground` on the other views, which sets only the\n  header and footer p","readmeFilename":"README.md"}