4.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-05-31 | 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.
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.