Skip to content

feat(ai-studio): the author picks which fields the decider sees - #174

Open
jimmeryn wants to merge 7 commits into
feat/human-in-the-loopfrom
feat/WB-648-decision-fields-control
Open

jimmeryn wants to merge 7 commits into
feat/human-in-the-loopfrom
feat/WB-648-decision-fields-control

Conversation

@jimmeryn

@jimmeryn jimmeryn commented Sep 24, 2026 •

Copy link
Copy Markdown

WB-648

What

The Human decision properties panel lists the fields the proposal source declares in properties.outputSchema. The author sets each one to Hidden, Read-only, Editable, or Editable and required.

Decisions

  • The picks are decisionRequest.schema itself, in the contract's format: a field it leaves out is Hidden. The canvas, the Run payload and the decider's form read one schema, so the backend needs no change.
  • A field new to the source starts Hidden. One the source no longer declares stays, marked "not in the source", until the author hides it.
  • The dropdowns are disabled from the moment the backend starts a run until Reset. An open decision form keeps the fields it opened with, so undo cannot change what it sends.

@jimmeryn
jimmeryn marked this pull request as ready for review September 24, 2026 14:05
…ction

The fields control renders the UI Accordion itself instead of a plain label,
so the whole section, header included, steps aside while the node waits.
contain: inline-size keeps long field names from widening the accordion's
grid past the panel.

The hint takes the mockup's copy and grey block, and shows only when no edge
comes into the node.
@jimmeryn
jimmeryn force-pushed the feat/WB-648-decision-fields-control branch from 99519e3 to f7f1aee Compare September 25, 2026 15:38
@jimmeryn
jimmeryn changed the base branch from feat/WB-642-decision-form to feat/human-in-the-loop September 25, 2026 15:39
…change under it

WB-648

With the app bar's read-only switch lifted, undo can change the picks while
the node waits. The open form now keeps the schema and proposal it opened
with and measures the edits against them; reopened under changed picks, a
field turned read-only shows the proposal instead of the draft. The settled
record follows the current picks.

Editable and required drops null from a nullable type, so a null the model
left holds Approve back. The README bullet is split and says where a hidden
value is still visible.
WB-648

FieldModeRow takes the mode labels, the Select items and its row styles
with it, matching how decision-form keeps one component per file. The
control keeps the store wiring, the accordion and the hint.
@jimmeryn
jimmeryn force-pushed the feat/WB-648-decision-fields-control branch from 87c5b36 to 9254217 Compare September 25, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant