Mount the recommendation plugins in Web and Desktop and expose their skill
switch in General settings. Record card decisions as Session events and
replay decisions from older plugin records. Use English for the two skill
catalogs and retire the optional recommendations bundle.
Co-authored-by: Dudu-0223 <[email protected]>
* fix(action-cards): keep proposals available across turns
* test(action-cards): consolidate replay and lifecycle regressions
* fix(action-cards): guide revised creation plans and drop derived decision wording
A changed plan now gets a new card whose answer says the earlier card stays available until dismissed. Card body docs describe decisions as recorded only.
The SDK PTC overlay is not shipped with @deepseek-ai/dsh and training
flips only the executor rows, so disabling workflow there would not
align any consumer. Restore the overlay, its docs, the keyless smoke
assertions, and the workflow parity exception, and drop the upgrade
guide that described the removal.
node-24-bench becomes a two-entry matrix that restores the node-24-build
output, bundles only the benchmark workers, and runs one suite phase per idle
runner: phase first holds the corpus cases and phase last the serial files
listed in SERIAL_BENCH_FILES. Each phase uploads its results.jsonl and the
measuring environment; node-24-bench-report renders one benchmark-report on a
small runner under Node type stripping and stays out of all-checks-passed.
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]>