You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 10b1176
Browse filesBrowse the repository at this point in the historyBrowse files
fix(spec): the cursor-retirement upgrade entry names the served /api/v1 runs path
Patch round 1 on the AutomationApiContracts path fix:
- The ADR-0087 D3 entry automation-runs-cursor-retired named
GET /api/automation/:name/runs three times; it now names
GET /api/v1/automation/:name/runs, the path the contract publishes
and the dispatcher mounts. registry.ts regenerated with
gen:migration-registry; gen:upgrade-guide and gen:spec-changes
re-run with no byte change (the entry is in step 18).
- Two comments (runtime query-param.ts, service-automation
run-list-truncation.test.ts) quote the same path in the v1 form.
- The changeset declares Clause-② no: no key added, no accept set
widened, no export grown. The level stays minor.
Claude-Session: https://claude.ai/code/session_019c3Hi6ZMU1p6m6aA6Bz45d
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .changeset/20034-automation-contract-api-v1-paths.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
The dispatcher mounts the automation door at its `prefix` plus `/automation`, the prefix defaults to `/api/v1`, and `objectstack serve` passes none. So all nine declared paths answered `404 ENDPOINT_NOT_FOUND` on the default composition while the same requests under `/api/v1/automation` answered `200`, and the generated API reference printed the nine unserved paths as the endpoints. Every other `*ApiContracts` map in `@objectstack/spec/api` already carried `/api/v1`; this one was the only outlier. The runtime is unchanged — only the declaration moves.
0 commit comments