@mnstry/atelier 0.2.0-alpha.3 → 0.2.0-alpha.5

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 (55) hide show
  1. package/CHANGELOG.md +86 -0
  2. package/README.md +280 -230
  3. package/contracts/public-api-baseline.json +57 -0
  4. package/docs/assurance-controls.md +39 -0
  5. package/docs/atelier-runtime.md +15 -0
  6. package/docs/blocks/claims.md +15 -9
  7. package/docs/design.md +12 -6
  8. package/docs/install.md +26 -4
  9. package/docs/knowledge-graph.md +8 -4
  10. package/docs/local-services.md +101 -0
  11. package/docs/release-engineering.md +75 -10
  12. package/docs/repo-boundary-guard.md +12 -2
  13. package/docs/upgrade.md +34 -2
  14. package/fixtures/projects/sample-workspace/content/source.html.kg.json +4 -1
  15. package/fixtures/projects/source-formats-workspace/content/data.json.kg.json +4 -1
  16. package/fixtures/projects/source-formats-workspace/content/logo.png.kg.json +4 -1
  17. package/fixtures/projects/source-formats-workspace/content/metrics.csv.kg.json +4 -1
  18. package/fixtures/projects/source-formats-workspace/content/pipeline.yaml.kg.json +4 -1
  19. package/package.json +13 -6
  20. package/skills/claude/atelier-local-service/SKILL.md +47 -0
  21. package/skills/claude/atelier-open/SKILL.md +6 -5
  22. package/skills/claude/atelier-public-boundary/SKILL.md +31 -0
  23. package/skills/codex/atelier-local-service/SKILL.md +47 -0
  24. package/skills/codex/atelier-open/SKILL.md +6 -5
  25. package/skills/codex/atelier-public-boundary/SKILL.md +31 -0
  26. package/src/boundary/content-rules.mjs +278 -20
  27. package/src/boundary/policy.mjs +150 -60
  28. package/src/cli/execute-command.mjs +36 -0
  29. package/src/cli/run.mjs +17 -7
  30. package/src/collaboration/event-ledger.mjs +365 -0
  31. package/src/collaboration/index.mjs +17 -0
  32. package/src/collaboration/proposals.mjs +265 -65
  33. package/src/commands/attestation.mjs +20 -6
  34. package/src/commands/disclosure.mjs +133 -0
  35. package/src/commands/distribution.mjs +2 -1
  36. package/src/commands/extension-pack.mjs +2 -1
  37. package/src/commands/init.mjs +2 -1
  38. package/src/commands/server.mjs +1 -4
  39. package/src/disclosure/content-scan.mjs +193 -0
  40. package/src/egress/check.mjs +7 -38
  41. package/src/egress/forbidden-egress.mjs +32 -18
  42. package/src/graph/graph.mjs +112 -314
  43. package/src/graph/knowledge-graph.mjs +94 -18
  44. package/src/harness/context-client.mjs +9 -1
  45. package/src/index.mjs +12 -0
  46. package/src/project/config.mjs +66 -7
  47. package/src/project/file-class.mjs +14 -0
  48. package/src/project/package-root.mjs +10 -0
  49. package/src/project/path-match.mjs +38 -15
  50. package/src/project/private-state.mjs +110 -0
  51. package/src/server/local-sidecar.mjs +81 -59
  52. package/src/server/security.mjs +89 -4
  53. package/src/server/server.mjs +3 -2
  54. package/src/support/feedback-report.mjs +4 -3
  55. package/src/upgrade/upgrade.mjs +2 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,91 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.0-alpha.5
