Documentation menu
Documentation / Blocks & themes / cop
Cop
npm install @wabbit/tome-copFirst install from our registry?
Add our registry to the
.npmrcat the root of your project. Free packages install without a token.@wabbit:registry=https://npm.wabbit.com/
COP (Common Operating Picture) theme — operational/intel visual tokens activated by data-tome-theme="cop" (data-tome-pack="cop" is a deprecated alias), with a ThemeManifest and a ./register subpath for the Tome theme registry.
Overview
COP (Common Operating Picture) / operational / intel theme for the Tome platform.
A Tome theme: it overrides the Layer-1 tokens of @wabbit/tome-ui (both modes), ships per-block treatments and opt-in effects, and describes itself with a ThemeManifest. It activates on data-tome-theme="cop", canonically on <html>. data-tome-pack="cop" still works as a deprecated alias for one alias period; new code should write data-tome-theme.
Peer dependencies
npm install @wabbit/tome-cop
# or
pnpm add @wabbit/tome-copThe @wabbit/tome-cop/tokens.css subpath exports the raw --cop-* token namespace (emitted at :root — no re-theme) for sites that consume the design-system values without activating the theme; the full re-theme stays in @wabbit/tome-cop/styles.css + data-tome-theme="cop".
Peer dependencies
| Peer | Range | Required |
|---|---|---|
@wabbit/tome-core | >=1.20.0 <2.0.0 | no (optional) |
@wabbit/tome-ui | >=0.14.0 <1.0.0 | yes |
payload | >=3.0.0 | no (optional) |
typescript | >=5.7.0 | no (optional) |
@wabbit/tome-ui is required at 0.14 or later: from that release its tokens.css re-declares the var()-aliased Layer-2 tokens under [data-tome-theme], which is what makes COP's Layer-1 values reach the --tome-color-* tokens blocks read. (COP used to hand-copy that block; the copy drifted and has been removed.) @wabbit/tome-core is needed only for the @wabbit/tome-cop/register subpath and the ThemeManifest type. The @wabbit/tome-cop/themeConfig helper uses local structural types, so payload is never imported.
Usage
CSS activation
@import '@wabbit/tome-ui/tokens.css';
@import '@wabbit/tome-cop/styles.css';<!-- Site-wide (canonical) -->
<html data-tome-theme="cop">
<!-- A scoped zone, for preview surfaces -->
<section data-tome-theme="cop">Precedence against tome-ui never depends on import order: COP's dark rule, [data-tome-theme="cop"][data-theme="dark"], has specificity 0,2,0 and redeclares every name tome-ui's [data-theme="dark"] (0,1,0) declares. Every COP selector is written :is([data-tome-theme="cop"], [data-tome-pack="cop"]) during the alias period, which keeps that specificity.
Registering the theme
// payload.config.ts (and the root layout's server graph)
import '@wabbit/tome-cop/register'@wabbit/tome-cop/register calls registerTheme(copThemeManifest) from @wabbit/tome-core/registry/themeRegistry. Once registered, @wabbit/tome-admin's sidebar ThemeSwitcher offers COP and createThemeConfig() (@wabbit/tome-core/theme-config) lists it in its theme select. Import it before mergeAdminComponents / createThemeConfig run.
Per-block treatments
COP restyles a few blocks through the public hooks blocks emit: data-block-type on the RenderBlocks per-block wrapper and data-block-variant on the block root, in the descendant form [data-block-type="longformCallout"] [data-block-variant="TACTICAL"]. They need a @wabbit/tome-blocks-core release whose RenderBlocks emits data-block-type (earlier releases emitted no such hook, so these rules matched nothing); the slugs are listed in copThemeManifest.styledBlocks.
Font loading (Google Fonts CDN)
Preferred, for React/JSX consumers — getCopFontLinkDescriptors() returns plain objects to spread onto real <link> elements, so it avoids the dangerouslySetInnerHTML foot-gun below and keeps framework-level <head> hoisting working:
import { getCopFontLinkDescriptors } from '@wabbit/tome-cop/fonts'
export default function RootLayout({ children }) {
return (
<html data-tome-theme="cop">
<head>
{getCopFontLinkDescriptors().map((link) => (
<link key={link.href} {...link} />
))}
</head>
<body>{children}</body>
</html>
)
}getCopFontLinks() is the non-JSX alternative — it returns the same links as an HTML string:
import { getCopFontLinks } from '@wabbit/tome-cop/fonts'
// In your layout's <head>:
// <Fragment dangerouslySetInnerHTML={{ __html: getCopFontLinks() }} />Self-hosted fonts (opt-out)
import { getCopFontStyles } from '@wabbit/tome-cop/fonts'
// Place WOFF2 files at public/fonts/cop/ (served at /fonts/cop/) and inject the returned CSS into <head>:
const fontCss = getCopFontStyles({ src: '/fonts/cop/' })The returned @font-face rules point at nine exact filenames under src (a trailing slash is added if missing), so the files must be named exactly: playfair-display-v30-latin-{400,400italic,600,700,700italic,900}.woff2 and roboto-mono-v23-latin-{400,500,700}.woff2. A missing file fails silently to the fallback font.
Theme manifest
copThemeManifest is COP's ThemeManifest: kind: 'theme', one default palette (light and dark), a single Playfair Display + Inter + Roboto Mono pairing (Inter is expected from your own font loading), styledBlocks, and legacySelectors: ['[data-tome-pack="cop"]'].
import { copThemeManifest } from '@wabbit/tome-cop/manifest'copPackManifest is a deprecated alias of the same object, kept for one minor.
ThemeConfig field helper (deprecated)
withCopThemePack(global) appends a themePack select to a Payload global. It is deprecated: use createThemeConfig() from @wabbit/tome-core/theme-config with import '@wabbit/tome-cop/register', whose theme select lists every registered theme. It will be removed in the next minor.
import { withCopThemePack } from '@wabbit/tome-cop/themeConfig'
export default withCopThemePack(baseThemeConfig) // deprecatedDecorative effects
<!-- Scanlines overlay -->
<div data-tome-theme="cop" data-cop-effect="scanlines">
<!-- Multiple effects (space-separated) -->
<div data-tome-theme="cop" data-cop-effect="scanlines screen-glow">Available effects: scanlines, screen-glow, stencil, tactical-grid, degraded-signal, classification-stripe. They apply on the themed element or any element inside it, and nowhere else.
All effects are CSS-only. Animated effects respect prefers-reduced-motion.
Public API
| Export | Subpath | Description |
|---|---|---|
copThemeManifest, COP_STYLED_BLOCKS, copPackManifest (deprecated), font helpers, and the CopFontLinkDescriptor/CopFontStylesOptions/TomeCopPackManifest (deprecated)/TomeCopPackName types | . | Main barrel (does NOT re-export @wabbit/tome-cop/themeConfig, to isolate its optional Payload peer, nor the side-effect @wabbit/tome-cop/register) |
Full re-theme stylesheet (data-tome-theme="cop" scoped) | @wabbit/tome-cop/styles.css | CSS import — activates the COP visual aesthetic |
Raw --cop-* custom-property namespace, emitted at :root | @wabbit/tome-cop/tokens.css | Design-system values only — no re-theme, no scoping requirement |
getCopFontLinkDescriptors(), getCopFontLinks(), getCopFontStyles({ src }) | @wabbit/tome-cop/fonts | getCopFontLinkDescriptors() is the preferred JSX path (plain <link>-prop objects); getCopFontLinks() returns the same links as a Google Fonts CDN <link> HTML string; getCopFontStyles({ src }) returns self-hosted @font-face CSS |
copThemeManifest, COP_STYLED_BLOCKS, copPackManifest (deprecated) | @wabbit/tome-cop/manifest | The ThemeManifest descriptor |
| side effect | @wabbit/tome-cop/register | Registers copThemeManifest in @wabbit/tome-core's theme registry |
withCopThemePack(baseThemeConfig) (deprecated) | @wabbit/tome-cop/themeConfig | Payload global field helper — appends a themePack select; structural types only, no payload import |
This package ships no .tsx — it is a CSS/token/manifest package with no React render surface, so there is no server/client posture to declare (the font helpers a consumer touches, getCopFontLinkDescriptors/getCopFontLinks/getCopFontStyles, are plain data-returning functions defined in fonts.ts; @wabbit/tome-cop/register is server-side configuration).
Testing
pnpm --filter @wabbit/tome-cop test runs the Vitest suite, which reads the CSS source directly (scoping, token parity, reduced-motion guards), unit-tests the font and manifest helpers, and runs the theme conformance check (scripts/assert-theme-conformance.mjs) — no browser or build needed.
Design spec
A Tome theme — tokens, per-block treatments on public hooks, and CSS only, scoped by data-tome-theme="cop", with no collections or React so it composes cleanly alongside any domain layer.
Type scale 0.2.3
The COP type ramp moved up to a 9px floor (type-ramp board scale B, "re-spaced"), with --cop-text-panel bumped to 17px so it stays distinct from the new 16px title. Steps from heading (18px) up are unchanged. Every step now has a --cop-text-<step>--line-height companion (Tailwind v4 reads these next to --text-*), and micro through title carry a --cop-text-<step>--tracking companion; the named --cop-tracking-* scale is unchanged and is not tied to a size.
| Token | Before | After | Line-height | Tracking |
|---|---|---|---|---|
--cop-text-micro | 7px | 9px | 12px | .12em |
--cop-text-nano | 8px | 10px | 14px | .10em |
--cop-text-label | 9px | 11px | 16px | .10em |
--cop-text-control | 10px | 12px | 16px | .08em |
--cop-text-body | 11px | 13px | 20px | .02em |
--cop-text-data | 12px | 14px | 20px | .01em |
--cop-text-subheading | 13px | 15px | 22px | 0 |
--cop-text-title | 14px | 16px | 22px | 0 |
--cop-text-panel | 16px | 17px | 1.5 | none |
Contrast: the pack's faintest text gray, --muted-foreground (Layer 1), lightens from oklch(55% 0.01 240) to oklch(60% 0.01 240): 3.94:1 to 4.85:1 on --card, and 4.19:1 to 5.15:1 on --background (WCAG AA body text needs 4.5:1).
Exports
| Import path |
|---|
@wabbit/tome-cop |
@wabbit/tome-cop/styles.css |
@wabbit/tome-cop/tokens.css |
@wabbit/tome-cop/fonts |
@wabbit/tome-cop/manifest |
@wabbit/tome-cop/register |
@wabbit/tome-cop/themeConfig |
Changelog
0.2.xMinor
BREAKING: COP activates on
data-tome-theme="cop", registers via./register, and needs@wabbit/tome-ui0.14 or later.data-tome-pack="cop"still works as a deprecated alias.Migration: install
@wabbit/tome-ui>=0.14.0(now a required peer) and, if you use the registry,@wabbit/tome-core>=1.20.0. Changedata-tome-pack="cop"todata-tome-theme="cop"when convenient.Add
import '@wabbit/tome-cop/register'where you build your Payload config so the admin theme switcher andcreateThemeConfig()offer COP. ReplacecopPackManifestwithcopThemeManifestandwithCopThemePackwithcreateThemeConfig(); both old names are deprecated and removed in a later minor.- Every scoped selector is now
:is([data-tome-theme="cop"], [data-tome-pack="cop"]), which keeps each rule's specificity. The--cop-*values emitted at:rootby./tokens.cssare unchanged. - The hand-copied Layer-2 block (
tokens/layer2.css) is removed; tome-ui now re-declares Layer 2 at every theme boundary. COP therefore also gains the chart and serif aliases the copy was missing: charts now use COP's own palette (new--chart-1..5), and--font-serifis set. - The feedback text weights moved to
tokens/literals.css, which adds--tome-color-accent-text(it previously fell back to tome-ui's light-surface value on COP's dark panels). - The dark rule redeclares every token tome-ui's dark block declares, so dark mode no longer depends on stylesheet order.
data-cop-effecteffects apply only on or inside a COP-themed element.- Per-block treatments are written in the descendant form,
[data-block-type="X"] [data-block-variant="Y"]. With a@wabbit/tome-blocks-corethat emitsdata-block-type, they now apply: callout icons and labels, spoiler and classification-banner stripes, the redacted-panel scanlines, sensor IFF dots, waveform bars, cross-link badges, comm-intercept status dots and system-alert severities. - New
copThemeManifest(aThemeManifest: kindtheme, onedefaultpalette in light and dark, a Playfair Display + Inter + Roboto Mono pairing,styledBlocks,legacySelectors) andCOP_STYLED_BLOCKS. The test suite runs the theme conformance check.
- Every scoped selector is now
5 fixes (0.2.1 – 0.2.5)
- 0.2.5
The changelog, README and license text now use American spellings.
No code or behavior changes.
- 0.2.4
README: subpath and file mentions are written package-qualified (for example
@wabbit/tome-x/render) or as code text, so crawlers no longer resolve them as site URLs. - 0.2.3
The COP type scale is re-spaced two points larger at the small end, every text step gains line-height and tracking companion tokens, and the faintest text gray now clears WCAG AA.
--cop-text-micro/nano/label/control/body/data/subheading/titlemove from 7/8/9/10/11/12/13/14px to 9/10/11/12/13/14/15/16px;--cop-text-panelmoves from 16px to 17px so it stays distinct from the new title size.- New
--cop-text-<step>--line-heightfor every text step (Tailwind v4 reads these) and--cop-text-<step>--trackingfor micro through title. --muted-foregroundlightens fromoklch(55% 0.01 240)tooklch(60% 0.01 240): 3.94:1 → 4.85:1 on the COP card surface.
- 0.2.2
Published packages now contain compiled JavaScript and type declarations under a one-line license banner, and no longer include source maps.
What you install: one compiled
.js(ESM) and.cjs(CommonJS) file per source module, its.d.ts/.d.ctsdeclarations, and the stylesheets, fonts and other assets a package already shipped. Every JavaScript module opens with a comment naming the package and its license:/*! @wabbit/<package> — © Wabbit, LLC. Wabbit Tome Commercial License (see LICENSE.md). Not for redistribution. */.The
.mapfiles and thesourceMappingURLcomments that pointed at them are gone, which roughly halves the size of each tarball.Debugging: the code is still unbundled and unminified, one readable file per module, so a stack trace points at real code with real names. Line numbers in a stack trace are one higher than before, because of the banner line.
A
'use client'directive stays the first statement of its module (the banner is a comment above it), so React Server Component boundaries are unchanged.No API change, no runtime behavior change, and nothing to do on upgrade.
In
@wabbit/tome-blocks-gallery, the source snapshotsextractGallerySourcewrites from an installed pack leave out the license banner line, so a component or config snapshot starts at the code and a paid block's preview shows its first 15 lines of real code. - 0.2.1
Declare
--tome-type-sans/serif/mono/display: var(--font-*)on the COP selector next to COP's font slots. tome-ui no longer re-derives the Layer-2 font families on a theme wrapper (so site font overrides survive inside other themes), so a theme that changes fonts must re-point them itself; without this, COP rendered inside a descendant wrapper would show the site's fonts instead of Inter / Playfair Display / Roboto Mono.Required by the new conformance font-pairing rule.
0.1.x
9 fixes (0.1.3 – 0.1.9)
- 0.1.9
Drops the unused
@wabbit/tome-uipeer dependency; nothing in the package imported it. - 0.1.8
dist now raw-Node loadable: relative specifiers get explicit extensions post-build.
buildgains&& node ../../scripts/fix-dist-extensions.mjs --strictas its last step, joining the 13 packages that already ran it. tsup buildsbundle: falseand emits relative specifiers exactly as the TypeScript source wrote them — extensionless — which bundlers resolve and raw Node does not (ESMERR_MODULE_NOT_FOUND; CJS worse,require('./x')finds the ESM.jstwin and Node 22+require(esm)then dies on that file's own extensionless import). Every consumer outside a bundler hit this: the payload CLI under plain node,generate:types,generate:importmap, ops scripts, codegen tools.No source changes, no API changes, and bundler consumers are unaffected — extensioned relative specifiers are universally resolvable.
Two supporting changes made the wiring possible, both in repo scripts rather than package source.
fix-dist-extensions.mjsnow skips bundler-asset specifiers (.css,.module.css,.scss, fonts, images, shaders) by explicit extension allowlist instead of reporting them as unresolvable — that single gap is why the 13 prior adopters were exactly the 13 packages that ship no CSS, since--strictexited 1 on any package with a relative stylesheet import.Dotted MODULE names (
./config.meta,./x.variants,./y.demo) are deliberately NOT treated as assets and still get.js/.cjsappended.assert-node-loadable.mjsgained the matching carve-outs so the new repo-wide CI gate reports real defects only: a resolution failure whose path lands undernode_modulesis a peer SKIP (next@15 has no exports map, sonext/imagefails as an absolute path), and a bundler-asset load failure is an environmental SKIP (CJS surfaces it asSyntaxError: Unexpected token '.'raised from inside the stylesheet).Verified before/after on four packages built one at a time: print 8 FAIL → 0, readout 22 FAIL → 0, ai 3 FAIL → 0, gamification 2 FAIL → 0 (its failure was the other signature — a
directory importmissing/index). cop was already clean on a fresh build, so the audit's "27 of 46 fail" figure includes at least one package whose local dist was merely stale. - 0.1.8
Manifest metadata:
homepage,bugs,engines.All 46 publishable manifests were missing the three fields a consumer sees before any code (2026-09-01 sale-readiness audit §6). Metadata only — no source, no build, no runtime change.
homepagedeep-links to that package README on GitHub (.../tree/main/packages/<dir>#readme). Without it a registry page links to the monorepo root and the reader has to guess which of 46 folders they want.bugs.urlpoints at the repo issue tracker, so a paying customer has a place to report a defect that is not email.engines.nodeis>=22, matching the rootenginesand.nvmrcset the same day. This is a real floor, not decoration: CI on Node 20 could not expand the glob the block packs use fornode --test, and a package installed on Node 20 fails at a runtime the installer cannot connect back to the version.
The forcing function ships with the change:
scripts/assert-manifest-metadata.mjs(rootpnpm assert:manifest-metadata, wired intoplatform-discipline.ymlbesideassert:license-metadata) fails when any publishable manifest lacksdescription,repository.directorymatching its own folder,homepage,bugs,engines.nodeequal to the repo floor,license,filesorsideEffects. It reported 138 violations before this change and 0 after. - 0.1.8
README peer tables, and the gate that now requires them.
Sixteen packages declared
peerDependenciesand documented them nowhere a reader could scan — in prose inside an install paragraph, in a transposed "compatibility matrix" with the peers as columns, or not at all. Docs only; no source, no manifest, no runtime change (the one manifest change in this PR, admin'ssonnerpeer, has its own changeset).Each of the sixteen gains a
## Peer dependenciessection generated from its ownpackage.json—| Peer | Range | Required |, one row per peer, the range verbatim,no (optional)read frompeerDependenciesMeta, plus one sentence on what is a realdependencyrather than a peer and why the optional ones are optional. The worst omissions this surfaced:@wabbit/tome-coredocumented 2 of its 13 peers and left out bothnextand@payloadcms/richtext-lexical, which are required;@wabbit/tome-adminlisted 5 of 20;@wabbit/tome-readoutand@wabbit/tome-sclisted none.Eight block packs carried a hand-typed compatibility table that had drifted a full React major — still
>=18after the peer floor moved to>=19.0.0— and none of the eight listedreact-domat all. Those tables are retired in favor of the generated one, with a line saying what they used to claim so the next reader does not reinstate them.The forcing function ships with the fix:
scripts/assert-readme-contract.mjsnow FAILS a package that declares peers without a peer table (a markdown table whose header row names a Peer and a Range column — the existingOptional?andNotesthird columns still pass, so the thirty already-conforming READMEs were not touched). It is deliberately shape-only, not row-level: asserting that each row agrees with the manifest is the Tier 2 generation work.Verified non-vacuous by breaking one table's header and watching the gate fail, then restoring it.
CONTRIBUTING.md's assert-script list — which said "five" while sixteen existed — and the three guides that describe this gate were corrected in the same pass. - 0.1.7
Fix a systemic, invisible-text readability defect across the block packs: a text color and the surface under it were coming from sources a consumer can set independently, so the pair could split.
Measured live on starter.wabbit.com with a canvas-based contrast parser walking every rendered text node: the worst pairs sat at 1.00–1.03:1 — near-black text on a near-black surface, copy that renders but cannot be read. Nothing in CI could see it, because every unit test and every route smoke passes with perfectly invisible text.
This is the second time this bug family has shipped. The first sweep added
--tome-color-on-solid-dark(blocks-lms-pack 0.12.1) and fixed chrome, lms-pack and catalog-pack; the themed packs were missed.This closes the rest and adds the tokens whose absence is why the misuse kept spreading.
Three mechanisms, one root cause
1. Split pairs. Blocks paired
--tome-color-card— not a house token at all; the house name is--tome-color-surface— carrying a DARK literal fallback, against--tome-color-foreground, which every themed consumer does define, carrying a LIGHT one.A fallback pair is only safe when both sides fall back together. The same shape appeared as cross-family pairing (
surface, the CARD family, paired withforeground, the PAGE family) and as clobbering: a band settingcolor: backgroundon itself while its children hardcoded their owncolor: foreground, which wins. longform had a third variant — it read--tome-color-muted-foreground32 times and--tome-color-muted3 times, and neither has ever been a house token, so the entire muted tier silently fell through tocurrentColorand inherited whatever ink an ancestor happened to have.2. Alpha-dimmed text.
opacity: 0.4–0.9on a label, andcolor-mix(<colour> 30–70%, transparent)as acolor:, composite against whatever happens to be behind them, so the ratio is unknowable at author time.Worst measured: 1.46:1. Several were an ancestor
opacityaimed at a rule that dimmed the real text in the same container along with it.3. Status and brand colors used as text.
warning/success/error/destructiveare FILL colors, tuned to be painted as a badge with an ink on top.Used as
color:the default amber measures 2.13:1 and the green 2.82:1. Brand hues have the mirror problem:--tome-color-primaryas text is fine on the page (near-black by default, 5.5:1 even under the starter's oxide theme) but becomes 2.22:1 inside a band whose fill the consumer chooses.New in
@wabbit/tome-ui- `--tome-color-{success,warning,error,destructive,info}-text` — the missing text-weight companions. Literals with inverted
[data-theme="dark"]values, each pinned to clear 4.5:1 against both--tome-color-backgroundand--tome-color-surface.infonever had a fill token either, which is why packs reached forprimary. Rule of thumb:warningpaints a box,warning-textwrites a word. - `--muted-foreground` retuned (
hsl(215 16% 47%)→hsl(215 20% 38%)light,65%→72%dark). That token is--tome-color-on-surface-muted, the tier every pack uses for captions, labels, metadata and table headers, and at the old value it reached only 4.27:1 on--card. The entire secondary text tier platform-wide sat just under AA — which is also why packs kept reaching past it for something with more presence. Standalone default only.
Because these are literals rather than Layer 1 aliases,
@wabbit/tome-coprestates them: a pack that is dark without being[data-theme="dark"]would otherwise inherit the light values.Fix shape, per pack
dispatch, readout, blocks-signal-theme are permanently dark by product identity. Each owns a pack-scoped surface/ink SET (
--dispatch-*,--readout-*,--signal-*) with internally consistent dark defaults compiled into every block module as inline fallbacks.No rule in these packs reads a house surface or text token for a panel, so no consumer theming can split the pair. The house
surface-solid-dark/on-solid-darkpair was rejected here for a stated reason: it is one flat pure-black surface with a single ink, and these packs need a layered palette. tome-cop drives all three sets so its theming still applies. signal-theme's accents split into three roles — identity fill, lightened on-panel text, and per-hue ink for accent fills — because one value cannot serve both a dark panel and a light article.longform, content-writer, editorial-pack, marketing-starter, agency-essentials, extras follow the ambient theme and are fixed with the house vocabulary: correct pairs (
surface/on-surface,background/foreground,primary/on-primary), the new-textweights for status copy, and solid ink steps in place of alpha. Painted bands publish their own ink as a local--_on-band, and brand/status text reads `var(--_on-band, <its normal - `--tome-color-{success,warning,error,destructive,info}-text` — the missing text-weight companions. Literals with inverted
- 0.1.6
Purge client-specific lore and Star Citizen universe references from all non-SC packages (content and labels only — no schema field names, slugs, or enum values changed).
- dispatch: demo content rewritten as an incident-war-room / ops-bridge scenario (SEV-1 bridge traffic, failover runbooks, recovered security-report transcript) plus neutral original fiction for inherently fictional variants (Relay Station Aurelia personal log, SV Aurelia ship log). Config field-description examples de-lored (old client- and universe-specific labels → neutral equivalents).
- readout: all 9 blocks' demo props rewritten as business-operations console data (deployment phases, sprint objectives, service status, perimeter traffic, on-call roster, infrastructure asset cards). Config examples de-lored.
- blocks-signal-theme: demo props for the 33-block pack rewritten as an original search-and-rescue expedition serial ("Operation Long Wake", SV Aurelia, Meridian Reach) with zero client or SC references; config examples de-lored. Pack positioning (SC-tier bundling per OQ-4) unchanged.
- blocks-extras / blocks-content-writer: Custom Hero and Post Hero meta descriptions stop name-dropping the client; "Callsign" field descriptions neutralized to "Author name or handle"; provenance comments neutralized.
- blocks-core: BLOCK_CATALOG mirror entries refreshed for custom-hero and post-hero only; registry comment neutralized.
- blocks-gallery: SourceBadge label for the
vngdsource value now renders "Legacy" (enum value unchanged). - accounts / core / lms / ui / org / admin / motion / longform / cop / blocks: internal provenance comments, shipped CSS comments, and consumer-visible field descriptions that named a specific client replaced with neutral "upstream" phrasing; longform package description de-lored. Historical CHANGELOG entries left untouched.
- 0.1.5
Every package now declares an explicit
sideEffectsfield (38 added; motion/engine/forms already correct).Registration-bearing modules (render files'
registerRenderer,blocks/*/index.tsdefineBlockself-registration, widgetregister.tsfiles, productHooks, permission self-registrations, print templates, chrome built-in variants) are listed so bundlers can tree-shake everything else WITHOUT dropping import-time registrations — previously the field was unset, which blocked cross-module tree-shaking through the barrels entirely. Never blanketfalseon a package with registration or CSS. - 0.1.4
T3 token convergence:
--cop-*namespace now also emitted at:root(collision-safe; lets sites consume the design-system values without activating the pack re-theme), new./tokens.csssubpath export (raw tokens only, no layer1/layer2), Layer-2 re-emissions extended beyond color (--tome-radiuspass-through +--tome-type-sans/mono/displayfont routing, live on tome-ui >=0.9.8), README peer-range drift fixed (>=0.9.0 <1.0.0). - 0.1.3
Platform-wide peer-range sweep: every
workspace:*/workspace:^entry inpeerDependenciesreplaced with an explicit semver range (@wabbit/tome-core >=1.0.0 <2.0.0,tome-ui >=0.9.0 <1.0.0,tome-motion >=0.2.0 <1.0.0,tome-catalog >=1.1.0 <2.0.0,tome-admin >=0.5.0 <1.0.0;tome-crmranges standardized to>=0.2.0 <1.0.0).The workspace protocol publishes as an exact-version pin, so every substrate bump stranded installed dependents — the breakage class proven by marketing@0.1.0/deals@0.1.1 requiring
tome-crm@0.2.0exactly. devDependencies keepworkspace:*for the local link. (@wabbit/tome-admin-progot the same source fix but is rc-versioned; it carries the change on its next intentional release.)tome-crm additionally gains a once-per-process production warning when the capability-registry fallback grants access — the bootstrap heuristic (any authenticated user passes
crm:read) now announces itself instead of running silently on sites that forgot to seed capability grants (2026-06-10 audit hardening item).Graph-truth additions (same hygiene wave): tome-deals declares its lazy print integration as an optional peer (
@wabbit/tome-print >=0.1.0 <1.0.0); tome-intake declares its lazy catalog routing strategy (@wabbit/tome-catalog >=1.1.0 <2.0.0, optional). These were undeclared dynamic imports — invisible to consumers and to pnpm's build topology.