Skip to content

chore: version packages (rc) - #1056

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

better-near-auth@2.0.0-rc.10

Minor Changes

  • aa01654: Export getImageUrl from the package root so integrations resolve a NEAR social-profile image (url or ipfs_cid) to a served URL without re-implementing the ipfs gateway fallback.
  • aa14f75: Passkey hygiene batch (better-near-auth: passkey hygiene batch #1039): the wallet proof now derives its curve from the WebAuthn assertion's COSE algorithm (publicKeyAlgorithm) instead of a signature-length heuristic, and throws a named error when the assertion carries no algorithm; a failed credential-id listing only falls back to the browser's resident-key prompt for typed BetterFetchErrors (unexpected errors rethrow); derivePasskeyAccountId accepts an optional timeoutSecs so apps can configure the serialized wallet-state timeout instead of the hardcoded 3600 default; the factory-address registry is typed exhaustively per network; and the inline CBOR reader is isolated behind a typed decoder module (cbor.ts).

Patch Changes

  • 7fd8b7e: Harden the passkey-wallet proof path. decodeCborItem throws CBOR: truncated payload on out-of-bounds reads instead of silently misdecoding past-the-end bytes as major-0/value-0 (#1147). The COSE algorithm→curve mapping now lives in one place — coseCurve (with COSE_ALG_ES256/COSE_ALG_EDDSA) exported from better-near-auth/passkey next to parseCosePublicKey, which uses the named constants; the browser client imports it and keeps zero crypto constants (#1145). timeoutSecs is now a required parameter on the private wallet-state/state-init serializers — only the public derivePasskeyAccountId keeps the 3600s default — and verifyPasskeyNep413Signature states its derivation defaults explicitly, because the timeout is baked into the state-init hash: deriving with any value other than the one the wallet was created with yields a different 0s… account (#1146).

every-plugin@3.0.0-rc.20

Minor Changes

  • 351196f: Route-claim declines become structured domain data, and "shadowed" retires to the logs. constructTree returns declined — {owner, id, cause, detail} records with causes core-wins, mount-not-declared, parent-declined (ADR 0010 decision chore: version packages #1's precedence outcomes) — and no longer logs internally: the host logs each decline from the record, keeping the legacy "core ui wins; shadowed route skipped" phrase on core-wins lines for upgrade-audit continuity, and the client hydration path drops its compose log noise entirely. The runtime map renames shadowed/SHADOWED_ROUTES to declined/DECLINED_CLAIMS with the same discriminated cause, emits RUNTIME_EXTENDS (extends chain minus this runtime's own config) and RUNTIME_LOCKFILE (pointer digest, locked release, serving drift), and types every emitted collection against the composition contract instead of the local as const values. RuntimeControl now reads the map: page owner (core when unclaimed), composed sources with digests and route counts, backends with composed plugin versions and contract hashes, content sources, declined claims, unresolved sources called out loudly, release + serving digest, repository and remote-manifest links. Vocabulary note: "shadowed" → "declined claim" per GLOSSARY.md; ADR 0010's prose annotated. Implement the HostSurface product redesign — production rollout of ADR 0059 (plans 071/072/073) #1136 slice 2 (ADR 0059 §3) and slice 3's token/lineage items.

  • 0e61de9: Export the dev-generation contract as every-plugin/dev-generation (DEV_GENERATION_FILENAME, DevGeneration, DevGenerationStatus, parseDevGeneration) — the builder→consumer marker shape (status: ready|building, fingerprint, builtAt) is a cross-package contract and now has one owned home instead of a private module.

  • c1eea9e: Dev shell slots (plan 069 phase 1): startPluginDevServer gains shell?: boolean — static dist + /health delivery with no plugin runtime, DB, or initialize. Opt-in per dev session via BOS_DEV_SHELL (1/*/comma-separated slot keys); unset keeps today's behavior byte-identical.

  • 48b1883: The ui build now emits the CSS layer convention — every-plugin build ui injects the canonical @layer properties, theme, base, components, plugins, utilities; order statement and, for plugin ui sources, wraps the sheet's bare tailwindcss/utilities import in layer(plugins.<id>) derived from the composition key. The four stylesheets (core, auth, ai, docs) drop their hand-copied preambles and hand-written layer wrappings; authored drift can no longer survive a build, and vendor css modules are never touched. Emitted CSS is byte-identical to the previous scheme. Closes Purge the "chrome" terminology — rename the components surface to plain language #1118 (item 3); one Implement the HostSurface product redesign — production rollout of ADR 0059 (plans 071/072/073) #1136 slice-3 line.

  • 9799571: Merge-review residue sweep (Merge-review residue: dev wave (#1099 #1100 #1101 #1106 #1108 #1109) #1114 — feat(scaffold): release-pinned workflow refs for child templates #1099 refactor(scaffold): structural codemods — ast-grep for the first two upgrade steps #1100 feat(dev): shell slots — static dist + health delivery without the serve runtime (plan 069 phase 1) #1101 refactor(scaffold): retire-zephyr codemod → ast-grep (stacked on #1100) #1106 feat(api): Standard Schema contracts (ADR 0060) #1108 feat(dev): generation-ready signal replaces remote-entry sniff-and-poll #1109):

    • Static slots tell the truth (every-plugin): startDirectModuleHost gains static?: boolean; a static slot's / reports status: "static" instead of a permanent "loading", and its RPC/API paths answer 501 with an explanation instead of an eternal 503 "Plugin still loading...". A static slot is a local backend dev slot serving the built dist + health only — no plugin runtime, DB, or initialize; the host executes the backend in-process. The concept renames plan 069's "shell slot" (env BOS_DEV_SHELL → BOS_DEV_STATIC): "shell" already means the CSR shell, the api shell, and the CLI shell; "static" is what the slot does. GLOSSARY gains the entry.
    • BOS_DEV_STATIC gate trims to one all-value (everything-dev): * opts every local backend slot in; 1/true are no longer synonyms (a child serve process keeps the internal BOS_DEV_STATIC=1 handshake). The gate parses once per descriptor-map build and the plugin: key strip is one helper.
    • Dev-generation digest is consumed, not just written (every-plugin): waitForRemoteEntryReady returns the ready generation's digest; after a load the marker is re-read and drift (the load raced a rebuild) warns. A transient marker failure (network, 5xx) retries the marker instead of permanently degrading to entry polling — only a 404 or a non-marker body means "no marker here". The marker's field is digest (the generation digest — hash over one build's emitted assets), retiring the pre-cutover "fingerprint" wording before it could spread.
    • The digest vocabulary cutover reaches the last live surfaces (everything-dev, host): the dev-adopt plane renames BackendDistFingerprint → BackendDistSample, fingerprintContentOf → distDigestOf, createBackendFingerprintSampler → createBackendDistSampler (observation/served fields carry the sample); ui-compose's variantFingerprint becomes variantCacheKey — the name the digest module's species table already records; the agent skill doc reads "deployment digest". Every remaining mention of the retired word is history: ADRs, released changesets, the cutover record in everything-dev/digest, and biometric passkey copy.
    • The ast-grep codemod seam hardens (everything-dev): applySpanEdits fails loud on overlapping spans instead of silently corrupting; the withZephyr matchers and the span-start comparator share one module; the retire-zephyr ternary docstring describes what actually matches.
    • @ast-grep/napi moves to the workspace catalog (was direct-pinned in everything-dev).
    • One Standard Schema bridge (every-plugin, ADR 0060 decision 2): the new every-plugin/schema export owns orpcSchema(...); the per-plugin copies in registry and proposals are deleted. Tests pin the ast-grep UTF-16 offset contract, backtick route-path rehoming, and the shell-slot responses.
  • 7ea4a13: feat(dev): supervisor-owned SSR intent — always-emit node env for ui-local dev, ambient BOS_SSR retires (plan 078 phase 2). Dev sessions with local ui build the SSR container by default (--no-ssr opts out to web-only); the serving gate reads supervisor-set intent, so ambient shell BOS_SSR no longer flips dev rendering. Deploy builds unchanged.

Patch Changes

  • 5c8191e: Dev generation-ready signal replaces remote-entry sniff-and-poll (Dev generation-ready signal: replace remote-entry sniff-and-poll #1067)

    Plugin dev-server builds now write a generation marker — dev-generation.json beside remoteEntry.js, { status: "ready" | "building", fingerprint, builtAt } — flipped to building when a watch rebuild starts and to ready only after a successful compilation completes. The marker plugin is gated on BOS_DEV_SERVER=1; deploy/CDN builds never emit the file.

    The loader consults the marker for fixed-name remoteEntry.js targets: the entry is requested once the marker reports ready (no more blind ~300ms polling of the entry itself), with a fallback to the legacy entry poll when no marker is served (older framework serving sides, production/CDN targets). Production retry/backoff behavior is unchanged.

    The HTML body sniff (isRemoteEntryBody) is deleted — dev has a real readiness signal and production serves real 404s with byte verification. purgeRemoteEntryCache remains as belt-and-braces only: @module-federation/runtime ≥ 2.9.1 (we pin 2.9.4) auto-evicts rejected remote-entry promises upstream (mf#5006), so it survives as version-drift insurance for child runtimes pinning older MF.

  • af5d043: Dev watch builds run development mode: the rspack CLI presets mode=production before the generated config's env-following default can fire, so every dev-stack rebuild paid minification. The watch spawn now passes --mode development explicitly; the no-watch path (BOS_NO_WATCH=1, regression/CI) and the deploy train (every-plugin build) keep production output. Closes every-plugin: dev watchers build production-mode bundles — rspack CLI presets mode before the env-following default fires #1077.

  • 84dbc56: Bump the Module Federation catalog pins: runtime/enhanced family 2.9.2 → 2.9.4, @module-federation/node 2.7.52 → 2.7.54. Notable since 2.9.2: webpack 5.112 peer support, and rejected remote-entry promises are auto-evicted from globalLoading (#5006 — that fix actually landed in the 2.9.1 line already). Host↔plugin shared-version agreement is unchanged; bos mf check remains the compatibility gate.

  • 61d3db1: fix(every-plugin): stale dev rspack cache after dependency upgrades (every-plugin dev: stale rspack persistent cache serves outdated shared-dep versions after upgrade → SharedIdentity refusal 503s all /api/* routes #677)

    The dev persistent cache now anchors on pnpm-lock.yaml, pnpm-workspace.yaml (the catalog), the workspace package.json, and the bos config — any pnpm install that moves resolved shared-dependency versions invalidates the cache instead of serving bundles built against the old set. Deploy builds stay cacheless. The SharedIdentity refusal message gains a dev-only hint naming node_modules/.cache and bos dev when the refusal fires under the dev server, so the failure no longer reads as a generic API outage.

  • f881e24: Contract layer accepts any Standard Schema v1 (ADR 0060, accepted by maintainer decision 2026-11-30): createAuthMiddleware's orgMetaSchema takes any StandardSchemaV1 — existing Zod contracts stay unchanged and inference is identical for Zod inputs — and the plugin dev server's OpenAPI spec registers the Effect Schema JSON-Schema converter so raw Effect Schema contracts no longer degrade to empty schemas. Forward contracts author against Standard Schema v1 directly (simplest form); the pilot migrates one proposals route input, and per-plugin migration continues per ADR 0050.

everything-dev@2.0.0-rc.48

Minor Changes

  • 3307f05: The auth client gets one canonical name: authClient (exported from everything-dev/ui/auth and re-exported from @/app) — a page singleton on the browser, read in components via the unchanged useAuthClient() hook, which the router context carries (request-scoped on the server, the singleton on the client). authClientFromContext becomes framework-internal plumbing: router factories and the SSR pipeline mint through it, and it throws a named error on the server if an app calls authClient() there instead.

  • 351196f: Route-claim declines become structured domain data, and "shadowed" retires to the logs. constructTree returns declined — {owner, id, cause, detail} records with causes core-wins, mount-not-declared, parent-declined (ADR 0010 decision chore: version packages #1's precedence outcomes) — and no longer logs internally: the host logs each decline from the record, keeping the legacy "core ui wins; shadowed route skipped" phrase on core-wins lines for upgrade-audit continuity, and the client hydration path drops its compose log noise entirely. The runtime map renames shadowed/SHADOWED_ROUTES to declined/DECLINED_CLAIMS with the same discriminated cause, emits RUNTIME_EXTENDS (extends chain minus this runtime's own config) and RUNTIME_LOCKFILE (pointer digest, locked release, serving drift), and types every emitted collection against the composition contract instead of the local as const values. RuntimeControl now reads the map: page owner (core when unclaimed), composed sources with digests and route counts, backends with composed plugin versions and contract hashes, content sources, declined claims, unresolved sources called out loudly, release + serving digest, repository and remote-manifest links. Vocabulary note: "shadowed" → "declined claim" per GLOSSARY.md; ADR 0010's prose annotated. Implement the HostSurface product redesign — production rollout of ADR 0059 (plans 071/072/073) #1136 slice 2 (ADR 0059 §3) and slice 3's token/lineage items.

  • 509328c: Delete the workspace-orchestrator seam: the BOS_WORKSPACE_CHILD env gate, the workspace-parent/workspace-child roles, and the reserved bos dev --workspaces surface are gone — never had a caller or an owner; operator decision recorded in Operator decision: workspace-orchestrator seam (build bos dev --workspaces or delete it) #352. role is dropped from the pid-registry entry shape and the bos ps contract (ProcessRoleSchema/ProcessRole removed); reads stay tolerant of old registry files that still carry a role field.

  • 0e61de9: The dev adopt loop arms from the builder's done-signal instead of the 3s settle window (dev adopt: arm settling from the builder's build-done signal — cut the 3s fixed tax (sibling of #1067) #1103): the rspack watch builders (plugins and the api/auth host-path slots) already publish dist/dev-generation.json (status: ready|building), so a content change under a ready marker adopts immediately — cutting settle's fixed 3s from the edit→serving loop — while a building marker defers until the flip's own fs.watch event wakes the next tick. A pre-commit re-verify re-samples the slot and defers when the signal flipped building (or the content moved on) between the tick's sample and the commit, so a rebuild that races the adopt still never serves a half-written generation. Slots whose builder publishes no marker keep the settle heuristic unchanged. New exports on everything-dev/dev-adopt: DevBuildSignal, readDevBuildSignal; AdoptObservation gains optional buildReady.

  • d795a5f: The framework auth client remaps the better-auth organization endpoints the auth plugin disabled server-side, so stock client calls keep working on rc.22+ children: authClient.organization.listMembers(...) now routes to the permission-filtered plugin route (GET /v1/auth/members, member emails filtered by the org's email:read permission instead of a bare 403), and authClient.organization.listOrganizations(...) routes to GET /v1/auth/organizations. Direct-argument calls (POST bodies) are folded into the GET query. Also ships organizationMembersQueryOptions(authClient, organizationId) — a TanStack Query factory beside sessionQueryOptions — so children don't hand-roll the call. Fixes the silent member-role loss (rc.22+ auth plugin disables better-auth organization/list-members but createAuthClient still ships organizationClient — child UIs silently lose member roles (403) #632) that turned owner-gated child UIs into "Community not found" from rc.22 through rc.24.

  • fe824b2: Forced-remote sources resolve production URLs from the published config

    bos dev --ui remote, --api remote, --host remote, and --remote-plugins now read absent production URLs from the runtime's own published config (bos://<account>/<domain>) before giving up — the same pipeline state a pinned child inherits frozen through its release composition, read live from the pointer the authored config itself declares. Authored fields still win; unforced boots never touch the registry.

    Two behavior changes fall out of the same seam:

    • A forced-remote source with no production URL anywhere (authored or published) now fails loud at resolution with the consulted ref named, instead of silently dropping the plugin or building an empty-URL remote that dies later in artifact generation with a relative-URL TypeError.
    • The nightly backcompat plane consumes the root runtime's published UI, API, and template bundles from source — the mode works again (it has been red since it shipped) and the registry sentinel runs from source via the development condition instead of failing on a never-built dist.
  • 0046def: Retire the db-topology patch step from bos upgrade --from v1 (Fix the db-topology template; delete the patch-db-topology step #1066): the api db-layer template has emitted namespace: false (public-schema topology) since the template fix landed, so the regex-patch that re-spliced the api onto public after every upgrade is obsolete — it stays deleted, along with the biome-ignore noTemplateCurlyInString hack its source-splicing required and the stale pnpm db-topology pointer (no such script exists). The checkDbTopology audit check remains as the verify: trees still carrying the v1-era plugin_api layer get a warn finding with the real remediation (replace the layer with the current scaffold form). The upgrade.maintain contract enum drops db-topology — children pin the framework version they ship with, so no cross-version caller exists.

  • 5a0c15a: The generated runtime map now carries lineage and deployment provenance for the RuntimeControl: ui/src/lib/runtime-map.gen.ts emits RUNTIME_EXTENDS (the extends chain minus this runtime's own config — null for a root runtime; absolute config paths never enter the public surface) and RUNTIME_LOCKFILE (the committed lockfile's pointer digest, locked release, and serving drift, typed as RuntimeLockfileProvenance). All emitted collections (sources, backends, routes, mounts, content sources, shadowed, unresolved) are now typed against their composition contract instead of the local as const values, so consumers compile against remote-capable shapes even in a local-only workspace. RuntimeControl reads the runtime map: page owner (core when unclaimed — it never guesses), composed sources with kind/availability/digests/route counts, backends with composed plugin versions and contract hashes, content sources, shadowed claims, unresolved sources called out loudly, release + serving digest, repository and remote-manifest links. Plan 073 §3 item for Implement the HostSurface product redesign — production rollout of ADR 0059 (plans 071/072/073) #1136.

  • 224af79: New everything-dev/ui/theme.css subpath: the one @theme inline name-to-variable mapping the ui workspaces consume. The core sheet and the plugin sheets (auth, ai, docs) replace their hand-copied 74-line mapping blocks with a single import, so the mapping can no longer drift from the utilities it serves and inherits into new sheets with one line. Emitted CSS is byte-identical except one intended inheritance effect: ease-out/ease-in-out utilities in plugin sheets now resolve to the platform's easing curve (from the core theme) instead of Tailwind's default — three component sites affected (auth checkbox, docs nav-tree and docs-reader carets, ai chat). Plan 073 §5 item for Implement the HostSurface product redesign — production rollout of ADR 0059 (plans 071/072/073) #1136.

  • 7ea4a13: feat(dev): supervisor-owned SSR intent — always-emit node env for ui-local dev, ambient BOS_SSR retires (plan 078 phase 2). Dev sessions with local ui build the SSR container by default (--no-ssr opts out to web-only); the serving gate reads supervisor-set intent, so ambient shell BOS_SSR no longer flips dev rendering. Deploy builds unchanged.

  • 833afb3: Staleness doctor (plan 013 + Doctor: typecheck staleness classes — tsgo patch drift + sibling-session typegen race (plan 013 amendment) #350): checkEnvironmentStaleness probes the workspace for the stale-state classes that keep biting — nested node_modules singleton shadowing (catalog-driven, symlink-aware) and stale framework dists fail bos dev preflight with remediation text; the stale bos binary, a drifted effect-tsgo patch (fix: pnpm run prepare), and a live sibling session sharing the tree (concurrent bos types gen race — now also a non-blocking prelude warning on bos typecheck) warn only. bos status gains a non-blocking staleness section.

  • f3dfa4f: Subpath standardization (rc-stage, no aliases — same posture as the ADR 0040 wire cutover): every export path is now domain/thing, mirroring the ui/* and hosting/* families that already followed the rule. Renames — dev-adopt → dev/adopt, dev-log-pipeline → dev/logs, integrity → deploy/integrity, version-manifest-resolve → deploy/version-manifest, dag → registry/dag, resolution → resolution/session, resolver → resolution/resolver — hard removal, importers update at the upgrade (bos upgrade rewrites the one child-authored path, everything-dev/integrity, via the import-rewrite table). The dead everything-dev/lockfile subpath is removed outright: it never found an importer; the schema stays in-package (ADR 0042 amended). Nothing moves on disk — only export keys, the tsdown entry list loses the lockfile chunk, and the ADR prose naming the old paths is corrected (0002, 0003, 0027, 0040, 0042).

Patch Changes

  • 39abf80: upgrade-audit codemods begin migrating from regex/string surgery to structural matching (@ast-grep/napi): port-route-guards and migrate-route-mounts first — guard statements and createFileRoute path arguments are located as AST nodes and spliced by exact node spans, so formatting variations the literal replace missed now transform; behavior preserved for the shapes the regexes already matched, with the same fallback notes for unrecognized input. retire-zephyr joins: the if (shouldDeploy) { … withZephyr … } excision and the shouldDeploy ? withZephyr(…) : base default-export unwrap are now matched as AST nodes and spliced through the shared span-edit helper, while the import/declaration removals keep their usage re-scan guards. The migration finishes with the oxc-parser jobs: prune.ts's import/barrel parsing and migrate-ui-seam.ts's createQueryClient extraction are now AST-driven — dynamic imports keep their targets alive and type-only barrel re-export lines are never excised, exactly as the regexes behaved, while extractCreateQueryClient additionally lifts the arrow-declarator form the old regex missed.

  • 388c507: The browser auth-client mint honors the first caller's context again (Found in review of #1128 (merged).** #1144): authClientFromContext on the browser seeds the singleton with the page's runtime config and CSP nonce (falling back to the page nonce) instead of minting bare from window.__RUNTIME_CONFIG__ — under a nonce-based CSP the wallet connector's injected frame keeps its nonce, and an embed/test config override feeds the right hostUrl/SIWN recipient instead of throwing (config absent) or silently targeting the outer host's auth (config present-but-different). First caller wins; bare authClient() callers share the seeded singleton.

  • 85285bc: The auth client is derived from context, never constructed ad hoc: a new authClientFromContext export in everything-dev/ui/auth is the single derivation every router mint site uses (client bootstrap, SSR router, route-head, hydration stream) — it reuses the client already on the context and constructs from runtime config only when the context carries none. The duplicated ?? createAuthClient(...) fallbacks are gone; @/app re-exports the helper. Skills (ui-integration, api-and-auth — including a duplicated "Auth on the Client" block, plugin-client, better-near-auth client/tanstack) now teach the canonical path; standalone apps keep their direct-construction guidance. No behavior change: the minted clients are byte-identical in each plane.

  • 045385b: Boot-metrics emitter: every dev and start session now writes .bos/boot-metrics.json at session-ready — mode, startedAt, ssr, totalToReadyMs, the bootstrap and spawn phase timings, and per-service spawn/ready timings — the machine-readable boot record the Go timing harness consumes, and bos clean removes it as regenerable state.

  • 77793bc: The pid registry (pids.json) serializes its read-modify-write mutations on an exclusive kernel flock: concurrent bos dev sessions no longer drop each other's registry entries (a lost entry is an orphaned process tree no tool can find or kill), and the shared temporary write path can no longer interleave between writers. The registry lock waits ~250ms under contention and then degrades to an unlocked write with a warning, so a stuck lock never wedges bos.

  • 0afbe42: feat(build-train): the content-hash staleness oracle judges all prerequisite builds (build-train: flip non-deploy prerequisite judgement to the content-hash oracle #1176)

    Non-deploy bos build trains and dev boot's ensureFreshDeps stop judging prerequisites by mtime — the mtime oracle's blind spot (content changed under fresh mtimes, e.g. fresh checkouts) is judged correctly now, and all three verbs (dev, build, deploy) share one verdict per workspace state. The mtime oracle remains the fallback where no workspace root resolves. Recorded in the ADR 0022 addendum; implementation of its decision (1).

  • f83dd1f: feat(platform): per-dep compat windows on release manifests (plan 079 phase 2) (feat(platform): caret-tolerant pins + per-dep compat ranges (manifest resolution v2) #586)

    sharedDeps.<name>.compat lets a release express what it tolerates per dependency — checkPlatformCompat enforces the window where present and falls back to the global floor otherwise; strict singletons and the federation pluginVersion gate are untouched. Range pins are now floor-aware in production: resolution skips candidates whose own compat floor exceeds the child's framework version.

  • c1eea9e: Dev shell slots (plan 069 phase 1): startPluginDevServer gains shell?: boolean — static dist + /health delivery with no plugin runtime, DB, or initialize. Opt-in per dev session via BOS_DEV_SHELL (1/*/comma-separated slot keys); unset keeps today's behavior byte-identical.

  • 4f71bbb: fix(deploy): a first-release smoke rollback no longer leaves the platform pointer pointing at a release whose deploy failed. When no snapshot precedes the failed release, the rollback republishes it stamped rolledBackFrom (defeating the identical-config skip) and deletes manifest.json in the same atomic write via the FastKV null tombstone; the deploy audit entry records firstReleaseRollback. bos rollback/bos promote stay restore-only.

  • 9799571: Merge-review residue sweep (Merge-review residue: dev wave (#1099 #1100 #1101 #1106 #1108 #1109) #1114 — feat(scaffold): release-pinned workflow refs for child templates #1099 refactor(scaffold): structural codemods — ast-grep for the first two upgrade steps #1100 feat(dev): shell slots — static dist + health delivery without the serve runtime (plan 069 phase 1) #1101 refactor(scaffold): retire-zephyr codemod → ast-grep (stacked on #1100) #1106 feat(api): Standard Schema contracts (ADR 0060) #1108 feat(dev): generation-ready signal replaces remote-entry sniff-and-poll #1109):

    • Static slots tell the truth (every-plugin): startDirectModuleHost gains static?: boolean; a static slot's / reports status: "static" instead of a permanent "loading", and its RPC/API paths answer 501 with an explanation instead of an eternal 503 "Plugin still loading...". A static slot is a local backend dev slot serving the built dist + health only — no plugin runtime, DB, or initialize; the host executes the backend in-process. The concept renames plan 069's "shell slot" (env BOS_DEV_SHELL → BOS_DEV_STATIC): "shell" already means the CSR shell, the api shell, and the CLI shell; "static" is what the slot does. GLOSSARY gains the entry.
    • BOS_DEV_STATIC gate trims to one all-value (everything-dev): * opts every local backend slot in; 1/true are no longer synonyms (a child serve process keeps the internal BOS_DEV_STATIC=1 handshake). The gate parses once per descriptor-map build and the plugin: key strip is one helper.
    • Dev-generation digest is consumed, not just written (every-plugin): waitForRemoteEntryReady returns the ready generation's digest; after a load the marker is re-read and drift (the load raced a rebuild) warns. A transient marker failure (network, 5xx) retries the marker instead of permanently degrading to entry polling — only a 404 or a non-marker body means "no marker here". The marker's field is digest (the generation digest — hash over one build's emitted assets), retiring the pre-cutover "fingerprint" wording before it could spread.
    • The digest vocabulary cutover reaches the last live surfaces (everything-dev, host): the dev-adopt plane renames BackendDistFingerprint → BackendDistSample, fingerprintContentOf → distDigestOf, createBackendFingerprintSampler → createBackendDistSampler (observation/served fields carry the sample); ui-compose's variantFingerprint becomes variantCacheKey — the name the digest module's species table already records; the agent skill doc reads "deployment digest". Every remaining mention of the retired word is history: ADRs, released changesets, the cutover record in everything-dev/digest, and biometric passkey copy.
    • The ast-grep codemod seam hardens (everything-dev): applySpanEdits fails loud on overlapping spans instead of silently corrupting; the withZephyr matchers and the span-start comparator share one module; the retire-zephyr ternary docstring describes what actually matches.
    • @ast-grep/napi moves to the workspace catalog (was direct-pinned in everything-dev).
    • One Standard Schema bridge (every-plugin, ADR 0060 decision 2): the new every-plugin/schema export owns orpcSchema(...); the per-plugin copies in registry and proposals are deleted. Tests pin the ast-grep UTF-16 offset contract, backtick route-path rehoming, and the shell-slot responses.
  • 84dbc56: Bump the Module Federation catalog pins: runtime/enhanced family 2.9.2 → 2.9.4, @module-federation/node 2.7.52 → 2.7.54. Notable since 2.9.2: webpack 5.112 peer support, and rejected remote-entry promises are auto-evicted from globalLoading (#5006 — that fix actually landed in the 2.9.1 line already). Host↔plugin shared-version agreement is unchanged; bos mf check remains the compatibility gate.

  • 7fd8b7e: Harden the organization endpoint remap plugin (orgEndpointRemapPlugin): a remapped POST whose body cannot be parsed into an args object (invalid JSON, non-object, null) now fails loud with a clear error instead of silently forwarding a body-less POST to a GET-only route; folding into the query accepts only string | number | boolean arguments — anything else errors instead of being mangled by String() ([object Object], 1,2); and a relative URL (client minted without a hostUrl) is skipped instead of crashing on new URL(). organizationMembersQueryKey is reshaped to the standard ["organization-members"] tuple form, and the api-and-auth skill mentions organizationMembersQueryOptions.

  • b180fc8: PGlite data dirs now take a cross-process lockfile: a second process opening a held dir fails loud — with the holder's pid, host and acquisition time — instead of corrupting it (the corruption path upstream pglite leaves open, Feature request: lock the data directory so a second PGlite in another process fails fast instead of corrupting it electric-sql/pglite#1106). Stale locks left by dead processes are stolen automatically on take.

  • 5020d71: bos db studio/db drizzle-kit sessions no longer bypass the PGlite cross-process lock: pglite: bindings run the drizzle-kit child under the same data-dir lockfile the runtime driver takes (issue PGlite cross-process lock: remainder from #1088 #1112), so a session against a dir a live dev stack holds open fails loud with the holder's identity instead of corrupting committed data. Lock holder records gain a boot id — a holder from a previous OS boot reads as dead even when a recycled pid looks live — and the seed phase's comments/wording now describe the shipped lock instead of the old no-lock reality. The lockfile test suite gains the real two-process repro (a child process attempting an actual open against a parent-held dir is refused). Upstream NodeFS data-dir locking (Add data directory locking to NodeFS to prevent multi-process corruption electric-sql/pglite#892) is tracked for adoption when it ships.

  • 28cc92f: feat(platform): caret- and tilde-tolerant platform pins (manifest resolution v2, phase 1) (feat(platform): caret-tolerant pins + per-dep compat ranges (manifest resolution v2) #586)

    release: accepts exact, ^, and ~ pins. Range pins resolve deterministically to the highest published release in the window that clears the release's own compat floor — exact pins keep today's byte-identical slot-first path; an empty window fails loud listing the candidates seen; the offline cache never satisfies a range miss. Strict singletons, SharedIdentity, and the mf check gate are untouched. Phase 1 of plan 079; per-dep compat windows and drift-alarm semantics follow.

  • d2979d1: feat(upgrade): drift-alarm semantics for range pins (plan 079 phase 3) (feat(platform): caret-tolerant pins + per-dep compat ranges (manifest resolution v2) #586)

    bos upgrade --check reports a range pin as behind when a newer published release satisfies the window and clears the compat floors, naming the upgrade target; latest-in-window is clean. Exact pins unchanged. Records: ADR 0034 amendment (the no-ranges invariant is superseded — grammar, precedence, and what this does and does not flex) and the publishing-chapter guidance for children tracking release lines.

  • 2a5248b: Child workflow wrappers are stamped with the release-pinned ref (v<version>) at init and rewritten by upgrade; @main references no longer ship in generated children.

    bos init now runs the same release-pin rewrite the template sync builds into its content over the copied .github/workflows/*.yml (ADR 0034 pt 4, ticket Workflow wrappers referenced by release-pinned refs, derived from the child's release pin #1069), deriving the pin from the release tarball's resolved tag (or sha). A --source scaffold resolves no pin and keeps @main with a loud warning; bos upgrade re-points the refs in the same step that moves the authored release, so they never drift apart.

    bos upgrade --check now asserts the stamped refs locally against the authored release pin (no release tarball pull): drift (@main, an older tag, a hand edit) flags the dry-run report's notes and workflowRefDrift field and exits nonzero; a --source scaffold without a resolved pin stays a documented non-drift posture, and the fix remains the upgrade re-stamp.

  • 76e46d9: feat(build-train): opt-in remote content-addressed build cache (build-train: remote content-addressed build cache (R2) #484)

    When BOS_BUILD_CACHE_REMOTE=1 (+ the deploy storage credentials), the train publishes each member's dist keyed by its input hash after a build and restores it on a cold local cache — restoring only ever marks a member fresh after the recorded per-file hashes verify. Upload or restore failures are non-fatal; the default (env unset) stays local-only.

  • dc270b7: Session reads get one shared source in the framework: useSession() (the ["session"] query via sessionQueryOptions) and useSessionPending() (its pending state) are exported from everything-dev/ui/auth and re-exported through @/app, and the core UI surfaces (_public layout, dashboard, use-identity) stop hand-rolling useQuery(sessionQueryOptions(...)) and their own pending derivations. TanStack dedupes the shared key, so every component read participates in the same fetch; consumers of both session systems read the same SessionData. The plugin-UI surfaces migrate to the helpers in a follow-up; the cross-system dedupe (better-auth's session atom vs the query cache) and the server-side session.cookieCache flip stay open on ui: one session source — dedup sessionQueryOptions vs better-auth useSession #1037 — both change freshness semantics that need a deliberate call.

  • 78ad3ff: intent validate typechecks everything-dev skill snippets — a top-level types entry exposes the package surface, and the skills' snippets were brought up to the current plugin API (Layer-returning initialize, no shutdown, Tag-based service access) with excerpt-only blocks excluded from checking

  • b7d078f: Expose scrollToTopSelectors on the app-owned router factory options so apps can declare extra scroll-reset targets (e.g. a dashboard shell's internal scroller) while scroll restoration stays enabled.

  • 9601bbb: feat(dev): SSR on by default for ui-local dev sessions (plan 078 phase 3) ((Deferred) Default dev to SSR with --no-ssr opt-out #472)

    Dev sessions with local ui render through SSR without a flag; remote ui sessions keep the CSR shell with a startup notice (production does the same for unpinned remotes). --no-ssr opts a local session out to web-only build + CSR shell; --ssr is a compat no-op. Measured per-keystroke cost of the always-node-env build: +0.59s median (tolerance <1s). Serving gate reads supervisor-owned intent; ambient BOS_SSR is inert (phase 2).

  • f881e24: Contract layer accepts any Standard Schema v1 (ADR 0060, accepted by maintainer decision 2026-11-30): createAuthMiddleware's orgMetaSchema takes any StandardSchemaV1 — existing Zod contracts stay unchanged and inference is identical for Zod inputs — and the plugin dev server's OpenAPI spec registers the Effect Schema JSON-Schema converter so raw Effect Schema contracts no longer degrade to empty schemas. Forward contracts author against Standard Schema v1 directly (simplest form); the pilot migrates one proposals route input, and per-plugin migration continues per ADR 0050.

  • 1a0d569: The PGlite cross-process data-dir lock is now a kernel flock (via fd-lock) instead of the hand-rolled create/pid-check/rename-steal protocol: a second opener still fails loud with the holder's identity, a dead holder's lock is released by the OS so the dir is immediately re-takable, and the steal window that could double-hold a dir (found by the formal model, issue PGlite cross-process lock: the rename-steal can double-hold a data dir (formal model finding) #1180) is gone. The lock file is now a permanent rendezvous inode and is no longer removed on release. Holder records remain for the refusal message only.

  • bd4508d: feat(build-train): per-member input manifests replace whole-tree hashing (build-train: narrow the hashed input set (#430 follow-up) #480)

    The content-hash staleness oracle now hashes only declared inputs — tsconfig-resolved sources, package.json, and the build configs the member consumes — instead of the entire workspace tree. Docs/test/changelog edits no longer force prerequisite rebuilds; generated src/**/*.d.ts strays stop invalidating; ambiguity resolves toward building. One-time cache miss on first run after upgrade (the selfHash scheme changed).

  • a659c51: Consolidate the upgrade train's eleven per-phase error classes into one parameterized UpgradePhaseFailure (phase is data; the UpgradePhaseError union and isUpgradePhaseError keep working). Deadline legs now abort their AbortSignal at the deadline — the install and approve legs terminate their execa child instead of leaving a hung pnpm running with live stdio pipes after UpgradeDeadlineError fires (issue Upgrade-train orchestration: remainder from #1094 #1113) — and the deadline message is now honest per phase: cancelled legs say the child was terminated, abandoned legs (reads / the blocking realign publish) say nothing was left half-applied. The upgrade handler's inline "Unknown error" fallback is unified with the shared renderCause.

  • 50c79bb: The upgrade train's orchestration is Effect-native: each phase (resolve → packages → report → preflight → apply → install → migrate → sync → realign) is an Effect.gen pipeline failing through a typed UpgradePhaseError union that carries its phase, replacing the single Effect.tryPromise body. The network legs (registry resolve, parent-plugin listing, pnpm install/approve, owned-slot realign) run under fiber deadlines, so a hung leg now fails with a remediation message instead of hanging the train forever. Handler behavior, result shapes, phase timings, and every CLI message are unchanged.

  • 368f909: bos upgrade --from v1 stops destroying three kinds of authored config: api variables now survive the descriptor translation (the BosConfig surface carried the field for plugins but not for app.api, so a v1 config's api variables vanished), the port-route-guards maintenance step skips and flags custom _authenticated/_admin bodies instead of rewriting them whole (the inline-resolution pattern still rewrites), and the local router-client shim is opt-in behind --ui-seam-shim with a loud note when skipped — moving off the shim stays manual by design, so scaffolding it for every migrated app no longer forks the seam silently. The v1-upgrade integration suite covers all three (upgrade --from v1: three remaining config damages #1040).

  • 00a57a7: Dev session: unit children are recorded in the pid registry as they start, not once at boot — dev-adopt swaps and crash-restart replacements were invisible to startup adoption and bos kill, so a session killed after a swap left its replacement child and watchers alive holding ports, untracked. Closing the terminal (SIGHUP) now tears the stack down gracefully instead of bypassing finalizers.

  • Updated dependencies [aa01654]

  • Updated dependencies [351196f]

  • Updated dependencies [0e61de9]

  • Updated dependencies [5c8191e]

  • Updated dependencies [c1eea9e]

  • Updated dependencies [af5d043]

  • Updated dependencies [48b1883]

  • Updated dependencies [9799571]

  • Updated dependencies [84dbc56]

  • Updated dependencies [aa14f75]

  • Updated dependencies [7fd8b7e]

  • Updated dependencies [7ea4a13]

  • Updated dependencies [61d3db1]

  • Updated dependencies [f881e24]

    • better-near-auth@2.0.0-rc.10
    • every-plugin@3.0.0-rc.20

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 4 times, most recently from bd84681 to 17fe896 Compare December 2, 2026 03:09
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 17fe896 to 8466835 Compare December 2, 2026 03:33

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

0 participants