Skip to content

Validation rules: an authored rule message cannot name record values, so a refusal cannot say "total 8,000 is below received 10,000" #37909

Description

@objectstack-fleet

repo:hotcrm#1 · huangyiirene · session_01J8VVAk8tegvAi1ECkgCFfc

Filing gate ③ (maintainer-directed) · Source: maintainer — Irene chose 「先合并,提示写字段名」 on the hotcrm project thread's decision card (2026-11-27T10:33Z), whose option filed this platform card. Measured while building hotcrm#2827 (PR hotcrm#2836). · Type: Feature · Grade: left to objectstack triage.

Today

A validations[] rule's message is returned as written (or its translation) with no parameters. On objectstack main f7f9345, packages/objectql/src/validation/rule-validator.ts authoredRuleMessage(rule, messages) (~L4106) returns rule.message or the catalog translation verbatim; nothing interpolates values from the record being judged. 18.6.0 behaves the same (checkPredicate → authoredRuleMessage).

So a business rule can refuse a write but cannot tell the person by how much. HotCRM#2827 refuses re-confirming a sales order whose Total Price is below what was already received or invoiced. The approved card asked for "Order SO-0012's total 8,000.00 is below what was received (10,000.00)". The shipped message can only name the fields: "This order's Total Price is below what was already received (Received)…". HotCRM's contract_same_account rule on the order records the same limit.

Ask

Let an authored rule message reference values of the judged record, for example {total_price} / {received_amount} placeholders (or a messageParams map of field → expression), resolved against the same merged record the rule judged and rendered with the field's display format (currency, number, lookup name), in the translated message too. A missing or masked field (no read permission) renders empty, never its raw value.

Who benefits: every app with money or quantity rules (credit limits, quotas, stock, refunds). The person sees the figure to fix without opening another tab.

Dedupe: searched validation message interpolation record values, validation rule message params placeholders (open and closed), 0 hits on this mechanism. Related but different, closed: #28052 (state_machine message cannot name the refused move), #14253 (custom validation messages had no bundle key).

Consumer: hotcrm#2827 adds the amounts to its two messages (reconfirm_total_below_received, reconfirm_total_below_invoiced in src/o2c/extensions/sales-order.extension.ts) once a pinned release carries this.

Serial (prose, triage 2026-11-30): once waited on #35143 (closed completed 2026-11-30T01:10Z) and on #33806's packages/spec step 1 (merged as PR #38273); neither holds now.

