Commit 3b83a37
committed
docs(skills): agent-driven
Ran the flow for real (agent starts `auth login --json --region us-west-2`
backgrounded, human approves the relayed URL): authorization_required →
authorized → device_bound, exit 0, session verified via getToken. The event
table in stash-cli was already accurate; what was missing was the part that
bites an agent — the command blocks polling for up to ~15 minutes, so it
must run as a background task with a generous timeout, and success is
confirmed from the event stream (never by inspecting ~/.cipherstash).
stash-encryption's Local Development section now points agents at the flow.
Claude-Session: https://claude.ai/code/session_01MxTTPaPP16m6br7Hoab94wauth login — the operational loop, live-verified1 parent c33bf61 commit 3b83a37
2 files changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
85 | 101 | | |
86 | 102 | | |
87 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
114 | 120 | | |
115 | 121 | | |
116 | 122 | | |
| |||
0 commit comments