Skip to content

docs(plans): superseded-model banners on sibling plans + v2 breakdown refresh - #2058

Merged
kovtcharov-amd merged 3 commits into
mainfrom
docs/v2-superseded-banners-2017
Jul 14, 2026
Merged

kovtcharov-amd merged 3 commits into
mainfrom
docs/v2-superseded-banners-2017

Conversation

@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

Closes #2017. Part of the Agent UI v2 epic (#2014), Phase 0.

Four sibling plan docs describe the pre-v2 (localhost-trust, UI-owned supervisor, sidecar-reads-grants) model as if it were current — a reader following the wrong one builds the wrong thing. Separately, a week of merged email work made several of the v2 breakdown doc's "verified" facts stale (wrong contract version, closed issues, new in-sidecar clocks). This aligns the docs with head of main so implementers of the later batches aren't misled.

Adds the ⚠️ superseded/reconcile banner to security-model.mdx, email-sidecar-agent-ui-implementation.md, connectors.mdx, and autonomy-engine.mdx; fixes the agent-ui.mdx sentence that wrongly put RAG/memory in sidecars; and refreshes agent-ui-v2-implementation-breakdown.md (contract is 2.3 not 2.1, #1706 closed by #1980, two merged in-sidecar clocks #1918/#1919 + durable stores widen V2-15, hub paths updated to agent-first).

Test plan

  • All four banners render and point at v2 §0.
  • agent-ui.mdx no longer claims RAG/memory live in sidecars.
  • Breakdown-doc facts match head of main.

… refresh

Four sibling plan docs described behavior that Agent UI v2 §0 has since
superseded, so a reader following them would build the wrong thing. Add the
⚠️ banner (matching email-sidecar-agent-ui.md) to security-model, connectors,
autonomy-engine, and email-sidecar-agent-ui-implementation, each naming the one
thing that changed and pointing at v2 §0. Fix agent-ui.mdx's "What this replaces"
sentence that wrongly located RAG/memory in sidecars (§0.9: they are host custody).

A week of merged email work also made the v2 breakdown's verified facts stale —
an implementer trusting it today would code against wrong constants. Refresh it
against head of main: contract 2.1→2.3 (/query targets 2.4, #2016); #1706 closed
by #1980 so V2-3 shrinks to fd/file secret delivery; the email agent now carries
two in-sidecar clocks (#1918/#1919) + durable stores (#1917/#1919) and the
gaia schedule CLI merged (#1371), so V2-15 widens to a multi-clock reconciliation
and V2-6's idle reaper must not land before it; rewrite stale hub/agents/python
paths to the agent-first layout (#2019); fix the securitySchemes wording nit.
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Request changes — one factual regression to fix, otherwise an accurate, well-grounded refresh.

This PR adds ⚠️ "superseded / reconcile" banners to four sibling plan docs and refreshes the v2 breakdown so implementers stop building against the stale pre-v2 model. The banners, the RAG/memory fix in agent-ui.mdx, and the refreshed facts (contract 2.3, #1980 closing #1706, the two in-sidecar clocks, the multi-clock V2-15 widening) all match head of main — I spot-checked them and they hold.

The one problem: the "hub paths updated to agent-first" change rewrites the email agent's directory from hub/agents/python/email/ to hub/agents/email/python/, but that agent-first layout doesn't exist on disk — the code still lives at hub/agents/python/email/, and no restructure is in git history. For a doc explicitly "grounded at main" whose whole value is telling implementers where the code is, this sends them to paths that 404 — the exact failure this PR set out to fix. Easy revert of just those path references; everything else in the refresh is good to merge.

🔍 Technical details

🟡 Important

Wrong hub paths — hub/agents/email/python/ does not exist (docs/plans/agent-ui-v2-implementation-breakdown.md:35, :65, :70)

The refresh flips three email-agent path references to an "agent-first" layout, but the repo is still hub/agents/python/<id>/ (confirmed: hub/agents/python/email/openapi.email.json exists; hub/agents/email/python/ does not, and grep finds the agent-first form only in this PR's own edits). The npm side is hub/agents/npm/agent-email/, and no restructure appears in git log. In a "grounded at main" reality doc these are current-state file locations, so the new paths are simply broken.

Revert the three to the on-disk form, e.g. line 35:

   auth already landed.** `hub/agents/python/email/openapi.email.json` (v2.3)

Same fix on :65 and :70 (hub/agents/email/python/ → hub/agents/python/email/). If an agent-first restructure is actually planned, it belongs in the V2 target-path column, not in the current-state descriptions.

Strengths

kovtcharov-amd added a commit that referenced this pull request Jul 13, 2026
The external-URL doc check fails on every PR with a DNS error on
`https://t.me/BotFather` (in `docs/guides/telegram-adapter.mdx`). The
link is **valid** — it's Telegram's canonical BotFather deep-link — but
`t.me` is unresolvable from GitHub Actions runners, so a correct URL
turns the check red for unrelated PRs (surfaced on #2057/#2058). This
skips the `t.me` host the same way other CI-unreachable-but-valid
domains already are, so the checker stops flagging a good link.

The pattern is anchored to scheme+host (`^https?://t\.me/`) rather than
a bare `t.me` substring, so lookalike hosts that merely contain the
substring (e.g. `content.medium.com`) are not falsely skipped.

Note: this is only the CI-noise fix. The real follow-up — that the
Telegram adapter has no end-to-end/live test proving it works — is
tracked in #2062.

**Test plan**
- [x] `should_skip("https://t.me/BotFather")` / `http://t.me/somebot` →
`True`.
- [x] `should_skip("https://content.medium.com/foo")` and
`https://example.org/t.me/x` → `False` (no false-positive from the
substring).
- [ ] `Verify external URLs` check passes on this PR.

Co-authored-by: Ovtcharov <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

🟡 Three path references in agent-ui-v2-implementation-breakdown.md were changed to a directory that doesn't exist — an implementer following them will look in the wrong place.

The diff rewrites hub/agents/python/email/ → hub/agents/email/python/ in three spots (correction 3 and rows 3 and 8 of the implementation table). The actual package lives at hub/agents/python/email/ — hub/agents/email/ does not exist in the repo.

🔍 Technical details

Affected lines in docs/plans/agent-ui-v2-implementation-breakdown.md:

  • Correction 3 (around line 48): hub/agents/email/python/openapi.email.json → should be hub/agents/python/email/openapi.email.json
  • Row 3 of the implementation table: hub/agents/email/python/ → hub/agents/python/email/
  • Row 8 of the implementation table: hub/agents/email/python/ → hub/agents/python/email/

Verified with glob hub/agents/**/openapi.email.json → hub/agents/python/email/openapi.email.json; hub/agents/email/ does not exist.

@kovtcharov-amd
kovtcharov-amd enabled auto-merge July 14, 2026 00:22
@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Jul 14, 2026
Merged via the queue into main with commit c0bce2e Jul 14, 2026
28 checks passed
@kovtcharov-amd
kovtcharov-amd deleted the docs/v2-superseded-banners-2017 branch July 14, 2026 12:41
pull Bot pushed a commit to bhardwajRahul/gaia that referenced this pull request Jul 19, 2026
Closes amd#2019. Part of the Agent UI v2 milestone.

One agent's artifacts are scattered across language-first trees (email
lives in both `hub/agents/python/email/` and
`hub/agents/npm/agent-email/`). This flips to agent-first —
`hub/agents/<id>/{python,npm}/` — so an agent's contract, binaries lock,
clients, and specs travel together, and CI needs one path filter per
agent instead of one per language×agent. Landing it now avoids every new
per-agent v2 workflow hard-coding the old layout and widening the diff
later.

History-preserving `git mv` of the python agents + `npm/agent-email`
into `hub/agents/<id>/<lang>/`, with every live path reference updated
(CI workflows/path filters, packaging/freeze scripts, the email sidecar
lock-path resolution, tests, docs, `.claude/skills/`, `CLAUDE.md`). The
npm package name `@amd-gaia/agent-email` and the `gaia-agent-email`
wheel name are unchanged — only on-disk paths move.

**Test plan**
- [ ] `git grep -nE 'hub/agents/(python|npm|cpp)' -- ':!*.lock'` returns
no live references.
- [ ] Release + publish CI green on a no-op agent change (proves the new
path filters actually fire).
- [ ] Email sidecar still resolves its binaries lock from the new path.

Note: the breakdown-doc path rewrites are handled in amd#2058 (amd#2017) to
avoid a same-file conflict, so this PR deliberately does not touch
`agent-ui-v2-implementation-breakdown.md`.

---------

Co-authored-by: Ovtcharov <[email protected]>
Co-authored-by: Kalin Ovtcharov <[email protected]>
Co-authored-by: kovtcharov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(plans): superseded-model banners on sibling plans + v2 breakdown refresh

2 participants