cto/sot/03-PROTOCOLS/CTO-CASE-PROVIDER-BUILD-ISSUES.md
2026-05-31 19:36:00 -04:00

1.6 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.5 present, Bun missing.
  • Requires bun run build:binary to produce dist/ca before real Stage 2 can pass.
  • Requires SHA-256 digest for admitted dist/ca.
  • Keeps /tmp clone 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/ca path is supplied with source pin and digest.
  • CTO_HARNESS_CASE_BIN points to the admitted ca executable.
  • 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 bun executable, unless a prebuilt admitted dist/ca is supplied.