You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[finding] Two GraphQL residue sites in package SOURCE comments outlive the removed /graphql route (spec object.zod.ts, adapters/hono index.ts) #11140
Found while fixing #10846 (the five GraphQL residue sites in skills/**). Filed rather
than fixed: #10846's PR is a GOVERNED skills/** PR, and these two live in package
source — a different surface and a different gate family, so folding them in would be
unreviewable scope creep on a human-merge-only diff.
Same defect class as #10846 / #10710 / #10832 / #10583 / #10835, one surface further in:
prose that still asserts a /graphql surface the runtime does not mount.
The residue
Site
Text
Why it is wrong
packages/spec/src/data/object.zod.ts:252
/** Enable REST/GraphQL API access */ (the doc comment on apiEnabled)
There is no automatic GraphQL API. apiEnabled gates REST and MCP — packages/mcp/src/stdio-data-bridge.ts:260 reads enable.apiEnabled === false. Note the .describe() one line below is already correct ("Expose object via automatic APIs"), so only the JSDoc drifted.
packages/adapters/hono/src/index.ts:105-106
Only routes that need framework-specific handling (auth service, GraphQL raw result, discovery wrapper) are registered explicitly.
createHonoApp registers auth (app.all(prefix + '/auth/*')) and discovery (app.get(prefix), /discovery, /.well-known/objectstack), then one catch-all. No GraphQL route is registered — and this same file already carries the correct account of its own shape at line 423 (// --- Storage: deliberately NOT mounted (#4087) ---).
Why it is worth recording
The second one is load-bearing beyond tidiness: the stale skills/objectstack-platform/SKILL.md
line #10846 fixes ("Mount explicit routes for auth, GraphQL, storage, discovery") reads like a
transcription of exactly this JSDoc, storage included. The published catalog is being corrected
in #10846; leaving the source comment it was copied from intact leaves the regeneration path
open.
Verification at filing time (worktree at origin/mainafe1c4e):
0 hits for createGraphQLDomain under packages/*/src
handleGraphQL survives only in CHANGELOGs (27 hits, all historical)
packages/runtime/src/http-dispatcher.ts:2069 — // /graphql removed — GraphQL is not in the product plan (#2462 follow-on).
packages/spec/src/system/core-services.zod.ts:130-132 independently records that graphql was never a CoreServiceName and named "a /graphql surface the dispatcher had already removed"
Dedupe: search_issues on two phrasings ("GraphQL residue in package source comments object.zod
apiEnabled REST/GraphQL hono adapter JSDoc stale", "createHonoApp doc comment GraphQL raw result
stale storage mount removed adapters hono") returned only CLOSED cards — #10835, #10710, #10832, #10583, #7707, #9436, #4117. None covers either site.
Triage: pm:queue, domain:spec, Task — designated cross-domain single PR (comment-only sweep, two files: packages/spec object.zod.ts + packages/adapters/hono index.ts). File surface = exactly those two comment sites; spec seat carries it since the spec file is the anchor. No behavior change, skip-changeset shape. Clause-②: no.
Claim: PM loop round R2 wave 2
Session: session_01T9cDbY2NBiVJWYx3BpWfH2
Branch: claude/issue-11140-graphql-residue-comments
Worktree: objectstack-issue-11140
Domain: domain:spec (triage-designated cross-domain single PR: the spec comment site anchors it; the second site lives in packages/adapters/hono)
File surface: exactly two comment sites — packages/spec/src/data/object.zod.ts:252 (JSDoc on apiEnabled) and packages/adapters/hono/src/index.ts:105-106 (createHonoApp doc comment) — plus skip-changeset shape per triage (stop on breach; explain in the report)
Container & model: S mechanical (comment-only, both replacement facts are stated on the card), mode:subagent, model: sonnet — dispatch-gates --tier: no path-derived mandate
Clause-②: no
Serial constraints cleared: premise re-verified on origin/main — object.zod.ts:252 still reads REST/GraphQL; the hono sentence spans :105-:106 (line-wrapped — single-line greps miss it). Targeted in-flight check for the hono half: cli-lane in-flight claims (#11185#10974#11130#11095#10805) declare CLI/SDK/REST/runtime surfaces, none the hono adapter's doc comment region. Disjoint from in-flight #9689 (comment-only vs schema/engine-logic regions; object.zod.ts is not in #9689's surface).
ACCEPT — reviewer of record: spec seat, session_01T9cDbY2NBiVJWYx3BpWfH2. PR: #11414 (draft, Fixes #11140 first line, base main, 2 files, +3/−3 — full diff read).
Contract review (clause-② path limb) — PASS, one line: comment-prose only — the apiEnabled JSDoc now matches its already-correct .describe() (REST/MCP), the createHonoApp parenthetical drops the phantom GraphQL route; zero schema/behavior/.describe() movement, content limb no confirmed from the diff. Fuse reading standing this shift (last_served_model = claude-fable-5 = CONTRACT_REVIEW_TIER). needs:contract-review cleared on both carriers in this stroke.
Spot readings (mine): the diff touches exactly the card's two sites and nothing else; skip-changeset label present per the triage designation; the after-edit control probe (0 GraphQL hits across both files) matches the diff. The dispatcher-comment line cite drifted :2069 → :2087 — content unchanged, noted only.
Lands via the normal queue path: flip ready + enqueue once every check on the head is green (CI started 16:23Z, converging — next patrol handles the landing stroke).
Activity
os-zhuang commentedon Aug 23, 2026
Triage:
pm:queue,domain:spec, Task — designated cross-domain single PR (comment-only sweep, two files:packages/specobject.zod.ts +packages/adapters/honoindex.ts). File surface = exactly those two comment sites; spec seat carries it since the spec file is the anchor. No behavior change,skip-changesetshape. Clause-②: no.Generated by Claude Code
os-steve commentedon Aug 23, 2026
Claim: PM loop round R2 wave 2
Session:
session_01T9cDbY2NBiVJWYx3BpWfH2Branch:
claude/issue-11140-graphql-residue-commentsWorktree:
objectstack-issue-11140Domain:
domain:spec(triage-designated cross-domain single PR: the spec comment site anchors it; the second site lives inpackages/adapters/hono)File surface: exactly two comment sites —
packages/spec/src/data/object.zod.ts:252(JSDoc onapiEnabled) andpackages/adapters/hono/src/index.ts:105-106(createHonoAppdoc comment) — plusskip-changesetshape per triage (stop on breach; explain in the report)Container & model:
Smechanical (comment-only, both replacement facts are stated on the card),mode:subagent,model: sonnet— dispatch-gates --tier: no path-derived mandateClause-②: no
Serial constraints cleared: premise re-verified on
origin/main— object.zod.ts:252 still readsREST/GraphQL; the hono sentence spans :105-:106 (line-wrapped — single-line greps miss it). Targeted in-flight check for the hono half: cli-lane in-flight claims (#11185 #10974 #11130 #11095 #10805) declare CLI/SDK/REST/runtime surfaces, none the hono adapter's doc comment region. Disjoint from in-flight #9689 (comment-only vs schema/engine-logic regions; object.zod.ts is not in #9689's surface).Generated by Claude Code
os-steve commentedon Aug 23, 2026
os-dev-report
{ "issue": 11140, "status": "done", "branch": "claude/issue-11140-graphql-residue-comments", "pr": "https://github.com/objectstack-ai/objectstack/pull/11414", "premise_still_valid": true, "summary": "Fixed both designated GraphQL residue comment sites: packages/spec/src/data/object.zod.ts:252 JSDoc on apiEnabled changed from 'Enable REST/GraphQL API access' to 'Enable REST/MCP API access' (the .describe() one line below was already correct and untouched); packages/adapters/hono/src/index.ts:105-106 createHonoApp doc comment's parenthetical changed from 'auth service, GraphQL raw result, discovery wrapper' to 'auth service, discovery wrapper' (createHonoApp registers only auth /auth/* and discovery routes explicitly; no GraphQL route exists). Comment-only, no behavior/schema/.describe() change.", "tests": "All run on commit 07a05a7053 (current HEAD). Control probe before edit: git grep -n \"GraphQL\" -- packages/spec/src/data/object.zod.ts packages/adapters/hono/src/index.ts -> exactly 2 hits (the two designated sites). Control probe after edit: same command -> 0 hits (grep exit 1). pnpm --filter '@objectstack/spec^...' build -> no workspace deps, exit 0. pnpm --filter @objectstack/spec build -> exit 0; confirmed rebuilt packages/spec/dist/data/index.js carries new JSDoc text 'Enable REST/MCP API access' and no residual GraphQL text on apiEnabled (bare JSDoc is not inlined into .d.ts, only .describe() strings are, so check:api-surface/check:docs are unaffected). pnpm --filter @objectstack/spec check:generated -> 'All 14 generated artifacts are up to date', exit 0. pnpm --filter @objectstack/spec typecheck -> exit 0 (tsc --noEmit + check:scripts-typecheck + check:test-typecheck; pre-existing test-layer debt unchanged at 263 errors / 55 files). pnpm --filter '@objectstack/hono^...' build (deps closure: rest, plugin-auth, runtime, etc.) -> exit 0. pnpm --filter @objectstack/hono build -> exit 0. pnpm --filter @objectstack/hono test -- --maxWorkers=2 -> 'Test Files 2 passed (2)' / 'Tests 74 passed (74)', exit 0. node scripts/check-route-envelope.mjs (matched by scripts/pm/dispatch-gates.mjs specifically via packages/adapters/hono/src/index.ts) -> pre-existing ratchet state unchanged, exit 0. git grep -n createGraphQLDomain packages/*/src -> 0 hits (unchanged from filing-time verification). All exit codes captured via VERDICT lines from scripts/pm/os-verify-lock.sh (never bare $?). Local scope followed 'targeted gates only, full farm is CI's' per repo discipline.", "open_questions": [], "out_of_scope_findings": [] }Generated by Claude Code
Generated by Claude Code
os-steve commentedon Aug 23, 2026
ACCEPT — reviewer of record: spec seat,
session_01T9cDbY2NBiVJWYx3BpWfH2. PR: #11414 (draft,Fixes #11140first line, basemain, 2 files, +3/−3 — full diff read).Contract review (clause-② path limb) — PASS, one line: comment-prose only — the
apiEnabledJSDoc now matches its already-correct.describe()(REST/MCP), thecreateHonoAppparenthetical drops the phantom GraphQL route; zero schema/behavior/.describe()movement, content limbnoconfirmed from the diff. Fuse reading standing this shift (last_served_model = claude-fable-5=CONTRACT_REVIEW_TIER).needs:contract-reviewcleared on both carriers in this stroke.Spot readings (mine): the diff touches exactly the card's two sites and nothing else;
skip-changesetlabel present per the triage designation; the after-edit control probe (0 GraphQL hits across both files) matches the diff. The dispatcher-comment line cite drifted :2069 → :2087 — content unchanged, noted only.Lands via the normal queue path: flip ready + enqueue once every check on the head is green (CI started 16:23Z, converging — next patrol handles the landing stroke).
Generated by Claude Code