@ontrails/trails 1.0.0-beta.4 → 1.0.0-beta.42

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 (165) hide show
  1. package/CHANGELOG.md +1106 -4
  2. package/README.md +27 -0
  3. package/package.json +31 -7
  4. package/src/app.ts +147 -3
  5. package/src/cli.ts +345 -11
  6. package/src/completions.ts +240 -0
  7. package/src/lifecycle-source-io.ts +33 -0
  8. package/src/load-app-mirror.ts +202 -0
  9. package/src/local-state-io.ts +173 -0
  10. package/src/mcp-app.ts +42 -0
  11. package/src/mcp-options.ts +91 -0
  12. package/src/mcp.ts +8 -0
  13. package/src/project-writes.ts +377 -0
  14. package/src/regrade/config.ts +152 -0
  15. package/src/regrade/history.ts +430 -0
  16. package/src/regrade/live-api-preserve.ts +8 -0
  17. package/src/regrade/plan-artifact.ts +285 -0
  18. package/src/release/bindings.ts +39 -0
  19. package/src/release/check.ts +844 -0
  20. package/src/release/config.ts +63 -0
  21. package/src/release/contract-facts.ts +425 -0
  22. package/src/release/index.ts +142 -0
  23. package/src/release/lock-roundtrip-smoke.ts +230 -0
  24. package/src/release/native-bun-publish.ts +651 -0
  25. package/src/release/native-bun-registry.ts +765 -0
  26. package/src/release/notes-cli.ts +171 -0
  27. package/src/release/notes.ts +390 -0
  28. package/src/release/pack-coherence.ts +455 -0
  29. package/src/release/packed-artifacts-smoke.ts +236 -0
  30. package/src/release/policy.ts +1687 -0
  31. package/src/release/semver.ts +104 -0
  32. package/src/release/smoke.ts +56 -0
  33. package/src/release/wayfinder-dogfood-smoke.ts +760 -0
  34. package/src/retired-topo-command.ts +36 -0
  35. package/src/run-adapter-check.ts +76 -0
  36. package/src/run-collision.ts +126 -0
  37. package/src/run-completions-install.ts +179 -0
  38. package/src/run-example.ts +149 -0
  39. package/src/run-examples.ts +148 -0
  40. package/src/run-quiet.ts +75 -0
  41. package/src/run-release-check.ts +74 -0
  42. package/src/run-schema.ts +74 -0
  43. package/src/run-trace.ts +273 -0
  44. package/src/run-warden.ts +39 -0
  45. package/src/run-watch.ts +432 -0
  46. package/src/run-wayfind-outline.ts +170 -0
  47. package/src/scaffold-version-sync.ts +183 -0
  48. package/src/scaffold-versions.generated.ts +12 -0
  49. package/src/trails/adapter-check.ts +244 -0
  50. package/src/trails/add-surface.ts +99 -45
  51. package/src/trails/add-trail.ts +84 -37
  52. package/src/trails/add-verify.ts +100 -30
  53. package/src/trails/compile.ts +58 -0
  54. package/src/trails/completions-complete.ts +165 -0
  55. package/src/trails/completions.ts +47 -0
  56. package/src/trails/create-adapter.ts +785 -0
  57. package/src/trails/create-scaffold.ts +401 -106
  58. package/src/trails/create-versions.ts +62 -0
  59. package/src/trails/create.ts +186 -72
  60. package/src/trails/deprecate.ts +59 -0
  61. package/src/trails/dev-clean.ts +82 -0
  62. package/src/trails/dev-reset.ts +50 -0
  63. package/src/trails/dev-stats.ts +72 -0
  64. package/src/trails/dev-support.ts +360 -0
  65. package/src/trails/doctor.ts +77 -0
  66. package/src/trails/draft-promote.ts +949 -0
  67. package/src/trails/guide.ts +70 -68
  68. package/src/trails/load-app.ts +1123 -15
  69. package/src/trails/operator-context.ts +66 -0
  70. package/src/trails/project.ts +17 -3
  71. package/src/trails/regrade.ts +3091 -0
  72. package/src/trails/release-check.ts +105 -0
  73. package/src/trails/release-smoke.ts +49 -0
  74. package/src/trails/revise.ts +53 -0
  75. package/src/trails/root-dir.ts +21 -0
  76. package/src/trails/run-example.ts +475 -0
  77. package/src/trails/run-examples.ts +129 -0
  78. package/src/trails/run.ts +434 -0
  79. package/src/trails/scaffold-json.ts +58 -0
  80. package/src/trails/survey.ts +877 -214
  81. package/src/trails/topo-activation.ts +14 -0
  82. package/src/trails/topo-constants.ts +2 -0
  83. package/src/trails/topo-history.ts +47 -0
  84. package/src/trails/topo-output-schemas.ts +259 -0
  85. package/src/trails/topo-pin.ts +38 -0
  86. package/src/trails/topo-read-support.ts +368 -0
  87. package/src/trails/topo-reports.ts +809 -0
  88. package/src/trails/topo-store-support.ts +325 -0
  89. package/src/trails/topo-support.ts +220 -0
  90. package/src/trails/topo-unpin.ts +61 -0
  91. package/src/trails/topo.ts +92 -0
  92. package/src/trails/validate.ts +27 -0
  93. package/src/trails/version-lifecycle-support.ts +936 -0
  94. package/src/trails/warden-guide.ts +134 -0
  95. package/src/trails/warden.ts +198 -58
  96. package/src/trails/wayfind-outline.ts +876 -0
  97. package/src/trails/wayfind.ts +1053 -0
  98. package/src/versions.ts +31 -0
  99. package/.turbo/turbo-build.log +0 -1
  100. package/.turbo/turbo-lint.log +0 -3
  101. package/.turbo/turbo-typecheck.log +0 -1
  102. package/__tests__/examples.test.ts +0 -6
  103. package/dist/bin/trails.d.ts +0 -3
  104. package/dist/bin/trails.d.ts.map +0 -1
  105. package/dist/bin/trails.js +0 -4
  106. package/dist/bin/trails.js.map +0 -1
  107. package/dist/src/app.d.ts +0 -2
  108. package/dist/src/app.d.ts.map +0 -1
  109. package/dist/src/app.js +0 -11
  110. package/dist/src/app.js.map +0 -1
  111. package/dist/src/clack.d.ts +0 -9
  112. package/dist/src/clack.d.ts.map +0 -1
  113. package/dist/src/clack.js +0 -84
  114. package/dist/src/clack.js.map +0 -1
  115. package/dist/src/cli.d.ts +0 -2
  116. package/dist/src/cli.d.ts.map +0 -1
  117. package/dist/src/cli.js +0 -13
  118. package/dist/src/cli.js.map +0 -1
  119. package/dist/src/trails/add-surface.d.ts +0 -13
  120. package/dist/src/trails/add-surface.d.ts.map +0 -1
  121. package/dist/src/trails/add-surface.js +0 -88
  122. package/dist/src/trails/add-surface.js.map +0 -1
  123. package/dist/src/trails/add-trail.d.ts +0 -10
  124. package/dist/src/trails/add-trail.d.ts.map +0 -1
  125. package/dist/src/trails/add-trail.js +0 -77
  126. package/dist/src/trails/add-trail.js.map +0 -1
  127. package/dist/src/trails/add-verify.d.ts +0 -10
  128. package/dist/src/trails/add-verify.d.ts.map +0 -1
  129. package/dist/src/trails/add-verify.js +0 -67
  130. package/dist/src/trails/add-verify.js.map +0 -1
  131. package/dist/src/trails/create-scaffold.d.ts +0 -15
  132. package/dist/src/trails/create-scaffold.d.ts.map +0 -1
  133. package/dist/src/trails/create-scaffold.js +0 -288
  134. package/dist/src/trails/create-scaffold.js.map +0 -1
  135. package/dist/src/trails/create.d.ts +0 -22
  136. package/dist/src/trails/create.d.ts.map +0 -1
  137. package/dist/src/trails/create.js +0 -121
  138. package/dist/src/trails/create.js.map +0 -1
  139. package/dist/src/trails/guide.d.ts +0 -11
  140. package/dist/src/trails/guide.d.ts.map +0 -1
  141. package/dist/src/trails/guide.js +0 -80
  142. package/dist/src/trails/guide.js.map +0 -1
  143. package/dist/src/trails/load-app.d.ts +0 -4
  144. package/dist/src/trails/load-app.d.ts.map +0 -1
  145. package/dist/src/trails/load-app.js +0 -24
  146. package/dist/src/trails/load-app.js.map +0 -1
  147. package/dist/src/trails/project.d.ts +0 -8
  148. package/dist/src/trails/project.d.ts.map +0 -1
  149. package/dist/src/trails/project.js +0 -43
  150. package/dist/src/trails/project.js.map +0 -1
  151. package/dist/src/trails/survey.d.ts +0 -31
  152. package/dist/src/trails/survey.d.ts.map +0 -1
  153. package/dist/src/trails/survey.js +0 -221
  154. package/dist/src/trails/survey.js.map +0 -1
  155. package/dist/src/trails/warden.d.ts +0 -19
  156. package/dist/src/trails/warden.d.ts.map +0 -1
  157. package/dist/src/trails/warden.js +0 -88
  158. package/dist/src/trails/warden.js.map +0 -1
  159. package/dist/tsconfig.tsbuildinfo +0 -1
  160. package/src/__tests__/create.test.ts +0 -349
  161. package/src/__tests__/guide.test.ts +0 -91
  162. package/src/__tests__/load-app.test.ts +0 -15
  163. package/src/__tests__/survey.test.ts +0 -159
  164. package/src/__tests__/warden.test.ts +0 -74
  165. package/tsconfig.json +0 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,1107 @@
1
1
  # trails
2
2
 
