Skip to content

Render gateway upgrade notices at SessionStart; /acp-upgrade skill (0.13.0) - #21

Merged
davidcrowe merged 2 commits into
mainfrom
feat/upgrade-notice
Aug 27, 2026
Merged

Render gateway upgrade notices at SessionStart; /acp-upgrade skill (0.13.0)#21
davidcrowe merged 2 commits into
mainfrom
feat/upgrade-notice

Conversation

@davidcrowe

Copy link
Copy Markdown
Collaborator

Companion to davidcrowe/gatewaystack-connect#849 (stale-client upgrade nudge). Closes #20.

  • bin/govern.mjs SessionStart now reads the /govern/attest response: a notice (sent when this version is behind the registry's latest) is emitted as hookSpecificOutput.additionalContext, so the model itself learns an upgrade exists and can run it — the canonical installer is approval-gated at the gateway, so the human click stays the authority.
  • Canonical wire contract in lib/attestation.mjs (attestNoticeOutput) + tests (node --test: all pass).
  • New /acp-upgrade skill: exact installer command, expect-the-approval flow, retry after approval, restart + re-attest verification. Explicitly forbids editing governance files directly or working around a deny.
  • Version 0.13.0 (plugin.json + PLUGIN_VERSION).

Old plugins ignore the extra response field entirely — no behavior change until they upgrade (their reach is the console stale badge and enriched founder alerts on the gateway side).

….13.0)

The attest response may now carry a notice when this plugin version is
behind the gateway registry's latest. Surface it as SessionStart
additionalContext so the MODEL sees it and can drive the upgrade —
behind a human approval; the canonical installer is step_up-gated at
the gateway (gatewaystack-connect#849). Canonical contract lives in
lib/attestation.mjs (attestNoticeOutput) with tests.

New /acp-upgrade skill walks the agent through the approval-gated
installer run, the retry-after-approval, and the restart+re-attest
verification. Companion to gatewaystack-connect#849; closes #20.
@davidcrowe
davidcrowe merged commit a3f5009 into main Aug 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Render gateway upgrade notices + /acp upgrade flow (agent-driven, human-approved)

1 participant