1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="640" viewBox="0 0 1200 640" font-family="DejaVu Sans, Verdana, sans-serif">
<defs>
<linearGradient id="gBg" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#FFFFFF"/><stop offset="100%" stop-color="#EEF2FA"/></linearGradient>
<linearGradient id="gBlue" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#E3F2FD"/><stop offset="100%" stop-color="#BBDEFB"/></linearGradient>
<linearGradient id="gBlue2" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#E1F5FE"/><stop offset="100%" stop-color="#B3E5FC"/></linearGradient>
<linearGradient id="gPurple" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#F3E5F5"/><stop offset="100%" stop-color="#E1BEE7"/></linearGradient>
<linearGradient id="gYellow" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#FFFDE7"/><stop offset="100%" stop-color="#FFF9C4"/></linearGradient>
<linearGradient id="gGrey" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#ECEFF1"/><stop offset="100%" stop-color="#CFD8DC"/></linearGradient>
<filter id="shadow" x="-30%" y="-30%" width="160%" height="160%"><feDropShadow dx="2" dy="3" stdDeviation="4" flood-color="#000000" flood-opacity="0.25"/></filter>
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0,0 L10,5 L0,10 z" fill="#37474F"/></marker>
</defs>
<rect x="0" y="0" width="1200" height="640" fill="url(#gBg)"/>
<text x="600.0" y="38" text-anchor="middle" font-size="25" font-weight="700" fill="#1A237E">dev.team — the agents are read-only in the sandbox</text>
<text x="600.0" y="61" text-anchor="middle" font-size="14" font-style="italic" fill="#546E7A">sbxenv.yaml mounts workspace/ read-write and team/ read-only; the env file itself is never mounted</text>
<path d="M340,215 L420,215" fill="none" stroke="#37474F" stroke-width="2.2" marker-end="url(#arrow)"/>
<path d="M760,200 L840,200" fill="none" stroke="#37474F" stroke-width="2.2" marker-end="url(#arrow)"/>
<path d="M610,290 L610,435 L840,435" fill="none" stroke="#37474F" stroke-width="2.2" marker-end="url(#arrow)"/>
<g filter="url(#shadow)"><rect x="40" y="140" width="300" height="150" rx="16" fill="url(#gBlue)" stroke="#1565C0" stroke-width="2"/></g>
<text x="190.0" y="186.5" text-anchor="middle" font-size="22">💻</text>
<text x="190.0" y="209.5" text-anchor="middle" font-size="16" font-weight="700" fill="#0D47A1">dev.team/ on the host</text>
<text x="190.0" y="227.5" text-anchor="middle" font-size="11.5" fill="#0D47A1">sbxenv.yaml · start-zed.sh · stop-zed.sh</text>
<text x="190.0" y="244.5" text-anchor="middle" font-size="11.5" fill="#0D47A1">README · diagrams</text>
<text x="190.0" y="261.5" text-anchor="middle" font-size="11.5" fill="#0D47A1">never mounted</text>
<rect x="420" y="90" width="750" height="470" rx="10" fill="#FAFAFA" fill-opacity="0.7" stroke="#90A4AE" stroke-width="2" stroke-dasharray="7,5"/>
<text x="795.0" y="112" text-anchor="middle" font-size="13" font-style="italic" font-weight="700" fill="#607D8B">sandbox zed-dev-team (sbx env create)</text>
<g filter="url(#shadow)"><rect x="460" y="140" width="300" height="150" rx="16" fill="url(#gBlue2)" stroke="#0277BD" stroke-width="2"/></g>
<text x="610.0" y="186.5" text-anchor="middle" font-size="22">🔀</text>
<text x="610.0" y="209.5" text-anchor="middle" font-size="16" font-weight="700" fill="#01579B">mm -acp (Zed) / mm -tui</text>
<text x="610.0" y="227.5" text-anchor="middle" font-size="11.5" fill="#01579B">AGENT_CONFIG =</text>
<text x="610.0" y="244.5" text-anchor="middle" font-size="11.5" fill="#01579B"><dev.team>/team/agent.yaml</text>
<text x="610.0" y="261.5" text-anchor="middle" font-size="11.5" fill="#01579B">cwd = workspace/</text>
<g filter="url(#shadow)"><rect x="840" y="140" width="300" height="150" rx="16" fill="url(#gYellow)" stroke="#F9A825" stroke-width="2"/></g>
<text x="990.0" y="186.5" text-anchor="middle" font-size="22">🛡️</text>
<text x="990.0" y="209.5" text-anchor="middle" font-size="16" font-weight="700" fill="#E65100">team/ · read-only</text>
<text x="990.0" y="227.5" text-anchor="middle" font-size="11.5" fill="#E65100">agent*.yaml · hooks/</text>
<text x="990.0" y="244.5" text-anchor="middle" font-size="11.5" fill="#E65100">mm reads them</text>
<text x="990.0" y="261.5" text-anchor="middle" font-size="11.5" fill="#E65100">nothing can rewrite them</text>
<rect x="1035.2" y="128" width="114.8" height="24" rx="12" fill="#F9A825"/>
<text x="1092.6000000000001" y="144" text-anchor="middle" font-size="11.5" font-weight="700" fill="#FFFFFF">readOnly: true</text>
<g filter="url(#shadow)"><rect x="840" y="360" width="300" height="150" rx="16" fill="url(#gGrey)" stroke="#455A64" stroke-width="2"/></g>
<text x="990.0" y="406.5" text-anchor="middle" font-size="22">🧰</text>
<text x="990.0" y="429.5" text-anchor="middle" font-size="16" font-weight="700" fill="#263238">workspace/ · read-write</text>
<text x="990.0" y="447.5" text-anchor="middle" font-size="11.5" fill="#263238">your project (a git repo)</text>
<text x="990.0" y="464.5" text-anchor="middle" font-size="11.5" fill="#263238">.mm/ sessions and traces</text>
<text x="990.0" y="481.5" text-anchor="middle" font-size="11.5" fill="#263238">Zed opens this folder</text>
<rect x="345.0" y="231.0" width="70" height="24" rx="5" fill="#FFFFFF"/>
<text x="380" y="247.5" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">creates</text>
<rect x="770.0" y="216.0" width="60" height="24" rx="5" fill="#FFFFFF"/>
<text x="800" y="232.5" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">reads</text>
<rect x="625.0" y="423.0" width="150" height="24" rx="5" fill="#FFFFFF"/>
<text x="700" y="439.5" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">reads · writes · runs</text>
<text x="605" y="600" text-anchor="middle" font-size="12" fill="#455A64" font-style="italic">start-zed.sh: sbx env create --env-arg DEV_TEAM_DIR=$PWD, then zed --new ssh://zed-dev-team.sbx$PWD/workspace</text>
</svg>
|