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
Commit 0984c77
Browse filesBrowse the repository at this point in the historyBrowse 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
915e940e649c2d -- 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>
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.
Copy file name to clipboardExpand all lines: .objectstack-pin/lint/package.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@objectstack/lint",
3
-
"version": "18.0.0",
3
+
"version": "18.1.0",
4
4
"license": "Apache-2.0",
5
5
"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.",
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).',
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).',
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).',
0 commit comments