Scope and exact comparison
Worked example text-spacing-example-2, revision 2, 2026-10-24. Start at the update guide index. This is a modeled second update, not an official release announcement. Revision 1 completed independent consumer acceptance; revision 2 is a documentation clarification, not a fresh independent acceptance run. No published-package, browser-pixel, production-storage or general release-range support is claimed.
The source is the local candidate at commit 7bf3655242e6adca9ac7d81ff57d17df9b310c9e: Preset 0.5.8 with the exported Text schema, Core 0.5.7 and Utils 0.5.2. This is the first example's actual candidate, not npm Preset 0.5.8, which lacked these exports when inspected. Its Preset archive SHA-256 is 465e4e330d272162dc627b9004b109e7b15529eef4699366451697ca86085291.
The target is a test-only derived artifact, Preset 0.5.8-task4.0, archive asyra-preset-0.5.8-task4.0.tgz, SHA-256 60ba8503161a1f88adfbe17a5c136e4d202df987b07b14452a3b4e9047db32b7. It changes the exported Text spacing default from 0 to 0.5. It is deliberately marked private. Its manifest identity changes and obsolete map for the one changed compiled file is removed; all other archive entries and package candidates are unchanged. The supplied updates/model-artifact.json enumerates this delta; updates/base-artifacts.json identifies all base candidates. The consumer's artifacts/ directory contains both Preset archives and the unchanged candidates. Verify their digests and installed declarations before editing. Do not fetch this invented prerelease from npm or treat it as shipped support. Missing artifacts or a different baseline block dependent integration.
What changes and what stays App-owned
| Contract | Before | Target / retained choice |
|---|---|---|
New typography letterSpacing default | 0 | 0.5 layout units |
| Explicit saved spacing, including 0 and 1.5 | Persisted value | Unchanged; never replaced with the new default |
| Spacing validation / persist / project / unit | Finite -100 through 100 / true / true / false | Unchanged |
| Other eight official fields, renderer and aliases | First verified candidate | Unchanged |
approvalStatus | App extended draft/approved with rejected after first adoption | Retain all three values and the reject action |
sourceRecordId, labelCategory | App validation, defaults and consumers | Retain read, write, projection, persistence and load paths |
textColor default | App uses public Utils shared gray | Keep intentional override and explicit saved colors |
| Official example UI panel | Deferred in adoption record | Still deferred; charts with text must not gain Text controls |
A property default is shared: new chart captions using typography also receive 0.5 spacing. Existing saved Text and chart values do not change. The same field name with a changed default is a real contract change, not an equivalent-key cleanup. This request selects the new spacing default while retaining gray. If a real consumer intentionally overrides spacing, resolve that choice first. Installing the package can affect shared consumers even when their UI is deferred.
Canonical sources
Use installed public exports, not private import paths. The model's artifact and builder are part of the supplied consumer handoff; they are test data, not a new runtime API. The builder checks source hashes before deriving the target. Its retained report names every changed archive entry. For offline use supply these sources with the guide; stop if required evidence cannot be reached.
- Original Text schema, validation and defaults
- Text component aliases and renderer
- Core composition and load APIs
- Shared fill defaults
- App-owned document migration
The first source shows spacing 0. The target archive's exported TEXT_PROPERTY_SCHEMA and TEXT_PROPERTY_DEFINITION show 0.5. Do not infer a historical release delta from these pinned source links. A standalone consumer receives the migration reference at updates/persistence-migration-r2.md.
Integrate using the current project and its adoption record
- Read project instructions, the current adoption note, resolved package identities, definitions, Features, projections and loader. Inspect actual intervening edits; an old note is not authority to remove newer behavior. Run the existing suite first. Distinguish V1 (custom Text), V2 (first official adoption) and V3 (this subsequent candidate) from App document versions 1/2.
- Select the supplied target archive in the existing Preset dependency and resolution, then install with the existing package manager. Keep all other resolutions unchanged. Verify the installed public exports and identity. Do not mark the App adopted just because installation succeeded.
- Keep the current official base from
@asyra/preset. If already composed correctly, no definition rewrite is needed. Before startup,core.redefinePropertyTypereturns the complete current definition plus the three App fields exactly once, with the deliberate color override only. Do not copy the previous full definition or retain stale spacing defaults. Do not append official fields a second time. Compare full contracts if any local key overlaps. Preserve official aliases plus the metadata aliases, existing property relations and the single official render registration. - Preserve
rejectedvalidation and its Feature transaction, all three metadata actions/projections, chart references and Text-only controls. Do not reset local validators to the earlier draft/approved example. Keep public UtilscreateDefaultFill().coloras the shared default override. No unregister is required; package identity alone does not restore removed registrations. - Keep the existing
registerLoadHookand App document chain. The supported version-1 multiplier conversion runs once; version-2 absolute units remain unchanged. A new default and wider App enum do not require a new document version. The supplied loader requires complete valid fields; missing spacing or invalid metadata must fail before apply, not silently acquire a default. Preserve original inputs for recovery. Never update stored explicit spacing to 0.5, rewrite IDs/relations, or add a second migration hook. - Run the checks below and update the current adoption record only for verified work. Preserve the dated first-adoption facts, intentional overrides and deferred UI. If a gate fails, retain pending status and original documents; reverting code/packages alone cannot undo edits to production storage.
Required verification
Use permanent tests and the consumer's test, typecheck, lint and build commands. Change the obsolete fresh-default expectation from 0 to 0.5 only after proving the new expectation fails on the old artifact. Keep saved-value assertions at 1.5 and add explicit saved 0. Test actual Core values, not only exported schemas.
- New Text and new chart typography use spacing 0.5 and shared gray; saved Text and chart keep explicit spacing/colors. Twelve unique fields, three retained aliases and one renderer remain. No unrelated controls appear on charts.
- Load pre-adoption multiplier, post-adoption absolute-unit and intervening rejected documents. Through two save/fresh-runtime reloads, line height stays 24 (not 384), spacing stays explicit, all properties, IDs, hierarchy, chart references and metadata remain equal. Do not mutate original fixtures.
- After fresh reload, edit each custom field through its existing Feature, read canonical values, observe Text and chart projections, save through the App storage wrapper and reload. Exercise reject and approve with one history entry each; Undo/Redo preserves other fields. New-session history works; restoring a previous session's undo stack is not promised.
- Reject unknown document versions, missing required fields and invalid approval without changing canonical state or original data. Deferred UI remains listed and uninstalled. No new format version is invented solely for ownership/defaults.
The tests use the real packaged Core with a jsdom canvas stub. They establish field/action/projection/data behavior, not rendered pixels. If claiming browser appearance, additionally use a real browser with these same packages and retain screenshots, errors and save/reload steps separately. This update changes no browser harness; no browser-pixel result is implied by unit tests or a build.
Record the change ID/revision, exact artifact identity, previous adopted state, new adopted spacing policy, retained rejected/metadata/gray behavior, still-deferred UI, unchanged App document version, executed checks and limits. Future updates start from that record plus actual code and intervening edits. A later release with renamed/removed fields or skipped intermediate requirements needs its own verified range and migration instructions; this default-only case does not prove it.
For an independent run, provide only this guide and its linked artifacts/sources, the current consumer including its existing adoption note, and a request to adopt the spacing change while retaining custom behavior. No previous chat or private maintainer explanation is necessary. Supply the guide unchanged; needed technical hints indicate a guide gap and require a corrected revision and a fresh run.
Revision 2 - installation warnings and standalone delivery
Revision 1 and its original migration attachment remain unchanged as historical inputs. Use the revision-2 handoff inventory for required attachments, optional background and unavailable historical evidence. The selected package identities and all behavioral requirements above are unchanged. This documentation revision does not require reinstalling an already verified target or repeating adoption as though this checkout were the old base. The recorded baseline and old-candidate failures belong to the revision-1 run.
The observed Yarn 4.3.1 install completed with YN0066 for the optional built-in TypeScript 5.9.3 compatibility patch: Cannot apply hunk #1. The retained installation log records this warning; test, typecheck, lint and build subsequently passed. This evidence does not mean every patch warning is safe to ignore.
For a new install, retain the complete log and command exit status, verify the resolved candidate identity, and run all four required gates. A failed install, wrong identity or failed required gate leaves adoption pending. Investigate the specific failure without suppressing warnings or upgrading unrelated tools or dependencies to force completion. Existing canvas-stub/selection-overlay and large-bundle warnings are evidence limits, not proof of browser rendering.
Keep caches and logs inside the consumer as required by the task. This run used enableGlobalCache: false in the existing .yarnrc.yml and set YARN_GLOBAL_FOLDER="$PWD/.yarn/global" and TMPDIR="$PWD/.yarn" for installation. Create any required local directories before running a new install. These are execution settings, not runtime APIs or changes to the spacing contract. Preserve failed-attempt logs alongside the final checks. Test layout and lint-compliant fixture manipulation remain ordinary consumer implementation decisions.
Delivery and validation status
The retained delivery package and its SHA-256 contain the exact pre-update consumer. Give a new AI only the extracted consumer and task prompt, not this completed fixture or the evidence directory. The guide inside the archive is explicitly labeled as the independent handoff edition; it omits prior outcomes and solution tests. It is preserved unchanged. The archive includes 20 candidate archives and pinned source copies, but no package cache; third-party installation may require network.
The first revision-1 independent acceptance passed 29 tests. Revision 2 was later run in an isolated copy by the same chat with existing context: baseline 22 passed, two expected old-candidate failures, then 34 tests and typecheck/lint/build passed. This is an existing-context rerun, not a fresh independent acceptance. The current permanent fixture retains the original 29 tests plus 12 rerun cases. See the verification record for the separate retained replay result.
The baseline rerun still emitted the optional TypeScript patch warning; the target install did not. Warning interpretation was clarified, not fixed. Required inputs are present; unavailable historical attachments remain explicitly excluded from the standalone delivery. Active references work while original historical attachments retain their old links. No browser-pixel, published-package or production-storage validation is implied.
This worktree and package have not been published. Supply the local archive directly; repository links rendered on a website preview are not proof that the corresponding files are already available online.