Repository navigation
chore: version packages (rc) - #1056
Open
github-actions[bot] wants to merge 1 commit into
Open
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
20 times, most recently
from
November 30, 2026 22:10
99555e0 to
3f998e2
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
9 times, most recently
from
December 1, 2026 20:42
e33f03a to
9e86b25
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
4 times, most recently
from
December 2, 2026 03:09
bd84681 to
17fe896
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
December 2, 2026 03:33
17fe896 to
8466835
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
mainis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmain.Releases
better-near-auth@2.0.0-rc.10
Minor Changes
getImageUrlfrom 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.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 typedBetterFetchErrors (unexpected errors rethrow);derivePasskeyAccountIdaccepts an optionaltimeoutSecsso 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
decodeCborItemthrowsCBOR: truncated payloadon 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(withCOSE_ALG_ES256/COSE_ALG_EDDSA) exported frombetter-near-auth/passkeynext toparseCosePublicKey, which uses the named constants; the browser client imports it and keeps zero crypto constants (#1145).timeoutSecsis now a required parameter on the private wallet-state/state-init serializers — only the publicderivePasskeyAccountIdkeeps the 3600s default — andverifyPasskeyNep413Signaturestates 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 different0s…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.
constructTreereturnsdeclined—{owner, id, cause, detail}records with causescore-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 renamesshadowed/SHADOWED_ROUTEStodeclined/DECLINED_CLAIMSwith the same discriminated cause, emitsRUNTIME_EXTENDS(extends chain minus this runtime's own config) andRUNTIME_LOCKFILE(pointer digest, locked release, serving drift), and types every emitted collection against the composition contract instead of the localas constvalues. 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):
startPluginDevServergainsshell?: boolean— static dist +/healthdelivery with no plugin runtime, DB, or initialize. Opt-in per dev session viaBOS_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 uiinjects the canonical@layer properties, theme, base, components, plugins, utilities;order statement and, for plugin ui sources, wraps the sheet's baretailwindcss/utilitiesimport inlayer(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):
startDirectModuleHostgainsstatic?: boolean; a static slot's/reportsstatus: "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" (envBOS_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_STATICgate trims to one all-value (everything-dev):*opts every local backend slot in;1/trueare no longer synonyms (a child serve process keeps the internalBOS_DEV_STATIC=1handshake). The gate parses once per descriptor-map build and theplugin:key strip is one helper.waitForRemoteEntryReadyreturns 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 isdigest(the generation digest — hash over one build's emitted assets), retiring the pre-cutover "fingerprint" wording before it could spread.BackendDistFingerprint→BackendDistSample,fingerprintContentOf→distDigestOf,createBackendFingerprintSampler→createBackendDistSampler(observation/served fields carry the sample); ui-compose'svariantFingerprintbecomesvariantCacheKey— 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 ineverything-dev/digest, and biometric passkey copy.applySpanEditsfails 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/napimoves to the workspace catalog (was direct-pinned in everything-dev).every-plugin/schemaexport ownsorpcSchema(...); 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-ssropts 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.jsonbesideremoteEntry.js,{ status: "ready" | "building", fingerprint, builtAt }— flipped tobuildingwhen a watch rebuild starts and toreadyonly after a successful compilation completes. The marker plugin is gated onBOS_DEV_SERVER=1; deploy/CDN builds never emit the file.The loader consults the marker for fixed-name
remoteEntry.jstargets: the entry is requested once the marker reportsready(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.purgeRemoteEntryCacheremains 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=productionbefore the generated config's env-following default can fire, so every dev-stack rebuild paid minification. The watch spawn now passes--mode developmentexplicitly; 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/node2.7.52 → 2.7.54. Notable since 2.9.2: webpack 5.112 peer support, and rejected remote-entry promises are auto-evicted fromglobalLoading(#5006 — that fix actually landed in the 2.9.1 line already). Host↔plugin shared-version agreement is unchanged;bos mf checkremains 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 workspacepackage.json, and the bos config — anypnpm installthat moves resolved shared-dependency versions invalidates the cache instead of serving bundles built against the old set. Deploy builds stay cacheless. TheSharedIdentityrefusal message gains a dev-only hint namingnode_modules/.cacheandbos devwhen 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'sorgMetaSchematakes anyStandardSchemaV1— 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 fromeverything-dev/ui/authand re-exported from@/app) — a page singleton on the browser, read in components via the unchangeduseAuthClient()hook, which the router context carries (request-scoped on the server, the singleton on the client).authClientFromContextbecomes framework-internal plumbing: router factories and the SSR pipeline mint through it, and it throws a named error on the server if an app callsauthClient()there instead.351196f: Route-claim declines become structured domain data, and "shadowed" retires to the logs.
constructTreereturnsdeclined—{owner, id, cause, detail}records with causescore-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 renamesshadowed/SHADOWED_ROUTEStodeclined/DECLINED_CLAIMSwith the same discriminated cause, emitsRUNTIME_EXTENDS(extends chain minus this runtime's own config) andRUNTIME_LOCKFILE(pointer digest, locked release, serving drift), and types every emitted collection against the composition contract instead of the localas constvalues. 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_CHILDenv gate, theworkspace-parent/workspace-childroles, and the reservedbos dev --workspacessurface are gone — never had a caller or an owner; operator decision recorded in Operator decision: workspace-orchestrator seam (buildbos dev --workspacesor delete it) #352.roleis dropped from the pid-registry entry shape and thebos pscontract (ProcessRoleSchema/ProcessRoleremoved); reads stay tolerant of old registry files that still carry arolefield.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 oneverything-dev/dev-adopt:DevBuildSignal,readDevBuildSignal;AdoptObservationgains optionalbuildReady.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), andauthClient.organization.listOrganizations(...)routes toGET /v1/auth/organizations. Direct-argument calls (POST bodies) are folded into the GET query. Also shipsorganizationMembersQueryOptions(authClient, organizationId)— a TanStack Query factory besidesessionQueryOptions— 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-pluginsnow 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:
TypeError.0046def: Retire the
db-topologypatch step frombos upgrade --from v1(Fix the db-topology template; delete the patch-db-topology step #1066): the api db-layer template has emittednamespace: 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 thebiome-ignore noTemplateCurlyInStringhack its source-splicing required and the stalepnpm db-topologypointer (no such script exists). ThecheckDbTopologyaudit check remains as the verify: trees still carrying the v1-eraplugin_apilayer get a warn finding with the real remediation (replace the layer with the current scaffold form). Theupgrade.maintaincontract enum dropsdb-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.tsemitsRUNTIME_EXTENDS(the extends chain minus this runtime's own config — null for a root runtime; absolute config paths never enter the public surface) andRUNTIME_LOCKFILE(the committed lockfile's pointer digest, locked release, and serving drift, typed asRuntimeLockfileProvenance). All emitted collections (sources, backends, routes, mounts, content sources, shadowed, unresolved) are now typed against their composition contract instead of the localas constvalues, 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.csssubpath: the one@theme inlinename-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-oututilities 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-ssropts 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):
checkEnvironmentStalenessprobes the workspace for the stale-state classes that keep biting — nestednode_modulessingleton shadowing (catalog-driven, symlink-aware) and stale framework dists failbos devpreflight with remediation text; the stalebosbinary, a drifted effect-tsgo patch (fix:pnpm run prepare), and a live sibling session sharing the tree (concurrentbos types genrace — now also a non-blocking prelude warning onbos typecheck) warn only.bos statusgains 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 theui/*andhosting/*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 upgraderewrites the one child-authored path,everything-dev/integrity, via the import-rewrite table). The deadeverything-dev/lockfilesubpath 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-guardsandmigrate-route-mountsfirst — guard statements andcreateFileRoutepath 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-zephyrjoins: theif (shouldDeploy) { … withZephyr … }excision and theshouldDeploy ? withZephyr(…) : basedefault-export unwrap are now matched as AST nodes and spliced through the sharedspan-edithelper, 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 andmigrate-ui-seam.ts'screateQueryClientextraction 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, whileextractCreateQueryClientadditionally 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):
authClientFromContexton the browser seeds the singleton with the page's runtime config and CSP nonce (falling back to the page nonce) instead of minting bare fromwindow.__RUNTIME_CONFIG__— under a nonce-based CSP the wallet connector's injected frame keeps its nonce, and an embed/test config override feeds the righthostUrl/SIWN recipient instead of throwing (config absent) or silently targeting the outer host's auth (config present-but-different). First caller wins; bareauthClient()callers share the seeded singleton.85285bc: The auth client is derived from context, never constructed ad hoc: a new
authClientFromContextexport ineverything-dev/ui/authis 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;@/appre-exports the helper. Skills (ui-integration,api-and-auth— including a duplicated "Auth on the Client" block,plugin-client, better-near-authclient/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.jsonat 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, andbos cleanremoves it as regenerable state.77793bc: The pid registry (pids.json) serializes its read-modify-write mutations on an exclusive kernel flock: concurrent
bos devsessions 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 wedgesbos.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 buildtrains and dev boot'sensureFreshDepsstop 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>.compatlets a release express what it tolerates per dependency —checkPlatformCompatenforces 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):
startPluginDevServergainsshell?: boolean— static dist +/healthdelivery with no plugin runtime, DB, or initialize. Opt-in per dev session viaBOS_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 deletesmanifest.jsonin the same atomic write via the FastKV null tombstone; the deploy audit entry recordsfirstReleaseRollback.bos rollback/bos promotestay 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):
startDirectModuleHostgainsstatic?: boolean; a static slot's/reportsstatus: "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" (envBOS_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_STATICgate trims to one all-value (everything-dev):*opts every local backend slot in;1/trueare no longer synonyms (a child serve process keeps the internalBOS_DEV_STATIC=1handshake). The gate parses once per descriptor-map build and theplugin:key strip is one helper.waitForRemoteEntryReadyreturns 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 isdigest(the generation digest — hash over one build's emitted assets), retiring the pre-cutover "fingerprint" wording before it could spread.BackendDistFingerprint→BackendDistSample,fingerprintContentOf→distDigestOf,createBackendFingerprintSampler→createBackendDistSampler(observation/served fields carry the sample); ui-compose'svariantFingerprintbecomesvariantCacheKey— 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 ineverything-dev/digest, and biometric passkey copy.applySpanEditsfails 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/napimoves to the workspace catalog (was direct-pinned in everything-dev).every-plugin/schemaexport ownsorpcSchema(...); 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/node2.7.52 → 2.7.54. Notable since 2.9.2: webpack 5.112 peer support, and rejected remote-entry promises are auto-evicted fromglobalLoading(#5006 — that fix actually landed in the 2.9.1 line already). Host↔plugin shared-version agreement is unchanged;bos mf checkremains 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 onlystring | number | booleanarguments — anything else errors instead of being mangled byString()([object Object],1,2); and a relative URL (client minted without ahostUrl) is skipped instead of crashing onnew URL().organizationMembersQueryKeyis reshaped to the standard["organization-members"]tuple form, and theapi-and-authskill mentionsorganizationMembersQueryOptions.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/dbdrizzle-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 --checkreports 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;@mainreferences no longer ship in generated children.bos initnow 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--sourcescaffold resolves no pin and keeps@mainwith a loud warning;bos upgradere-points the refs in the same step that moves the authored release, so they never drift apart.bos upgrade --checknow 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 andworkflowRefDriftfield and exits nonzero; a--sourcescaffold 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 viasessionQueryOptions) anduseSessionPending()(its pending state) are exported fromeverything-dev/ui/authand re-exported through@/app, and the core UI surfaces (_publiclayout, dashboard,use-identity) stop hand-rollinguseQuery(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 sameSessionData. 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-sidesession.cookieCacheflip 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
typesentry exposes the package surface, and the skills' snippets were brought up to the current plugin API (Layer-returninginitialize, noshutdown, Tag-based service access) with excerpt-only blocks excluded from checkingb7d078f: Expose
scrollToTopSelectorson 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-ssropts a local session out to web-only build + CSR shell;--ssris 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; ambientBOS_SSRis inert (phase 2).f881e24: Contract layer accepts any Standard Schema v1 (ADR 0060, accepted by maintainer decision 2026-11-30):
createAuthMiddleware'sorgMetaSchematakes anyStandardSchemaV1— 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.tsstrays 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(phaseis data; theUpgradePhaseErrorunion andisUpgradePhaseErrorkeep working). Deadline legs now abort theirAbortSignalat the deadline — the install and approve legs terminate their execa child instead of leaving a hungpnpmrunning with live stdio pipes afterUpgradeDeadlineErrorfires (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 sharedrenderCause.50c79bb: The upgrade train's orchestration is Effect-native: each phase (resolve → packages → report → preflight → apply → install → migrate → sync → realign) is an
Effect.genpipeline failing through a typedUpgradePhaseErrorunion that carries its phase, replacing the singleEffect.tryPromisebody. 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 v1stops destroying three kinds of authored config: apivariablesnow survive the descriptor translation (theBosConfigsurface carried the field for plugins but not forapp.api, so a v1 config's api variables vanished), theport-route-guardsmaintenance step skips and flags custom_authenticated/_adminbodies instead of rewriting them whole (the inline-resolution pattern still rewrites), and the local router-client shim is opt-in behind--ui-seam-shimwith 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]