3
+ ## 1.0.0-beta.42
4
+
5
+ ## 1.0.0-beta.41
6
+
7
+ ### Patch Changes
8
+
9
+ - [`19406e0`](https://github.com/outfitter-dev/trails/commit/19406e06f825c5ba4460b153eaf2ade721a749d7): Classify unauthenticated scoped-package dist-tag fallbacks as first publications after npm has already reported the package missing, and preserve registry probe details in release-policy blockers.
10
+
11
+ ## 1.0.0-beta.40
12
+
13
+ ### Minor Changes
14
+
15
+ - [`5adb995`](https://github.com/outfitter-dev/trails/commit/5adb99551c2dda6190d46cce7f60bb08d63c99aa): Complete the v1 hard cutover from the authored `blaze` field to
16
+ `implementation` across trail contracts, surface projections, tests, examples,
17
+ and public source-analysis helpers. Existing applications must rename authored
18
+ trail behavior fields and direct trail-object access before upgrading.
19
+ - [`6712075`](https://github.com/outfitter-dev/trails/commit/67120754df3f614c7f4dd98be1fa0ba9d69b7765): Complete the v1 hard cutover from the `contour` domain-object declaration
20
+ vocabulary to `entity` across contracts, topo facts, store helpers, Warden,
21
+ Wayfinder, operator surfaces, examples, and generated locks. Existing
22
+ applications must rename contour APIs, run `trails dev reset --yes` to discard
23
+ pre-cutover local Topographer snapshots, and then recompile committed
24
+ `trails.lock` artifacts before upgrading. Those derived snapshots are
25
+ intentionally not read through a compatibility layer.
26
+ The entity-shaped wire contract advances `TopoGraph` and split lock manifests
27
+ from schema version 3 to 4; old split artifacts fail with regeneration guidance,
28
+ while the canonical root `trails.lock` remains schema version 5.
29
+ Wayfinder reports those stale rows as topo-store drift while keeping current
30
+ committed lock facts available for inspection.
31
+
32
+ ### Patch Changes
33
+
34
+ - [`4def007`](https://github.com/outfitter-dev/trails/commit/4def007a53c42881fba1d958a67f0c05f417e811): Move adapter source export scanning into adapter-kit and have `create.adapter`
35
+ consume the shared helper.
36
+ - [`78575d5`](https://github.com/outfitter-dev/trails/commit/78575d5193242053b4dc1f4fa6150b94bacaff44): Discover owner-package subpath adapter subjects in shared adapter checks and
37
+ enable `trails create adapter --placement subpath` to generate immediately
38
+ checkable owner subpaths.
39
+ - [`35cbe28`](https://github.com/outfitter-dev/trails/commit/35cbe289db46539b3689dbf6cf8ab0e5d9a1b09c): Found `@ontrails/source` as the shared source-code AST kernel for parsing,
40
+ walking, locations, edits, literals, and generic Trails syntax recognition.
41
+ Warden, Regrade, Wayfinder, and the Trails operator now import those shared
42
+ mechanics from `@ontrails/source`; the legacy Warden AST route is removed by the
43
+ stacked hard cutover.
44
+ - [`10f2492`](https://github.com/outfitter-dev/trails/commit/10f24928d3bc9d995abf7aa261ecf515c295855d): Own the `wayfind.outline` implementation in the Trails operator app while preserving the existing `trails wayfind file <file> --outline` CLI and MCP composition behavior, and document `@ontrails/source` as the operator's live-source analysis kernel.
45
+ - [`35e5fed`](https://github.com/outfitter-dev/trails/commit/35e5fedd228e498783f479f0dd502e2f3ec772b8): Fold the Wayfinder graph-read catalog into `@ontrails/topography`. Wayfind
46
+ remains the product, trail-id, CLI, and MCP brand, but there is no longer an
47
+ `@ontrails/wayfinder` package to install or import. Programmatic consumers
48
+ should move imports such as `wayfinderTopo`, `wayfindOverviewTrail`,
49
+ `loadWayfinderArtifacts`, and the Wayfinder filter/provenance types to
50
+ `@ontrails/topography`.
51
+
52
+ Expose that package move as a governed Regrade transition so exact
53
+ `@ontrails/wayfinder` imports can move safely while product vocabulary and near
54
+ routes remain unchanged for review. Regrade routes package manifests through
55
+ structured review instead of rewriting dependency keys as plain text.
56
+
57
+ The Trails operator now reads all `wayfind.*` query trails and artifact helpers
58
+ from `@ontrails/topography` while preserving the existing CLI/MCP schemas,
59
+ route IDs, output shapes, and internal trail visibility.
60
+
61
+ - [`3a65ae3`](https://github.com/outfitter-dev/trails/commit/3a65ae363e05b7589f4a9876da4346886353b48c): Rename the durable graph substrate package from `@ontrails/topographer` to
62
+ `@ontrails/topography` after folding Wayfind graph queries into that owner.
63
+
64
+ Update imports to `@ontrails/topography` or
65
+ `@ontrails/topography/backend-support`. The pre-1.0 cutover does not ship a
66
+ compatibility package. TopoGraph, lock, topo-store, semantic diff, and Wayfind
67
+ APIs keep their existing contracts, and the `trails wayfind` CLI and MCP names
68
+ remain unchanged.
69
+
70
+ The governed package-route transition moves legacy `@ontrails/wayfinder`
71
+ imports directly to `@ontrails/topography`; it does not emit the retired
72
+ intermediate `@ontrails/topographer` route.
73
+
74
+ - [`e5edace`](https://github.com/outfitter-dev/trails/commit/e5edace60281c76157512acc6e1446c8415633ba): Make Regrade history hashes stable across report serialization and preserve
75
+ pre-apply occurrence evidence alongside truthful completion counts and a
76
+ freshly scanned post-apply completion report for replay detection. Existing
77
+ plans and history stamped with the earlier hash serializer remain valid.
78
+ - [`4030698`](https://github.com/outfitter-dev/trails/commit/40306984467625844564f0f84156530d7118a79c): Keep structured input on nested child commands from being reinterpreted as a
79
+ bare child-name positional fallback, while preserving schema-authored
80
+ `inputJson` flags as ordinary trail input, including through the public Trails
81
+ CLI. Optional numeric flags now consume negative values with Commander's own
82
+ parsing semantics, and variadic flags consume every following value, before
83
+ nested command routing is resolved.
84
+ - [`8a1ac00`](https://github.com/outfitter-dev/trails/commit/8a1ac00b5d789be41ca6e464358c96b01e442bf4): Govern the exact `@ontrails/warden/ast` to `@ontrails/source` package route
85
+ transition for Regrade string-literal and module-specifier rewrites exposed
86
+ through the Trails CLI and MCP tools. Safe rewrites now require the owning
87
+ manifest to already declare the target package; otherwise Regrade preserves the
88
+ occurrence with dependency repair guidance. Invalid manifests remain unchanged
89
+ and produce structured repair guidance that names the owning manifest. Explicit
90
+ preserve rules remain no-ops before dependency validation, and dotted or
91
+ subpath-like near routes remain deferred instead of becoming invented imports.
92
+
93
+ ## 1.0.0-beta.39
94
+
95
+ ### Minor Changes
96
+
97
+ - [`9518f5c`](https://github.com/outfitter-dev/trails/commit/9518f5cc892a87273a3bfdaa0d7319f98004ecb8): `trails regrade adjust <transition>` pulls a graduated transition back from consolidated history into an active plan minus the run ledger, preserving the stable transition id so subsequent applies append to the same history spine. Plan re-derivation (`regrade plan`) now carries `transitionId` forward from an existing active plan.
98
+ - [`714939d`](https://github.com/outfitter-dev/trails/commit/714939d6ec143c55a1aba55b65bd11a8a2bfbf1e): Stacked/phased regrades ride the primary tooling: class-mode Regrade plans accept `include` path globs so one transition can be applied in scoped parts that all append to the same consolidated history, and an authored `--name` keys multi-class transitions to a clean transition-name filename instead of concatenated class ids.
99
+ - [`65b362f`](https://github.com/outfitter-dev/trails/commit/65b362f65fa2a75e2121d1a8b31882d52fa0376b): Regrade history consolidates per transition, append-only: `regrade apply` appends a run entry stamped `{ planContentHash, lockHashAtRun }` to `.trails/regrade/history/<transition>.json` instead of overwriting lockhash-named files, identical re-runs are recognized as replays, the artifact carries a stable internal transition `id`, and `regrade check <transition>` verifies each recorded run at its own stamped lock. The report `history.status` union widens to `applied | checked | replay`.
100
+ - [`7c05376`](https://github.com/outfitter-dev/trails/commit/7c05376a4ee2a66ef477d8f165205bf2fbbdc37f): `trails compile` and `trails validate` now collect adapter overlay overlays from the app module's `trailsOverlays` export and embed the validated facts as `overlays.<namespace>` in `trails.lock`, threading the registrations through every derivation site so compiled and freshly derived graphs stay hash-identical.
101
+ - [`adf6419`](https://github.com/outfitter-dev/trails/commit/adf64191ea9e458d7405465ab6fa96ca72ab574c): Add `trails wayfind --overlay <namespace>`: a generic read of namespaced lock overlays (adapter-contributed facts) from saved artifacts, listing available namespaces on a miss — new fact families become inspectable with zero wayfinder edits.
102
+
103
+ ### Patch Changes
104
+
105
+ - [`f42ca6e`](https://github.com/outfitter-dev/trails/commit/f42ca6e40b29155acec446e5bf44e52e014466bd): Hard cutover: the CLI consumes `cli` bindings from the app-authored surfaces overlay. Scalar bindings behave identically to the removed cliAliases (parity-tested) — the binding name splits on `.` into a transparent synonym command path for exactly one trail. List bindings arrive as command groups: each expanded member trail gets a group-prefixed route that dispatches the member trail with its identity preserved, and a singleton list stays a group. Expansion is fail-fast boundary validation: a scalar binding resolving to zero or multiple trails, or a group with an empty member union, is a `ValidationError` naming the binding. `DeriveTopoGraphOptions.cliAliases`, the `cliAliases`/`trailsCliAliases` app-module export convention, and the per-kind compile lift are deleted; `deriveCliCommands`/`createProgram` take `overlays` instead of `aliases`, and both topo-graph derivation pipelines expand the same bindings through one shared helper so runtime CLI routes and lock routes come from one semantic. A leftover legacy export is now a Warden error (`no-legacy-cli-alias-export`) naming the `surfaceOverlay({ cli: { ... } })` rewrite.
106
+
107
+ This is a breaking API removal shipped under the lockstep beta patch convention (pre-1.0 hard-cutover posture, zero external adoption); the removed options have no deprecation window by design.
108
+
109
+ - [`bafde1f`](https://github.com/outfitter-dev/trails/commit/bafde1fc8172abb8d8617f69a3c7a70667626d10): Fresh derivations now collect app-module overlays through the shared channel compile uses. `@ontrails/adapter-kit` exports `resolveTrailsOverlays()`, the one reader of an app module's `trailsOverlays` export; the compile-path fresh app lease and Warden's fresh topo loading both go through it, making per-namespace drift asymmetry structurally impossible. Warden drift checks (`checkDrift` now accepts derive options carrying overlays) and the topo-aware rule context graph derive with the same overlays the committed lock embeds, so rules like `surface-overlay-coherence` fire on standard runs. Stale drift results name the drifted overlay namespaces (`DriftResult.driftedOverlayNamespaces`) and point at `trails compile` as the remediation.
110
+ - [`b077fb7`](https://github.com/outfitter-dev/trails/commit/b077fb7ba6d9724cac6f0e59bc3fec9aec28984c): Add the export-restructure Regrade class family (TRL-1210). `export-restructure:cli-aliases` inverts legacy `cliAliases`/`trailsCliAliases` exports into `surfaceOverlay({ cli })` bindings inside the module's `trailsOverlays` export — adding the `@ontrails/core` import, deleting the legacy export, and routing anything it cannot prove safe (computed keys, spreads, in-module `aliases:` references) to `needs-review` with the exact target shape named. `export-restructure:mcp-trailheads` projects call-site MCP trailhead maps into `surfaceOverlay({ mcp })` group bindings: it rewrites in place when the same module exports `trailsOverlays`, and otherwise emits a classified `needs-review` handoff naming the module-overlay target while the call-site map stays as the richer-metadata override-in-context. Warden's fix-class union grows to `'export-restructure' | 'term-rewrite'`, `no-legacy-cli-alias-export` now advertises the `export-restructure` class, and `loadWardenRegradeClasses` supersedes `loadWardenTermRewriteClasses` (still exported) as the full Warden-routed class loader. Class-mode Regrade also gains the full plan lifecycle: `trails regrade plan --type class --class-ids ...` writes a `.trails/regrade/<slug>.json` plan carrying class ids, scope, and intent, `regrade check` re-runs the dry run and gates on outstanding rewrites or review, and `regrade apply` applies and graduates the plan to `.trails/regrade/history/<slug>-<hash>.json` — the same plan → check → apply → history evidence trail vocabulary regrades already had, now available to structural transforms. The class family ships for downstream apps bridging the pre-1.0 gap, so pre-cutover alias exports and trailhead maps migrate mechanically instead of by hand.
111
+ - [`81373bc`](https://github.com/outfitter-dev/trails/commit/81373bc5e980bb06d56fb06af4f0986f72e318c7): Wave-2 MCP cutover to the app-authored `surfaces` overlay. The overlay's `mcp` bindings are now the authored, lockable default for the MCP surface: a list binding derives one grouped trailhead tool (member selection in `{ trail, input }`, member identity preserved in `{ trail, output }`, deterministic derived description), and a scalar binding derives an additional tool synonym whose MCP-safe name is published verbatim and must expand to exactly one trail. `deriveMcpTools`/`createServer` accept the new `overlays` option; `@ontrails/core` gains `expandMcpSurfaceBindings` and `deriveMcpTrailheadDescription`.
112
+
113
+ The call-site `CreateServerOptions.trailheads` map survives as permanent override-in-context design, not a compatibility bridge: when both channels are present, the call-site map wins at runtime. Warden's new `trailhead-override-divergence` rule (warn) names both sides when a call-site map's binding names or member selectors diverge from the authored overlay default.
114
+
115
+ Topographer now derives `graph.trailheads` from the overlay's `mcp` list bindings in both `deriveTopoGraph` and the store-side graph build, so trailhead facts flow from compiled locks into Wayfinder reads for the first time. The never-wired `DeriveTopoGraphOptions.trailheads` option and the `TopoGraphTrailheadDeclaration`/`TopoGraphTrailheadTrailSelector` types are removed — a beta-window hard cutover of an option no caller could reach; author the equivalent `mcp` list binding in `surfaceOverlay({ mcp })` instead.
116
+
117
+ - [`a0517ef`](https://github.com/outfitter-dev/trails/commit/a0517efa01014754b1dc307169b21ae71a6e3620): Fresh app loading now resolves extensionless relative imports the way Bun does at runtime, so runtime-valid apps stay operator-loadable (`trails compile`, `trails warden`, and every other fresh-load path). When a relative import cannot be resolved at all, the failure is an actionable `ValidationError` naming the importer file and specifier instead of an opaque redacted "Internal server error".
118
+ - [`a89d469`](https://github.com/outfitter-dev/trails/commit/a89d4696aa78f3dda9394c14665ab3ea8c0f313c): Make `trails compile` → `trails validate` round-trip deterministically (TRL-1191). The per-user topo store no longer reuses previously stored JSON Schema bytes by zod definition hash — that hash cannot see `.describe()` metadata or object field order, so a warm store could serve pre-edit schema values into a freshly compiled lock and make `validate` report it stale immediately. Every snapshot now regenerates schema JSON from the live Zod schema, the store's graph hash goes through the same shared `deriveStableHash` path as `deriveTopoGraphHash`, and the committed `trails.lock` omits the wallclock `generatedAt` field so recompiling unchanged sources yields a byte-identical lock. `TopoGraph.generatedAt` is now optional; locks written by earlier versions still parse.
119
+ - [`a89d469`](https://github.com/outfitter-dev/trails/commit/a89d4696aa78f3dda9394c14665ab3ea8c0f313c): Make the per-user topo store an honest cache (TRL-1196). Every snapshot now records a content fingerprint of the app source set (`topo_snapshots.source_fingerprint`, store schema v14), `trails compile` reports it in its output, and Wayfinder artifact loading compares it against a freshly derived fingerprint — a mismatch surfaces as a `topo-store-source-fingerprint-mismatch` stale reason instead of silently serving pre-edit facts. Compile derives everything from live source on every run, so a poisoned or stale store can never reach `trails.lock`, with or without `--force`.
120
+ - [`a89d469`](https://github.com/outfitter-dev/trails/commit/a89d4696aa78f3dda9394c14665ab3ea8c0f313c): Add the lock round-trip invariant gate (TRL-1200): `trails release smoke --check lock-roundtrip` discovers every committed `trails.lock`, recompiles each against a cold per-user store in a temporary state home, and asserts `validate` is green and the recompiled lock is byte-identical to the committed one. Failure output names the diverging section and the `trails compile` command that fixes it — hand-editing a lock is never the remediation. Wired into `bun run check` and the CI Governance job via `bun run lock:roundtrip`.
121
+
122
+ ## 1.0.0-beta.38
123
+
124
+ ## 1.0.0-beta.37
125
+
126
+ ### Patch Changes
127
+
128
+ - [`09f15de`](https://github.com/outfitter-dev/trails/commit/09f15def8fcc8c28b0d604f436e6eeed46da8f37): Stage wide-net Regrade expansion candidates as structured plan review inventory with evidence, status, and pending counts.
129
+
130
+ ## 1.0.0-beta.36
131
+
132
+ ### Patch Changes
133
+
134
+ - [`6e63e48`](https://github.com/outfitter-dev/trails/commit/6e63e483617b84cb6868d0c4d58d5b5a8d3b9ed2): Complete the v1 grouped surface-entry vocabulary cutover from facet to trailhead, including Regrade dogfood support for governed string literal renames and composed AST rewrite application.
135
+ - [`26786a1`](https://github.com/outfitter-dev/trails/commit/26786a14acbe9ed03f69adbdac22968891e33df1): Persist vocabulary Regrade plan artifacts, expose plan/check/preview/apply flows across CLI and MCP, and write applied plan history for reviewed vocabulary migrations.
136
+
137
+ ## 1.0.0-beta.35
138
+
139
+ ## 1.0.0-beta.34
140
+
141
+ ### Patch Changes
142
+
143
+ - [`d67558b`](https://github.com/outfitter-dev/trails/commit/d67558bea3bfa363ed57e0f4091b6eccbf2a7710): Run governed AST symbol renames from the registry-backed `trails regrade` command path, including MCP parity, while preserving derived live API forms.
144
+
145
+ ## 1.0.0-beta.33
146
+
147
+ ### Patch Changes
148
+
149
+ - [`04a6057`](https://github.com/outfitter-dev/trails/commit/04a6057502281fb81d1eb77df140d07181bfdd07): Clean generated release output by suppressing internal dependency cascade noise in package changelogs and rendering generated release PR and GitHub Release notes from the same Highlights, Changes, and Package Versions summary.
150
+ - [`0c40138`](https://github.com/outfitter-dev/trails/commit/0c40138efb962e779710daa172bdfd756d9d992f): Harden vocabulary regrades by deferring Markdown code contexts for review and
151
+ exposing structured preserve rules through the Trails `regrade` command.
152
+ - [`7d65189`](https://github.com/outfitter-dev/trails/commit/7d65189cc33408755fe07a0b5679f1ed01123455): Expose derived live-API preserve inventory in vocabulary Regrade runs and have the Trails operator regrade surface derive current facet API preserves from live topo and MCP surface facts.
153
+ - [`04bb8a4`](https://github.com/outfitter-dev/trails/commit/04bb8a42af4ada51a74b1d8c83697db92035b5e9): Expose vocabulary Regrade occurrence dispositions and disposition summary counts alongside mechanical verdicts.
154
+
155
+ Accept explicit preserve-rule dispositions through the `trails regrade` CLI/MCP contract.
156
+
157
+ ## 1.0.0-beta.32
158
+
159
+ ### Patch Changes
160
+
161
+ - f3c4fef: Export a shared `escapeRegExp` helper from core and migrate first-party callers off local copies.
162
+ - cb0a9d8: Export shared workspace package discovery helpers from core and migrate first-party discovery callers.
163
+ - 8db145e: Move activation report derivation into Topographer and keep the Trails app
164
+ consuming the owner-held activation facts through a compatibility re-export.
165
+ - 8e2603c: Rename read-only topo helper exports from `build*` to `derive*`.
166
+ - 7a3a25f: Rename version lifecycle result paths from `file` to `filePath`.
167
+ - fe72b84: Fold remaining Regrade and Warden scan-target surfaces onto the shared path-scope vocabulary.
168
+ - Updated dependencies [3e5c0fc]
169
+ - Updated dependencies [f3c4fef]
170
+ - Updated dependencies [cb0a9d8]
171
+ - Updated dependencies [8db145e]
172
+ - Updated dependencies [2b819f4]
173
+ - Updated dependencies [21c6dda]
174
+ - Updated dependencies [860ef32]
175
+ - Updated dependencies [fe72b84]
176
+ - @ontrails/adapter-kit@1.0.0-beta.32
177
+ - @ontrails/core@1.0.0-beta.32
178
+ - @ontrails/permits@1.0.0-beta.32
179
+ - @ontrails/warden@1.0.0-beta.32
180
+ - @ontrails/regrade@1.0.0-beta.32
181
+ - @ontrails/topographer@1.0.0-beta.32
182
+ - @ontrails/config@1.0.0-beta.32
183
+ - @ontrails/cli@1.0.0-beta.32
184
+ - @ontrails/commander@1.0.0-beta.32
185
+ - @ontrails/http@1.0.0-beta.32
186
+ - @ontrails/mcp@1.0.0-beta.32
187
+ - @ontrails/observe@1.0.0-beta.32
188
+ - @ontrails/tracing@1.0.0-beta.32
189
+ - @ontrails/wayfinder@1.0.0-beta.32
190
+
191
+ ## 1.0.0-beta.31
192
+
193
+ ### Patch Changes
194
+
195
+ - e2f3d23: Default Regrade reports to actionable entries, add skip counts grouped by
196
+ reason, and expose an `includeEntries` option for full report inventories.
197
+ - 9be2b7e: Load project-local Warden term-rewrite rules from the Regrade root so repo-owned
198
+ migration classes can run through `trails regrade`.
199
+ - 47f782c: Add occurrence-level vocabulary regrade reports with plan, ledger,
200
+ and completion-gate facts. The Trails `regrade` operator command now supports
201
+ positional `<from> <to>` regrade runs and exposes the same capability through
202
+ the curated MCP surface.
203
+ - ee9f3ae: Let Warden fix capabilities declare downstream scan targets and have Regrade
204
+ honor those targets for Warden-backed term-rewrite classes.
205
+
206
+ Dogfood the first safe facet-to-trailhead prose rewrite through project-local
207
+ Warden rules and Regrade.
208
+
209
+ - 982a4d7: Add Regrade path-scope exclusion globs for vocabulary runs and expose them
210
+ through the `trails regrade` CLI/MCP contract.
211
+ - 1540233: Add Regrade scan inventory summaries that group matched files by extension and
212
+ top-level path, with occurrence counts for vocabulary regrade reports.
213
+ - de878bd: Let Trails project config provide default Regrade vocabulary scope settings,
214
+ with explicit CLI or MCP plan inputs overriding those defaults.
215
+ - a0126d9: Add Warden `scope.exclude` globs through project config and the Trails CLI
216
+ wrapper so governance runs can exclude local notes, scratch space, and generated
217
+ state without dropping durable skills or plugin assets from scope.
218
+ - a079073: Rename Regrade path-scope scan controls from `ignore` to `exclude` across CLI, MCP, and project config.
219
+ - 6a26a08: Rename Warden governance scope controls from jurisdiction ignore settings to `scope.exclude` across config, CLI, and Trails surfaces.
220
+ - Updated dependencies [e2f3d23]
221
+ - Updated dependencies [9be2b7e]
222
+ - Updated dependencies [47f782c]
223
+ - Updated dependencies [ee9f3ae]
224
+ - Updated dependencies [982a4d7]
225
+ - Updated dependencies [1540233]
226
+ - Updated dependencies [a0126d9]
227
+ - Updated dependencies [4cd5d4e]
228
+ - Updated dependencies [a079073]
229
+ - Updated dependencies [6a26a08]
230
+ - Updated dependencies [38907cc]
231
+ - @ontrails/regrade@1.0.0-beta.31
232
+ - @ontrails/warden@1.0.0-beta.31
233
+ - @ontrails/mcp@1.0.0-beta.31
234
+ - @ontrails/wayfinder@1.0.0-beta.31
235
+ - @ontrails/core@1.0.0-beta.31
236
+ - @ontrails/commander@1.0.0-beta.31
237
+ - @ontrails/adapter-kit@1.0.0-beta.31
238
+ - @ontrails/cli@1.0.0-beta.31
239
+ - @ontrails/config@1.0.0-beta.31
240
+ - @ontrails/http@1.0.0-beta.31
241
+ - @ontrails/observe@1.0.0-beta.31
242
+ - @ontrails/permits@1.0.0-beta.31
243
+ - @ontrails/topographer@1.0.0-beta.31
244
+ - @ontrails/tracing@1.0.0-beta.31
245
+
246
+ ## 1.0.0-beta.30
247
+
248
+ ### Patch Changes
249
+
250
+ - 5510807: Treat npm `ETARGET` exact-version probes as unpublished target versions during registry readiness checks.
251
+ - b0ff8b9: Teach the registry preflight to verify first-time package publishes when npm's package summary lags behind dist-tags and tarball availability.
252
+ - @ontrails/commander@1.0.0-beta.30
253
+ - @ontrails/adapter-kit@1.0.0-beta.30
254
+ - @ontrails/cli@1.0.0-beta.30
255
+ - @ontrails/config@1.0.0-beta.30
256
+ - @ontrails/core@1.0.0-beta.30
257
+ - @ontrails/http@1.0.0-beta.30
258
+ - @ontrails/mcp@1.0.0-beta.30
259
+ - @ontrails/observe@1.0.0-beta.30
260
+ - @ontrails/permits@1.0.0-beta.30
261
+ - @ontrails/regrade@1.0.0-beta.30
262
+ - @ontrails/topographer@1.0.0-beta.30
263
+ - @ontrails/tracing@1.0.0-beta.30
264
+ - @ontrails/warden@1.0.0-beta.30
265
+ - @ontrails/wayfinder@1.0.0-beta.30
266
+
267
+ ## 1.0.0-beta.29
268
+
269
+ ### Patch Changes
270
+
271
+ - 52425c5: Consolidate registry verdicts behind one shared `packageRegistry` classifier.
272
+
273
+ `apps/trails/src/release` now derives every package's registry state — `complete`, `needs-publish`, `first-time-package`, `needs-tag-repair`, `tag-points-ahead`, `registry-inaccessible` — from a single `classifyPackageRegistryState` function, fed by an exact-version probe (`npm view <name>@<version>`). The release policy engine and the registry preflight both consume it, so their verdicts can no longer drift, and the missing "is the target version actually published" fact is now first-class.
274
+
275
+ The preflight check is phase-aware: `publish:registry-check` (ready) treats an unpublished target or a behind dist-tag as expected pre-publish work rather than a failure, while `publish:registry-check:published` still requires every package to be fully published and tagged. This fixes the confusing failure seen when the repo is several releases ahead of the published `beta` tag. Exact-version probes run with bounded concurrency so release checks stay responsive. No publish or dist-tag mutation is performed.
276
+
277
+ - @ontrails/commander@1.0.0-beta.29
278
+ - @ontrails/adapter-kit@1.0.0-beta.29
279
+ - @ontrails/cli@1.0.0-beta.29
280
+ - @ontrails/config@1.0.0-beta.29
281
+ - @ontrails/core@1.0.0-beta.29
282
+ - @ontrails/http@1.0.0-beta.29
283
+ - @ontrails/mcp@1.0.0-beta.29
284
+ - @ontrails/observe@1.0.0-beta.29
285
+ - @ontrails/permits@1.0.0-beta.29
286
+ - @ontrails/regrade@1.0.0-beta.29
287
+ - @ontrails/topographer@1.0.0-beta.29
288
+ - @ontrails/tracing@1.0.0-beta.29
289
+ - @ontrails/warden@1.0.0-beta.29
290
+ - @ontrails/wayfinder@1.0.0-beta.29
291
+
292
+ ## 1.0.0-beta.28
293
+
294
+ ### Patch Changes
295
+
296
+ - 9d679cf: Make generated release publish policy gather CI proof only for `publish:auto`, reuse generated release PR head proof when it matches the released tree, tolerate duplicate pending checks after a required check has passed, and log registry readiness separately from publish authorization.
297
+ - 32dc2f3: Let generated release PR labeling treat trusted Graphite merge-queue proof with green required CI as source stack evidence for `publish:auto`, alongside explicit `stack:boundary` labels.
298
+ - @ontrails/commander@1.0.0-beta.28
299
+ - @ontrails/adapter-kit@1.0.0-beta.28
300
+ - @ontrails/cli@1.0.0-beta.28
301
+ - @ontrails/config@1.0.0-beta.28
302
+ - @ontrails/core@1.0.0-beta.28
303
+ - @ontrails/http@1.0.0-beta.28
304
+ - @ontrails/mcp@1.0.0-beta.28
305
+ - @ontrails/observe@1.0.0-beta.28
306
+ - @ontrails/permits@1.0.0-beta.28
307
+ - @ontrails/regrade@1.0.0-beta.28
308
+ - @ontrails/topographer@1.0.0-beta.28
309
+ - @ontrails/tracing@1.0.0-beta.28
310
+ - @ontrails/warden@1.0.0-beta.28
311
+ - @ontrails/wayfinder@1.0.0-beta.28
312
+
313
+ ## 1.0.0-beta.27
314
+
315
+ ### Patch Changes
316
+
317
+ - a4727ec: Sync Bun lockfile workspace metadata during package versioning so generated release PRs cannot carry stale first-party package versions.
318
+ - @ontrails/commander@1.0.0-beta.27
319
+ - @ontrails/adapter-kit@1.0.0-beta.27
320
+ - @ontrails/cli@1.0.0-beta.27
321
+ - @ontrails/config@1.0.0-beta.27
322
+ - @ontrails/core@1.0.0-beta.27
323
+ - @ontrails/http@1.0.0-beta.27
324
+ - @ontrails/mcp@1.0.0-beta.27
325
+ - @ontrails/observe@1.0.0-beta.27
326
+ - @ontrails/permits@1.0.0-beta.27
327
+ - @ontrails/regrade@1.0.0-beta.27
328
+ - @ontrails/topographer@1.0.0-beta.27
329
+ - @ontrails/tracing@1.0.0-beta.27
330
+ - @ontrails/warden@1.0.0-beta.27
331
+ - @ontrails/wayfinder@1.0.0-beta.27
332
+
333
+ ## 1.0.0-beta.26
334
+
335
+ ### Patch Changes
336
+
337
+ - 40cd7b4: Add a release-pack coherence guard that runs packed package validation for generated release branches and package release metadata changes.
338
+ - 1307568: Centralize Trails config module path conventions, move local config overrides to root `trails.config.local.*`, scaffold the matching gitignore entries, and load project-local Warden rules from `.trails/rules.ts` or `.trails/rules/`.
339
+ - 0fe873a: Normalize generated project guidance and scaffold ignores around the root `trails.lock` and committed `.trails/` control model.
340
+ - 38cd9d6: Add a shared Trails config file loader that treats `trails.config.ts` as the natural primary while supporting JSON, JSONC, YAML, and TOML peer formats. Release and Warden config loading now consume the same loader and local overrides can be authored as data files.
341
+ - f8403c4: Collapse normal topo compilation onto one root `trails.lock` envelope that embeds the TopoGraph, hash, and summary while keeping legacy `.trails/trails.lock` plus `.trails/topo.lock` readers for migration compatibility.
342
+ - 371d19e: Move the default `trails.db` location to the per-user Trails state store, expose deterministic state-store path helpers, stop scaffolding disposable `.trails/cache` and `.trails/state` directories, and update topo-store documentation for the global-state substrate.
343
+ - Updated dependencies [4e75b85]
344
+ - Updated dependencies [1307568]
345
+ - Updated dependencies [ef09e46]
346
+ - Updated dependencies [38cd9d6]
347
+ - Updated dependencies [f8403c4]
348
+ - Updated dependencies [371d19e]
349
+ - Updated dependencies [ff48e41]
350
+ - @ontrails/regrade@1.0.0-beta.26
351
+ - @ontrails/config@1.0.0-beta.26
352
+ - @ontrails/core@1.0.0-beta.26
353
+ - @ontrails/warden@1.0.0-beta.26
354
+ - @ontrails/topographer@1.0.0-beta.26
355
+ - @ontrails/wayfinder@1.0.0-beta.26
356
+ - @ontrails/tracing@1.0.0-beta.26
357
+ - @ontrails/commander@1.0.0-beta.26
358
+ - @ontrails/adapter-kit@1.0.0-beta.26
359
+ - @ontrails/cli@1.0.0-beta.26
360
+ - @ontrails/http@1.0.0-beta.26
361
+ - @ontrails/mcp@1.0.0-beta.26
362
+ - @ontrails/observe@1.0.0-beta.26
363
+ - @ontrails/permits@1.0.0-beta.26
364
+
365
+ ## 1.0.0-beta.25
366
+
367
+ ### Minor Changes
368
+
369
+ - b9a7d8a: Add generated release PR policy automation with managed publish/channel/release
370
+ labels, stack-boundary source evidence, and inverse active-changeset release
371
+ fact validation.
372
+
373
+ ### Patch Changes
374
+
375
+ - 578731d: `trails doctor` now returns the underlying validation error when the app topo is invalid, instead of crashing with a redacted "Internal server error". The diagnostic command reports the diagnosis: validation failures surface with their category, message, and (with the commander detail rendering) the issue list.
376
+ - c5258ea: Fix the scaffolded AGENTS.md layer guidance to say "cross-cutting trail wrapping" — the cross→compose vocabulary cutover had renamed the standard English collocation, so every generated app shipped the nonsense phrase "compose-cutting".
377
+ - b991263: Retire the package-owned `regrade.downstream.report` trail wrapper so the Trails operator app owns the public Regrade surface while `@ontrails/regrade` exposes the reusable engine APIs and report schema.
378
+ - c75c6cc: Collapse the duplicate `diff` trail into the canonical `survey.diff` contract while keeping `trails diff` available as a CLI route alias.
379
+ - 7b7cd6a: Centralize the Trails operator root-directory and fresh-app lease preamble so topo-reading commands share the same load/release flow.
380
+ - c36aca9: Preserve existing Result error boundaries directly and widen Warden pass-through
381
+ coaching beyond trail blazes.
382
+ - c1bc0d3: Add the `wayfind.outline` source-navigation trail and expose it through the Trails CLI and MCP surfaces.
383
+ - 0d213b1: Enrich compact `wayfind outline --review` text with existing trail intent, schema, and example-count facts when saved graph artifacts are available.
384
+ - dbf4ff4: Emit structured CLI error envelopes for JSON/JSONL command failures and map compile-time Trails DB lock contention to a retryable timeout instead of a generic internal error.
385
+ - 8e1c2ff: Wire adapter and error fact selection into the unified `trails wayfind` command.
386
+ - da39b89: Add the unified `trails wayfind` navigation command over targets, filters, and
387
+ views, and remove the old `wayfind find` search alias during the v1 Wayfinder
388
+ surface cutover.
389
+ - 2059666: Add relational `trails wayfind` flags for downstream, upstream, and nearby graph navigation.
390
+ - 2c08afe: Expose MCP trail graph fact resources and enable them for the Trails operator MCP surface.
391
+ - 4b538d1: Start the `trails wayfind --source live` cutover by routing live overview and ID lookup through the fresh app survey path.
392
+ - dd98701: Update CLI and agent guidance to teach the unified Wayfinder navigation surface and live-source bridge.
393
+ - f1e6efa: Expand the Wayfinder dogfood smoke to exercise the unified navigation command shape.
394
+ - 60fa8f5: Expose the saved graph diff as a distinct `wayfind diff` CLI command and MCP tool.
395
+ - a8e4dc3: Clean up the Wayfinder navigation grammar before RC, including explicit pattern/query/file selectors, target-bound dependency and impact flags, drift-first provenance fields, stricter fires declaration diagnostics, and updated operator dogfood coverage.
396
+ - a528239: Keep Wayfinder artifact drift aligned with rejected and force-annotated topo compiles.
397
+ - de79459: Expand Wayfinder dogfood smoke coverage across demo graph facts, relation views, and artifact provenance failures.
398
+ - f757cd7: Publish Regrade's downstream report and AST rewrite APIs, and expose a dry-run
399
+ by default `trails regrade` operator command with explicit apply mode.
400
+ - 9bcf34e: Add trail-owned CLI command projection metadata and serialize resolved command
401
+ route facts for downstream tools.
402
+ - f7d97fc: Expose resolved CLI command routes through schema helpers, the Trails operator
403
+ schema command, and Wayfinder trail contract output.
404
+ - 59d10da: Dogfood CLI command route aliases through the Trails operator, saved Topographer artifacts, and Wayfinder contract inspection.
405
+ - df13faf: Tighten Wayfinder navigation review findings: carry adapter filters into included adapter facts, keep live-source outline off the operator MCP surface until host-root binding exists, make unknown MCP resources protocol errors, route secondary Wayfinder graph populations through unified flags, and keep undeclared string `ctx.compose()` calls as Warden errors.
406
+ - Updated dependencies [60caabf]
407
+ - Updated dependencies [a9fdbc7]
408
+ - Updated dependencies [f8fd6ca]
409
+ - Updated dependencies [b991263]
410
+ - Updated dependencies [0fcc42b]
411
+ - Updated dependencies [c36aca9]
412
+ - Updated dependencies [c1bc0d3]
413
+ - Updated dependencies [f556559]
414
+ - Updated dependencies [75417bb]
415
+ - Updated dependencies [6250729]
416
+ - Updated dependencies [d73c38e]
417
+ - Updated dependencies [3befcf1]
418
+ - Updated dependencies [dbf4ff4]
419
+ - Updated dependencies [14dc577]
420
+ - Updated dependencies [4f48166]
421
+ - Updated dependencies [2d9e73a]
422
+ - Updated dependencies [da39b89]
423
+ - Updated dependencies [2c08afe]
424
+ - Updated dependencies [f1e6efa]
425
+ - Updated dependencies [f1e6efa]
426
+ - Updated dependencies [f1e6efa]
427
+ - Updated dependencies [a8e4dc3]
428
+ - Updated dependencies [a528239]
429
+ - Updated dependencies [f757cd7]
430
+ - Updated dependencies [a4f9cf6]
431
+ - Updated dependencies [9bcf34e]
432
+ - Updated dependencies [1d3ae74]
433
+ - Updated dependencies [f7d97fc]
434
+ - Updated dependencies [00c0cf8]
435
+ - Updated dependencies [59d10da]
436
+ - Updated dependencies [b313c58]
437
+ - Updated dependencies [f245fa0]
438
+ - Updated dependencies [d9c6e50]
439
+ - Updated dependencies [f1e6efa]
440
+ - Updated dependencies [caff950]
441
+ - Updated dependencies [df13faf]
442
+ - @ontrails/commander@1.0.0-beta.25
443
+ - @ontrails/mcp@1.0.0-beta.25
444
+ - @ontrails/warden@1.0.0-beta.25
445
+ - @ontrails/regrade@1.0.0-beta.25
446
+ - @ontrails/core@1.0.0-beta.25
447
+ - @ontrails/http@1.0.0-beta.25
448
+ - @ontrails/topographer@1.0.0-beta.25
449
+ - @ontrails/wayfinder@1.0.0-beta.25
450
+ - @ontrails/cli@1.0.0-beta.25
451
+ - @ontrails/adapter-kit@1.0.0-beta.25
452
+ - @ontrails/observe@1.0.0-beta.25
453
+ - @ontrails/permits@1.0.0-beta.25
454
+ - @ontrails/tracing@1.0.0-beta.25
455
+
456
+ ## 1.0.0-beta.24
457
+
458
+ ### Patch Changes
459
+
460
+ - dac49c2: Restore caller-facing direct input for `trails run` so positional JSON,
461
+ `--input-json`, and `--input` payloads map to the target trail input unless
462
+ callers explicitly use the `input` wrapper for control-field collisions.
463
+ - @ontrails/commander@1.0.0-beta.24
464
+ - @ontrails/adapter-kit@1.0.0-beta.24
465
+ - @ontrails/cli@1.0.0-beta.24
466
+ - @ontrails/core@1.0.0-beta.24
467
+ - @ontrails/http@1.0.0-beta.24
468
+ - @ontrails/mcp@1.0.0-beta.24
469
+ - @ontrails/observe@1.0.0-beta.24
470
+ - @ontrails/permits@1.0.0-beta.24
471
+ - @ontrails/topographer@1.0.0-beta.24
472
+ - @ontrails/tracing@1.0.0-beta.24
473
+ - @ontrails/warden@1.0.0-beta.24
474
+ - @ontrails/wayfinder@1.0.0-beta.24
475
+
476
+ ## 1.0.0-beta.23
477
+
478
+ ### Patch Changes
479
+
480
+ - 7c037a0: Allow `trails release check` to pass as a no-op in generated single-package apps
481
+ that do not declare package workspaces.
482
+ - Updated dependencies [9c5ecdc]
483
+ - @ontrails/http@1.0.0-beta.23
484
+ - @ontrails/commander@1.0.0-beta.23
485
+ - @ontrails/adapter-kit@1.0.0-beta.23
486
+ - @ontrails/cli@1.0.0-beta.23
487
+ - @ontrails/core@1.0.0-beta.23
488
+ - @ontrails/mcp@1.0.0-beta.23
489
+ - @ontrails/observe@1.0.0-beta.23
490
+ - @ontrails/permits@1.0.0-beta.23
491
+ - @ontrails/topographer@1.0.0-beta.23
492
+ - @ontrails/tracing@1.0.0-beta.23
493
+ - @ontrails/warden@1.0.0-beta.23
494
+ - @ontrails/wayfinder@1.0.0-beta.23
495
+
496
+ ## 1.0.0-beta.22
497
+
498
+ ### Patch Changes
499
+
500
+ - cdee4d0: Emit formatter-clean fresh scaffold files so generated apps pass their own
501
+ `format:check` script before any manual cleanup.
502
+ - @ontrails/commander@1.0.0-beta.22
503
+ - @ontrails/adapter-kit@1.0.0-beta.22
504
+ - @ontrails/cli@1.0.0-beta.22
505
+ - @ontrails/core@1.0.0-beta.22
506
+ - @ontrails/http@1.0.0-beta.22
507
+ - @ontrails/mcp@1.0.0-beta.22
508
+ - @ontrails/observe@1.0.0-beta.22
509
+ - @ontrails/permits@1.0.0-beta.22
510
+ - @ontrails/topographer@1.0.0-beta.22
511
+ - @ontrails/tracing@1.0.0-beta.22
512
+ - @ontrails/warden@1.0.0-beta.22
513
+ - @ontrails/wayfinder@1.0.0-beta.22
514
+
515
+ ## 1.0.0-beta.21
516
+
517
+ ### Minor Changes
518
+
519
+ - bb5a219: Add the public `create.versions` trail (`trails create versions`). Scaffold dependency version derivation graduates from `scripts/sync-scaffold-versions.ts` into the `create` surface: check mode verifies `apps/trails/src/scaffold-versions.generated.ts` is current, write mode regenerates it, and the root script remains as a thin compatibility wrapper.
520
+
521
+ ### Patch Changes
522
+
523
+ - 4c0041c: Expose `wayfind.errors` and `wayfind.adapters` as read-only direct tools on the Trails operator MCP surface.
524
+ - 4cca012: Add the `wayfind.errors` graph-read trail and expose it through the Trails CLI for local error-fact inspection.
525
+ - 708b861: Expose `wayfind.adapters` over adapter-kit fact reports and add it to the Trails operator CLI Wayfinder surface.
526
+ - b6579b8: Expose selected Wayfinder graph-read queries through the local `trails wayfind` CLI command group for dogfooding saved topo artifacts.
527
+ - 52e15bc: Repair fresh app loading so mirrored workspace modules can resolve first-party workspace packages and their installed package dependencies from the mirror.
528
+ - d4ec336: Add a repo-level Wayfinder dogfood smoke command that exercises the local
529
+ Trails CLI against exported operator topo artifacts.
530
+ - 0d1472a: Expose release rules config helpers from `@ontrails/trails/release` so
531
+ projects can compose release policy into `trails.config.ts`.
532
+ - 8f681ae: Move release rule evaluation into the Trails app package and export the
533
+ release check and public trail contract fact helpers from
534
+ `@ontrails/trails/release`.
535
+ - 9e77ae1: Expose release rule evaluation through the `trails release check` command and
536
+ the Trails MCP operator surface, with JSON output available through the shared
537
+ CLI output mode.
538
+ - fd676c4: Expose the native Bun release binding from `@ontrails/trails/release` and keep publish and registry scripts as compatibility wrappers.
539
+ - 0ccb3e5: Add `release.smoke` as the public Trails release confidence surface for packed artifact and Wayfinder dogfood checks.
540
+ - Updated dependencies [99523f2]
541
+ - Updated dependencies [5e301d2]
542
+ - Updated dependencies [4cca012]
543
+ - Updated dependencies [3caa263]
544
+ - Updated dependencies [708b861]
545
+ - Updated dependencies [5be032c]
546
+ - @ontrails/core@1.0.0-beta.21
547
+ - @ontrails/permits@1.0.0-beta.21
548
+ - @ontrails/topographer@1.0.0-beta.21
549
+ - @ontrails/wayfinder@1.0.0-beta.21
550
+ - @ontrails/adapter-kit@1.0.0-beta.21
551
+ - @ontrails/warden@1.0.0-beta.21
552
+ - @ontrails/commander@1.0.0-beta.21
553
+ - @ontrails/cli@1.0.0-beta.21
554
+ - @ontrails/http@1.0.0-beta.21
555
+ - @ontrails/mcp@1.0.0-beta.21
556
+ - @ontrails/observe@1.0.0-beta.21
557
+ - @ontrails/tracing@1.0.0-beta.21
558
+
559
+ ## 1.0.0-beta.20
560
+
561
+ ### Minor Changes
562
+
563
+ - 396136a: Add the Trails operator MCP entrypoint with deferred surface facets and cold-context resources.
564
+
565
+ ### Patch Changes
566
+
567
+ - 851a2a3: Derive trail caller and blaze input types from the authored input schema while keeping one public input contract.
568
+ - d89a889: Project selected Wayfinder graph-read trails into the Trails operator MCP surface alongside clearer first-class operator tools.
569
+ - f67cd2a: Document Wayfinder as a real graph-read query catalog instead of a shell-only
570
+ package, including MCP exposure guidance, agent skill guidance, and release
571
+ notes for the v0 catalog and its deferred non-goals.
572
+ - Updated dependencies [851a2a3]
573
+ - Updated dependencies [eee1307]
574
+ - Updated dependencies [9bec01c]
575
+ - Updated dependencies [accb9ec]
576
+ - Updated dependencies [8bc0708]
577
+ - Updated dependencies [6901776]
578
+ - Updated dependencies [f67cd2a]
579
+ - Updated dependencies [c65c465]
580
+ - Updated dependencies [38f62f8]
581
+ - Updated dependencies [b248d4a]
582
+ - Updated dependencies [5364df1]
583
+ - Updated dependencies [2067441]
584
+ - Updated dependencies [6c3296c]
585
+ - @ontrails/core@1.0.0-beta.20
586
+ - @ontrails/warden@1.0.0-beta.20
587
+ - @ontrails/topographer@1.0.0-beta.20
588
+ - @ontrails/adapter-kit@1.0.0-beta.20
589
+ - @ontrails/mcp@1.0.0-beta.20
590
+ - @ontrails/wayfinder@1.0.0-beta.20
591
+ - @ontrails/commander@1.0.0-beta.20
592
+ - @ontrails/cli@1.0.0-beta.20
593
+ - @ontrails/http@1.0.0-beta.20
594
+ - @ontrails/observe@1.0.0-beta.20
595
+ - @ontrails/permits@1.0.0-beta.20
596
+ - @ontrails/tracing@1.0.0-beta.20
597
+
598
+ ## 1.0.0-beta.19
599
+
600
+ ### Major Changes
601
+
602
+ - 1eb5bdc: Rename first-class trail composition from the `cross` API family to the `compose` family across core contracts, testing helpers, topo projections, Warden rules, CLI scaffolds, and docs. `composes`, `ctx.compose`, `composeInput`, and `Compose*` type names are now the public authoring vocabulary; topo persistence migrates legacy composition rows and graph keys forward.
603
+ - 120caf5: Promote topo artifact commands to `trails compile` and `trails validate`.
604
+
605
+ ### Patch Changes
606
+
607
+ - e41c382: Document beta-channel install guidance in package and adapter README install snippets so consumers use explicit `@beta` (or pinned `1.0.0-beta.N`) tags instead of accidental `latest` resolution during the prerelease line. Adds the policy doc at `docs/releases/beta-channel-policy.md`, prints both `latest` and `beta` dist-tags in `bun run publish:registry-check`, and aligns plugin/skill install snippets.
608
+ - 14714b8: Add a beta.15 to beta.19 downstream migration guide (`docs/releases/beta15-to-beta19.md`) that ties together package install, CLI/MCP/HTTP surface decisions, public output schemas, contract testing, resource mocks / `unmockable`, error taxonomy, observability, Topographer artifact workflow, layer evolution, the `cross`→`compose` composition rename, trail-versioning runtime adoption, and adapter authoring. Linked from `docs/index.md` Release Notes and cross-references the focused migration guides under `docs/migration/`.
609
+ - 91328d3: Make `trails create` reruns reconcile existing scaffold files instead of overwriting present files and then failing on existing surfaces.
610
+ - 6471b73: Preserve the original `create.scaffold` Result boundary when `trails create` cannot scaffold a project.
611
+ - 51aac45: Add `entity.list` and `entity.delete` trails to the generated entity starter so fresh scaffolds model complete CRUD coverage.
612
+ - 5efa32c: Generate project-level `AGENTS.md` and `CLAUDE.md` guidance so new Trails apps
613
+ start with canonical agent instructions.
614
+ - 88c0316: Generate a contextual `README.md` for new Trails projects with first-run
615
+ commands, selected surfaces, starter notes, and agent guidance pointers.
616
+ - 99154d4: Generate `tsconfig.tests.json` in new Trails projects so root test files are
617
+ covered by editor TypeScript tooling without changing build output.
618
+ - 492f71c: Move CLI, MCP, HTTP, established-surface, and surface-parity helpers behind explicit subpaths so root contract testing imports no longer require optional surface peers. The Trails CLI scaffolder now emits `import { testAllEstablished } from '@ontrails/testing/established'` for generated verification.
619
+ - 4bc8a99: Clarify the Topographer artifact workflow around top-level `trails compile`, `trails validate`, and `trails diff` commands, including explicit diagnostics for retired `trails topo compile`, `trails topo verify`, and `trails topo check` attempts.
620
+ - 16cb740: Run examples and contract checks across live trail version entries, and project version-entry example coverage into topo and survey reports.
621
+ - 92e709b: Declare explicit permit scopes on mutating built-in CLI trails and scaffolded entity starter trails.
622
+
623
+ Preserve the resolved CLI permit on result callbacks so run-collision recovery can re-execute protected trails without losing authorization context.
624
+
625
+ - 1f48342: Preserve original Result error boundaries in CLI trails by returning existing Result failures directly instead of re-wrapping their errors.
626
+ - c14aa3a: Report structured entry and graph force audit details from `trails doctor`.
627
+ - 2df73cc: Configure scaffolded Trails projects to allow `TODO :::` fieldwork markers while keeping standard `TODO:` warning comments blocked.
628
+ - 7f50fe2: Add version lifecycle CLI trails for revising, deprecating, archiving, and diagnosing trail version entries.
629
+ - 653d1fc: Add a top-level `trails diff` command and extend TopoGraph diffs with version, marker, lifecycle status, support set, and force-event audit details.
630
+ - 2e76288: Add graph-only force event projection for forced compile break acceptance and block unforced breaking topo changes.
631
+ - 52e4e8f: Add the `@ontrails/trails` CLI package and core framework command scripts to newly scaffolded projects.
632
+ - 58be821: Generated projects now pin `@ontrails/*` packages to the exact scaffolded
633
+ package version instead of emitting caret prerelease ranges.
634
+ - da7cbcb: Generated projects now include a minimal `.trails/scaffold.json` provenance
635
+ breadcrumb recording the scaffold schema version, package version, starter
636
+ template, and generation timestamp.
637
+ - fc00aeb: Add adapter target conformance metadata and scaffold extracted HTTP adapters through `trails create adapter`.
638
+ - 1c975c3: Define the Warden fix-metadata contract (`WardenFix`, `WardenFixCapability`, `WardenFixClass`, `WardenFixSafety`, `WardenFixEdit`) with optional `fix` metadata on diagnostics and rule metadata, projected through the guide, manifest, markdown, and agent guidance. Export `wardenFixClasses`/`wardenFixSafeties` value arrays and surface the rule `fix` capability in the `warden.guide` trail output schema. Dormant until a rule declares it.
639
+ - d5d518e: Add `warden --fix` to apply safe source fixes. The executor applies only `safety: 'safe'` edits last-to-first, re-reading and rewriting affected files, while review-required, edit-less, and topo diagnostics stay reported but unapplied. The report surfaces applied, changed-file, and skipped counts.
640
+
641
+ Expose `fix` through the Trails app wrapper and mark the `warden` trail as write intent with explicit public access because `fix: true` mutates source files while the local governance command remains directly runnable.
642
+
643
+ - 678cb1c: Expose the shared adapter readiness engine through Warden's opt-in
644
+ `--adapter-check` diagnostics and the local `trails adapter check` authoring
645
+ workflow.
646
+ - 619cb15: Add a Warden rule (`no-destructured-compose`) that coaches trail blazes to call `ctx.compose(...)` directly instead of destructuring `compose` from the context.
647
+
648
+ Keep the generated `create` trail on the direct `ctx.compose(...)` shape so framework-authored trails follow the same composition guidance.
649
+
650
+ - Updated dependencies [bb81ffe]
651
+ - Updated dependencies [e41c382]
652
+ - Updated dependencies [ed5926b]
653
+ - Updated dependencies [a2f1825]
654
+ - Updated dependencies [a2f1825]
655
+ - Updated dependencies [1eb5bdc]
656
+ - Updated dependencies [f8d80b9]
657
+ - Updated dependencies [94a8380]
658
+ - Updated dependencies [94a8380]
659
+ - Updated dependencies [846a597]
660
+ - Updated dependencies [8638dae]
661
+ - Updated dependencies [8638dae]
662
+ - Updated dependencies [8638dae]
663
+ - Updated dependencies [f0f7e2f]
664
+ - Updated dependencies [223aaad]
665
+ - Updated dependencies [3125f4d]
666
+ - Updated dependencies [2494dc6]
667
+ - Updated dependencies [4bc8a99]
668
+ - Updated dependencies [120caf5]
669
+ - Updated dependencies [2d53717]
670
+ - Updated dependencies [16cb740]
671
+ - Updated dependencies [8894ecb]
672
+ - Updated dependencies [fdf7ec9]
673
+ - Updated dependencies [92e709b]
674
+ - Updated dependencies [d76be13]
675
+ - Updated dependencies [84f56a5]
676
+ - Updated dependencies [64fb15a]
677
+ - Updated dependencies [653d1fc]
678
+ - Updated dependencies [431b04c]
679
+ - Updated dependencies [2e76288]
680
+ - Updated dependencies [5d88104]
681
+ - Updated dependencies [f04a9ef]
682
+ - Updated dependencies [fc00aeb]
683
+ - Updated dependencies [1c975c3]
684
+ - Updated dependencies [48d5ff4]
685
+ - Updated dependencies [d5d518e]
686
+ - Updated dependencies [216bf10]
687
+ - Updated dependencies [ab1c77c]
688
+ - Updated dependencies [8ca5b85]
689
+ - Updated dependencies [4f43874]
690
+ - Updated dependencies [678cb1c]
691
+ - Updated dependencies [5874fd6]
692
+ - Updated dependencies [619cb15]
693
+ - Updated dependencies [4642268]
694
+ - Updated dependencies [9bab0cf]
695
+ - Updated dependencies [3ceeba8]
696
+ - Updated dependencies [beafd03]
697
+ - Updated dependencies [7b173e0]
698
+ - Updated dependencies [6e50e7b]
699
+ - Updated dependencies [48edf8d]
700
+ - Updated dependencies [12ffa3b]
701
+ - Updated dependencies [2f262f7]
702
+ - Updated dependencies [58b01f2]
703
+ - @ontrails/adapter-kit@1.0.0-beta.19
704
+ - @ontrails/core@1.0.0-beta.19
705
+ - @ontrails/cli@1.0.0-beta.19
706
+ - @ontrails/commander@1.0.0-beta.19
707
+ - @ontrails/http@1.0.0-beta.19
708
+ - @ontrails/mcp@1.0.0-beta.19
709
+ - @ontrails/topographer@1.0.0-beta.19
710
+ - @ontrails/warden@1.0.0-beta.19
711
+ - @ontrails/observe@1.0.0-beta.19
712
+ - @ontrails/tracing@1.0.0-beta.19
713
+ - @ontrails/permits@1.0.0-beta.19
714
+
715
+ ## 1.0.0-beta.18
716
+
717
+ ### Patch Changes
718
+
719
+ - Updated dependencies [c0b2948]
720
+ - Updated dependencies [fc3219c]
721
+ - Updated dependencies [bc2d327]
722
+ - Updated dependencies [bf44972]
723
+ - Updated dependencies [57c8672]
724
+ - Updated dependencies [510ea50]
725
+ - Updated dependencies [e0ae995]
726
+ - @ontrails/http@1.0.0-beta.18
727
+ - @ontrails/observe@1.0.0-beta.18
728
+ - @ontrails/tracing@1.0.0-beta.18
729
+ - @ontrails/commander@1.0.0-beta.18
730
+ - @ontrails/cli@1.0.0-beta.18
731
+ - @ontrails/core@1.0.0-beta.18
732
+ - @ontrails/mcp@1.0.0-beta.18
733
+ - @ontrails/permits@1.0.0-beta.18
734
+ - @ontrails/topographer@1.0.0-beta.18
735
+ - @ontrails/warden@1.0.0-beta.18
736
+
737
+ ## 1.0.0-beta.17
738
+
739
+ ### Patch Changes
740
+
741
+ - 41276d2: Expose a shipped surface projection inventory through survey output and trail detail reports.
742
+ - Updated dependencies [3dc8254]
743
+ - Updated dependencies [61497c5]
744
+ - @ontrails/core@1.0.0-beta.17
745
+ - @ontrails/cli@1.0.0-beta.17
746
+ - @ontrails/commander@1.0.0-beta.17
747
+ - @ontrails/http@1.0.0-beta.17
748
+ - @ontrails/mcp@1.0.0-beta.17
749
+ - @ontrails/observe@1.0.0-beta.17
750
+ - @ontrails/permits@1.0.0-beta.17
751
+ - @ontrails/topographer@1.0.0-beta.17
752
+ - @ontrails/tracing@1.0.0-beta.17
753
+ - @ontrails/warden@1.0.0-beta.17
754
+
755
+ ## 1.0.0-beta.16
756
+
757
+ ### Major Changes
758
+
759
+ - abc8c68: Move the brief capability report from the bare `survey` flag surface to the role-anchored `survey.brief` trail.
760
+ - 04e2a2e: Move saved contract diffing from the bare `survey` flag surface to the `survey.diff` trail, with optional `against` targets and `breakingOnly` filtering.
761
+ - ed171d5: Split `trails survey` detail inspection into role-anchored `survey.trail`, `survey.resource`, and `survey.signal` trails while keeping bare `survey <id>` as an all-kinds lookup. Remove the temporary `survey --openapi` and `topo.show` CLI shapes. CLI command projection now supports executable parent commands with positional arguments alongside child commands.
762
+ - de30d6c: Introduce `topo.compile` as the canonical trail for writing `.trails` lockfile
763
+ and surface artifacts, remove the `survey --generate` mode, and update drift
764
+ guidance to point at the compile command.
765
+ - 938f005: Cut CLI topo compile and survey diff surfaces over to the lock v3 artifact family. `topo.compile` now reports `topoPath` for `.trails/topo.lock`, survey diff accepts explicit `topo.lock` files and directories containing `topo.lock`, and new scaffolds no longer ignore committed root lock artifacts.
766
+ - 10eae9a: Migrate the Trails workspace to the documented `.trails/` layout: committed `.lock` files at the workspace root, ignored `cache/` for rebuildable derived data, ignored `state/` for mutable runtime state, and `.trails/config.local.{ts,js}` for local overrides. The default SQLite path is now `.trails/state/trails.db`. Workspace bootstrap creates only `cache/` and `state/` — the legacy `dev/` and `generated/` subdirectories are no longer created. Dev reset cleans both the new `.trails/state/` paths and legacy `.trails/trails.db*` and `.trails/dev/tracing.db*` paths for one cycle. Scaffold and workspace gitignores reflect the new layout.
767
+
768
+ Workspace bootstrap is now owned by a single canonical source in `@ontrails/core`. The package exposes `ensureTrailsWorkspace()`, `WORKSPACE_GITIGNORE_CONTENT`, and `WORKSPACE_GITIGNORE_LINES`. `@ontrails/config` no longer exports its own `ensureWorkspace` (consumers should import from `@ontrails/core`). `trails create` now writes `.trails/.gitignore` during scaffolding so a fresh-scaffolded project's initial commit includes the workspace gitignore (resolves TRL-703).
769
+
770
+ ### Minor Changes
771
+
772
+ - a18a25d: Update `trails warden` to use the shared `@ontrails/warden` command surface and final Sprint 1 flags.
773
+
774
+ The integrated CLI now projects `--ci`, `--pre-push`, `--depth`, `--fail-on`, `--strict`, `--format`, `--lock`, `--drafts`, `--apps`, `--no-lock-mutation`, and the local Warden aliases into the same runner used by the package `warden` bin. The old `lintOnly`, `driftOnly`, and `tier` inputs are replaced by `--depth` and `--lock` semantics.
775
+
776
+ - 3b5697a: Add the `run` trail family to `apps/trails` for direct trail invocation by ID. `trails run <id> '<inline-json>'` resolves the trail in the current app's topo and executes it through the shared `run()` pipeline from `@ontrails/core`, returning a typed direct-invocation envelope. `run.examples` lists authored examples and `run.example` executes one named example with an actual-vs-expected comparison. Single-app resolution only on this branch; multi-app workspace resolution plus `--app` override land in TRL-406. Not-found maps to `Result.err(NotFoundError)` and CLI exit code 2 via the existing error taxonomy. Self-hosted: the trail family authors happy-path and not-found examples, exercised by `testExamples(app)`.
777
+ - fbd42fc: Unify structured CLI input around `--input <path|->` and `--input-json`.
778
+ `--input` reads JSON from a file path or from stdin when the value is `-`;
779
+ `--input-file`, `--stdin`, and the `structuredInputFieldByTrail` routing
780
+ option are removed. Structured payloads now merge directly into each trail's
781
+ typed input object, so `trails run` callers provide the inner trail payload
782
+ under the run trail's `input` field.
783
+ - 63d1aef: Add `--quiet` / `-q` flag to strip the `inner-trail-result` envelope from `trails run` stdout. On success, stdout becomes the inner value JSON only (no `{ kind, trailId, value }` wrapper). Composes with `--json` / `--jsonl` (those control format; `--quiet` controls envelope vs unwrapped). Wired as a global CLI flag via `outputModePreset()` so all commands surface it; the run-trail-specific unwrap logic lives in `apps/trails/src/cli.ts` next to the existing collision-recovery wrapper.
784
+ - 5a3c245: Add `run.example` for named example execution. It loads a named example, executes the inner trail with the example's input, and compares actual vs expected per the example's contract (`expected` deep-equal, `expectedMatch` partial-match, or `error` class match). Returns a structured `RunExampleComparison` envelope with input/expected/actual/match/diff. The CLI surface helper prints an OK summary on match (exit 0), or a diff and `ValidationError` on mismatch (exit 1). Unknown example names produce `NotFoundError` (exit 2) with the available examples listed.
785
+ - 93e9d44: Add `run.examples` for listing a trail's examples without executing. The split run family gives examples listing its own typed input and structured `RunExamplesListing` output (`{ kind: 'examples-listing', trailId, examples }`) instead of adding an `--examples` mode flag to `run`. The CLI surface helper formats text-mode tables (name + truncated input + outcome) and unwraps to a JSON/JSONL array when `--json`/`--jsonl` is set. Trails with no examples emit `No examples defined` (text) or `[]` (JSON). Unknown trail IDs still surface `NotFoundError` (exit code 2).
786
+ - 8f5bda0: Wire workspace topo discovery into the `run` trail with collision UX. `run` accepts an optional `app?: string` input that auto-projects as `--app <name>` on the CLI. Resolution flow: `--app` provided → use it; else if the trail ID is unambiguous in the workspace index → use the single owning app; else if colliding → return `Result.err(AmbiguousError)` whose message names the candidates and suggests `--app`. The CLI surface adds a TTY-aware bridge (`tryRecoverFromRunCollision`) that prompts via clack when stdin is a TTY and the trail returned an `AmbiguousError`, then re-executes with the chosen app. Non-TTY contexts surface the error and exit with code 1. Trail logic stays surface-agnostic; TTY detection and prompts live in the CLI bridge.
787
+ - c8caa5e: Wire the `--trace` flag for the `trails run` family. Adds `tracePreset()` to `@ontrails/cli` (registered via the `presets` option) and threads `'trace'` through `META_FLAG_CANDIDATES` so the flag is treated as CLI metadata (never routed into trail input). On activation, `apps/trails/src/cli.ts` installs a per-invocation memory sink before `surface()` runs and finalizes it in a `finally` block: the post-execution tree (rendered via `renderTraceTree` from TRL-411) goes to stderr; the result still goes to stdout. With `--trace --json`, regular `trails run <id>` emits a single JSON envelope on stdout that includes `tracing: TraceRecord[]`; `trails run example <id> <exampleName>` keeps its comparison envelope, and `trails run examples <id>` remains a metadata read. `--quiet` keeps the tree on stderr and the unwrapped value on stdout, while `--jsonl` streams items as before. Sink registration is per-invocation so concurrent runs don't bleed records.
788
+ - f4b90c9: Add `--watch` for the `trails run` family. File-system events are cheap wake-ups; the rerun gate compares the resolved trail's surface-map entry hash so edits only rerun when the public contract for the watched trail changes. New `watchPreset()` exposes the boolean flag; `'watch'` is added to `META_FLAG_CANDIDATES` so the flag never routes into trail input. The watch loop in `apps/trails/src/run-watch.ts` runs once, then sets up a debounced (`100ms`) `node:fs.watch` filtered to `.ts`/`.tsx`/`.js`/`.mjs`/`.cjs` extensions in the trail's source directory. SIGINT closes the watcher cleanly. A short startup warmup window (`150ms`) suppresses the macOS FSEvents replay event that would otherwise produce a phantom rerun on first invocation.
789
+ - 2a2e072: Compose `--watch` with the split `run example` command and `--trace` cleanly. Moves the `--trace` session install/finalize bracket inside `runSurfaceOnce` so each watch rerun gets a fresh memory sink and stderr tree (previously the sink was process-scoped and accumulated records across reruns, suppressing the per-rerun tree until SIGINT). Adds integration tests covering the example-comparison rerun loop, trace-record freshness across reruns, and error recovery (a thrown rerun does not exit the watch loop). Documents the TDD-in-terminal workflow in the Direct Invocation ADR draft.
790
+ - 85c39c4: Add shell completion infrastructure and trail-ID completion. New `apps/trails/src/completions.ts` exposes `renderCompletionScript('bash' | 'zsh' | 'fish', binName)` and `renderTrailIdCompletions(workspaceRoot, prefix)` (reads the workspace topo via `buildWorkspaceTrailIndex`). Two new trails register on the topo: `completions` (returns the completion script for a chosen shell) and `completions.__complete` (the dynamic suggestion endpoint that the static script delegates to at tab-press time). Per-shell logic lives in a `Record<CompletionShell, ScriptRenderer>` lookup; the dynamic dispatch table is keyed by subcommand so TRL-416 (example-name completion) lands as a new entry.
791
+ - 6f5bf81: Add example-name completion to the dynamic suggestion endpoint. When the user tab-completes the example-name argument in `trails run example <trail-id> <prefix>`, the completion returns the named trail's `examples` array (filtered by prefix, sorted). New `renderTrailExampleCompletions(workspaceRoot, trailId, prefix)` helper resolves the trail's owning app via the workspace index, loads the topo with `tryLoadFreshAppLease`, and derives examples via `deriveStructuredTrailExamples`. Recoverable load/lookup failures return typed `RecoverableCompletionError` values from the helper and are suppressed to `[]` only at the internal `completions.__complete` shell boundary so tab completion stays quiet.
792
+ - 3d4e921: Add `trails completions install [--shell bash|zsh|fish]` for installing the completion script to the standard per-shell location. This is a CLI bridge command, not a topo trail: it uses `renderCompletionScript`, auto-detects `$SHELL` when `--shell` is omitted, creates parent directories as needed, and writes to:
793
+
794
+ - bash → `~/.local/share/bash-completion/completions/trails`
795
+ - zsh → `~/.local/share/zsh/site-functions/_trails` (user must add to `$fpath` if not already)
796
+ - fish → `~/.config/fish/completions/trails.fish`
797
+
798
+ Output reports `{ shell, path, created, message }`. Idempotent — second run reports `created: false` and overwrites with the freshest script. Detection failure (missing/unsupported `$SHELL`) returns `Result.err(ValidationError)` with a message naming the supported shells. Test seam allows injecting `homeDir` and `shellEnv` so the trail never mutates global state.
799
+
800
+ - 863d473: Add three attachment scopes for typed layers — trail, surface, topo — with composition order **topo → surface → trail → blaze**. `TrailSpec` and `Trail` gain `layers?: readonly Layer[]` (default `[]`). `topo()` accepts `{ layers: [...] }` as the third options argument; the topo carries those layers and they reach the executor via `ExecuteTrailOptions.topoLayers`. The CLI's `surface()`/`createProgram()`/`deriveCliCommands` already supports a `layers` option; that now flows through `runTrailOnce` as `surfaceLayers`. The executor builds the layer chain `[...topoLayers, ...surfaceLayers, ...trail.layers, ...options.layers]` so topo wraps surface wraps trail wraps blaze (verified by composition-order tests at every level). Survey's `TrailDetailReport` adds `composedLayers: { topo, surface, trail }` so agents can introspect the layer chain per trail. Backward-compatible: every new field is optional with a non-undefined default; existing call sites are unchanged.
801
+ - 802fdfc: Rename Warden guide manifest rule grouping from `category` to `concern` so the
802
+ public JSON contract matches the source metadata field.
803
+ - f6fdc62: Add structured Warden remediation guidance to rule metadata, diagnostics, report output, and the `trails warden` result schema.
804
+ - a10ffa4: Add a Warden guide manifest projection and expose it through `trails warden guide` in markdown, agent-json, and manifest formats.
805
+
806
+ ### Patch Changes
807
+
808
+ - 73622ae: Thread `ResourceSpec.config` through the built-in auth resource. Resource config schemas that accept `undefined` now receive their parsed default when config values are omitted, and `authResource` can materialize the no-op or JWT adapter from typed config while preserving existing mock and override paths.
809
+ - 25f3c5c: Add the dedicated `@ontrails/commander` adapter package and move the Commander runtime out of the `@ontrails/cli/commander` subpath. Extend the repo-local package-source guardrails to cover adapter package source as the Commander runtime moves under `adapters/`.
810
+ - f20cb51: Update generated CLI scaffolds and current-facing docs to use the dedicated `@ontrails/commander` adapter package.
811
+ - 20d7a5c: Enforce the shared safe error projection policy for public error bodies, diagnostics, serialized payloads, and CLI stderr.
812
+ - e898cc4: Add repo-level Knip dead-code detection and remove stale internal exports and unused package dependencies surfaced by the new check.
813
+ - 200bece: BREAKING: rename auth connector vocabulary to adapter.
814
+
815
+ This stays on the current `1.0.0-beta` prerelease line: the package is part of
816
+ the fixed `@ontrails/*` beta group, so beta-breaking API renames advance the
817
+ next beta rather than opening a stable-major release line.
818
+
819
+ - `AuthConnector` -> `AuthAdapter`
820
+ - `authConnectorSchema` -> `authAdapterSchema`
821
+ - `JwtConnectorOptions` -> `JwtAdapterOptions`
822
+ - `createJwtConnector` -> `createJwtAdapter`
823
+ - auth resource config discriminant `{ connector: 'jwt' | 'none' }` -> `{ adapter: 'jwt' | 'none' }`
824
+
825
+ The `@ontrails/permits/jwt` subpath is unchanged. The internal `connectors/`
826
+ source directory becomes `adapters/`. See
827
+ `docs/migration/connector-to-adapter.md` for the full rename map.
828
+
829
+ The Trails CLI package updates its generated auth-resource configuration to use
830
+ the new `adapter` discriminant.
831
+
832
+ - 3395234: Move store adapter-binding helpers to `@ontrails/store/adapter-support` and topographer direct database/admin helpers to `@ontrails/topographer/backend-support`, keeping root exports focused on contract-level APIs.
833
+ - d40430d: Remove the retired `@ontrails/logging` workspace from the prerelease package set. Use `@ontrails/observe` for log and trace sink contracts and `@ontrails/logtape` for LogTape forwarding.
834
+ - 331e3a9: Relocate the topo-store public API from `@ontrails/core` to `@ontrails/topographer` per ADR-0042. Generic `trails-db` helpers (`openReadTrailsDb`, `openWriteTrailsDb`, `ensureSubsystemSchema`, `deriveTrailsDbPath`, `deriveTrailsDir`) stay in core because tracing and other subsystems share them.
835
+
836
+ Breaking pre-1.0 beta change. Update consumer imports:
837
+
838
+ ```diff
839
+ - import { topoStore, createTopoStore, createMockTopoStore, createTopoSnapshot, listTopoSnapshots, pinTopoSnapshot, unpinTopoSnapshot, createStoredTopoSnapshot, getStoredTopoExport, countTopoSnapshots, countPinnedSnapshots, countPrunableSnapshots, pruneUnpinnedSnapshots } from '@ontrails/core';
840
+ + import { topoStore, createTopoStore, createMockTopoStore, createTopoSnapshot, listTopoSnapshots, pinTopoSnapshot, unpinTopoSnapshot } from '@ontrails/topographer';
841
+ + import { createStoredTopoSnapshot, getStoredTopoExport, countTopoSnapshots, countPinnedSnapshots, countPrunableSnapshots, pruneUnpinnedSnapshots } from '@ontrails/topographer/backend-support';
842
+ ```
843
+
844
+ The same root move applies to types `ReadOnlyTopoStore`, `MockTopoStoreSeed`, `TopoSnapshot`, `TopoStoreRef`, `TopoStoreExportRecord`, `TopoStoreResourceRecord`, `TopoStoreTrailRecord`, `TopoStoreTrailDetailRecord`, `CreateTopoSnapshotInput`, and `ListTopoSnapshotsOptions`. The direct DB helper type `StoredTopoExport` moves to `@ontrails/topographer/backend-support`.
845
+
846
+ Core newly exports `activationSourceKey`, `projectActivationSourceDeclaration`, `activationSourceDeclarationSignature`, and the `ActivationSourceProjection` type — these were already used internally and are now part of the public surface so `@ontrails/topographer` (the only consumer that needs them) can import them through normal package channels.
847
+
848
+ - 4399fdb: Renamed `@ontrails/schema` to `@ontrails/topographer`. Mechanical rename only — no API changes. Update import sites from `@ontrails/schema` to `@ontrails/topographer`. See ADR-0042 for the durable graph substrate doctrine.
849
+ - dbd17db: Remove the unused legacy `@ontrails/logging` dependency from the Trails CLI app package.
850
+ - 2dd9cda: Promote ADR-0043 (Layer Evolution) from draft to accepted, amend it on 2026-05-04 to remove the briefly proposed `Middleware` split, and publish the Layer Evolution Migration Guide at `docs/migration/layer-evolution.md`.
851
+
852
+ Documentation-only change capturing the post-implementation state of the layer-evolution work shipped across TRL-471 through TRL-476: typed `Layer` primitive with optional `input` schema, three attachment scopes (trail, surface, topo), CLI/MCP/HTTP surface projection of layer inputs, removal of `authLayer`, `autoIterateLayer`, and `dateShortcutsLayer`, and warden coaching via `no-legacy-layer-imports` (error). The migration guide is the durable countermeasure to the vocabulary churn flagged in ADR-0043's tradeoffs.
853
+
854
+ - ed7f6f6: Expand topo-store and survey trail detail records with resolved TopoGraph contract facts for blind-agent review.
855
+ - fb10112: Polish Warden guidance projection by preserving labels in plain-text doc links
856
+ and reusing the shared diagnostic schema from the Trails CLI wrapper.
857
+ - 7a1d4a9: Rename the public resolved graph API from `SurfaceMap` to `TopoGraph`, including
858
+ the derive, hash, diff, and current graph artifact I/O helpers.
859
+ - 84f595a: Add lock v3 manifest and `topo.lock` I/O. `trails.lock` now reads as a compact v3 manifest that points at the serialized TopoGraph artifact, and legacy v2/hash-only lock inputs fail with a regenerate instruction.
860
+ - d2cb9ba: Rename topo-store export artifacts from surface-era names to TopoGraph names. The `topo_exports` table now stores `topo_graph`, `topo_graph_hash`, and `lock_manifest`, and backend-support export records expose `topoGraphJson`, `topoGraphHash`, and `lockManifestJson`.
861
+ - 8ddf5ff: Extend `runWarden` into the shared Warden orchestration entrypoint with effective config resolution, depth/fail thresholds, rule facets, and multi-topo report metadata.
862
+
863
+ Adapt the built-in `trails warden` wrapper to consume the readonly Warden report diagnostics contract without weakening its output schema.
864
+
865
+ - Updated dependencies [73622ae]
866
+ - Updated dependencies [e991a5b]
867
+ - Updated dependencies [25f3c5c]
868
+ - Updated dependencies [6300f70]
869
+ - Updated dependencies [d172013]
870
+ - Updated dependencies [c3fc5c3]
871
+ - Updated dependencies [20d7a5c]
872
+ - Updated dependencies [be5fb46]
873
+ - Updated dependencies [199304e]
874
+ - Updated dependencies [e898cc4]
875
+ - Updated dependencies [a8997ed]
876
+ - Updated dependencies [fe03945]
877
+ - Updated dependencies [2bf239e]
878
+ - Updated dependencies [200bece]
879
+ - Updated dependencies [e4beec9]
880
+ - Updated dependencies [3395234]
881
+ - Updated dependencies [d40430d]
882
+ - Updated dependencies [bcdc484]
883
+ - Updated dependencies [3f678d4]
884
+ - Updated dependencies [ed171d5]
885
+ - Updated dependencies [49c2e7d]
886
+ - Updated dependencies [de30d6c]
887
+ - Updated dependencies [331e3a9]
888
+ - Updated dependencies [c40865a]
889
+ - Updated dependencies [4399fdb]
890
+ - Updated dependencies [578e674]
891
+ - Updated dependencies [4b8d13b]
892
+ - Updated dependencies [4b8d13b]
893
+ - Updated dependencies [4b8d13b]
894
+ - Updated dependencies [4b8d13b]
895
+ - Updated dependencies [fbd42fc]
896
+ - Updated dependencies [63d1aef]
897
+ - Updated dependencies [6be2e95]
898
+ - Updated dependencies [819de09]
899
+ - Updated dependencies [be08686]
900
+ - Updated dependencies [112b9f2]
901
+ - Updated dependencies [893025e]
902
+ - Updated dependencies [ed888e2]
903
+ - Updated dependencies [2e05e27]
904
+ - Updated dependencies [9cdb0f2]
905
+ - Updated dependencies [c8caa5e]
906
+ - Updated dependencies [f4b90c9]
907
+ - Updated dependencies [eec5e9d]
908
+ - Updated dependencies [4e75129]
909
+ - Updated dependencies [47505fe]
910
+ - Updated dependencies [ebd4434]
911
+ - Updated dependencies [863d473]
912
+ - Updated dependencies [344f2f7]
913
+ - Updated dependencies [26f9ffd]
914
+ - Updated dependencies [66056ac]
915
+ - Updated dependencies [ad553a6]
916
+ - Updated dependencies [2dd9cda]
917
+ - Updated dependencies [b12e19b]
918
+ - Updated dependencies [ed7f6f6]
919
+ - Updated dependencies [fb10112]
920
+ - Updated dependencies [802fdfc]
921
+ - Updated dependencies [0bad534]
922
+ - Updated dependencies [bfabe09]
923
+ - Updated dependencies [7a1d4a9]
924
+ - Updated dependencies [84f595a]
925
+ - Updated dependencies [d2cb9ba]
926
+ - Updated dependencies [2cc05da]
927
+ - Updated dependencies [10eae9a]
928
+ - Updated dependencies [bbb1ea4]
929
+ - Updated dependencies [22c6c06]
930
+ - Updated dependencies [767eb41]
931
+ - Updated dependencies [82019a7]
932
+ - Updated dependencies [f6fdc62]
933
+ - Updated dependencies [a10ffa4]
934
+ - Updated dependencies [df9a7d0]
935
+ - Updated dependencies [7085f01]
936
+ - Updated dependencies [30a2c7e]
937
+ - Updated dependencies [81bffec]
938
+ - Updated dependencies [8ddf5ff]
939
+ - Updated dependencies [f5b6112]
940
+ - Updated dependencies [d675a53]
941
+ - @ontrails/core@1.0.0-beta.16
942
+ - @ontrails/cli@1.0.0-beta.16
943
+ - @ontrails/permits@1.0.0-beta.16
944
+ - @ontrails/commander@1.0.0-beta.16
945
+ - @ontrails/warden@1.0.0-beta.16
946
+ - @ontrails/observe@1.0.0-beta.16
947
+ - @ontrails/tracing@1.0.0-beta.16
948
+ - @ontrails/topographer@1.0.0-beta.16
949
+
950
+ ## 1.0.0-beta.15
951
+
952
+ ### Patch Changes
953
+
954
+ - 2003fa5: Prepare the Trails CLI for beta.15 release publishing: derive the CLI version from package metadata, scaffold publishable package ranges, add HTTP surface generation, include the scaffold toolchain dependencies, and avoid generating unsupported Warden flags.
955
+ - Updated dependencies [4ad6b25]
956
+ - @ontrails/core@1.0.0-beta.15
957
+ - @ontrails/cli@1.0.0-beta.15
958
+ - @ontrails/tracing@1.0.0-beta.15
959
+ - @ontrails/warden@1.0.0-beta.15
960
+ - @ontrails/observe@1.0.0-beta.15
961
+ - @ontrails/topographer@1.0.0-beta.15
962
+
963
+ ## 1.0.0-beta.14
964
+
965
+ ### Minor Changes
966
+
967
+ - 69057e9: Add hierarchical CLI command trees and structured input, enforce established-only topo exports across trailheads, move developer topo and tracker state onto shared `trails.db` with pins and maintenance flows, and ship schema-derived stores through `@ontrails/store` and its Drizzle runtime.
968
+
969
+ ### Patch Changes
970
+
971
+ - Updated dependencies [69057e9]
972
+ - @ontrails/cli@1.0.0-beta.14
973
+ - @ontrails/core@1.0.0-beta.14
974
+ - @ontrails/logging@1.0.0-beta.14
975
+ - @ontrails/schema@1.0.0-beta.14
976
+ - @ontrails/tracker@1.0.0-beta.14
977
+ - @ontrails/warden@1.0.0-beta.14
978
+
979
+ ## 1.0.0-beta.13
980
+
981
+ ### Patch Changes
982
+
983
+ - Updated dependencies [6944147]
984
+ - Updated dependencies
985
+ - @ontrails/core@1.0.0-beta.13
986
+ - @ontrails/cli@1.0.0-beta.13
987
+ - @ontrails/schema@1.0.0-beta.13
988
+ - @ontrails/warden@1.0.0-beta.13
989
+ - @ontrails/logging@1.0.0-beta.13
990
+
991
+ ## 1.0.0-beta.12
992
+
993
+ ### Patch Changes
994
+
995
+ - Updated dependencies
996
+ - @ontrails/core@1.0.0-beta.12
997
+ - @ontrails/cli@1.0.0-beta.12
998
+ - @ontrails/logging@1.0.0-beta.12
999
+ - @ontrails/schema@1.0.0-beta.12
1000
+ - @ontrails/warden@1.0.0-beta.12
1001
+
1002
+ ## 1.0.0-beta.11
1003
+
1004
+ ### Patch Changes
1005
+
1006
+ - Add services as a first-class primitive.
1007
+
1008
+ Services make infrastructure dependencies declarative, injectable, and governable. Define a service with `provision()`, declare it on a trail with `provisions: [db]`, and access it with `db.from(ctx)` or `ctx.provision()`.
1009
+
1010
+ **Core:** `provision()` factory, `ServiceSpec<T>`, `ServiceContext`, singleton resolution in `executeTrail`, in-flight creation dedup, `isService` guard, `findDuplicateServiceId`, topo service discovery and validation, `services` field on trail specs.
1011
+
1012
+ **Testing:** Auto-resolution of `mock` factories in `testAll`, `testExamples`, `testContracts`, and `testCrosses`. Explicit `services` overrides with correct precedence (`explicit > ctx.extensions > auto-mock`). Service mock propagation through crossing graphs.
1013
+
1014
+ **Warden:** `service-declarations` rule validates `db.from(ctx)` and `ctx.provision()` usage matches declared `provisions: [...]`. `service-exists` rule validates declared service IDs resolve in project context. Scope-aware AST walking skips nested function boundaries.
1015
+
1016
+ **Trailheads:** Service overrides thread through `run` and `trailhead` on CLI, MCP, and HTTP.
1017
+
1018
+ **Introspection:** Survey and trailhead map outputs include service graph. Topo exposes `.services`, `.getService()`, `.hasService()`, `.listServices()`, `.serviceIds()`, `.serviceCount`.
1019
+
1020
+ **Docs:** ADR-009 accepted. Unified services guide, updated vocabulary, getting-started, architecture, and package READMEs.
1021
+
1022
+ - Updated dependencies
1023
+ - @ontrails/core@1.0.0-beta.11
1024
+ - @ontrails/warden@1.0.0-beta.11
1025
+ - @ontrails/cli@1.0.0-beta.11
1026
+ - @ontrails/schema@1.0.0-beta.11
1027
+ - @ontrails/logging@1.0.0-beta.11
1028
+
1029
+ ## 1.0.0-beta.10
1030
+
1031
+ ### Patch Changes
1032
+
1033
+ - Updated dependencies
1034
+ - @ontrails/core@1.0.0-beta.10
1035
+ - @ontrails/cli@1.0.0-beta.10
1036
+ - @ontrails/warden@1.0.0-beta.10
1037
+ - @ontrails/logging@1.0.0-beta.10
1038
+ - @ontrails/schema@1.0.0-beta.10
1039
+
1040
+ ## 1.0.0-beta.9
1041
+
1042
+ ### Patch Changes
1043
+
1044
+ - Updated dependencies
1045
+ - @ontrails/core@1.0.0-beta.9
1046
+ - @ontrails/cli@1.0.0-beta.9
1047
+ - @ontrails/schema@1.0.0-beta.9
1048
+ - @ontrails/warden@1.0.0-beta.9
1049
+ - @ontrails/logging@1.0.0-beta.9
1050
+
1051
+ ## 1.0.0-beta.8
1052
+
1053
+ ### Patch Changes
1054
+
1055
+ - Updated dependencies
1056
+ - @ontrails/schema@1.0.0-beta.8
1057
+ - @ontrails/cli@1.0.0-beta.8
1058
+ - @ontrails/core@1.0.0-beta.8
1059
+ - @ontrails/logging@1.0.0-beta.8
1060
+ - @ontrails/warden@1.0.0-beta.8
1061
+
1062
+ ## 1.0.0-beta.7
1063
+
1064
+ ### Minor Changes
1065
+
1066
+ - HTTP trailhead and OpenAPI generation.
1067
+
1068
+ **http**: New `@ontrails/http` package — Hono-based HTTP connector. `trailhead()` derives routes from trail IDs, maps intent to HTTP verbs (read→GET, write→POST, destroy→DELETE), and maps error taxonomy to status codes. Returns the Hono instance.
1069
+
1070
+ **schema**: Add `generateOpenApiSpec(topo)` — generates a complete OpenAPI 3.1 spec from the topo. Each trail becomes an operation with path, method, schemas, and error responses derived from the contract.
1071
+
1072
+ **trails**: `trails survey --openapi` outputs the OpenAPI spec for any Trails app.
1073
+
1074
+ ### Patch Changes
1075
+
1076
+ - Updated dependencies
1077
+ - @ontrails/schema@1.0.0-beta.7
1078
+ - @ontrails/warden@1.0.0-beta.7
1079
+ - @ontrails/cli@1.0.0-beta.7
1080
+ - @ontrails/core@1.0.0-beta.7
1081
+ - @ontrails/logging@1.0.0-beta.7
1082
+
1083
+ ## 1.0.0-beta.6
1084
+
1085
+ ### Patch Changes
1086
+
1087
+ - Updated dependencies
1088
+ - @ontrails/core@1.0.0-beta.6
1089
+ - @ontrails/warden@1.0.0-beta.6
1090
+ - @ontrails/cli@1.0.0-beta.6
1091
+ - @ontrails/logging@1.0.0-beta.6
1092
+ - @ontrails/schema@1.0.0-beta.6
1093
+
1094
+ ## 1.0.0-beta.5
1095
+
1096
+ ### Patch Changes
1097
+
1098
+ - Updated dependencies
1099
+ - @ontrails/core@1.0.0-beta.5
1100
+ - @ontrails/warden@1.0.0-beta.5
1101
+ - @ontrails/logging@1.0.0-beta.5
1102
+ - @ontrails/schema@1.0.0-beta.5
1103
+ - @ontrails/cli@1.0.0-beta.5
1104
+
3
1105
  ## 1.0.0-beta.4
4
1106
 
5
1107
  ### Major Changes
@@ -8,15 +1110,15 @@
8
1110
 
9
1111
  **BREAKING CHANGES:**
10
1112
 
11
- - `hike()` removed — use `trail()` with optional `follow: [...]` field
12
- - `follows` renamed to `follow` (singular, matching `ctx.follow()`)
1113
+ - `hike()` removed — use `trail()` with optional `crosses: [...]` field
1114
+ - `follows` renamed to `crosses` (matching `ctx.cross()`)
13
1115
  - `topo.hikes` removed — single `topo.trails` map
14
1116
  - `kind: 'hike'` removed — everything is `kind: 'trail'`
15
1117
  - `readOnly`/`destructive` booleans replaced by `intent: 'read' | 'write' | 'destroy'`
16
1118
  - `implementation` field renamed to `run`
17
1119
  - `markers` field renamed to `metadata`
18
- - `testHike` renamed to `testFollows`, `HikeScenario` to `FollowScenario`
19
- - `blaze()` now returns the surface handle (`Command` for CLI, `Server` for MCP)
1120
+ - `testHike` renamed to `testCrosses`, `HikeScenario` to `CrossScenario`
1121
+ - `trailhead()` now returns the trailhead handle (`Command` for CLI, `Server` for MCP)
20
1122
 
21
1123
  ### Patch Changes
22
1124