Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
cbdb2dc
extract DeepSeek adapter spike to its own branch
SutuSebastian Oct 24, 2026
5198eae
name the DeepSeek plan file for what it is, drop the numbering
SutuSebastian Oct 24, 2026
21e0ffc
chore(deepseek): bump dsh pre-releases to 0.2.1-rc.3
SutuSebastian Oct 24, 2026
c163a48
chore(deepseek): merge origin/main (version-script lockfile regen)
SutuSebastian Oct 24, 2026
d527105
refactor(deepseek): converge adapter onto shared core seams
SutuSebastian Oct 24, 2026
fbe3e44
harden(deepseek): simplify converged seams, drop one-caller generic
SutuSebastian Oct 24, 2026
6f80c5f
feat(deepseek): add lcm_expand_query answered retrieval
SutuSebastian Oct 24, 2026
b31a249
feat(deepseek): emit metrics rows beside the sidecar
SutuSebastian Oct 24, 2026
70ffa0e
feat(deepseek): add read-only operator verbs to /lcm
SutuSebastian Oct 24, 2026
f51dfd0
feat(deepseek): add mutating operator verbs to /lcm
SutuSebastian Oct 24, 2026
a1bcf2b
feat(deepseek): recall param parity plus cross-session reads
SutuSebastian Oct 24, 2026
00cb8b8
feat(deepseek): forward seam knobs, caps, and heal budgets
SutuSebastian Oct 24, 2026
2346e18
feat(deepseek): backfill pre-mount history via async observation
SutuSebastian Oct 24, 2026
815fd35
docs(deepseek): record parity decisions and blocked seams
SutuSebastian Oct 24, 2026
d42d579
harden(deepseek): fix review findings across parity series
SutuSebastian Oct 24, 2026
57db391
harden: correctness fixes, point reads, docs drift, comment hygiene
SutuSebastian Oct 24, 2026
d1af0bd
chore(deps): override zod to ^4.6.6 under dsh parents
SutuSebastian Oct 24, 2026
1d1ede3
docs(roadmap): record harness grafts with pointer-integrity constraint
SutuSebastian Oct 24, 2026
d113c22
docs(roadmap): record arena verdict on harness grafts
SutuSebastian Oct 25, 2026
2281c23
fix(deepseek): degrade to live-mirror-only when sessionQuery is uninj…
SutuSebastian Oct 25, 2026
bf4f7e4
fix(deepseek): re-derive span mapping from the live log on cold index
SutuSebastian Oct 25, 2026
8db1808
docs(deepseek): record live-proof evidence
SutuSebastian Oct 25, 2026
13cd91a
feat(deepseek): stamp calling session id for per-conversation routing
SutuSebastian Oct 25, 2026
a569053
docs(deepseek): record sessionId fix and depth-2 live DAG
SutuSebastian Oct 25, 2026
5d5948f
docs(deepseek): reference section, comparison page, hub wiring
SutuSebastian Oct 25, 2026
bc1a98d
chore(deepseek): 0.1.0 publish prep
SutuSebastian Oct 25, 2026
65905d0
docs(deepseek): voice pass, hallmark lessons, comment hygiene
SutuSebastian Oct 25, 2026
8e2802d
docs(deepseek): cover thresholds in skill config essentials
SutuSebastian Oct 25, 2026
9351076
fix(deepseek): write one restorable export per sidecar on gc apply
SutuSebastian Oct 25, 2026
16fbd38
fix(deepseek): mirror descriptor rows for non-text messages
SutuSebastian Oct 25, 2026
9a0f0f4
fix(deepseek): catch-up backfill on unmapped span, single retry
SutuSebastian Oct 25, 2026
a5650c3
fix(deepseek): heal route, effective thresholds, store close on dispose
SutuSebastian Oct 25, 2026
f8d891c
fix(deepseek): order spans by seq, fix em dash
SutuSebastian Oct 25, 2026
ab177e3
fix(deepseek): guard store close with live-run and heal checks
SutuSebastian Oct 25, 2026
1307fac
chore(deepseek): merge origin/main (recall batch #12)
SutuSebastian Oct 25, 2026
80ce497
fix(deepseek): align quote tests with core phrase escaping
SutuSebastian Oct 25, 2026
e8bdd37
docs(deepseek): qualify recall, cap, and forget claims
SutuSebastian Oct 25, 2026
ed23f30
fix(deepseek): note checkpoint memory only on clean close
SutuSebastian Oct 25, 2026
fa9aac8
fix(deepseek): return error result when import throws
SutuSebastian Oct 25, 2026
5edc982
fix(deepseek): verbatim whitespace and coverage-counted backfill
SutuSebastian Oct 25, 2026
78647fa
fix(deepseek): evict closed stores on dispose
SutuSebastian Oct 25, 2026
63e42f7
feat(deepseek): dump verb, gc selectors, dump module split
SutuSebastian Oct 25, 2026
df0fd48
feat(deepseek): recall filters and expand anchor
SutuSebastian Oct 25, 2026
ec68812
docs(deepseek): attribution, pointer, README sections
SutuSebastian Oct 25, 2026
528d301
fix(deepseek): record failed pass on span-mapping failure
SutuSebastian Oct 25, 2026
f4ee254
feat(deepseek): wire mechanicalTools through both pass entries
SutuSebastian Oct 25, 2026
bf5f50a
fix(pi): mark async passes stale on mechanicalTools change
SutuSebastian Oct 25, 2026
acf283f
fix(deepseek): descriptor rows for blank text
SutuSebastian Oct 25, 2026
fd8c73e
fix(core): match tool markers regardless of prose
SutuSebastian Oct 25, 2026
181c025
fix(deepseek): gc hint selectors and strict age parse
SutuSebastian Oct 25, 2026
ef1bc39
docs: fix DeepSeek product name
SutuSebastian Oct 25, 2026
adbd9ac
harden: review fixes, scope regression guard, comment cull
SutuSebastian Oct 25, 2026
9978210
docs: dump verb, gc selectors, stale branch-state prose
SutuSebastian Oct 25, 2026
4a28fa7
harden: docs drift, peer deps, dump/gc/role fixes, JSDoc, tests
SutuSebastian Oct 25, 2026
b81171a
fix(deepseek): gc hint omits inert older-than, backfill reaches past …
SutuSebastian Oct 25, 2026
0302397
fix(deepseek): peer ranges admit the pinned prerelease hosts
SutuSebastian Oct 25, 2026
7141a07
fix(deepseek): MDX-safe rotated log examples in files snippet
SutuSebastian Oct 25, 2026
3163043
fix(deepseek): backfill counts only unmirrored messages, capped by co…
SutuSebastian Oct 25, 2026
849ad6f
docs(deepseek): drop deleted spike branch references from plan
SutuSebastian Oct 26, 2026
d662662
harden: visited-budget regression tests, single-derive mirror, ledger…
SutuSebastian Oct 26, 2026
612cae0
harden: result-row opening-line scope rule, compact failure tests, le…
SutuSebastian Oct 26, 2026
132aa71
docs(deepseek): correct model-free reduction cell for opt-in mechanic…
SutuSebastian Oct 26, 2026
aa32dab
feat(deepseek): ship profile bundle, plugin entrypoint, and getting-s…
SutuSebastian Oct 26, 2026
963588d
docs(deepseek): add the four missing guide pages so the sidebar match…
SutuSebastian Oct 26, 2026
98ca97d
fix(deepseek): audit findings from four-lane review, peer token-meter…
SutuSebastian Oct 26, 2026
ae864f8
fix(docs): truncate the dynamic install command instead of overflowin…
SutuSebastian Oct 26, 2026
6cc65bf
fix(deepseek): drop loader retainRatio default, scope backend switch …
SutuSebastian Oct 26, 2026
12dbeee
docs(deepseek): call the install unit a bundle, matching harness voca…
SutuSebastian Oct 26, 2026
4f826e0
feat(deepseek): full DSH surface support via shared core, realm backe…
SutuSebastian Oct 26, 2026
5b37e5a
chore: record deepseek-web workspace in lockfile
SutuSebastian Oct 26, 2026
508f722
fix(deepseek): one-command install, identity-tied core release, no em…
SutuSebastian Oct 26, 2026
2afc548
docs(deepseek): sync every install path with the auto-enable host patch
SutuSebastian Oct 26, 2026
0b1b0b6
harden: ownership-counted core release, preset docs and surface pins
SutuSebastian Oct 26, 2026
52e62e0
harden: generate lossless presets from pinned harness sources via script
SutuSebastian Oct 26, 2026
fd46630
docs(deepseek): state the customization boundaries for presets and th…
SutuSebastian Oct 26, 2026
3ec5202
docs(deepseek): bring-lossless-to-your-preset recipe for customized s…
SutuSebastian Oct 26, 2026
78b14d7
fix(deepseek): close idle stores on last preset release; correct unin…
SutuSebastian Oct 27, 2026
904672e
merge main after PR #14 (sidecar global default)
SutuSebastian Oct 27, 2026
0386313
fix(deepseek): preserve mechanical tool identity; qualify deleted-sid…
SutuSebastian Oct 27, 2026
9fdbbfa
merge main into feat/deepseek
SutuSebastian Oct 27, 2026
5962d2e
fix(deepseek-web): correct ptc backend rows and add preset descriptions
SutuSebastian Oct 27, 2026
749b6d4
fix(deepseek): claim spaced lcm verbs, ptc backend, preset descriptions
SutuSebastian Oct 27, 2026
b6634a9
fix(deepseek): write only condensed summary to session log
SutuSebastian Oct 27, 2026
6e29226
fix(deepseek): default sidecar to dsh home lossless
SutuSebastian Oct 27, 2026
323ab3f
fix(deepseek): close pullfrog gaps in bracket, recall, summarizer
SutuSebastian Oct 27, 2026
6944136
fix(deepseek): keep json stdout clean and scope e2e sidecars
SutuSebastian Oct 27, 2026
e5020a4
ci: async docs deploy on Release completion via workflow_run
SutuSebastian Nov 1, 2026
1df1710
ci: gate docs build steps on release tag, drop em dashes
SutuSebastian Nov 1, 2026
7560bea
ci: fail-closed smoke check that live site serves this release
SutuSebastian Nov 1, 2026
edfc1d3
ci: pin FTP-Deploy-Action to true v4.4.0
SutuSebastian Nov 1, 2026
969f09f
merge main into feat/deepseek
SutuSebastian Nov 1, 2026
3c2c46a
fix(deepseek): gc never deletes a sidecar open in another process; e2…
SutuSebastian Nov 1, 2026
22f4ba3
fix(deepseek): surface gc open-handle skips, re-check before delete; …
SutuSebastian Nov 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .agents/skills/docs-governance/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Each doc has exactly one job, keep content in its lane:
| `packages/*/CHANGELOG.md` | Each package's version history, written by changesets | Marketing prose, roadmap |
| `apps/docs/content/reference/pi/comparison.mdx` | Audited Pi peer comparison; the page and the source are one file | Feature marketing, unverified cells |

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dogfood sample finding: anchoring check only.

| `apps/docs/content/reference/opencode/comparison.mdx` | Audited OpenCode v2 peer comparison; the page and the source are one file | Feature marketing, unverified cells |
| `apps/docs/content/reference/deepseek/comparison.mdx` | Audited DeepSeek peer comparison; the page and the source are one file | Feature marketing, unverified cells |
| `apps/docs/content/_snippets/**` | Shared Markdown or MDX fragments, spliced into the per-harness wrapper pages with `<include>` | Frontmatter, a second full copy of a page, or the other harness's content |
| `packages/core/README.md` | The engine's API: the entry, the two ports, the boundary rule | Pi-specific behaviour, the split's rationale |
| `docs/roadmap.md` | Forward-looking work, evidence gates, rejected items | Shipped-feature history |
Expand Down Expand Up @@ -53,8 +54,8 @@ Each doc has exactly one job, keep content in its lane:
"Last verified: …" before treating a cell as settled. Credit a peer's win in
the cell: a comparison that shows only our wins is marketing.
Peer package names appear in
`apps/docs/content/reference/{pi,opencode}/comparison.mdx`, and nowhere else
in this repo or on the site (owner policy). Those two pages are both the
`apps/docs/content/reference/{pi,opencode,deepseek}/comparison.mdx`, and nowhere else
in this repo or on the site (owner policy). Those three pages are both the
audited source and the rendered page: edit a cell there, with its
verification note and date, never in a second copy. There are no inspiration
credits: the design cites the LCM paper (algorithmic
Expand All @@ -71,7 +72,7 @@ Each doc has exactly one job, keep content in its lane:
the landing npm shows, `packages/<name>/CHANGELOG.md` is the version history
changesets writes in place, and `packages/<name>/LICENSE` is a copy of the root
licence. The comparisons live in
`apps/docs/content/reference/{pi,opencode}/comparison.mdx`, so the tarball
`apps/docs/content/reference/{pi,opencode,deepseek}/comparison.mdx`, so the tarball
no longer ships them. The
holder named there is the org brand, `stainless-code`, as in every other
stainless-code package, never a personal name. npm
Expand Down
86 changes: 86 additions & 0 deletions .agents/skills/harden-pr/LEDGER.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Harden ledger

Local working file. A fresh clone does not carry it; reads become no-ops there.

## Rejections

By-design drops from review passes. Findings matching an entry are dropped
without re-litigation.

- Exported-symbol JSDoc stays. Public-API docs on exported functions, types,
and fields ship in dist typings and hovers; narration flags against them
are rejected (2026-10-25 full-branch sicko pass).
- Host line-number pins and drift-rule comments stay. Each marks what mirrors
the seam so a pin move has a checklist; the pin itself is the mechanism
note (same pass).
- Plan-sketch code fences are documentation, not corpses. Fenced sketches in
docs/deepseek-plan.md describe future shapes; flags against their `//`
lines are rejected (same pass).
- MUST KILL reshapes are out of bounds. dshRef, UsageTracker,
commitDagTransaction, DagStabilityError, resolveSummarizationTarget,
MessageIndex, resolveEntryId, SpanAlreadyMemoryError, withSummaryRefs,
cross-session caps, selectDagRange, lcmCommandDefinition, pressureZone,
writeDumpTarget, whitespace sentinel, mechanicalToolNameOf split,
SidecarStores opened handles, scopedGrepAll pushdown, toolScopeMessageIds
scope state, liveStems, valueOf arg parsing, healInFlight guard,
backfillSession accounting and visited budget: all need new shapes
(redesigns), so their comments stay and the flags report open (same pass).
- UI routing comments stay. Sidebar and harness-nav comments record the
reference-only constraint and cross-file sync points a reader cannot
re-derive from the loop (same pass).
- Test-rationale comments stay when they state fixture, divergence, or
expectation rationale; pure assertion echoes go (same pass).
- Negative metric limit reads all rows by design. `readMetricRows` treats a
negative limit as unbounded and zero as empty, pinned by
`util-metrics-sink.test.ts` (2026-10-25 gauntlet pass 1).
- Root README names the host ports and bundling once. Day-1 architecture
needs the two-port contract and the inline-into-dist note; deeper internals
stay out (same pass).
- Changesets describe behavior, not just the headline. This repo ships
detailed per-package entries; the deepseek entry stays behavior-complete
rather than trimmed to a headline (same pass).
- backfillSession Budget-type and visitedBudget-function MUST KILLs are
rejected. The visited/consumed accounting is five explicit lines with the
rule in one comment plus three regression tests; a Budget type would add
indirection without removing a branch (2026-10-26 gauntlet).

## Deferred

- Recall scope closer (`toolScopeMessageIds` quoted-marker scan beyond
toolResult opening lines), bare `tool <name>` matching, cross-session
`offset`/`summary`/`include_removed`
forwarding, ghost-session read-only open for minimal deps, dispose-then-close
for live/healing stores: each
needs a design decision (sharded past-search semantics, scope state machine,
lifecycle close scheduling) beyond a polish pass. Recorded open, not fixed.
Fixed from this row: `/lcm compact` error-code mapping tests (landed with
the failure-code test), and the toolResult-row half of the scope scan
(opening-line rule now matches `toolNameOfText`, pinned by regression test).
- Warm-scan probe cost: a warm remount re-probes every stored row (one indexed
point lookup each) plus marker derivation, so per-mount work scales with
history length while only writes and new evaluations are capped. Bounding the
cheap probes too needs a persisted frontier (resume) design. Progress is
guaranteed; the cost is accepted until a frontier design lands.
- Mount fan-out: one backfill per live session runs under one Promise.all.
Live sessions per composition are inherently few, and serializing would slow
the common single-session mount. A concurrency cap waits for a composition
with enough live sessions to matter.
- Engine cold rescan: the first span miss re-derives the live log to rebuild
the index. That is the documented cold-start path (fail-closed); changing it
reshapes documented behavior.
- dag-commit point mapping: one indexed `messageByEntryId` read per shadowed
seq. A range rewrite would change the per-seq fail-closed mapping into
filter semantics; indexed point reads stand until a measured need appears.
- hydrateCheckpoint full load: cold ladder runs read all stored summaries to
rebuild one checkpoint. Loading latest-plus-children instead reshapes the
resume path; the one-time cold cost stands.
- Lossless preset forks: each `deepseek-lossless-web` preset is a full copy of
the pinned harness preset with only the backend row swapped (2026-10-26
harden pass). Generating them from a base-plus-diff or upstreaming a
narrower preset-override hook would delete ~400 duplicated lines, but both
need a design beyond polish (harness-owned composition shape).
- Host core registry: the module-level shared core with owner counting could
move onto Cordis scoping once a host-provided service is the established
pattern for cross-realm sharing. The current shape is explicit and tested;
reshaping it would change mount/dispose semantics, so it waits for a design
pass with a live web session behind it.
5 changes: 5 additions & 0 deletions .changeset/core-deepseek-support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"lossless-core": patch
---

Support the DeepSeek adapter from core. `readMetricRows` takes `session` and `limit` filters, the metrics sink adds usage-tally helpers, `SidecarStores` evicts closed handles, `token-window` selects the compactable range, and `toolNameOfText` is exported for scope matching.
5 changes: 5 additions & 0 deletions .changeset/deepseek-bundle-manifest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"deepseek-lossless": patch
---

Ship the profile bundle. The package declares `dsh.bundle`, ships its patch layer, icon, locale metadata, and detail doc, and exposes the Cordis plugin shape (`name`, `inject`, `Config`, `apply`) so `dsh plugin --profile <name> add deepseek-lossless` installs as a profile layer instead of a plain dependency. Install stays per profile; the guide covers `web`, `headless`, and custom names plus the enable step that replaces the base compaction backend.
5 changes: 5 additions & 0 deletions .changeset/deepseek-json-stdout-e2e.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"deepseek-lossless": patch
---

Route the sidecar dir notice through the harness logger so headless `--json` stdout stays clean NDJSON, and scope `run-e2e.sh` sidecars to the scratch `DSH_HOME=/tmp/e2e-dsh` from the README.
5 changes: 5 additions & 0 deletions .changeset/deepseek-lossless.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"deepseek-lossless": patch
---

Add the DeepSeek adapter. `applyLossless` composes lossless memory into one harness composition, opt-in through `enabled`: every session mirrors into its own sidecar, and the returned disposer stops the mirror, the tools, and the command. It registers `lcm_grep`, `lcm_describe`, `lcm_expand`, and `lcm_expand_query`, plus the `/lcm` verbs `status`, `report`, `dump`, `backup`, `export`, `import`, `gc`, `migrate`, `heal`, `diagnose`, and `compact`. The summarizer engine mounts as the host's compaction backend: automatic pressure compaction stays off until `auto` opts in, manual `/lcm compact` commits through the DAG bracket, and `bracketAuto` routes the automatic path through the bracket too. `mechanicalTools` names noisy tools whose spans compact into deterministic `mechanical` leaves with zero summarizer spend. `lcm_grep` takes `query` with `scope` into past sessions (pattern stays session-scoped) of the same global sidecar directory, where `sessions` and `all_sessions` are equivalent, and `lcm_expand` reads a past session's sidecar read-only through `session`. `lcm_expand_query` runs a bounded in-process reader over `dshReader` and returns findings only. Recall covers grep filters (role, date range, tool name) and anchored expand listings. `/lcm` also grows `dump` with save and removed-row flags, gc session and age selectors, effective-threshold status and diagnose output, a configured heal model fallback, per-sidecar restorable exports, and stores that close on dispose. Model calls stamp the calling session for per-conversation routing, and span-mapping failures record a failed pass row. Sessions already live at mount backfill through the same mirror path, paged and capped, with already-mirrored rows not counting toward the visit ceiling so remounts still reach new events. Every seam writes diagnostic rows to the sidecar directory log, and `/lcm report` rolls up the session's rows. `/lcm diagnose` builds a redacted bundle, `backup`, `export`, and `diagnose --save` write owner-only (0600) files, and `/lcm gc` is age-based and dry-run by default. The composition value-imports its `@deepseek-ai/*` host packages, which stay peer dependencies.
6 changes: 6 additions & 0 deletions .changeset/deepseek-preset-close.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"deepseek-lossless": patch
"deepseek-lossless-web": patch
---

Fix preset teardown leaking open SQLite handles: whichever disposer releases the last core ownership (host or preset) now runs the shared guarded close, so idle stores always close on final release instead of only when the host happens to stop last. Also corrects the uninstall answer to lead with `dsh plugin remove` plus restart, since the shipped bundle patch owns the enable/disable rows and fresh installs create no user rows to delete.
6 changes: 6 additions & 0 deletions .changeset/deepseek-web-surface.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"deepseek-lossless": patch
"deepseek-lossless-web": patch
---

Support every DSH surface. The host composition now runs on a shared core with identity-tied, once-only release, so a stale disposer after a remount cannot evict the replacement, and the last owner alone closes shared handles. A preset-realm backend entrypoint (`deepseek-lossless/preset`) mounts the compaction engine inside agent presets without mirroring twice or closing shared handles; it fails fast naming the host row when the core is absent. The new `deepseek-lossless-web` companion bundle ships Lossless variants of all four shipped presets with only the backend row swapped, pinned to the same harness version as the peers (plus a punctuation normalization the repo requires). Installing the host bundle switches the host-plane backend with no further edits; web and desktop sessions select a Lossless preset.
1 change: 1 addition & 0 deletions .changeset/import-hash-check.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
"deepseek-lossless": patch
"lossless-core": patch
"pi-lossless": patch
"opencode-lossless": patch
Expand Down
3 changes: 2 additions & 1 deletion .changeset/mechanical-noisy-tier.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"lossless-core": patch
"pi-lossless": patch
"opencode-lossless": patch
"deepseek-lossless": patch
---

Add a mechanical tier for noisy tools. Name tools in `mechanicalTools` in summarizer-config, `/lcm` config, or the OpenCode plugin options. Their spans compact into deterministic `mechanical` leaves with zero summarizer spend at compaction time. Every message stays stored verbatim and covered, so the integrity coverage check passes, and heal re-derives a skipped leaf from provenance on demand. There is no ingest filtering.
Add a mechanical tier for noisy tools. Name tools in `mechanicalTools` in summarizer-config, `/lcm` config, the OpenCode plugin options, or the DeepSeek composition config (`mechanicalTools`). Their spans compact into deterministic `mechanical` leaves with zero summarizer spend at compaction time. Every message stays stored verbatim and covered, so the integrity coverage check passes, and heal re-derives a skipped leaf from provenance on demand. There is no ingest filtering.
3 changes: 2 additions & 1 deletion .changeset/orphan-sidecar-report.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
"deepseek-lossless": patch
"lossless-core": patch
"pi-lossless": patch
"opencode-lossless": patch
---

Report orphan sidecars in doctor. `integritySnapshot` now lists sidecar files and stale `wal` and `shm` files with no live session (`.sqlite` by default, `.db` for Pi). `checkIntegrity` reports them as a read-only `orphan-sidecar` finding through `lcm doctor` and the diagnose bundle. Report only. Deletion stays manual.
Report orphan sidecars in doctor. `integritySnapshot` now lists sidecar files and stale `wal` and `shm` files with no live session (`.sqlite` by default, `.db` for Pi). `checkIntegrity` reports them as a read-only `orphan-sidecar` finding through `lcm doctor` and the diagnose bundle. Report only. Deletion stays manual. DeepSeek carries the finding through the diagnose bundle only, since it has no doctor verb.
3 changes: 2 additions & 1 deletion .changeset/recall-search-upgrades.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"lossless-core": patch
"pi-lossless": patch
"opencode-lossless": patch
"deepseek-lossless": patch
---

Upgrade recall search. `lcm_grep` takes `role`, `date_start`/`date_end`, and `tool_name` filters. Role and time are SQL predicates on the stored columns with a covering index. Tool scope is an FTS rewrite against `[tool:Name]` markers with no new table or index. `lcm_expand` takes an `anchor` entry id that centers the listing window with edge clamping. The recall manifest and the retrieval brief order by stop-word stripped query-word overlap over summary headers. A read-only files view lists each linked file once with an incomplete-coverage flag and a `large-inline` mark. No migration and no new writer.
Upgrade recall search. `lcm_grep` takes `role`, `date_start`/`date_end`, and `tool_name` filters. Role and time are SQL predicates on the stored columns with a covering index. Tool scope is an FTS rewrite against `[tool:Name]` markers with no new table or index; a call embedded in prose still anchors, and removed rows stay out of the visible pass unless requested. `lcm_expand` takes an `anchor` entry id that centers the listing window with edge clamping. The recall manifest and the retrieval brief order by stop-word stripped query-word overlap over summary headers. A read-only files view lists each linked file once with an incomplete-coverage flag and a `large-inline` mark. No migration and no new writer.
3 changes: 2 additions & 1 deletion .changeset/static-sidecar-dump.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
"pi-lossless": patch
"opencode-lossless": patch
"deepseek-lossless": patch
---

Add a read-only static sidecar dump. `/lcm dump` and `/lossless-dump` open the session sidecar `queryOnly` and reuse the recall views and metric rows. The dump redacts displayed seams, labels removed rows, and reports old generations as named skips. Output is capped at 16 KB.
Add a read-only static sidecar dump. `/lcm dump` (plus `/lossless-dump` on OpenCode) opens the session sidecar `queryOnly` and reuses the recall views and metric rows. The dump redacts displayed seams, labels removed rows, and reports old generations as named skips. Output is capped at 16 KB.
Loading
Loading