8.8 KiB
| title | status | lifecycle_classification | owner | created | last_reviewed | core_promotion_status | route |
|---|---|---|---|---|---|---|---|
| CTO Case Provider Build Issues | draft | sot | jp | 2026-05-31 | 2026-06-01 | not-promoted | cto |
CTO Case Provider Build Issues
Local planning SOT only. Not a Core Protocol. Not active Core authority.
CTO-WORK-015 - Durable Case Provider Build PRD
Status: validated.
Register the provider build route that separates source discovery from executable admission.
Acceptance:
- Records WorkOS Case source
https://github.com/workos/case.git. - Records pinned commit
7959ac917cdeb0983b4aaa20bb9f42021747fed8. - Records local build dependency status: Node
v20.19.5present, Bun missing. - Requires
bun run build:binaryto producedist/cabefore real Stage 2 can pass. - Requires SHA-256 digest for admitted
dist/ca. - Keeps
/tmpclone as discovery evidence only.
CTO-WORK-016 - Real Case Provider Stage 2 Run
Status: blocked.
Build or supply a durable admitted WorkOS Case ca executable, then run the existing Hermes CTO Stage 2 artificial fixture through real Case.
Acceptance:
- Bun is available, or a durable admitted
dist/capath is supplied with source pin and digest. CTO_HARNESS_CASE_BINpoints to the admittedcaexecutable.- Stage 2 invokes
ca run --task <task-file> --mode unattended. - Real Case execution produces a Stage 2 pass report through the Harness Evidence Interface.
- Provider-unavailable fail-closed behavior remains tested.
- Fake remains the default validation lane.
- No Target Repository path is inspected or copied.
Blocked by:
- Missing local
bunexecutable, unless a prebuilt admitteddist/cais supplied.
Provider Build Evidence - 2026-05-31
- Reversible Bun bootstrap succeeded under
/tmp/cto-bun; no global Bun install was required. /tmp/workos-casesource pin remained7959ac917cdeb0983b4aaa20bb9f42021747fed8.bun run build:binaryproduced/tmp/workos-case/dist/ca.- Built binary digest:
9811f870af2f85616e359d42ba70566c9af08ca20d8660456929a56ec761513f. /tmp/workos-case/dist/ca --helpidentified the executable as Caseca./tmp/workos-caseremains discovery/build evidence only because build modifiedsrc/generated/package-assets.ts.- Real Stage 2 run with
CTO_HARNESS_CASE_BIN=/tmp/workos-case/dist/cahung and was terminated. It created artifact directory/home/svrnty/.hermes/profiles/cto-planb/harness-runs/20260531T233721Z-r1-string-slugify-1814067withoutreport.json. CTO-WORK-016remains blocked because no real Case Stage 2 pass report exists.
CTO-WORK-017 - Case Provider Timeout Fail-Closed Route
Status: validated.
Harden the Hermes CTO Case adapter so a hung real Case provider fails closed with normal evidence instead of leaving an orphan artifact directory without report.json.
Acceptance:
- Case provider execution is bounded by
CTO_HARNESS_CASE_TIMEOUT_SECONDS. - Timeout writes
backend/provider-timeout.txt. - Timeout still emits
report.jsonthrough the Harness Evidence Interface. validate-case-provider-adapter.pychecks a sleeping provider path.harness/evals/health.sh --jsonpasses after merge and includesprovider_timeout_fail_closed.- This does not mark real Case Stage 2 as passed.
Validation Evidence:
- Hermes commit:
d23c492 Fail closed on Case provider timeout. - Post-merge
harness/evals/health.sh --jsonpassed.
Real Provider Runtime Evidence - 2026-05-31
- Real Case Stage 2 run with
/tmp/workos-case/dist/caandCTO_HARNESS_CASE_TIMEOUT_SECONDS=8produced report/home/svrnty/.hermes/profiles/cto-planb/harness-runs/20260531T234205Z-r1-string-slugify-1834617/report.json. - Case started provider
anthropicwith modelclaude-sonnet-4-6. - Adapter-generated
backend/case-data/config.jsoncontained no model registry, so Case used its built-in default model. - The run timed out before patch application; tests failed because
strings.pywas unchanged. - This is an unadmitted external model path for CTO harness proof and must be blocked before Case process start.
Admitted Provider Runtime Evidence - 2026-06-01
- Real Case Stage 2 run with
/tmp/workos-case/dist/caand admittedopenai-codex/gpt-5.5produced report/home/svrnty/.hermes/profiles/cto-planb/harness-runs/20260601T013918Z-r1-string-slugify-2381028/report.json. - Case process started after admission passed.
- Backend exit code was
1. - The harness recorded no changed files.
- The patch artifact was empty.
- Tests failed because the artificial fixture bug remained unchanged.
- Case stderr recorded
AGENT_RESULT start delimiter not found. - Case stderr classified the retry as
agent-protocol-error. CTO-WORK-016remains blocked because no real Case Stage 2 pass report exists.- Current downstream blocker is tracked by
CTO-WORK-028.
Qwen Local Provider Runtime Evidence - 2026-06-01
- Real Case Stage 2 run with
/tmp/workos-case/dist/caand admittedqwen-local/qwen3.6-35b-a3bproduced report/home/svrnty/.hermes/profiles/cto-planb/harness-runs/20260601T015208Z-r1-string-slugify-2478256/report.json. - Case process started after admission passed.
- Backend exit code was
1. - The harness recorded no changed files.
- The patch artifact was empty.
- Tests failed because the artificial fixture bug remained unchanged.
- Case stderr recorded
AGENT_RESULT start delimiter not found. - Case stderr classified the retry as
agent-protocol-error. CTO-WORK-016remains blocked because no real Case Stage 2 pass report exists.- Current downstream blocker remains
CTO-WORK-028.
Classified Agent Protocol Runtime Evidence - 2026-06-01
- Real Case Stage 2 run with
/tmp/workos-case/dist/caand admittedqwen-local/qwen3.6-35b-a3bproduced report/home/svrnty/.hermes/profiles/cto-planb/harness-runs/20260601T020117Z-r1-string-slugify-2566310/report.json. - Case process started after admission passed.
- Backend exit code was
1. - Failure reason was
case agent result protocol failed. - Protocol marker was recorded at
backend/provider-agent-protocol.txt. - The harness recorded no changed files.
- The patch artifact was empty.
- Tests failed because the artificial fixture bug remained unchanged.
CTO-WORK-016remains blocked because no real Case Stage 2 pass report exists.- Current downstream blocker remains
CTO-WORK-028.
Isolated Pi Config Runtime Evidence - 2026-06-01
- Hermes commit:
09b5851 Isolate Case Pi provider config. - The Case harness now sets an isolated
PI_CODING_AGENT_DIRfor the Case process. - The Case harness no longer relies on ambient
~/.pi/agentmodel/auth state for local provider routing. - Local providers require explicit
CTO_HARNESS_CASE_LOCAL_BASE_URL. - Missing local provider config writes
backend/provider-local-config-unavailable.txt. - Real Qwen local config-gate proof artifact:
/home/svrnty/.hermes/profiles/cto-planb/harness-runs/20260601T020847Z-r1-string-slugify-2619644. - Report status was
blocked. - Failure reason was
provider unavailable. - Case process started was
false. CTO-WORK-016remains blocked because no real Case Stage 2 pass report exists.- Current downstream blocker remains
CTO-WORK-028.
CTO-WORK-018 - Case Model Provider Admission Gate
Status: validated.
Harden the Hermes CTO Case adapter so real Case execution cannot silently fall back to its built-in Anthropic default model.
Acceptance:
- Real Case execution requires
CTO_HARNESS_CASE_MODEL_PROVIDERandCTO_HARNESS_CASE_MODEL. - Missing model admission writes
backend/provider-model-not-admitted.txt. - Missing model admission blocks before
case_process_started. - Adapter writes
models.defaultinto isolatedCASE_DATA_DIR/config.json. validate-case-provider-adapter.pychecksmodel_provider_gate_blocks.harness/evals/health.sh --jsonpasses after merge.- This does not mark real Case Stage 2 as passed.
Validation Evidence:
- Hermes commit:
4500082 Gate Case execution on admitted model. - Post-merge
harness/evals/health.sh --jsonpassed.
Spark Endpoint Config Blocker - 2026-06-01
CTO-WORK-030tracks the missing Spark endpoint config for the selectedqwen-local/qwen3.6-35b-a3bpath.- The Hermes harness requires
CTO_HARNESS_CASE_LOCAL_BASE_URLbefore local Case provider execution can start. - Missing endpoint config blocks before
case_process_startedand writesbackend/provider-local-config-unavailable.txt. CTO-WORK-016remains blocked until real Case Stage 2 pass evidence exists through the Harness Evidence Interface.
Case Qwen Loop Entrypoint Evidence - 2026-06-01
- Hermes commit:
6c453ee Add Case Qwen loop entrypoint. - New command:
harness/evals/case-qwen-loop.sh --json. - The command gives the selected Qwen local path a standard Case harness entrypoint.
- It does not remove the
CTO_HARNESS_CASE_LOCAL_BASE_URLblocker. CTO-WORK-016remains blocked until real Case Stage 2 pass evidence exists.