Skip to content

Commit b9c8009

Browse files
committed
docs(skills): drop the five GraphQL residue sites and the stale /storage mount
`/graphql` is not mounted: `packages/runtime/src/http-dispatcher.ts:2069` is `// /graphql removed — GraphQL is not in the product plan (#2462 follow-on)`, there is no `createGraphQLDomain` among the registered domains (0 hits under `packages/*/src`), and `handleGraphQL` survives only in CHANGELOGs. Five sites in the published catalog still described it as a live ObjectStack surface — the input that generates client code against a route which 404s. - `objectstack-api` tags: drop `graphql` (the description one line above already lists no GraphQL surface). - `objectstack-data` `apiEnabled`: REST + MCP, the two surfaces the flag actually gates (`packages/mcp/src/stdio-data-bridge.ts:260` reads `enable.apiEnabled === false`). - `objectstack-platform` mount line: `createHonoApp` mounts auth and discovery only. `/storage` was stale on the same line and is corrected in the same edit — `packages/adapters/hono/src/index.ts:423` is `// --- Storage: deliberately NOT mounted (#4087) ---`, and the dispatcher carries the matching "No `/storage` domain (#4087)" note. - `objectstack-formula`: the `GraphQL.ComputedField` CEL-host row and the `api/graphql` cache-key row are deleted rather than replaced — no real surface fills either slot (the computed-field CEL host is already the `Field` / `type: 'formula'` row above it, and no cache-key template surface exists: `system/cache` takes plain key patterns, `api/http-cache` has none). The mirror row in `content/docs/ai/skills-reference.mdx` moves in this same commit, per the card's anti-drift requirement — never before or after the skill it catalogs. Bundle effect: -27 tokens on the published skills ratchet. Fixes #10846
1 parent afe1c4e commit b9c8009

5 files changed

Lines changed: 4 additions & 6 deletions

File tree

‎content/docs/ai/skills-reference.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Use when the user is adding `*.endpoint.ts`, configuring auth providers, definin
153153

154154
Do not use for: consuming an ObjectStack API from a client (that is just standard HTTP — no skill needed); the auto-generated CRUD endpoints (those follow from objectstack-data); request-side query syntax (see objectstack-query). CEL expressions in route guards or auth predicates: load objectstack-formula alongside.
155155

156-
**Tags:** `rest`, `graphql`, `endpoint`, `auth`, `realtime`, `server`
156+
**Tags:** `rest`, `endpoint`, `auth`, `realtime`, `server`
157157

158158
---
159159

‎skills/objectstack-api/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ metadata:
1616
author: objectstack-ai
1717
version: "1.4"
1818
domain: api
19-
tags: rest, graphql, endpoint, auth, realtime, server
19+
tags: rest, endpoint, auth, realtime, server
2020
---
2121

2222
# API Design — ObjectStack API Protocol

‎skills/objectstack-data/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Toggle system behaviours per object:
9191
|:-----|:--------|:--------|
9292
| `trackHistory` | `false` | Field-level audit trail |
9393
| `searchable` | `true` | Index records for global search |
94-
| `apiEnabled` | `true` | Expose via automatic REST / GraphQL APIs |
94+
| `apiEnabled` | `true` | Expose via automatic REST + MCP APIs |
9595
| `apiMethods` | all | Whitelist over the six primitives (`get`, `list`, `create`, `update`, `delete`, `bulk`); derived verbs (search/export/upsert/…) follow automatically |
9696
| `files` | `false` | Attachments & document management |
9797
| `feeds` | `true` | Social feed, comments, mentions — **opt-out**: explicit `false` hides the feed UI and rejects new comments |

‎skills/objectstack-formula/SKILL.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,6 @@ to the envelope.
425425
| `Hook` | `condition` | cel |
426426
| `SharingRule` | `condition` | cel |
427427
| `Flow.decision` | `expression` / edge `condition` | cel (use `vars.<step>.<key>`) |
428-
| `GraphQL.ComputedField` | `expression` | cel |
429428
| `Dataset.records[*]` | any value | cel (via `cel\`\``) |
430429
| `audit` / `metrics` / `tracing` | `condition` / `successCriteria` | structured \| cel |
431430

@@ -476,7 +475,6 @@ tmpl`Deal {{ record.name }} — {{ record.amount | currency }} closes {{ record.
476475
| `system/notification` | email subject + body, SMS message, push body + message (5 fields) |
477476
| `ai/model-registry` | `promptTemplate.system`, `promptTemplate.user` |
478477
| `integration/connector/github` | titleTemplate, bodyTemplate (PR + release) |
479-
| `api/graphql` | cache key |
480478

481479
There is no JS expression surface: procedural JS is the L2
482480
`ScriptBody { language: 'js' }` surface (hook bodies), not an expression

‎skills/objectstack-platform/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ export default app; // Deploy to Cloudflare Workers, Deno, Bun, Node
392392

393393
1. Accept a `kernel` (ObjectKernel) instance
394394
2. Create an `HttpDispatcher` internally
395-
3. Mount explicit routes for auth, GraphQL, storage, discovery
395+
3. Mount explicit routes for auth and discovery
396396
4. Delegate everything else to the dispatcher
397397

398398
This means **new routes added to HttpDispatcher work automatically**

0 commit comments

Comments
 (0)