Skip to content

Commit af4fe4c

Browse files
dormsternclaude
andcommitted
fix: simplify Mermaid diagram — GitHub renderer was breaking on nested subgraphs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent af8bebe commit af4fe4c

1 file changed

Lines changed: 17 additions & 25 deletions

File tree

README.md

Lines changed: 17 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -79,33 +79,25 @@ Your credentials live in AnchorBrowser, not in your code. Your agent never sees
7979
3. **Audit + kill switch** — every action logged (allowed and blocked). Budget enforced. Instant session destruction when you're done.
8080

8181
```mermaid
82-
flowchart LR
83-
subgraph setup ["🔑 ONE-TIME SETUP (you, 5 min)"]
84-
direction TB
85-
A["Create AnchorBrowser profile"] --> B["Log into LinkedIn / Gmail manually"]
86-
B --> C["Auth saved — cookies persisted\n<i>Your password never leaves AnchorBrowser</i>"]
87-
end
88-
89-
subgraph runtime ["🤖 EVERY AGENT RUN (automated)"]
90-
direction TB
91-
D["Agent calls\n<b>shield.task('check inbox')</b>"] --> E{"<b>declawed</b>\nPolicy check\n<i>allow: read*, list*\ndeny: *delete*, *send*</i>"}
92-
E -->|"✅ Allowed"| F["AnchorBrowser opens\nephemeral session\nwith YOUR profile\n<i>(already logged in)</i>"]
93-
E -->|"❌ Blocked"| G["Stopped + logged\nAgent never reaches\nyour account"]
94-
F --> H["Task executes in\nisolated cloud browser"]
95-
H --> I["Result returned\nto agent"]
96-
G --> J["📝 Audit log\n⏱️ Budget tracking"]
97-
I --> J
98-
end
99-
100-
subgraph never ["🚫 AGENT NEVER GETS"]
101-
K["Your password"]
102-
L["Direct browser access"]
103-
M["Unscoped permissions"]
104-
end
82+
flowchart TD
83+
A["🔑 <b>One-time setup</b><br/>Create AnchorBrowser profile<br/>Log into LinkedIn / Gmail manually<br/>Auth saved — password never leaves AnchorBrowser"] --> D
10584
106-
style G fill:#d32f2f,color:#fff
85+
D["🤖 Agent calls <b>shield.task</b>"] --> E{"🛡️ <b>declawed</b><br/>Policy check"}
86+
87+
E -->|"✅ Allowed"| F["☁️ <b>AnchorBrowser</b><br/>Ephemeral cloud session<br/>with your saved profile<br/>Already logged in"]
88+
E -->|"❌ Blocked"| G["🚫 <b>Stopped</b><br/>Agent never reaches<br/>your account"]
89+
90+
F --> H["Task executes in<br/>isolated cloud browser"]
91+
H --> I["Result returned to agent"]
92+
93+
G --> J["📝 Every action logged"]
94+
I --> J
95+
J --> K["⏱️ Budget enforced<br/>🔴 Kill switch ready"]
96+
97+
style A fill:#1565c0,color:#fff
98+
style E fill:#f57f17,color:#fff
10799
style F fill:#388e3c,color:#fff
108-
style C fill:#1565c0,color:#fff
100+
style G fill:#d32f2f,color:#fff
109101
```
110102

111103
## CLI

0 commit comments

Comments
 (0)