fix(b22): bare account_ref + retarget composites + delete stale anthropic-cloud/v1 #1

Merged
ai_admin merged 2 commits from b22-anthropic-cleanup into main 2026-05-07 20:10:16 +00:00
Contributor

Summary

Two fixes that together unblock every cloud-Anthropic composite task in production:

  • B22a: harnesses/contexts/anthropic-cloud-paul-oauth/v1/harness.yaml switches to a bare account_ref (matches the bare-ref pattern used by minimax/airouter/z-ai/gitea-https; pairs with the live PATCH /v1/accounts/{id} rename of paul -> anthropic-cloud-paul-oauth).
  • B22b: Updates 14 composites (code-{haiku,sonnet,opus}-repo, code-{haiku,sonnet,opus}-tdd-repo, planning-opus-repo, security-review-{sonnet,opus}-repo, spec-writing-{sonnet,opus}-repo, test-writing-{sonnet,opus}-repo, best-practices-opus-repo) to layer anthropic-cloud-paul-oauth/v1 instead of the stale anthropic-cloud/v1. Deletes the orphaned harnesses/contexts/anthropic-cloud/v1/ directory.

Why

M22 Phase 8 renamed the anthropic harness in agent-runtimes only -- the equivalent rename in this framework's composites and the deletion of the stale anthropic-cloud/v1 were never done. Every cloud-Anthropic composite layered the dead context and silently never resolved a credential.

Pairs with the agent-runtimes companion PR. Closes BUG-22a + BUG-22b.

Test plan

  • Merge with agent-runtimes companion PR
  • Wait for CRS poll (or POST /crs/reload)
  • Smoke-test haiku via scripts/dispatch-task --harness anthropic-cloud-paul-oauth/v1 --model haiku --prompt 'Reply OK' --max-turns 1
  • Smoke-test composite via scripts/dispatch-task --template code-haiku-repo --prompt 'Reply OK' --max-turns 1
## Summary Two fixes that together unblock every cloud-Anthropic composite task in production: - **B22a:** `harnesses/contexts/anthropic-cloud-paul-oauth/v1/harness.yaml` switches to a bare `account_ref` (matches the bare-ref pattern used by minimax/airouter/z-ai/gitea-https; pairs with the live `PATCH /v1/accounts/{id}` rename of `paul` -> `anthropic-cloud-paul-oauth`). - **B22b:** Updates 14 composites (`code-{haiku,sonnet,opus}-repo`, `code-{haiku,sonnet,opus}-tdd-repo`, `planning-opus-repo`, `security-review-{sonnet,opus}-repo`, `spec-writing-{sonnet,opus}-repo`, `test-writing-{sonnet,opus}-repo`, `best-practices-opus-repo`) to layer `anthropic-cloud-paul-oauth/v1` instead of the stale `anthropic-cloud/v1`. Deletes the orphaned `harnesses/contexts/anthropic-cloud/v1/` directory. ## Why M22 Phase 8 renamed the anthropic harness in `agent-runtimes` only -- the equivalent rename in this framework's composites and the deletion of the stale `anthropic-cloud/v1` were never done. Every cloud-Anthropic composite layered the dead context and silently never resolved a credential. Pairs with the agent-runtimes companion PR. Closes BUG-22a + BUG-22b. ## Test plan - [ ] Merge with agent-runtimes companion PR - [ ] Wait for CRS poll (or POST /crs/reload) - [ ] Smoke-test haiku via `scripts/dispatch-task --harness anthropic-cloud-paul-oauth/v1 --model haiku --prompt 'Reply OK' --max-turns 1` - [ ] Smoke-test composite via `scripts/dispatch-task --template code-haiku-repo --prompt 'Reply OK' --max-turns 1`
ai_admin added 2 commits 2026-05-07 19:17:15 +00:00
Same bug as upstream agent-runtimes: scoped form never matched
because the dispatcher does literal scope.id compare and
owner_principal_id stores the user UUID, not 'paul'.

Pairs with PATCH /v1/accounts/{id} renaming the live account_label
to 'anthropic-cloud-paul-oauth' so the bare ref resolves uniquely.

Closes BUG-22a.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Phase 8 cutover (M22) renamed the anthropic harness from anthropic-cloud
→ anthropic-cloud-paul-oauth in agent-runtimes, but the equivalent
rename in this framework's composites and the deletion of the stale
SOPS-era anthropic-cloud/v1 dir were never done. Every cloud-Anthropic
composite (haiku/sonnet/opus code, planning, security-review, spec-
writing, test-writing, best-practices) layered the dead context and
silently never resolved a credential.

- Update 14 composites to layer anthropic-cloud-paul-oauth/v1
- Delete the orphaned harnesses/contexts/anthropic-cloud/v1/ directory
  (used pre-Phase-9 SOPS file delivery; now obsolete)

Closes BUG-22b. Pairs with the live PATCH /v1/accounts/{id} rename
shipped under BUG-22a.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ai_admin merged commit 649acc07df into main 2026-05-07 20:10:16 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: skynet/agent-runtime-framework#1