[K6] Runtime port and Codex app-server adapter #8
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Creatidy/creatidy-kernel#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Implement the Runtime port and Codex app-server reference adapter for immutable Attempt start, observation, interruption, candidate retrieval, identity attestation, and recovery/reconciliation.
Why
Codex is replaceable; one existing harness is needed for the first live slice without making its protocol a core dependency.
Scope
In scope
Runtime conformance for start/observe/interrupt/retrieve/reconcile; Codex capability/version negotiation; immutable mapping; requested/resolved/observed identity; domain rejection separation; lost reply, duplicate, restart, cancel, quiet-health, delayed-observation, terminal-replay, invalid-candidate, and unavailable-recovery fixtures.
Out of scope
Codex in core, agent loops/tools, provider routing/model policy, custom protocol, sandbox, M5-B, live credentials in tests, and acceptance decisions.
Acceptance Criteria
Constraints
docs/architecture/contracts.md, and threat model; use native supported app-server interfaces only.Links
docs/architecture/contracts.md,docs/adr/0004-ports-and-resources.md,docs/architecture/threat-model.mdDelivery ledger for #8 (append subsequent review/remediation entries on this issue): PR #26 #26; branch
issue-8-runtime-codex->develop; initial HEADf80e61c78f1368293acaf38b883ef2d1e91eeb70;max_remediation_cycles = 10;remediation_used = 0. Changed README, Codex Runtime/stdio adapters, and synthetic tests.uv run --locked pytest tests/test_codex_runtime.py tests/test_codex_stdio.py: 19 passed;make check: 509 passed with all gates;make package-check: passed. No dependency/tooling change, so audit not applicable. Acceptance evidence: native start/read/interrupt, identity separation with unavailable generated-turn attestation, unknown recovery and no duplicate uncertain sends, fail-closed version/method checks, Codex-free fake Runtime suite. Risk: schema method inventory must be supplied from pinned installed binary; no live Codex tested. Review pending; issue remains open.Delivery ledger continuation, review cycle 1: reviewed HEAD
f80e61c78f1368293acaf38b883ef2d1e91eeb70->develop(unchanged).profile=repository_review; monotone floorL4, capability minima reasoning/coding/tool_use5/5/5,requires_tool_use=true,requires_reasoning_mode=true; known author floor unavailable (not guessed).router_selected=zai/glm-5.3/max;dispatched=zai-coding-plan/GLM-5.3/max(documented provider adapter, no fallback); catalog v4, profile policy v8, degraded=false. Agent Manager requestam-1790525077380-494scb, reviewer sessionses_f1c6387ccffeQ2tocd2g7FC5It; task-level resolution explicitlyGLM-5.3 (zai-coding-plan) · max:DISPATCH_VERIFIED; reviewer completed. Independent review #26 (comment) (Forgejo review id 645):substantive_verdict=APPROVEfrom### Overall Recommendation,forgejo_review_state=COMMENT,platform_approval_recorded=false; 0 blocking findings, blocker IDs none, remediation=none; resulting HEAD unchanged;remediation_used=0 / 10. SharedkiloPR-author/reviewer identity is observed; the reviewer deliberately submitted COMMENT, so no platform rejection was observed and no formal-approval-equivalence is claimed. Branch-protection details could not be inspected (MCP denied admin access); no formal approval requirement is assumed.make check509 passed;make package-checkpassed; required PR workflow run #2024 succeeded for exact HEAD. Issue open, PR unmerged.