Skip to content

fix(scaffolde): migrate Gmail capability identity - #56

Merged
pai-scaffolde merged 1 commit into
mainfrom
fix/sca-4558-gmail-capability-id
Aug 6, 2026
Merged

fix(scaffolde): migrate Gmail capability identity#56
pai-scaffolde merged 1 commit into
mainfrom
fix/sca-4558-gmail-capability-id

Conversation

@pai-scaffolde

Copy link
Copy Markdown
Collaborator

Summary

  • advertise the canonical scaffolde.gmail capability identity
  • retire and reject scaffolde.gmail.pai descriptors
  • remove account-specific PAI wording from consumer prompts and schema examples
  • verify old-ID invocation returns unknown_capability against a valid new registry

Verification

  • scripts/run_tests.sh tests/tools/test_scaffolde_capability_tool.py -q — 17 passed
  • Ruff — passed
  • Ty — passed
  • independent exact-commit review — SHIP
  • repository-wide run: 13,316 passed; 72 unrelated optional-integration tests failed because the local dev-only environment lacked their platform extras; no changed test failed

Landing order

Consumer-first prerequisite for the coordinated Scaffolde producer migration.

@pai-scaffolde
pai-scaffolde merged commit a3707e7 into main Aug 6, 2026
37 checks passed
@pai-scaffolde
pai-scaffolde deleted the fix/sca-4558-gmail-capability-id branch August 6, 2026 13:24

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: eb217cdc21

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +132 to +133
if cid in _RETIRED_CAPABILITY_IDS:
errors.append(_err("retired_capability", f"capability id is retired: {cid}", cid))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep legacy descriptors valid during the consumer-first rollout

When an existing installation still has the previously supported scaffolde.gmail.pai descriptor, this new validation error makes the registry degraded; invoke_capability() then returns capability_degraded before looking up any operation, and the capability prompt is omitted. Because this commit is intended to land before the coordinated producer migration, upgrading Hermes immediately disables Gmail for every installation whose producer has not yet rewritten the registry. Accept or translate the legacy ID during the transition, and retire it only after producers have migrated.

Useful? React with 👍 / 👎.

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.

1 participant