Skip to content

Flow node help in business words: approval config describe text and node palette descriptions are written for engineers (#27356 row 15, #27521 row 39) #27838

Closed

Description

@objectstack-fleet

domain:ui#3 · os-bill · session_01Utp6CaJoinvGQSbHeDaWBe

Filing gate: ③ triage-directed. Triage on #27356 (row 15) and #27521 (row 39) split each row into a Studio half (taken in a ui PR) and a producer half (the words themselves), which lives outside domain:ui. This card is the producer half of both rows.
Reach: observed on the 18.3.0 RC browser walkthrough at c4c515ad (admin, desktop); re-read on current main.
Reader who acts: domain:spec (the approval.zod.ts describe text) and the owner of the node descriptors (service-automation, plugin-approvals) for part 2.
Duplicate search: search_issues "flow node help engine prose describe business words approval excludeSubmitter ADR-0105 node palette description" → no open card covering it.

Observed

Studio shows the schema describe text as the field help on flow node inspectors, and the node descriptor description as the palette and node card text. Both are written for engineers:

  1. packages/spec/src/automation/approval.zod.ts
    • excludeSubmitter help names submitter_id, onEmptyApprovers, admin_rescue, fallbackApprovers and the quoted enum values.
    • Approver organization help opens with "ADR-0105 D9 —" and lists $root / $parent tokens.
  2. Node descriptor descriptions (palette, node cards):
    • packages/services/service-automation/src/builtin/http-nodes.ts: "HMAC-SHA256 secret → X-Objectstack-Signature", "durable outbox (retry/dead-letter)", "a literal, read as written".
    • packages/plugins/plugin-approvals/src/approval-node.ts node description.

Wanted

Help text an admin can act on: what the setting does to the request, in business words, with no ADR ids, internal field names or enum literals in the first sentence. Engineer detail can stay in JSDoc. Studio already clamps long help (PR #27832, Learn more above 120 chars), so the first sentence carries the meaning.

Part 1 is a spec describe change (check check-sdui-manifest / generated docs that quote it). Part 2 may need its own card if the descriptor owner is a different lane; split at claim.

Related: #27356 (row 15), #27521 (row 39), PR #27832.


Generated by Claude Code

Activity

  1. added
    enhancement
    pm:queue
    domain:spec
    pm:dispatched
    and removed
    pm:queue
    on Oct 30, 2026
  2. objectstack-fleet commented on Oct 30, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:spec#2 · os-tesla · session_01L9qibx5r5nhDMwpRs4SL6D

    Claim: PM loop round 3
    Session: session_01L9qibx5r5nhDMwpRs4SL6D
    Account: os-tesla
    Branch: claude/project-thread-4phsso (the card thread's designated push branch, the recorded platform exception to claude/issue-<n>-<slug>)
    Worktree: objectstack-issue-27838
    Domain: domain:spec
    Seat: domain:spec#2
    File surface: packages/spec/src/automation/approval.zod.ts describe copy (Part 1 only), regenerated artefacts and reference docs, translation bundles fed by these describes, tests pinning the copy, changeset (patch). Part 2 (node descriptors in service-automation / plugin-approvals) is outside domain:spec: a follow-up card the seat files. ⛔ no ui/** and no governed path (stop on breach; explain in the report)
    Container & model: S, mode:thread, model: TIER_DEFAULT, effort: high; describe copy only, no contract review owed unless a schema changes
    Clause-②: no (describe copy only)
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: none
    Premise: holds (re-read at origin/main 9f13ee81; the declaration named on the card still lacks the key)
    Serial constraints cleared: none (no open PR edits approval.zod.ts describes)
    Ruling-ref: none on the shape; dispatch authority = the maintainer's 「p3 也可以开发」 (2026-10-30T12:41Z) and 「每个座位并发可以5」 (2026-10-30T15:04Z); the card's filing gate ③ (triage-directed: the producer half of #27356 row 15 and #27521 row 39)

    Dispatched 2026-10-30T17:10Z to a card thread of the seat's project; the order lives in the project. ⛔ The thread posts no claim and writes no assignee.

  3. objectstack-fleet commented on Oct 30, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:spec#2 · os-tesla · session_01L9qibyR1YFTVfiVFt8svQ3

    os-dev-report

    {
     "issue": 27838,
     "status": "done",
     "branch": "claude/project-thread-4phsso",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/28233",
     "session": "session_01L9qibyR1YFTVfiVFt8svQ3",
     "premise_still_valid": true,
     "summary": "Part 1 only. Every describe in packages/spec/src/automation/approval.zod.ts (approver row, decision outputs, escalation, node config; 23 strings) now opens with one business-words sentence; excludeSubmitter no longer names submitter_id or route literals up front, organization no longer opens with a decision id. Engineer detail moved to JSDoc; keys/literals an author must write follow the first sentence. New sweep test pins the first-sentence shape over the whole published JSON schema; exclude-submitter §5 pins updated. Reference page regenerated; no translation bundle is fed by these describes.",
     "tests": "head fc57c565: pnpm --filter @objectstack/spec test -> Test Files 758/758, Tests 22559 passed + 1 todo, lock VERDICT command-exit 0; spec typecheck VERDICT command-exit 0. Reverse verification: approval.zod.ts restored from 3a2f4c00 with the fix committed -> 8 failed / 36 in the two describe test files; restored via git checkout HEAD, git diff HEAD empty.",
     "gates": "dispatch-gates --commands at fc57c565: 103 families run with stdin /dev/null, exit captured before any pipe; --ran: 103 derived, 103 run, 0 NOT-MEASURED, 0 unrun, 0 red. 7 first exited 3 (prerequisite: unbuilt dist / shallow clone), re-run after turbo build 116/116 and fetch --unshallow, all exit 0. check:generated green after --fix (check:docs only). CI check-runs: in_progress at report time.",
     "line_budget": "238 additions / 97 deletions, 5 files; no skills/** touched",
     "files_changed": [
      ".changeset/27838-approval-help-business-words.md",
      "content/docs/references/automation/approval.mdx",
      "packages/spec/src/automation/approval-describe-business-words-27838.test.ts",
      "packages/spec/src/automation/approval-exclude-submitter-25609.test.ts",
      "packages/spec/src/automation/approval.zod.ts"
     ],
     "deviations": [
      "origin/main moved 3 commits after the base (3a2f4c00 -> 3739d8d6), none touching this diff's files; not merged pre-PR (GitHub reports no conflict)."
     ],
     "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
     "mcp_calls": "5 — reads only: issue_read x4 (one transport error), pull_request_read x1; 0 writes",
     "api_writes": "2 — relay pr_create (PR 28233) + this os-dev-report comment via post-stamped",
     "open_questions": [],
     "out_of_scope_findings": [
      "Part 2 · carrier: the seat · service-automation http-nodes.ts HTTP descriptor: description 'Call an external HTTP endpoint. With `durable: true`, the call is enqueued on the messaging outbox with retry / dead-letter; otherwise it runs inline and returns the response.' -> 'Send a request to an outside web service: wait for its answer, or hand it off to be delivered in the background with automatic retries.'; method 'HTTP method (default GET; POST when durable) — a literal, read as written' -> 'The kind of request, such as GET or POST. GET by default; POST when the request is delivered in the background.'; durable 'Fire-and-forget via the durable outbox (retry/dead-letter) instead of inline request/response' -> 'Deliver the request in the background and keep retrying if it fails, instead of waiting for the answer; the flow does not see the response.'; timeoutMs 'Per-request timeout (ms)' -> 'How long to wait for an answer, in milliseconds.'; signingSecret 'HMAC-SHA256 secret → X-Objectstack-Signature — the secret itself, read as written' -> 'A shared secret used to sign each request, so the receiving service can check it came from you (sent as the X-Objectstack-Signature header).'; body '... a CEL value envelope ...' -> 'What to send: a fixed value, or an expression worked out on each run.' · dedupe words: http node descriptor description business words palette",
      "Part 2 · carrier: the seat · plugin-approvals approval-node.ts descriptor: description 'Route a record for human approval; suspends the flow until a decision, then continues down the approve / reject branch.' -> 'Ask people to approve or reject a record. The flow waits for their decision, then continues down the approve or reject path.' · dedupe words: approval node palette description",
      "carrier: none · noted, not filed · ui FlowNodeInspector.escalationOff-11660.test.tsx header comment quotes the old escalation enabled describe as governing text; stale quotation, meaning kept"
     ]
    }
  4. removed
    pm:dispatched
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:automationdomain:specenhancementpriority:p3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions