@mnstry/atelier 0.2.0-alpha.14 → 0.2.0-alpha.16

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 (236) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/README.md +80 -47
  3. package/SECURITY.md +1 -1
  4. package/TRADEMARKS.md +2 -2
  5. package/contracts/atelier-extension-manifest.v1.schema.json +412 -0
  6. package/contracts/atelier-graph-view.v1.schema.json +1085 -0
  7. package/contracts/public-api-baseline.json +298 -19
  8. package/docs/README.md +90 -0
  9. package/docs/blocks/claims.md +2 -2
  10. package/docs/blocks/conformance-admission.md +1 -1
  11. package/docs/{atelier-sync.md → guides/atelier-sync.md} +20 -14
  12. package/docs/guides/co-authoring.md +113 -0
  13. package/docs/{distributions.md → guides/distributions.md} +13 -8
  14. package/docs/guides/extensions.md +189 -0
  15. package/docs/guides/graph-refresh.md +152 -0
  16. package/docs/guides/graph-workspace.md +76 -0
  17. package/docs/{ingestion.md → guides/ingestion.md} +13 -12
  18. package/docs/{knowledge-workspace.md → guides/knowledge-workspace.md} +2 -2
  19. package/docs/{learning.md → guides/learning.md} +12 -5
  20. package/docs/{obsidian.md → guides/obsidian.md} +134 -47
  21. package/docs/guides/ontology-guide.md +111 -0
  22. package/docs/{personal-workspace.md → guides/personal-workspace.md} +7 -4
  23. package/docs/{research-starter.md → guides/research-starter.md} +1 -1
  24. package/docs/{tenant-readiness.md → guides/tenant-readiness.md} +39 -0
  25. package/docs/{upgrade.md → guides/upgrade.md} +40 -9
  26. package/docs/knowledge-health/assessment/capabilities.md +6 -15
  27. package/docs/knowledge-health/facilitator.md +15 -4
  28. package/docs/knowledge-health/{devday/participant-response.md → participant-response.md} +4 -2
  29. package/docs/knowledge-health/quickstart.md +97 -75
  30. package/docs/knowledge-health/readme.md +13 -5
  31. package/docs/maintainers/describing-the-atelier.md +173 -0
  32. package/docs/{release-engineering.md → maintainers/release-engineering.md} +5 -5
  33. package/docs/{announcements.md → reference/announcements.md} +1 -1
  34. package/docs/{architecture.md → reference/architecture.md} +31 -5
  35. package/docs/{atelier-runtime.md → reference/atelier-runtime.md} +1 -1
  36. package/docs/{connected-composition.md → reference/connected-composition.md} +7 -10
  37. package/docs/{coordination.md → reference/coordination.md} +1 -1
  38. package/docs/{decisions.md → reference/decisions.md} +3 -3
  39. package/docs/{design.md → reference/design.md} +1 -1
  40. package/docs/reference/edge-policy.md +151 -0
  41. package/docs/reference/graph-view-structured.md +119 -0
  42. package/docs/reference/graph-view.md +139 -0
  43. package/docs/reference/graph-workspace.md +37 -0
  44. package/docs/{intake-and-guides.md → reference/intake-and-guides.md} +3 -4
  45. package/docs/{knowledge-graph.md → reference/knowledge-graph.md} +120 -6
  46. package/docs/{local-services.md → reference/local-services.md} +1 -1
  47. package/docs/{obsidian-contract.md → reference/obsidian-contract.md} +6 -4
  48. package/docs/{obsidian-plugin.md → reference/obsidian-plugin.md} +5 -66
  49. package/docs/{practical-judgment.md → reference/phronesis.md} +12 -3
  50. package/docs/reference/portability.md +92 -0
  51. package/docs/{portable-presentation.md → reference/portable-presentation.md} +2 -2
  52. package/docs/{presentation-consumer-boundaries.md → reference/presentation-consumer-boundaries.md} +5 -0
  53. package/docs/{project-options.md → reference/project-options.md} +17 -0
  54. package/docs/{repo-boundary-guard.md → reference/repo-boundary-guard.md} +27 -4
  55. package/docs/{review-portability.md → reference/review-portability.md} +4 -0
  56. package/docs/{template-profile.md → reference/template-profile.md} +1 -1
  57. package/docs/{trackables.md → reference/trackables.md} +2 -2
  58. package/docs/start/independent-start.md +89 -0
  59. package/docs/{install.md → start/install.md} +6 -6
  60. package/docs/{knowledge-setup.md → start/knowledge-setup.md} +5 -5
  61. package/docs/{research-starter-quickstart.md → start/research-starter-quickstart.md} +6 -6
  62. package/fixtures/atelier-architecture/catalog/invalid/document.json +2 -2
  63. package/fixtures/atelier-architecture/catalog/valid/document.json +2 -2
  64. package/fixtures/graph-view/synthetic-authorized-input.v1.json +437 -0
  65. package/fixtures/graph-view/synthetic-view.v1.json +1 -0
  66. package/fixtures/knowledge-health/workshop/README.md +1 -1
  67. package/fixtures/templates/local-library.v1.json +3 -1
  68. package/package.json +21 -8
  69. package/skills/claude/atelier-guided-upgrade/SKILL.md +1 -1
  70. package/skills/claude/atelier-knowledge-setup/SKILL.md +2 -2
  71. package/skills/claude/atelier-local-service/SKILL.md +1 -1
  72. package/skills/claude/atelier-practical-judgment/SKILL.md +7 -2
  73. package/skills/claude/atelier-skill-steward/SKILL.md +1 -1
  74. package/skills/claude/mnstry-readiness/SKILL.md +2 -2
  75. package/skills/codex/atelier-guided-upgrade/SKILL.md +1 -1
  76. package/skills/codex/atelier-knowledge-setup/SKILL.md +2 -2
  77. package/skills/codex/atelier-local-service/SKILL.md +1 -1
  78. package/skills/codex/atelier-practical-judgment/SKILL.md +7 -2
  79. package/skills/codex/atelier-skill-steward/SKILL.md +1 -1
  80. package/skills/codex/mnstry-readiness/SKILL.md +2 -2
  81. package/src/architecture/catalog.mjs +2 -2
  82. package/src/attestation/sign.mjs +1 -1
  83. package/src/boundary/content-rules.mjs +5 -4
  84. package/src/boundary/policy.mjs +60 -12
  85. package/src/cli/run.mjs +24 -8
  86. package/src/commands/distribution.mjs +1 -1
  87. package/src/commands/extension.mjs +27 -0
  88. package/src/commands/ingest.mjs +1 -1
  89. package/src/commands/learn.mjs +1 -1
  90. package/src/commands/obsidian.mjs +28 -16
  91. package/src/commands/review.mjs +3 -0
  92. package/src/edge-policy/contract.mjs +69 -0
  93. package/src/edge-policy/policy.mjs +142 -0
  94. package/src/edge-policy/source-citation-adapter.mjs +43 -0
  95. package/src/extension-packs/loader.mjs +4 -3
  96. package/src/extensions/admission.mjs +83 -0
  97. package/src/extensions/client.d.mts +23 -0
  98. package/src/extensions/client.mjs +99 -0
  99. package/src/extensions/contracts.d.mts +29 -0
  100. package/src/extensions/contracts.mjs +163 -0
  101. package/src/extensions/convex.d.mts +24 -0
  102. package/src/extensions/convex.mjs +189 -0
  103. package/src/extensions/delegation.mjs +54 -0
  104. package/src/extensions/drizzle.d.mts +11 -0
  105. package/src/extensions/drizzle.mjs +33 -0
  106. package/src/extensions/postgres.d.mts +7 -0
  107. package/src/extensions/postgres.mjs +66 -0
  108. package/src/extensions/prisma.d.mts +13 -0
  109. package/src/extensions/prisma.mjs +63 -0
  110. package/src/extensions/project.mjs +432 -0
  111. package/src/extensions/scaffold-convex.mjs +130 -0
  112. package/src/extensions/scaffold-sql.mjs +144 -0
  113. package/src/extensions/server.d.mts +20 -0
  114. package/src/extensions/server.mjs +102 -0
  115. package/src/extensions/sql-scope.mjs +22 -0
  116. package/src/graph/knowledge-graph.mjs +1 -1
  117. package/src/graph/repo-contribution.mjs +405 -0
  118. package/src/graph/repo-contribution.types.mjs +32 -0
  119. package/src/graph-access/edge-decision-adapter.mjs +41 -0
  120. package/src/graph-access/edge-record-adapter.mjs +73 -0
  121. package/src/graph-access/index.mjs +253 -0
  122. package/src/graph-access/multi-contribution-record-adapter.mjs +101 -0
  123. package/src/graph-access/multi-record-projection-adapter.mjs +74 -0
  124. package/src/graph-access/source-adapter.mjs +81 -0
  125. package/src/graph-refresh/compare.mjs +110 -0
  126. package/src/graph-refresh/controller.mjs +324 -0
  127. package/src/graph-refresh/index.mjs +3 -0
  128. package/src/graph-refresh/local.mjs +78 -0
  129. package/src/graph-view/babylon/babylon-scene-port.mjs +64 -0
  130. package/src/graph-view/babylon/index.mjs +2 -0
  131. package/src/graph-view/babylon/navigator.mjs +312 -0
  132. package/src/graph-view/babylon/provenance.mjs +36 -0
  133. package/src/graph-view/babylon/scene-controller.mjs +131 -0
  134. package/src/graph-view/babylon/semantic-picking.mjs +35 -0
  135. package/src/graph-view/babylon/web-host.mjs +188 -0
  136. package/src/graph-view/cli.mjs +3 -0
  137. package/src/graph-view/command.mjs +34 -0
  138. package/src/graph-view/contracts.mjs +79 -0
  139. package/src/graph-view/errors.mjs +5 -0
  140. package/src/graph-view/index.mjs +4 -0
  141. package/src/graph-view/intents.mjs +30 -0
  142. package/src/graph-view/query.mjs +213 -0
  143. package/src/graph-view/refs.mjs +2 -0
  144. package/src/graph-view/structured/browser.mjs +262 -0
  145. package/src/graph-view/structured/styles.mjs +8 -0
  146. package/src/graph-workspace/authoring.mjs +185 -0
  147. package/src/graph-workspace/browser/dom.mjs +23 -0
  148. package/src/graph-workspace/browser/index.mjs +6 -0
  149. package/src/graph-workspace/browser/map.mjs +374 -0
  150. package/src/graph-workspace/browser/review.mjs +55 -0
  151. package/src/graph-workspace/browser/styles.mjs +11 -0
  152. package/src/graph-workspace/browser/workbench.mjs +351 -0
  153. package/src/graph-workspace/browser/workspace.mjs +433 -0
  154. package/src/graph-workspace/disclosure.mjs +39 -0
  155. package/src/graph-workspace/geometry.mjs +78 -0
  156. package/src/graph-workspace/index.mjs +11 -0
  157. package/src/graph-workspace/labels.mjs +50 -0
  158. package/src/graph-workspace/model.mjs +109 -0
  159. package/src/graph-workspace/recipes.mjs +100 -0
  160. package/src/graph-workspace/scale.mjs +98 -0
  161. package/src/graph-workspace/theme.mjs +156 -0
  162. package/src/knowledge/ontology-guide.mjs +152 -0
  163. package/src/knowledge-health/proof/installed-check.mjs +2 -2
  164. package/src/knowledge-health/rule-identity.mjs +7 -7
  165. package/src/knowledge-health/workshop.mjs +22 -2
  166. package/src/personal-workspace/selection.mjs +17 -2
  167. package/src/project/config.mjs +1 -1
  168. package/src/project/providers/github.mjs +24 -0
  169. package/src/project/repo-identity.mjs +3 -22
  170. package/src/projection/obsidian/contracts.mjs +1 -1
  171. package/src/projection/obsidian/materialize/path-registry.mjs +1 -1
  172. package/src/projection/obsidian/materialize/prepare-view.mjs +1 -1
  173. package/src/projection/obsidian/materialize/redaction.mjs +1 -1
  174. package/src/projection/obsidian/personal-workspace.mjs +24 -28
  175. package/src/projection/obsidian/plugin-bridge/channel.mjs +1 -1
  176. package/src/projection/obsidian/publication/publisher.mjs +25 -4
  177. package/src/projection/project.mjs +18 -14
  178. package/src/readiness/readiness.mjs +20 -11
  179. package/src/readiness-protocols/bundled-pack.mjs +14 -766
  180. package/src/readiness-protocols/bundled-selection.mjs +32 -0
  181. package/src/readiness-protocols/evidence.mjs +2 -1
  182. package/src/readiness-protocols/packs/mnstry.mjs +766 -0
  183. package/src/readiness-protocols/runtime.mjs +43 -6
  184. package/src/runtime/obsidian/engine.mjs +99 -26
  185. package/src/runtime/obsidian/lifecycle.mjs +3 -3
  186. package/src/runtime/obsidian/login-item.mjs +2 -2
  187. package/src/runtime/obsidian/machine-settings.mjs +52 -8
  188. package/src/runtime/obsidian/opening.mjs +2 -2
  189. package/src/runtime/obsidian/personal-selection.mjs +88 -26
  190. package/src/runtime/obsidian/pipeline.mjs +75 -7
  191. package/src/runtime/obsidian/private-lock.mjs +11 -2
  192. package/src/runtime/obsidian/selection-continuity.mjs +124 -0
  193. package/src/runtime/obsidian/service-main.mjs +15 -9
  194. package/src/runtime/obsidian/service.mjs +14 -0
  195. package/src/runtime/obsidian/unheld-evidence.mjs +1 -1
  196. package/src/runtime/obsidian/view-permission.mjs +2 -1
  197. package/src/upgrade/upgrade.mjs +23 -4
  198. package/templates/distribution-workspace/README.md +2 -2
  199. package/templates/external-project-workspace/atelier.project.json +3 -0
  200. package/templates/external-project-workspace/pack-lifecycle.json +3 -1
  201. package/templates/knowledge-workspace/README.md +2 -2
  202. package/docs/integration-and-review-plan.md +0 -409
  203. package/docs/integration-contract-decisions.md +0 -44
  204. package/docs/knowledge-health/devday/facilitator.md +0 -16
  205. package/docs/knowledge-health/devday/public-default.md +0 -107
  206. package/docs/knowledge-health/devday/quickstart.md +0 -18
  207. package/docs/knowledge-health/devday/support.md +0 -22
  208. package/docs/knowledge-health/exercise.md +0 -17
  209. package/docs/knowledge-health/support.md +0 -34
  210. package/docs/presentation-review-disposition.md +0 -47
  211. package/docs/progressive-ingestion-acceptance.md +0 -89
  212. package/docs/progressive-ingestion.md +0 -235
  213. /package/docs/{capability-stewardship.md → guides/capability-stewardship.md} +0 -0
  214. /package/docs/{exact-upgrades.md → guides/exact-upgrades.md} +0 -0
  215. /package/docs/{guided-upgrades.md → guides/guided-upgrades.md} +0 -0
  216. /package/docs/{inquiry-harnesses.md → guides/inquiry-harnesses.md} +0 -0
  217. /package/docs/{learning-harnesses.md → guides/learning-harnesses.md} +0 -0
  218. /package/docs/{local-review.md → guides/local-review.md} +0 -0
  219. /package/docs/{skill-steward.md → guides/skill-steward.md} +0 -0
  220. /package/docs/{template-upgrades.md → guides/template-upgrades.md} +0 -0
  221. /package/docs/{assurance-controls.md → maintainers/assurance-controls.md} +0 -0
  222. /package/docs/{attestation.md → reference/attestation.md} +0 -0
  223. /package/docs/{coauthor-session.md → reference/coauthor-session.md} +0 -0
  224. /package/docs/{continuity.md → reference/continuity.md} +0 -0
  225. /package/docs/{contract-stability.md → reference/contract-stability.md} +0 -0
  226. /package/docs/{decision-practices.md → reference/decision-practices.md} +0 -0
  227. /package/docs/{evidence-navigation.md → reference/evidence-navigation.md} +0 -0
  228. /package/docs/{extension-pack-lifecycle.md → reference/extension-pack-lifecycle.md} +0 -0
  229. /package/docs/{interaction-and-reflection.md → reference/interaction-and-reflection.md} +0 -0
  230. /package/docs/{local-state.md → reference/local-state.md} +0 -0
  231. /package/docs/{ontology.md → reference/ontology.md} +0 -0
  232. /package/docs/{optional-ingestion.md → reference/optional-ingestion.md} +0 -0
  233. /package/docs/{project-command-inventory.md → reference/project-command-inventory.md} +0 -0
  234. /package/docs/{semantic-ingestion.md → reference/semantic-ingestion.md} +0 -0
  235. /package/docs/{semantic-operation.md → reference/semantic-operation.md} +0 -0
  236. /package/docs/{vault-service.md → reference/vault-service.md} +0 -0
@@ -32,26 +32,305 @@
32
32
  "./export-contract",
33
33
  "./dry-run",
34
34
  "./contracts/atelier-export.v1.schema.json",
35
- "./fixtures/atelier-export/sample-studio-offer.v1.json"
35
+ "./fixtures/atelier-export/sample-studio-offer.v1.json",
36
+ "./extensions",
37
+ "./extensions/client",
38
+ "./extensions/server",
39
+ "./extensions/postgres",
40
+ "./contracts/atelier-extension-manifest.v1.schema.json",
41
+ "./extensions/drizzle",
42
+ "./extensions/prisma"
36
43
  ],
37
44
  "requiredModuleExports": {
38
- ".": ["ALLOWED_RUNTIME_TARGETS", "ATELIER_LOCK_SCHEMA", "ATELIER_MIGRATION_SCHEMA", "ATELIER_READINESS_SCHEMA", "BASE_MIGRATIONS", "BOUNDARY_POLICY_SCHEMA", "LOCAL_AUDIENCES", "MNSTRY_READINESS_PACK_SCHEMA", "OBJECT_CLASSES", "PROJECT_CONFIG_SCHEMA", "READINESS_PROTOCOL_IDS", "READINESS_PROTOCOL_SLUGS", "RUNTIME_OWNERS", "RUNTIME_VISIBILITIES", "analysisAdapterDryRun", "applyUpgrade", "buildAtelierLock", "buildGraph", "buildProjectProjection", "buildReadiness", "buildSupportBundlePreview", "bundledMnstryReadinessPackV1", "bundledReadinessPack", "bundledReadinessProtocols", "checkAtelierLock", "checkBoundaryPolicy", "checkForbiddenEgress", "contextEnvelope", "createAtelierSidecarServer", "createPromoteEvent", "getBundledReadinessProtocol", "installBoundaryHooks", "loadAtelierLock", "loadBoundaryPolicy", "planUpgrade", "protocolById", "resolveProjectConfig", "validateAtelierExportContract", "validateAtelierExportDryRun", "validateAtelierExportDryRunFile", "validateBoundaryPolicy", "validateJsonSchema", "validateMigrationRecord", "validateProjectConfigDoc", "validateSchemaShape", "validateSupportBundlePayload", "writeAtelierLock"],
39
- "./cli": ["DEFAULT_BRAND", "buildCommandHelpText", "buildHelpText", "buildVersionText", "commandMap", "runCli"],
40
- "./project": ["EXTERNAL_REPO_KIND", "LOCAL_OVERLAY_ENV", "LOCAL_OVERLAY_FILES", "LOCAL_OVERLAY_SCHEMA", "LOCAL_STATE_DIR", "PROJECT_CONFIG_ARG_PREFIX", "PROJECT_CONFIG_ENV", "PROJECT_CONFIG_SCHEMA", "SUPPORTED_IDENTITY_PROVIDERS", "asObject", "commandProject", "ensureLocalState", "firstString", "gitRemoteUrl", "isExternalRepo", "loadRepoAccess", "localOverlayCandidatePaths", "localStateRoot", "parseArgs", "parseRepoPathOverrides", "projectConfigArg", "readJson", "readLocalOverlay", "readProjectConfig", "remoteHost", "resolvePathValue", "resolveProjectConfig", "stripProjectConfigArgs", "validateProjectConfigDoc", "writeJson"],
41
- "./graph": ["VALID_AUDIENCES", "VALID_RELATIONS", "buildGraph", "ignoredSidecarWarnings", "parseFrontmatterYaml", "runGraphCommand"],
42
- "./projection": ["buildProjectProjection", "runProjectCommand"],
43
- "./readiness": ["ATELIER_READINESS_SCHEMA", "buildReadiness", "runReadinessCommand", "stableReadinessForCheck", "summarizeGraph", "summarizeProjection"],
44
- "./readiness-protocols": ["MNSTRY_READINESS_PACK_SCHEMA", "READINESS_PROTOCOL_IDS", "READINESS_PROTOCOL_SCHEMA", "READINESS_PROTOCOL_SLUGS", "READINESS_RUN_SCHEMA", "bundledMnstryReadinessPackV1", "bundledReadinessPack", "bundledReadinessProtocols", "getBundledReadinessProtocol", "protocolById"],
45
- "./server": ["ATELIER_CAPABILITIES_SCHEMA", "ATELIER_CONTEXT_SCHEMA", "ATELIER_DOCTOR_SCHEMA", "ATELIER_PRESENCE_SCHEMA", "ATELIER_RESOLVE_SCHEMA", "ATELIER_SESSION_AUTH_SCHEMA", "createAtelierSidecarServer"],
46
- "./harness": ["contextEnvelope", "runContextCommand"],
47
- "./support": ["BANNED_KEY_PATTERNS", "BANNED_VALUE_PATTERNS", "DEFAULT_SUPPORT_FIELDS", "SUPPORT_BUNDLE_PREVIEW_SCHEMA", "buildSupportBundlePreview", "parseSupportBundleArgs", "readSupportBundleJson", "runSupportCommand", "supportBundlePreview", "validateSupportBundlePayload", "writeOrPrintSupportBundle"],
48
- "./egress": ["DEFAULT_EGRESS_SCAN_PATHS", "LOCAL_COMPUTED_ALLOW_MARKER", "TEST_FIXTURE_ALLOW_MARKER", "checkForbiddenEgress", "discoverForbiddenEgressScanFiles", "forbiddenEgressFindingsForText"],
49
- "./boundary": ["BOUNDARY_POLICY_SCHEMA", "DEFAULT_FORBIDDEN_PATHS", "LEGACY_PROMOTE_EVENT_SCHEMAS", "PRIVATE_AUDIENCES", "PROMOTE_EVENT_SCHEMA", "SEMANTIC_INITIALIZATION_DEFAULTS", "VALID_AUDIENCES", "VALID_AUTOCOMMIT", "VALID_BOUNDARY_MODES", "VALID_REPO_KINDS", "auditContentRules", "checkBoundaryPolicy", "checkPushContent", "createPromoteEvent", "diffFileSections", "installBoundaryHooks", "loadBoundaryPolicy", "projectBoundaryPolicyPath", "projectGovernanceLedgerPath", "resolveCurrentActor", "runBoundaryAuditCommand", "runBoundaryCheckCommand", "runBoundaryInstallHooksCommand", "runBoundaryPushCheckCommand", "runPromoteCommand", "semanticChangesInFile", "semanticFieldOnLine", "stagedPathsForProject", "validateBoundaryPolicy"],
50
- "./upgrade": ["ATELIER_LOCK_SCHEMA", "ATELIER_MIGRATION_SCHEMA", "BASE_MIGRATIONS", "LOCK_FILE", "MIGRATION_CLASSES", "applyMigration", "applyUpgrade", "buildAtelierLock", "checkAtelierLock", "loadAtelierLock", "lockPathForProject", "planUpgrade", "runLockCommand", "runUpgradeCommand", "validateMigrationRecord", "writeAtelierLock"],
51
- "./attestation": ["KEY_ENV_VAR", "LOCAL_KEY_FILE", "canonicalize", "generateKeyPair", "loadSigningKey", "payloadHashOf", "safeLabel", "signAttestation", "signDocument", "signingInput", "verifyAttestation", "verifyDocument", "verifyPayloadBinding"],
52
- "./extension-packs": ["ATELIER_EXT_NAMESPACE", "EXTENSION_PACK_SCHEMA", "PROTOCOL_POSTURE_POINTS", "RESERVED_NAMESPACE", "RESERVED_NAMESPACE_PATTERN", "computePackDigest", "createProtocolRegistry", "loadExtensionPacks"],
53
- "./analysis/adapter": ["analysisAdapterDryRun", "runAnalysisAdapterCommand"],
54
- "./export-contract": ["ALLOWED_RUNTIME_TARGETS", "LOCAL_AUDIENCES", "OBJECT_CLASSES", "RUNTIME_OWNERS", "RUNTIME_VISIBILITIES", "validateAtelierExportContract", "validateJsonSchema", "validateSchemaShape"],
55
- "./dry-run": ["main", "validateAtelierExportDryRun", "validateAtelierExportDryRunFile"]
45
+ ".": [
46
+ "ALLOWED_RUNTIME_TARGETS",
47
+ "ATELIER_LOCK_SCHEMA",
48
+ "ATELIER_MIGRATION_SCHEMA",
49
+ "ATELIER_READINESS_SCHEMA",
50
+ "BASE_MIGRATIONS",
51
+ "BOUNDARY_POLICY_SCHEMA",
52
+ "LOCAL_AUDIENCES",
53
+ "MNSTRY_READINESS_PACK_SCHEMA",
54
+ "OBJECT_CLASSES",
55
+ "PROJECT_CONFIG_SCHEMA",
56
+ "READINESS_PROTOCOL_IDS",
57
+ "READINESS_PROTOCOL_SLUGS",
58
+ "RUNTIME_OWNERS",
59
+ "RUNTIME_VISIBILITIES",
60
+ "analysisAdapterDryRun",
61
+ "applyUpgrade",
62
+ "buildAtelierLock",
63
+ "buildGraph",
64
+ "buildProjectProjection",
65
+ "buildReadiness",
66
+ "buildSupportBundlePreview",
67
+ "bundledMnstryReadinessPackV1",
68
+ "bundledReadinessPack",
69
+ "bundledReadinessProtocols",
70
+ "checkAtelierLock",
71
+ "checkBoundaryPolicy",
72
+ "checkForbiddenEgress",
73
+ "contextEnvelope",
74
+ "createAtelierSidecarServer",
75
+ "createPromoteEvent",
76
+ "getBundledReadinessProtocol",
77
+ "installBoundaryHooks",
78
+ "loadAtelierLock",
79
+ "loadBoundaryPolicy",
80
+ "planUpgrade",
81
+ "protocolById",
82
+ "resolveProjectConfig",
83
+ "validateAtelierExportContract",
84
+ "validateAtelierExportDryRun",
85
+ "validateAtelierExportDryRunFile",
86
+ "validateBoundaryPolicy",
87
+ "validateJsonSchema",
88
+ "validateMigrationRecord",
89
+ "validateProjectConfigDoc",
90
+ "validateSchemaShape",
91
+ "validateSupportBundlePayload",
92
+ "writeAtelierLock"
93
+ ],
94
+ "./cli": [
95
+ "DEFAULT_BRAND",
96
+ "buildCommandHelpText",
97
+ "buildHelpText",
98
+ "buildVersionText",
99
+ "commandMap",
100
+ "runCli"
101
+ ],
102
+ "./project": [
103
+ "EXTERNAL_REPO_KIND",
104
+ "LOCAL_OVERLAY_ENV",
105
+ "LOCAL_OVERLAY_FILES",
106
+ "LOCAL_OVERLAY_SCHEMA",
107
+ "LOCAL_STATE_DIR",
108
+ "PROJECT_CONFIG_ARG_PREFIX",
109
+ "PROJECT_CONFIG_ENV",
110
+ "PROJECT_CONFIG_SCHEMA",
111
+ "SUPPORTED_IDENTITY_PROVIDERS",
112
+ "asObject",
113
+ "commandProject",
114
+ "ensureLocalState",
115
+ "firstString",
116
+ "gitRemoteUrl",
117
+ "isExternalRepo",
118
+ "loadRepoAccess",
119
+ "localOverlayCandidatePaths",
120
+ "localStateRoot",
121
+ "parseArgs",
122
+ "parseRepoPathOverrides",
123
+ "projectConfigArg",
124
+ "readJson",
125
+ "readLocalOverlay",
126
+ "readProjectConfig",
127
+ "remoteHost",
128
+ "resolvePathValue",
129
+ "resolveProjectConfig",
130
+ "stripProjectConfigArgs",
131
+ "validateProjectConfigDoc",
132
+ "writeJson"
133
+ ],
134
+ "./graph": [
135
+ "VALID_AUDIENCES",
136
+ "VALID_RELATIONS",
137
+ "buildGraph",
138
+ "ignoredSidecarWarnings",
139
+ "parseFrontmatterYaml",
140
+ "runGraphCommand"
141
+ ],
142
+ "./projection": [
143
+ "buildProjectProjection",
144
+ "runProjectCommand"
145
+ ],
146
+ "./readiness": [
147
+ "ATELIER_READINESS_SCHEMA",
148
+ "buildReadiness",
149
+ "runReadinessCommand",
150
+ "stableReadinessForCheck",
151
+ "summarizeGraph",
152
+ "summarizeProjection"
153
+ ],
154
+ "./readiness-protocols": [
155
+ "MNSTRY_READINESS_PACK_SCHEMA",
156
+ "READINESS_PROTOCOL_IDS",
157
+ "READINESS_PROTOCOL_SCHEMA",
158
+ "READINESS_PROTOCOL_SLUGS",
159
+ "READINESS_RUN_SCHEMA",
160
+ "bundledMnstryReadinessPackV1",
161
+ "bundledReadinessPack",
162
+ "bundledReadinessProtocols",
163
+ "getBundledReadinessProtocol",
164
+ "protocolById"
165
+ ],
166
+ "./server": [
167
+ "ATELIER_CAPABILITIES_SCHEMA",
168
+ "ATELIER_CONTEXT_SCHEMA",
169
+ "ATELIER_DOCTOR_SCHEMA",
170
+ "ATELIER_PRESENCE_SCHEMA",
171
+ "ATELIER_RESOLVE_SCHEMA",
172
+ "ATELIER_SESSION_AUTH_SCHEMA",
173
+ "createAtelierSidecarServer"
174
+ ],
175
+ "./harness": [
176
+ "contextEnvelope",
177
+ "runContextCommand"
178
+ ],
179
+ "./support": [
180
+ "BANNED_KEY_PATTERNS",
181
+ "BANNED_VALUE_PATTERNS",
182
+ "DEFAULT_SUPPORT_FIELDS",
183
+ "SUPPORT_BUNDLE_PREVIEW_SCHEMA",
184
+ "buildSupportBundlePreview",
185
+ "parseSupportBundleArgs",
186
+ "readSupportBundleJson",
187
+ "runSupportCommand",
188
+ "supportBundlePreview",
189
+ "validateSupportBundlePayload",
190
+ "writeOrPrintSupportBundle"
191
+ ],
192
+ "./egress": [
193
+ "DEFAULT_EGRESS_SCAN_PATHS",
194
+ "LOCAL_COMPUTED_ALLOW_MARKER",
195
+ "TEST_FIXTURE_ALLOW_MARKER",
196
+ "checkForbiddenEgress",
197
+ "discoverForbiddenEgressScanFiles",
198
+ "forbiddenEgressFindingsForText"
199
+ ],
200
+ "./boundary": [
201
+ "BOUNDARY_POLICY_SCHEMA",
202
+ "DEFAULT_FORBIDDEN_PATHS",
203
+ "LEGACY_PROMOTE_EVENT_SCHEMAS",
204
+ "PRIVATE_AUDIENCES",
205
+ "PROMOTE_EVENT_SCHEMA",
206
+ "SEMANTIC_INITIALIZATION_DEFAULTS",
207
+ "VALID_AUDIENCES",
208
+ "VALID_AUTOCOMMIT",
209
+ "VALID_BOUNDARY_MODES",
210
+ "VALID_REPO_KINDS",
211
+ "auditContentRules",
212
+ "checkBoundaryPolicy",
213
+ "checkPushContent",
214
+ "createPromoteEvent",
215
+ "diffFileSections",
216
+ "installBoundaryHooks",
217
+ "loadBoundaryPolicy",
218
+ "projectBoundaryPolicyPath",
219
+ "projectGovernanceLedgerPath",
220
+ "resolveCurrentActor",
221
+ "runBoundaryAuditCommand",
222
+ "runBoundaryCheckCommand",
223
+ "runBoundaryInstallHooksCommand",
224
+ "runBoundaryPushCheckCommand",
225
+ "runPromoteCommand",
226
+ "semanticChangesInFile",
227
+ "semanticFieldOnLine",
228
+ "stagedPathsForProject",
229
+ "validateBoundaryPolicy"
230
+ ],
231
+ "./upgrade": [
232
+ "ATELIER_LOCK_SCHEMA",
233
+ "ATELIER_MIGRATION_SCHEMA",
234
+ "BASE_MIGRATIONS",
235
+ "LOCK_FILE",
236
+ "MIGRATION_CLASSES",
237
+ "applyMigration",
238
+ "applyUpgrade",
239
+ "buildAtelierLock",
240
+ "checkAtelierLock",
241
+ "loadAtelierLock",
242
+ "lockPathForProject",
243
+ "planUpgrade",
244
+ "runLockCommand",
245
+ "runUpgradeCommand",
246
+ "validateMigrationRecord",
247
+ "writeAtelierLock"
248
+ ],
249
+ "./attestation": [
250
+ "KEY_ENV_VAR",
251
+ "LOCAL_KEY_FILE",
252
+ "canonicalize",
253
+ "generateKeyPair",
254
+ "loadSigningKey",
255
+ "payloadHashOf",
256
+ "safeLabel",
257
+ "signAttestation",
258
+ "signDocument",
259
+ "signingInput",
260
+ "verifyAttestation",
261
+ "verifyDocument",
262
+ "verifyPayloadBinding"
263
+ ],
264
+ "./extension-packs": [
265
+ "ATELIER_EXT_NAMESPACE",
266
+ "EXTENSION_PACK_SCHEMA",
267
+ "PROTOCOL_POSTURE_POINTS",
268
+ "RESERVED_NAMESPACE",
269
+ "RESERVED_NAMESPACE_PATTERN",
270
+ "computePackDigest",
271
+ "createProtocolRegistry",
272
+ "loadExtensionPacks"
273
+ ],
274
+ "./analysis/adapter": [
275
+ "analysisAdapterDryRun",
276
+ "runAnalysisAdapterCommand"
277
+ ],
278
+ "./export-contract": [
279
+ "ALLOWED_RUNTIME_TARGETS",
280
+ "LOCAL_AUDIENCES",
281
+ "OBJECT_CLASSES",
282
+ "RUNTIME_OWNERS",
283
+ "RUNTIME_VISIBILITIES",
284
+ "validateAtelierExportContract",
285
+ "validateJsonSchema",
286
+ "validateSchemaShape"
287
+ ],
288
+ "./dry-run": [
289
+ "main",
290
+ "validateAtelierExportDryRun",
291
+ "validateAtelierExportDryRunFile"
292
+ ],
293
+ "./extensions": [
294
+ "ExtensionError",
295
+ "canonicalJson",
296
+ "exact",
297
+ "parseInstallationBinding",
298
+ "parseManifest",
299
+ "parseOperationReceipt",
300
+ "text",
301
+ "parseProviderOperationProof"
302
+ ],
303
+ "./extensions/client": [
304
+ "createExtensionAdminClient",
305
+ "createExtensionClient",
306
+ "createHttpHostTransport"
307
+ ],
308
+ "./extensions/server": [
309
+ "assertVerifiedScope",
310
+ "createExtensionHandler",
311
+ "createRootAdmissionConsumer",
312
+ "defineAction",
313
+ "defineExtension",
314
+ "digest",
315
+ "releaseDigest"
316
+ ],
317
+ "./extensions/postgres": [
318
+ "lookupPostgresOperation",
319
+ "oncePostgresOperation",
320
+ "postgresHealth",
321
+ "withPostgresScope"
322
+ ],
323
+ "./extensions/drizzle": [
324
+ "drizzleHealth",
325
+ "lookupDrizzleOperation",
326
+ "onceDrizzleOperation",
327
+ "withDrizzleScope"
328
+ ],
329
+ "./extensions/prisma": [
330
+ "lookupPrismaOperation",
331
+ "oncePrismaOperation",
332
+ "prismaHealth",
333
+ "withPrismaScope"
334
+ ]
56
335
  }
57
336
  }
package/docs/README.md ADDED
@@ -0,0 +1,90 @@
1
+ # Atelier documentation
2
+
3
+ Choose a starting path, then use the task guides and references for the installed version.
4
+ The [responsibility architecture](reference/architecture.md) and versioned contracts remain the existing authorities.
5
+
6
+ ## Start here
7
+
8
+ - [Start Atelier independently](start/independent-start.md)
9
+ - [Install](start/install.md)
10
+ - [Set up a graph that earns its context](start/knowledge-setup.md)
11
+ - [Start a research workspace](start/research-starter-quickstart.md)
12
+
13
+ ## Task guides
14
+
15
+ - [Atelier Sync: headless repository supervision](guides/atelier-sync.md)
16
+ - [Capability stewardship](guides/capability-stewardship.md)
17
+ - [Co-authoring with agents](guides/co-authoring.md)
18
+ - [Distributions](guides/distributions.md)
19
+ - [Local exact-plan upgrades](guides/exact-upgrades.md)
20
+ - [Custom database extensions](guides/extensions.md)
21
+ - [Upgrade with your agent](guides/guided-upgrades.md)
22
+ - [Progressive local ingestion](guides/ingestion.md)
23
+ - [Discovery Harness and Research Harness](guides/inquiry-harnesses.md)
24
+ - [Knowledge workspaces and guided coauthoring](guides/knowledge-workspace.md)
25
+ - [Knowledge development and the learning cycle](guides/learning-harnesses.md)
26
+ - [Learning from corrections and outcomes](guides/learning.md)
27
+ - [Local source review](guides/local-review.md)
28
+ - [Obsidian projection: selection, apply policy and acceptance receipts](guides/obsidian.md)
29
+ - [Personal workspace composition](guides/personal-workspace.md)
30
+ - [Research starter](guides/research-starter.md)
31
+ - [Skill stewardship](guides/skill-steward.md)
32
+ - [Local template adoption](guides/template-upgrades.md)
33
+ - [Tenant Readiness Guide](guides/tenant-readiness.md)
34
+ - [Upgrade Guide](guides/upgrade.md)
35
+
36
+ ## Architecture and API reference
37
+
38
+ - [Announcements](reference/announcements.md)
39
+ - [Responsibilities, workflows and runtime bindings](reference/architecture.md)
40
+ - [MNSTRY Atelier Runtime](reference/atelier-runtime.md)
41
+ - [Attestation](reference/attestation.md)
42
+ - [Experimental portable coauthor session](reference/coauthor-session.md)
43
+ - [Connected composition: synthetic foundation](reference/connected-composition.md)
44
+ - [Distribution continuity commitment](reference/continuity.md)
45
+ - [Contract stability](reference/contract-stability.md)
46
+ - [Portable Coordination and native authority](reference/coordination.md)
47
+ - [Decision practices](reference/decision-practices.md)
48
+ - [Typed decision proposals](reference/decisions.md)
49
+ - [The design](reference/design.md)
50
+ - [Evidence navigation](reference/evidence-navigation.md)
51
+ - [Pack compatibility for evidence-bound review](reference/extension-pack-lifecycle.md)
52
+ - [Immutable intake and guide integration](reference/intake-and-guides.md)
53
+ - [Interaction and Reflection](reference/interaction-and-reflection.md)
54
+ - [MNSTRY Atelier Knowledge Graph](reference/knowledge-graph.md)
55
+ - [Managed local services](reference/local-services.md)
56
+ - [Durable local state](reference/local-state.md)
57
+ - [Obsidian projection contract](reference/obsidian-contract.md)
58
+ - [Atelier's Obsidian plugin](reference/obsidian-plugin.md)
59
+ - [Atelier export ontology](reference/ontology.md)
60
+ - [Optional ingestion suppliers](reference/optional-ingestion.md)
61
+ - [Portability: what a record holds and what the checks prove](reference/portability.md)
62
+ - [Portable presentation v1](reference/portable-presentation.md)
63
+ - [Phronesis — practical judgment](reference/phronesis.md)
64
+ - [Presentation and public-page consumers](reference/presentation-consumer-boundaries.md)
65
+ - [Project option and command inventory](reference/project-command-inventory.md)
66
+ - [Project location and repository overrides](reference/project-options.md)
67
+ - [Repo Boundary Guard V1](reference/repo-boundary-guard.md)
68
+ - [Review state and portable inspection](reference/review-portability.md)
69
+ - [Vanilla semantic proposal processor](reference/semantic-ingestion.md)
70
+ - [Semantic operation: internal vanilla profile](reference/semantic-operation.md)
71
+ - [Portable template profiles](reference/template-profile.md)
72
+ - [Trackables: one definition, one domain writer](reference/trackables.md)
73
+ - [Portable private artifact vaults (experimental)](reference/vault-service.md)
74
+
75
+ ## Maintainer controls
76
+
77
+ - [Assurance controls and evidence map](maintainers/assurance-controls.md)
78
+ - [Describing the Atelier](maintainers/describing-the-atelier.md)
79
+ - [Release engineering](maintainers/release-engineering.md)
80
+
81
+ ## Knowledge Health
82
+
83
+ - [Collection overview](knowledge-health/readme.md)
84
+ - [Public workshop](knowledge-health/quickstart.md)
85
+ - [Participant response and recovery](knowledge-health/participant-response.md)
86
+ - [Facilitator guide](knowledge-health/facilitator.md)
87
+ - [Assessment example](knowledge-health/assessment/quickstart.md)
88
+ - [Participatory host API](knowledge-health/api.md)
89
+
90
+ The [claim blocks](blocks/) supply the canonical promise text embedded in the package README.
@@ -14,7 +14,7 @@ platform logins must uniquely match declared login mappings. Repository identity
14
14
  checks may invoke `gh api repos/...` to resolve a canonical GitHub identity.
15
15
  Those authenticated requests use your own `gh` credentials. Recorded repository
16
16
  identities let identity checks keep working when the provider is unavailable.
17
- See `docs/install.md` for the full attribution precedence and mode semantics.
17
+ See `docs/start/install.md` for the full attribution precedence and mode semantics.
18
18
  Explicitly enrolled Atelier Sync may also run bounded Git fetches
19
19
  for observation/reconciliation and one non-force push only when the exact
20
20
  reviewed commit plan requested and confirmed it, no earlier local commit is
@@ -69,6 +69,6 @@ service, no network:
69
69
  atelier dry-run ./atelier-export.json
70
70
  ```
71
71
 
72
- `docs/continuity.md` records the distribution commitments behind these
72
+ `docs/reference/continuity.md` records the distribution commitments behind these
73
73
  claims, including the perpetual Apache-2.0 grant on every tagged release you
74
74
  receive.
@@ -9,7 +9,7 @@ Admission is a narrower, opt-in decision: whether a MNSTRY governed runtime
9
9
  accepts a document for delivery to the people it serves. That is what
10
10
  admission buys — delivery through a runtime that enforces consent and
11
11
  visibility at serve time — and it takes the form of a signed MNSTRY
12
- attestation against criteria this package publishes (`docs/attestation.md`).
12
+ attestation against criteria this package publishes (`docs/reference/attestation.md`).
13
13
  The criteria are public, the checker is private, and the rejection message
14
14
  is part of the contract. You can build on the Atelier without ever talking
15
15
  to MNSTRY, and a document MNSTRY declines can still be fully conformant.
@@ -1,9 +1,14 @@
1
- # Atelier Sync: Deliverable Zero
1
+ # Atelier Sync: headless repository supervision
2
2
 
3
- Atelier Sync is the collaborator-facing name for the resident repository
4
- supervisor. Deliverable Zero is deliberately headless: it proves the Git,
5
- filesystem, state-machine, recovery, and user-authority boundaries before a
6
- tray shell or installer is allowed to make the product feel finished.
3
+ Atelier Sync is the optional headless repository supervisor in the public
4
+ Atelier toolkit. Its CLI and runtime APIs cover Git, filesystem, state-machine,
5
+ recovery and user-authority boundaries. Use the [independent local start](../start/independent-start.md)
6
+ for authoring without enabling supervision.
7
+
8
+ The public toolkit includes no desktop utility, tray shell or native installer.
9
+ MNSTRY's desktop utility is a separate proprietary consumer. Generic startup,
10
+ editor and native-presentation bindings remain optional public tooling; a host
11
+ owns its installation, background lifecycle and user interface.
7
12
 
8
13
  This is repository mechanics, not MNSTRY runtime authority. A Git commit
9
14
  changes the enrolled repository. It does not mutate MNSTRY identity, consent,
@@ -20,7 +25,7 @@ runtime object.
20
25
  credentials continue through ordinary Git credential helpers. Git `2.40.0`
21
26
  or newer is required so global and system attribute provenance is observable.
22
27
  - Every cycle observes the full repository. There is no watcher correctness
23
- dependency in Deliverable Zero.
28
+ dependency.
24
29
  - Fetch and fast-forward-only reconciliation are mechanical operations.
25
30
  - Commit creation is a two-phase, user-confirmed operation. Planning records
26
31
  the head, branch, complete status digest, exact file paths, commit message,
@@ -74,8 +79,8 @@ contains the current `atelier-repository-observation@v1` document. That
74
79
  observation cannot report `complete: true` when any of these are unresolved:
75
80
 
76
81
  - lexically identifiable provider-managed, UNC/network, WSL-cross-boundary, or
77
- unclassified external filesystem roots (mapped-drive classification remains
78
- an operating-system integration concern for the signed beta);
82
+ unclassified external filesystem roots (mapped-drive classification requires
83
+ a qualified operating-system host integration);
79
84
  - an unsupported Git engine or bare repository;
80
85
  - sparse checkout, partial clone, or shallow repository state;
81
86
  - tracked paths carrying `assume-unchanged` or `skip-worktree` index flags;
@@ -151,8 +156,8 @@ process exit when their result is not healthy, so automation cannot treat a
151
156
  paused state, attention state, or failed publication as success merely because
152
157
  JSON was emitted.
153
158
 
154
- The future native shell may label the final two commands **Commit & sync**.
155
- It must not bypass either phase.
159
+ A consuming host may present the final two commands as **Commit & sync**.
160
+ It must preserve both phases and their exact confirmation boundary.
156
161
 
157
162
  The repeated operation id is a visible user-intent confirmation gate, not an
158
163
  authorization secret. Local software able to read and modify the repository is
@@ -161,12 +166,13 @@ or stale execution, not a hostile process with the user's filesystem access.
161
166
 
162
167
  ## Evidence boundary
163
168
 
164
- Deliverable Zero proves the headless supervisor contract on Linux and macOS,
169
+ The headless supervisor contract has automated coverage on Linux and macOS,
165
170
  with Windows CI covering the portable observation, state, and direct-process
166
171
  contract. POSIX executable-wrapper substitution is explicitly skipped on
167
172
  Windows; native Windows wrapper-injection proof, signed installation,
168
173
  background launch at user login, Windows Home/Pro device behavior, macOS
169
- notarization, and a nontechnical-user workflow belong to the signed
170
- collaborator beta. Repositories without an initial commit are not supported by
171
- this deliverable. A Git executable upgrade changes enrolled identity and
174
+ notarization and a nontechnical-user workflow require separate evidence from
175
+ the consuming host. These tests establish no installed desktop qualification.
176
+ Repositories without an initial commit are unsupported by this supervisor.
177
+ A Git executable upgrade changes enrolled identity and
172
178
  requires re-enrollment.
@@ -0,0 +1,113 @@
1
+ # Co-authoring with agents
2
+
3
+ A body of work is authored together, in the structure of the work itself
4
+ rather than in a document tool or an email thread. People read and question
5
+ the pages. Agents draft from the graph and the questions. Where the checks
6
+ run in the commit path, every change, by a person or an agent, passes the
7
+ same checks, and that is what makes the agentic
8
+ process (an agent acting inside a governed workflow) reliable.
9
+
10
+ This page describes the loop, the record it leaves, and what has to be in
11
+ place for it to hold. The files are yours. The package supplies the graph,
12
+ the checks and the collaboration records. The harness supplies the agent.
13
+ Nothing here changes what the package will and will not do to a source:
14
+ README section 4, "The local runtime serves people and agents", states that,
15
+ and the will-not-do block states the rest.
16
+
17
+ ## The loop
18
+
19
+ Three actors take part: a person, an agent running in the harness, and the
20
+ package. In this loop the package records, checks and refuses; the edit and
21
+ the commit are the agent's or the person's.
22
+
23
+ 1. **A person asks on the page.** A reader selects the sentence they mean on
24
+ the projected page and leaves a question, a correction or a discussion. The
25
+ review surface (the package's optional `atelier dev --review`, or a
26
+ consumer adapter built on the collaboration ledger) records the note and
27
+ pins it to that passage and to the digest of that revision of the source.
28
+ 2. **An agent drafts from the graph.** In the harness it reads the open
29
+ questions on the file, follows the graph to every file declared to depend
30
+ on it, and edits those files in the working tree. Where they are wired in,
31
+ the graph check and the boundary guard run against its work as they would
32
+ against anyone's.
33
+ 3. **A person decides, and the change lands.** The person reviews the draft
34
+ and, where the workflow records decisions, records one with its rationale
35
+ through the consumer adapter or the team's workflow. The optional review
36
+ workspace records decisions on review-run claims, not decisions about a draft
37
+ change. The package does not require or check a decision before a commit. The
38
+ person or the agent commits the change through the boundary guard, and the
39
+ graph and the pages built from it follow on their next build.
40
+
41
+ The next question starts from the updated source.
42
+
43
+ ## Provenance is built in
44
+
45
+ The review store pins notes and reading positions to a document's digest and
46
+ the passage they address, and binds decisions to the evidence they judged.
47
+ A contribution made against a stale version is refused. A later decision
48
+ supersedes an earlier one, and the history keeps both. Each record carries the
49
+ name its author gives, which the package records as locally asserted, not
50
+ authenticated. `docs/guides/local-review.md` describes the store and its refusals. When the source changes, earlier notes stay pinned to
51
+ the wording they addressed, so "what has been questioned about this passage"
52
+ is a lookup, not a memory.
53
+
54
+ A change by an agent passes the same checks as a change by a person: the graph
55
+ check and the boundary guard, where they are wired in. A team that wants every
56
+ change to carry a recorded decision adds that rule to its own workflow; the
57
+ package does not enforce it.
58
+
59
+ ## Giving an agent a job
60
+
61
+ This section describes the system (the package with a harness and connected
62
+ tools), not the package alone.
63
+
64
+ You define the outcome and constraints. An agent uses the relevant files,
65
+ works through the task with connected tools and returns work to review.
66
+ Approved changes become part of the shared record for the next task. The
67
+ agent's instructions (its skill and the harness's permissions, not a package
68
+ gate) specify which records it may use, what it may change and when approval
69
+ is required.
70
+
71
+ The team defines a goal and reviews a proposed plan before the agent starts,
72
+ then reviews the outputs and approves consequential actions. Accepted changes
73
+ update the shared knowledge, so the next task starts from the latest agreed
74
+ material rather than from a fresh briefing.
75
+
76
+ What has to be connected: the agent, access to the relevant files, and
77
+ whatever other tools the chosen workflow uses,
78
+ plus agreed review responsibilities and action permissions. The package
79
+ organizes source material and review contributions; agent execution and
80
+ external delivery are integrations you configure in the harness.
81
+
82
+ ## What the loop rests on
83
+
84
+ - **A harness with the skills installed.** `atelier skills sync` installs the
85
+ package's skill files into the workspace from a digest-confirmed plan (by
86
+ default from the package's `skills/codex` into `.agents/skills`; `--source`
87
+ and `--target` change that). Whether a harness discovers and follows them
88
+ is the harness's matter. See `docs/guides/skill-steward.md`.
89
+ - **Gates in the commit path.** The boundary guard hooks
90
+ (`atelier boundary install-hooks`) and the graph check in CI. The sentence
91
+ "every change passes the same checks" is true where the checks run on every
92
+ commit.
93
+ - **A contribution surface.** The package's loopback projection carries the
94
+ page and its passages. Its optional review workspace (`atelier dev --review`,
95
+ described in `docs/guides/local-review.md`) records passage notes and decisions
96
+ on review-run claims. A consumer adapter built on the collaboration ledger
97
+ or the team's workflow records decisions about a draft change;
98
+ `docs/reference/coauthor-session.md` describes the experimental portable
99
+ session reducer. These records do not apply a source change; the agent in
100
+ the harness does, and the checks run against it.
101
+ - **Examples with expected results.** By convention, each round of authoring
102
+ adds reviewed examples with expected results beside the rules they test. The
103
+ package keeps them and their links in the graph; it does not run them. An
104
+ agent in the harness runs them against its drafts, and because they stay in
105
+ the record, a later draft can be checked against the same cases.
106
+
107
+ ## What the package does not do here
108
+
109
+ It does not draft. It does not apply a proposal to a source. It does not
110
+ grant an agent write access. It does not decide. It records the question,
111
+ checks the change, and records a decision when one is given, and it refuses
112
+ a contribution made against a stale version. The rest is the harness's work
113
+ and the people's.