Skip to content

fix(cli): annotate the Agent Armor release endpoint and refresh the OpenAPI export - #334

Merged
duharry0915 merged 1 commit into
mainfrom
harry/cli-overrides-armor-release
Oct 20, 2026
Merged

duharry0915 merged 1 commit into
mainfrom
harry/cli-overrides-armor-release

Conversation

@duharry0915

Copy link
Copy Markdown
Collaborator

On main, the Release CLI workflow's "Validate CLI overlays" step has failed on every definition merge since #313 (10-14). The check reports 1 spec operation missing annotations.

The missing one is POST /v0/inboxes/{inbox_id}/messages/{message_id}/agent-armor/release, added in #313 without a CLI overlay.

  • fern/apis/cli/openapi-overrides.yml: annotate it as agentmail inboxes messages release-agent-armor-message, the same pattern as its sibling create-agent-armor-feedback.
    • The definition doesn't mark it idempotent: true, so a plain naming block is enough.
    • It is live in prod: an unauthenticated POST returns 401, while an unknown route returns 404.
  • openapi/openapi.yml: re-exported with the pinned fern 5.44.8. The committed export was 159 operations; the definition has 180.
    • The docs API Reference renders from the Fern definition (api-name: api), so this file only feeds the CLI generator.

Checks:

  • gen-cli-overrides.py --check: in sync, 180/180.
  • check-cli-auth-config.py: OK.
  • fern check: 0 errors.

This only fixes validation. Merging doesn't generate or release a CLI, because generation is still workflow_dispatch-only.

🤖 Generated with Claude Code

…penAPI export

POST /v0/inboxes/{inbox_id}/messages/{message_id}/agent-armor/release (added
in #313) had no CLI overlay, so "Validate CLI overlays" has failed on every
definition merge since. Annotate it as `inboxes messages
release-agent-armor-message`, next to `create-agent-armor-feedback`, and
re-export openapi/openapi.yml, which was 21 operations behind the
definition.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

@duharry0915
duharry0915 merged commit 6ebc057 into main Oct 20, 2026
3 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.

2 participants