Skip to content

release(agent-email): 0.2.1 - #1838

Merged
kovtcharov merged 1 commit into
mainfrom
release-agent-email-0.2.1
Jun 24, 2026
Merged

kovtcharov merged 1 commit into
mainfrom
release-agent-email-0.2.1

Conversation

@kovtcharov

Copy link
Copy Markdown
Contributor

Why this matters

The live hub page at hub.amd-gaia.ai/hub/email is still showing the 0.2.0 catalog — which snapshots the old python README with no architecture diagram and no npm install flow. #1836 (single canonical npm README + version-on-cards) and #1833 (in-repo raw architecture image) already merged, but the catalog only refreshes its README snapshot on a new publish. This patch cuts that publish.

No client API or wire-contract change — SCHEMA_VERSION stays 2.0. This is a docs/packaging republish so the hub catalog picks up the current README (diagram + GAIA/npm install flow + version badge).

The version triple the release gate validates (tag == npm package.json == gaia-agent.yaml) is all 0.2.1, synced from version.py (the source of truth) via stamp_version.py.

Test plan

  • stamp_version.py --check → all targets match AGENT_VERSION 0.2.1 (npm README architecture image correctly SKIPs — it uses the raw-GitHub URL post-fix(agent-email): use in-repo raw image for README architecture diagram #1833)
  • npm pre-flight in hub/agents/npm/agent-email/: npm ci && npm run build && npm test → 32 passed; npm pack --dry-run ships README (16.2kB) + CHANGELOG
  • test_stamp_version.py → 10 passed
  • After merge: tag agent-pkg-email-v0.2.1 from main → freeze → approve agent-publish gate → publish republishes the catalog; confirm /hub/email shows the diagram + npm flow + v0.2.1

Documentation/packaging patch — no client API or wire-contract change
(SCHEMA_VERSION stays 2.0). Republishes so the live hub catalog refreshes its
README snapshot: #1836 made the npm README the single canonical README that the
release workflow publishes to both the hub and npm, and #1833 repointed the
architecture diagram at an in-repo raw image. The 0.2.0 catalog still carries the
old python README, so a new publish is the only way the hub page picks up the
diagram + npm install flow + version badge.

Version triple synced to 0.2.1 via stamp_version.py (version.py is the source):
gaia-agent.yaml, pyproject.toml, npm package.json + lock, binaries.lock.json
version fields, and the architecture.html badge.
@kovtcharov
kovtcharov requested a review from itomek-amd June 24, 2026 04:46
@kovtcharov kovtcharov added release agent-hub-agent A Hub agent package agent-hub Agent Hub: discovery, install, and distribution labels Jun 24, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve ✅

Clean docs/packaging republish that bumps @amd-gaia/agent-email to 0.2.1 so the live hub catalog finally snapshots the canonical README (architecture diagram + GAIA/npm install flow + version badge) that already merged in #1836/#1833. No client API or wire-contract change — the contract version stays where it was, which the diff confirms.

The version triple the release gate validates (npm package.json == gaia-agent.yaml == Python source of truth) is consistently 0.2.1, and every other target the stamping tool tracks is in sync. The empty SHA-256 fields are the expected #1648 pending-freeze placeholders, not a regression — the real binaries are populated during the post-merge freeze.

The bottom line: nothing blocking. Two trivial 0.2.0 strings remain in files this PR didn't touch (an HTML render-comment and a placeholder example command) — both are stamping-tool blind spots, harmless to ship, and worth a one-line cleanup whenever convenient. Details below.

🔍 Technical details

Issues

🟢 Stale version in architecture render-comment (hub/agents/npm/agent-email/assets/architecture.html:4) — the id="ver" badge was correctly bumped to v0.2.1 (diff line 38), but the comment two lines up still says The "v0.2.0" badge below .... Ironically it's the comment telling future editors to keep the badge in sync. Not tracked by stamp_version.py (its rule targets the <span id="ver"> badge, not this prose), doesn't render into the webp, so purely cosmetic.

  The "v0.2.1" badge below is the package version — keep it in sync with the

🟢 Stale version in npm README example command (hub/agents/npm/agent-email/README.md:122) — --base-url https://<r2-bucket>/email-agent/0.2.0. This is now the canonical published README, so a reader could copy it, but the host is a <r2-bucket> placeholder (real R2 URL pending #1648) so it isn't runnable verbatim anyway. stamp_version.py's npm-README rule only matches the architecture.webp image URL, not this email-agent/<v> base-url, so it slips through --check. Low priority; bump for consistency:

npx @amd-gaia/agent-email fetch --out resources --base-url https://<r2-bucket>/email-agent/0.2.1

Optional follow-up: if these two references are meant to track the package version, adding rules for them to stamp_version.py would close the blind spot the tool's own docstring warns about ("a README image URL ... can statically point at a stale deployment"). Out of scope for a release PR.

Strengths

  • Disciplined single-source versioning — AGENT_VERSION in version.py drives every downstream target via stamp_version.py, and API_VERSION/SCHEMA_VERSION is deliberately left untouched so a packaging bump can't masquerade as a contract bump. The --check gate makes drift a CI failure.
  • Clear, honest CHANGELOG — the 0.2.1 entry states plainly it's a docs/packaging republish with no wire change and explains why the republish is needed (catalog only refreshes its README on publish). Exactly the signal a reviewer/consumer wants.
  • Tight, scope-clean diff — 9 files, every change a version token, no drive-by edits.

@kovtcharov
kovtcharov enabled auto-merge June 24, 2026 04:52
@kovtcharov
kovtcharov added this pull request to the merge queue Jun 24, 2026
Merged via the queue into main with commit cea4c47 Jun 24, 2026
27 checks passed
@kovtcharov
kovtcharov deleted the release-agent-email-0.2.1 branch June 24, 2026 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-hub Agent Hub: discovery, install, and distribution agent-hub-agent A Hub agent package release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants