docs(plans): Agent UI v2 thin-host implementation breakdown#1915
docs(plans): Agent UI v2 thin-host implementation breakdown#1915kovtcharov wants to merge 1 commit into
Conversation
The v2 sidecar-first design (#1913) is merged but has no buildable decomposition — nothing tells an implementer where to start, what is reusable vs. net-new, or which open decisions block which work. This adds docs/plans/agent-ui-v2-implementation-breakdown.md: a delta analysis of every v2 building block against the code at 080e725, 19 sequenced issue proposals with acceptance criteria and dependencies, a specced first vertical slice (daemon skeleton + supervised email sidecar + /query streamed to the CLI), and the three sign-off decisions (confirmation model, custody home, third-party containment). Also records verified design-vs-merged deviations: gaia api still mounts email in-process (openai_server.py:135-143), the scheduler is UI-internal (PR #1566; gaia schedule / PR #1371 is unmerged), and contract 2.1 ships no /query, no auth (#1706), no /shutdown.
|
Verdict: Approve This is a docs-only PR adding one planning document — the implementation decomposition for the v2 thin-host/sidecar architecture (delta table, 19 sequenced issue proposals, a first vertical slice, and three sign-off decisions). No code paths are touched, so there's nothing to break at runtime. The standout here is that the claims are actually verified against Only nit: one small factual imprecision about the email OpenAPI contract (it describes it as declaring an empty security array when the field is simply absent). Substantively identical — no auth either way — so it doesn't block. Nothing else worth holding the merge for. 🔍 Technical detailsVerification performed (all pass):
🟢 Minor — OpenAPI security claim slightly imprecise ( Strengths
|
Why this matters
The v2 sidecar-first architecture (#1913) is signed-in design, but nothing yet tells an implementer where to start, what's reusable vs. net-new, or which unsigned decisions block which work — so the build can't be parallelized or even safely begun. This adds the implementation decomposition: a code-verified delta table for every v2 building block, 19 sequenced issue proposals (with acceptance criteria, dependencies, S/M/L sizes — proposals only, none filed), a specced first vertical slice (headless daemon + supervised email sidecar +
/querystreamed to the CLI), and the three sign-off decisions (§0.4 confirmation model, §0.9 custody home, §0.24 containment 🔒) as explicit questions.It also pins verified design-vs-merged deviations so implementers don't trip on them:
gaia apistill mounts email in-process (the pattern #1910 removed from the UI only), the only scheduler on main is UI-internal (PR #1566 —gaia schedule/PR #1371 is unmerged), and contract 2.1 has no/query, no auth (#1706), and no/shutdown.Test plan
main@080e7259(all were verified while writing)typefield + Apps/Components/Agents lanes #1717 are linked, not duplicated)