@mnstry/atelier 0.2.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/CHANGELOG.md +383 -0
  2. package/LICENSE +202 -0
  3. package/NOTICE +5 -0
  4. package/README.md +262 -0
  5. package/SECURITY.md +93 -0
  6. package/TRADEMARKS.md +88 -0
  7. package/announcements/2026-08-06-announcements-channel.v1.json +12 -0
  8. package/announcements/keys/mnstry-announcements.public.v1.json +9 -0
  9. package/bin/atelier.mjs +2 -0
  10. package/bin/mnstry-atelier.mjs +3 -0
  11. package/contracts/analysis-adapter.v1.schema.json +248 -0
  12. package/contracts/atelier-action-intent.v1.schema.json +143 -0
  13. package/contracts/atelier-analysis-adapter.v1.schema.json +360 -0
  14. package/contracts/atelier-attestation.v1.schema.json +239 -0
  15. package/contracts/atelier-boundary-policy.v1.schema.json +339 -0
  16. package/contracts/atelier-claim.v1.schema.json +97 -0
  17. package/contracts/atelier-export.v1.schema.json +1015 -0
  18. package/contracts/atelier-extension-pack.v1.schema.json +290 -0
  19. package/contracts/atelier-kit-manifest.v1.schema.json +273 -0
  20. package/contracts/atelier-lock.v1.schema.json +364 -0
  21. package/contracts/atelier-migration.v1.schema.json +162 -0
  22. package/contracts/atelier-project-config.v1.schema.json +352 -0
  23. package/contracts/atelier-readiness-protocol.v1.schema.json +517 -0
  24. package/contracts/atelier-readiness-run.v1.schema.json +229 -0
  25. package/contracts/atelier-readiness.v1.schema.json +457 -0
  26. package/contracts/compat-baseline.json +10 -0
  27. package/contracts/git-promote-event.v1.schema.json +145 -0
  28. package/contracts/knowledge-source-sidecar.v1.schema.json +157 -0
  29. package/contracts/mnstry-atelier-semantic-profile.v1.json +254 -0
  30. package/docs/announcements.md +101 -0
  31. package/docs/atelier-runtime.md +34 -0
  32. package/docs/attestation.md +201 -0
  33. package/docs/continuity.md +55 -0
  34. package/docs/contract-stability.md +111 -0
  35. package/docs/distributions.md +220 -0
  36. package/docs/install.md +140 -0
  37. package/docs/knowledge-graph.md +140 -0
  38. package/docs/ontology.md +206 -0
  39. package/docs/release-engineering.md +151 -0
  40. package/docs/repo-boundary-guard.md +199 -0
  41. package/docs/tenant-readiness.md +64 -0
  42. package/docs/upgrade.md +124 -0
  43. package/fixtures/analysis/invalid/native-graph.v1.json +4 -0
  44. package/fixtures/analysis/invalid/promoted-claim.v1.json +17 -0
  45. package/fixtures/analysis/invalid/runtime-import.v1.json +20 -0
  46. package/fixtures/analysis/valid/output.claims.v1.json +17 -0
  47. package/fixtures/analysis-adapter/invalid/manifest-hidden-provider.v1.json +24 -0
  48. package/fixtures/analysis-adapter/invalid/output-frontmatter-mutation.v1.json +21 -0
  49. package/fixtures/analysis-adapter/invalid/output-native-graph.v1.json +14 -0
  50. package/fixtures/analysis-adapter/manifest.disabled.v1.json +22 -0
  51. package/fixtures/analysis-adapter/manifest.enabled-local.v1.json +23 -0
  52. package/fixtures/analysis-adapter/output.claims.v1.json +21 -0
  53. package/fixtures/atelier-action-intent/invalid/runtime-mutation-authority.v1.json +16 -0
  54. package/fixtures/atelier-action-intent/invalid/unknown-top-level-field.v1.json +17 -0
  55. package/fixtures/atelier-action-intent/invalid/writes-beyond-clipboard.v1.json +16 -0
  56. package/fixtures/atelier-action-intent/valid/copy-agent-prompt.v1.json +16 -0
  57. package/fixtures/atelier-action-intent/valid/copy-repo-path.v1.json +22 -0
  58. package/fixtures/atelier-analysis-adapter/invalid/hidden-model-provider.v1.json +24 -0
  59. package/fixtures/atelier-analysis-adapter/invalid/inert-with-execute-command.v1.json +24 -0
  60. package/fixtures/atelier-analysis-adapter/invalid/proposals-with-runtime-import.v1.json +30 -0
  61. package/fixtures/atelier-analysis-adapter/valid/manifest-inert.v1.json +24 -0
  62. package/fixtures/atelier-analysis-adapter/valid/proposals-claim-only.v1.json +27 -0
  63. package/fixtures/atelier-attestation/invalid/bad-digest.v1.json +23 -0
  64. package/fixtures/atelier-attestation/invalid/conformance-scope.v1.json +23 -0
  65. package/fixtures/atelier-attestation/invalid/missing-signature.v1.json +22 -0
  66. package/fixtures/atelier-attestation/invalid/unknown-root-field.v1.json +24 -0
  67. package/fixtures/atelier-attestation/keys/roundtrip-issuer.public.v1.json +9 -0
  68. package/fixtures/atelier-attestation/valid/rejected-with-reasons.v1.json +49 -0
  69. package/fixtures/atelier-attestation/valid/signed-admitted.v1.json +35 -0
  70. package/fixtures/atelier-attestation/valid/signed-roundtrip.v1.json +29 -0
  71. package/fixtures/atelier-attestation/valid/unsigned-advisory.v1.json +23 -0
  72. package/fixtures/atelier-claim/invalid/unknown-provider.v1.json +15 -0
  73. package/fixtures/atelier-claim/invalid/unknown-top-level-field.v1.json +16 -0
  74. package/fixtures/atelier-claim/invalid/wrong-schema-const.v1.json +15 -0
  75. package/fixtures/atelier-claim/valid/adapter-style-proposed-relation.v1.json +19 -0
  76. package/fixtures/atelier-claim/valid/codex-proposed-relation.v1.json +16 -0
  77. package/fixtures/atelier-claim/valid/manual-proposed-relation.v1.json +16 -0
  78. package/fixtures/atelier-claim/valid/readiness-proposed-relation.v1.json +18 -0
  79. package/fixtures/atelier-export/invalid/dirty-unforced-empty-taint.v1.json +19 -0
  80. package/fixtures/atelier-export/invalid/object-local-audience-visibility.v1.json +11 -0
  81. package/fixtures/atelier-export/invalid/open-object-class-owner.v1.json +23 -0
  82. package/fixtures/atelier-export/invalid/pricing-legacy-amount.v1.json +23 -0
  83. package/fixtures/atelier-export/invalid/public-disguised-internal-source-ref.v1.json +11 -0
  84. package/fixtures/atelier-export/invalid/public-nested-private-source-ref.v1.json +17 -0
  85. package/fixtures/atelier-export/invalid/public-resolved-private-source-ref.v1.json +13 -0
  86. package/fixtures/atelier-export/invalid/public-resolved-sensitive-source-ref.v1.json +13 -0
  87. package/fixtures/atelier-export/invalid/public-source-ref-missing-provenance.v1.json +20 -0
  88. package/fixtures/atelier-export/invalid/public-source-team-kg.json +12 -0
  89. package/fixtures/atelier-export/invalid/source-node-legacy-visibility.v1.json +21 -0
  90. package/fixtures/atelier-export/invalid/source-node-unknown-field.v1.json +18 -0
  91. package/fixtures/atelier-export/invalid/unresolved-public-source-ref.v1.json +11 -0
  92. package/fixtures/atelier-export/sample-studio-offer.v1.json +397 -0
  93. package/fixtures/atelier-extension-pack/invalid/bundled-slug-collision.v1.json +22 -0
  94. package/fixtures/atelier-extension-pack/invalid/escapes-root.v1.json +22 -0
  95. package/fixtures/atelier-extension-pack/invalid/posture-tampered.v1.json +22 -0
  96. package/fixtures/atelier-extension-pack/invalid/protocols/autonomous-authority.v1.json +118 -0
  97. package/fixtures/atelier-extension-pack/invalid/protocols/offer-map.v1.json +109 -0
  98. package/fixtures/atelier-extension-pack/invalid/redefines-runtime-term.v1.json +19 -0
  99. package/fixtures/atelier-extension-pack/invalid/wrong-namespace.v1.json +19 -0
  100. package/fixtures/atelier-extension-pack/valid/protocols/contract-gate.v1.json +109 -0
  101. package/fixtures/atelier-extension-pack/valid/sample-pack.v1.json +48 -0
  102. package/fixtures/atelier-kit-manifest/invalid/runtime-copy-without-canonical-role.v1.json +53 -0
  103. package/fixtures/atelier-kit-manifest/invalid/telemetry-send-path.v1.json +21 -0
  104. package/fixtures/atelier-kit-manifest/valid/mnstry-atelier.valid.v1.json +76 -0
  105. package/fixtures/atelier-lock/invalid/absolute-contract-path.v1.json +40 -0
  106. package/fixtures/atelier-lock/invalid/runtime-mutation-enabled.v1.json +41 -0
  107. package/fixtures/atelier-lock/invalid/unknown-top-level-field.v1.json +42 -0
  108. package/fixtures/atelier-lock/valid/extension-pack.v1.json +55 -0
  109. package/fixtures/atelier-lock/valid/minimal.v1.json +44 -0
  110. package/fixtures/atelier-migration/invalid/live-apply-mode.v1.json +21 -0
  111. package/fixtures/atelier-migration/invalid/missing-review-evidence.v1.json +20 -0
  112. package/fixtures/atelier-migration/invalid/runtime-mutation-enabled.v1.json +21 -0
  113. package/fixtures/atelier-migration/valid/minimal.v1.json +32 -0
  114. package/fixtures/atelier-project-config/invalid/absolute-repo-path.v1.json +11 -0
  115. package/fixtures/atelier-project-config/invalid/ext-not-object.v1.json +12 -0
  116. package/fixtures/atelier-project-config/invalid/external-kind-read-boundary.v1.json +12 -0
  117. package/fixtures/atelier-project-config/invalid/missing-repos-and-alignment.v1.json +7 -0
  118. package/fixtures/atelier-project-config/invalid/unknown-top-level-field.v1.json +14 -0
  119. package/fixtures/atelier-project-config/valid/alignment-scaffold.v1.json +15 -0
  120. package/fixtures/atelier-project-config/valid/ext-extension-packs.v1.json +36 -0
  121. package/fixtures/atelier-project-config/valid/repo-workspace.v1.json +23 -0
  122. package/fixtures/atelier-project-config/validator-only/ext-member-not-object.v1.json +14 -0
  123. package/fixtures/atelier-readiness/invalid/dry-run-only-false.v1.json +87 -0
  124. package/fixtures/atelier-readiness/invalid/support-bundle-send-path.v1.json +87 -0
  125. package/fixtures/atelier-readiness/invalid/unknown-top-level-field.v1.json +88 -0
  126. package/fixtures/atelier-readiness/valid/ready-workspace.v1.json +84 -0
  127. package/fixtures/boundary-policy/invalid/content-rule-exception-blanket-path.v1.json +67 -0
  128. package/fixtures/boundary-policy/invalid/invalid-actor-private-repo-mapping.v1.json +20 -0
  129. package/fixtures/boundary-policy/invalid/legacy-warning-missing-warning.v1.json +20 -0
  130. package/fixtures/boundary-policy/invalid/missing-repo-coverage.v1.json +19 -0
  131. package/fixtures/boundary-policy/invalid/unknown-key.v1.json +12 -0
  132. package/fixtures/boundary-policy/valid/content-rule-exception.v1.json +67 -0
  133. package/fixtures/boundary-policy/valid/legacy-warning.v1.json +33 -0
  134. package/fixtures/boundary-policy/valid/strict-private-shared.v1.json +40 -0
  135. package/fixtures/git-promote/invalid/provision-named-revocable.v1.json +29 -0
  136. package/fixtures/git-promote/private-to-team.v1.json +29 -0
  137. package/fixtures/knowledge-source-sidecar/invalid/legacy-visibility-field.v1.json +17 -0
  138. package/fixtures/knowledge-source-sidecar/invalid/missing-audience.v1.json +15 -0
  139. package/fixtures/knowledge-source-sidecar/invalid/unknown-relation-kind.v1.json +18 -0
  140. package/fixtures/knowledge-source-sidecar/valid/html-source.v1.json +18 -0
  141. package/fixtures/knowledge-source-sidecar/valid/pdf-evidence.v1.json +18 -0
  142. package/fixtures/projects/neutral-project/atelier.project.json +15 -0
  143. package/fixtures/projects/neutral-project/ops/config/repo-access.v1.json +12 -0
  144. package/fixtures/projects/neutral-project/project-knowledge.graph.json +69 -0
  145. package/fixtures/projects/sample-workspace/atelier.project.json +23 -0
  146. package/fixtures/projects/sample-workspace/boundary-policy.v1.json +59 -0
  147. package/fixtures/projects/sample-workspace/content/README.md +16 -0
  148. package/fixtures/projects/sample-workspace/content/source.html +5 -0
  149. package/fixtures/projects/sample-workspace/content/source.html.kg.json +15 -0
  150. package/fixtures/projects/sample-workspace/repo-access.v1.json +9 -0
  151. package/fixtures/projects/source-formats-workspace/atelier.project.json +23 -0
  152. package/fixtures/projects/source-formats-workspace/content/README.md +17 -0
  153. package/fixtures/projects/source-formats-workspace/content/data.json +7 -0
  154. package/fixtures/projects/source-formats-workspace/content/data.json.kg.json +15 -0
  155. package/fixtures/projects/source-formats-workspace/content/logo.png.kg.json +15 -0
  156. package/fixtures/projects/source-formats-workspace/content/metrics.csv +3 -0
  157. package/fixtures/projects/source-formats-workspace/content/metrics.csv.kg.json +15 -0
  158. package/fixtures/projects/source-formats-workspace/content/pipeline.yaml +4 -0
  159. package/fixtures/projects/source-formats-workspace/content/pipeline.yaml.kg.json +15 -0
  160. package/fixtures/projects/source-formats-workspace/repo-access.v1.json +9 -0
  161. package/fixtures/readiness-protocols/extension-pack/invalid/protocol-missing-path.v1.json +20 -0
  162. package/fixtures/readiness-protocols/extension-pack/valid/with-protocol.v1.json +24 -0
  163. package/fixtures/readiness-protocols/protocol/invalid/missing-check-target.v1.json +103 -0
  164. package/fixtures/readiness-protocols/protocol/invalid/runtime-mutation-enabled.v1.json +107 -0
  165. package/fixtures/readiness-protocols/protocol/valid/minimal.v1.json +100 -0
  166. package/fixtures/readiness-protocols/run/invalid/missing-evidence.v1.json +37 -0
  167. package/fixtures/readiness-protocols/run/invalid/pass-with-blocker.v1.json +22 -0
  168. package/fixtures/readiness-protocols/run/invalid/runtime-mutation-enabled.v1.json +22 -0
  169. package/fixtures/readiness-protocols/run/valid/pass.v1.json +44 -0
  170. package/fixtures/support/invalid/leaky-support.v1.json +13 -0
  171. package/fixtures/support/valid/minimal-safe.v1.json +20 -0
  172. package/package.json +98 -0
  173. package/skills/claude/atelier-open/SKILL.md +68 -0
  174. package/skills/claude/mnstry-readiness/SKILL.md +41 -0
  175. package/skills/codex/atelier-open/SKILL.md +68 -0
  176. package/skills/codex/mnstry-readiness/SKILL.md +41 -0
  177. package/src/analysis/adapter.mjs +20 -0
  178. package/src/analysis/analysis-claim-contract.mjs +335 -0
  179. package/src/attestation/jcs.mjs +64 -0
  180. package/src/attestation/sign.mjs +305 -0
  181. package/src/boundary/content-rules.mjs +262 -0
  182. package/src/boundary/policy.mjs +806 -0
  183. package/src/check-atelier-export-contract.mjs +116 -0
  184. package/src/cli/run.mjs +283 -0
  185. package/src/collaboration/proposals.mjs +262 -0
  186. package/src/commands/analysis.mjs +8 -0
  187. package/src/commands/announcements.mjs +308 -0
  188. package/src/commands/attestation.mjs +198 -0
  189. package/src/commands/boundary.mjs +25 -0
  190. package/src/commands/config.mjs +4 -0
  191. package/src/commands/context.mjs +3 -0
  192. package/src/commands/distribution.mjs +224 -0
  193. package/src/commands/egress.mjs +11 -0
  194. package/src/commands/extension-pack.mjs +209 -0
  195. package/src/commands/feedback.mjs +3 -0
  196. package/src/commands/graph.mjs +3 -0
  197. package/src/commands/init.mjs +130 -0
  198. package/src/commands/lock.mjs +3 -0
  199. package/src/commands/project.mjs +3 -0
  200. package/src/commands/promote.mjs +4 -0
  201. package/src/commands/readiness.mjs +3 -0
  202. package/src/commands/server.mjs +6 -0
  203. package/src/commands/setup.mjs +250 -0
  204. package/src/commands/support.mjs +3 -0
  205. package/src/commands/upgrade.mjs +3 -0
  206. package/src/contracts/corpus.mjs +171 -0
  207. package/src/egress/check.mjs +45 -0
  208. package/src/egress/forbidden-egress.mjs +323 -0
  209. package/src/export/atelier-export-contract.mjs +722 -0
  210. package/src/extension-packs/loader.mjs +491 -0
  211. package/src/graph/graph.mjs +370 -0
  212. package/src/graph/knowledge-graph.mjs +887 -0
  213. package/src/harness/context-client.mjs +144 -0
  214. package/src/harness/context.mjs +27 -0
  215. package/src/index.mjs +88 -0
  216. package/src/project/config.mjs +557 -0
  217. package/src/project/file-class.mjs +113 -0
  218. package/src/project/git-ignore.mjs +31 -0
  219. package/src/project/path-match.mjs +30 -0
  220. package/src/project/repo-identity.mjs +176 -0
  221. package/src/projection/alignment-projection.mjs +169 -0
  222. package/src/projection/policy.mjs +90 -0
  223. package/src/projection/project.mjs +152 -0
  224. package/src/readiness/readiness.mjs +312 -0
  225. package/src/readiness-protocols/bundled-pack.mjs +766 -0
  226. package/src/readiness-protocols/runtime.mjs +419 -0
  227. package/src/server/local-sidecar.mjs +640 -0
  228. package/src/server/security.mjs +229 -0
  229. package/src/server/server.mjs +42 -0
  230. package/src/support/feedback-report.mjs +414 -0
  231. package/src/support/support-bundle.mjs +226 -0
  232. package/src/ui/html-primitives.mjs +104 -0
  233. package/src/upgrade/upgrade.mjs +701 -0
  234. package/src/validate-atelier-export-dry-run.mjs +75 -0
  235. package/templates/atelier.project.example.json +23 -0
  236. package/templates/distribution-workspace/.claude/launch.json +12 -0
  237. package/templates/distribution-workspace/README.md +86 -0
  238. package/templates/distribution-workspace/atelier.project.json +36 -0
  239. package/templates/distribution-workspace/boundary-policy.v1.json +61 -0
  240. package/templates/distribution-workspace/gitignore +29 -0
  241. package/templates/distribution-workspace/governance/repo-boundary-ledger.md +5 -0
  242. package/templates/distribution-workspace/project/README.md +19 -0
  243. package/templates/distribution-workspace/repo-access.v1.json +9 -0
  244. package/templates/launch.json +12 -0
  245. package/templates/private-domain-workspace/.claude/launch.json +12 -0
  246. package/templates/private-domain-workspace/README.md +50 -0
  247. package/templates/private-domain-workspace/atelier.project.json +28 -0
  248. package/templates/private-domain-workspace/boundary-policy.v1.json +54 -0
  249. package/templates/private-domain-workspace/domain/README.md +19 -0
  250. package/templates/private-domain-workspace/gitignore +29 -0
  251. package/templates/private-domain-workspace/governance/repo-boundary-ledger.md +4 -0
  252. package/templates/private-domain-workspace/repo-access.v1.json +9 -0
  253. package/templates/shared-project-workspace/.claude/launch.json +12 -0
  254. package/templates/shared-project-workspace/README.md +51 -0
  255. package/templates/shared-project-workspace/atelier.project.json +28 -0
  256. package/templates/shared-project-workspace/boundary-policy.v1.json +61 -0
  257. package/templates/shared-project-workspace/gitignore +29 -0
  258. package/templates/shared-project-workspace/governance/repo-boundary-ledger.md +5 -0
  259. package/templates/shared-project-workspace/project/README.md +19 -0
  260. package/templates/shared-project-workspace/repo-access.v1.json +9 -0
