Skip to content

feat: initial Memscribe implementation — deterministic, zero-LLM transcript capture#1

Merged
Alex793x merged 3 commits into
mainfrom
feat/initial-implementation
Jun 22, 2026
Merged

feat: initial Memscribe implementation — deterministic, zero-LLM transcript capture#1
Alex793x merged 3 commits into
mainfrom
feat/initial-implementation

Conversation

@Alex793x

Copy link
Copy Markdown
Collaborator

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

  • memscribe-core — the frozen contract (CaptureEvent/EventKind, PreparedNode/FactStatus), the Sink + TranscriptAdapter traits, and the Gate → Segmenter → Binder → NodePrep pipeline (commitment-marker gate, rewind/compaction supersession, PROV bindings with correlation tuples, redaction).
  • memscribe-adapters — 9 version-tolerant tool adapters: Claude Code, Codex, Gemini, OTel, Cursor, Windsurf, Zed, VS Code, Copilot. All normalize to an identical node shape.
  • memscribe-io — record reader, crash-safe offset tailer, live notify watcher, hook handler, loopback-only OTLP receiver.
  • memscribe-sink — NDJSON (canonical default), SQLite, and a feature-gated MemDB sink. Fully usable without MemDB; see MEMDB.md.
  • memscribe-cliparse / 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 (§8.3 invariants) + fuzz targets + robustness + redaction + cross-version corpus.

Quality posture

  • 260 tests passing
  • cargo clippy --all-targets --all-features -D warnings clean
  • cargo fmt --all --check clean
  • cargo deny check clean (advisories / bans / licenses / sources)
  • 9 cargo-fuzz targets (one per adapter) + a stable-toolchain robustness proptest
  • CI workflow (.github/workflows/ci.yml) runs all of the above

Roadmap status

M1–M4 complete; M5 sink + OTLP receiver complete (Memtrace git-submodule wiring is cross-repo and intentionally out of scope here); M6 verify --capture complete (crates.io publish pending account/credentials).

🤖 Generated with Claude Code

Alex Holmberg and others added 3 commits June 22, 2026 23:08
…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>
@Alex793x Alex793x merged commit e438aef into main Jun 22, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant