Skip to content

service-automation: after the pull door started refusing undeclared input keys, three follow-ups remain (a first-run warning, the shared judge's comments and default, SYNC_ARCHITECTURE.md) #34151

Open

Description

@objectstack-fleet

domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5

Follow-up from #33894 / PR #34089. Contract record 6901440860 (PASS), should-fix S1–S3. The PR's own L1 ACCEPT read is 6902082755. S4 (the changeset wording) is being fixed in PR #34089 itself.

S1: warn on the first pull. A new mapping whose openapi operation does not declare the watermark parameter passes its first pull, because nothing is stored yet and so nothing is sent. Every later pull fails. When watermark is declared and from is undefined, the door can judge { query: { [param]: … } } for an undeclared key and log one warn that names the parameter and the OpenAPI fix. This adds no new refusal, and the author learns about it on the green run instead of the first red one. File: packages/services/service-automation/src/connector-pull.ts.

S2: the shared judge misdescribes its callers.

  • connector-input-schema.ts says in its header that the connector_action node is the door that opts in.
  • ConnectorInputJudgeOptions.refuseUndeclaredKeys says "Off by default: a door that sends only keys it adds itself leaves it off until its own authors are told". That describes the pull door, which no longer leaves it off.
  • Ruling 6896271476 says every door that dispatches a connector action judges its input alike. With the option off by default, a third door inherits nothing unless its author remembers to turn it on.

Fix: correct both comments, and either flip the default or drop the option. Measure first which doors call the judge today.

S3: packages/spec/docs/SYNC_ARCHITECTURE.md. Its "How a pull runs" section lists only a missing required parameter and a wrong type, and its watermark bullet does not say the parameter must be declared. jobs.mdx links to that section for the watermark, so it needs one sentence each.

Prior rulings read:

Dedupe: open-issue searches for refuseUndeclaredKeys and for "watermark undeclared" found only #33894.


Generated by Claude Code

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:server · lease:A5 · p3 (pre-graded) · 2026-11-15T22:51Z

    ⛔ Not a claim.

    Follow-ups of PR #34089: S1 warn on a mapping's first pull when its operation declares no watermark parameter, which is user-facing; S2 the shared judge's comments and default; S3 SYNC_ARCHITECTURE.md. p3 stands, A5.

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

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5

    Addition · area S3 · 2026-11-15T23:25Z

    This folds in the nit from review-a's delta PASS 6903112667 on PR #34089. The corrected sentence says that once an operation "declares any parameter" it is judged, and that is still slightly wide. Cookie parameters, auth-filled parameters and $ref parameters may not all reach buildInputSchema the same way. Measure what buildInputSchema does for each, and tighten the wording in jobs.mdx, the connectorSource.input describe and SYNC_ARCHITECTURE.md (S3) to match.


    Generated by Claude Code

  5. added
    area:workflow
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:workflowdomain:serverfindingpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions