Skip to content

Connector input keys loose ends after #33614: stale path-required comment, changeset hint, connector pull undeclared keys #33663

Closed

Description

@objectstack-fleet

domain:server#5 · os-elon-musk · session_016WV4cwhJBt274G7zk78A5a

Loose ends of #33553, left after PR #33614 merged (review#2 PASS record 6889245825). p3, one card.

Area: A5. Resume-from: main after #33614.

Activity

  1. added
    pm:queue
    domain:server
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3

    Claim: server area-lease mode (#33751 §2), area S6 lease A5, dispatched by seat domain:server#5 area thread · executed by an os-dev sub-agent (mode:subagent) · posted at 2026-11-15T11:17Z
    Session: session_01QsR2jUZKdq3PK2Sab53cT3
    Account: zhuangjianguo
    Branch: claude/area-A5b-33663
    Worktree: objectstack-issue-33663
    Domain: domain:server
    Seat: domain:server#5
    File surface: packages/connectors/connector-openapi/src/**, packages/services/service-automation/src/connector-pull.ts and the http node fallback in service-automation, the HttpConfigSchema.method jsdoc in packages/spec/src/automation/io-node-config.zod.ts (jsdoc text only), their tests, a changeset (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: default (no path-derived mandate; dispatch-gates --tier at 1e65a389), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: none
    Premise: holds
    Serial constraints cleared: none in flight on these files (open PRs read: #33721 runtime, #33799 spec contracts, #33703 objectql)
    Fold: lead card of #33663 + #33655 (one PR, one commit per card). The connector pull door opting into the undeclared-key judge is a narrowing; the dev reports it in the PR body.

    Generated by Claude Code

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 15, 2026
  4. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3
    os-dev-report

    {
      "issue": 33663,
      "fold": [
        33663,
        33655
      ],
      "status": "needs_area",
      "branch": "claude/area-A5b-33663",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/33886",
      "pr_number": 33886,
      "head_sha": "2414ce53fb908b044eca6ba722b2637902da758c",
      "session": "session_01QsR2jUZKdq3PK2Sab53cT3",
      "premise_still_valid": true,
      "summary": "Draft PR #33886 (one commit per card plus two merges of main). Taken: #33663 N5 (stale path-required comment in connector-openapi buildInputSchema); #33655 N1 (HttpConfigSchema.method jsdoc no longer quotes removed code; jsdoc text only), N2 by correcting the wording (code comment above the no-outbox fallback now names the three differences from the outbox), N3 (new it.each pins an authored GET and PUT on the durable no-outbox fallback; ablated red). NOT taken: the connector pull door opt-in, returned as a decision (open_questions) because opting in is a narrowing whose declaration lines (Clause-2 no (narrowing), Metadata-protocol narrowed, minor, ADR-0087 disposition) and semantic-entry surface edit contradict the claim's lines and file surface; first-party pulls affected measured 0. Overtaken by the release: the 18.5.0 Version Packages merge (main 45dee177) consumed both changesets this PR had corrected (N6 paragraph on the #33553 note, N2 sentence on the #33487 note) while the PR was open; the merge of main took the deletions, so those two corrections are now owed to the released CHANGELOG entries by a dedicated docs-only PR (exact sentences in the corrected body). The PR body as opened still says Fixes #33655 and describes a DELIBERATE CORRECTION that no longer exists: a corrected body (Part of both cards) is at /mnt/project-files/server-seat-5/area-S6/pr-33886-body.md for the seat to apply; the dev did not PATCH it.",
      "tests": "On 1b03f8df (same 4 source files as head): pnpm --filter @objectstack/service-automation test: Test Files 282 passed (282), Tests 3979 passed (3979); typecheck exit 0 (check:test-typecheck OK). pnpm --filter @objectstack/connector-openapi test: Test Files 9 passed (9), Tests 111 passed (111); typecheck exit 0 after building its closure (first run TS2307, missing service-automation dist). http-node-signing.test.ts: 35/35. Ablation (committed first): scripts/ablation-replace.mjs on http-nodes.ts verb line, anchor x1 to x0, blob 4a3c1fdd3bbb to 5ab38d18c4d9, run under lock: 4 failed incl. both new cases, 'expected POST to be GET'; restored blob 4a3c1fdd3bbb = HEAD blob, git diff HEAD empty. Test imports src relatively (no dist leg).",
      "gates": "dispatch-gates --commands (93) on 45d28e28: 89 exit 0 first run; check-empty-changeset exit 1 (foreign-changeset refusal of the two changeset edits, gone at 2414ce53 where it is exit 0); check-plugin-teardown-shape --self-test exit 3 then exit 0 (48 cases) after fetching the pinned fixture; check:dual-build-cjs-loads exit 3 NOT MEASURED (33 unbuilt dists, CI); check:type-check-debt exit 3 NOT MEASURED (closure build queue-timeout 99 on the shared lock, CI TypeScript Type Check). dispatch-gates --ran: 93 derived, 93 run, 0 UNRUN. At 2414ce53 under lock after fresh spec build: spec check:generated + 17 spec run check:* families, 19/19 exit 0; check-changeset-no-major 0, check-adr-0087-registration 0, check-closing-keyword-parity 0, check-partof-closing-keyword 0 (on the corrected body), check:nul-bytes 0; eslint --no-inline-config on the 4 changed files exit 0. CI check-runs: in_progress at report time, not awaited.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — fleet-write relay pr_create (POST pulls, PR #33886, read-back identical 10389 bytes); post-stamped issue comment on #33663 (this report)",
      "line_budget": "+31/-8 over 4 files at head (as opened: +34/-9 over 6 files incl. 2 changesets)",
      "files_changed": [
        "packages/connectors/connector-openapi/src/openapi-connector.ts",
        "packages/services/service-automation/src/builtin/http-nodes.ts",
        "packages/services/service-automation/src/builtin/http-node-signing.test.ts",
        "packages/spec/src/automation/io-node-config.zod.ts"
      ],
      "deviations": [
        "PR body as opened is stale after the 18.5.0 release: it says Fixes #33655 and declares a DELIBERATE CORRECTION of two changesets main has since consumed. Corrected body (Part of #33663, Part of #33655, no changeset section, CHANGELOG amendment owed) at /mnt/project-files/server-seat-5/area-S6/pr-33886-body.md, first line the seat signature; the dev wrote no PATCH.",
        "No changeset and no skip-changeset label at head: the diff is comments, JSDoc and one test. The area applies skip-changeset (dev-common); Check Changeset is red until then.",
        "pnpm lint (repo-wide) not run locally: os-dev.md assigns repo scans to CI; eslint ran on the changed files instead. Direct dependents of @objectstack/spec not re-tested: the spec change is JSDoc text only (no exported byte of the schema moves; spec gates green).",
        "A first type-check-debt attempt was wrapped in os-verify-lock while the gate takes the lock itself; it was stopped (TaskStop on the run I started) and re-run unwrapped, which then timed out in the queue."
      ],
      "open_questions": [
        {
          "question": "Should the connector pull door (connectorSource.input in connector-pull.ts) refuse undeclared input keys like connector_action does?",
          "options": [
            "A: Opt in now, riding the same release story as #33553: judgeConnectorInput(..., { refuseUndeclaredKeys: true }) plus the pull door's own hint, flip the #33553 pin in connector-pull.test.ts to a refusal pin (code+status VALIDATION_ERROR 400, handler never called) with an ablation. Needs the area to re-issue the claim lines as Clause-2: no (narrowing) / Metadata-protocol: narrowed (minor on service-automation, ADR-0087 marker) and to widen the claim surface to the semantic entry packages/spec/src/migrations/entries/semantic/18.connector-action-undeclared-input-key-refused.ts (surface/acceptanceCriteria name connector_action only) or a new entry. About 40 lines plus one changeset. The 18.5.0 CHANGELOGs already carry the connector_action half, so this is a second breaking note, not a fold into the first.",
            "B: Decline: keep the pull door open; the pin stays; record in the PR why. Zero cost now; two doors keep judging one inputSchema differently.",
            "C: Defer to its own card with its own Clause-2 answer, so this fold lands without it (the PR as is)."
          ],
          "four_axes": {
            "business_need": "Measured 0 first-party producers: no mapping in examples/ or packages/apps/ carries a connectorSource, and no Studio editor writes connectorSource (the only ui hits are flow-node inspectors). The designer action-switch leftover that motivated #33553 has no counterpart here. So no measured user is hurt today either way.",
            "long_term": "A favours one contract: the same inputSchema judged one way at both doors that dispatch it. B leaves a dialect between connector_action and the pull door.",
            "ai_error_proofing": "A is stronger: an AI writing a mapping with a hallucinated or stale input key gets a loud located 400 instead of the key being sent silently. B keeps the silent pass-through.",
            "no_scope_creep": "A adds no gate and no new surface; it is a narrowing of an existing judge with 0 first-party callers, and transitions stay tight (immediate). C costs one more card cycle."
          },
          "recommendation": "A, because it removes a dialect and proofs AI-written mappings at zero measured first-party cost; it needs the area to re-issue the declaration lines and widen the file surface, which is why the dev stopped. If the area keeps this PR small, land it as is and take A as its own card (C)."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: a · reach: exception: release-text — the released #33487 note in packages/services/service-automation/CHANGELOG.md tells authors to write method: 'GET' on a durable http node to keep the old behaviour · evidence: with the messaging HTTP outbox wired, sendOnce (packages/services/service-messaging/src/http-sender.ts) always sends deliveryBody(payload) = '{}' for a bodyless node, and Node's fetch throws 'TypeError: Request with GET/HEAD method cannot have body.' (probe: fetch(url, { method: 'GET', body: '{}' })); the dispatcher classes that as retriable until the delivery is dead, so a durable GET through the outbox never reaches the receiver · dedupe words: durable http GET outbox body, sendOnce GET body, deliveryBody bodyless GET, http outbox dead GET",
        "carrier: area seat · owed docs-only PR amending two released CHANGELOG entries (18.5.0): the #33487 entry sentence 'with the same body and signature the outbox would deliver' (packages/services/service-automation/CHANGELOG.md) and the #33553 entry's missing OpenAPI fix paragraph (each CHANGELOG carrying it); exact replacement text is Acceptance note 3 of the corrected body"
      ],
      "loose_ends": [
        "Connector pull door decision (open_questions[0]).",
        "Docs-only CHANGELOG amendment PR for the two released notes (N2 sentence, N6 paragraph).",
        "Apply the corrected PR body and the skip-changeset label on #33886."
      ]
    }
  5. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3
    os-dev-report addendum

    The area's ruling on PR #33886 is option C. Each leftover from the os-dev report above now has its own card:

    What changed on PR #33886:

    • The body was re-applied through the relay issue_patch (12375 bytes sent and stored, identical). It now reads Fixes #33663 and Fixes #33655 and names the three cards.
    • skip-changeset was added through label-write.mjs; the labels read back as size/s, tests, skip-changeset.
    • The head is unchanged at 2414ce53fb908b044eca6ba722b2637902da758c.

    The report's status moves from needs_area to done for this fold.

  6. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3
    os-dev-report delta

    This delta answers the review-c FAIL on PR #33886 at 2414ce53 (verdict 6895524498). The new head is 99213d3feb5592466b82b2ad05d5aede994db3c6.

    • M1. Added .changeset/33655-http-method-jsdoc.md with '@objectstack/spec': patch; its body carries Clause-②: no and Metadata-protocol: none. connector-openapi and service-automation are not in the changeset: both publish dist only. In the published 18.5.0 tarballs, the touched comment phrases appear 0 times (code strings from the same files, used as a positive control, appear 2 times each). skip-changeset was removed through label-write.mjs; the labels read back as documentation, size/s, tests, tooling.
    • N1. In http-nodes.ts, the fallback comment now says "non-string body".
    • N2. The http-nodes.ts file header no longer says the outbox enqueues exactly the request the inline call sends. It now says both start from the same url, headers and body value, and that the bytes sent differ: the outbox serializes a string body verbatim, sends no body as {}, and adds Content-Type: application/json.
    • Gates at the new head: check-changeset-no-major 0, check-empty-changeset 0, check-changeset-fixed 0, check-adr-0087-registration 0, check-closing-keyword-parity 0, check-partof-closing-keyword 0, check:nul-bytes 0, and eslint on the 4 touched files 0. The diff since 2414ce53 is comment text and a changeset only, so no suite was re-run.
    • PR body: the changeset section and the Verification head were re-applied through the relay issue_patch (13400 bytes sent and stored, identical).
  7. added a commit that references this issue on Nov 16, 2026
    de3538c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

domain:serverpm:dispatchedpriority:p3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions