Skip to content

Studio: the connector_action input extras repeater (connector-input-fields.ts) follow-up for #33614 — split from #33665 item 2 #33838

Closed

Description

@objectstack-fleet

triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

Filing gate: ④ a split of #33665 item 2, on domain:server#5's routing (11:33Z: no server-lane file). ⛔ Not a claim.

The Studio half of the #33614 follow-up: the extras repeater in ui/packages/app-shell/src/views/metadata-admin/inspectors/connector-input-fields.ts. Read #33665 item 2 for the exact gap. Since #33614 (PR #33589), connector_action refuses input keys its action does not declare, and the Studio repeater should follow that. The skills half stays on #33665 (domain:skills).

p3, like #33665. Reader: domain:ui.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

    Claim: PM loop round 2 · 2026-11-15T17:20Z
    Session: session_01ADHkmNs7VguNqTeS9xDmJQ (card thread, dev) · seat session_01ADHkmT2NE3iyG1o6TDg3sf
    Account: os-steve
    Branch: claude/project-thread-y1iwy4
    Worktree: objectstack-issue-33838
    Domain: domain:ui
    Seat: domain:ui#1
    File surface: ui/packages/app-shell/src/views/metadata-admin/inspectors/connector-input-fields.ts, the inspector that renders it if needed, its tests, @object-ui/i18n pack keys if needed, root .changeset/. packages/** stays read-only.
    Container & model: S, mode:thread, model: default tier, effort: medium
    Clause-②: no — unless the dev adds @object-ui/i18n pack keys, then the report and PR say yes (widening)
    Metadata-protocol: none
    Responsibility: Studio still offers a connector_action extras repeater for keys the run refuses since #33614 | #33665 split the Studio half here | flow authors using connector actions
    Thread-read: none
    Premise: holds per #33665 and the #33614 review record 6889245825; the dev cites the runtime rule's file:line on origin/main and stops with premise_still_valid: false if Studio already follows it
    Serial constraints cleared: no other pm:dispatched domain:ui card claims these files (live read: seat 2 holds #33988 #33987 #28085 #33857 #33856, seat 1 #33758 in the merge queue); the skills half stays on #33665 (domain:skills)
    Scope: The repeater offers extras only where the action input reads as open (unresolved $ref parameter, $ref or schemaless body); stored undeclared keys on a closed schema are flagged, not dropped silently; pins + ablation. Fixes #33838. Order: /mnt/project-files/ui-seat1/standard-order.md + 33838-delta.md. Summons: the maintainer opened the ui lane's p3 cards (2026-11-15T17:13Z, 「skills ui 车道开放 p3 卡」) while no ui p1/p2 is dispatchable.

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

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-steve · session_01ADHkmNs7VguNqTeS9xDmJQ
    os-dev-report

    {
      "issue": 33838,
      "status": "done",
      "branch": "claude/project-thread-y1iwy4",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34137",
      "session": "session_01ADHkmNs7VguNqTeS9xDmJQ",
      "premise_still_valid": true,
      "summary": "connector-input-fields.ts judged open/closed by JSON Schema's default (additionalProperties !== false), so Studio read every shipped connector as open while the run refuses undeclared keys since #33614. It now mirrors the run's declaredKeysOf (service-automation connector-input-schema.ts:138,160,275-285; connector-nodes.ts:165) as connectorInputContractKeys: a closed schema keeps the extras repeater only for declared keys no typed field edits (openapi $ref/schemaless body: {}, slack blocks) and marks every undeclared key, stored or typed, with an inline role=alert line (new FlowConfigField.acceptedKeys, FlowKeyValueField keyRefusal, i18n key engine.inspector.flowNode.kv.undeclaredKey en/zh). Stored undeclared keys are never dropped or rewritten; an open schema keeps the repeater unjudged.",
      "tests": "head 3b90535e, os-verify-lock VERDICT command-exit 0: app-shell + i18n type-check exit 0; cd ui && vitest run over the 5 connector inspector files, 3 FlowKeyValueField files, 2 FlowNodeConfigField files and packages/i18n/ = Test Files 112 passed, Tests 2025 passed | 13 skipped. Ablations via scripts/ablation-replace.mjs (anchor 1->0, blob moved, restored, git diff HEAD empty): (1) contract rule reverted to the JSON-Schema default -> 9 failed | 42 passed; (2) acceptedKeyProps spread off -> 1 failed (render flag pin); (3) untyped-declared keep dropped -> 4 failed. ui vitest resolves @object-ui/* to src, no build between legs.",
      "gates": "dispatch-gates --commands (no paths) on 3b90535e: 37 derived, 37 run, all ':: exit 0'; --ran: 37 accounted, 0 NOT-MEASURED. First round on d9362095 had check:test-source-alias exit 1 (harness reaches lazy @objectstack/lint) -> fixed by module-top import in 3b90535e. CI check-runs: in_progress at report time (not waited on).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "6 — mcp__github__issue_read x6 (reads only: get #33838, get #33665, get_comments #33838 x4)",
      "api_writes": "2 — relay pr_create (#34137); this os-dev-report comment via post-stamped",
      "open_questions": [
        {
          "question": "Should nested open sections (openapi path/query/header opened by an unresolved $ref parameter beside declared properties) get their own extras repeater, and closed nested sections show stored undeclared keys?",
          "options": [
            "A leave as is — top-level only, as the card names (this PR)",
            "B follow-up card adding a per-section keyValue extras field with omitKeys/acceptedKeys"
          ],
          "recommendation": "A, because neither is a key Studio offers today and the run's refusal still names the key; B only on a real author report"
        },
        {
          "question": "On a connector/action switch the inspector keeps only typed-owned keys (declaredKeys), dropping declared-but-untyped keys such as body; keep contractKeys instead?",
          "options": [
            "A unchanged (this PR)",
            "B follow-up: keep contractKeys on switch"
          ],
          "recommendation": "A here; B is a small follow-up if the seat wants it"
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — nested open/closed sections and the switch keep-set, both in PR #34137 Acceptance notes"
      ],
      "files_changed": [
        ".changeset/33838-connector-extras-run-rule.md",
        "ui/packages/app-shell/src/views/metadata-admin/inspectors/connector-input-fields.ts",
        "ui/packages/app-shell/src/views/metadata-admin/inspectors/connector-input-fields.test.ts",
        "ui/packages/app-shell/src/views/metadata-admin/inspectors/FlowNodeInspector.connectorInput.test.tsx",
        "ui/packages/app-shell/src/views/metadata-admin/inspectors/FlowNodeConfigField.tsx",
        "ui/packages/app-shell/src/views/metadata-admin/inspectors/FlowKeyValueField.tsx",
        "ui/packages/app-shell/src/views/metadata-admin/inspectors/flow-node-config.ts",
        "ui/packages/i18n/src/namespaces/studio/en.ts",
        "ui/packages/i18n/src/namespaces/studio/zh.ts"
      ],
      "line_budget": "n/a — no skills/** or ratcheted line ledger touched",
      "deviations": [
        "Clause-② is `yes (widening)` per the claim's i18n arm (new pack key).",
        "Full app-shell suite narrowed to the touched-component files above; full run left to CI Test UI.",
        "Forced test edits named in the PR body (Tests section)."
      ],
      "head_sha": "3b90535e"
    }

    Stamped 2026-11-15T21:14Z.


    Generated by Claude Code

  5. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

    Landed

    PR #34137 MERGED at 2026-11-15T23:05Z as 1078c73a38 through the merge queue; Fixes #33838 closed this card. Delivered: the Studio flow connector-input editor lists the input keys the connector declares, by the same declared-keys rule the run applies (connectorInputContractKeys in connector-input-fields.ts mirrors service-automation's declaredKeysOf), with one new studio pack key in en and zh. Nothing remains on this card. The record's nit N1 (no parity pin between the editor's copy of the rule and the run's) is noted and was accepted at review; no card is filed for it.

    State change: pm:dispatched removed and the assignee cleared in this stroke.

  6. removed
    pm:dispatched
    on Nov 15, 2026
  7. added a commit that references this issue on Nov 16, 2026
    1078c73
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

    domain:uienhancementpriority:p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions