77 lines
3.3 KiB
Markdown
77 lines
3.3 KiB
Markdown
---
|
|
title: CTO Case Local Provider Route Issues
|
|
status: draft
|
|
lifecycle_classification: sot
|
|
owner: jp
|
|
created: 2026-05-31
|
|
last_reviewed: 2026-05-31
|
|
core_promotion_status: not-promoted
|
|
route: cto
|
|
---
|
|
|
|
# CTO Case Local Provider Route Issues
|
|
|
|
Local planning SOT only. Not a Core Protocol. Not active Core authority.
|
|
|
|
## CTO-WORK-021 - Case-Compatible Local Provider Adapter Route PRD
|
|
|
|
Status: validated.
|
|
|
|
Register the local-provider adapter route as the autonomous option if `CTO-WORK-020` is resolved with `decision_status=local_provider_required`.
|
|
|
|
Acceptance:
|
|
|
|
- States that this route applies only when `decision_status=local_provider_required`.
|
|
- Requires provider class `local_case_compatible`.
|
|
- Uses `CTO-WORK-020` admission JSON gate as authority instead of redefining admission.
|
|
- Requires `CTO_HARNESS_CASE_MODEL_ADMISSION_FILE`.
|
|
- Requires no external fallback to `anthropic` or `claude-sonnet-4-6`.
|
|
- Requires negative gates for missing local adapter config, admission JSON mismatch, and `decision_status != local_provider_required`.
|
|
- Completion of this route does not admit a provider/model and does not change `CTO-WORK-020` status.
|
|
- Keeps `CTO-WORK-020` blocked until admitted provider/model and real Case Stage 2 pass evidence exist.
|
|
- Does not approve or implement any provider.
|
|
|
|
## CTO-WORK-022 - Case-Compatible Local Provider Adapter Route
|
|
|
|
Status: validated.
|
|
|
|
Build or supply one Case-compatible local provider adapter path after the decision record selects `local_provider_required`.
|
|
|
|
Acceptance:
|
|
|
|
- Decision record has `decision_status=local_provider_required`.
|
|
- Provider class is `local_case_compatible`.
|
|
- Provider/model admission remains owned by `CTO-WORK-020`.
|
|
- Missing local adapter config blocks before `case_process_started`.
|
|
- Admission JSON mismatch blocks before `case_process_started`.
|
|
- External provider fallback blocks before `case_process_started`.
|
|
- Harness report proves `case_model_provider`, `case_model`, and `case_model_admission_status`.
|
|
- Harness report proves no fallback to `anthropic` or `claude-sonnet-4-6`.
|
|
- No secret is written to SOT, argv, task file, backend logs, report, trace, generated config, or commit.
|
|
- Real Case Stage 2 produces a pass report only through the Harness Evidence Interface.
|
|
|
|
Blocked by:
|
|
|
|
- `CTO-WORK-020` decision record selecting `local_provider_required`.
|
|
- `CTO-WORK-030` supplying explicit Spark local provider endpoint config.
|
|
|
|
Current unblock:
|
|
|
|
- Decision record now selects `local_provider_required`.
|
|
- Harness route blocks before `case_process_started` unless `CTO_HARNESS_CASE_LOCAL_BASE_URL` is supplied.
|
|
- Remaining blocker is cleared for Stage 2 artificial fixture only.
|
|
|
|
Validation evidence:
|
|
|
|
- Hermes commit: `5c5448b Bridge Case Qwen through OpenAI-compatible runtime`.
|
|
- Hermes commit: `fc54680 Complete Case lifecycle after committed proof`.
|
|
- Real Case Qwen Stage 2 pass artifact: `/home/svrnty/.hermes/profiles/cto-planb/harness-runs/20260601T025817Z-r1-string-slugify-2907822`.
|
|
- Report status: `pass`.
|
|
- CTO admission identity: `qwen-local` / `qwen3.6-35b-a3b`.
|
|
- Case runtime bridge provider: `openai`.
|
|
- Tests passed: `true`.
|
|
- Required events passed: `true`.
|
|
- No external provider fallback was used.
|
|
- Endpoint value was runtime-only and is not recorded in SOT.
|
|
- This route remains scoped to Stage 2 artificial fixture proof.
|