Skip to content

fix(automation): a screen flow refuses a required field of only spaces at the field, and a screen refusal reaches the user at its fields in their language - #37643

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/project-thread-axt9gn
Nov 26, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/project-thread-axt9gn

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Sales · project thread

Fixes #37526

What changes

Client: spaces are no answer. The flow screen dialog's required check (FlowRunner.tsx, new exported isUnanswered) counts a string that is empty once trimmed as missing, as the engine's isPresent does. Three spaces in a required field are refused under the field with the same validation.required message an empty field gets, focus moves there, and no resume request is made. An unchecked false and 0 stay answers.

Wire: a screen refusal names its fields in a structured slot. 400 INVALID_SCREEN_INPUT now carries error.details.fields: one { field, code, message } per violated screen field, code an ADR-0114 FieldErrorCode (required, invalid_type, invalid_value, min_value, max_value, unknown_field). These are the entries VALIDATION_FAILED already serves in the same slot, and each parses under FieldErrorSchema.

  • @objectstack/spec: AutomationResult gains the optional fields?: FieldError[], set with code: 'INVALID_SCREEN_INPUT' only, and TriggerFlowResponseSchema.data mirrors it as z.array(FieldErrorSchema).optional() (the Two packages/spec route response schemas declare a data NARROWER than the contract their route relays — AnalyticsResultResponseSchema and TriggerFlowResponseSchema #13078 identity pin TriggerFlowDataMatchesContract holds the two equal). The generated reference page content/docs/references/api/automation-api.mdx is regenerated.
  • @objectstack/service-automation: refuseInvalidScreenInput fills it from the validateScreenInputs issues it already computed.
  • @objectstack/runtime: classifyResumeResult serves it as details.fields on that row only, so the REST door and MCP resume_run answer it alike. Another row, or an empty list, serves no details, as before.
  • error.message is byte-identical: the sentence with the declared field names stays for logs and API callers.

Console: the refusal is placed at its fields, in the user's language. interpretFlowResponse reads the findings (screenInputFindings, { field, code } only) onto a failed outcome's new screenInput. FlowRunner marks each on-screen field named, by the label it shows and in the display language: required → validation.required, a bound → validation.min / max when the field declares it, anything else → new flowRunner.fieldNotAccepted. Focus moves to the first. The banner and toast read new flowRunner.invalidScreenInput instead of the engine's sentence, also from a server that sends no findings. Both keys are in all 11 locales. The #36831 re-read of the run before a retry is unchanged and still runs first.

Docs: content/docs/automation/flows.mdx § A screen resume is checked against the declared fields documents details.fields and the runner's behaviour.

Why

The card measured on 18.6.0 (zh-CN console, HotCRM Close Case): three spaces in the required resolution passed the dialog, the engine trimmed and refused, and the dialog showed Invalid screen input: Screen field "resolution" is required — declared fields: 'resolution', 'resolved_by_article' verbatim. Premise re-read on main 33a31dc: the dialog's check did not trim (FlowRunner.tsx:848-849), the engine's does (screen-input-contract.ts:58-59), and the refusal envelope carried only details.code. The dialog's own header said why the sentence stayed in the banner: "the envelope names no field in a structured slot, so placing it at a field would mean parsing prose". This PR adds that slot instead of parsing.

Verification

  • service-automation builtin/screen-input-whitespace-fields-37526.test.ts (real AutomationEngine, Close Case screen): ' ' refused required with fields and the unchanged sentence, the pause kept; one entry per violated field (required, min_value, unknown_field); a real answer resumes with no fields.
  • runtime domains/automation-resume-screen-input-fields-37526.test.ts (REST resume door): details.fields served, message unchanged, the envelope parses under ApiErrorSchema and each entry under FieldErrorSchema; an empty list and another row serve no details. automation-resume-refusal-codes.test.ts (every row: empty details when the engine sends no fields) and mcp-resume-run.test.ts stay green.
  • app-shell FlowRunner.whitespaceRequired-37526.test.tsx (7 tests): spaces refused at the field in en and zh with no request; findings placed by label (Resolution is required, Hours must be at least 0), focus on the first, catalog banner and toast, no API field name on screen; zh banner and fieldNotAccepted message; no findings → catalog banner, no field marked; editing retires the message and the resubmit completes. Ablation: against main's FlowRunner.tsx and flowResponse.ts, 7 of 7 red.
  • Two existing pins moved, same intent (a retryable refusal keeps the screen, values and Submit): FlowRunner.requiredAtField-26882.test.tsx and FlowRunner.resumeResult.test.tsx asserted the engine's sentence in the banner. They now assert the catalog sentence, and that the engine's is absent.
  • Suites: service-automation screen + resume 30 files / 345 tests; runtime resume + http-dispatcher 40 / 825; client automation-resume 1 / 8; ui i18n + all FlowRunner* + flowResponse 132 / 2237 (13 skipped).
  • spec: api/automation-api* + contracts 58 files / 585 tests; check:generated 14 of 14 green (incl. check:test-typecheck, which caught the missing Zod mirror first).
  • tsc --noEmit: service-automation and runtime exit 0. app-shell tsc and tsconfig.test.json show no error in the changed files (the 6 / 7 errors are in untouched files, from stale local dists of other ui packages). eslint on the changed files: 0 errors.
  • overlap-check clean against origin/main d92684a and 1 PR head (feat(spec)!: form is a metadata type of its own, and the form doors read a form over both types #37422, shares the locale files and the generated reference page, merges cleanly).

Small decisions (dev thread)

  • What details.fields[].message carries, and why it is there. The claim said the findings would carry no message with author keys. The PR uses the existing FieldErrorSchema entry { field, code, message } instead of a new two-member shape, because message is required there and the slot is the one VALIDATION_FAILED already fills. The message is the engine's English line for that one finding, verbatim, and it is a substring of error.message, which this PR does not change: Screen field "resolution" is required, Screen field "hours" must be at least 0, Unknown screen field "nickname" — not declared on this screen. So it names the field by its machine name, which field names anyway. For unknown_field it echoes the key the CALLER sent. It never carries the declared-fields list, the other fields' names, or a value. Nothing new reaches the wire: every string in details.fields was already in the same response's error.message. The console never renders message. screenInputFindings keeps only { field, code }, and the text under a field is the console's own catalog sentence with the field's label. The server log is unchanged: the findings ride its structured slot ({ issues }), never its message (finding(service-automation): engine.ts's five name-shaped splices — author-metadata / caller-supplied identifiers interpolated into log messages with no newline constraint #6654).
  • Bounds read the field's own declaration. A min_value / max_value finding reads as validation.min / max with the limit taken from the screen field's declared min / max, because the engine's entry carries no constraint. Without that declaration it falls back to flowRunner.fieldNotAccepted.
  • Toast kept beside the banner. On an engine refusal the dialog keeps the toast plus banner it already raised for every resume failure (c40f3b8ca), now with the catalog sentence. Only the client-side required refusal raises no toast (Screen flow dialog: an empty required field makes Submit a silent no-op, and a refused submit removes Submit so the user must close and retype everything #26882), and that is unchanged.

Clause-②: yes (widening)
Metadata-protocol: none

Owed: L1 (seat); L2 (seat arranges: the new optional details.fields member on 400 INVALID_SCREEN_INPUT and AutomationResult.fields).

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (The wire member is Zod on TriggerFlowResponseSchema, element FieldErrorSchema; the contract interface mirrors it.)
  • 2. Every name I added uses the casing for its kind.
  • 3. No formatter ran; pnpm lint passes.
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset.
  • 6. packages/spec touched: its generated artifacts are regenerated and committed. (gen:docs; check:generated 14 of 14 green against a fresh build)
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English.
  • The Before Submitting list in CONTRIBUTING.md is done.

🤖 Generated with Claude Code

https://claude.ai/code/session_01L6bhgU7eeqHgQrtv5CeJK6


Generated by Claude Code

…t the field, and a screen refusal is placed at its fields in the user's language

The flow screen dialog's required check trims, as the engine's does. The
engine's INVALID_SCREEN_INPUT result carries its findings as fields, the
resume door serves them in error.details.fields, and the dialog marks each
field it names by its label in the display language, with a catalog banner
instead of the engine's sentence.

Claude-Session: https://claude.ai/code/session_01L6bhgU7eeqHgQrtv5CeJK6
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/l documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 26, 2026
@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 3 package(s): @objectstack/runtime, @objectstack/service-automation, @objectstack/spec, touching 7 documentable anchor(s).

6 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:

  • content/docs/api/client-sdk.mdx (via AutomationResult (symbol, a top-level interface), /api/errors.zod (route, a path literal on a changed line))
  • content/docs/api/declarative-endpoints.mdx (via /api/v1/automation/:name/trigger (route, bridged from symbol TriggerFlowResponseSchema — its route source's handler names it))
  • content/docs/api/error-catalog.mdx (via /api/errors.zod (route, a path literal on a changed line))
  • content/docs/automation/flows.mdx (via AutomationResult (symbol, a top-level interface), INVALID_SCREEN_INPUT (literal, a string literal in a comment in AutomationResult; a string literal in classifyResumeResult), /api/v1/automation/:name/trigger (route, bridged from symbol TriggerFlowResponseSchema — its route source's handler names it))
  • content/docs/protocol/kernel/error-handling.mdx (via /api/errors.zod (route, a path literal on a changed line))
  • content/docs/protocol/kernel/http-protocol.mdx (via /api/v1/automation/:name/trigger (route, bridged from symbol TriggerFlowResponseSchema — its route source's handler names it))

⛔ 5 release-owned page(s) also name something this change touched. These are read-only:

  • content/docs/releases/v17/17-1.mdx (via AutomationResult (symbol, a top-level interface))
  • content/docs/releases/v17/17-3.mdx (via AutomationResult (symbol, a top-level interface))
  • content/docs/releases/v17/17-6.mdx (via AutomationResult (symbol, a top-level interface))
  • content/docs/releases/v17/17-7.mdx (via INVALID_SCREEN_INPUT (literal, a string literal in a comment in AutomationResult; a string literal in classifyResumeResult))
  • content/docs/releases/v18/18-2.mdx (via INVALID_SCREEN_INPUT (literal, a string literal in a comment in AutomationResult; a string literal in classifyResumeResult))

content/docs/releases/ is RELEASE-OWNED (AGENTS.md "Documentation Guardrails"): release
notes are written centrally at release time, and a code PR that edits them is the exact PR
that guardrail exists to stop. They are still audited — read-only. If one of them is actually
wrong, file an issue or open a dedicated docs-only PR; do not edit it here.

What this run could not see
  • the SDK route bridge reached 69 of 252 client-bound route-ledger rows — the other 183 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 183: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 124 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 182 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 87af66e5b6c75af7989ecbdc8820f1ca4a66596a → packageMentionDocs.

Which tree this was computed on

This run read content/docs from b00e8b53c31815e5a4fb3d21282f5176ab98c422 — the merge of head 275dd464efd6bf1b7b0acdf42afe759ce2bbedf6 into base 87af66e5b6c75af7989ecbdc8820f1ca4a66596a, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin b00e8b53c31815e5a4fb3d21282f5176ab98c422 && git checkout b00e8b53c31815e5a4fb3d21282f5176ab98c422
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 87af66e5b6c75af7989ecbdc8820f1ca4a66596a 275dd464efd6bf1b7b0acdf42afe759ce2bbedf6 && git checkout -B drift-repro 87af66e5b6c75af7989ecbdc8820f1ca4a66596a && git merge --no-ff 275dd464efd6bf1b7b0acdf42afe759ce2bbedf6

node scripts/docs-audit/affected-docs.mjs --json 87af66e5b6c75af7989ecbdc8820f1ca4a66596a

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs 87af66e5b6c75af7989ecbdc8820f1ca4a66596a → pass the list as
args.docs, on the commit named under Which tree this was computed on.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

Final head for review: 275dd464. CI is green on it: every check run on the head is success or an expected skip, with none failed or pending, including all 16 Test UI and 10 Test Core shards.

Since the PR opened, 275dd464 adds a module-top import '@objectstack/metadata' to the new runtime pin (automation-resume-screen-input-fields-37526.test.ts), as check:test-source-alias prescribed. The dispatcher's reach loads it lazily, so the first load is now paid at collection and not inside a case's timeout. The red runs on cffcc03c were that gate plus lanes cancelled by the push.

Owed: L1 and L2 (seat). The L2 surfaces are the optional details.fields on 400 INVALID_SCREEN_INPUT, AutomationResult.fields with its TriggerFlowResponseSchema Zod mirror, and the regenerated automation-api.mdx. What details.fields[].message carries is in the body's Small decisions.


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 275dd464efd6bf1b7b0acdf42afe759ce2bbedf6
Local-runs: none
Scope: packages/spec/src/api/automation-api.zod.ts, packages/spec/src/contracts/automation-service.ts + packages/services/service-automation/src/engine.ts, packages/runtime/src/domains/automation.ts, ui/packages/app-shell/src/utils/flowResponse.ts, ui/packages/app-shell/src/views/FlowRunner.tsx

First round. Read: card #37526 with its two comments, the PR body and its two comments, the 25-file net diff against main, and the 70 check-runs on the head (each success or skipped; none red, none pending). The tests, the changeset text, the two docs pages and the eleven locale files are outside this scope and stay with the lane seat's ACCEPT; the locale files and the docs pages were read only to answer ③.

① Derived judgments

  • Accept set of the resume route: unchanged. validateScreenInputs (screen-input-contract.ts) is not in the diff. The engine hunk adds one member to a refusal it already returned; no refusal is added and none is removed. Right.
  • AutomationResult.fields?: FieldError[]: a new optional member on a published contract interface. Additive for every implementer and every reader of IAutomationService. Right, a widening.
  • TriggerFlowResponseSchema.data.fields: z.array(FieldErrorSchema).optional(), the Zod mirror that the compile-time identity TriggerFlowDataMatchesContract (automation-api.zod.test.ts:55) requires. TypeScript Type Check is green on the head, so the two sides are the same type. No route serves the member inside data: a screen refusal is a resume answer and leaves as a 400. That is the standing shape of this schema (the resume-refusal members of code are mirrored the same way), and the describe says where a transport serves it. Right.
  • Wire: 400 INVALID_SCREEN_INPUT gains error.details.fields at both doors classifyResumeResult feeds, the REST resume arm (automation.ts:5050) and MCP resume_run (mcp.ts:2822). splitSemanticCode (error-envelope.ts:100) promotes code and leaves the rest, so the envelope reads details: { fields }, and with no findings it carries no details, as on main. error.code, error.message, the status and the six other rows are unchanged. Right, a widening.
  • One derived widening the PR does not name: @objectstack/client already lifts error.details.fields onto the error it throws (packages/client/src/index.ts:8685), so SDK callers now get err.fields on this refusal. No byte of that package moves, so it owes no changeset entry. Right.
  • Console: the dialog's required check now refuses a string that is empty once trimmed. isUnanswered is the exact negation of the engine's isPresent (screen-input-contract.ts:58). It changes what the dialog sends, never what the route accepts. Right.
  • Metadata protocol: no authorable key, accepted value or metadata type changes. ScreenFieldSpec and the flow schemas are untouched, and both spec members are response-side. Metadata-protocol: none holds.
  • Generated output: the one regenerated row in content/docs/references/api/automation-api.mdx carries the new describe; check:docs rides TypeScript Type Check, green.

② Semver level

  • .changeset/37526-screen-required-whitespace.md takes patch on @objectstack/spec, @objectstack/service-automation, @objectstack/runtime, @object-ui/app-shell and @object-ui/i18n: the five packages whose source the diff moves, and no sixth package's source moves. A non-protocol widening ships patch (AGENTS.md, Post-Task Checklist 3). Matches.
  • The Clause-②: yes (widening) line stands at the start of a line on the PR body and in the changeset, and it holds: the published surface grows by one optional member, declared twice, and nothing narrows.
  • Metadata-protocol: none stands on both carriers and holds (①).

③ Boundary flags

  • Dev flag, PR body Small decisions 1. The claim on the card promised details.issues entries of field and code with no message; the PR serves details.fields entries of { field, code, message }. Answered, accepted. fields is the name ADR-0114 D4 fixed for this slot; FieldErrorSchema requires message; an English producer line in the same slot has precedent on main (the flow-definition door, automation.ts:4318). Each message is a substring of the unchanged error.message, so no string reaches the wire that the same response did not already carry. FieldErrorSchema.message describes itself as rendered in the caller's locale; the new member's describe says outright that this producer's line is English, so the member is accurate where the element's general describe is not. The Console drops message (screenInputFindings keeps field and code), which is what holds the card's second acceptance line.
  • Dev flag, Small decisions 2 (a bound finding reads the limit off the screen field's own min / max). Answered, holds. The engine raises min_value / max_value only off a numeric min / max on the served screen field, the same field spec the dialog renders, so the fall-back to flowRunner.fieldNotAccepted is reached only against a spec that lacks the bound.
  • Dev flag, Small decisions 3 (toast kept beside the banner). UI behaviour with no contract effect; the lane seat's.
  • PR comment 7199609005's face list (details.fields, AutomationResult.fields with its Zod mirror, the regenerated page): complete for the spec. The SDK effect in ① is the one addition.
  • Docs. Of the six hand-written pages the docs-drift advisory names, content/docs/automation/flows.mdx is the one that describes this refusal; its new paragraph agrees with the runtime. The other five state nothing this diff makes false. Prose faces, left to the lane seat.
  • Locale keys. The dialog reads flowRunner.invalidScreenInput, flowRunner.fieldNotAccepted, validation.required, validation.min and validation.max. All eleven locale files carry all five, the two new ones inside flowRunner, with the {{field}} / {{min}} / {{max}} slots the calls pass.
  • open_questions: none on the card or the PR.
  • SQL push-down: the diff holds no query, no id materialisation and no in-app join.
  • Author: objectstack-fleet[bot]; no note owed.

④ Design judgment

packages/spec/src/contracts/automation-service.ts holds against the code it describes:

  • the six codes it lists are the six validateScreenInputs raises, no more and no fewer;
  • "Set with that code only": the one producer is refuseInvalidScreenInput (engine.ts:9621-9631), returned as it is by run-resume.ts:1694, and the door serves the member under that code alone (automation.ts:3708);
  • "A transport serves it as error.details.fields": both doors do, through the one table;
  • "error keeps the whole sentence": the sentence is untouched.

packages/spec/src/api/automation-api.zod.ts holds: the element is FieldErrorSchema, the identity pin binds it to the contract, and its first consumer (screenInputFindings, then screenInputFieldErrors) reads exactly field and code. The new runtime pin parses the served envelope under ApiErrorSchema and each entry under FieldErrorSchema.

Implementing files agree with the contract: engine.ts copies each finding's three members and adds none; automation.ts serves them under the one code and only when the list is non-empty; flowResponse.ts and FlowRunner.tsx place by field and code and never render message.

Tried to break it, and it held:

  • a result carrying fields under another code is not served;
  • an empty list serves no details;
  • two findings for one field: the dialog keeps the first;
  • a finding for a field that is not on screen (an undeclared key, a field hidden on the client): banner only, no field marked;
  • a server that serves no findings: [], the catalog banner;
  • the client's and the engine's presence predicates: identical, for strings, null, undefined, false and 0.

No must-fix, no should-fix.

N1 (nit) — "one entry per violated field" (the contract jsdoc and the schema describe, and from there the reference page, flows.mdx and the changeset) is one entry per finding. A record_link field declared required and sent null gets required and invalid_value; a field declared with min above max can get both bounds. And for unknown_field, field is the key the caller sent, not a screen field's name. No code reads the sentence, and the Console handles both cases. Accepted deviation on this head: a describe fix moves a reviewed file and its generated page. Fold it into the next edit of that jsdoc.

N2 (nit) — the jsdoc on ScreenInputIssue.code (screen-input-contract.ts:44-46, outside the diff) still says these codes "ride inside the refusal's message"; with the engine hunk they ride fields. Comment only; same follow-up as N1.

Implemented-by: claude/project-thread-axt9gn
Reviewed-by: session_01L6bhgV6i8jfWwSXjpWJrjA

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

席位核对 — ACCEPT · head 275dd46 · card #37526 · area s2-ux-P · 2026-11-26T18:01Z

L1 checklist

  • Shape and relation. l1-face.mjs --pr 37643 read 13 items and flagged none: 61 success, 9 expected skip, none failed or pending. 25 files, 677 lines.
  • Fixes #37526 is right. A flow resume refused for invalid screen input now answers each finding under error.details.fields (REST resume and MCP resume_run), and the Console run dialog shows them per field in all 11 locales; error.code, error.message and the other refusal rows are unchanged.
  • Contract review. Record 7199938860 on this head: PASS, no must-fix, no should-fix, nits N1 and N2. Adopted, including the reviewer's note that @objectstack/client already lifts error.details.fields onto the thrown error, so SDK callers get err.fields here with no byte of that package moving.
  • Declarations. Clause-②: yes (widening), Metadata-protocol: none, patch on the five packages whose source moves: true for one optional response member declared on the contract and mirrored by the Zod schema (bound by the compile-time identity).
  • Small decisions. The message slot per ADR-0114 D4 is accepted. The new runtime pin is its own file beside automation-resume-refusal-codes.test.ts; that directory already keeps one file per resume topic (seven automation-resume-* files), so it follows the local layout; accepted.
  • Follow-ups. N1 (one entry per finding, not per field) and N2 (stale ScreenInputIssue.code jsdoc) go to review follow-ups of PR #37643: screen-input refusal fields wording (one entry per finding, stale code jsdoc) #37659 (review follow-ups of PR fix(automation): a screen flow refuses a required field of only spaces at the field, and a screen refusal reaches the user at its fields in their language #37643, p3).
  • Governance. check-governed-merges.mjs: not governed, 677 lines. Tier S.

Tier: S. Landing: ready + auto-merge by this stroke.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 26, 2026 18:02
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit 712df42 Nov 26, 2026
71 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-axt9gn branch November 26, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/l tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

2 participants