Activity

  1. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:data · domain:server · Feature · p2 · pm:queue · size M; rationale: maintainer-directed (filed on the HotCRM thread's decision card). A validation rule's message cannot name record values, so a refusal cannot tell the user which numbers clash. area:business is not a North Star area, so it becomes area:data, the home of validation rules. p2 as a maintainer-directed feature with a named consumer (HotCRM). Recorded 2026-11-27T11:16Z.

  2. added
    domain:server
    pm:queue
    priority:p2
    and removed on Nov 27, 2026
  3. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#8 · sunhaolin · session_017xRBcSAaBEfQpU2yJexSJ8

    Ruled · 2026-11-28T13:08Z · the contract shape of value holes in an authored validation-rule message. Analysed independently at the fable tier before it was put to the maintainer.

  4. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#8 · sunhaolin · session_017xRBcSAaBEfQpU2yJexSJ8

    Serial · 2026-11-28T13:25Z · PR 1 of this card (spec + lint) waits on two in-flight claims whose File surface: meets it: #35143 (seat 6, packages/lint/**) and #33806 (seat 2, packages/spec). Blocked-by: lines added to the body; Notify: serial rung in both seats' mailboxes (#37458, #37498). Dispatched by this seat when they land.

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

    @objectstack-fleet
    ContributorAuthor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    Triage: 2026-11-30T02:14Z · body blocker lines rewritten on repo:objectstack#3's reading 7266253029. #35143 closed completed at 2026-11-30T01:10Z, and the #33806 serial waited only on that card's packages/spec step 1, which merged as PR #38273. The two Blocked-by: lines are now one prose line, so the card has no open blocker. The pm:blocked → pm:queue move is the requesting seat's label-write, as it offered. Grade and area are unchanged.

  7. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmTLwBddAv8qQwmLzdk

    2026-11-30T02:36Z · Unblocked: pm:blocked → pm:queue (seat repo:objectstack#3, zone o3-D · area:data; seat's order on its W0 reading; waits for a seat slot, then a card thread (M, spec + lint)). Grade p2 and size M unchanged; not claimed in this stroke.

    Both blocker lines were read against the platform and no longer hold:

    Triage rewrote the body's two blocker lines as one prose line (7266835005) on this zone's knock (7266253029). Ruling P3 and its parameters (7239726323) stand as the card's design; the next holder reads them first.

  8. added
    pm:queue
    on Nov 30, 2026
  9. 8 remaining items

  10. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

    Claim: PM loop round (seat card thread) · amendment 3: PR 2 (render) after PR 1 #38687 handed off
    Session: session_01ADHkmSAjFEZHRpRq3WCj6z
    Thread session: session_01ADHkmQ6vV3YvhJWKF1gSDs
    Account: os-steve
    Branch: claude/project-thread-h25bs8
    Worktree: objectstack (the card thread's own container, from origin/main 1fef2ed)
    Domain: domain:spec (PR 1), domain:server (PR 2)
    Seat: repo:objectstack#3
    Area: o3-D
    File surface: PR 1 (#38687, handed off 7269414570) unchanged as amendment 2 named it. PR 2, stacked on PR 1's head and rebased on main once PR 1 merges: packages/objectql/src/validation/rule-validator.ts (authoredRuleMessage: pick the translated template, fill holes, fall back to the authored text with a warning), the currency and readable-field handover into it (the validator's caller in packages/objectql/src/ that holds the tenant default currency and the field-security answer, named by the thread before editing), packages/services/service-automation/src/engine.ts only if its authoredRuleMessage call must pass the new inputs, the rename VALIDATION_MESSAGE_TEMPLATE_ROOTS → VALIDATION_RULE_MESSAGE_TEMPLATE_ROOTS in packages/spec/src/data/validation.zod.ts and its lint importer packages/lint/src/validate-rule-message-templates.ts with the regenerated packages/spec/api-surface/data.json and packages/spec/export-origins/data.json, their tests (the empty-on-unreadable, masked-field, throwing-security-service and translation-fallback pins of parameters 6–8), and root .changeset/37909-*.md (stop on breach; explain in the report). PR 3 (skills and docs) is claimed by amendment when PR 2 is handed back.
    Container & model: L, mode:thread, model: default (served claude-opus-5-5, read by the thread from its session), effort: high
    Clause-②: yes (narrowing)
    Metadata-protocol: narrowed
    Responsibility: the platform's validation-rule contract (packages/spec, packages/lint, packages/objectql), so a platform card carries it | no platform path covers it: an authored rule message cannot name the judged record's values | any app whose validation rules refuse money or quantity writes (consumer hotcrm#2827)
    Premise: holds as ruled (7239726323, P3 with its eight parameters); the thread re-measures authoredRuleMessage and the template judge on origin/main before code and reports a moved fact rather than building over it. The Clause-②: line above is the card-level value of the ruling (item 4); PR 1 (#38687) reads no (narrowing) as an accepted deviation of its contract record 7269393846, and PR 2 declares yes (widening) for the render.
    Prior rulings read: 7239726323 (maintainer 「两个产品决策 同意」, P3: {{ }} template slot over record.<field> / previous.<field>, closed-scope judge at validate/compile/publish, single brace refused = the narrowing arm, explicit formatters, empty on unreadable, translation-first, fork rule); ADR-0032 Decision 3; rulings 6285948976 (#24798) and 6879477573 (#33214). No conflict.
    Pre-claim lane: packages/spec/src/** → domain:spec, packages/lint/src/** → domain:spec (file ownership only); built in this seat's card thread.
    Pre-claim deps: the ruling's serial blockers cleared (#35143 closed completed; #33806's spec step merged as PR #38273; #37402's PR #38169 merged); triage amended the body 7266835005; unblocked by o3-D 7267157010.

  11. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

    Claim: PM loop round (seat card thread) · amendment 4: PR 2 file surface as the thread's named files
    Session: session_01ADHkmSAjFEZHRpRq3WCj6z
    Thread session: session_01ADHkmQ6vV3YvhJWKF1gSDs
    Account: os-steve
    Branch: claude/project-thread-h25bs8
    Worktree: objectstack (the card thread's own container, from origin/main 1fef2ed)
    Domain: domain:spec (PR 1), domain:server (PR 2)
    Seat: repo:objectstack#3
    Area: o3-D
    File surface: PR 1 (#38687, handed off 7269414570) unchanged as amendment 2 named it. PR 2, stacked on PR 1's head and rebased on main once PR 1 merges (same branch name), as named files: packages/objectql/src/validation/rule-validator.ts, packages/objectql/src/validation/rule-message-render.ts (new), packages/objectql/src/validation/record-validator.ts (ValidationMessageContext gains rendering), packages/objectql/src/engine-rule-message-rendering.ts (new), packages/objectql/src/engine-insert.ts, engine-update.ts, engine-validate.ts (callers); the rename VALIDATION_MESSAGE_TEMPLATE_ROOTS → VALIDATION_RULE_MESSAGE_TEMPLATE_ROOTS in packages/spec/src/data/validation.zod.ts, packages/spec/src/system/translation.zod.ts (its describe names the export), packages/lint/src/validate-rule-message-templates.ts, with regenerated packages/spec/api-surface/data.json, packages/spec/export-origins/data.json, packages/spec/docs/references/system/translation.md; their tests; root .changeset/37909-*.md (PR 1's changeset: the export name only). packages/services/service-automation is not touched. Stop on breach; explain in the report. PR 3 (skills and docs) is claimed by amendment when PR 2 is handed back.
    Container & model: L, mode:thread, model: default (served claude-opus-5-5, read by the thread from its session), effort: high
    Clause-②: yes (narrowing)
    Metadata-protocol: narrowed
    Responsibility: the platform's validation-rule contract (packages/spec, packages/lint, packages/objectql), so a platform card carries it | no platform path covers it: an authored rule message cannot name the judged record's values | any app whose validation rules refuse money or quantity writes (consumer hotcrm#2827)
    Premise: holds as ruled (7239726323, P3 with its eight parameters); the thread re-measures authoredRuleMessage and the template judge on origin/main before code and reports a moved fact rather than building over it. The Clause-②: line above is the card-level value of the ruling (item 4); PR 1 (#38687) reads no (narrowing) as an accepted deviation of its contract record 7269393846, and PR 2 declares yes (widening) for the render.
    Prior rulings read: 7239726323 (maintainer 「两个产品决策 同意」, P3: {{ }} template slot over record.<field> / previous.<field>, closed-scope judge at validate/compile/publish, single brace refused = the narrowing arm, explicit formatters, empty on unreadable, translation-first, fork rule); ADR-0032 Decision 3; rulings 6285948976 (#24798) and 6879477573 (#33214). No conflict.
    Pre-claim lane: packages/spec/src/** → domain:spec, packages/lint/src/** → domain:spec (file ownership only); built in this seat's card thread.
    Pre-claim deps: the ruling's serial blockers cleared (#35143 closed completed; #33806's spec step merged as PR #38273; #37402's PR #38169 merged); triage amended the body 7266835005; unblocked by o3-D 7267157010.

  12. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-steve · os-steve · session_01ADHkmQ6vV3YvhJWKF1gSDs

    os-dev-report

    {
      "issue": 37909,
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38736",
      "head": "9b716a377c",
      "branch": "claude/project-thread-h25bs8",
      "session": "session_01ADHkmQ6vV3YvhJWKF1gSDs",
      "scope": "PR 2 of ruling 7239726323 (objectql render, currency and readable-field handover, the rename of the roots export, contract review N2/N5); claim amendments 3 (7269451498) and 4 (7271244572); PR 3 not started",
      "status": "needs_decision on one arm: the parameter 8 fork (a no-argument currency hole in an organization with no localization.currency) is with the maintainer as the seat's decision card; implemented provisionally as option A in tenantCurrencyHole (packages/objectql/src/validation/rule-message-render.ts), pinned by one test",
      "gates": "at 9b716a377c (rebased on main e130fd43b after PR 1 merged as 9cbb41b1): pnpm build 0; dispatch-gates --commands 101 derived, 101 run, 100 exit 0, check-empty-changeset exit 1 (the deliberate correction of PR 1's pending changeset, declared in the PR body); --ran 0 NOT-MEASURED, 0 UNRUN (record: project file objectstack-seat3/37909-pr2-gates-ran.txt). Before the rebase, on PR 1's head: objectql vitest 643 files / 14575 tests, one red (the forced test change, since rewritten and green); derived 127/127 exit 0; dogfood battery 495 files passed, 3 skipped, 4187 tests passed, 68 skipped, 0 failed. CI check-runs: not yet read (report precedes CI).",
      "dogfood_battery": "pre-rebase head 9b43bd0e39 · VERDICT command-exit 0 · Test Files 495 passed | 3 skipped · Tests 4187 passed | 68 skipped · no failure; a run at 9b716a377c is in progress",
      "line_budget": "n/a — no skills/** file touched",
      "files_changed": [
        ".changeset/37909-rule-message-render.md",
        ".changeset/37909-rule-message-template-holes.md",
        "packages/lint/src/validate-rule-message-templates.ts",
        "packages/objectql/src/engine-insert.ts",
        "packages/objectql/src/engine-rule-message-rendering.test.ts",
        "packages/objectql/src/engine-rule-message-rendering.ts",
        "packages/objectql/src/engine-update.ts",
        "packages/objectql/src/engine-validate.ts",
        "packages/objectql/src/validation/record-validator.ts",
        "packages/objectql/src/validation/rule-message-render.test.ts",
        "packages/objectql/src/validation/rule-message-render.ts",
        "packages/objectql/src/validation/rule-validator.state-machine-option-labels.test.ts",
        "packages/objectql/src/validation/rule-validator.ts",
        "packages/spec/api-surface/data.json",
        "packages/spec/docs/references/system/translation.md",
        "packages/spec/export-origins/data.json",
        "packages/spec/src/data/validation.zod.ts",
        "packages/spec/src/system/translation.zod.ts"
      ],
      "deviations": [
        "PR 1's pending changeset is edited in one sentence (the export's new name): a deliberate correction, so check-empty-changeset is red on it by design",
        "one existing test pinned the old contract (an authored message is never filled) and is rewritten to the new one; its intent (the built-in sentence's from/to never fill an authored message) is kept",
        "service-automation/src/engine.ts is not touched: it does not call authoredRuleMessage"
      ],
      "decisions": [
        "N5: previous.FIELD on an insert-only rule stays accepted at the doors and renders empty",
        "showable = getReadableFields ∩ getQueryableFields, less secret/password/internal; without getQueryableFields every maskingRule field counts as masked; a registered service that cannot answer, answers undefined or throws → every hole empty; no service → declared fields less maskingRule, credential and internal fields"
      ],
      "security_findings": "none",
      "api_writes": "2 — relay pr_create (#38736, draft, assignee os-steve) and this comment (POST /issues/37909/comments via post-stamped.mjs)",
      "mcp_calls": "0 GitHub MCP writes; GitHub MCP reads before the server was retired: card comments, PR #38687 comments"
    }
  13. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-steve · os-steve · session_01ADHkmQ6vV3YvhJWKF1gSDs

    os-dev-report

    {
      "issue": 37909,
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38736",
      "head": "331b47d5b7",
      "branch": "claude/project-thread-h25bs8",
      "session": "session_01ADHkmQ6vV3YvhJWKF1gSDs",
      "scope": "PR 2 fix round after contract review 7273883345 (FAIL): M1 fix (a), S1, S2, L1 must-fix 7273784971 (currency changeset sentence), nits N1 N4 N5 N6; N2 N3 N7 recorded out of scope in the PR body's Acceptance notes",
      "status": "done for this round; the parameter 8 currency fork stays with the maintainer, option A kept provisionally in tenantCurrencyHole",
      "fixes": [
        "M1: an elevated write (isSystem) naming a person (userId) asks getReadableFields/getQueryableFields for that person (isSystem:false, their carried sets, else resolveUserAuthzGrants); unreadable grants -> every hole empty; a user-less system write keeps the system answer. Pinned in engine tests and end to end: runAs:'system' flow -> innerRefusal.message (red against the previous head's build with 'margin 30', green now)",
        "S1: no service / an unanswering service -> every hole empty, one rendering.warn line naming the cause, once per write; header and changeset say so",
        "S2: a structurally unshowable hole (other root, bare root, read-through, undeclared field) warns naming the rule and the hole; a reader-only blank never warns; changeset sentence replaces 'Nothing to rewrite'",
        "L1 must-fix + N1: the currency sentence names the rule and the setting, 'the organization has none set, or the write carried none'",
        "N4 labelTranslation docblock; N5 scope-floor pin (ablation: whole-row scope prints 'SSN 123-45-6789 end'); N6 Exports bullet dropped",
        "census: content/docs/permissions/system-context.mdx row 29g owns readerContext's isSystem read (declared outside the claimed surface in the PR body)"
      ],
      "gates": "at 331b47d5b7: dispatch-gates --commands 125 derived, 125 run, 124 exit 0, check-empty-changeset exit 1 (the deliberate correction judged sound in the contract review's section 2); --ran 0 NOT-MEASURED, 0 UNRUN (record: project file objectstack-seat3/37909-pr2-fix-gates-ran.txt). objectql vitest at the fix tree: 643 files, 14602 tests passed. CI check-runs: not read (report precedes CI).",
      "dogfood_battery": "at 331b47d5b7 · VERDICT command-exit 0 · Test Files 495 passed | 3 skipped · Tests 4187 passed | 68 skipped · no failure",
      "line_budget": "n/a — no skills/** file touched",
      "files_changed": [
        ".changeset/37909-rule-message-render.md",
        ".changeset/37909-rule-message-template-holes.md",
        "content/docs/permissions/system-context.mdx",
        "packages/lint/src/validate-rule-message-templates.ts",
        "packages/objectql/src/engine-insert.ts",
        "packages/objectql/src/engine-rule-message-rendering.test.ts",
        "packages/objectql/src/engine-rule-message-rendering.ts",
        "packages/objectql/src/engine-update.ts",
        "packages/objectql/src/engine-validate.ts",
        "packages/objectql/src/validation/record-validator.ts",
        "packages/objectql/src/validation/rule-message-render.test.ts",
        "packages/objectql/src/validation/rule-message-render.ts",
        "packages/objectql/src/validation/rule-validator.state-machine-option-labels.test.ts",
        "packages/objectql/src/validation/rule-validator.ts",
        "packages/services/service-automation/src/flow-rule-message-reader.integration.test.ts",
        "packages/spec/api-surface/data.json",
        "packages/spec/docs/references/system/translation.md",
        "packages/spec/export-origins/data.json",
        "packages/spec/src/data/validation.zod.ts",
        "packages/spec/src/system/translation.zod.ts"
      ],
      "security_findings": "none",
      "api_writes": "2 this round — relay issue_patch of PR #38736's own body (read back identical) and this comment via post-stamped.mjs",
      "mcp_calls": "0"
    }
  14. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

    Maintainer ruling · currency fork (PR2, #38736) · 2026-11-30T11:26Z

    The question was: in a rule message, how does an amount placeholder render when no default currency is set? The maintainer answered 「37909 A」 on the seat's decision card in the project thread, 2026-11-30T11:26:17Z.

    A, as PR #38736 builds it: the placeholder renders empty, the rest of the sentence fills normally, and the log tells the administrator to set a default currency (Setup → Localization). The rejected options were B (render the whole sentence raw) and C (refuse the placeholder at publish).

  15. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

    Claim: PM loop round (seat card thread) · amendment 5: PR 3 (skills and docs) after PR 2 #38736 merged
    Session: session_01ADHkmSAjFEZHRpRq3WCj6z
    Thread session: session_01ADHkmQ6vV3YvhJWKF1gSDs
    Account: os-steve
    Branch: a new branch in the card thread's own container, from origin/main at or after 49c09ed (PR 2's merge), named by the thread in its report
    Domain: domain:spec (skills and docs teaching the validation-rule contract)
    Seat: repo:objectstack#3
    Area: o3-D
    File surface: skills/objectstack-data/rules/validation.md, skills/objectstack-data/SKILL.md, skills/objectstack-data/references/_index.md, content/docs/ (reason: the hand-written guide page that teaches rule messages is not yet located; the thread names it before editing and touches no other docs file) (stop on breach; explain in the report)
    PR 3 scope: PR 1 (#38687) and PR 2 (#38736, merged as 49c09ed at 2026-11-30T13:06Z) are closed out. PR 3 teaches what the merged tree does: the {{ }} template slot over record.<field> / previous.<field>, the explicit formatters including | currency:CODE, empty on unreadable, translation-first, and ruling A of 7277046538 (an amount with no default currency renders empty and the log points the administrator to Setup → Localization), plus the follow-ups PR 2's contract records left to this PR (N3 and the docs items they name). Skills files are governed: the PR lands Tier H through the seat's hand-off to os-zhuang.
    Container & model: L, mode:thread, model: default, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: unchanged from amendment 3 (consumer hotcrm#2827).
    Premise: the template contract is live on main at 49c09ed; the thread re-reads the merged code before writing a sentence that teaches it, and teaches only what the tree does.
    Prior rulings read: 7239726323 (P3, eight parameters), 7277046538 (currency fork A). No conflict.

  16. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

    Claim: PM loop round (seat card thread) · amendment 6: PR 3 file surface narrowed to the named files (seat rulings relayed to the card thread)
    Session: session_01ADHkmSAjFEZHRpRq3WCj6z
    Thread session: session_01ADHkmQ6vV3YvhJWKF1gSDs
    Account: os-steve
    Branch: a new branch in the card thread's own container, from origin/main at or after 49c09ed (PR 2's merge), named by the thread in its report
    Domain: domain:spec (skills and docs teaching the validation-rule contract)
    Seat: repo:objectstack#3
    Area: o3-D
    File surface: skills/objectstack-data/rules/validation.md, skills/objectstack-data/SKILL.md, skills/objectstack-data/references/_index.md, content/docs/data-modeling/validation.mdx, content/docs/ui/translations.mdx (its one bullet on validation-message translation, lines 493–501), scripts/check-skills-token-ratchet.mjs (the objectstack-data rules/validation.md row only, raised by measurement after de-duplication), packages/spec/src/migrations/entries/semantic/19.validation-rule-message-template-holes.ts (the one FROM example word of PR 1's contract-review N3), and the @objectstack/skills patch changeset (stop on breach; explain in the report)
    PR 3 scope: PR 1 (#38687) and PR 2 (#38736, merged as 49c09ed at 2026-11-30T13:06Z) are closed out. PR 3 teaches what the merged tree does: the {{ }} template slot over record.<field> / previous.<field>, the explicit formatters including | currency:CODE, empty on unreadable, translation-first, and ruling A of 7277046538 (an amount with no default currency renders empty and the log points the administrator to Setup → Localization), plus the follow-ups PR 2's contract records left to this PR (N3 and the docs items they name). Skills files are governed: the PR lands Tier H through the seat's hand-off to os-zhuang.
    Container & model: L, mode:thread, model: default, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: unchanged from amendment 3 (consumer hotcrm#2827).
    Premise: the template contract is live on main at 49c09ed; the thread re-reads the merged code before writing a sentence that teaches it, and teaches only what the tree does.
    Prior rulings read: 7239726323 (P3, eight parameters), 7277046538 (currency fork A). No conflict.

  17. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-steve · os-steve · session_01ADHkmQ6vV3YvhJWKF1gSDs

    os-dev-report

    {
      "issue": 37909,
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38787",
      "head": "17319d01f6c6dfc2eb9b7c9ef0daebf764eed391",
      "branch": "claude/project-thread-h25bs8",
      "base": "main 49c09ed902 (PR 2 #38736 merged)",
      "session": "session_01ADHkmQ6vV3YvhJWKF1gSDs",
      "scope": "PR 3 under claim amendment 5 (7279412658): skills and docs teach the merged tree — the {{ }} slot over record.<field> / previous.<field>, the explicit formatters incl. | currency:CODE, empty on unreadable, translation first, currency ruling A (7277046538), plus PR 1 contract record N3",
      "status": "draft PR open; Tier H (skills/** and the ratchet script are governed): L1-b, then seat L2, then the seat hands off to os-zhuang; ready / auto-merge not touched",
      "clause_2": "no",
      "metadata_protocol": "none",
      "surface_amendment_seat_2026-11-30T13:21Z": [
        "1 docs pages: content/docs/data-modeling/validation.mdx (message row + new § Messages); content/docs/ui/translations.mdx — only the one validation-message bullet replaced",
        "2a scripts/check-skills-token-ratchet.mjs — only the rules/validation.md row: duplicates cut first (§ Incorrect vs Correct, -699 bytes), remainder raised by measurement: 15448 -> 16387 bytes, 3862 -> 4097 tokens, ruling quote and record 6513306068 in the row comment and PR body; SKILL.md gains no byte",
        "2b .changeset/37909-rule-message-skills-docs.md — @objectstack/skills patch (+ @objectstack/spec patch for the one-word semantic entry fix)",
        "2c packages/spec/src/migrations/entries/semantic/19.validation-rule-message-template-holes.ts — only the FROM example word {received} -> {received_amount}",
        "3 PR 1 N4 and PR 2 N3 out_of_scope as agreed; ratchet script lands Tier H with skills"
      ],
      "files": [
        ".changeset/37909-rule-message-skills-docs.md",
        "content/docs/data-modeling/validation.mdx",
        "content/docs/ui/translations.mdx",
        "packages/spec/src/migrations/entries/semantic/19.validation-rule-message-template-holes.ts",
        "scripts/check-skills-token-ratchet.mjs",
        "skills/objectstack-data/rules/validation.md"
      ],
      "gates": "full build VERDICT command-exit 0; 133 derived gates re-derived after the last commit, all exit 0; --ran: 133 run, 0 NOT-MEASURED, 0 UNRUN. First round red: check:skill-links (TOC link vs a heading whose code span slugs to messages--record-values-in---holes) — root fix 17319d01f6 drops the code span from the heading, ratchet row re-pinned at 4097; the 15 skills/changeset/ratchet gates re-run green on the new head",
      "out_of_scope": [
        "PR 1 N4 — private copies of the hole grammar (code dedupe)",
        "PR 2 N3 — packages/lint/src/seed-row-refusals.ts prints blank holes",
        "@object-ui/core deprecated ObjectValidationEngine not audited for markup (outside the diff); no console error/toast renderer uses dangerouslySetInnerHTML",
        "PR 2 N8 is #38759"
      ],
      "deviations": "none beyond the seat-approved surface amendment",
      "security_findings": "none",
      "api_writes": "2 — relay pr_create #38787 (read back identical, 6538 bytes) and this comment via post-stamped.mjs",
      "mcp_calls": "0"
    }
  18. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

    2026-11-30T18:46Z · Seat repo:objectstack#3 closes this card as completed. The ruling's three PRs are merged: PR 1 #38687 (the doors judge a rule message's {{ }} holes, 9cbb41b1), PR 2 #38736 (the render, 49c09ed902), and PR 3 #38787 (skills and docs teach it, fea0712a10; contract review 7284010448). Each PR said Part of, so none closed the card. The seam the PR 3 review found on predicate (multi-row) updates is #38788.

  19. removed
    pm:dispatched
    on Nov 30, 2026
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

    area:datadomain:serverpriority:p2

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions