Skip to content

Catalog: rebuild the API index after Connect (#156) and #157 - #159

Merged
sykosyber merged 1 commit into
mainfrom
wp/omni/catalog-refresh
Oct 12, 2026
Merged

sykosyber merged 1 commit into
mainfrom
wp/omni/catalog-refresh

Conversation

@sykosyber

@sykosyber sykosyber commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Objective. Recount what the directory gives now that the compiler binds read-only Google sign-in (#156) and leaves out optional compound parameters on reads (#157), so search stops listing those APIs as blocked.

What changed. public/api-index.json only, written by npm run catalog:build (APIs.guru list, last modified 2025-08-18; every OpenAPI 3.x spec downloaded and compiled, 0 reused because the compiler fingerprint changed).

What did not change. No code. The search label for a Google API still says "needs a key" rather than "needs sign-in" (the index's credential field has no sign-in value yet).

Tests run. npx vitest run src/core/capabilities/apiIndex src/core/capabilities/providers: 3 files, 45 passed (index validation and the registry provider that searches it).

Measurements (method: npm run catalog:build on 2026-10-12, before/after counted from the committed index)

before after
APIs with at least one usable operation 470 479
usable operations 8,700 9,009
Google APIs usable 2 7 (Calendar 7 ops, Drive 19, …)
needing a credential (key or sign-in) 290 299

Remaining Google blockers, by the compiler's first error per API: 193 APIs have no read operation it can compile ('Signed-in operations are read-only…' is just the first refusal listed), 55 offer only scopes that can change data. Two concrete gaps found by compiling Calendar v3 and YouTube v3 by hand:

  • YouTube: every list operation requires part, a required array query parameter, which the compiler refuses and the runtime cannot send yet.
  • Calendar events.list: one untyped nested response property (Event.workingLocationProperties.homeOffice), which the compiler deliberately does not admit as any.

Known failures. microsoft.com:graph and graph-beta exceed the 32 MB spec limit and stay unknown, as before.

Claim ceiling. Measured compile counts. No Google operation has been called live (no OAuth client registered).

Architectural decisions introduced. None.

Evidence that could falsify it. Re-running npm run catalog:build on this commit and getting different counts with the same upstream list.

Next permissible package. Required array query parameters (send as repeated name=value, style: form, explode: true), which would unblock YouTube's list operations; then deciding whether an untyped nested output property may be dropped.

🤖 Generated with Claude Code

…ameters

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sykosyber
sykosyber enabled auto-merge October 12, 2026 23:19
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-12T23:25:15.491084Z 6ca926f PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sykosyber
sykosyber merged commit 5d15793 into main Oct 12, 2026
4 checks passed
@sykosyber
sykosyber deleted the wp/omni/catalog-refresh branch October 12, 2026 23:22
@chatgpt-codex-connector

Copy link
Copy Markdown

💡 Codex Review

https://github.com/SyberLabs/Flyspace/blob/6ca926f45da765fc0b73b1e41f58486b4d65c884/public/api-index.json#L1
P2 Badge Correct the catalog coverage counts

The change description’s usable-API measurement is two low for both snapshots: the same predicate used by scripts/line-metrics.ts (supported plus operations > 0) yields 472→481 for the parent and this index, rather than 470→479. This leaves the recorded baseline incorrect, so later catalog-coverage comparisons will measure improvement from the wrong starting point.

AGENTS.md reference: AGENTS.md:L108-L115

ℹ️ 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".

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