Skip to content

Commit 9d19397

Browse files
chore: version packages (rc)
1 parent b4487aa commit 9d19397

153 files changed

Lines changed: 5296 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: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,9 @@
152152
"agents-md-worktree-staleness",
153153
"agents-pd12-alias-retirement-path",
154154
"agents-pd12-shim-retired",
155+
"agents-releases-freeze-merge-queue",
155156
"agents-spec-generated-artifacts-map",
157+
"aggregate-bulk-dispatch-selected-ids",
156158
"aggregate-temporal-output",
157159
"aggregation-vocabulary-lockstep",
158160
"ai-agent-authoring-and-tools-removal",
@@ -194,6 +196,7 @@
194196
"approval-attachment-descriptors",
195197
"approval-dead-run-ordering-invariant",
196198
"approval-dead-run-record-lock",
199+
"approval-decision-survives-restart",
197200
"approval-empty-position-admin-override",
198201
"approval-lock-schedule-run-provenance",
199202
"approval-participant-visibility",
@@ -214,6 +217,7 @@
214217
"auth-validationerror-4xx-mapping",
215218
"authorable-surface-ratchet",
216219
"authoring-key-lint-full-coverage",
220+
"authoring-rule-command-coverage-registry",
217221
"authz-ledger-flow-runas",
218222
"automation-client-resume-screen-flow",
219223
"automation-resume-authority-gate",
@@ -222,6 +226,7 @@
222226
"batch-dropped-fields-observability",
223227
"better-auth-1-7-0-rc-2-and-prod-dep-batch",
224228
"better-auth-team-member-count",
229+
"blueprint-summary-operations",
225230
"body-write-lint-message-driver-truth",
226231
"boot-api-merge",
227232
"builtin-node-config-reconciliation",
@@ -246,6 +251,7 @@
246251
"client-keys-sharelinks-security",
247252
"client-meta-automation-descriptors",
248253
"client-packages-lifecycle",
254+
"client-readme-retired-validate-only",
249255
"client-retires-parking-spot-read",
250256
"client-url-conformance-capstone",
251257
"close-approvals-and-record-shares-gaps",
@@ -254,8 +260,10 @@
254260
"close-the-eight-reports-rest-gaps",
255261
"close-the-final-nine-rest-gaps",
256262
"close-the-nine-metadata-rest-gaps",
263+
"cold-boot-flow-bind-read-decorations",
257264
"connector-authoring-guide",
258265
"connector-descriptors-meet-their-contract",
266+
"connector-template-cluster-removed",
259267
"console-09c6a177bb4a",
260268
"console-1bb77aa24514",
261269
"console-2cb8d78e24ad",
@@ -280,12 +288,15 @@
280288
"datasource-admin-503-names-its-own-service",
281289
"datasource-availability-observability",
282290
"datasource-bound-connect-failfast",
291+
"datasource-config-driver-contract",
292+
"datasource-read-replicas-removed",
283293
"datasource-routes-catch-service-throws",
284294
"datasource-teardown-ownership",
285295
"date-bucket-parity-gate",
286296
"date-now-default-utc",
287297
"datetime-canonical-utc-storage",
288298
"datetime-storage-form-memory-mongodb",
299+
"decision-branch-routing-enforced",
289300
"decision-outputs-surface-3447",
290301
"declared-unique-index-not-legacy",
291302
"default-datasource-adopt-seam",
@@ -300,6 +311,7 @@
300311
"dev-plugin-production-hatch-brands",
301312
"dev-plugin-protocol-family-removed",
302313
"dev-plugin-security-stubs-and-prod-guard",
314+
"discovery-cache-queue-job-no-route",
303315
"discovery-data-slot-computed",
304316
"discovery-metadata-slot-computed",
305317
"discovery-remedy-names-a-real-package",
@@ -362,14 +374,18 @@
362374
"filter-no-silent-drop",
363375
"filter-tokens-runtime-resolver",
364376
"find-data-wire-context",
377+
"findone-requires-a-predicate",
365378
"fix-stale-hono-changeset-ref",
366379
"fix-stale-scaffolder-changeset-refs",
367380
"fix-unmounted-local-file-url",
368381
"flow-action-record-id-seeding",
382+
"flow-branch-gates-and-inert-condition",
383+
"flow-condition-bare-string-is-cel",
369384
"flow-create-record-write-lint",
370385
"flow-error-object-serialization",
371386
"flow-executors-parse-config",
372387
"flow-filter-collapse-and-write-path-tokens",
388+
"flow-function-declared-effect",
373389
"flow-lookup-expand",
374390
"flow-max-retries-single-default",
375391
"flow-nested-region-walk",
@@ -429,6 +445,7 @@
429445
"isLikelyEmail-no-control-char",
430446
"job-placeholder-migrates-to-db-adapter",
431447
"job-retry-timeout-3494",
448+
"kernel-metadata-loader-envelope-removed",
432449
"keyset-batch-walks",
433450
"lazy-deps-dist-probe-timeout",
434451
"lifecycle-event-registry-enforced",
@@ -440,6 +457,7 @@
440457
"lint-unique-double-declaration",
441458
"list-column-prefix-summary-object",
442459
"liveness-evidence-path-resolution",
460+
"liveness-governs-every-registered-type",
443461
"liveness-ledger-ai-scope-honesty",
444462
"liveness-orphan-row-gate",
445463
"liveness-register-orphan-proofs",
@@ -461,6 +479,7 @@
461479
"metadata-remove-artifact-api-source",
462480
"metadata-type-registration-names-a-real-hook",
463481
"metadata-unresolvable-posture-fail-closed",
482+
"migrate-meta-stored-rewrite",
464483
"migrate-occupancy-and-deferred-ddl",
465484
"migrate-occupancy-file-descriptor-signal",
466485
"migrate-plan-lists-datetime-convergence",
@@ -516,8 +535,10 @@
516535
"query-having-enforced",
517536
"rbac-objects-bulk-primitive",
518537
"react-block-field-props-lint",
538+
"react-blocks-declaration-parity-not-conformance",
519539
"react-listview-searchable-fields-lint",
520540
"react-page-props-joins-the-suite",
541+
"react-tier-record-blocks-withdrawn",
521542
"readme-fde-audience",
522543
"readonly-flow-write-json-warning",
523544
"readonly-flow-write-lint",
@@ -591,12 +612,14 @@
591612
"runtime-domain-extraction-batch3",
592613
"runtime-domain-handler-registry",
593614
"runtime-meta-data-extraction",
615+
"runtime-overlay-not-artifact",
594616
"runtime-packages-extraction",
595617
"runtime-share-links-extraction",
596618
"sandbox-structured-error-passthrough",
597619
"savemeta-persists-normalized-operators",
598620
"scaffolds-drop-memory-driver",
599621
"schemaless-node-config-contracts",
622+
"schemaless-node-expression-ledger",
600623
"scim-provider-key-and-sso-scim-parity",
601624
"scoped-invitation-placement",
602625
"screen-field-visible-when-on-the-wire",
@@ -661,13 +684,16 @@
661684
"storage-adapter-swap-verdict",
662685
"storage-download-filename",
663686
"stored-metadata-replays-the-chain",
687+
"stored-migration-covers-flows",
664688
"strictness-ledger-gate",
665689
"strictness-ledger-recursive-coverage",
666690
"strip-read-decorations-on-save",
691+
"summary-index-registry-revision",
667692
"sweep-close-out",
668693
"sys-migration-ledger-platform-infra",
669694
"sys-secret-store-platform-infra",
670695
"sys-view-definition-default-open",
696+
"system-field-name-injected-columns",
671697
"temporal-conformance-matrix",
672698
"temporal-conformance-stall-guard",
673699
"temporal-conformance-token-axis",
@@ -676,6 +702,7 @@
676702
"temporal-hooks-on-contract",
677703
"temporal-storage-form-axis-tests",
678704
"temporal-time-axis",
705+
"tenancy-default-org-fail-closed",
679706
"tender-hats-brush",
680707
"test-core-stall-guard",
681708
"tests-off-memory-driver",
@@ -702,6 +729,7 @@
702729
"unordered-paged-read-determinism",
703730
"update-record-dropped-field-warnings",
704731
"url-field-accepts-relative-urls",
732+
"user-field-implicit-target",
705733
"user-less-run-data-ops-refused",
706734
"user-level-export-axis",
707735
"v17-dissolve-protocol-alias",
@@ -721,6 +749,7 @@
721749
"webhook-liveness-ledger-flip",
722750
"webhooks-drop-dead-delivery-i18n",
723751
"wildcard-fallthrough-guard",
724-
"withdraw-adr-0107-drop-writes-proposal"
752+
"withdraw-adr-0107-drop-writes-proposal",
753+
"workflow-slot-retired"
725754
]
726755
}

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)