From 9ca1022f9cad18a6ac3af31b0c6d5653974b3ddb Mon Sep 17 00:00:00 2001 From: Danijel Martinek Date: Wed, 13 May 2026 09:32:14 +0200 Subject: [PATCH] docs(work): close sandcastle-subscription-auth-v1 epic --- docs/work/_state.json | 16 +++++----------- .../01-subscription-first/_story.md | 18 +++++++++--------- .../sandcastle-subscription-auth-v1/_epic.md | 4 ++-- 3 files changed, 16 insertions(+), 22 deletions(-) diff --git a/docs/work/_state.json b/docs/work/_state.json index f87ef6c..f242cb9 100644 --- a/docs/work/_state.json +++ b/docs/work/_state.json @@ -1,5 +1,5 @@ { - "updated_at": "2026-05-13T07:27:04.538Z", + "updated_at": "2026-05-13T07:32:16.097Z", "epics": { "agent-workflow-docs-v1": { "status": "done", @@ -383,14 +383,14 @@ } }, "sandcastle-subscription-auth-v1": { - "status": "in-progress", + "status": "done", "title": "Sandcastle subscription auth as primary flow", "stories": { "01-subscription-first": { - "status": "in-progress", + "status": "done", "title": "Subscription-first dispatch — mount ~/.claude, install claude CLI, docs", "ac_total": 8, - "ac_completed": 0, + "ac_completed": 8, "depends_on": [], "blocks": [] } @@ -449,12 +449,6 @@ } } }, - "ready": [ - { - "epic": "sandcastle-subscription-auth-v1", - "story": "01-subscription-first", - "title": "Subscription-first dispatch — mount ~/.claude, install claude CLI, docs" - } - ], + "ready": [], "blocked": [] } diff --git a/docs/work/sandcastle-subscription-auth-v1/01-subscription-first/_story.md b/docs/work/sandcastle-subscription-auth-v1/01-subscription-first/_story.md index e09f310..5fe9cee 100644 --- a/docs/work/sandcastle-subscription-auth-v1/01-subscription-first/_story.md +++ b/docs/work/sandcastle-subscription-auth-v1/01-subscription-first/_story.md @@ -3,7 +3,7 @@ id: 01-subscription-first epic: sandcastle-subscription-auth-v1 title: Subscription-first dispatch — mount ~/.claude, install claude CLI, docs type: technical-story -status: in-progress +status: done feature: tooling depends-on: [] blocks: [] @@ -11,11 +11,11 @@ blocks: [] ## Tasks -- [ ] Story scaffold -- [ ] Update .sandcastle/Dockerfile to install @anthropic-ai/claude-code CLI -- [ ] Update scripts/work/dispatch.mjs: resolveClaudeAuth helper + sandbox mount + fallback to API key -- [ ] Tests for resolveClaudeAuth -- [ ] Update runbook "Using Sandcastle" section: subscription is primary flow -- [ ] Update ADR-019: subscription auth as primary, API key as fallback -- [ ] Update .env.example + .sandcastle/.env.example: reframe ANTHROPIC_API_KEY as fallback -- [ ] Final verification + closeout +- [x] Story scaffold +- [x] Update .sandcastle/Dockerfile to install @anthropic-ai/claude-code CLI +- [x] Update scripts/work/dispatch.mjs: resolveClaudeAuth helper + sandbox mount + fallback to API key +- [x] Tests for resolveClaudeAuth +- [x] Update runbook "Using Sandcastle" section: subscription is primary flow +- [x] Update ADR-019: subscription auth as primary, API key as fallback +- [x] Update .env.example + .sandcastle/.env.example: reframe ANTHROPIC_API_KEY as fallback +- [x] Final verification + closeout diff --git a/docs/work/sandcastle-subscription-auth-v1/_epic.md b/docs/work/sandcastle-subscription-auth-v1/_epic.md index ea6359d..85d2dd3 100644 --- a/docs/work/sandcastle-subscription-auth-v1/_epic.md +++ b/docs/work/sandcastle-subscription-auth-v1/_epic.md @@ -3,7 +3,7 @@ id: sandcastle-subscription-auth-v1 prd: null title: Sandcastle subscription auth as primary flow type: epic -status: in-progress +status: done features: [tooling, ci] created: 2026-05-13 --- @@ -26,4 +26,4 @@ spends zero per-task agent tokens for Pro/Max subscribers. ## Stories -- [ ] [01 — Subscription-first dispatch + Dockerfile + docs](01-subscription-first/_story.md) +- [x] [01 — Subscription-first dispatch + Dockerfile + docs](01-subscription-first/_story.md)