You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
skills(objectstack-automation): three approver examples spell value: cel…, which ApprovalNodeApproverSchema refuses (value is a string) #37353
Filing gate ① · Source: fleet · from the #34770 dev report 7170977110 (out-of-scope finding, class c), seat's go-ahead to file · Area: a4-A · Seat: repo:objectstack#4
What happens
skills/objectstack-automation/references/state-machines-and-approvals.md § Approver Types (main 7f62348dfa, lines ~263, ~266, ~272) teaches three expression approvers as
The cel tag exported by @objectstack/spec (packages/spec/src/shared/expression.zod.ts ~490) returns an EvaluatedExpression object ({ dialect, source }), while ApprovalNodeApproverSchema.value (packages/spec/src/automation/approval.zod.ts ~588) is z.string(). The dev's probe against the built spec: approvers[0].value → Invalid input: expected string, received object; the same approver with a plain string parses. An author or agent who copies the published example gets an approval node that fails validation.
Done when
The three fragments spell the expression the way ApprovalNodeApproverSchema accepts it (verify the accepted form — a plain CEL string — against the schema's describe and any approver-expression test before writing), each sentence beside them still matches the spec, and the token ratchet holds for that file (pay any bytes in the same file). If the intended contract is that value should accept a cel tag object, say so in the PR and stop: that is a spec change for the spec lane, not a skills edit.
reach: AI authors and app developers using the published objectstack-automation skill; read from the skill reference and the approval schema.
Business reason: a dynamic approver (co-sign by department, approvers picked by an earlier step) copied from the published skill does not validate.
Reader: skills (objectstack-automation).
Dedupe: approver expression value cel tag string, ApprovalNodeConfigSchema approvers value, state-machines-and-approvals expression approver → none open.
Serial note: skills/objectstack-automation/** is under open draft PR #36158 (#34770, held for a maintainer decision); this file is not in that PR's diff, but its ratchet script is — land after #36158 or merge main.
Grade: p3.
Type: Bug. A wrong example in a shipped skill is a Bug.
Grade: p3 → priority:p2. A wrong sentence in a shipped skill takes the reach "builders, often", because AI copies it. The copied approver fails validation with an error the author can act on, so it is Impeded. Impeded × builders often is p2.
Claim: PM loop round 1 · zone o5-A (area:ai p1/p2; the maintainer, verbatim, 2026-11-25T23:27Z project chat: 「再开两个专区,接ai ux 的 p1 p2 任务」) · 2026-11-25T23:38Z
Session: session_01Utp6CZmwqAVSYHM1nQUDTq
Account: os-bill
Area: o5-A
Branch: claude/issue-37353-approver-expression-string
Worktree: objectstack-issue-37353
Domain: domain:skills
Seat: repo:objectstack#5
File surface: skills/objectstack-automation/references/state-machines-and-approvals.md (the three approver fragments at lines 263, 266, 272 on 98bda0ac, and their sentences), plus whatever bytes that file's token ratchet needs paid in the same file. Stop on breach and report.
Container & model: S, mode:subagent, model: CONTRACT_REVIEW_TIER — dispatch-gates --tier: "MANDATORY ... skills/objectstack-automation/references/state-machines-and-approvals.md ⇢ 'skills/**' — clause ①", effort: medium (copy fix in three fragments)
Clause-②: no
Metadata-protocol: none
Responsibility: the published skill text in this repo (objectstack) teaches the wrong shape | no platform path covers it; the schema refuses the copy with an actionable error | AI authors and app developers copying the objectstack-automation skill reach it today
Thread-read: 7175339909
Premise: holds — on origin/main98bda0ac: the three cel fragments are at lines 263/266/272; ApprovalNodeApproverSchema.value is z.string().optional() (packages/spec/src/automation/approval.zod.ts:588) and its describe says "write the CEL expression" as text
Serial constraints cleared: open draft PR #36158 shares this file; overlap-check on a probe branch: merges cleanly with it and with main (exit 0). Per the card's serial note, land after #36158 or merge main first. No other in-flight claim on skills/objectstack-automation/**.
Pre-claim lane: domain:skills (skills/objectstack-automation/references/), kept in lane under seat 5's whole-repo zone split
Pre-claim deps: no Blocked-by:; #36158 is a landing-order note, not a blocker
Prior rulings read: check-prior-rulings --terms approver,expression,cel,resolveAs: ADR-0032 §2 (expression fields are typed, "never a raw string") is in tension with the schema's z.string(); the card's own rule binds — if the dev finds the contract means a cel object, stop and report, no spec edit here. No ruling on this card's thread.
Draft PR #37369 for this card, head 5e32f8cc93b4dd726967fa692aa9913bf5529bec, all checks green. Left draft (Tier H, governed skills surface).
{
"issue": 37353,
"status": "done",
"branch": "claude/issue-37353-approver-expression-string",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37369",
"head": "5e32f8cc93b4dd726967fa692aa9913bf5529bec",
"session": "session_01Utp6CZmwqAVSYHM1nQUDTq",
"container_model": "S, mode:subagent, model: CONTRACT_REVIEW_TIER — dispatch-gates --tier: \"MANDATORY ... skills/objectstack-automation/references/state-machines-and-approvals.md ⇢ 'skills/**' — clause ①\", effort: medium",
"premise_still_valid": true,
"summary": "The three expression-approver fragments in skills/objectstack-automation/references/state-machines-and-approvals.md now write value as a plain CEL string, and the expression row of the approver table says value is the expression string. Measured contract: ApprovalNodeApproverSchema.value is z.string(); every approver-expression test fixture, the lint hint, the showcase flow and the compiled flow lower in the same file pass a string; nothing passes a cel object, so the card's stop condition did not apply. H1 held. H2: the ADR-0032 section 2 tension is recorded in the PR's Acceptance notes as a possible spec-lane follow-up, spec untouched. H3: the line-76 sentence is still true (it is about the flow example's envelopes) and was left as written. Draft PR, Tier H, left draft.",
"tests": "No test files changed. Probe against built @objectstack/spec at 5e32f8cc93: the three fragments as now written parse (ApprovalNodeApproverSchema x2, ApprovalNodeConfigSchema x1: OK); the old cel spelling answers value: Invalid input: expected string, received object. No ablation: prose and changeset only.",
"gates": "local at 5e32f8cc93: dispatch-gates --commands derived 49; --ran: 49 derived accounted for, 47 run exit 0, 2 NOT-MEASURED (check:dual-build-cjs-loads and check:lean-entry-closure, exit 3 PREREQUISITE NOT MET, full build absent; CI runs both). check-skills-token-ratchet exit 0: file 5933 tokens, ceiling 5936 unchanged. check:skill-refs 0, check:skill-served-sections 0, check:doc-formula-expressions 0 (after building formula and lint; first run exit 3 prerequisite), check:doc-authoring 0, check:nul-bytes 0. CI check-runs on 5e32f8cc93: 44 runs, 28 success, 16 skipped, 0 failed, 0 pending. Required contexts: Lint & Repo Gates success, TypeScript Type Check success, Test Core success, Build Core success, Governed Surface Queue Guard success, Test UI success, Live E2E UI success, Dogfood Regression Gate success, Check Changeset success; Lint UI, Type Check UI, Build & E2E UI skipped by the path selector.",
"line_budget": "skills/** net lines +0 (4 changed in place; budget +3). File bytes 23734 to 23732; tokens 5934 to 5933; ratcheted bundle 198145 to 198144; all SKILL.md lines 4948 to 4948.",
"files_changed": [
"skills/objectstack-automation/references/state-machines-and-approvals.md",
".changeset/37353-approver-expression-string.md"
],
"deviations": [
"The changeset file is outside the claim's File surface line; the order's changeset clause and AGENTS.md require it (@objectstack/skills patch).",
"Waited in the foreground for CI (about 15 minutes of polling) because the dispatch asked for the final green head sha.",
"origin/main had not moved from the branch base 98bda0ac17 when the PR was opened, so the pre-PR merge was a no-op.",
"PR body ends with the line the order names; read-back: 6087 bytes sent, 6087 stored, identical, no platform footer appended.",
"dispatch.mjs printed its own notice naming HTTPS_PROXY with the local proxy address; variable name only is recorded here."
],
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2 strokes — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft, POST /issues/37369/assignees os-bill); this os-dev-report comment (POST /issues/37353/comments). Plus 2 git pushes (empty branch probe, the commit).",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed · ADR-0032 section 2 (expression fields typed, never a raw string) versus ApprovalNodeApproverSchema.value being z.string(): read-only observation, in the PR's Acceptance notes"
]
}
Activity
objectstack-fleet commentedon Nov 25, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
First touch, 2026-11-25T21:37Z.
priority:p2. A wrong sentence in a shipped skill takes the reach "builders, often", because AI copies it. The copied approver fails validation with an error the author can act on, so it is Impeded. Impeded × builders often is p2.area:aiandpm:queuestay. Area:ai cards outside 专题:记录范围 AI 问询(在一条记录上问 AI:对话钉在这条记录上、平台按配置交给模型这条记录的资料、外部 AI 经 MCP 拿到同一份) #36996 and 专题:知识检索平台化(应用写一份知识源配置就有可用的检索:开源、托管、企业版都能用) #37000 have no seat right now, so it waits in the queue.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZmwqAVSYHM1nQUDTq
Claim: PM loop round 1 · zone o5-A (area:ai p1/p2; the maintainer, verbatim, 2026-11-25T23:27Z project chat: 「再开两个专区,接ai ux 的 p1 p2 任务」) · 2026-11-25T23:38Z
Session:
session_01Utp6CZmwqAVSYHM1nQUDTqAccount:
os-billArea: o5-A
Branch:
claude/issue-37353-approver-expression-stringWorktree:
objectstack-issue-37353Domain:
domain:skillsSeat:
repo:objectstack#5File surface:
skills/objectstack-automation/references/state-machines-and-approvals.md(the three approver fragments at lines 263, 266, 272 on98bda0ac, and their sentences), plus whatever bytes that file's token ratchet needs paid in the same file. Stop on breach and report.Container & model:
S,mode:subagent,model: CONTRACT_REVIEW_TIER — dispatch-gates --tier: "MANDATORY ... skills/objectstack-automation/references/state-machines-and-approvals.md ⇢ 'skills/**' — clause ①",effort: medium(copy fix in three fragments)Clause-②: no
Metadata-protocol: none
Responsibility: the published skill text in this repo (objectstack) teaches the wrong shape | no platform path covers it; the schema refuses the copy with an actionable error | AI authors and app developers copying the objectstack-automation skill reach it today
Thread-read: 7175339909
Premise: holds — on
origin/main98bda0ac: the threecelfragments are at lines 263/266/272;ApprovalNodeApproverSchema.valueisz.string().optional()(packages/spec/src/automation/approval.zod.ts:588) and its describe says "write the CEL expression" as textSerial constraints cleared: open draft PR #36158 shares this file; overlap-check on a probe branch: merges cleanly with it and with main (exit 0). Per the card's serial note, land after #36158 or merge main first. No other in-flight claim on
skills/objectstack-automation/**.Pre-claim lane:
domain:skills(skills/objectstack-automation/references/), kept in lane under seat 5's whole-repo zone splitPre-claim deps: no
Blocked-by:; #36158 is a landing-order note, not a blockerPrior rulings read: check-prior-rulings --terms approver,expression,cel,resolveAs: ADR-0032 §2 (expression fields are typed, "never a raw string") is in tension with the schema's
z.string(); the card's own rule binds — if the dev finds the contract means acelobject, stop and report, no spec edit here. No ruling on this card's thread.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZmwqAVSYHM1nQUDTq
os-dev-report
Draft PR #37369 for this card, head
5e32f8cc93b4dd726967fa692aa9913bf5529bec, all checks green. Left draft (Tier H, governed skills surface).{ "issue": 37353, "status": "done", "branch": "claude/issue-37353-approver-expression-string", "pr": "https://github.com/objectstack-ai/objectstack/pull/37369", "head": "5e32f8cc93b4dd726967fa692aa9913bf5529bec", "session": "session_01Utp6CZmwqAVSYHM1nQUDTq", "container_model": "S, mode:subagent, model: CONTRACT_REVIEW_TIER — dispatch-gates --tier: \"MANDATORY ... skills/objectstack-automation/references/state-machines-and-approvals.md ⇢ 'skills/**' — clause ①\", effort: medium", "premise_still_valid": true, "summary": "The three expression-approver fragments in skills/objectstack-automation/references/state-machines-and-approvals.md now write value as a plain CEL string, and the expression row of the approver table says value is the expression string. Measured contract: ApprovalNodeApproverSchema.value is z.string(); every approver-expression test fixture, the lint hint, the showcase flow and the compiled flow lower in the same file pass a string; nothing passes a cel object, so the card's stop condition did not apply. H1 held. H2: the ADR-0032 section 2 tension is recorded in the PR's Acceptance notes as a possible spec-lane follow-up, spec untouched. H3: the line-76 sentence is still true (it is about the flow example's envelopes) and was left as written. Draft PR, Tier H, left draft.", "tests": "No test files changed. Probe against built @objectstack/spec at 5e32f8cc93: the three fragments as now written parse (ApprovalNodeApproverSchema x2, ApprovalNodeConfigSchema x1: OK); the old cel spelling answers value: Invalid input: expected string, received object. No ablation: prose and changeset only.", "gates": "local at 5e32f8cc93: dispatch-gates --commands derived 49; --ran: 49 derived accounted for, 47 run exit 0, 2 NOT-MEASURED (check:dual-build-cjs-loads and check:lean-entry-closure, exit 3 PREREQUISITE NOT MET, full build absent; CI runs both). check-skills-token-ratchet exit 0: file 5933 tokens, ceiling 5936 unchanged. check:skill-refs 0, check:skill-served-sections 0, check:doc-formula-expressions 0 (after building formula and lint; first run exit 3 prerequisite), check:doc-authoring 0, check:nul-bytes 0. CI check-runs on 5e32f8cc93: 44 runs, 28 success, 16 skipped, 0 failed, 0 pending. Required contexts: Lint & Repo Gates success, TypeScript Type Check success, Test Core success, Build Core success, Governed Surface Queue Guard success, Test UI success, Live E2E UI success, Dogfood Regression Gate success, Check Changeset success; Lint UI, Type Check UI, Build & E2E UI skipped by the path selector.", "line_budget": "skills/** net lines +0 (4 changed in place; budget +3). File bytes 23734 to 23732; tokens 5934 to 5933; ratcheted bundle 198145 to 198144; all SKILL.md lines 4948 to 4948.", "files_changed": [ "skills/objectstack-automation/references/state-machines-and-approvals.md", ".changeset/37353-approver-expression-string.md" ], "deviations": [ "The changeset file is outside the claim's File surface line; the order's changeset clause and AGENTS.md require it (@objectstack/skills patch).", "Waited in the foreground for CI (about 15 minutes of polling) because the dispatch asked for the final green head sha.", "origin/main had not moved from the branch base 98bda0ac17 when the PR was opened, so the pre-PR merge was a no-op.", "PR body ends with the line the order names; read-back: 6087 bytes sent, 6087 stored, identical, no platform footer appended.", "dispatch.mjs printed its own notice naming HTTPS_PROXY with the local proxy address; variable name only is recorded here." ], "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 strokes — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft, POST /issues/37369/assignees os-bill); this os-dev-report comment (POST /issues/37353/comments). Plus 2 git pushes (empty branch probe, the commit).", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed · ADR-0032 section 2 (expression fields typed, never a raw string) versus ApprovalNodeApproverSchema.value being z.string(): read-only observation, in the PR's Acceptance notes" ] }