@markus-global/cli 0.12.0-rc.0 → 0.12.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/background-maintenance.d.ts +52 -0
- package/dist/background-maintenance.d.ts.map +1 -0
- package/dist/background-maintenance.js +119 -0
- package/dist/background-maintenance.js.map +1 -0
- package/dist/commands/start.d.ts.map +1 -1
- package/dist/commands/start.js +34 -0
- package/dist/commands/start.js.map +1 -1
- package/dist/markus.mjs +3687 -721
- package/dist/web-ui/assets/{AsyncState-BebkDWbq.js → AsyncState-D1MjBziR.js} +1 -1
- package/dist/web-ui/assets/{CommentInput-BRZWIC3U.js → CommentInput-DoDCJB56.js} +1 -1
- package/dist/web-ui/assets/{ContentRenderer-PGP8H_Zz.js → ContentRenderer-BQ77yvOJ.js} +2 -2
- package/dist/web-ui/assets/{DeliverableShareModal-CcigVYGz.js → DeliverableShareModal-DvNGiVma.js} +1 -1
- package/dist/web-ui/assets/{Deliverables-CQwXaCA4.js → Deliverables-z8y1RoIc.js} +1 -1
- package/dist/web-ui/assets/{Notifications-BvHJCIRG.js → Notifications-D1IJbilh.js} +1 -1
- package/dist/web-ui/assets/{Search-BA-aXh7i.js → Search-n_NvkmUl.js} +1 -1
- package/dist/web-ui/assets/{SendToChat-CAfyKhpq.js → SendToChat-C8yyyTBL.js} +1 -1
- package/dist/web-ui/assets/{Settings-icFp6tNI.js → Settings-D45ydMkM.js} +1 -1
- package/dist/web-ui/assets/{Store-DKwOcmMu.js → Store-C-lknVpt.js} +1 -1
- package/dist/web-ui/assets/{Switch-C7lFnHA7.js → Switch-DAAFfXa0.js} +1 -1
- package/dist/web-ui/assets/{Team-DyqXLZ-X.js → Team-YRwejXFx.js} +39 -39
- package/dist/web-ui/assets/{Work-BXGrda4S.js → Work-CWxUln1b.js} +6 -6
- package/dist/web-ui/assets/{arc-Dnk6N-Zc.js → arc-DaVDBvVJ.js} +1 -1
- package/dist/web-ui/assets/{architectureDiagram-3BPJPVTR-CV8JIXXD.js → architectureDiagram-3BPJPVTR-RI4xfXsq.js} +1 -1
- package/dist/web-ui/assets/{blockDiagram-GPEHLZMM-D9pKmrXH.js → blockDiagram-GPEHLZMM-3m9lt9Tv.js} +1 -1
- package/dist/web-ui/assets/{c4Diagram-AAUBKEIU-Q26HvIpY.js → c4Diagram-AAUBKEIU-C3uJ8ygg.js} +1 -1
- package/dist/web-ui/assets/channel-BSxKSPBW.js +1 -0
- package/dist/web-ui/assets/{chunk-2J33WTMH-BSjFVwnx.js → chunk-2J33WTMH-BAFOp_1Q.js} +1 -1
- package/dist/web-ui/assets/{chunk-4BX2VUAB-BZXv4MQp.js → chunk-4BX2VUAB-Dl4hewAE.js} +1 -1
- package/dist/web-ui/assets/{chunk-55IACEB6-CeKd3oeJ.js → chunk-55IACEB6-BEZs165b.js} +1 -1
- package/dist/web-ui/assets/{chunk-727SXJPM-DP1tSQo5.js → chunk-727SXJPM-D40hw6dx.js} +1 -1
- package/dist/web-ui/assets/{chunk-AQP2D5EJ-DqEncn7j.js → chunk-AQP2D5EJ-Db0w70qS.js} +1 -1
- package/dist/web-ui/assets/{chunk-FMBD7UC4-tuDUJ9Xx.js → chunk-FMBD7UC4-DSXWhRDm.js} +1 -1
- package/dist/web-ui/assets/{chunk-ND2GUHAM-DoC8aLWB.js → chunk-ND2GUHAM-DHMvwtzx.js} +1 -1
- package/dist/web-ui/assets/{chunk-QZHKN3VN-74zpvcgs.js → chunk-QZHKN3VN-CzsZVugR.js} +1 -1
- package/dist/web-ui/assets/classDiagram-4FO5ZUOK-BXPDTPh-.js +1 -0
- package/dist/web-ui/assets/classDiagram-v2-Q7XG4LA2-BXPDTPh-.js +1 -0
- package/dist/web-ui/assets/{cose-bilkent-S5V4N54A-DjYUalC1.js → cose-bilkent-S5V4N54A-Dp3zgnT2.js} +1 -1
- package/dist/web-ui/assets/{dagre-BM42HDAG-oSewacE8.js → dagre-BM42HDAG-IbXphJ2p.js} +1 -1
- package/dist/web-ui/assets/{diagram-2AECGRRQ-C1fiWe46.js → diagram-2AECGRRQ-Dr80j8n6.js} +1 -1
- package/dist/web-ui/assets/{diagram-5GNKFQAL-9G_q6hCa.js → diagram-5GNKFQAL-BarMHyaM.js} +1 -1
- package/dist/web-ui/assets/{diagram-KO2AKTUF-CSm-lJp-.js → diagram-KO2AKTUF-BLxNHwEs.js} +1 -1
- package/dist/web-ui/assets/{diagram-LMA3HP47-BTAORcHx.js → diagram-LMA3HP47-dpjJXsFX.js} +1 -1
- package/dist/web-ui/assets/{diagram-OG6HWLK6-DbcCkDfo.js → diagram-OG6HWLK6-B-AZz5xs.js} +1 -1
- package/dist/web-ui/assets/{docx-preview-DjqdA44x.js → docx-preview-B9xb3lVY.js} +1 -1
- package/dist/web-ui/assets/{erDiagram-TEJ5UH35-DFa-B8-u.js → erDiagram-TEJ5UH35-b55Ez0GT.js} +1 -1
- package/dist/web-ui/assets/{flowDiagram-I6XJVG4X-WCTnaK9M.js → flowDiagram-I6XJVG4X-C-7BGCm3.js} +1 -1
- package/dist/web-ui/assets/{ganttDiagram-6RSMTGT7-DbW1CoJJ.js → ganttDiagram-6RSMTGT7-BW47InmE.js} +1 -1
- package/dist/web-ui/assets/{gitGraphDiagram-PVQCEYII-1faDfO29.js → gitGraphDiagram-PVQCEYII-YmWaJOLB.js} +1 -1
- package/dist/web-ui/assets/{index-B8h1PPzP.js → index-tXN2M_eu.js} +73 -73
- package/dist/web-ui/assets/{infoDiagram-5YYISTIA-DfXKP4tQ.js → infoDiagram-5YYISTIA-BYnK_hKC.js} +1 -1
- package/dist/web-ui/assets/{ishikawaDiagram-YF4QCWOH-D6FOsFQ5.js → ishikawaDiagram-YF4QCWOH-FJ8nEqaM.js} +1 -1
- package/dist/web-ui/assets/{journeyDiagram-JHISSGLW-DXpxntIF.js → journeyDiagram-JHISSGLW-Ufh7z6pn.js} +1 -1
- package/dist/web-ui/assets/{kanban-definition-UN3LZRKU-Dt7FBCF3.js → kanban-definition-UN3LZRKU-BKU0dWlO.js} +1 -1
- package/dist/web-ui/assets/{mermaid.core-sTcSUoRD.js → mermaid.core-sMPs34mJ.js} +5 -5
- package/dist/web-ui/assets/{mindmap-definition-RKZ34NQL-CvOU23ga.js → mindmap-definition-RKZ34NQL-Csa43MLU.js} +1 -1
- package/dist/web-ui/assets/{pieDiagram-4H26LBE5-DUedtXVj.js → pieDiagram-4H26LBE5-CUdusImI.js} +1 -1
- package/dist/web-ui/assets/{quadrantDiagram-W4KKPZXB-CqpHHRca.js → quadrantDiagram-W4KKPZXB-DL80bobR.js} +1 -1
- package/dist/web-ui/assets/{requirementDiagram-4Y6WPE33-CKZYvVDJ.js → requirementDiagram-4Y6WPE33-1b7FWXut.js} +1 -1
- package/dist/web-ui/assets/{sankeyDiagram-5OEKKPKP-gZ0nzDfs.js → sankeyDiagram-5OEKKPKP-D5bCHLyF.js} +1 -1
- package/dist/web-ui/assets/{sequenceDiagram-3UESZ5HK-DN3XdBkW.js → sequenceDiagram-3UESZ5HK-CwbH4Qmn.js} +1 -1
- package/dist/web-ui/assets/{stateDiagram-AJRCARHV-BvtafGxO.js → stateDiagram-AJRCARHV-BBseKBV0.js} +1 -1
- package/dist/web-ui/assets/stateDiagram-v2-BHNVJYJU-jcfX_Wlv.js +1 -0
- package/dist/web-ui/assets/{timeline-definition-PNZ67QCA-BrR919lp.js → timeline-definition-PNZ67QCA-Pamw3ZAk.js} +1 -1
- package/dist/web-ui/assets/{vennDiagram-CIIHVFJN-B7CTm4yM.js → vennDiagram-CIIHVFJN-BRlYubXq.js} +1 -1
- package/dist/web-ui/assets/{wardley-L42UT6IY-CyqFngx_.js → wardley-L42UT6IY-Cpejr3QL.js} +1 -1
- package/dist/web-ui/assets/{wardleyDiagram-YWT4CUSO-BCqEPBJ5.js → wardleyDiagram-YWT4CUSO-D9mX9POT.js} +1 -1
- package/dist/web-ui/assets/{xychartDiagram-2RQKCTM6-BmT6Cmz-.js → xychartDiagram-2RQKCTM6-BZMvL0gm.js} +1 -1
- package/dist/web-ui/index.html +1 -1
- package/docs/architecture/task-attention-economy.md +91 -0
- package/docs/remote-access/fast-path-plan.md +179 -0
- package/package.json +1 -1
- package/templates/roles/HANDBOOK.md +20 -0
- package/dist/web-ui/assets/channel-BZs6ereM.js +0 -1
- package/dist/web-ui/assets/classDiagram-4FO5ZUOK-C9JIxJeJ.js +0 -1
- package/dist/web-ui/assets/classDiagram-v2-Q7XG4LA2-C9JIxJeJ.js +0 -1
- package/dist/web-ui/assets/stateDiagram-v2-BHNVJYJU-B2nWDV5R.js +0 -1
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
# Remote Access — Why It Is Slow, and a Fast-Path Plan
|
|
2
|
+
|
|
3
|
+
Status: proposal · Author: CTO · Date: 2026-10-17
|
|
4
|
+
|
|
5
|
+
## 1. Executive summary
|
|
6
|
+
|
|
7
|
+
The current remote-access path is not "a bit slow" — it is **structurally wrong for the
|
|
8
|
+
use case**. Every single HTTP request from a browser on the same LAN as the Markus host
|
|
9
|
+
leaves the local network, crosses the Pacific to a Cloudflare edge in Los Angeles, comes
|
|
10
|
+
back across the Pacific, and only then reaches the host.
|
|
11
|
+
|
|
12
|
+
Measured on the owner's machine (2026-10-17, Shanghai, China Telecom):
|
|
13
|
+
|
|
14
|
+
| Path | TTFB (single request) | 10 concurrent requests | Throughput |
|
|
15
|
+
|---|---|---|---|
|
|
16
|
+
| `127.0.0.1:8056` (loopback) | 0.55–0.77 ms | — | ~1.3 GB/s |
|
|
17
|
+
| `192.168.8.101:8056` (LAN) | **4.4–5.5 ms** | **0.03 s** | line rate |
|
|
18
|
+
| `*.trycloudflare.com` (current) | **1190–1710 ms** | **2.70 s** | **289 KB/s (~2.3 Mbps)** |
|
|
19
|
+
|
|
20
|
+
Edge selection, measured from the same host:
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
$ curl -s https://www.cloudflare.com/cdn-cgi/trace | grep -E 'colo|loc'
|
|
24
|
+
ip=112.96.228.108
|
|
25
|
+
colo=LAX
|
|
26
|
+
loc=CN
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
`colo=LAX` while both endpoints are in Shanghai. The SPA's main bundle is 2.15 MB; it
|
|
30
|
+
takes **7.45 s** to load over the tunnel versus 1.6 ms locally.
|
|
31
|
+
|
|
32
|
+
Root cause classification: **the system has exactly one path, and that path is chosen by a
|
|
33
|
+
third party's anycast routing and never adapts.** This is a path-selection problem, not a
|
|
34
|
+
protocol-tuning problem.
|
|
35
|
+
|
|
36
|
+
## 2. How a Cloudflare Tunnel actually routes
|
|
37
|
+
|
|
38
|
+
`cloudflared` opens outbound, long-lived connections to the Cloudflare edge, resolved from
|
|
39
|
+
`region1.v2.argotunnel.com` / `region2.v2.argotunnel.com` and steered by the ISP's anycast
|
|
40
|
+
routing. That edge becomes the **permanent anchor** of the tunnel. From this network the
|
|
41
|
+
anchor is Los Angeles.
|
|
42
|
+
|
|
43
|
+
A browser request then travels:
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
browser → nearest CF PoP (LAX for this ISP) → CF backbone → tunnel anchor (LAX)
|
|
47
|
+
→ QUIC/TCP session → cloudflared → 127.0.0.1:8056
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Two consequences:
|
|
51
|
+
|
|
52
|
+
1. **The China↔US last mile is paid on every request**, even for a visitor sitting in the
|
|
53
|
+
same room. Measured TTFB ≈ 1.2 s is consistent with 2× ~220 ms RTT plus international
|
|
54
|
+
link congestion; 289 KB/s is the congested trans-Pacific bottleneck, not a tunnel limit.
|
|
55
|
+
2. **A visitor in another region does not help the tail.** They reach their nearest PoP
|
|
56
|
+
quickly, but the final leg is always LAX→China.
|
|
57
|
+
|
|
58
|
+
### What does *not* fix it
|
|
59
|
+
|
|
60
|
+
| Change | Fixes latency? | Why |
|
|
61
|
+
|---|---|---|
|
|
62
|
+
| `cloudflare_named` (own domain) | **No** | Same anchor, same last mile. It fixes address **stability**, not speed. |
|
|
63
|
+
| `tailscale_funnel` | **No** | Funnel is a **relay** ingress, not a peer connection. |
|
|
64
|
+
| `--protocol quic` vs `http2` | Marginally | The default is already `auto` (QUIC first, HTTP/2 fallback). It cannot remove the Pacific round trip. |
|
|
65
|
+
| Pinning `region*.v2.argotunnel.com` to a Hong Kong CF IP | Maybe, but fragile | Unsupported community trick; CF may reroute; breaks silently. Not shippable. |
|
|
66
|
+
|
|
67
|
+
## 3. What UU Remote does (and what we cannot copy)
|
|
68
|
+
|
|
69
|
+
UU Remote's speed comes from **path length**, not from a miracle codec:
|
|
70
|
+
|
|
71
|
+
1. **P2P direct first** — ICE/STUN hole punching picks the shortest path between the two
|
|
72
|
+
peers; if a direct path exists it is used, and the data never touches a relay.
|
|
73
|
+
2. **Relay fallback** — when hole punching fails (symmetric NAT / CGNAT), traffic falls
|
|
74
|
+
back to NetEase's **domestic BGP relay fleet**, which is close to both ends.
|
|
75
|
+
3. **UDP private transport** — avoids TCP head-of-line blocking; forward error correction
|
|
76
|
+
instead of retransmission stalls.
|
|
77
|
+
4. **Adaptive video pipeline** — hardware encode, frame pacing, bitrate adaptation.
|
|
78
|
+
|
|
79
|
+
Crucial distinction: **UU Remote ships a native client on both ends.** It does not serve a
|
|
80
|
+
web page to a browser.
|
|
81
|
+
|
|
82
|
+
**A browser cannot do this.** Browsers speak HTTP/HTTPS/WebSocket, and WebRTC data
|
|
83
|
+
channels cannot transparently wrap an existing TLS web app. So "make the browser go
|
|
84
|
+
peer-to-peer" is not a realistic option. The two things that *do* give UU-like latency to
|
|
85
|
+
a browser are:
|
|
86
|
+
|
|
87
|
+
- **(a) a native/mesh layer on the client device** (WireGuard: Tailscale, NetBird, etc.), or
|
|
88
|
+
- **(b) a relay placed physically near both ends** (a VPS in Hong Kong / Singapore / a
|
|
89
|
+
mainland node).
|
|
90
|
+
|
|
91
|
+
## 4. Target design: tiered path selection
|
|
92
|
+
|
|
93
|
+
Replace "one hardcoded path" with "**pick the fastest reachable path, and say which one is
|
|
94
|
+
in use**".
|
|
95
|
+
|
|
96
|
+
| Tier | Path | Expected latency | Throughput | Prerequisite |
|
|
97
|
+
|---|---|---|---|---|
|
|
98
|
+
| **T0** | LAN direct `http://<lan-ip>:<port>` | 4–5 ms | line rate | same Wi-Fi/LAN |
|
|
99
|
+
| **T1** | WireGuard mesh direct (`tailscale_serve` / NetBird) | 5–30 ms | uplink-bound | client installed on both ends |
|
|
100
|
+
| **T2** | Nearby relay (FRP / rathole on HK/SG VPS, `custom` kind) | 30–60 ms | VPS bandwidth | one VPS + domain |
|
|
101
|
+
| **T3** | Cloudflare tunnel (`cloudflare_quick` / `_named`) | 1200–1700 ms | ~289 KB/s | zero config |
|
|
102
|
+
|
|
103
|
+
T3 stays — it is the only tier that works for **sharing a public link with a stranger who
|
|
104
|
+
installs nothing**. It should simply stop being the *only* option and stop being the
|
|
105
|
+
*default* for the owner's own devices.
|
|
106
|
+
|
|
107
|
+
### Honesty requirement
|
|
108
|
+
|
|
109
|
+
The UI must display the **active tier and its measured cost**, e.g.
|
|
110
|
+
`Path: LAN · 4.6 ms` or `Path: Cloudflare LAX · 1280 ms`. A user who is told "remote access
|
|
111
|
+
is on" while every click costs 1.3 s will (correctly) conclude the product is broken.
|
|
112
|
+
|
|
113
|
+
## 5. Implementation plan
|
|
114
|
+
|
|
115
|
+
### P0 — Verify and surface what we already have (1–2 days)
|
|
116
|
+
|
|
117
|
+
The LAN tier and the WireGuard tier largely exist and were never verified:
|
|
118
|
+
|
|
119
|
+
- `192.168.8.101:8056` already answers `200 {"status":"ok"}` at 4.6 ms — the server is
|
|
120
|
+
already bound to `*:<port>`. **This works today and is not exposed anywhere in the UI.**
|
|
121
|
+
- `tailscale_serve` is implemented (`packages/remote/src/providers/tailscale.ts`) but
|
|
122
|
+
flagged unverified in the handoff doc.
|
|
123
|
+
|
|
124
|
+
Work:
|
|
125
|
+
1. Local address discovery (mDNS/Bonjour `_markus._tcp` + interface enumeration) and a
|
|
126
|
+
"LAN access" card in Settings → Remote Access showing `http://<lan-ip>:<port>`.
|
|
127
|
+
2. Auth/cookie behaviour on plain-HTTP LAN origins (`Secure` flag must not be required;
|
|
128
|
+
document the trust boundary: anyone on the LAN can reach the page, so the local login
|
|
129
|
+
must stay mandatory).
|
|
130
|
+
3. Real-hardware verification of `tailscale_serve` and a **direct-vs-relay indicator**
|
|
131
|
+
(`tailscale status --json` → `Relay: "direct"` or a DERP name). Surface it, do not fake it.
|
|
132
|
+
|
|
133
|
+
### P1 — Make the tunnel path measurable and honest (2–3 days)
|
|
134
|
+
|
|
135
|
+
1. `GET /api/diag/net` returning `cf-ray`, `colo`, `tcp/tls/ttfb` timings for the local
|
|
136
|
+
port; the settings panel renders the active path + measured latency.
|
|
137
|
+
2. Probe-based tier selection with a documented preference order and a manual override.
|
|
138
|
+
3. Front-end payload work (independent of network tier, benefits all of them):
|
|
139
|
+
- main bundle is **2.15 MB** — code splitting + Brotli; target < 700 KB initial.
|
|
140
|
+
- batch/parallelise the startup API fan-out; one cold load currently issues many
|
|
141
|
+
sequential calls, each paying a full round trip.
|
|
142
|
+
- WebSocket instead of polling for run/agent state.
|
|
143
|
+
|
|
144
|
+
### P2 — Add the nearby-relay tier (1–2 weeks)
|
|
145
|
+
|
|
146
|
+
1. Harden the `custom` kind: health check, URL stability, `X-Forwarded-Proto` handling,
|
|
147
|
+
and a one-command FRP/rathole recipe in the setup guide.
|
|
148
|
+
2. Setup wizard step: "I have a VPS → here is the 3-line config".
|
|
149
|
+
3. Optional: managed relay for users without a VPS (cost decision, see §6).
|
|
150
|
+
|
|
151
|
+
### P3 — Not recommended: build our own P2P stack
|
|
152
|
+
|
|
153
|
+
ICE/STUN/TURN + UDP transport + FEC + a relay fleet is months of work, still needs relays
|
|
154
|
+
for CGNAT, and **cannot serve a browser**. WireGuard mesh delivers ~90 % of the benefit for
|
|
155
|
+
a fraction of the cost.
|
|
156
|
+
|
|
157
|
+
## 6. Risks and open decisions
|
|
158
|
+
|
|
159
|
+
| Item | Honest assessment |
|
|
160
|
+
|---|---|
|
|
161
|
+
| **China CGNAT** | Both China Telecom/Unicom mobile and many home links are CGNAT. Hole punching for T1 may fail; the fallback (DERP) is overseas and can be as slow as today's tunnel. Must be measured per-network, not assumed. |
|
|
162
|
+
| **Mainland relay** | Serving a website from a mainland VPS on 80/443 requires ICP filing. HK/SG avoids it at 30–60 ms. |
|
|
163
|
+
| **Cost** | T2 needs ~$5–15/month VPS. A managed remote-access relay is a product decision, not an engineering one. |
|
|
164
|
+
| **Quick tunnels** | Documented by Cloudflare as testing-oriented, no SLA, may be rate-limited. Fine for demos, not for "this is my production access". |
|
|
165
|
+
| **TLS on T0/T1** | Plain HTTP on LAN/tailnet means no browser-trusted cert. Acceptable inside a trusted network if the app's own login stays mandatory; do not silently downgrade the public tiers. |
|
|
166
|
+
|
|
167
|
+
## 7. Recommendation
|
|
168
|
+
|
|
169
|
+
1. **Today**: expose T0 (LAN). It is already working at 4.6 ms and costs almost nothing to
|
|
170
|
+
surface. This alone removes the "remote access feels broken" complaint for the
|
|
171
|
+
at-home case.
|
|
172
|
+
2. **This week**: verify T1 (`tailscale_serve`) on real hardware and add the
|
|
173
|
+
direct-vs-relay indicator. For the owner's own devices this is the UU-like experience
|
|
174
|
+
without writing a single line of transport code.
|
|
175
|
+
3. **Next**: P1 measurement + payload work; then T2 for public sharing at usable speed.
|
|
176
|
+
4. **Keep T3** strictly as the zero-install/public-link tier, and label it as such in the UI.
|
|
177
|
+
|
|
178
|
+
Decision needed from the owner: whether T2 is a **self-hosted recipe** (user brings a VPS)
|
|
179
|
+
or a **managed relay** (we operate it, product cost + compliance).
|
package/package.json
CHANGED
|
@@ -277,6 +277,26 @@ Every task is created with `assigned_agent_id` and `reviewer_agent_id`. The revi
|
|
|
277
277
|
- Subtasks are the single source of truth for your work plan — keep them up to date at all times
|
|
278
278
|
- Use `subtask_list` before submission to verify all subtasks are in a terminal state (`completed` or `cancelled`)
|
|
279
279
|
|
|
280
|
+
### Where information belongs (comment ≠ update ≠ review)
|
|
281
|
+
|
|
282
|
+
Most multi-agent noise comes from putting information in the wrong channel. One rule each:
|
|
283
|
+
|
|
284
|
+
| What you have | Where it goes | Why |
|
|
285
|
+
|---|---|---|
|
|
286
|
+
| The goal, scope, acceptance criteria, or a frozen fact changed | **`task_update`** with `title` / `description` | The card is the single source of truth. The next agent reads the card, not the thread. |
|
|
287
|
+
| A record of what you did / found / what is next | **`task_comment`** or **`task_note`** | It is a log. It wakes nobody. |
|
|
288
|
+
| A request for a specific agent to act | **`task_comment` with `mentions: [agent_id]`** | Mention is the ONLY wakeup signal. No mention ⇒ nobody is notified. |
|
|
289
|
+
| A contested point that needs a ruling | **`task_ask_decision`** (once per card) | One open question, one decider, a recorded verdict — not a thread of arguments. |
|
|
290
|
+
| Work is finished | **`task_submit_review`** | The reviewer looks at the review gate, not the comments. |
|
|
291
|
+
|
|
292
|
+
**Never mention for FYI.** A mention costs that agent an entire context window — they stop what they are doing, load the card, read the thread, and often conclude that no action was needed. If you only want the information on record, comment without mentioning.
|
|
293
|
+
|
|
294
|
+
**Never announce a fact change only as a comment.** "I've updated the schema" in a comment while the card still says the old thing leaves the card wrong and the team misinformed.
|
|
295
|
+
|
|
296
|
+
**Silence is a valid answer.** No acknowledgement, no "agreed", no restating what someone else wrote. One short reply that moves the work is worth more than five that confirm it. If nothing is needed from anyone, write nothing.
|
|
297
|
+
|
|
298
|
+
**Only a human's comment enters a running agent's session.** If you are an agent, your comment does not interrupt another agent mid-task — it waits in the thread. So do not rely on comments to steer a running agent: change the card, or ask the decider.
|
|
299
|
+
|
|
280
300
|
---
|
|
281
301
|
|
|
282
302
|
## Project-Based Work
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{U as a,V as n}from"./mermaid.core-sTcSUoRD.js";const t=(r,o)=>a.lang.round(n.parse(r)[o]);export{t as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-727SXJPM-DP1tSQo5.js";import{_ as i}from"./mermaid.core-sTcSUoRD.js";import"./transform-CpIVI4vC.js";import"./chunk-FMBD7UC4-tuDUJ9Xx.js";import"./chunk-ND2GUHAM-DoC8aLWB.js";import"./chunk-55IACEB6-CeKd3oeJ.js";import"./chunk-2J33WTMH-BSjFVwnx.js";import"./index-B8h1PPzP.js";var f={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{f as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-727SXJPM-DP1tSQo5.js";import{_ as i}from"./mermaid.core-sTcSUoRD.js";import"./transform-CpIVI4vC.js";import"./chunk-FMBD7UC4-tuDUJ9Xx.js";import"./chunk-ND2GUHAM-DoC8aLWB.js";import"./chunk-55IACEB6-CeKd3oeJ.js";import"./chunk-2J33WTMH-BSjFVwnx.js";import"./index-B8h1PPzP.js";var f={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{f as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as r,b as e,a,S as s}from"./chunk-AQP2D5EJ-DqEncn7j.js";import{_ as i}from"./mermaid.core-sTcSUoRD.js";import"./transform-CpIVI4vC.js";import"./chunk-55IACEB6-CeKd3oeJ.js";import"./chunk-2J33WTMH-BSjFVwnx.js";import"./index-B8h1PPzP.js";var u={parser:a,get db(){return new s(2)},renderer:e,styles:r,init:i(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")};export{u as diagram};
|