@@ -0,0 +1,13 @@
1
+ {
2
+ "description": "A source ref that RESOLVES to a sensitive-audience node must be rejected as not public-projectable, the strongest audience class the boundary protects.",
3
+ "base": "../sample-studio-offer.v1.json",
4
+ "mutations": [
5
+ {
6
+ "path": "/provenance/sourceNodes/0/audience",
7
+ "value": "sensitive"
8
+ }
9
+ ],
10
+ "expectedErrors": [
11
+ "source node sample-strategy:guides-offer-structure audience sensitive is not public-projectable"
12
+ ]
13
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "description": "Public object graph sourceRefs must appear in provenance.sourceNodes.",
3
+ "base": "../sample-studio-offer.v1.json",
4
+ "mutations": [
5
+ {
6
+ "path": "/provenance/sourceNodes/1",
7
+ "value": {
8
+ "kgId": "sample-app:templates-public-surface",
9
+ "repo": "sample-app",
10
+ "path": "templates/public-surface.md",
11
+ "audience": "public",
12
+ "sourceRole": "duplicate-public-surface-template"
13
+ }
14
+ }
15
+ ],
16
+ "expectedErrors": [
17
+ "sourceRef sample-strategy:evidence-session-format does not resolve",
18
+ "duplicates provenance source node sample-app:templates-public-surface"
19
+ ]
20
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "base": "../sample-studio-offer.v1.json",
3
+ "mutations": [
4
+ {
5
+ "path": "/objects/offers/0/sourceRefs/0",
6
+ "value": "sample-architecture:fable-5-review-disposition-mnstry-atelier-graph-contract"
7
+ }
8
+ ],
9
+ "expectedErrors": [
10
+ "sourceRef sample-architecture:fable-5-review-disposition-mnstry-atelier-graph-contract does not resolve"
11
+ ]
12
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "description": "Provenance sourceNodes must use source audience, not legacy visibility.",
3
+ "base": "../sample-studio-offer.v1.json",
4
+ "mutations": [
5
+ {
6
+ "path": "/provenance/sourceNodes/0",
7
+ "value": {
8
+ "kgId": "sample-strategy:guides-offer-structure",
9
+ "repo": "sample-strategy",
10
+ "path": "guides/offer-structure.md",
11
+ "visibility": "public",
12
+ "sourceRole": "offer-pricing-continuity-authority"
13
+ }
14
+ }
15
+ ],
16
+ "expectedErrors": [
17
+ "/provenance/sourceNodes/0 must use audience, not visibility",
18
+ "/provenance/sourceNodes/0 must include required property audience",
19
+ "/provenance/sourceNodes/0 must not include additional property visibility"
20
+ ]
21
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "description": "Schema validation must reject smuggled source-node fields.",
3
+ "base": "../sample-studio-offer.v1.json",
4
+ "mutations": [
5
+ {
6
+ "path": "/provenance/sourceNodes/0",
7
+ "value": {
8
+ "kgId": "sample-strategy:guides-offer-structure",
9
+ "repo": "sample-strategy",
10
+ "path": "guides/offer-structure.md",
11
+ "audience": "public",
12
+ "sourceRole": "offer-pricing-continuity-authority",
13
+ "visibilityRuntime": "private"
14
+ }
15
+ }
16
+ ],
17
+ "expectedErrors": ["must not include additional property visibilityRuntime"]
18
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "description": "Public object graph-looking sourceRefs must resolve in the Sample Studio knowledge graph.",
3
+ "base": "../sample-studio-offer.v1.json",
4
+ "mutations": [
5
+ {
6
+ "path": "/objects/offers/0/sourceRefs/0",
7
+ "value": "sample-strategy:missing-atelier-export-source"
8
+ }
9
+ ],
10
+ "expectedErrors": ["sourceRef sample-strategy:missing-atelier-export-source does not resolve"]
11
+ }
@@ -0,0 +1,397 @@
1
+ {
2
+ "schema": "atelier-export@v1",
3
+ "exportId": "export:sample-studio:guided-session:2026-06-11",
4
+ "createdAt": "2026-06-11T12:00:00Z",
5
+ "sourceWorkspace": {
6
+ "id": "workspace:sample-studio",
7
+ "rootName": "sample-studio"
8
+ },
9
+ "sourceCommit": {
10
+ "sha": "b4934b3df2504e5d9135e0c05264f6fcdf7c155d",
11
+ "repos": [
12
+ {
13
+ "repo": "sample-strategy",
14
+ "sha": "1111111111111111111111111111111111111111"
15
+ },
16
+ {
17
+ "repo": "sample-app",
18
+ "sha": "2222222222222222222222222222222222222222"
19
+ },
20
+ {
21
+ "repo": "sample-architecture",
22
+ "sha": "3333333333333333333333333333333333333333"
23
+ }
24
+ ]
25
+ },
26
+ "dirtyTree": false,
27
+ "forced": false,
28
+ "provenance": {
29
+ "generatedBy": "manual-contract-fixture",
30
+ "sourceNodes": [
31
+ {
32
+ "kgId": "sample-strategy:guides-offer-structure",
33
+ "repo": "sample-strategy",
34
+ "path": "guides/offer-structure.md",
35
+ "audience": "public",
36
+ "sourceRole": "offer-structure-authority"
37
+ },
38
+ {
39
+ "kgId": "sample-strategy:evidence-session-format",
40
+ "repo": "sample-strategy",
41
+ "path": "evidence/session-format.md",
42
+ "audience": "public",
43
+ "sourceRole": "session-format-evidence"
44
+ },
45
+ {
46
+ "kgId": "sample-app:templates-public-surface",
47
+ "repo": "sample-app",
48
+ "path": "templates/public-surface.md",
49
+ "audience": "public",
50
+ "sourceRole": "surface-authoring-template"
51
+ },
52
+ {
53
+ "kgId": "sample-app:templates-operations-consent",
54
+ "repo": "sample-app",
55
+ "path": "templates/operations-consent.md",
56
+ "audience": "public",
57
+ "sourceRole": "operations-consent-template"
58
+ }
59
+ ],
60
+ "notes": [
61
+ "Fixture is a fictional dry-run contract artifact, not a production export.",
62
+ "Example pricing, copy, and operations data are invented for schema validation.",
63
+ "No real participant, customer, staff, client, or project data is included.",
64
+ "Dry-run validation treats fixture sourceNodes as self-attested unless an external knowledge graph supplies matching node proof."
65
+ ]
66
+ },
67
+ "validation": {
68
+ "status": "warn",
69
+ "checks": [
70
+ {
71
+ "id": "graph",
72
+ "status": "pass",
73
+ "detail": "Source kg ids resolve in the source provenance graph."
74
+ },
75
+ {
76
+ "id": "visibility",
77
+ "status": "pass",
78
+ "detail": "Public surface uses only authored public-safe copy."
79
+ },
80
+ {
81
+ "id": "pricing-approval",
82
+ "status": "warn",
83
+ "detail": "Example pricing is fictional and used only for dry-run contract validation."
84
+ },
85
+ {
86
+ "id": "provider-selection",
87
+ "status": "warn",
88
+ "detail": "Payment, scheduling, and messaging providers are not selected."
89
+ }
90
+ ]
91
+ },
92
+ "visibilityGate": {
93
+ "status": "pass",
94
+ "defaultVisibility": "private",
95
+ "publicSourcePolicy": "public-only",
96
+ "taint": []
97
+ },
98
+ "objects": {
99
+ "offers": [
100
+ {
101
+ "id": "offer:sample-studio:guided-session",
102
+ "title": "Guided Studio Session",
103
+ "visibility": "public",
104
+ "approvalStatus": "draft",
105
+ "entryModes": ["journey_path", "custom_journey"],
106
+ "capacity": {
107
+ "min": 2,
108
+ "preferredMax": 4,
109
+ "absoluteMax": 6
110
+ },
111
+ "pricing": {
112
+ "currency": "USD",
113
+ "posture": "minimum_spend_or_quote",
114
+ "approvalStatus": "draft",
115
+ "bands": [
116
+ {
117
+ "label": "Guided session weekday sample",
118
+ "amountMinor": 10000
119
+ },
120
+ {
121
+ "label": "Guided session peak sample",
122
+ "amountMinor": 12500
123
+ },
124
+ {
125
+ "label": "Small group weekday sample",
126
+ "amountMinor": 18000
127
+ },
128
+ {
129
+ "label": "Small group peak sample",
130
+ "amountMinor": 22000
131
+ }
132
+ ]
133
+ },
134
+ "sourceRefs": [
135
+ "sample-strategy:guides-offer-structure",
136
+ "sample-strategy:evidence-session-format"
137
+ ]
138
+ }
139
+ ],
140
+ "surfaces": [
141
+ {
142
+ "id": "surface:sample-studio:guided-session-public",
143
+ "type": "public_offer_page",
144
+ "visibility": "public",
145
+ "title": "Guided Studio Session",
146
+ "slug": "guided-studio-session",
147
+ "summary": "A fictional public surface for a guided studio session.",
148
+ "sourceRefs": ["offer:sample-studio:guided-session"]
149
+ }
150
+ ],
151
+ "sdui": [
152
+ {
153
+ "id": "sdui:sample-studio:guided-session:hero",
154
+ "primitive": "Hero",
155
+ "visibility": "public",
156
+ "props": {
157
+ "eyebrow": "Guided Studio Session",
158
+ "title": "A fictional guided session example",
159
+ "summary": "Clear sample copy for validating public export behavior.",
160
+ "cta": "Request the sample session"
161
+ }
162
+ },
163
+ {
164
+ "id": "sdui:sample-studio:guided-session:booking-cta",
165
+ "primitive": "InquiryCTA",
166
+ "visibility": "public",
167
+ "props": {
168
+ "label": "Begin a private inquiry",
169
+ "mode": "human_review_required"
170
+ }
171
+ },
172
+ {
173
+ "id": "sdui:sample-studio:guided-session:consent-notice",
174
+ "primitive": "ConsentNotice",
175
+ "visibility": "public",
176
+ "props": {
177
+ "summary": "Each participant controls their own intake. Organizers see logistics and completion status, not private disclosures."
178
+ }
179
+ }
180
+ ],
181
+ "commitmentPaths": [
182
+ {
183
+ "id": "commitment:sample-studio:guided-session",
184
+ "offerId": "offer:sample-studio:guided-session",
185
+ "mode": "inquiry_to_quote_to_deposit",
186
+ "approvalStatus": "needs-review",
187
+ "steps": [
188
+ "public_offer_page",
189
+ "organizer_inquiry",
190
+ "human_review",
191
+ "quote_or_hold",
192
+ "deposit_or_payment_request",
193
+ "participant_intake",
194
+ "staff_prep",
195
+ "experience",
196
+ "followup_or_continuity"
197
+ ]
198
+ }
199
+ ],
200
+ "spaces": [
201
+ {
202
+ "id": "space:sample-studio:guided-session",
203
+ "title": "Guided Studio Session",
204
+ "type": "offer_space",
205
+ "visibility": "platform",
206
+ "roles": ["prospective_client", "organizer", "participant", "operator", "staff", "provider"]
207
+ }
208
+ ],
209
+ "trackables": [
210
+ {
211
+ "id": "trackable:sample-studio:guided-session-readiness",
212
+ "title": "Guided Session Readiness",
213
+ "type": "offer_readiness",
214
+ "visibility": "platform",
215
+ "events": [
216
+ "inquiry_received",
217
+ "human_review_completed",
218
+ "quote_sent",
219
+ "deposit_received",
220
+ "participant_intake_completed",
221
+ "staff_prep_locked",
222
+ "experience_completed",
223
+ "followup_sent"
224
+ ]
225
+ }
226
+ ],
227
+ "consentBoundaries": [
228
+ {
229
+ "id": "consent:sample-studio:guided-session-participant-boundary",
230
+ "title": "Guided Session Participant Boundary",
231
+ "visibility": "platform",
232
+ "rules": [
233
+ {
234
+ "id": "organizer-sensitive-access",
235
+ "decision": "deny",
236
+ "reason": "Organizer may see logistics and form completion status, not participant-sensitive intake."
237
+ },
238
+ {
239
+ "id": "staff-operational-summary",
240
+ "decision": "allow",
241
+ "reason": "Staff may see operational summaries required to deliver the experience safely."
242
+ },
243
+ {
244
+ "id": "marketing-use",
245
+ "decision": "deny",
246
+ "reason": "Private participant disclosures must not become marketing data."
247
+ },
248
+ {
249
+ "id": "provider-egress",
250
+ "decision": "review",
251
+ "reason": "Provider payloads require minimum-necessary review per provider class."
252
+ }
253
+ ]
254
+ }
255
+ ],
256
+ "staffPrep": [
257
+ {
258
+ "id": "staffprep:sample-studio:guided-session",
259
+ "title": "Guided Session Staff Prep",
260
+ "visibility": "platform",
261
+ "allowedFields": [
262
+ "session_type",
263
+ "date_time",
264
+ "group_size",
265
+ "organizer_logistics",
266
+ "approved_package",
267
+ "participant_completion_status",
268
+ "aggregate_operational_needs",
269
+ "staff_assignment",
270
+ "setup_reset_checklist",
271
+ "followup_task"
272
+ ],
273
+ "prohibitedFields": [
274
+ "real_participant_names_in_fixture",
275
+ "raw_health_disclosures",
276
+ "private_reflections",
277
+ "individual_sensitive_intake",
278
+ "unapproved_staff_notes",
279
+ "provider_secrets"
280
+ ]
281
+ }
282
+ ],
283
+ "providerEgress": [
284
+ {
285
+ "providerClass": "payment",
286
+ "defaultDecision": "review",
287
+ "allowedPayloads": [
288
+ "amountMinor",
289
+ "currency",
290
+ "invoice_or_checkout_reference",
291
+ "payer_contact"
292
+ ],
293
+ "deniedPayloads": ["sensitive_intake", "private_reflections", "staff_notes"]
294
+ },
295
+ {
296
+ "providerClass": "scheduling",
297
+ "defaultDecision": "review",
298
+ "allowedPayloads": ["time_window", "resource_hold", "group_size"],
299
+ "deniedPayloads": ["participant_sensitive_intake", "private_reflections", "staff_notes"]
300
+ },
301
+ {
302
+ "providerClass": "messaging",
303
+ "defaultDecision": "review",
304
+ "allowedPayloads": ["approved_message_copy", "recipient_contact", "delivery_preference"],
305
+ "deniedPayloads": ["unapproved_private_context", "sensitive_intake", "staff_only_context"]
306
+ }
307
+ ]
308
+ },
309
+ "importPlan": {
310
+ "mode": "dry-run",
311
+ "transactional": true,
312
+ "tenant": "sample-studio",
313
+ "runtimeOwners": [
314
+ {
315
+ "objectClass": "public_surface",
316
+ "owner": "projection"
317
+ },
318
+ {
319
+ "objectClass": "offer",
320
+ "owner": "catalog"
321
+ },
322
+ {
323
+ "objectClass": "commitment_path",
324
+ "owner": "commitments"
325
+ },
326
+ {
327
+ "objectClass": "consent_boundary",
328
+ "owner": "consent"
329
+ },
330
+ {
331
+ "objectClass": "staff_prep",
332
+ "owner": "projection"
333
+ },
334
+ {
335
+ "objectClass": "trackable",
336
+ "owner": "events"
337
+ }
338
+ ],
339
+ "operations": [
340
+ {
341
+ "op": "create",
342
+ "objectClass": "public_surface",
343
+ "externalId": "surface:sample-studio:guided-session-public",
344
+ "status": "warning",
345
+ "reason": "Public copy remains a dry-run sample until reviewed by the project owner."
346
+ },
347
+ {
348
+ "op": "create",
349
+ "objectClass": "offer",
350
+ "externalId": "offer:sample-studio:guided-session",
351
+ "status": "warning",
352
+ "reason": "Pricing and commitment policy remain draft."
353
+ },
354
+ {
355
+ "op": "create",
356
+ "objectClass": "commitment_path",
357
+ "externalId": "commitment:sample-studio:guided-session",
358
+ "status": "blocked",
359
+ "reason": "Provider mechanics are outside this dry-run fixture."
360
+ },
361
+ {
362
+ "op": "create",
363
+ "objectClass": "consent_boundary",
364
+ "externalId": "consent:sample-studio:guided-session-participant-boundary",
365
+ "status": "ready",
366
+ "reason": "Boundary is deny-by-default and contains no real participant data."
367
+ },
368
+ {
369
+ "op": "create",
370
+ "objectClass": "trackable",
371
+ "externalId": "trackable:sample-studio:guided-session-readiness",
372
+ "status": "ready",
373
+ "reason": "Readiness events are structural and do not contain participant data."
374
+ }
375
+ ]
376
+ },
377
+ "blockers": [
378
+ {
379
+ "id": "sample-public-copy-review",
380
+ "severity": "p2",
381
+ "message": "Project-owner review required before sample public copy is adapted for a real project.",
382
+ "owner": "project-owner"
383
+ },
384
+ {
385
+ "id": "sample-commercial-terms",
386
+ "severity": "p1",
387
+ "message": "Commercial terms are fictional and must not be imported as live pricing.",
388
+ "owner": "project-owner"
389
+ },
390
+ {
391
+ "id": "runtime-importer-not-enabled",
392
+ "severity": "p1",
393
+ "message": "MNSTRY runtime importer does not yet consume atelier-export@v1.",
394
+ "owner": "mnstry-runtime"
395
+ }
396
+ ]
397
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "schema": "mnstry-atelier-extension-pack@v1",
3
+ "id": "sample.readiness",
4
+ "namespace": "sample",
5
+ "version": "v1",
6
+ "terms": [],
7
+ "migrations": [],
8
+ "fixtures": [],
9
+ "protocols": [
10
+ {
11
+ "id": "sample.readiness:offer-map",
12
+ "schema": "atelier-readiness-protocol@v1",
13
+ "path": "protocols/offer-map.v1.json",
14
+ "gate": "advisory",
15
+ "title": "Collides with a bundled slug"
16
+ }
17
+ ],
18
+ "lenses": [],
19
+ "readinessRules": [],
20
+ "actionRules": [],
21
+ "exportMappings": []
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "schema": "mnstry-atelier-extension-pack@v1",
3
+ "id": "sample.readiness",
4
+ "namespace": "sample",
5
+ "version": "v1",
6
+ "terms": [],
7
+ "migrations": [],
8
+ "fixtures": [],
9
+ "protocols": [
10
+ {
11
+ "id": "sample.readiness:contract-gate",
12
+ "schema": "atelier-readiness-protocol@v1",
13
+ "path": "../escape.v1.json",
14
+ "gate": "advisory",
15
+ "title": "Escapes the pack directory"
16
+ }
17
+ ],
18
+ "lenses": [],
19
+ "readinessRules": [],
20
+ "actionRules": [],
21
+ "exportMappings": []
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "schema": "mnstry-atelier-extension-pack@v1",
3
+ "id": "sample.readiness",
4
+ "namespace": "sample",
5
+ "version": "v1",
6
+ "terms": [],
7
+ "migrations": [],
8
+ "fixtures": [],
9
+ "protocols": [
10
+ {
11
+ "id": "sample.readiness:contract-gate",
12
+ "schema": "atelier-readiness-protocol@v1",
13
+ "path": "protocols/autonomous-authority.v1.json",
14
+ "gate": "required",
15
+ "title": "Tampered safety posture"
16
+ }
17
+ ],
18
+ "lenses": [],
19
+ "readinessRules": [],
20
+ "actionRules": [],
21
+ "exportMappings": []
22
+ }
@@ -0,0 +1,118 @@
1
+ {
2
+ "schema": "atelier-readiness-protocol@v1",
3
+ "id": "sample.readiness:contract-gate",
4
+ "slug": "contract-gate",
5
+ "version": "v1",
6
+ "stage": "formation",
7
+ "title": "Tampered authority protocol",
8
+ "purpose": "Exercise the code-enforced safety posture with a tampered authority value.",
9
+ "questions": [
10
+ {
11
+ "id": "scope",
12
+ "prompt": "What neutral scope is being prepared?",
13
+ "inputFields": [
14
+ "scope.name",
15
+ "scope.sourceRef"
16
+ ],
17
+ "required": true
18
+ }
19
+ ],
20
+ "inputFields": [
21
+ {
22
+ "id": "scope.name",
23
+ "type": "string",
24
+ "required": true,
25
+ "description": "Neutral scope name."
26
+ },
27
+ {
28
+ "id": "scope.sourceRef",
29
+ "type": "string",
30
+ "required": true,
31
+ "description": "Evidence reference for the scope."
32
+ }
33
+ ],
34
+ "outputHints": [
35
+ {
36
+ "id": "contract-gate.summary",
37
+ "text": "Render scope and evidence before review."
38
+ }
39
+ ],
40
+ "outputs": {
41
+ "runSchema": "atelier-readiness-run@v1",
42
+ "artifacts": [
43
+ {
44
+ "id": "sample.readiness:contract-gate.summary",
45
+ "kind": "draft",
46
+ "schema": "atelier-readiness-run@v1",
47
+ "description": "Draft readiness summary."
48
+ }
49
+ ]
50
+ },
51
+ "claimMappings": [
52
+ {
53
+ "id": "sample.readiness:contract-gate.scope-supports-review",
54
+ "claimPredicate": "supports",
55
+ "sourceFields": [
56
+ "scope.name"
57
+ ],
58
+ "target": "atelier-claim@v1",
59
+ "evidence": "scope.sourceRef"
60
+ }
61
+ ],
62
+ "readinessRules": [
63
+ {
64
+ "id": "sample.readiness:contract-gate.scope-present",
65
+ "severity": "blocker",
66
+ "condition": "Scope name and evidence are present.",
67
+ "remediation": "Add scope.name and scope.sourceRef.",
68
+ "failClosed": true
69
+ }
70
+ ],
71
+ "graphLenses": [
72
+ {
73
+ "id": "sample.readiness:contract-gate.lens",
74
+ "title": "Sample contract gate lens",
75
+ "query": {
76
+ "protocolId": "sample.readiness:contract-gate"
77
+ }
78
+ }
79
+ ],
80
+ "exportMappings": [
81
+ {
82
+ "id": "sample.readiness:contract-gate.export",
83
+ "sourceField": "scope",
84
+ "sourceTerm": "sample.readiness:contract-gate.scope",
85
+ "target": "core.artifact",
86
+ "runtimeOwner": "audit",
87
+ "targetCollection": "staffPrep"
88
+ }
89
+ ],
90
+ "ui": {
91
+ "section": "readiness-journey",
92
+ "title": "Tampered authority protocol",
93
+ "description": "Neutral protocol fixture.",
94
+ "agentPrompt": "Run atelier readiness run sample.readiness:contract-gate --project ./atelier.project.json."
95
+ },
96
+ "safety": {
97
+ "runtimeMutation": false,
98
+ "runtimeImport": false,
99
+ "canonicalWrites": false,
100
+ "claimOnly": true,
101
+ "telemetry": false,
102
+ "egress": false,
103
+ "sendPath": false,
104
+ "browserApply": false,
105
+ "dryRunOnly": true
106
+ },
107
+ "safetyPosture": {
108
+ "runtimeMutation": false,
109
+ "externalEgress": false,
110
+ "defaultVisibility": "private",
111
+ "authority": "autonomous",
112
+ "reviewMode": "static-inspection",
113
+ "failClosedOnMissingEvidence": true,
114
+ "refuses": [
115
+ "runtime writes"
116
+ ]
117
+ }
118
+ }