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 }}
flow publish refusal: the "invalid expression" header always explains template braces, even when the refusal under it is a date-text or other verdict with no braces #35369
area:builddomain:serverDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Filing gate: ② out-of-scope finding from the #34660 os-dev report (PR #35358), routed by its L1 ACCEPT (7001828368, 范围外去向). Pre-existing, not caused by that PR. ⛔ Not a claim; triage sets lane and grade.
What the user sees
Registering (publishing or booting) a record-triggered flow whose assignment value is timestamp(record.borrow_date) on a date field throws:
Flow … has 1 invalid expression (ADR-0032 §1a). Predicates — conditions and declared bare-CEL slots … — must not wrap references in {…} template braces, and neither may a value slot …
The refusal listed under it is a date-text verdict; the expression has no braces. The author is first told about a mistake they did not make.
Where
packages/services/service-automation/src/flow-registration-checks.ts (~:1047-1051 at the #35358 base): one fixed header for every failure kind. Reproduced on the built @objectstack/service-automation by the #34660 dev.
Fix direction
Name the braces rule only when a listed refusal is a brace refusal (cel-template-brace / template-single-brace / dialect mismatch); otherwise a neutral count header.
Triage: lands in domain:server (flow registration refusal text) · pm:queue; rationale: area:build · Bug · Impeded (the "invalid expression" header always explains template braces, even over a date-text verdict with no braces, so the author is told about a mistake they did not make) · builders, often · read from the #34660 dev report → p2.
Claim: PM loop round 1
Session: session_01L6bhgUZrkMKgGrXXe8zPGq
Account: os-sales
Branch: claude/issue-35369-flow-refusal-header
Worktree: objectstack-issue-35369
Domain: domain:server
Seat: repo:objectstack#1
Area: b1-C
File surface: packages/services/service-automation/src/flow-registration-checks*.ts (the "invalid expression" header, ~:1044-1052 on origin/main e35cf03) and its tests, .changeset/
Container & model: S, mode:subagent, model: default — dispatch-gates --tier: no path-derived mandate, effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack — service-automation flow-registration-checks.ts builds one fixed braces header over every failure kind | none | flow authors whose refusal is a date-text or other non-brace verdict (reproduced on the built package by the #34660 dev)
Thread-read: 7001995373
Premise: holds — the fixed header ("Predicates … must not wrap references in {…} template braces …") is at packages/services/service-automation/src/flow-registration-checks.ts:1048-1051 on origin/main e35cf03
Serial constraints cleared: none — no open PR or live claim named on flow-registration-checks.ts at claim time; overlap-check runs before push
Pre-claim lane: packages/services/service-automation/src/** — the flow registration door, area:build / b1-C (registration doors)
Pre-claim deps: none named; parent #34660 closed (PR #35358)
Prior rulings read: flow,publish,refusal,invalid,expression,header,explains,template,braces,date-text,verdict → 143 hits; ADR-0018 Decision §3, ADR-0027 Decision §12, ADR-0032 Decision §2, ADR-0032 Decision §4, ADR-0032 Decision §5, ADR-0036 Decision §4, ADR-0058 D8, ADR-0097 Decision §6; thread: none; repo: objectstack-ai/objectstack. The header cites ADR-0032 §1a; the fix keeps that rule's wording for brace refusals and changes no verdict.
Fold answer: serial, alone — no other candidate shares this file or mechanism.
{
"issue": 35369,
"status": "done",
"branch": "claude/issue-35369-flow-refusal-header",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35627",
"session": "session_01L6bhgUZrkMKgGrXXe8zPGq",
"premise_still_valid": true,
"head_sha": "18e9316c",
"summary": "validateFlowExpressions now records, at each refuse() call site, whether the refusal is one the ADR-0032 §1a braces rule speaks to (expression-judge codes cel-template-brace / template-single-brace / cel-dialect-mismatch / template-dialect-mismatch, every retired value-slot token, a text-slot refusal leading with TEXT_SLOT_TEMPLATE_REFUSAL, a value envelope naming a non-cel dialect). The braces header is emitted byte-identical only when one such refusal is listed; otherwise a neutral count header. No verdict or listed line changes. To carry the kind for value envelopes, the internal valueEnvelopeRefusals passes the judge's code through (dag-traversal.ts + engine.ts private signature).",
"files_changed": [
".changeset/35369-flow-refusal-brace-header.md (patch, @objectstack/service-automation)",
"packages/services/service-automation/src/flow-registration-checks.ts",
"packages/services/service-automation/src/flow-registration-checks.test.ts",
"packages/services/service-automation/src/dag-traversal.ts",
"packages/services/service-automation/src/engine.ts"
],
"tests": "at 18e9316c: os-verify-lock -c 'pnpm --filter @objectstack/service-automation typecheck && pnpm --filter @objectstack/service-automation test' -> VERDICT command-exit 0, Test Files 289 passed (289), Tests 4195 passed (4195). New describe in flow-registration-checks.test.ts, 9 cases (32/32 in file). Ablations via scripts/ablation-replace.mjs (src-resolved suite, no dist step), each restored to HEAD blob 204687c3c91a with git diff HEAD empty: header forced braces -> 3 failed (the neutral cases); envelope kind forced non-brace -> 1 failed (template-dialect envelope); envelope code arm forced non-brace -> 1 failed (braced CEL envelope).",
"gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 18e9316c: 72 families; 71 exit 0; NOT MEASURED: node scripts/check-plugin-teardown-shape.mjs --self-test exit 3 (shallow checkout, pinned positive control unreachable; CI runs it). pnpm check:dual-build-cjs-loads exit 3 first (no dist), re-run after closure build exit 0. dispatch-gates --ran: 72 derived, 71 run, 1 NOT-MEASURED, 0 UNRUN. overlap-check before each push: VERDICT clean exit 0. check-platform-checklist not owed (no export renamed/removed). CI check-runs on 18e9316c at report time: Check Changeset, Lint (ESLint, PM dispatch-gates, docs & code guards, repo & tooling gates, CI release & engine gates, scoped x3), Type Check (workspace, source gates, consumer gates, debt ledger), Governed Surface Queue Guard, PR-body guards, Check PR Size: in_progress; opt-in/queue rows skipped. test:repo not run locally (CI Test Core).",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"line_budget": "n/a — no skills/** touched; diff +214/-20 over 5 files",
"mcp_calls": "0",
"api_writes": "3 — relay stroke 1 (pr_create): POST /repos/objectstack-ai/objectstack/pulls (draft), POST /repos/objectstack-ai/objectstack/issues/35627/assignees [os-sales]; post-stamped: POST /repos/objectstack-ai/objectstack/issues/35369/comments (this report)",
"deviations": [
"file surface: dag-traversal.ts and engine.ts (private method return type) edited outside the claimed flow-registration-checks*.ts surface — the kind is not recoverable at the value-envelope push site without the judge's code (PM assumption measured false for that one site); overlap-check clean",
"PR body opens with Fixes #35369 and ends with the AGENTS.md session-URL footer, not the harness 'Generated with' lines at the opening",
"commit trailers use the model-free pair AGENTS.md requires, not the harness's model-named Co-Authored-By",
"pin 'assert code/status where the test reaches a door': registerFlow throws a plain Error and reaches no HTTP door, so not asserted",
"neutral header wording is self-authored and carries no ADR citation (ADR-0032 §1a is the parse rule; a date-text verdict is not a parse error)"
],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": []
}
Claim amendment · 2026-11-19T18:33Z · claim 7016179676
File surface: packages/services/service-automation/src/flow-registration-checks*.ts, packages/services/service-automation/src/dag-traversal.ts (valueEnvelopeRefusals passes the judge's code through), packages/services/service-automation/src/engine.ts (the private return type only), .changeset/
Why: the claim assumed each refusal's kind is recoverable where it is pushed; the dev measured that false for the value-envelope site (os-dev-report 7018287017, PR #35627 head 18e9316). Same package, same mechanism, overlap-check clean.
Delivered · 2026-11-19T19:21Z · PR #35627 merged (3ce6b65). The "invalid expression" header names the ADR-0032 §1a braces rule only when a listed refusal is a brace refusal; otherwise a neutral count header. No verdict or listed line changed. Nothing remains on this card. pm:dispatched removed.
area:builddomain:serverDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 19, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:server(flow registration refusal text) ·pm:queue; rationale: area:build · Bug · Impeded (the "invalid expression" header always explains template braces, even over a date-text verdict with no braces, so the author is told about a mistake they did not make) · builders, often · read from the #34660 dev report → p2.objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUZrkMKgGrXXe8zPGq
Claim: PM loop round 1
Session:
session_01L6bhgUZrkMKgGrXXe8zPGqAccount:
os-salesBranch:
claude/issue-35369-flow-refusal-headerWorktree:
objectstack-issue-35369Domain:
domain:serverSeat:
repo:objectstack#1Area: b1-C
File surface:
packages/services/service-automation/src/flow-registration-checks*.ts(the "invalid expression" header, ~:1044-1052 on origin/main e35cf03) and its tests,.changeset/Container & model:
S,mode:subagent,model: default — dispatch-gates --tier: no path-derived mandate,effort: mediumClause-②: no
Metadata-protocol: none
Responsibility:
objectstack — service-automation flow-registration-checks.ts builds one fixed braces header over every failure kind | none | flow authors whose refusal is a date-text or other non-brace verdict (reproduced on the built package by the #34660 dev)Thread-read: 7001995373
Premise: holds — the fixed header ("Predicates … must not wrap references in
{…}template braces …") is atpackages/services/service-automation/src/flow-registration-checks.ts:1048-1051on origin/main e35cf03Serial constraints cleared: none — no open PR or live claim named on flow-registration-checks.ts at claim time; overlap-check runs before push
Pre-claim lane:
packages/services/service-automation/src/**— the flow registration door, area:build / b1-C (registration doors)Pre-claim deps: none named; parent #34660 closed (PR #35358)
Prior rulings read: flow,publish,refusal,invalid,expression,header,explains,template,braces,date-text,verdict → 143 hits; ADR-0018 Decision §3, ADR-0027 Decision §12, ADR-0032 Decision §2, ADR-0032 Decision §4, ADR-0032 Decision §5, ADR-0036 Decision §4, ADR-0058 D8, ADR-0097 Decision §6; thread: none; repo: objectstack-ai/objectstack. The header cites ADR-0032 §1a; the fix keeps that rule's wording for brace refusals and changes no verdict.
Fold answer: serial, alone — no other candidate shares this file or mechanism.
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUZrkMKgGrXXe8zPGq
os-dev-report
{ "issue": 35369, "status": "done", "branch": "claude/issue-35369-flow-refusal-header", "pr": "https://github.com/objectstack-ai/objectstack/pull/35627", "session": "session_01L6bhgUZrkMKgGrXXe8zPGq", "premise_still_valid": true, "head_sha": "18e9316c", "summary": "validateFlowExpressions now records, at each refuse() call site, whether the refusal is one the ADR-0032 §1a braces rule speaks to (expression-judge codes cel-template-brace / template-single-brace / cel-dialect-mismatch / template-dialect-mismatch, every retired value-slot token, a text-slot refusal leading with TEXT_SLOT_TEMPLATE_REFUSAL, a value envelope naming a non-cel dialect). The braces header is emitted byte-identical only when one such refusal is listed; otherwise a neutral count header. No verdict or listed line changes. To carry the kind for value envelopes, the internal valueEnvelopeRefusals passes the judge's code through (dag-traversal.ts + engine.ts private signature).", "files_changed": [ ".changeset/35369-flow-refusal-brace-header.md (patch, @objectstack/service-automation)", "packages/services/service-automation/src/flow-registration-checks.ts", "packages/services/service-automation/src/flow-registration-checks.test.ts", "packages/services/service-automation/src/dag-traversal.ts", "packages/services/service-automation/src/engine.ts" ], "tests": "at 18e9316c: os-verify-lock -c 'pnpm --filter @objectstack/service-automation typecheck && pnpm --filter @objectstack/service-automation test' -> VERDICT command-exit 0, Test Files 289 passed (289), Tests 4195 passed (4195). New describe in flow-registration-checks.test.ts, 9 cases (32/32 in file). Ablations via scripts/ablation-replace.mjs (src-resolved suite, no dist step), each restored to HEAD blob 204687c3c91a with git diff HEAD empty: header forced braces -> 3 failed (the neutral cases); envelope kind forced non-brace -> 1 failed (template-dialect envelope); envelope code arm forced non-brace -> 1 failed (braced CEL envelope).", "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 18e9316c: 72 families; 71 exit 0; NOT MEASURED: node scripts/check-plugin-teardown-shape.mjs --self-test exit 3 (shallow checkout, pinned positive control unreachable; CI runs it). pnpm check:dual-build-cjs-loads exit 3 first (no dist), re-run after closure build exit 0. dispatch-gates --ran: 72 derived, 71 run, 1 NOT-MEASURED, 0 UNRUN. overlap-check before each push: VERDICT clean exit 0. check-platform-checklist not owed (no export renamed/removed). CI check-runs on 18e9316c at report time: Check Changeset, Lint (ESLint, PM dispatch-gates, docs & code guards, repo & tooling gates, CI release & engine gates, scoped x3), Type Check (workspace, source gates, consumer gates, debt ledger), Governed Surface Queue Guard, PR-body guards, Check PR Size: in_progress; opt-in/queue rows skipped. test:repo not run locally (CI Test Core).", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "line_budget": "n/a — no skills/** touched; diff +214/-20 over 5 files", "mcp_calls": "0", "api_writes": "3 — relay stroke 1 (pr_create): POST /repos/objectstack-ai/objectstack/pulls (draft), POST /repos/objectstack-ai/objectstack/issues/35627/assignees [os-sales]; post-stamped: POST /repos/objectstack-ai/objectstack/issues/35369/comments (this report)", "deviations": [ "file surface: dag-traversal.ts and engine.ts (private method return type) edited outside the claimed flow-registration-checks*.ts surface — the kind is not recoverable at the value-envelope push site without the judge's code (PM assumption measured false for that one site); overlap-check clean", "PR body opens with Fixes #35369 and ends with the AGENTS.md session-URL footer, not the harness 'Generated with' lines at the opening", "commit trailers use the model-free pair AGENTS.md requires, not the harness's model-named Co-Authored-By", "pin 'assert code/status where the test reaches a door': registerFlow throws a plain Error and reaches no HTTP door, so not asserted", "neutral header wording is self-authored and carries no ADR citation (ADR-0032 §1a is the parse rule; a date-text verdict is not a parse error)" ], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUZrkMKgGrXXe8zPGq
Claim amendment · 2026-11-19T18:33Z · claim 7016179676
File surface:
packages/services/service-automation/src/flow-registration-checks*.ts,packages/services/service-automation/src/dag-traversal.ts(valueEnvelopeRefusalspasses the judge'scodethrough),packages/services/service-automation/src/engine.ts(the private return type only),.changeset/Why: the claim assumed each refusal's kind is recoverable where it is pushed; the dev measured that false for the value-envelope site (os-dev-report 7018287017, PR #35627 head 18e9316). Same package, same mechanism, overlap-check clean.
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUZrkMKgGrXXe8zPGq
Delivered · 2026-11-19T19:21Z · PR #35627 merged (3ce6b65). The "invalid expression" header names the ADR-0032 §1a braces rule only when a listed refusal is a brace refusal; otherwise a neutral count header. No verdict or listed line changed. Nothing remains on this card.
pm:dispatchedremoved.