Skip to content

Commit bc1e830

Browse files
chore: version packages (rc)
1 parent 328ccc5 commit bc1e830

153 files changed

Lines changed: 5606 additions & 83 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/pre.json

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
"action-crash-vs-rejection",
8888
"action-execute-target-precedence",
8989
"action-governance-engine-owned",
90+
"action-no-placement-lint",
9091
"action-param-inline-lookup-reference",
9192
"action-param-strict-unknown-keys",
9293
"action-record-write-discarded-lint",
@@ -152,7 +153,9 @@
152153
"agents-md-worktree-staleness",
153154
"agents-pd12-alias-retirement-path",
154155
"agents-pd12-shim-retired",
156+
"agents-releases-freeze-merge-queue",
155157
"agents-spec-generated-artifacts-map",
158+
"aggregate-bulk-dispatch-selected-ids",
156159
"aggregate-temporal-output",
157160
"aggregation-vocabulary-lockstep",
158161
"ai-agent-authoring-and-tools-removal",
@@ -177,6 +180,7 @@
177180
"analytics-order-by-display-label",
178181
"analytics-query-bare-shape-entry-validation",
179182
"analytics-read-scope-bridge-order",
183+
"analytics-record-scoping-and-measure-fields",
180184
"analytics-timedimension-projection",
181185
"analytics-widget-query-options",
182186
"api-exposure-failopen-observability",
@@ -194,6 +198,7 @@
194198
"approval-attachment-descriptors",
195199
"approval-dead-run-ordering-invariant",
196200
"approval-dead-run-record-lock",
201+
"approval-decision-survives-restart",
197202
"approval-empty-position-admin-override",
198203
"approval-lock-schedule-run-provenance",
199204
"approval-participant-visibility",
@@ -214,6 +219,7 @@
214219
"auth-validationerror-4xx-mapping",
215220
"authorable-surface-ratchet",
216221
"authoring-key-lint-full-coverage",
222+
"authoring-rule-command-coverage-registry",
217223
"authz-ledger-flow-runas",
218224
"automation-client-resume-screen-flow",
219225
"automation-resume-authority-gate",
@@ -222,6 +228,7 @@
222228
"batch-dropped-fields-observability",
223229
"better-auth-1-7-0-rc-2-and-prod-dep-batch",
224230
"better-auth-team-member-count",
231+
"blueprint-summary-operations",
225232
"body-write-lint-message-driver-truth",
226233
"boot-api-merge",
227234
"builtin-node-config-reconciliation",
@@ -246,6 +253,7 @@
246253
"client-keys-sharelinks-security",
247254
"client-meta-automation-descriptors",
248255
"client-packages-lifecycle",
256+
"client-readme-retired-validate-only",
249257
"client-retires-parking-spot-read",
250258
"client-url-conformance-capstone",
251259
"close-approvals-and-record-shares-gaps",
@@ -254,8 +262,10 @@
254262
"close-the-eight-reports-rest-gaps",
255263
"close-the-final-nine-rest-gaps",
256264
"close-the-nine-metadata-rest-gaps",
265+
"cold-boot-flow-bind-read-decorations",
257266
"connector-authoring-guide",
258267
"connector-descriptors-meet-their-contract",
268+
"connector-template-cluster-removed",
259269
"console-09c6a177bb4a",
260270
"console-1bb77aa24514",
261271
"console-2cb8d78e24ad",
@@ -280,12 +290,15 @@
280290
"datasource-admin-503-names-its-own-service",
281291
"datasource-availability-observability",
282292
"datasource-bound-connect-failfast",
293+
"datasource-config-driver-contract",
294+
"datasource-read-replicas-removed",
283295
"datasource-routes-catch-service-throws",
284296
"datasource-teardown-ownership",
285297
"date-bucket-parity-gate",
286298
"date-now-default-utc",
287299
"datetime-canonical-utc-storage",
288300
"datetime-storage-form-memory-mongodb",
301+
"decision-branch-routing-enforced",
289302
"decision-outputs-surface-3447",
290303
"declared-unique-index-not-legacy",
291304
"default-datasource-adopt-seam",
@@ -300,6 +313,7 @@
300313
"dev-plugin-production-hatch-brands",
301314
"dev-plugin-protocol-family-removed",
302315
"dev-plugin-security-stubs-and-prod-guard",
316+
"discovery-cache-queue-job-no-route",
303317
"discovery-data-slot-computed",
304318
"discovery-metadata-slot-computed",
305319
"discovery-remedy-names-a-real-package",
@@ -362,14 +376,18 @@
362376
"filter-no-silent-drop",
363377
"filter-tokens-runtime-resolver",
364378
"find-data-wire-context",
379+
"findone-requires-a-predicate",
365380
"fix-stale-hono-changeset-ref",
366381
"fix-stale-scaffolder-changeset-refs",
367382
"fix-unmounted-local-file-url",
368383
"flow-action-record-id-seeding",
384+
"flow-branch-gates-and-inert-condition",
385+
"flow-condition-bare-string-is-cel",
369386
"flow-create-record-write-lint",
370387
"flow-error-object-serialization",
371388
"flow-executors-parse-config",
372389
"flow-filter-collapse-and-write-path-tokens",
390+
"flow-function-declared-effect",
373391
"flow-lookup-expand",
374392
"flow-max-retries-single-default",
375393
"flow-nested-region-walk",
@@ -429,6 +447,7 @@
429447
"isLikelyEmail-no-control-char",
430448
"job-placeholder-migrates-to-db-adapter",
431449
"job-retry-timeout-3494",
450+
"kernel-metadata-loader-envelope-removed",
432451
"keyset-batch-walks",
433452
"lazy-deps-dist-probe-timeout",
434453
"lifecycle-event-registry-enforced",
@@ -440,6 +459,7 @@
440459
"lint-unique-double-declaration",
441460
"list-column-prefix-summary-object",
442461
"liveness-evidence-path-resolution",
462+
"liveness-governs-every-registered-type",
443463
"liveness-ledger-ai-scope-honesty",
444464
"liveness-orphan-row-gate",
445465
"liveness-register-orphan-proofs",
@@ -461,6 +481,7 @@
461481
"metadata-remove-artifact-api-source",
462482
"metadata-type-registration-names-a-real-hook",
463483
"metadata-unresolvable-posture-fail-closed",
484+
"migrate-meta-stored-rewrite",
464485
"migrate-occupancy-and-deferred-ddl",
465486
"migrate-occupancy-file-descriptor-signal",
466487
"migrate-plan-lists-datetime-convergence",
@@ -516,8 +537,10 @@
516537
"query-having-enforced",
517538
"rbac-objects-bulk-primitive",
518539
"react-block-field-props-lint",
540+
"react-blocks-declaration-parity-not-conformance",
519541
"react-listview-searchable-fields-lint",
520542
"react-page-props-joins-the-suite",
543+
"react-tier-record-blocks-withdrawn",
521544
"readme-fde-audience",
522545
"readonly-flow-write-json-warning",
523546
"readonly-flow-write-lint",
@@ -591,12 +614,14 @@
591614
"runtime-domain-extraction-batch3",
592615
"runtime-domain-handler-registry",
593616
"runtime-meta-data-extraction",
617+
"runtime-overlay-not-artifact",
594618
"runtime-packages-extraction",
595619
"runtime-share-links-extraction",
596620
"sandbox-structured-error-passthrough",
597621
"savemeta-persists-normalized-operators",
598622
"scaffolds-drop-memory-driver",
599623
"schemaless-node-config-contracts",
624+
"schemaless-node-expression-ledger",
600625
"scim-provider-key-and-sso-scim-parity",
601626
"scoped-invitation-placement",
602627
"screen-field-visible-when-on-the-wire",
@@ -661,13 +686,16 @@
661686
"storage-adapter-swap-verdict",
662687
"storage-download-filename",
663688
"stored-metadata-replays-the-chain",
689+
"stored-migration-covers-flows",
664690
"strictness-ledger-gate",
665691
"strictness-ledger-recursive-coverage",
666692
"strip-read-decorations-on-save",
693+
"summary-index-registry-revision",
667694
"sweep-close-out",
668695
"sys-migration-ledger-platform-infra",
669696
"sys-secret-store-platform-infra",
670697
"sys-view-definition-default-open",
698+
"system-field-name-injected-columns",
671699
"temporal-conformance-matrix",
672700
"temporal-conformance-stall-guard",
673701
"temporal-conformance-token-axis",
@@ -676,6 +704,7 @@
676704
"temporal-hooks-on-contract",
677705
"temporal-storage-form-axis-tests",
678706
"temporal-time-axis",
707+
"tenancy-default-org-fail-closed",
679708
"tender-hats-brush",
680709
"test-core-stall-guard",
681710
"tests-off-memory-driver",
@@ -702,6 +731,7 @@
702731
"unordered-paged-read-determinism",
703732
"update-record-dropped-field-warnings",
704733
"url-field-accepts-relative-urls",
734+
"user-field-implicit-target",
705735
"user-less-run-data-ops-refused",
706736
"user-level-export-axis",
707737
"v17-dissolve-protocol-alias",
@@ -721,6 +751,7 @@
721751
"webhook-liveness-ledger-flip",
722752
"webhooks-drop-dead-delivery-i18n",
723753
"wildcard-fallthrough-guard",
724-
"withdraw-adr-0107-drop-writes-proposal"
754+
"withdraw-adr-0107-drop-writes-proposal",
755+
"workflow-slot-retired"
725756
]
726757
}

examples/app-crm/CHANGELOG.md

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,126 @@
11
# @objectstack/example-crm
22

3+
## 4.0.92-rc.2
4+
5+
### Patch Changes
6+
7+
- 5293114: fix(automation): a decision's three declared ways to route a branch are now one working model (#4414)
8+
9+
A `decision` node advertised three mechanisms for splitting a path and only one
10+
of them did anything. The other two were the ADR-0049 `declared ≠ enforced`
11+
shape, and the pair of them shipped a guard that does not guard in
12+
`examples/app-crm`.
13+
14+
| mechanism | before | now |
15+
| :--------------------------------------------------- | :----------------------------------------------------------------------------------------------------- | :---------------------------------------------------- |
16+
| `edge.condition` | ✅ the only one that worked | unchanged |
17+
| `edge.isDefault` | **zero readers** anywhere but the schema declaration | BPMN default flow, enforced in `traverseNext` |
18+
| `decision.config.conditions[].label``branchLabel` | matched **0** out-edge labels across every example app, then fell back to the full edge set in silence | routes; an unclaimable label is logged, not swallowed |
19+
20+
## What was broken, end to end
21+
22+
`crm_convert_lead_wizard` means "already converted → abort screen; otherwise →
23+
the wizard". It ran **both**: an already-converted lead got
24+
"This lead has already been converted" and then walked straight into the
25+
conversion wizard behind it. Four independent silences stacked up:
26+
27+
1. the decision's first condition was authored `{lead_record.status} ==
28+
'converted'` — braces in a slot declared bare CEL, so it was string-compared
29+
and never true;
30+
2. the second (`'true'`) therefore won, yielding `branchLabel: 'No — proceed'`;
31+
3. no out-edge carried that label (they were `'Yes'` / `'No'`), so traversal
32+
discarded the branch and considered every out-edge;
33+
4. `e3b` was unconditional, so it ran regardless — and the natural fix, marking
34+
it `isDefault: true`, was a dead key.
35+
36+
## The model
37+
38+
`branchLabel` narrows the edge set → `condition` gates each edge → `isDefault`
39+
catches whatever is left. Concretely:
40+
41+
- **`isDefault` is enforced.** A default edge is traversed only when no
42+
conditional sibling of the same source node matched, and it is no longer part
43+
of the unconditional parallel fan-out — that distinction is the whole point of
44+
the marker. Passed over because a real branch won, its target records the same
45+
`skipped` step a closed gate does (#4354).
46+
- **An unclaimable branch label warns.** Traversal still falls back to the full
47+
edge set (a run mid-flight must not die on a metadata error) but says so,
48+
naming the computed branch and the out-edge labels that exist.
49+
- **A decision that declares no `conditions` reports no branch.** It used to
50+
report `'default'` unconditionally — a label no out-edge in the repo ever
51+
carried — which is why every decision node fell back to the full edge set.
52+
The `'default'` sentinel survives for the case it actually describes (declared
53+
conditions, none matched) and is now claimed by the `isDefault` edge as well
54+
as by an edge literally labelled `'default'`.
55+
- **`conditions[].expression` is evaluated as the bare CEL it is declared to
56+
be.** The raw string went to the legacy `{var}` template path, where
57+
`lead.status == 'converted'` cannot resolve and the branch is decided by
58+
string comparison. Unlike `edge.condition` this slot carries no
59+
`ExpressionInput` envelope — the decision descriptor is deliberately
60+
schemaless — so the executor supplies the dialect. A brace-in-CEL predicate
61+
now fails loudly (ADR-0032 §1c) instead of deciding `false`.
62+
63+
## Caught at authoring time too
64+
65+
Four new `os build` / `os validate` warnings, because a wrong route is silent at
66+
run time by nature (Prime Directive #12):
67+
68+
`flow-branch-label-unmatched` (the shipped shape),
69+
`flow-decision-unconditional-branch` (a guarded decision with an unconditional
70+
sibling — the actual hole), `flow-default-edge-with-condition` and
71+
`flow-multiple-default-edges`.
72+
73+
Both of the first two fire on the pre-fix `convert-lead.flow.ts` and are silent
74+
after it.
75+
76+
## Effect on flows that already exist
77+
78+
Enforcing `isDefault` changes how a **stored** flow behaves, and the flows it
79+
changes are mostly Studio's own. `objectui`'s flow edge inspector has always
80+
written `isDefault: true` when you bind an out-edge to a decision's default/else
81+
branch — into a key with zero readers, so that edge ran unconditionally, in
82+
parallel with whichever branch actually matched. Those flows now take exactly
83+
one branch. That is the fix, but it is a behaviour change on existing data
84+
rather than only on newly authored metadata, so it is worth knowing before
85+
upgrading: a flow that quietly ran two paths will now run one.
86+
87+
Nothing changes for an edge that never carried the marker — `isDefault` defaults
88+
to `false`, and an ordinary unconditional out-edge still fans out in parallel
89+
exactly as before.
90+
91+
## The example app
92+
93+
`crm_convert_lead_wizard`'s guard is now a plain exclusive gateway: the
94+
redundant `config.conditions` is gone and `e3b` carries `isDefault: true`. One
95+
mechanism per decision, and exactly one branch runs.
96+
97+
Verified: 11 new engine/executor tests (including the reported repro in both
98+
directions), 12 new linter tests; `@objectstack/service-automation` 577 tests
99+
and `@objectstack/cli` 652 tests green, all three example apps build with no new
100+
findings.
101+
102+
- Updated dependencies [e6b1b69]
103+
- Updated dependencies [2826d1e]
104+
- Updated dependencies [462d9c4]
105+
- Updated dependencies [5b843fb]
106+
- Updated dependencies [b4487aa]
107+
- Updated dependencies [cdf4d9a]
108+
- Updated dependencies [9ca2d85]
109+
- Updated dependencies [5293114]
110+
- Updated dependencies [20bc357]
111+
- Updated dependencies [ec975f1]
112+
- Updated dependencies [eb4204b]
113+
- Updated dependencies [cf2c9b7]
114+
- Updated dependencies [0f9faa2]
115+
- Updated dependencies [9c93465]
116+
- Updated dependencies [ebb209c]
117+
- Updated dependencies [f3141d8]
118+
- Updated dependencies [04f1182]
119+
- Updated dependencies [ad5fe25]
120+
- Updated dependencies [dadb43f]
121+
- @objectstack/spec@17.0.0-rc.2
122+
- @objectstack/runtime@17.0.0-rc.2
123+
3124
## 4.0.92-rc.1
4125

5126
### Patch Changes

examples/app-crm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@objectstack/example-crm",
3-
"version": "4.0.92-rc.1",
3+
"version": "4.0.92-rc.2",
44
"description": "Minimal CRM example — a smoke-test workspace that exercises the metadata loading pipeline (objects → views → app → dashboard → hook → flow → seed). For a full-featured enterprise CRM see https://github.com/objectstack-ai/hotcrm.",
55
"license": "Apache-2.0",
66
"private": true,

0 commit comments

Comments
 (0)