fix(b22): bare account_ref + retarget composites + delete stale anthropic-cloud/v1 #1
Reference in New Issue
Block a user
Delete Branch "b22-anthropic-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Two fixes that together unblock every cloud-Anthropic composite task in production:
harnesses/contexts/anthropic-cloud-paul-oauth/v1/harness.yamlswitches to a bareaccount_ref(matches the bare-ref pattern used by minimax/airouter/z-ai/gitea-https; pairs with the livePATCH /v1/accounts/{id}rename ofpaul->anthropic-cloud-paul-oauth).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 layeranthropic-cloud-paul-oauth/v1instead of the staleanthropic-cloud/v1. Deletes the orphanedharnesses/contexts/anthropic-cloud/v1/directory.Why
M22 Phase 8 renamed the anthropic harness in
agent-runtimesonly -- the equivalent rename in this framework's composites and the deletion of the staleanthropic-cloud/v1were 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
scripts/dispatch-task --harness anthropic-cloud-paul-oauth/v1 --model haiku --prompt 'Reply OK' --max-turns 1scripts/dispatch-task --template code-haiku-repo --prompt 'Reply OK' --max-turns 1Same 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>