Skip to content

refactor(transport)!: migrate account API routes - #178

Draft
aikdna wants to merge 1 commit into
mainfrom
codex/b8-cli-dco-successor
Draft

refactor(transport)!: migrate account API routes#178
aikdna wants to merge 1 commit into
mainfrom
codex/b8-cli-dco-successor

Conversation

@aikdna

@aikdna aikdna commented Aug 29, 2026

Copy link
Copy Markdown
Owner

Migrates the CLI account-service consumer from the retired generation-style route prefix to /api/account. The old route is rejected fail-closed; this change adds no compatibility alias or dual route. Verification includes protocol naming, workflow authority, public-surface, transport-policy, and runtime-candidate-binding checks.

…api/account

BREAKING CHANGE: Account Service call paths now use /api/account/*.
No alias or dual-route fallback is retained; kdna-cli is the repo-only
consumer of this path.

- Update accountApiEndpoint and assertAccountApiRequestUrl in
  src/remote-transport.js
- Update remote-transport-policy tests and retired activation-flow mock
  server paths
- Extend check-current-protocol-names.js with a generation-style account
  API route gate (/api/vN/)
- Add negative controls proving retired account routes are rejected by
  the naming gate and the request-URL assertion
- Run check-current-protocol-names.js in the public-surface CI workflow
- Refresh workflow-authority hash and assertions for public-surface.yml

Signed-off-by: aikdna <283974009+aikdna@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant