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
Copy file name to clipboardExpand all lines: codexadapter/adapter_test.go
+5-13Lines changed: 5 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -682,23 +682,15 @@ fi
682
682
printf '{"method":"permission/requested","params":{"toolCall":{"toolCallId":"tool-1","title":"Run tests","kind":"execute","rawInput":{"command":"go test ./..."}},"options":[{"optionId":"allow","name":"Allow","kind":"allow_once"},{"optionId":"reject","name":"Reject","kind":"reject_once"}]}}\n'
| ACP initialize | Adapter metadata, auth/logout, MCP, prompt, and stable session capabilities are advertised. | Unit tests plus shared kit initialize conformance. | Required; covered. |
38
50
| Auth and logout | ACP `authenticate` maps to `codex login`; ACP `logout` maps to `codex logout`. | Unit tests, fake bridge tests, and opt-in real CLI smoke. | Required shape covered; destructive auth-cycle smoke remains operator opt-in. |
39
51
| Session lifecycle |`session/new`, `session/list`, `session/load`, `session/resume`, `session/fork`, `session/close`, and `session/delete` work for command-backed sessions. | Unit tests, portable upstream parity checks, and opt-in real CLI list/load smoke. | Required; Codex-native durable restore across adapter restarts is future work. |
40
52
| Prompt streaming | Codex JSONL maps to ACP assistant text, reasoning, usage, stop reasons, and tool updates. | Source-shaped parser fixtures, command bridge tests, and opt-in real CLI prompt/tool smoke. | Required; covered for real shell/file update flow. |
41
53
| Config selectors | Static model, reasoning, sandbox, approval-policy, and web-search selectors are exposed and updateable. | Unit tests and portable selector parity checks. | Required as static selectors; runtime discovery is future work. |
42
-
| MCP handoff | ACP stdio/HTTP MCP server config maps to Codex CLI config overrides. | Unit tests, Hecate release-binary smoke, and opt-in real CLI stdio MCP echo-tool smoke. | Required handoff covered; draft MCP-over-ACP/provider lifecycle hooks are future work. |
43
-
| Permissions | Stable ACP permission requests plus denied/rejected/blocked provider tool results map to ACP permission/tool state. | Source-shaped parser fixtures, grant/reject/cancel tests, Hecate release-binary smoke, and opt-in real CLI permission auto-approval. | Required stable permission flow covered; elicitation-style prompts are future work. |
44
-
| Cancellation | ACP cancel terminates active command-backed prompts and drops post-cancel stream chunks. | Unit tests, command bridge tests, portable parity checks, Hecate release-binary smoke, and opt-in real CLI cancellation smoke. | Required; covered for normal real CLI cancellation/no double-settle. |
45
-
| Release artifacts | GoReleaser archives are checksum-verified and provenance-attested by the tag workflow. | Release workflow doc test and `make release-check`; release verification uses `gh attestation verify`. | Required once the first stable release is published and verified. |
46
-
| Hecate integration | Hecate bundles released binaries and runs release-binary smoke against them. | Hecate `just test-acp-release-smoke`. | Required for every Hecate adapter pin bump. |
47
-
48
-
## Stable Decision
49
-
50
-
Cut `v0.1.0` after the required rows pass on the release commit, the real CLI
51
-
smoke passes on an authenticated local machine, and Hecate's release-binary
52
-
smoke passes against the candidate release. Future rows should stay documented,
53
-
but they do not block the stable adapter tag.
54
+
| MCP handoff | ACP stdio/HTTP MCP server config maps to Codex CLI config overrides. | Unit tests, Hecate embedded-adapter tests, and opt-in real CLI stdio MCP echo-tool smoke. | Required handoff covered; draft MCP-over-ACP/provider lifecycle hooks are future work. |
55
+
| Permissions | Stable ACP permission requests plus denied/rejected/blocked provider tool results map to ACP permission/tool state. | Source-shaped parser fixtures, grant/reject/cancel tests, Hecate embedded-adapter tests, and opt-in real CLI permission auto-approval. | Required stable permission flow covered; elicitation-style prompts are future work. |
56
+
| Cancellation | ACP cancel terminates active command-backed prompts and drops post-cancel stream chunks. | Unit tests, command bridge tests, portable parity checks, Hecate embedded-adapter tests, and opt-in real CLI cancellation smoke. | Required; covered for normal real CLI cancellation/no double-settle. |
57
+
| Release artifacts | GoReleaser archives are checksum-verified and provenance-attested by the tag workflow. | Release workflow doc test and `make release-check`; release verification uses `gh attestation verify`. | Required for every stable release. |
58
+
| Hecate integration | Hecate compiles the versioned Go adapter library into its binary. | Hecate agent-adapter tests and `just test-acp-real-embedded codex`. | Required for every Hecate adapter pin bump. |
59
+
60
+
## Release Decision
61
+
62
+
Cut a stable tag only after every pre-tag gate passes. Treat it as ready for
63
+
Hecate consumption only after every post-tag gate passes. Future rows should
64
+
stay documented, but they do not block a stable adapter release.
0 commit comments