Skip to content

Commit 0984c77

Browse files
chore(deps): move .objectstack-sha to the objectstack 18.1.0 release commit e649c2d (objectui#13440) (#13445)
<!-- claude-projects-attribution: {"github_login":"os-sales"} --> _Requested by **Sales** · [project thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4UuQx8xAyxeMnyWkn84sEzqVb)_ Closes #13440 Clause-②: no Metadata-protocol: none Unblocks #13285 and #13305 (both wait for a pin that carries 18.1.0). ## The pin - `.objectstack-sha` moves from `915e94049922` to `e649c2d91e270e3da26820bcfe54a28445305a75`, the objectstack 18.1.0 release commit ("chore: version packages", #25606). It carries #25483 and #25564, which #25251 required to ship in one release, so the same-release hold is met. - **Ancestry, read in the objectstack checkout:** `git merge-base --is-ancestor e649c2d origin/main` exits 0, and the bump script reported "(on origin/main)". The `@objectstack/cli@18.1.0` tag peels to `e649c2d91e`. - **The path:** `scripts/bump-objectstack.sh e649c2d --no-commit` (so the commit carries the repo's trailer pair), which fetched the sha and built and packed the 7 packages, then `pnpm install`. - **What moved:** `.objectstack-sha` and the seven packed manifests in `.objectstack-pin/`. The manifests change only version strings, `18.0.0` to `18.1.0` (the package's own version and its `@objectstack/*` dependencies). - **`pnpm-lock.yaml` is unchanged.** `pnpm install` left it byte-identical, and `pnpm install --frozen-lockfile` exits 0. So the Dependabot lockfile PRs (#13438, #13439) do not overlap this one. - `pnpm objectstack:status` answers `✓ built at the pin e649c2d`. ## What the move breaks, and the follow-through in this PR Each item below is red on the bare pin move and was fixed here because the failing check names its own fix. Nothing else changed. ### 1. The `external` tripwire in `@object-ui/auth` (objectui#13427) `packages/auth/src/__tests__/org-roles.test.ts` › "spells external itself only while the pin predates objectstack#25515" went red as designed. Its message prescribes the swap, and this PR does exactly that: - `packages/auth/src/org-roles.ts` re-exports the spec's `MEMBERSHIP_ROLE_EXTERNAL` as `ORG_ROLE_EXTERNAL` instead of spelling the literal. **The exported name and its value (`'external'`) are unchanged**, and its declared type is still the literal `"external"`, so `@object-ui/auth`'s public face does not move (Clause-② stays `no`). `ORG_ROLE_LABELS` is typed `Record<OrgRole, …>` again, with the `| typeof ORG_ROLE_EXTERNAL` union dropped. - The tripwire test is deleted, with its now unused `@objectstack/spec` namespace import. - `InviteMemberDialog.roleCap.test.tsx` and `org-i18n-holdouts-4474.test.tsx` now expect `external` in the invite dialog's role list. This is the spec's 18.1.0 vocabulary reaching `ORG_ROLES`, which objectui#13427's changeset already described: "Wherever the installed spec lists the role, the invite dialog offers it to every issuer who can invite". It is not a choice made by this card. The owner list gains `external`, and a delegated admin or an unloaded membership is offered `['member', 'external']`. The delegate test's name now says "offered member and external only". ### 2. `check:installed-pin-claims`: 34 present-tense "installed 18.0.0" stamps The gate is blocking through `scripts/__tests__/check-installed-spec-pin-claims.test.ts`. The packed manifests now say 18.1.0, so it flagged 34 lines in 24 files, all comments or test description strings. No code changes. **Every stamp was re-measured before it moved.** The method: - The spec SOURCE diff between the two pins, `git diff --name-only 915e940 e649c2d -- packages/spec/src`, touches only `automation/flow.zod.ts` (the `runAs` description text and a comment), `data/object.zod.ts` (the new `membershipKeys` key and its extension refusal), `identity/*` (the `external` role), `kernel/execution-context.zod.ts` and `security/explain.zod.ts` (descriptions and comments), `security/rls.zod.ts` (`MembershipKeysSchema`), `stack.zod.ts` (the duplicate membership-key refusal), `index.ts` (two new exports) and one semantic migration entry, plus tests. - No claim's subject is in that set. The subjects are `ui/*` rows (`ViewDataSchema`, `ComponentPropsMap['object-calendar']` and `['object-kanban']`, list-view conditional formatting and card style rules, the chart and dashboard `aria` tombstones, record components, form section groups, master-detail details, the gantt `navigation` tombstone), `FieldSchema` and `SelectOptionSchema`, and flow node config (`waitForInput`, the single-brace mark, the canvas-seed save errors). The two claims about non-spec sources were checked at their own source: `packages/lint/src/validate-expressions.ts` (the `current_user` CEL message `celAuthoring.ts` quotes) has an empty diff between the pins, and the trigger packages changed only `CHANGELOG.md` and `package.json`. - The test files that carry a claim, or pin a source file's claim, ran green at the new pin (see the verification comment). Each stamp moves `18.0.0` to `18.1.0`. A stamp that carries its re-measure list (`objectui#12030, … objectui#13261`) gains `objectui#13440`, the same form objectui#13261 used. After the restamp the gate answers `34 at the pin` and `OK`. ### 3. `e2e/live/ci/backend.env` `scripts/__tests__/ci-cd-pipeline-doc.test.ts` › "pins OBJECTSTACK_VERSION to the version the lockfile resolves" went red. `OBJECTSTACK_VERSION` moves `18.0.0` to `18.1.0`. Its `@objectstack/cli@18.1.0` tag peels to this pin's commit, so the live lane's backend and the console's pin are the same release. ### 4. The `ObjectSchema` key-count guards in `app-shell` `MetadataService.retiredObjectEnabled.test.ts` (line 157) and `MetadataService.specKeyObjectPayload.test.ts` (line 171) count the keys `ObjectSchema` accepts, and both went red with `expected 47 to be 46`. Spec 18.1.0 adds one key, `membershipKeys` (#25513). **Measured, not assumed:** the spec's own `authorable-surface/data.json` gains exactly `data/Object:membershipKeys` between `915e9404` and `e649c2d91e`, and loses nothing. Both guards now expect 47, and each carries a comment with that basis, in the same form as the earlier re-point (objectui#12971). The two files pass, 25 tests. ## Changeset `.changeset/13440-objectstack-pin-e649c2d.md` declares `'@object-ui/auth': patch`. The published module now imports `MEMBERSHIP_ROLE_EXTERNAL` from `@objectstack/spec`, so it needs a spec that exports it (18.1.0 or later). `node scripts/objectstack-floor.mjs --dry-run` exits 0 and moves 37 ranges to `^18.1.0` at publish, so the published ranges will require that version. `check-changeset-presence.mjs` and `check-changeset-no-major.mjs` pass. ## Acceptance notes - The restamped comments in published packages (`types`, `core`, `plugin-calendar`, `plugin-designer`, `plugin-detail`, `plugin-kanban`, `app-shell`) change no behaviour, so the changeset names `@object-ui/auth` only. - After merge the seat reads #13285 and #13305 against the new pin, as the card says. - [x] Adds no product-specific widget, dialog, hook or string (see AGENTS.md › Product-neutral renderer) Session: `https://claude.ai/code/session_01CErMSwkRLW7c7jk23MHfVP` 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01CErMSwkRLW7c7jk23MHfVP --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 47138b7 commit 0984c77

40 files changed

Lines changed: 104 additions & 112 deletions
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@object-ui/auth': patch
3+
---
4+
5+
The `@objectstack/*` pin moves from `915e940499` to objectstack `e649c2d91e`, the 18.1.0 release commit (objectstack#25606), past objectstack#25483 and objectstack#25564, which ship together in that release (objectui#13440).
6+
7+
`@object-ui/auth` now takes `ORG_ROLE_EXTERNAL` from `@objectstack/spec`'s `MEMBERSHIP_ROLE_EXTERNAL` instead of spelling the literal. The exported name and its value (`'external'`) are unchanged, and `ORG_ROLE_LABELS` is typed by `OrgRole` alone again. The published module now imports that constant, so it needs an `@objectstack/spec` that exports it (18.1.0 or later); the publish step floors the `@objectstack/*` ranges at the release that contains the pin. With that spec the invite dialog lists `external` among the roles it offers, as objectui#13427 described for a spec that lists the role.

‎.objectstack-pin/client/package.json‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@objectstack/client",
3-
"version": "18.0.0",
3+
"version": "18.1.0",
44
"license": "Apache-2.0",
55
"description": "Official Client SDK for ObjectStack Protocol",
66
"main": "dist/index.js",
@@ -13,23 +13,23 @@
1313
}
1414
},
1515
"dependencies": {
16-
"@objectstack/core": "18.0.0",
17-
"@objectstack/spec": "18.0.0"
16+
"@objectstack/core": "18.1.0",
17+
"@objectstack/spec": "18.1.0"
1818
},
1919
"devDependencies": {
2020
"@hono/node-server": "^2.1.1",
21-
"@objectstack/driver-sqlite-wasm": "18.0.0",
22-
"@objectstack/hono": "18.0.0",
23-
"@objectstack/metadata-core": "18.0.0",
24-
"@objectstack/metadata-protocol": "18.0.0",
25-
"@objectstack/objectql": "18.0.0",
26-
"@objectstack/platform-objects": "18.0.0",
27-
"@objectstack/plugin-auth": "18.0.0",
28-
"@objectstack/plugin-hono-server": "18.0.0",
29-
"@objectstack/rest": "18.0.0",
30-
"@objectstack/runtime": "18.0.0",
31-
"@objectstack/service-analytics": "18.0.0",
32-
"@objectstack/service-automation": "18.0.0",
21+
"@objectstack/driver-sqlite-wasm": "18.1.0",
22+
"@objectstack/hono": "18.1.0",
23+
"@objectstack/metadata-core": "18.1.0",
24+
"@objectstack/metadata-protocol": "18.1.0",
25+
"@objectstack/objectql": "18.1.0",
26+
"@objectstack/platform-objects": "18.1.0",
27+
"@objectstack/plugin-auth": "18.1.0",
28+
"@objectstack/plugin-hono-server": "18.1.0",
29+
"@objectstack/rest": "18.1.0",
30+
"@objectstack/runtime": "18.1.0",
31+
"@objectstack/service-analytics": "18.1.0",
32+
"@objectstack/service-automation": "18.1.0",
3333
"tsx": "^4.23.15",
3434
"typescript": "^6.0.3",
3535
"vitest": "^4.1.11"

‎.objectstack-pin/core/package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@objectstack/core",
3-
"version": "18.0.0",
3+
"version": "18.1.0",
44
"license": "Apache-2.0",
55
"description": "Microkernel Core for ObjectStack",
66
"type": "module",
@@ -19,16 +19,16 @@
1919
}
2020
},
2121
"devDependencies": {
22-
"@objectstack/metadata-core": "18.0.0",
22+
"@objectstack/metadata-core": "18.1.0",
2323
"@objectstack/refd-timer-testkit": "0.1.0",
2424
"@types/node": "^26.6.3",
2525
"esbuild": "^0.28.2",
2626
"typescript": "^6.0.3",
2727
"vitest": "^4.1.11"
2828
},
2929
"dependencies": {
30-
"@objectstack/spec": "18.0.0",
31-
"@objectstack/types": "18.0.0",
30+
"@objectstack/spec": "18.1.0",
31+
"@objectstack/types": "18.1.0",
3232
"zod": "^4.6.5"
3333
},
3434
"keywords": [

‎.objectstack-pin/formula/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@objectstack/formula",
3-
"version": "18.0.0",
3+
"version": "18.1.0",
44
"license": "Apache-2.0",
55
"description": "ObjectStack canonical expression engine — CEL (cel-js) + ObjectStack stdlib + dialect registry",
66
"main": "dist/index.js",
@@ -14,7 +14,7 @@
1414
},
1515
"dependencies": {
1616
"@marcbachmann/cel-js": "^8.0.0",
17-
"@objectstack/spec": "18.0.0"
17+
"@objectstack/spec": "18.1.0"
1818
},
1919
"devDependencies": {
2020
"@types/node": "^26.6.3",

‎.objectstack-pin/lint/package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@objectstack/lint",
3-
"version": "18.0.0",
3+
"version": "18.1.0",
44
"license": "Apache-2.0",
55
"description": "Static, build-time validation for an ObjectStack metadata graph — dashboard widget bindings, CEL/predicate expressions, and more. Pure (stack) => Issue[] functions shared by the CLI's `os validate` and any other consumer (e.g. AI authoring). Depends on @objectstack/spec; never on a runtime.",
66
"type": "module",
@@ -39,9 +39,9 @@
3939
}
4040
},
4141
"dependencies": {
42-
"@objectstack/formula": "18.0.0",
43-
"@objectstack/sdui-parser": "18.0.0",
44-
"@objectstack/spec": "18.0.0",
42+
"@objectstack/formula": "18.1.0",
43+
"@objectstack/sdui-parser": "18.1.0",
44+
"@objectstack/spec": "18.1.0",
4545
"ajv": "^8.20.0",
4646
"ajv-formats": "^3.0.1",
4747
"sucrase": "^3.35.1",

‎.objectstack-pin/sdui-parser/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@objectstack/sdui-parser",
3-
"version": "18.0.0",
3+
"version": "18.1.0",
44
"license": "Apache-2.0",
55
"description": "ObjectStack constrained JSX-source → SDUI SchemaNode tree compiler (parse, never execute). Isomorphic, zero React. ADR-0080.",
66
"main": "dist/index.js",

‎.objectstack-pin/spec/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@objectstack/spec",
3-
"version": "18.0.0",
3+
"version": "18.1.0",
44
"description": "ObjectStack Protocol & Specification - TypeScript Interfaces, JSON Schemas, and Convention Configurations",
55
"license": "Apache-2.0",
66
"main": "dist/index.js",

‎.objectstack-pin/types/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@objectstack/types",
3-
"version": "18.0.0",
3+
"version": "18.1.0",
44
"license": "Apache-2.0",
55
"description": "Shared interfaces describing the ObjectStack Runtime environment",
66
"main": "dist/index.js",
@@ -18,7 +18,7 @@
1818
}
1919
},
2020
"dependencies": {
21-
"@objectstack/spec": "18.0.0"
21+
"@objectstack/spec": "18.1.0"
2222
},
2323
"devDependencies": {
2424
"typescript": "^6.0.3",

‎.objectstack-sha‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
915e9404992234a7cd0d2dd4701dfbadbe9cb2c7
1+
e649c2d91e270e3da26820bcfe54a28445305a75

‎apps/console/src/__tests__/registry-inputs-spec-parity.test.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3180,11 +3180,11 @@ const MEMBER_PINS: Record<string, MemberPin> = {
31803180
},
31813181
'object-grid.data': {
31823182
file: 'packages/plugin-grid/src/__tests__/gridDataInputContract.test.ts',
3183-
pins: 'The `object` arm is `ViewDataSchema` discriminated on `provider`: each of the three providers parses and the retired `api` one is refused (spec 18.0.0, objectui#12370, objectui#12971, objectui#13261), none of them is an array, the declaration is one shape across both registered tags so the alias cannot drift, and it is pinned at compile time too (objectui#5090).',
3183+
pins: 'The `object` arm is `ViewDataSchema` discriminated on `provider`: each of the three providers parses and the retired `api` one is refused (spec 18.1.0, objectui#12370, objectui#12971, objectui#13261, objectui#13440), none of them is an array, the declaration is one shape across both registered tags so the alias cannot drift, and it is pinned at compile time too (objectui#5090).',
31843184
},
31853185
'object-grid.conditionalFormatting': {
31863186
file: 'packages/plugin-grid/src/__tests__/gridRowDecorationMembers-8071.test.tsx',
3187-
pins: 'The members read inside ONE formatting rule, asserted on the `style` attribute of the `<tr>` the grid paints. THREE alternative predicate members with a PRECEDENCE between them — one rule carrying `condition`, `expression` and the native `field`/`operator`/`value` triple, each naming a DIFFERENT row, is decided by `condition`; drop it and `expression` decides; drop that and the triple does — so a renderer reading any two of them as equivalent is red in a specific direction rather than merely unpinned. FOUR style members, and the sharp one is a RENAME: `backgroundColor` and `borderColor` keep their authored names on the way to the DOM while `textColor` is read as the CSS `color`, so keeping the authored spelling hands React a key it silently drops — same rules, same background, the text colour gone with nothing thrown. `style` is pinned as the BASE the three colour members override rather than replace (a non-colour member of it survives alongside the override). Two rule-list facts complete it: FIRST-MATCH-WINS with no merge (the second matching rule\'s own `textColor` never lands) and a rule carrying NO predicate member is SKIPPED rather than read as always-true, with the rule after it still deciding. ⚠️ Since objectui#11533 the AUTHORED member is ONE dialect, `{ condition, style }`: `expression`, the native triple and the three top-level colour members are refused by name on `ObjectGridSchema` and the list view (`packages/types/src/__tests__/grid-list-view-conditional-formatting-11533.test.ts`), so the rows that write them pin STORED-rule reads, which the resolver keeps as compatibility arms; a last block pins the two facts side by side — the stored native rule refused at authoring and painted at render, with its respelling painting the same row. The registration is an `array` arm; the installed spec row (18.0.0, re-measured by objectui#12030, objectui#12370, objectui#12626, objectui#12873, objectui#12971, objectui#13261) takes the list view\'s own `{ condition, style }` rule and refuses the native members and any other key, so the spec fixes the AUTHORED shape and the read site is the rest of the member contract, the stored-rule compatibility arms included (objectui#8071 slice 12).',
3187+
pins: 'The members read inside ONE formatting rule, asserted on the `style` attribute of the `<tr>` the grid paints. THREE alternative predicate members with a PRECEDENCE between them — one rule carrying `condition`, `expression` and the native `field`/`operator`/`value` triple, each naming a DIFFERENT row, is decided by `condition`; drop it and `expression` decides; drop that and the triple does — so a renderer reading any two of them as equivalent is red in a specific direction rather than merely unpinned. FOUR style members, and the sharp one is a RENAME: `backgroundColor` and `borderColor` keep their authored names on the way to the DOM while `textColor` is read as the CSS `color`, so keeping the authored spelling hands React a key it silently drops — same rules, same background, the text colour gone with nothing thrown. `style` is pinned as the BASE the three colour members override rather than replace (a non-colour member of it survives alongside the override). Two rule-list facts complete it: FIRST-MATCH-WINS with no merge (the second matching rule\'s own `textColor` never lands) and a rule carrying NO predicate member is SKIPPED rather than read as always-true, with the rule after it still deciding. ⚠️ Since objectui#11533 the AUTHORED member is ONE dialect, `{ condition, style }`: `expression`, the native triple and the three top-level colour members are refused by name on `ObjectGridSchema` and the list view (`packages/types/src/__tests__/grid-list-view-conditional-formatting-11533.test.ts`), so the rows that write them pin STORED-rule reads, which the resolver keeps as compatibility arms; a last block pins the two facts side by side — the stored native rule refused at authoring and painted at render, with its respelling painting the same row. The registration is an `array` arm; the installed spec row (18.1.0, re-measured by objectui#12030, objectui#12370, objectui#12626, objectui#12873, objectui#12971, objectui#13261, objectui#13440) takes the list view\'s own `{ condition, style }` rule and refuses the native members and any other key, so the spec fixes the AUTHORED shape and the read site is the rest of the member contract, the stored-rule compatibility arms included (objectui#8071 slice 12).',
31883188
},
31893189
'object-grid.operations': {
31903190
file: 'packages/plugin-grid/src/__tests__/gridOperationsMembers-8071.test.tsx',
@@ -3260,7 +3260,7 @@ const MEMBER_PINS: Record<string, MemberPin> = {
32603260
},
32613261
'object-kanban.conditionalFormatting': {
32623262
file: 'packages/plugin-kanban/src/__tests__/ObjectKanban.structuredMembersReachTheirSinks-8313.test.tsx',
3263-
pins: 'Members are card STYLE RULES in ONE dialect since objectui#11522, the spec list view\'s `{ condition, style }`, and it reaches the sink: a rule colours the matching card and only it, a second rule aimed at the other card does the same, and the whole `style` map arrives, with the sibling card in the same render as the live non-matching control so a green cannot come from two unstyled cards agreeing. The retired native `{ field, operator, value }` and flat-colour dialects are refused by name on the types side (`packages/types/src/__tests__/kanban-conditional-formatting.test.ts`); these rows are their respellings, painting the same cards. ⛔ NOT an identity pin and not a wire pin: `ObjectKanban.tsx` never names this key at all (measured zero, against nine for `cardFields` in the same file) — it rides the `{ ...schema }` spread into `KanbanRenderer`, which forwards it to `KanbanImpl`\'s `getCardStyles`. That makes the pin load-bearing in a way the others are not: an edit replacing that spread with an explicit key list drops the key silently and nothing else in the repo would notice. The installed spec row (18.0.0, re-measured by objectui#12030, objectui#12370, objectui#12626, objectui#12873, objectui#12971, objectui#13261) takes the list view\'s own `{ condition, style }` rule, so the spec fixes the authored shape and the read site is the rest of the member contract (objectui#8313).',
3263+
pins: 'Members are card STYLE RULES in ONE dialect since objectui#11522, the spec list view\'s `{ condition, style }`, and it reaches the sink: a rule colours the matching card and only it, a second rule aimed at the other card does the same, and the whole `style` map arrives, with the sibling card in the same render as the live non-matching control so a green cannot come from two unstyled cards agreeing. The retired native `{ field, operator, value }` and flat-colour dialects are refused by name on the types side (`packages/types/src/__tests__/kanban-conditional-formatting.test.ts`); these rows are their respellings, painting the same cards. ⛔ NOT an identity pin and not a wire pin: `ObjectKanban.tsx` never names this key at all (measured zero, against nine for `cardFields` in the same file) — it rides the `{ ...schema }` spread into `KanbanRenderer`, which forwards it to `KanbanImpl`\'s `getCardStyles`. That makes the pin load-bearing in a way the others are not: an edit replacing that spread with an explicit key list drops the key silently and nothing else in the repo would notice. The installed spec row (18.1.0, re-measured by objectui#12030, objectui#12370, objectui#12626, objectui#12873, objectui#12971, objectui#13261, objectui#13440) takes the list view\'s own `{ condition, style }` rule, so the spec fixes the authored shape and the read site is the rest of the member contract (objectui#8313).',
32643264
},
32653265
'object-kanban.data': {
32663266
file: 'packages/plugin-kanban/src/__tests__/ObjectKanban.structuredMembersReachTheirSinks-8313.test.tsx',

0 commit comments

Comments
 (0)