feat: initial Memscribe implementation — deterministic, zero-LLM transcript capture#1
Merged
Merged
Conversation
…script capture Implements the Memscribe whitepaper: a standalone Cargo workspace that tails AI coding-agent transcripts and prepares them into typed nodes, deterministic and zero-LLM by construction. - memscribe-core: frozen contract (CaptureEvent/EventKind, PreparedNode/ FactStatus), Sink + TranscriptAdapter traits, and the Gate -> Segmenter -> Binder -> NodePrep pipeline (incl. rewind/compaction supersession, correlation tuples, and the redaction pass). - memscribe-adapters: 9 version-tolerant tool adapters (Claude Code, Codex, Gemini, OTel, Cursor, Windsurf, Zed, VS Code, Copilot). - memscribe-io: file reader, crash-safe offset tailer, live notify watcher, hook handler, and a loopback-only OTLP receiver. - memscribe-sink: NDJSON (default), SQLite, and a feature-gated MemDB sink. - memscribe-cli: parse / replay / redact / hook / verify (+ --capture) / watch, with memscribe.toml config loading. - memscribe-testkit: golden (insta) + cross-tool conformance (all 9 §8.2 scenarios) + property tests + fuzz targets + robustness + redaction + cross-version corpus. 260 tests; clippy -D warnings, rustfmt, and cargo-deny all clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
… flakes - README: family-styled logo, badges, pipeline diagram, supported-tools and node-contract tables, with/without-MemDB section, testing + CLI reference. - assets/memscribe-logo.svg: fountain-pen mark in the Memtrace navy+teal system. - ci.yml: add CARGO_NET_RETRY=10 + sparse protocol + git-CLI fetch so a transient crates.io SSL EOF (which failed the MSRV job) is retried, not fatal. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…ering - Remove the redundant top-level LICENSE (a byte-identical copy of LICENSE-APACHE); keep exactly LICENSE-APACHE + LICENSE-MIT to match the `MIT OR Apache-2.0` declaration. - Replace the confusing "MemCortex / Memtrace" conflation with the real three-layer stack: Memtrace uses MemCortex, MemCortex uses Memscribe. The dependency only ever points downward. Updated README, ARCHITECTURE, CHANGELOG, CONTRIBUTING, and the memscribe-core doc comments. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the Memscribe whitepaper end-to-end: a standalone Cargo workspace that tails AI coding-agent transcripts and prepares them into typed nodes — deterministic and zero-LLM by construction, so the whole module is golden-file, property, and fuzz testable.
What's included
CaptureEvent/EventKind,PreparedNode/FactStatus), theSink+TranscriptAdaptertraits, and theGate → Segmenter → Binder → NodePreppipeline (commitment-marker gate, rewind/compaction supersession, PROV bindings with correlation tuples, redaction).MEMDB.md.parse/replay/redact/hook/verify(+--capture) /watch, withmemscribe.tomlconfig loading.insta) + cross-tool conformance (all 9 §8.2 scenarios) + property tests (§8.3 invariants) + fuzz targets + robustness + redaction + cross-version corpus.Quality posture
cargo clippy --all-targets --all-features -D warningscleancargo fmt --all --checkcleancargo deny checkclean (advisories / bans / licenses / sources).github/workflows/ci.yml) runs all of the aboveRoadmap status
M1–M4 complete; M5 sink + OTLP receiver complete (Memtrace git-submodule wiring is cross-repo and intentionally out of scope here); M6
verify --capturecomplete (crates.io publish pending account/credentials).🤖 Generated with Claude Code