Skip to content

[skill-update] fix(ard-registry-builder): align registry-api.md with upstream OpenAPI spec#23

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
skill-update/ard-registry-builder-update-de6392fac46f2fed
Draft

[skill-update] fix(ard-registry-builder): align registry-api.md with upstream OpenAPI spec#23
github-actions[bot] wants to merge 1 commit into
mainfrom
skill-update/ard-registry-builder-update-de6392fac46f2fed

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Changes

Two targeted corrections to skills/ard-registry-builder/references/registry-api.md based on reconciliation with the upstream ARD spec at ards-project/ard-spec @ afd447d.

1. Remove incorrect "max 100" from POST /search pageSize

Source: ard.openapi.yamlSearchRequest.pageSize

The OpenAPI spec defines pageSize for POST /search with only default: 10 — no maximum. The maximum: 100 constraint exists only on GET /agents (the ListResponse path). The previous skill text incorrectly propagated the agents-endpoint limit to the search endpoint.

2. Add application/ai-registry as a valid registry referral type

Source: ard.openapi.yamlRegistryReferral.type enum

The OpenAPI schema defines RegistryReferral.type as an enum containing both application/ai-registry and application/ai-registry+json. The skill previously only listed the +json form, which would cause agents to reject or ignore the shorter form encountered in the wild.

Files changed

  • skills/ard-registry-builder/references/registry-api.md

Validation

  • validate-metadata.py passes on existing SKILL.md name and description (no change to SKILL.md).
  • Schema (assets/ai-catalog.schema.json) is unchanged and still matches upstream SHA 37c4cb743b29741847e6f99f8bc8ccaaa2d6e422.

Remaining risks

None identified. The spec is at v0.9 Draft status; these two corrections align the skill precisely with the machine-readable OpenAPI definition rather than prose interpretation.

Generated by Skill Update Worker · ● 16.2M ·

- Remove incorrect 'max 100' for POST /search pageSize; the OpenAPI spec
  only defines maximum: 100 for GET /agents, not for POST /search.
- Add application/ai-registry (short form) as a valid registry referral
  type alongside application/ai-registry+json, per the OpenAPI enum in
  spec/schemas/ard.openapi.yaml.

Source: https://github.com/ards-project/ard-spec/blob/afd447d88ed165427687d8af37e8d42398552b56/spec/schemas/ard.openapi.yaml#L189-L194

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

0 participants