@ontrails/trails 1.0.0-beta.2 → 1.0.0-beta.22
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.
- package/CHANGELOG.md +647 -0
- package/README.md +26 -0
- package/package.json +28 -7
- package/src/app.ts +86 -2
- package/src/clack.ts +22 -0
- package/src/cli.ts +330 -11
- package/src/completions.ts +240 -0
- package/src/lifecycle-source-io.ts +33 -0
- package/src/load-app-mirror.ts +202 -0
- package/src/local-state-io.ts +153 -0
- package/src/mcp-app.ts +30 -0
- package/src/mcp-options.ts +77 -0
- package/src/mcp.ts +8 -0
- package/src/project-writes.ts +377 -0
- package/src/release/bindings.ts +39 -0
- package/src/release/check.ts +818 -0
- package/src/release/config.ts +63 -0
- package/src/release/contract-facts.ts +425 -0
- package/src/release/index.ts +85 -0
- package/src/release/native-bun-publish.ts +651 -0
- package/src/release/native-bun-registry.ts +350 -0
- package/src/release/packed-artifacts-smoke.ts +236 -0
- package/src/release/smoke.ts +46 -0
- package/src/release/wayfinder-dogfood-smoke.ts +226 -0
- package/src/retired-topo-command.ts +36 -0
- package/src/run-adapter-check.ts +76 -0
- package/src/run-collision.ts +126 -0
- package/src/run-completions-install.ts +179 -0
- package/src/run-example.ts +149 -0
- package/src/run-examples.ts +148 -0
- package/src/run-quiet.ts +75 -0
- package/src/run-release-check.ts +74 -0
- package/src/run-trace.ts +273 -0
- package/src/run-warden.ts +39 -0
- package/src/run-watch.ts +432 -0
- package/src/scaffold-version-sync.ts +183 -0
- package/src/scaffold-versions.generated.ts +12 -0
- package/src/trails/adapter-check.ts +244 -0
- package/src/trails/add-surface.ts +94 -40
- package/src/trails/add-trail.ts +79 -41
- package/src/trails/add-verify.ts +95 -25
- package/src/trails/compile.ts +67 -0
- package/src/trails/completions-complete.ts +165 -0
- package/src/trails/completions.ts +47 -0
- package/src/trails/create-adapter.ts +1084 -0
- package/src/trails/create-scaffold.ts +399 -104
- package/src/trails/create-versions.ts +62 -0
- package/src/trails/create.ts +185 -71
- package/src/trails/deprecate.ts +59 -0
- package/src/trails/dev-clean.ts +82 -0
- package/src/trails/dev-reset.ts +50 -0
- package/src/trails/dev-stats.ts +72 -0
- package/src/trails/dev-support.ts +340 -0
- package/src/trails/doctor.ts +56 -0
- package/src/trails/draft-promote.ts +949 -0
- package/src/trails/guide.ts +74 -68
- package/src/trails/load-app.ts +1143 -15
- package/src/trails/project.ts +17 -3
- package/src/trails/release-check.ts +104 -0
- package/src/trails/release-smoke.ts +48 -0
- package/src/trails/revise.ts +53 -0
- package/src/trails/root-dir.ts +21 -0
- package/src/trails/run-example.ts +491 -0
- package/src/trails/run-examples.ts +145 -0
- package/src/trails/run.ts +410 -0
- package/src/trails/scaffold-json.ts +58 -0
- package/src/trails/survey.ts +881 -226
- package/src/trails/topo-activation.ts +385 -0
- package/src/trails/topo-constants.ts +2 -0
- package/src/trails/topo-history.ts +47 -0
- package/src/trails/topo-output-schemas.ts +248 -0
- package/src/trails/topo-pin.ts +52 -0
- package/src/trails/topo-read-support.ts +313 -0
- package/src/trails/topo-reports.ts +807 -0
- package/src/trails/topo-store-support.ts +174 -0
- package/src/trails/topo-support.ts +220 -0
- package/src/trails/topo-unpin.ts +61 -0
- package/src/trails/topo.ts +106 -0
- package/src/trails/validate.ts +38 -0
- package/src/trails/version-lifecycle-support.ts +945 -0
- package/src/trails/warden-guide.ts +129 -0
- package/src/trails/warden.ts +165 -58
- package/src/versions.ts +31 -0
- package/.turbo/turbo-build.log +0 -1
- package/.turbo/turbo-lint.log +0 -3
- package/.turbo/turbo-typecheck.log +0 -1
- package/__tests__/examples.test.ts +0 -6
- package/dist/bin/trails.d.ts +0 -3
- package/dist/bin/trails.d.ts.map +0 -1
- package/dist/bin/trails.js +0 -4
- package/dist/bin/trails.js.map +0 -1
- package/dist/src/app.d.ts +0 -2
- package/dist/src/app.d.ts.map +0 -1
- package/dist/src/app.js +0 -11
- package/dist/src/app.js.map +0 -1
- package/dist/src/clack.d.ts +0 -9
- package/dist/src/clack.d.ts.map +0 -1
- package/dist/src/clack.js +0 -62
- package/dist/src/clack.js.map +0 -1
- package/dist/src/cli.d.ts +0 -2
- package/dist/src/cli.d.ts.map +0 -1
- package/dist/src/cli.js +0 -13
- package/dist/src/cli.js.map +0 -1
- package/dist/src/trails/add-surface.d.ts +0 -13
- package/dist/src/trails/add-surface.d.ts.map +0 -1
- package/dist/src/trails/add-surface.js +0 -88
- package/dist/src/trails/add-surface.js.map +0 -1
- package/dist/src/trails/add-trail.d.ts +0 -11
- package/dist/src/trails/add-trail.d.ts.map +0 -1
- package/dist/src/trails/add-trail.js +0 -85
- package/dist/src/trails/add-trail.js.map +0 -1
- package/dist/src/trails/add-verify.d.ts +0 -10
- package/dist/src/trails/add-verify.d.ts.map +0 -1
- package/dist/src/trails/add-verify.js +0 -67
- package/dist/src/trails/add-verify.js.map +0 -1
- package/dist/src/trails/create-scaffold.d.ts +0 -15
- package/dist/src/trails/create-scaffold.d.ts.map +0 -1
- package/dist/src/trails/create-scaffold.js +0 -288
- package/dist/src/trails/create-scaffold.js.map +0 -1
- package/dist/src/trails/create.d.ts +0 -22
- package/dist/src/trails/create.d.ts.map +0 -1
- package/dist/src/trails/create.js +0 -121
- package/dist/src/trails/create.js.map +0 -1
- package/dist/src/trails/guide.d.ts +0 -11
- package/dist/src/trails/guide.d.ts.map +0 -1
- package/dist/src/trails/guide.js +0 -80
- package/dist/src/trails/guide.js.map +0 -1
- package/dist/src/trails/load-app.d.ts +0 -4
- package/dist/src/trails/load-app.d.ts.map +0 -1
- package/dist/src/trails/load-app.js +0 -24
- package/dist/src/trails/load-app.js.map +0 -1
- package/dist/src/trails/project.d.ts +0 -8
- package/dist/src/trails/project.d.ts.map +0 -1
- package/dist/src/trails/project.js +0 -43
- package/dist/src/trails/project.js.map +0 -1
- package/dist/src/trails/survey.d.ts +0 -33
- package/dist/src/trails/survey.d.ts.map +0 -1
- package/dist/src/trails/survey.js +0 -225
- package/dist/src/trails/survey.js.map +0 -1
- package/dist/src/trails/warden.d.ts +0 -19
- package/dist/src/trails/warden.d.ts.map +0 -1
- package/dist/src/trails/warden.js +0 -88
- package/dist/src/trails/warden.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/src/__tests__/create.test.ts +0 -349
- package/src/__tests__/guide.test.ts +0 -91
- package/src/__tests__/load-app.test.ts +0 -15
- package/src/__tests__/survey.test.ts +0 -161
- package/src/__tests__/warden.test.ts +0 -74
- package/tsconfig.json +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,652 @@
|
|
|
1
1
|
# trails
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.22
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- cdee4d0: Emit formatter-clean fresh scaffold files so generated apps pass their own
|
|
8
|
+
`format:check` script before any manual cleanup.
|
|
9
|
+
- @ontrails/commander@1.0.0-beta.22
|
|
10
|
+
- @ontrails/adapter-kit@1.0.0-beta.22
|
|
11
|
+
- @ontrails/cli@1.0.0-beta.22
|
|
12
|
+
- @ontrails/core@1.0.0-beta.22
|
|
13
|
+
- @ontrails/http@1.0.0-beta.22
|
|
14
|
+
- @ontrails/mcp@1.0.0-beta.22
|
|
15
|
+
- @ontrails/observe@1.0.0-beta.22
|
|
16
|
+
- @ontrails/permits@1.0.0-beta.22
|
|
17
|
+
- @ontrails/topographer@1.0.0-beta.22
|
|
18
|
+
- @ontrails/tracing@1.0.0-beta.22
|
|
19
|
+
- @ontrails/warden@1.0.0-beta.22
|
|
20
|
+
- @ontrails/wayfinder@1.0.0-beta.22
|
|
21
|
+
|
|
22
|
+
## 1.0.0-beta.21
|
|
23
|
+
|
|
24
|
+
### Minor Changes
|
|
25
|
+
|
|
26
|
+
- 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.
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- 4c0041c: Expose `wayfind.errors` and `wayfind.adapters` as read-only direct tools on the Trails operator MCP surface.
|
|
31
|
+
- 4cca012: Add the `wayfind.errors` graph-read trail and expose it through the Trails CLI for local error-fact inspection.
|
|
32
|
+
- 708b861: Expose `wayfind.adapters` over adapter-kit fact reports and add it to the Trails operator CLI Wayfinder surface.
|
|
33
|
+
- b6579b8: Expose selected Wayfinder graph-read queries through the local `trails wayfind` CLI command group for dogfooding saved topo artifacts.
|
|
34
|
+
- 52e15bc: Repair fresh app loading so mirrored workspace modules can resolve first-party workspace packages and their installed package dependencies from the mirror.
|
|
35
|
+
- d4ec336: Add a repo-level Wayfinder dogfood smoke command that exercises the local
|
|
36
|
+
Trails CLI against exported operator topo artifacts.
|
|
37
|
+
- 0d1472a: Expose release rules config helpers from `@ontrails/trails/release` so
|
|
38
|
+
projects can compose release policy into `trails.config.ts`.
|
|
39
|
+
- 8f681ae: Move release rule evaluation into the Trails app package and export the
|
|
40
|
+
release check and public trail contract fact helpers from
|
|
41
|
+
`@ontrails/trails/release`.
|
|
42
|
+
- 9e77ae1: Expose release rule evaluation through the `trails release check` command and
|
|
43
|
+
the Trails MCP operator surface, with JSON output available through the shared
|
|
44
|
+
CLI output mode.
|
|
45
|
+
- fd676c4: Expose the native Bun release binding from `@ontrails/trails/release` and keep publish and registry scripts as compatibility wrappers.
|
|
46
|
+
- 0ccb3e5: Add `release.smoke` as the public Trails release confidence surface for packed artifact and Wayfinder dogfood checks.
|
|
47
|
+
- Updated dependencies [99523f2]
|
|
48
|
+
- Updated dependencies [5e301d2]
|
|
49
|
+
- Updated dependencies [4cca012]
|
|
50
|
+
- Updated dependencies [3caa263]
|
|
51
|
+
- Updated dependencies [708b861]
|
|
52
|
+
- Updated dependencies [5be032c]
|
|
53
|
+
- @ontrails/core@1.0.0-beta.21
|
|
54
|
+
- @ontrails/permits@1.0.0-beta.21
|
|
55
|
+
- @ontrails/topographer@1.0.0-beta.21
|
|
56
|
+
- @ontrails/wayfinder@1.0.0-beta.21
|
|
57
|
+
- @ontrails/adapter-kit@1.0.0-beta.21
|
|
58
|
+
- @ontrails/warden@1.0.0-beta.21
|
|
59
|
+
- @ontrails/commander@1.0.0-beta.21
|
|
60
|
+
- @ontrails/cli@1.0.0-beta.21
|
|
61
|
+
- @ontrails/http@1.0.0-beta.21
|
|
62
|
+
- @ontrails/mcp@1.0.0-beta.21
|
|
63
|
+
- @ontrails/observe@1.0.0-beta.21
|
|
64
|
+
- @ontrails/tracing@1.0.0-beta.21
|
|
65
|
+
|
|
66
|
+
## 1.0.0-beta.20
|
|
67
|
+
|
|
68
|
+
### Minor Changes
|
|
69
|
+
|
|
70
|
+
- 396136a: Add the Trails operator MCP entrypoint with deferred surface facets and cold-context resources.
|
|
71
|
+
|
|
72
|
+
### Patch Changes
|
|
73
|
+
|
|
74
|
+
- 851a2a3: Derive trail caller and blaze input types from the authored input schema while keeping one public input contract.
|
|
75
|
+
- d89a889: Project selected Wayfinder graph-read trails into the Trails operator MCP surface alongside clearer first-class operator tools.
|
|
76
|
+
- f67cd2a: Document Wayfinder as a real graph-read query catalog instead of a shell-only
|
|
77
|
+
package, including MCP exposure guidance, agent skill guidance, and release
|
|
78
|
+
notes for the v0 catalog and its deferred non-goals.
|
|
79
|
+
- Updated dependencies [851a2a3]
|
|
80
|
+
- Updated dependencies [eee1307]
|
|
81
|
+
- Updated dependencies [9bec01c]
|
|
82
|
+
- Updated dependencies [accb9ec]
|
|
83
|
+
- Updated dependencies [8bc0708]
|
|
84
|
+
- Updated dependencies [6901776]
|
|
85
|
+
- Updated dependencies [f67cd2a]
|
|
86
|
+
- Updated dependencies [c65c465]
|
|
87
|
+
- Updated dependencies [38f62f8]
|
|
88
|
+
- Updated dependencies [b248d4a]
|
|
89
|
+
- Updated dependencies [5364df1]
|
|
90
|
+
- Updated dependencies [2067441]
|
|
91
|
+
- Updated dependencies [6c3296c]
|
|
92
|
+
- @ontrails/core@1.0.0-beta.20
|
|
93
|
+
- @ontrails/warden@1.0.0-beta.20
|
|
94
|
+
- @ontrails/topographer@1.0.0-beta.20
|
|
95
|
+
- @ontrails/adapter-kit@1.0.0-beta.20
|
|
96
|
+
- @ontrails/mcp@1.0.0-beta.20
|
|
97
|
+
- @ontrails/wayfinder@1.0.0-beta.20
|
|
98
|
+
- @ontrails/commander@1.0.0-beta.20
|
|
99
|
+
- @ontrails/cli@1.0.0-beta.20
|
|
100
|
+
- @ontrails/http@1.0.0-beta.20
|
|
101
|
+
- @ontrails/observe@1.0.0-beta.20
|
|
102
|
+
- @ontrails/permits@1.0.0-beta.20
|
|
103
|
+
- @ontrails/tracing@1.0.0-beta.20
|
|
104
|
+
|
|
105
|
+
## 1.0.0-beta.19
|
|
106
|
+
|
|
107
|
+
### Major Changes
|
|
108
|
+
|
|
109
|
+
- 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.
|
|
110
|
+
- 120caf5: Promote topo artifact commands to `trails compile` and `trails validate`.
|
|
111
|
+
|
|
112
|
+
### Patch Changes
|
|
113
|
+
|
|
114
|
+
- 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.
|
|
115
|
+
- 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/`.
|
|
116
|
+
- 91328d3: Make `trails create` reruns reconcile existing scaffold files instead of overwriting present files and then failing on existing surfaces.
|
|
117
|
+
- 6471b73: Preserve the original `create.scaffold` Result boundary when `trails create` cannot scaffold a project.
|
|
118
|
+
- 51aac45: Add `entity.list` and `entity.delete` trails to the generated entity starter so fresh scaffolds model complete CRUD coverage.
|
|
119
|
+
- 5efa32c: Generate project-level `AGENTS.md` and `CLAUDE.md` guidance so new Trails apps
|
|
120
|
+
start with canonical agent instructions.
|
|
121
|
+
- 88c0316: Generate a contextual `README.md` for new Trails projects with first-run
|
|
122
|
+
commands, selected surfaces, starter notes, and agent guidance pointers.
|
|
123
|
+
- 99154d4: Generate `tsconfig.tests.json` in new Trails projects so root test files are
|
|
124
|
+
covered by editor TypeScript tooling without changing build output.
|
|
125
|
+
- 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.
|
|
126
|
+
- 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.
|
|
127
|
+
- 16cb740: Run examples and contract checks across live trail version entries, and project version-entry example coverage into topo and survey reports.
|
|
128
|
+
- 92e709b: Declare explicit permit scopes on mutating built-in CLI trails and scaffolded entity starter trails.
|
|
129
|
+
|
|
130
|
+
Preserve the resolved CLI permit on result callbacks so run-collision recovery can re-execute protected trails without losing authorization context.
|
|
131
|
+
|
|
132
|
+
- 1f48342: Preserve original Result error boundaries in CLI trails by returning existing Result failures directly instead of re-wrapping their errors.
|
|
133
|
+
- c14aa3a: Report structured entry and graph force audit details from `trails doctor`.
|
|
134
|
+
- 2df73cc: Configure scaffolded Trails projects to allow `TODO :::` fieldwork markers while keeping standard `TODO:` warning comments blocked.
|
|
135
|
+
- 7f50fe2: Add version lifecycle CLI trails for revising, deprecating, archiving, and diagnosing trail version entries.
|
|
136
|
+
- 653d1fc: Add a top-level `trails diff` command and extend TopoGraph diffs with version, marker, lifecycle status, support set, and force-event audit details.
|
|
137
|
+
- 2e76288: Add graph-only force event projection for forced compile break acceptance and block unforced breaking topo changes.
|
|
138
|
+
- 52e4e8f: Add the `@ontrails/trails` CLI package and core framework command scripts to newly scaffolded projects.
|
|
139
|
+
- 58be821: Generated projects now pin `@ontrails/*` packages to the exact scaffolded
|
|
140
|
+
package version instead of emitting caret prerelease ranges.
|
|
141
|
+
- da7cbcb: Generated projects now include a minimal `.trails/scaffold.json` provenance
|
|
142
|
+
breadcrumb recording the scaffold schema version, package version, starter
|
|
143
|
+
template, and generation timestamp.
|
|
144
|
+
- fc00aeb: Add adapter target conformance metadata and scaffold extracted HTTP adapters through `trails create adapter`.
|
|
145
|
+
- 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.
|
|
146
|
+
- 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.
|
|
147
|
+
|
|
148
|
+
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.
|
|
149
|
+
|
|
150
|
+
- 678cb1c: Expose the shared adapter readiness engine through Warden's opt-in
|
|
151
|
+
`--adapter-check` diagnostics and the local `trails adapter check` authoring
|
|
152
|
+
workflow.
|
|
153
|
+
- 619cb15: Add a Warden rule (`no-destructured-compose`) that coaches trail blazes to call `ctx.compose(...)` directly instead of destructuring `compose` from the context.
|
|
154
|
+
|
|
155
|
+
Keep the generated `create` trail on the direct `ctx.compose(...)` shape so framework-authored trails follow the same composition guidance.
|
|
156
|
+
|
|
157
|
+
- Updated dependencies [bb81ffe]
|
|
158
|
+
- Updated dependencies [e41c382]
|
|
159
|
+
- Updated dependencies [ed5926b]
|
|
160
|
+
- Updated dependencies [a2f1825]
|
|
161
|
+
- Updated dependencies [a2f1825]
|
|
162
|
+
- Updated dependencies [1eb5bdc]
|
|
163
|
+
- Updated dependencies [f8d80b9]
|
|
164
|
+
- Updated dependencies [94a8380]
|
|
165
|
+
- Updated dependencies [94a8380]
|
|
166
|
+
- Updated dependencies [846a597]
|
|
167
|
+
- Updated dependencies [8638dae]
|
|
168
|
+
- Updated dependencies [8638dae]
|
|
169
|
+
- Updated dependencies [8638dae]
|
|
170
|
+
- Updated dependencies [f0f7e2f]
|
|
171
|
+
- Updated dependencies [223aaad]
|
|
172
|
+
- Updated dependencies [3125f4d]
|
|
173
|
+
- Updated dependencies [2494dc6]
|
|
174
|
+
- Updated dependencies [4bc8a99]
|
|
175
|
+
- Updated dependencies [120caf5]
|
|
176
|
+
- Updated dependencies [2d53717]
|
|
177
|
+
- Updated dependencies [16cb740]
|
|
178
|
+
- Updated dependencies [8894ecb]
|
|
179
|
+
- Updated dependencies [fdf7ec9]
|
|
180
|
+
- Updated dependencies [92e709b]
|
|
181
|
+
- Updated dependencies [d76be13]
|
|
182
|
+
- Updated dependencies [84f56a5]
|
|
183
|
+
- Updated dependencies [64fb15a]
|
|
184
|
+
- Updated dependencies [653d1fc]
|
|
185
|
+
- Updated dependencies [431b04c]
|
|
186
|
+
- Updated dependencies [2e76288]
|
|
187
|
+
- Updated dependencies [5d88104]
|
|
188
|
+
- Updated dependencies [f04a9ef]
|
|
189
|
+
- Updated dependencies [fc00aeb]
|
|
190
|
+
- Updated dependencies [1c975c3]
|
|
191
|
+
- Updated dependencies [48d5ff4]
|
|
192
|
+
- Updated dependencies [d5d518e]
|
|
193
|
+
- Updated dependencies [216bf10]
|
|
194
|
+
- Updated dependencies [ab1c77c]
|
|
195
|
+
- Updated dependencies [8ca5b85]
|
|
196
|
+
- Updated dependencies [4f43874]
|
|
197
|
+
- Updated dependencies [678cb1c]
|
|
198
|
+
- Updated dependencies [5874fd6]
|
|
199
|
+
- Updated dependencies [619cb15]
|
|
200
|
+
- Updated dependencies [4642268]
|
|
201
|
+
- Updated dependencies [9bab0cf]
|
|
202
|
+
- Updated dependencies [3ceeba8]
|
|
203
|
+
- Updated dependencies [beafd03]
|
|
204
|
+
- Updated dependencies [7b173e0]
|
|
205
|
+
- Updated dependencies [6e50e7b]
|
|
206
|
+
- Updated dependencies [48edf8d]
|
|
207
|
+
- Updated dependencies [12ffa3b]
|
|
208
|
+
- Updated dependencies [2f262f7]
|
|
209
|
+
- Updated dependencies [58b01f2]
|
|
210
|
+
- @ontrails/adapter-kit@1.0.0-beta.19
|
|
211
|
+
- @ontrails/core@1.0.0-beta.19
|
|
212
|
+
- @ontrails/cli@1.0.0-beta.19
|
|
213
|
+
- @ontrails/commander@1.0.0-beta.19
|
|
214
|
+
- @ontrails/http@1.0.0-beta.19
|
|
215
|
+
- @ontrails/mcp@1.0.0-beta.19
|
|
216
|
+
- @ontrails/topographer@1.0.0-beta.19
|
|
217
|
+
- @ontrails/warden@1.0.0-beta.19
|
|
218
|
+
- @ontrails/observe@1.0.0-beta.19
|
|
219
|
+
- @ontrails/tracing@1.0.0-beta.19
|
|
220
|
+
- @ontrails/permits@1.0.0-beta.19
|
|
221
|
+
|
|
222
|
+
## 1.0.0-beta.18
|
|
223
|
+
|
|
224
|
+
### Patch Changes
|
|
225
|
+
|
|
226
|
+
- Updated dependencies [c0b2948]
|
|
227
|
+
- Updated dependencies [fc3219c]
|
|
228
|
+
- Updated dependencies [bc2d327]
|
|
229
|
+
- Updated dependencies [bf44972]
|
|
230
|
+
- Updated dependencies [57c8672]
|
|
231
|
+
- Updated dependencies [510ea50]
|
|
232
|
+
- Updated dependencies [e0ae995]
|
|
233
|
+
- @ontrails/http@1.0.0-beta.18
|
|
234
|
+
- @ontrails/observe@1.0.0-beta.18
|
|
235
|
+
- @ontrails/tracing@1.0.0-beta.18
|
|
236
|
+
- @ontrails/commander@1.0.0-beta.18
|
|
237
|
+
- @ontrails/cli@1.0.0-beta.18
|
|
238
|
+
- @ontrails/core@1.0.0-beta.18
|
|
239
|
+
- @ontrails/mcp@1.0.0-beta.18
|
|
240
|
+
- @ontrails/permits@1.0.0-beta.18
|
|
241
|
+
- @ontrails/topographer@1.0.0-beta.18
|
|
242
|
+
- @ontrails/warden@1.0.0-beta.18
|
|
243
|
+
|
|
244
|
+
## 1.0.0-beta.17
|
|
245
|
+
|
|
246
|
+
### Patch Changes
|
|
247
|
+
|
|
248
|
+
- 41276d2: Expose a shipped surface projection inventory through survey output and trail detail reports.
|
|
249
|
+
- Updated dependencies [3dc8254]
|
|
250
|
+
- Updated dependencies [61497c5]
|
|
251
|
+
- @ontrails/core@1.0.0-beta.17
|
|
252
|
+
- @ontrails/cli@1.0.0-beta.17
|
|
253
|
+
- @ontrails/commander@1.0.0-beta.17
|
|
254
|
+
- @ontrails/http@1.0.0-beta.17
|
|
255
|
+
- @ontrails/mcp@1.0.0-beta.17
|
|
256
|
+
- @ontrails/observe@1.0.0-beta.17
|
|
257
|
+
- @ontrails/permits@1.0.0-beta.17
|
|
258
|
+
- @ontrails/topographer@1.0.0-beta.17
|
|
259
|
+
- @ontrails/tracing@1.0.0-beta.17
|
|
260
|
+
- @ontrails/warden@1.0.0-beta.17
|
|
261
|
+
|
|
262
|
+
## 1.0.0-beta.16
|
|
263
|
+
|
|
264
|
+
### Major Changes
|
|
265
|
+
|
|
266
|
+
- abc8c68: Move the brief capability report from the bare `survey` flag surface to the role-anchored `survey.brief` trail.
|
|
267
|
+
- 04e2a2e: Move saved contract diffing from the bare `survey` flag surface to the `survey.diff` trail, with optional `against` targets and `breakingOnly` filtering.
|
|
268
|
+
- 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.
|
|
269
|
+
- de30d6c: Introduce `topo.compile` as the canonical trail for writing `.trails` lockfile
|
|
270
|
+
and surface artifacts, remove the `survey --generate` mode, and update drift
|
|
271
|
+
guidance to point at the compile command.
|
|
272
|
+
- 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.
|
|
273
|
+
- 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.
|
|
274
|
+
|
|
275
|
+
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).
|
|
276
|
+
|
|
277
|
+
### Minor Changes
|
|
278
|
+
|
|
279
|
+
- a18a25d: Update `trails warden` to use the shared `@ontrails/warden` command surface and final Sprint 1 flags.
|
|
280
|
+
|
|
281
|
+
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.
|
|
282
|
+
|
|
283
|
+
- 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)`.
|
|
284
|
+
- fbd42fc: Unify structured CLI input around `--input <path|->` and `--input-json`.
|
|
285
|
+
`--input` reads JSON from a file path or from stdin when the value is `-`;
|
|
286
|
+
`--input-file`, `--stdin`, and the `structuredInputFieldByTrail` routing
|
|
287
|
+
option are removed. Structured payloads now merge directly into each trail's
|
|
288
|
+
typed input object, so `trails run` callers provide the inner trail payload
|
|
289
|
+
under the run trail's `input` field.
|
|
290
|
+
- 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.
|
|
291
|
+
- 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.
|
|
292
|
+
- 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).
|
|
293
|
+
- 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.
|
|
294
|
+
- 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.
|
|
295
|
+
- 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.
|
|
296
|
+
- 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.
|
|
297
|
+
- 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.
|
|
298
|
+
- 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.
|
|
299
|
+
- 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:
|
|
300
|
+
|
|
301
|
+
- bash → `~/.local/share/bash-completion/completions/trails`
|
|
302
|
+
- zsh → `~/.local/share/zsh/site-functions/_trails` (user must add to `$fpath` if not already)
|
|
303
|
+
- fish → `~/.config/fish/completions/trails.fish`
|
|
304
|
+
|
|
305
|
+
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.
|
|
306
|
+
|
|
307
|
+
- 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.
|
|
308
|
+
- 802fdfc: Rename Warden guide manifest rule grouping from `category` to `concern` so the
|
|
309
|
+
public JSON contract matches the source metadata field.
|
|
310
|
+
- f6fdc62: Add structured Warden remediation guidance to rule metadata, diagnostics, report output, and the `trails warden` result schema.
|
|
311
|
+
- a10ffa4: Add a Warden guide manifest projection and expose it through `trails warden guide` in markdown, agent-json, and manifest formats.
|
|
312
|
+
|
|
313
|
+
### Patch Changes
|
|
314
|
+
|
|
315
|
+
- 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.
|
|
316
|
+
- 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/`.
|
|
317
|
+
- f20cb51: Update generated CLI scaffolds and current-facing docs to use the dedicated `@ontrails/commander` adapter package.
|
|
318
|
+
- 20d7a5c: Enforce the shared safe error projection policy for public error bodies, diagnostics, serialized payloads, and CLI stderr.
|
|
319
|
+
- e898cc4: Add repo-level Knip dead-code detection and remove stale internal exports and unused package dependencies surfaced by the new check.
|
|
320
|
+
- 200bece: BREAKING: rename auth connector vocabulary to adapter.
|
|
321
|
+
|
|
322
|
+
This stays on the current `1.0.0-beta` prerelease line: the package is part of
|
|
323
|
+
the fixed `@ontrails/*` beta group, so beta-breaking API renames advance the
|
|
324
|
+
next beta rather than opening a stable-major release line.
|
|
325
|
+
|
|
326
|
+
- `AuthConnector` -> `AuthAdapter`
|
|
327
|
+
- `authConnectorSchema` -> `authAdapterSchema`
|
|
328
|
+
- `JwtConnectorOptions` -> `JwtAdapterOptions`
|
|
329
|
+
- `createJwtConnector` -> `createJwtAdapter`
|
|
330
|
+
- auth resource config discriminant `{ connector: 'jwt' | 'none' }` -> `{ adapter: 'jwt' | 'none' }`
|
|
331
|
+
|
|
332
|
+
The `@ontrails/permits/jwt` subpath is unchanged. The internal `connectors/`
|
|
333
|
+
source directory becomes `adapters/`. See
|
|
334
|
+
`docs/migration/connector-to-adapter.md` for the full rename map.
|
|
335
|
+
|
|
336
|
+
The Trails CLI package updates its generated auth-resource configuration to use
|
|
337
|
+
the new `adapter` discriminant.
|
|
338
|
+
|
|
339
|
+
- 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.
|
|
340
|
+
- 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.
|
|
341
|
+
- 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.
|
|
342
|
+
|
|
343
|
+
Breaking pre-1.0 beta change. Update consumer imports:
|
|
344
|
+
|
|
345
|
+
```diff
|
|
346
|
+
- import { topoStore, createTopoStore, createMockTopoStore, createTopoSnapshot, listTopoSnapshots, pinTopoSnapshot, unpinTopoSnapshot, createStoredTopoSnapshot, getStoredTopoExport, countTopoSnapshots, countPinnedSnapshots, countPrunableSnapshots, pruneUnpinnedSnapshots } from '@ontrails/core';
|
|
347
|
+
+ import { topoStore, createTopoStore, createMockTopoStore, createTopoSnapshot, listTopoSnapshots, pinTopoSnapshot, unpinTopoSnapshot } from '@ontrails/topographer';
|
|
348
|
+
+ import { createStoredTopoSnapshot, getStoredTopoExport, countTopoSnapshots, countPinnedSnapshots, countPrunableSnapshots, pruneUnpinnedSnapshots } from '@ontrails/topographer/backend-support';
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
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`.
|
|
352
|
+
|
|
353
|
+
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.
|
|
354
|
+
|
|
355
|
+
- 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.
|
|
356
|
+
- dbd17db: Remove the unused legacy `@ontrails/logging` dependency from the Trails CLI app package.
|
|
357
|
+
- 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`.
|
|
358
|
+
|
|
359
|
+
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.
|
|
360
|
+
|
|
361
|
+
- ed7f6f6: Expand topo-store and survey trail detail records with resolved TopoGraph contract facts for blind-agent review.
|
|
362
|
+
- fb10112: Polish Warden guidance projection by preserving labels in plain-text doc links
|
|
363
|
+
and reusing the shared diagnostic schema from the Trails CLI wrapper.
|
|
364
|
+
- 7a1d4a9: Rename the public resolved graph API from `SurfaceMap` to `TopoGraph`, including
|
|
365
|
+
the derive, hash, diff, and current graph artifact I/O helpers.
|
|
366
|
+
- 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.
|
|
367
|
+
- 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`.
|
|
368
|
+
- 8ddf5ff: Extend `runWarden` into the shared Warden orchestration entrypoint with effective config resolution, depth/fail thresholds, rule facets, and multi-topo report metadata.
|
|
369
|
+
|
|
370
|
+
Adapt the built-in `trails warden` wrapper to consume the readonly Warden report diagnostics contract without weakening its output schema.
|
|
371
|
+
|
|
372
|
+
- Updated dependencies [73622ae]
|
|
373
|
+
- Updated dependencies [e991a5b]
|
|
374
|
+
- Updated dependencies [25f3c5c]
|
|
375
|
+
- Updated dependencies [6300f70]
|
|
376
|
+
- Updated dependencies [d172013]
|
|
377
|
+
- Updated dependencies [c3fc5c3]
|
|
378
|
+
- Updated dependencies [20d7a5c]
|
|
379
|
+
- Updated dependencies [be5fb46]
|
|
380
|
+
- Updated dependencies [199304e]
|
|
381
|
+
- Updated dependencies [e898cc4]
|
|
382
|
+
- Updated dependencies [a8997ed]
|
|
383
|
+
- Updated dependencies [fe03945]
|
|
384
|
+
- Updated dependencies [2bf239e]
|
|
385
|
+
- Updated dependencies [200bece]
|
|
386
|
+
- Updated dependencies [e4beec9]
|
|
387
|
+
- Updated dependencies [3395234]
|
|
388
|
+
- Updated dependencies [d40430d]
|
|
389
|
+
- Updated dependencies [bcdc484]
|
|
390
|
+
- Updated dependencies [3f678d4]
|
|
391
|
+
- Updated dependencies [ed171d5]
|
|
392
|
+
- Updated dependencies [49c2e7d]
|
|
393
|
+
- Updated dependencies [de30d6c]
|
|
394
|
+
- Updated dependencies [331e3a9]
|
|
395
|
+
- Updated dependencies [c40865a]
|
|
396
|
+
- Updated dependencies [4399fdb]
|
|
397
|
+
- Updated dependencies [578e674]
|
|
398
|
+
- Updated dependencies [4b8d13b]
|
|
399
|
+
- Updated dependencies [4b8d13b]
|
|
400
|
+
- Updated dependencies [4b8d13b]
|
|
401
|
+
- Updated dependencies [4b8d13b]
|
|
402
|
+
- Updated dependencies [fbd42fc]
|
|
403
|
+
- Updated dependencies [63d1aef]
|
|
404
|
+
- Updated dependencies [6be2e95]
|
|
405
|
+
- Updated dependencies [819de09]
|
|
406
|
+
- Updated dependencies [be08686]
|
|
407
|
+
- Updated dependencies [112b9f2]
|
|
408
|
+
- Updated dependencies [893025e]
|
|
409
|
+
- Updated dependencies [ed888e2]
|
|
410
|
+
- Updated dependencies [2e05e27]
|
|
411
|
+
- Updated dependencies [9cdb0f2]
|
|
412
|
+
- Updated dependencies [c8caa5e]
|
|
413
|
+
- Updated dependencies [f4b90c9]
|
|
414
|
+
- Updated dependencies [eec5e9d]
|
|
415
|
+
- Updated dependencies [4e75129]
|
|
416
|
+
- Updated dependencies [47505fe]
|
|
417
|
+
- Updated dependencies [ebd4434]
|
|
418
|
+
- Updated dependencies [863d473]
|
|
419
|
+
- Updated dependencies [344f2f7]
|
|
420
|
+
- Updated dependencies [26f9ffd]
|
|
421
|
+
- Updated dependencies [66056ac]
|
|
422
|
+
- Updated dependencies [ad553a6]
|
|
423
|
+
- Updated dependencies [2dd9cda]
|
|
424
|
+
- Updated dependencies [b12e19b]
|
|
425
|
+
- Updated dependencies [ed7f6f6]
|
|
426
|
+
- Updated dependencies [fb10112]
|
|
427
|
+
- Updated dependencies [802fdfc]
|
|
428
|
+
- Updated dependencies [0bad534]
|
|
429
|
+
- Updated dependencies [bfabe09]
|
|
430
|
+
- Updated dependencies [7a1d4a9]
|
|
431
|
+
- Updated dependencies [84f595a]
|
|
432
|
+
- Updated dependencies [d2cb9ba]
|
|
433
|
+
- Updated dependencies [2cc05da]
|
|
434
|
+
- Updated dependencies [10eae9a]
|
|
435
|
+
- Updated dependencies [bbb1ea4]
|
|
436
|
+
- Updated dependencies [22c6c06]
|
|
437
|
+
- Updated dependencies [767eb41]
|
|
438
|
+
- Updated dependencies [82019a7]
|
|
439
|
+
- Updated dependencies [f6fdc62]
|
|
440
|
+
- Updated dependencies [a10ffa4]
|
|
441
|
+
- Updated dependencies [df9a7d0]
|
|
442
|
+
- Updated dependencies [7085f01]
|
|
443
|
+
- Updated dependencies [30a2c7e]
|
|
444
|
+
- Updated dependencies [81bffec]
|
|
445
|
+
- Updated dependencies [8ddf5ff]
|
|
446
|
+
- Updated dependencies [f5b6112]
|
|
447
|
+
- Updated dependencies [d675a53]
|
|
448
|
+
- @ontrails/core@1.0.0-beta.16
|
|
449
|
+
- @ontrails/cli@1.0.0-beta.16
|
|
450
|
+
- @ontrails/permits@1.0.0-beta.16
|
|
451
|
+
- @ontrails/commander@1.0.0-beta.16
|
|
452
|
+
- @ontrails/warden@1.0.0-beta.16
|
|
453
|
+
- @ontrails/observe@1.0.0-beta.16
|
|
454
|
+
- @ontrails/tracing@1.0.0-beta.16
|
|
455
|
+
- @ontrails/topographer@1.0.0-beta.16
|
|
456
|
+
|
|
457
|
+
## 1.0.0-beta.15
|
|
458
|
+
|
|
459
|
+
### Patch Changes
|
|
460
|
+
|
|
461
|
+
- 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.
|
|
462
|
+
- Updated dependencies [4ad6b25]
|
|
463
|
+
- @ontrails/core@1.0.0-beta.15
|
|
464
|
+
- @ontrails/cli@1.0.0-beta.15
|
|
465
|
+
- @ontrails/tracing@1.0.0-beta.15
|
|
466
|
+
- @ontrails/warden@1.0.0-beta.15
|
|
467
|
+
- @ontrails/observe@1.0.0-beta.15
|
|
468
|
+
- @ontrails/topographer@1.0.0-beta.15
|
|
469
|
+
|
|
470
|
+
## 1.0.0-beta.14
|
|
471
|
+
|
|
472
|
+
### Minor Changes
|
|
473
|
+
|
|
474
|
+
- 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.
|
|
475
|
+
|
|
476
|
+
### Patch Changes
|
|
477
|
+
|
|
478
|
+
- Updated dependencies [69057e9]
|
|
479
|
+
- @ontrails/cli@1.0.0-beta.14
|
|
480
|
+
- @ontrails/core@1.0.0-beta.14
|
|
481
|
+
- @ontrails/logging@1.0.0-beta.14
|
|
482
|
+
- @ontrails/schema@1.0.0-beta.14
|
|
483
|
+
- @ontrails/tracker@1.0.0-beta.14
|
|
484
|
+
- @ontrails/warden@1.0.0-beta.14
|
|
485
|
+
|
|
486
|
+
## 1.0.0-beta.13
|
|
487
|
+
|
|
488
|
+
### Patch Changes
|
|
489
|
+
|
|
490
|
+
- Updated dependencies [6944147]
|
|
491
|
+
- Updated dependencies
|
|
492
|
+
- @ontrails/core@1.0.0-beta.13
|
|
493
|
+
- @ontrails/cli@1.0.0-beta.13
|
|
494
|
+
- @ontrails/schema@1.0.0-beta.13
|
|
495
|
+
- @ontrails/warden@1.0.0-beta.13
|
|
496
|
+
- @ontrails/logging@1.0.0-beta.13
|
|
497
|
+
|
|
498
|
+
## 1.0.0-beta.12
|
|
499
|
+
|
|
500
|
+
### Patch Changes
|
|
501
|
+
|
|
502
|
+
- Updated dependencies
|
|
503
|
+
- @ontrails/core@1.0.0-beta.12
|
|
504
|
+
- @ontrails/cli@1.0.0-beta.12
|
|
505
|
+
- @ontrails/logging@1.0.0-beta.12
|
|
506
|
+
- @ontrails/schema@1.0.0-beta.12
|
|
507
|
+
- @ontrails/warden@1.0.0-beta.12
|
|
508
|
+
|
|
509
|
+
## 1.0.0-beta.11
|
|
510
|
+
|
|
511
|
+
### Patch Changes
|
|
512
|
+
|
|
513
|
+
- Add services as a first-class primitive.
|
|
514
|
+
|
|
515
|
+
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()`.
|
|
516
|
+
|
|
517
|
+
**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.
|
|
518
|
+
|
|
519
|
+
**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.
|
|
520
|
+
|
|
521
|
+
**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.
|
|
522
|
+
|
|
523
|
+
**Trailheads:** Service overrides thread through `run` and `trailhead` on CLI, MCP, and HTTP.
|
|
524
|
+
|
|
525
|
+
**Introspection:** Survey and trailhead map outputs include service graph. Topo exposes `.services`, `.getService()`, `.hasService()`, `.listServices()`, `.serviceIds()`, `.serviceCount`.
|
|
526
|
+
|
|
527
|
+
**Docs:** ADR-009 accepted. Unified services guide, updated vocabulary, getting-started, architecture, and package READMEs.
|
|
528
|
+
|
|
529
|
+
- Updated dependencies
|
|
530
|
+
- @ontrails/core@1.0.0-beta.11
|
|
531
|
+
- @ontrails/warden@1.0.0-beta.11
|
|
532
|
+
- @ontrails/cli@1.0.0-beta.11
|
|
533
|
+
- @ontrails/schema@1.0.0-beta.11
|
|
534
|
+
- @ontrails/logging@1.0.0-beta.11
|
|
535
|
+
|
|
536
|
+
## 1.0.0-beta.10
|
|
537
|
+
|
|
538
|
+
### Patch Changes
|
|
539
|
+
|
|
540
|
+
- Updated dependencies
|
|
541
|
+
- @ontrails/core@1.0.0-beta.10
|
|
542
|
+
- @ontrails/cli@1.0.0-beta.10
|
|
543
|
+
- @ontrails/warden@1.0.0-beta.10
|
|
544
|
+
- @ontrails/logging@1.0.0-beta.10
|
|
545
|
+
- @ontrails/schema@1.0.0-beta.10
|
|
546
|
+
|
|
547
|
+
## 1.0.0-beta.9
|
|
548
|
+
|
|
549
|
+
### Patch Changes
|
|
550
|
+
|
|
551
|
+
- Updated dependencies
|
|
552
|
+
- @ontrails/core@1.0.0-beta.9
|
|
553
|
+
- @ontrails/cli@1.0.0-beta.9
|
|
554
|
+
- @ontrails/schema@1.0.0-beta.9
|
|
555
|
+
- @ontrails/warden@1.0.0-beta.9
|
|
556
|
+
- @ontrails/logging@1.0.0-beta.9
|
|
557
|
+
|
|
558
|
+
## 1.0.0-beta.8
|
|
559
|
+
|
|
560
|
+
### Patch Changes
|
|
561
|
+
|
|
562
|
+
- Updated dependencies
|
|
563
|
+
- @ontrails/schema@1.0.0-beta.8
|
|
564
|
+
- @ontrails/cli@1.0.0-beta.8
|
|
565
|
+
- @ontrails/core@1.0.0-beta.8
|
|
566
|
+
- @ontrails/logging@1.0.0-beta.8
|
|
567
|
+
- @ontrails/warden@1.0.0-beta.8
|
|
568
|
+
|
|
569
|
+
## 1.0.0-beta.7
|
|
570
|
+
|
|
571
|
+
### Minor Changes
|
|
572
|
+
|
|
573
|
+
- HTTP trailhead and OpenAPI generation.
|
|
574
|
+
|
|
575
|
+
**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.
|
|
576
|
+
|
|
577
|
+
**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.
|
|
578
|
+
|
|
579
|
+
**trails**: `trails survey --openapi` outputs the OpenAPI spec for any Trails app.
|
|
580
|
+
|
|
581
|
+
### Patch Changes
|
|
582
|
+
|
|
583
|
+
- Updated dependencies
|
|
584
|
+
- @ontrails/schema@1.0.0-beta.7
|
|
585
|
+
- @ontrails/warden@1.0.0-beta.7
|
|
586
|
+
- @ontrails/cli@1.0.0-beta.7
|
|
587
|
+
- @ontrails/core@1.0.0-beta.7
|
|
588
|
+
- @ontrails/logging@1.0.0-beta.7
|
|
589
|
+
|
|
590
|
+
## 1.0.0-beta.6
|
|
591
|
+
|
|
592
|
+
### Patch Changes
|
|
593
|
+
|
|
594
|
+
- Updated dependencies
|
|
595
|
+
- @ontrails/core@1.0.0-beta.6
|
|
596
|
+
- @ontrails/warden@1.0.0-beta.6
|
|
597
|
+
- @ontrails/cli@1.0.0-beta.6
|
|
598
|
+
- @ontrails/logging@1.0.0-beta.6
|
|
599
|
+
- @ontrails/schema@1.0.0-beta.6
|
|
600
|
+
|
|
601
|
+
## 1.0.0-beta.5
|
|
602
|
+
|
|
603
|
+
### Patch Changes
|
|
604
|
+
|
|
605
|
+
- Updated dependencies
|
|
606
|
+
- @ontrails/core@1.0.0-beta.5
|
|
607
|
+
- @ontrails/warden@1.0.0-beta.5
|
|
608
|
+
- @ontrails/logging@1.0.0-beta.5
|
|
609
|
+
- @ontrails/schema@1.0.0-beta.5
|
|
610
|
+
- @ontrails/cli@1.0.0-beta.5
|
|
611
|
+
|
|
612
|
+
## 1.0.0-beta.4
|
|
613
|
+
|
|
614
|
+
### Major Changes
|
|
615
|
+
|
|
616
|
+
- API simplification: unified trail model, intent enum, run, metadata.
|
|
617
|
+
|
|
618
|
+
**BREAKING CHANGES:**
|
|
619
|
+
|
|
620
|
+
- `hike()` removed — use `trail()` with optional `crosses: [...]` field
|
|
621
|
+
- `follows` renamed to `crosses` (matching `ctx.cross()`)
|
|
622
|
+
- `topo.hikes` removed — single `topo.trails` map
|
|
623
|
+
- `kind: 'hike'` removed — everything is `kind: 'trail'`
|
|
624
|
+
- `readOnly`/`destructive` booleans replaced by `intent: 'read' | 'write' | 'destroy'`
|
|
625
|
+
- `implementation` field renamed to `run`
|
|
626
|
+
- `markers` field renamed to `metadata`
|
|
627
|
+
- `testHike` renamed to `testCrosses`, `HikeScenario` to `CrossScenario`
|
|
628
|
+
- `trailhead()` now returns the trailhead handle (`Command` for CLI, `Server` for MCP)
|
|
629
|
+
|
|
630
|
+
### Patch Changes
|
|
631
|
+
|
|
632
|
+
- Updated dependencies
|
|
633
|
+
- @ontrails/core@1.0.0-beta.4
|
|
634
|
+
- @ontrails/cli@1.0.0-beta.4
|
|
635
|
+
- @ontrails/warden@1.0.0-beta.4
|
|
636
|
+
- @ontrails/schema@1.0.0-beta.4
|
|
637
|
+
- @ontrails/logging@1.0.0-beta.4
|
|
638
|
+
|
|
639
|
+
## 1.0.0-beta.3
|
|
640
|
+
|
|
641
|
+
### Patch Changes
|
|
642
|
+
|
|
643
|
+
- Updated dependencies
|
|
644
|
+
- @ontrails/core@1.0.0-beta.3
|
|
645
|
+
- @ontrails/cli@1.0.0-beta.3
|
|
646
|
+
- @ontrails/warden@1.0.0-beta.3
|
|
647
|
+
- @ontrails/logging@1.0.0-beta.3
|
|
648
|
+
- @ontrails/schema@1.0.0-beta.3
|
|
649
|
+
|
|
3
650
|
## 1.0.0-beta.2
|
|
4
651
|
|
|
5
652
|
### Patch Changes
|