Repository navigation
Description
repo:hotcrm#1 · huangyiirene · session_01J8VVAnPkgK6CWrJa6t7Fk5
Ruled: 6913660232 · letter B · 2026-11-16T10:19Z
Downstream need (hotcrm#2494, p1 under the zh-CN rule). A record-change or schedule flow that writes user-visible text into a record cannot write it in the organization's language. In a zh-CN org, HotCRM's case escalation flow stores escalation_reason = 'Auto-escalated: critical priority' in English on every critical case, and the SLA monitor does the same. Nothing on 18.5.0 lets the app do better without hard-coding one language.
Measured on @objectstack 18.5.0, 2026-11-15 (hotcrm PSA thread, real engine via bootStack, artifact i18n.defaultLocale: 'zh-CN', four throwaway autolaunched runAs: 'system' flows, each run with no user and with a user plus context.locale: 'zh-CN'):
- CEL value slots have no locale.
current_user.locale→value expression failed to evaluate as CEL: No such key: locale.current_usercarriesid,positionsandorganizationIdonly, and the scope claims{vars, current_user}only (FLOW_SCOPE_CLAIMED_IDENTIFIERS). No locale or organization root exists. - The run locale reaches only text slots, never record values.
renderFlowTextSlotpicksflows.*translations in the run's locale for end-node refusals, terminal messages and screen copy. It never translatesupdate_record/create_recordfield values. A record-change or schedule run carries no locale anyway (the engine doc says so). - The deployment default is not readable. On a zh-CN boot,
get_record sys_setting {namespace:'localization', key:'locale'}returnsnull, because the build-timei18n.defaultLocalelives in the settings cascade's default layer, not in a row. - A raw
get_recordonsys_settingreturns'zh-CN'only after a tenantlocalization.localehas been written through the settings service. That read skips the cascade (tenant → platform → build-time default) and still misses case 3. hotcrm did not use it: it would be a workaround.
Ask (either shape closes it):
- A. A flow value slot can read the org's effective locale (settings
localization.localeresolved through the cascade, falling back toi18n.defaultLocale). One example is a CEL root such asorg.locale, so an app can pick from a per-locale map. - B.
update_record/create_recordstring values can be translatable text slots that resolveflows.*keys in the org's effective locale when no run locale exists.
Either way: the effective-locale resolution matches what the console uses for the org, it is documented on the flow value-slot page, and a test boots a zh-CN default and reads zh-CN in a record-change run with no user.
Who it reaches: every zh-CN (and ja-JP, es-ES) tenant of any app whose flows write stored text. In HotCRM the known stored literals are:
case-escalation.flow.ts:113andcase-sla-monitor.flow.ts:195(escalation_reason)- hook-side task subjects in
case.hook.ts:541andlead.hook.ts:446 - the
log_meetingprefix inactivity-actions.ts:445
Hooks are a sibling question, for whether ctx should expose the same effective locale. Answer it in the same design if cheap.
Probe log: in the hotcrm project files (case-escalation-2494/probe-18.5.0.txt). No duplicate found (searched open issues for flow+locale, locale+CEL, current_user.locale).
Activity
objectstack-fleet commentedon Nov 15, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:server·lease:A5· p1 (pre-graded) · 2026-11-15T17:44Z⛔ Not a claim.
HotCRM needs it (hotcrm#2494, p1 under the zh-CN rule). On 18.5.0 a record-change or schedule flow has no way to write user-visible text in the organization's language: there is no effective-locale read in value slots. So a zh-CN org stores English sentences such as 'Auto-escalated: critical priority' on every escalated case. A real customer blocked on a core surface, so p1 stands. A5 (service-automation). The contract half, what a value slot may read, may need a spec card; the seat decides.
objectstack-fleet commentedon Nov 16, 2026
coordinator#1 · os-project-manager · session_01FEkQ5nRw8bhCopND1ssXLb
Ruling: letter B · maintainer 「B 平台按组织语言挑译文」 (the option he chose on the decision card) · recorded 2026-11-16T10:18Z
Recorded by the project's decision thread for this card. The maintainer's standing rule sends every decision through a dedicated thread that evaluates it and puts it to him there. He chose at 2026-11-16T10:15:51Z. Decision thread
cmsg_01TenzsRopZj4jMbvjX8uz1X4oPshkf9nWpP2BECUPkF8Z, cardcmsg_01TenzsRopZj4jMbvjX8uz1X7w3A7eKkSNs9FvvRHLeL9z, choice recordcmsg_01TenzsRopZj4jMbvjX8uz1XPY2CrKM5DXpfAaKb85YMTf.Thread-read: 6898631452 (the triage first touch, the only comment; none added since the analysis). Body unchanged since filing. Labels
priority:p1,pm:queue,domain:server,lease:A5, unassigned.The question he was asked
In a Chinese organization, the sentence the system writes into a record when it escalates a case is English, and nothing on 18.5.0 lets an app write it in the organization's language. Which shape closes it: the platform tells the flow which language the organization uses and the app writes each language's sentence itself (A), or the app hands the sentence to the platform, which picks the translation from the app's bundle (B)?
The three options on the card, as he read them:
The ruling
B. A sentence a flow writes into a record for people to read is translated where it is written: the platform picks the translation in the organization's language, then fills the run's values. This card's ask A (a CEL root such as
org.locale) is not taken, and neither is "both".The parameters below are the ones the analysis attached to B. The thread message that carried the card named them (「完整分析和八条随裁参数」) and called out parameter 2 as a departure from this card's wording. He chose B without amending any.
{{ }}holes are filled. It is the A screen flow's select options and screendescriptionhave no key in theflowstranslation face — the zh-CN intake wizard translates its labels and placeholders and keeps its options and body text in English (17.7.0) #22507 rule (ruling 6093472708) carried from the text a person is shown to the text a record keeps, through the samei18nchannel.source !== 'default'), else the app's declaredi18n.defaultLocale, else the authored text is written. That is the deployment-default ladder already ruled on 2026-09-02 (quoted inpackages/plugins/plugin-auth/src/auth-manager.ts). Build it as one shared reader, not a fourth copy beside the auth mail, the notification template rung andresolveSeedLocaleForLoad.status: 'escalated'is untouched). Scope: thefieldsvalues ofcreate_recordandupdate_recordonly.os i18n extractscaffolds it. No new gate.org.locale. A use beyond translation gets its own card on measured pull.⛔ Not taken: A (translations would live inside flow expressions and hook bodies, outside the bundle and the coverage check; a locale missing from an app's own map fails the write that also sets
is_escalated, or falls back to English with nothing saying so; and it opens theorgnamespace ADR-0068 deferred). Both (two spellings of one capability). A first and B later (a staged half that ships a root to retire).Effort of the chosen letter
From the analysis's effort column: spec + server, one or two PRs for the flow half. Precedents: PR #22626 (the engine picks a screen's translated body text, +882/−169, 29 files) and PR #28753 (the save notice). The hook half is a second card; its shape precedent is the declared hook refusal (
HookSchema.refusals), with no line count read. A skills-docs follow-up is owed. Against A this is roughly twice the platform work and less than three times, estimated from the shape of those PRs, not from a like-for-like precedent.Governing text
descriptionhave no key in theflowstranslation face — the zh-CN intake wizard translates its labels and placeholders and keeps its options and body text in English (17.7.0) #22507 (2026-10-10): "a user-read flow string the server renders per run is translated where it is rendered, in the run's locale, before its holes are filled".packages/spec/src/system/translation.zod.ts, theflowsgroup: "Every user-read string slot of the flow schemas is either one of these keys or recorded, with its reason, in the family pin".Predicate/Exprfields".current_userobject (e.g.record/org/envnamespaces) — only the user object is in scope here."localization.locale→i18n.defaultLocale)。」Protocol:
Metadata-protocol: added. A field value gains a text form, theflowstranslation group gains a key family, and the run context gains the organization's language. Nothing an existing stack writes changes meaning.Readings behind the clauses (checkout
2c96e0df, main of 2026-11-16; code read, nothing run)FLOW_SCOPE_CLAIMED_IDENTIFIERS = new Set(['vars', 'current_user'])(packages/spec/src/automation/flow-template-token.ts:174).renderFlowTextSlotorlocaleinpackages/services/service-automation/src/builtin/crud-nodes.ts.key: 'locale' … default: 'en-US'(packages/services/service-settings/src/manifests/localization.manifest.ts:84). The seed reader treats it as not set (packages/runtime/src/seed-locale.ts:139).setTenantCurrencyResolver(packages/services/service-automation/src/plugin.ts:2614). The organization's language can ride the same seam.{ dialect: 'template', source }envelope already exists in the spec (templateExpressionInput,packages/spec/src/shared/typed-expression-input.ts:117; a notify node'stitleandmessagetake it). Whether it fits afieldsvalue unchanged: unverified, the building seat reads it.5030768:grep -rn "Auto-escalated" srcshows the two flow literals.One correction to this card's premise 3. The build-time
i18n.defaultLocaledoes not live in the settings cascade's default layer. That layer holdsen-US; the app's default lives on thei18nservice (getDefaultLocale()). So a build that readsresolveLocalizationContext().localeanswersen-USon HotCRM's zh-CN boot and fails this card's own acceptance test. Parameter 3 is the reading to build.Four facets (the analysis the maintainer read)
Confidence gaps, as stated to the maintainer: the Salesforce and ServiceNow comparison is from memory; the card's four runtime readings were checked against the code and not re-run on an engine; "a missing locale in an app's own map fails the escalation" is inferred from the measured CEL fault, not measured.
State
pm:queue,priority:p1, for therepo:objectstack#1seat, which builds it in its area o1-C. The body gains theRuled:line.pm:blockedon this card until the release an app can install.Notify: rulingto therepo:objectstack#1mailbox, PR pm:mailbox — repo:objectstack#1 · os-project-manager #34367.Generated by Claude Code
objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac
Claim · #34062 · 2026-11-16T13:21Z
Claim: repo:objectstack area-lease mode, area o1-C, lease
lease:o1-C(p1 handed to this area by seatrepo:objectstack#1under the maintainer's intake rule 「除了前任的任务继续处理,后续只认领 p1 或者阻塞 p1 的任务」) · built by anos-devsub-agent (mode:subagent) · posted at 2026-11-16T13:21ZSession:
session_01FEkQ5kgF3mo9f7LXuv5hacAccount:
os-project-managerBranch:
claude/issue-34062-flow-stored-text-org-localeWorktree:
objectstack-issue-34062Domain:
domain:serverSeat:
repo:objectstack#1File surface:
packages/spec/src/automation/**(the text form of acreate_record/update_recordfieldsvalue;builtin-node-config.zod.tsand its tests),packages/spec/src/system/translation.zod.ts(theflowsgroup's new key family) and the spec generated artifacts they regenerate;packages/services/service-automation/src/**(builtin/crud-nodes.ts, the run-setup seam inplugin.tsbesidesetTenantCurrencyResolver); one shared reader of the organization's language where the existing deployment-default ladder lives (packages/runtime/src/seed-locale.tsor the module the auth mail and notification rung already share), replacing no reader's behaviour;packages/cli/src/utils/i18n-bundle-extract.ts/i18n-coverage.tsonly to scaffold and cover the new keys;content/docs/automation/**; new tests; a minor changeset (stop on breach; explain in the report)Container & model:
L,mode:subagent,model: default(dispatch-gates--tierat 162fe54: no path-derived mandate; build at the default tier; the spec face's review ceiling is CONTRACT_REVIEW_TIER, reason: Clause-② widening of a published schema, owed by surface),effort: xhighClause-②: yes (widening)
Metadata-protocol: added
Responsibility:
objectstack platform: the record-writing flow nodes write authored text verbatim, so a zh-CN organization stores English sentences (hotcrm#2494) | none: renderFlowTextSlot reaches end-node, terminal and screen text only, never record values | every non-English organization whose app flows write user-read text into records; HotCRM today (2 flow literals)Thread-read: 6913660232
Premise: holds (ruling 6913660232 corrects the card's premise 3: the app's default language lives on the
i18nservice, not the settings default layer; parameter 3 is the reading to build)Serial constraints cleared: open PR #34284 (egress guard, draft) also touches
packages/services/service-automation/src/plugin.ts, a different seam; whichever lands second merges main. No in-flight claim oncrud-nodes.tsortranslation.zod.ts.Ruling-ref: 6913660232 (maintainer 「B 平台按组织语言挑译文」, 2026-11-16T10:15Z, eight parameters as recorded there)
Pre-claim lane: repo:objectstack lane (seat's area o1-C); spec half plus server half in one PR unless the dev reports a split.
Pre-claim deps: none open. Sibling hook/action card #34374 (parameter 7) is not built here and waits on this one.
Prior rulings read: 6913660232 (B, eight parameters); #22507 ruling 6093472708; the 2026-09-02 deployment-default-language ruling (quoted in
packages/plugins/plugin-auth/src/auth-manager.ts); ADR-0032 Decision 3; ADR-0068 non-goals. No ⛔ conflict.State change:
pm:queue→pm:dispatched,lease:A5→lease:o1-C, assignedos-project-manager. The dev starts at this area's next free slot (three fix rounds on inherited PRs are running now).Generated by Claude Code
objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#1 · os-project-manager · session_01FEkQ5kgF3mo9f7LXuv5hac
Release · #34062 · 2026-11-16T16:39Z
Release: area o1-C releases its claim 6917626045 (session
session_01FEkQ5kgF3mo9f7LXuv5hac, accountos-project-manager, leaselease:o1-C) on the seat's order. The card moves to its own card thread, which claims it again. Who: Leehom (maintainer). Words: 「ok」 (rule card #34424). Where: this account's fleet project, seat thread 「运行 objectstack 仓库车道席位」, 2026-11-16T16:33Z.Hand-over: branch
claude/issue-34062-flow-stored-text-org-localepushed atc881dac19d9ee0c6a1ba371133bb4029d9f334f6(origin/main merged at485d1c7c), no force. No PR is open yet; the os-dev-report is not yet posted. Ruling parameters 1–5 are built; 6, 7 and 8 are not built, by design. What is left (draft PR, report,check:generatedand--ranon the final head, L2 to review#1, L1, the skills follow-up card) and the drafted PR body are in the project's hand-over folderpm-orders/objectstack/34062-handoff/.pm:dispatchedstays.Generated by Claude Code
objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#1 · os-project-manager · session_01FEkQ5oC2FdKXYRD1jEVYJP
Claim · #34062 · 2026-11-16T16:40Z
Claim: card thread for seat
repo:objectstack#1(fresh claim after area o1-C's release 6922675261; card threads run large cards in their own container, maintainer 「ok」, rule card #34424) · built by this thread asos-dev(mode:thread)Session:
session_01FEkQ5pmEYLVFDcQ1Z1CS8HThread session:
session_01FEkQ5oC2FdKXYRD1jEVYJPAccount:
os-project-managerSeat:
repo:objectstack#1Branch:
claude/project-thread-psfmz0(the platform pins this thread to its harness branch, so it is not the earlier claim's branch; it continues fromclaude/issue-34062-flow-stored-text-org-localeatc881dac19d9ee0c6a1ba371133bb4029d9f334f6, no history rewritten)Resume-from:
claude/issue-34062-flow-stored-text-org-locale@c881dac19d9ee0c6a1ba371133bb4029d9f334f6Worktree:
objectstack-issue-34062Domain:
domain:serverFile surface: as claim 6917626045, plus
packages/core/**(the one shared reader of the organization's language,resolveOrganizationLocale),packages/lint/src/**(the extract, coverage and validate walk of the marked field text) andcontent/docs/ui/translations.mdx(one key row)Container & model: L (contract change), mode:thread, model: default, effort: default
Clause-②: yes (widening)
Metadata-protocol: added
Responsibility:
objectstack platform: the record-writing flow nodes write authored text verbatim, so a zh-CN organization stores English sentences (hotcrm#2494) | none: renderFlowTextSlot reaches end-node, terminal and screen text only, never record values | every non-English organization whose app flows write user-read text into records; HotCRM today (2 flow literals)Thread-read: 6922675261
Premise: holds (as claim 6917626045; ruling 6913660232 corrects the card's premise 3)
Ruling-ref: 6913660232 (maintainer 「B 平台按组织语言挑译文」, eight parameters as recorded there; 1 to 5 built, 6 to 8 not built by the ruling)
Seat route (not a maintainer ruling): when the Localization setting cannot be read (the settings service throws), the node fails and writes nothing (route A). A missing translation is the ruled no-fail case; an unreadable setting means the language cannot be known, so writing authored text would silently store the wrong language. The PR states it for the maintainer to veto at review.
Pre-claim deps: none open. Sibling hook/action card #34374 (parameter 7) is not built here.
State change: none by this thread. Labels stay
pm:dispatched,priority:p1; the seat swapslease:*.objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#1 · os-project-manager · session_01FEkQ5oC2FdKXYRD1jEVYJP
os-dev-report
{
"issue": 34062,
"status": "done",
"branch": "claude/project-thread-psfmz0 (platform-pinned harness branch of this card thread; continues claude/issue-34062-flow-stored-text-org-locale at c881dac with no history rewritten, as claim 6922715269 says)",
"pr": "#34438",
"session": "session_01FEkQ5oC2FdKXYRD1jEVYJP",
"premise_still_valid": true,
"summary": "Ruling 6913660232 parameters 1 to 5 are built (area o1-C built them; this thread took over at c881dac, merged origin/main at 920f54c with one import conflict in service-automation plugin.ts resolved by keeping both sides, reran everything and opened the PR). A create_record / update_record fields value marked as text ({ dialect: 'template', source }) is written in the organization's language: the translation at flows.FLOW.records.NODE_ID.fields.FIELD is picked first, then the holes are filled; the language comes from one shared reader in @objectstack/core (Localization setting when somebody set it, else i18n.defaultLocale, else authored text), never the starter's locale. A missing translation writes the authored text; a settings read that throws fails the node and writes nothing (seat route A, stated in the PR for the maintainer to veto). Parameters 6 to 8 are not built by the ruling; hooks and actions stay on #34374. Skills follow-up filed as #34434.",
"tests": "At 920f54c after a full build (VERDICT command-exit 0, 654s) and all under os-verify-lock (VERDICT command-exit 0, 2199s): spec check:generated exit 0; typecheck exit 0 for spec, core, runtime, service-automation, lint, cli; core 150 files / 3600 passed; service-automation 286 / 4070 passed (incl. new record-field-text.test.ts, 18); lint 212 / 9072 passed; runtime 609 / 11218 passed, 19 skipped; cli --project unit 425 / 6032 passed; spec 846 / 27066 passed, 1 todo; dogfood test/flow-record-text-org-locale.dogfood.test.ts 1 / 3 passed. Ablation of the translate call was run by area o1-C at 485d1c7 (10 red / 8 green, restored 18/18), quoted in the PR; not rerun here (b585364 changes only the changeset line since). CLI integration tier declared to CI (the diff touches no integration-tier file or spawn entry).",
"gates": "dispatch-gates --commands at 920f54c: 125 commands, each exit code recorded (file pm-orders/objectstack/34062-handoff/ran-b585364d.list in the project folder); changeset gates and the teardown self-test rerun on final head b585364, all exit 0. --ran: 125 derived, 125 run, 0 NOT-MEASURED (exit 0). 124 exit 0; one red from main, not this diff: pnpm check:platform-checklist exit 1, approvals.approver-resolution-matrix VARIANTS STALE (ApproverType 11 members on main since 27c0b20, item expects 10; branch identical to main in approval.zod.ts and docs/qa/platform-checklist). check-plugin-teardown-shape --self-test exit 3 on the shallow clone, exit 0 after fetching its control commit 621a487. PR check-runs: in_progress at report time (not awaited, per os-dev.md).",
"dogfood_battery": "n/a — no ! in the PR title and Clause-② arm is (widening); the new dogfood file ran alone (3/3)",
"mcp_calls": "3 — mcp__github__issue_read x2 (get, get_comments on #34062), mcp__claude-code-remote__get_session x1; no GitHub write tools",
"api_writes": "5 — relay: comment #34062 (claim 6922715269), issue_create #34434, pr_create #34438, comment #34062 (this report), comment #34438 (green-head note)",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"class: a · reach: pnpm check:platform-checklist (part of Lint & Repo Gates) exits 1 on the current main tree: approvals.approver-resolution-matrix VARIANTS STALE, ApproverType has 11 members since 27c0b20 (platform_admin approver) and docs/qa/platform-checklist/areas/approvals.json enumSource.expect is still 10 · evidence: this branch's gate log at 920f54c, branch identical to main in both files · dedupe words: approver-resolution-matrix, VARIANTS STALE, ApproverType 11, platform_admin checklist",
"carrier: none · noted, not filed: auth mail and notification text keep their own copies of the organization-language ladder because converging them would change their answers (PR acceptance notes)"
]
}
objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#1 · os-project-manager · session_01FEkQ5oC2FdKXYRD1jEVYJP
Claim amendment · #34062 · 2026-11-16T18:07Z
Claim: card thread for seat
repo:objectstack#1, amending claim 6922715269 so its branch line names only the PR's head branch (L1-b R1, record 6924770159 on PR #34438)Session:
session_01FEkQ5pmEYLVFDcQ1Z1CS8HThread session:
session_01FEkQ5oC2FdKXYRD1jEVYJPAccount:
os-project-managerSeat:
repo:objectstack#1Branch:
claude/project-thread-psfmz0PR: #34438
Everything else stands as claim 6922715269 records it (file surface, Clause-② yes (widening), Metadata-protocol added, Ruling-ref 6913660232, seat route A). The earlier claim's branch line also quoted the hand-over branch it continues from, which the closing-target guard reads as a claim on that other branch.
objectstack-fleet commentedon Nov 16, 2026
coordinator#1 · os-project-manager · session_01FEkQ5p4EDYGbWWuSCnZKXN
Ruling: letter A · maintainer 「A 这一步失败,不写入」 (the option he chose on the decision card) · recorded 2026-11-16T20:55Z
Recorded by the project's decision thread for this question. The maintainer's standing rule sends every decision through a dedicated thread that evaluates it and puts it to him there. He chose at 2026-11-16T20:54:12Z. Decision thread
cmsg_01TenzsRopZj4jMbvjX8uz1XXm2dPQNqjraNUSjcmdmRay, cardcmsg_01TenzsRopZj4jMbvjX8uz1XJfP6iwYYENU3A27bBKSJsh, choice recordcmsg_01TenzsRopZj4jMbvjX8uz1XFTg7SPQZZdxyH9jCMQ7SPR.Why it was asked: review#1's contract review 6924979595 on PR #34438 (finding S3) requires the seat's route A to reach the maintainer as a recorded choice. Ruling 6913660232 has no parameter for it.
Thread-read: 6924838331 (the newest comment on this card when this was written). PR #34438 read at head
2b13583e, draft, open.The question he was asked
Before a flow writes a sentence into a record, the platform looks up which language the organization uses. When that lookup itself fails (not "nothing is set", but "it could not be read"), what happens to this write?
The three options on the card, as he read them:
The ruling
A. When the organization's Localization setting cannot be READ, a
create_record/update_recordnode that marks text fails and writes nothing. It is an addition to ruling 6913660232, whose eight parameters stand as recorded.faultedge routes it, and a re-run writes the right text once the setting can be read. Nothing is written in a guessed language.Not asked and so not ruled here: the reading that a host which registers no
localizationsetting counts as "not set" and takes the app default (review 6924979595 S1, commitce287ea5). He was told of it as the state of the PR; it stays the seat's and review#1's reading of parameter 3.The sibling card #34374 (hooks and actions, parameter 7) meets the same question. It was not put to him separately; its seat reads this record as the precedent.
⛔ Not taken: B (the stored sentence is wrong for almost every non-English organization, the run reports success, and parameter 6 means it is never backfilled). C (it reads a failed read as "not set", the opposite of what this engine already does for the default currency, and an organization that chose another language gets the app default stored silently).
Effort of the chosen letter
None beyond PR #34438 as built. The PR body's quick-read and acceptance notes still call route A "not a maintainer ruling" and ask him to decide; the seat rewrites those lines to cite this record.
Governing text
is_escalated". That cost was a permanent failure from an app's own authoring gap; this one is a transient read fault.packages/services/service-automation/src/plugin.ts, the tenant-currency resolver (service-automation: a failed tenant-settings read fails thenotifyrun as a permanent guard refusal; the resolver contract and run setup cannot carryreadFailed#28056, [finding]resolveLocalizationContextcannot tell "no tenant default" from "the settings read failed", so a transientsys_settingfault dead-letters a mail with a{{ x | currency }}hole as a permanentTEMPLATE_INVALID#27257): "A read that FAILED rejects … it learned nothing, so a hole that then refuses for want of a default is graded a runtime failure, never 'the organization has none'."error.packages/plugins/plugin-auth/src/auth-plugin.ts,applyLocalizationLocale). A mail is sent once; a record's text is kept.Protocol: no change beyond the PR's own
Metadata-protocol: added.Readings behind the clauses (PR head
f4212591when analysed; code read, nothing run)SettingsService.getanswers an env override without touching the store, else loads thesys_settingrows (resolveStored→loadRows). A failure of that load is the remaining case.resolveFieldValues(packages/services/service-automation/src/builtin/crud-nodes.ts) catches the reader's throw and answers{ error }; the pin is inrecord-field-text.test.ts("a settings read that throws fails the node and writes nothing").unregisteredSettingIsUnset,plugin.ts) turns onlySETTINGS_UNKNOWN_NAMESPACE/SETTINGS_UNKNOWN_KEYinto "not set".Four facets (the analysis the maintainer read)
Confidence gaps, as stated to the maintainer: every reading is from code, no settings read fault was produced on a real engine; "the record write would mostly fail too when the database cannot be read" is an inference, and it does not hold for an object on an external data source; whether the platform retries a failed run by itself was not checked; the Salesforce comparison is from memory.
Analysis file:
pm-orders/objectstack/34062-unreadable-setting-decision-analysis.mdin the project folder.State
Notify: rulingto therepo:objectstack#1mailbox, PR pm:mailbox — repo:objectstack#1 · os-project-manager #34367.Generated by Claude Code