Repository navigation
@staix/agent-mem v0.24.0
-
On hosted Linux, report transcript summaries not durable within 64 follow-ups as advisory only for StopBurst runs with explicit spool-full stops, an incomplete cursor prefix, all scanned summaries retained, valid telemetry and zero R1 survivors. All other Linux gates and macOS behavior stay unchanged; warning receipts retain the evidence, and the group reports its incomplete-run count. Retire this ceiling after a product fix yields 10 consecutive strict-green hosted Ubuntu runs, or a later person ruling. Refs #357.
-
Correct timeout probe coverage: require a blocking-command cleanup control for each native sample and distinguish positively evidenced pre-admission and pre-command timeouts under the unchanged real deadline. Keep fail-open, exactly-once durable intake, valid telemetry and zero-survivor checks strict, with per-invocation branch diagnostics and no new advisory. Refs #362.
-
Give only the two expected-success cadence calls in the person-activation e2e a 60-second test-context deadline, with 90-second child envelopes and a 240-second test envelope. This exceeds twice the measured 28.6-second hosted macOS full sync; production keeps its 30-second default and unchanged stop, retained-attempt and fail-closed semantics. Refs #345.
-
Temporarily report hook wall-p95, wall-max and timing-only SessionStart omitted-work misses as #348 advisories on exact hosted GitHub Linux/macOS markers. RSS, telemetry, R1 and correctness remain strict; local and remote runs stay strict. Retire only after #348 is resolved and the person approves. Refs #348, #302.
-
Key reader lease lifetimes by the physical memory home, so parent-symlink and macOS path spellings share one reference count and closing one handle cannot drop another reader's lease. Admission, ownership, migration/prune blocking, lease filenames and schema remain unchanged. Refs #353.
-
At SessionEnd, stage the bounded transcript tail before ordinary publication replay, so a slow replay does not prevent a following Recap/Compact from reaching the durable spool. A later hook from another session in the same cwd can drain it without duplicate tail captures. Stop/StopBurst, backpressure and final replay, native budgets, data formats and R2 limits/baselines are unchanged; unscanned tails remain subject to the documented ceiling. Refs #344, #327.
-
Prepare curated brief snapshots after note/operation writes, imports and sync, reusing the private #337 transport. Migration and profile publication invalidate only, preserving legacy SQLite sidecars and live reader leases; a later ordinary off-hook trigger prepares the cache. Quiet projects require an unmarked person
amem briefor the explicit off-hook write exportprepareCuratedBriefCache(base, project); without one and without curated writes, native curated stays unavailable. MCP, agent-marked CLI reads and librarysessionStartBrief()never build the cache. The person must raise the home or curated floor to 0.24.0 to enable the native curated section. Native readers require that explicit floor, re-screen source and display before work, and emit whole curated lines after work in the unchanged pool. Binding, expiry and 24-hour freshness checks fail closed withcurated cache missingorcurated cache stale; hooks never refresh. Existing logs, hashes, indexes, instruction placement, header reservations and R2 limits stay unchanged. Refs #322. -
Add read-only
CaptureStore.countOutsideRecent({ event, since })for hosts that mine one event, such asRecord, from a bounded brief (#331, consumer STAIxBWLB/vault-mem#163). It counts main-sessionRecordrows below the retained recent window's oldest row within the host'ssincebound, returns{ rows, capped, available }with the count capped at the store's ownmaxReadRows, and is answered only by a bounded seek on the existingrows_brief_records_v1index: a full table scan, an unbounded index walk, a plan that is not that bounded seek, an event without a derived index or a store without that index reportavailable: falsewith nothing counted and no throw. It reads no excerpt, path or id and returns none. Existing reads, the recent window, the derived index set and capture storage formats are unchanged; the API and itsCaptureOutsideCounttype are additive root exports through the existing capture re-export, so hosts must pin a supporting release before calling it. -
Keep incomplete Record transcript scans out of exact experiment turn-share observations and retain their numeric coverage flag. Capacity maintenance trims the 4 MiB variant journal to 3 MiB so subsequent hooks append without repeated rewrites. Refs #325.
-
Native and library briefs preload and screen capture before work, reserving only the newest permitted main-session Recap/Compact line; work consumes the remaining pool, then up to five whole canonical Records are allocated at the existing capture position, followed by the reserved summary and a second summary if bytes remain. A non-fitting whole line is skipped and marks capture partial. Record and summary commits refresh the private per-project cache, which excludes raw tool captures and reports
capture cache missingwithout rebuilding when unavailable. Native Records now appear under the real 140 ms handler deadline. The library uses the same newest-summary reservation. Total context caps,HANDLER_MSand R2 baselines are unchanged. Refs #337, #201, #322. -
Add an opt-in purpose-framed Record instruction B with basis and uncertainty hints, plus person-written
record-instruction.jsonselection (a,b,alternate) for the #313 live week (#325). A remains the default; both reserve the existing 332 bytes, with 332/331 actual emitted bytes including the separator. Alternate uses the persisted session hash parity without changing its encoding, and either home/repositoryrecords: falsestill disables emission and extraction. The canonical Record grammar and the instruction's position before untrusted data are unchanged. Add body-free per-variant hook metrics and a read-only report with explicit session, Stop-turn, Record and brief-byte denominators. Retain numeric Record observations separately inrecord-variants.jsonlfor eight days with a 4 MiB cap and explicit cap-trim coverage, leaving the general metrics file unchanged. AC3 strict no-loss failed on S/M (rank-only; one M top-10 recall loss); shipped opt-in by owner decision 2026-11-10; default A. -
Cache console Recap, Review and Work snapshots by authoritative source and privacy revisions, returning only
changed: falseand a numeric cursor for matching polls. Coalesce identical reads, invalidate on actions and external writes, honor note expiry. Capacity and Timeline remain uncached because resource/time readings and referenced-file stale probes have no complete cheap revision. Skip only already-correct database chmods and identical consolidation-receipt updates, preserving 0600 hardening and every real update so reads do not manufacture revisions. Project-scoped candidate day boundaries expire cached Recap text even when another project masks the home-wide summary. Unavailable revision probes and input changes during a read disable reuse without hiding fresh data; an overlapping action triggers one post-action read. Warm the initial Review selection at provider open; no persistent cache, watcher or runtime dependency is added. Refs #359. -
Compatibility with N-1 (0.23.1), configuration: The config schema is unchanged and
recordsremains boolean-only. Older readers ignore the separate person-written selection file; existing 0.23.x readers continue A. Missing/invalid selection falls back to A with a numeric invalid-file flag; core never writes it. -
Compatibility with N-1 (0.23.1), curated storage and cache: authoritative rows, hashes, paths and derived index versions are unchanged; older readers ignore the prebuilt file. The root export is additive and explicitly writes a derived cache. Native curated admission stays deferred until the person raises the applicable 0.24.0 floor, which intentionally excludes older writers and readers for that surface.
-
Compatibility with N-1 (0.23.1), capture and derived indexes: row encodings, capture paths and derived index names are unchanged.
CaptureStore.countOutsideRecent({ event, since })and the root-exportedCaptureOutsideCounttype are additive (#331). The read-only bounded count reusesrows_brief_records_v1and reportsavailable: falsewhen the event/index/plan cannot answer safely; it reads no content or ids. Existing recent reads and writable stores retain their behavior. Hosts must pin a release containing the API before calling it; no format-floor change is needed for this count. -
Compatibility with N-1 (0.23.1), hooks and private sidecars: transcript cursors, capture replay/dedupe formats and the general metrics file remain compatible. SessionEnd staging changes replay order without rewriting captured data. The new
record-variants.jsonlnumeric journal is separate and older releases ignore it; the Record grammar, session hash encoding and instruction position are unchanged. -
Compatibility with N-1 (0.23.1), sync and reader leases: shared-v1, generation and shard sync formats, activation/renewal journals, writer attestation and reader-lease filenames are unchanged. Physical-home lease accounting is in-process only. No code raises a format floor; native curated-cache admission still requires the person's explicit 0.24.0 home/curated floor after all participating writers are upgraded.
-
Compatibility with N-1 (0.23.1), root exports:
prepareCuratedBriefCache, the Record instruction selection constants/helpers,captureSessionKeyandreadRecordInstructionare additive. Existing export names remain.CaptureStoreand its additive outside-window count type remain available through the existing root capture re-export; older host pins do not acquire the new method. -
Compatibility with N-1 (0.23.1), console and setup: console api 1, manifest shape and setup receipt formats are unchanged. Cached snapshots use the contract's existing cursor/
changed: falseresponse. The plugin module changed, so regenerate the console registration withamem setup console --applyafter upgrading; after moving install roots, rerun setup against the new pinned root. Package and Claude plugin version metadata advance together.