4
+
5
+ - Harden boundary enforcement so path globs use segment-aware matching, an
6
+ explicitly empty or malformed content-rule policy is invalid, staged and
7
+ pushed binary evidence is scanned within bounded budgets, incomplete Git
8
+ reads fail closed, linked worktrees install hooks in the correct Git common
9
+ directory, and `boundary audit` defaults to the current working tree with an
10
+ explicit `--head` snapshot mode.
11
+ - Consolidate graph classification in one canonical engine. Markdown without a
12
+ `kg` block is now represented as `unclassified` with a private audience and
13
+ diagnostics; empty, partial, or malformed declarations remain blocking.
14
+ Generated projection directories remain derived from the file-class manifest
15
+ so graph validation and generated-only upgrade recovery cannot drift apart.
16
+ - Bind release egress verification to the exact `npm pack` inventory, including
17
+ test-shaped paths that are actually published, and make the legacy egress
18
+ checker a thin delegate to the canonical scanner. Packed fixture-suppression
19
+ markers are refused and reviewed local-computed suppressions are counted.
20
+ - Harden `atelier dev` so it binds only to loopback, requires a generated
21
+ `atelier.manifest.json`, serves only enrolled safe static files after
22
+ realpath validation, and applies host, fetch-site, origin, method, and nonce
23
+ checks to the relevant read and mutation routes.
24
+ - Make collaboration records fail closed with typed corrupt-record results,
25
+ bounded ledger reads, POSIX no-follow and cross-platform state-leaf identity
26
+ validation, content-bound event identifiers, write locking, explicit
27
+ compaction, and one-pass proposal-list materialization. Compatibility
28
+ snapshots are best-effort projections of committed events rather than a
29
+ second authority. Proposal authority now follows declared capabilities and
30
+ apply endpoints rather than action-like words, and the never-released
31
+ provider-analysis experiment was removed before it became part of a
32
+ published API.
33
+ - Render expected project and JSON failures as typed, actionable CLI messages
34
+ without stacks by default; set `ATELIER_DEBUG=1` to include diagnostic stacks.
35
+ - Strengthen release proof with negative-control mutations and a bare consumer
36
+ that installs without publisher overrides, validates its dependency tree,
37
+ and imports every declared package export. A candidate is packed once, bound
38
+ by SHA-256, and passed unchanged through tarball audit, consumer, and branded
39
+ distribution gates. The trusted-publishing workflow publishes that same
40
+ retained, audited tarball rather than repacking the source directory.
41
+ - Pin every JavaScript subpath and named export from `v0.2.0-alpha.4` in a
42
+ registry-verified compatibility baseline with immutable tag-commit and
43
+ public-artifact provenance. Release tooling refuses removals, provenance
44
+ drift, and binding modified source to an already-tagged package version.
45
+ - Add a portable `atelier disclosure check` command that scans tracked or
46
+ staged consumer content, requires private denylist coverage by default, and
47
+ refuses tracked repository-local denylist files. Portable and repository
48
+ sweeps now detect the full bounded family of private-key headers and refuse
49
+ binary or invalid-UTF-8 evidence instead of omitting it. Fork sweeps require
50
+ the trusted denylist secret and cannot fall back to the untrusted checkout.
51
+ Repository release sweeps also inspect every bounded blob introduced by the
52
+ commit range, so content added and deleted before the final tree cannot
53
+ become public history unseen.
54
+ - Add public agent instructions and mirrored skills for extracting reusable
55
+ mechanisms from private implementations without carrying tenant material
56
+ into Atelier, plus a managed local-service contract for durable loopback
57
+ authoring and review tools.
58
+ - Document the client-zero adapter rule that exact package identity, installed
59
+ dependency resolution, CLI version, and `atelier.lock.json` must agree. This
60
+ prevents a stale sibling checkout from satisfying a current adapter proof.
61
+ - Declare the audited `fast-uri` pin as a direct runtime dependency so packed
62
+ offline consumer installs resolve the same dependency closure as the source
63
+ checkout.
64
+
65
+ ## 0.2.0-alpha.4
66
+
67
+ Presentation release. No contract changes and no runtime behaviour changes:
68
+ documents valid against `0.2.0-alpha.0` remain valid.
69
+
70
+ - **The README now explains the system before the package.** It begins with
71
+ the repository as a durable substrate, then shows how ontology, enforcement,
72
+ governed projections, and a local runtime make the same work usable by
73
+ people, teams, agents, and tools.
74
+ - **The story progresses with the reader.** Stewards and collaborators get the
75
+ purpose and working loop first; builders get the graph and library surfaces;
76
+ technical readers retain the exact, test-gated claims, limitations, and
77
+ conformance boundaries.
78
+ - **Methodology authoring is presented as the proving ground, not the
79
+ category.** The package can support any file-based body of work whose
80
+ structure, relationships, disclosure, and readiness must remain portable and
81
+ enforceable.
82
+ - **Package and installation metadata match the new public presentation.** The
83
+ prerelease remains explicitly pinned, and the coordinated MNSTRY developer
84
+ documentation carries the same conceptual spine.
85
+ - **Bundled client instructions match the released CLI.** The Codex and Claude
86
+ open-Atelier skills use `atelier dev` and point registry users to the scoped,
87
+ collision-free install path.
88
+
3
89
  ## 0.2.0-alpha.3
4
90
 
5
91
  Documentation and metadata release. No contract changes and no runtime