Skip to content

fix(adapters): align CC Switch contract with read-only OBSERVE policy - #114

Merged
DTALEX66 merged 1 commit into
mainfrom
feat/wl3-700-adapter-honesty
Aug 15, 2026
Merged

fix(adapters): align CC Switch contract with read-only OBSERVE policy#114
DTALEX66 merged 1 commit into
mainfrom
feat/wl3-700-adapter-honesty

Conversation

@DTALEX66

Copy link
Copy Markdown
Owner

Summary

WL3-700 — resolve the CC Switch contract contradiction (subagent-identified
gap): the manifest claimed writes: approval_required while
config-ownership.json policy is OBSERVE, and real_adapters.py has no
write implementation at all.

Changes

  • workflow-manifest.yaml: cc-switch.writesunavailable. CC Switch's
    provider catalog / routing / auth state is user-private runtime state;
    the project observes health only and never writes routing config
    (five-dimension baseline feat(observer,r2): read-only REST endpoints + 405 guard #3: official standard + user configuration wins).
  • adapter-registry.json: cc-switch.operations narrowed to
    [detect, capabilities, observe] — no write implementation exists.
  • adapter-registry.json: all source_ref values now use stable
    workflow-manifest.yaml#adapters.entries[id=...] references instead of
    positional indices (kills the -1 index drift the research subagent found).

Verification

  • ADAPTER_REGISTRY_PASS entries=9 available_hash=0 hash_unavailable=9 explicit_quarantine=true
  • CLIENT_NEUTRAL_MANIFEST_PASS adapters=9 first_class=4
  • pytest: 25 passed (client-neutral manifest, real adapters, adapter
    conformance, config ownership)
  • CURRENT_STATE_FRESHNESS_PASS

- manifest: cc-switch writes=approval_required -> unavailable (its provider
  catalog / routing / auth state is user-private runtime state; the project
  observes health only, never writes routing config — five-dimension
  baseline #3)
- registry: cc-switch operations narrowed to detect/capabilities/observe
  (no write implementation exists in real_adapters; OBSERVE policy)
- registry: all source_ref entries switched to stable
  workflow-manifest.yaml#adapters.entries[id=...] references (removes
  positional-index drift)
@DTALEX66
DTALEX66 merged commit 9843e85 into main Aug 15, 2026
14 checks passed
@DTALEX66
DTALEX66 deleted the feat/wl3-700-adapter-honesty branch August 15, 2026 12:35
DTALEX66 added a commit that referenced this pull request Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant