Keep slide distance off settled open Sidebar content and stop the Session panel docking threshold from propagating into transcript rows. Exercise the threshold in both directions with a measured, fixed 720px message column and a real moving panel. Refs #8856.
Paint a fixed tab-title fade, refresh split capacity from actual box changes instead of width-only React commits, and consume the sizes already delivered to the conversation header and width axis. Guard script-nested layout counts in the right Sidebar drag benchmark. Refs #8856.
Move the right Sidebar drag diagnostic into the required serial browser
benchmark inventory. It budgets the elements Chromium restyles during a
drag that leaves the content width unchanged, as a dimensionless multiple
of the page's elements, and replays recorded before/after samples as its
negative control. Also type the registered-property entries in the
end-reserve style test.
Refs #8856
Register the Conversation width axis inputs and its continuously varying
derived lengths without inheritance, publish the content width and end
inset to descendants as computed lengths, and derive the Session panel's
docking step on the body as a registered 0px/1px length. A right Sidebar
drag no longer restyles the whole transcript when the resolved width is
unchanged.
Refs #8856
* ci: build once and fan web snapshots out across weighted shards
* ci: stamp restored build output with the extraction time
Build-time mtimes shifted past the clock made HMR treat freshly loaded
lib/ modules as changed and reload a plugin context while it was still
loading (plugin-manager-mcp headless snapshot).
* ci(web): run the longest web snapshot files as round-robin test slices
* ci: address review on the build-once fan-out
Add verify-css-selectors to the hygiene gates. It rejects a subject
compound without a class, id, attribute or type key that matches through
:not(), :empty or :has(); a universal selector that names no class, id
or attribute anywhere; and :has() outside the subject compound. Chromium
evaluates such rules on every restyled element or invalidates whole
subtrees. Class-scoped forms such as '.card *' and '.list > :first-child'
are accepted, and the listed base stylesheets are exempt from the subject
rules.
Existing occurrences are recorded in scripts/css-selectors.baseline.json;
new ones fail and retired ones must be pruned. Rewrite existing selectors
where the matched elements stay the same, and document the rule in the
Web styling reference.
* refactor(session): move Session log validation into a module
Move header, seed-event envelope, and inherited-cut validation out of the
Session constructor into validation.ts without changing check order or error
text. Export needsInheritedSeedMarker for the fork marker rule the
constructor applies.
* feat(session): validate a Session log without constructing a Session
validateSessionLog composes the header, seed-event, surface, and
inherited-cut checks of Session construction in the same order. Omitting
eventState matches Session.create; an event state matches
Session.fromRestore.
* refactor: validate stored Session logs with validateSessionLog
The chat importer, session-query readSession, the format catalog, and JSONL
generation verification constructed a discarded Session only to validate a
log. They now call validateSessionLog with the same mode, inherited count,
and message interpreters.
* refactor(session): extract buildSessionHeader
Move new-Session header construction out of SessionStore.prepare into the
exported buildSessionHeader and name its input SessionHeaderMeta.
Automatic ids and duplicate checks stay in prepare.
* refactor(session): move header and fork error helpers out of the session index
Move buildSessionHeader into validation.ts and SessionForkError with
SessionForkErrorCode into fork.ts so later modules can import them without
importing index.ts. index.ts re-exports both under the same names. Complete
the JSDoc of the exported validation helpers.
* refactor(session): extract checkSessionLog from the Session constructor
Move header validation, seed acceptance with surface admission, and the inherited-cut check into checkSessionLog in validation.ts, keeping the constructor's order and errors. The Session constructor and validateSessionLog call it.
* test(session): cover Session log validation and construction helpers
Cover validateSessionLog against Session.create and Session.fromRestore in
every event state, buildSessionHeader, needsInheritedSeedMarker,
Session.readEvents range semantics, and the fork subpath export of
SessionForkError.
* docs(session): document Session log validation
Document validateSessionLog, buildSessionHeader, needsInheritedSeedMarker,
Session.readEvents, and the SessionForkError subpath export in the package
README. Align the Session and CreateSessionOptions type blocks, add
SessionHeaderMeta, regenerate the Cordis, event graph, and persistence
catalogs, and update the plugin entry, unknown-cast, and package dependency
registries.
---------
Co-authored-by: imccyu <[email protected]>
Master's #6941 makes the system prompt plugin require the session projection registry and added it to the Feishu, WeCom, Tencent Meeting and CLI account test hosts; this package exists only on this branch.
Master's #6941 records system instructions as sections and refreshed every fixture on master; this fixture exists only on this branch. Refreshed with test:snapshot:refresh.
Keep the retry action available until a successful read supplies a current approval list. A decision that settles during a failed read cannot make cached requests visible again.
Keep the primary action readable while pairing is busy, and distinguish
rate limits from connection failures during recovery. After the retry
budget is exhausted, tell users to wait before requesting again.
(cherry picked from commit 3c8ef5f6cb6f9e76d0a22614c608d59107bf6bf0)
Give token entry and device pairing matching headings and descriptions
so the two choices are easier to scan. Keep sign-in guidance visible
when token validation fails.