Repository navigation
Roadmap
Where Longhand is headed, what's actively being worked on, and where contributors can help.
v1.3.2 (2026-11-22) — two fixes from the project's first outside contributors. An index rebuild (reset(), or the episode rebuild in analyze --all) now keeps the CPU-pinned embedding model instead of falling back to Chroma's default (#113 from mayuriphad, closing #98), and Claude Code 2.1's new transcript entry types are dispositioned, so doctor stops flagging them as format drift (#138 from Minecraft269). It is also the first release the MCP Registry received automatically (#137). No schema change.
v1.3.1 (2026-11-04), the release before it — a session could lose its last turn, and nothing noticed. A Stop hook that found the ingest lock busy skipped the turn and waited for the next Stop, which never comes if the session ends on that turn; SessionEnd deferred the same way; a full ingest logged bytes it never read when a live session wrote during it; and reconcile counted any transcript with a row as indexed, so no such loss was ever healed. Now a locked-out Stop or SessionEnd hook hands its ingest to a detached retry that waits up to 10 minutes for the lock, a full ingest logs only the bytes it parsed, and reconcile --fix re-ingests a transcript that grew after its last full ingest once it has been quiet for 30 minutes — doctor's "Recent ingest (7d)" row flags the same case. Background workers now start in the data directory, so a session inside a Longhand checkout can't run that checkout's code. No schema change. See Troubleshooting (#128).
v1.3.0 (2026-10-30), the one before that — opt-in, git-backed backup and restore. longhand backup init shows a consent screen (session count, upload size, that the content is verbatim transcripts, that nothing is encrypted, the per-pattern counts of secret-shaped strings that will be masked in the copy) and enables backups only after you type yes; longhand backup exports every changed session's verbatim transcript, masks every redact pattern in the copy only, commits in batches and pushes, and a session in the repository never shrinks when two machines hold different copies; longhand restore rebuilds the archive on a new machine with the current parser. A GitHub remote that gh reports as public is refused at init. See Backup & Restore (https://github.com/Wynelson94/longhand/pull/114, https://github.com/Wynelson94/longhand/pull/115).
v1.2.3 (2026-09-27), and before that — a docs-accuracy pass turned into six user-facing fixes: the MCP timeline's tail now returns the true last N events even past 5,000 events in a session, setup's closing hint points at status --days 7 instead of the removed recap, setup and its MCP step are honest about registering Claude Desktop and printing the Claude Code command separately, recall's three narrative footers and get_session_timeline's tool description point at search with session_id and context_events instead of the retired search_in_context, the MCP reconcile schema's stated default now matches its dry-run behavior, and --skip-analysis is documented as skipping analysis only — events are still stored and embedded. Full details in the CHANGELOG. Every 1.x version has a GitHub Release; the CHANGELOG is the canonical record either way.
v1.0.0 itself was subtraction plus written promises — see below — but nine releases have shipped real fixes and features since (1.1.0, 1.2.0 and 1.3.0 are the minor-version bumps; the rest are patch releases):
| Version | What shipped |
|---|---|
| 1.0.1 | Three doctor-row fixes found by dogfooding 1.0.0 within the hour: the update check now verifies against certifi's CA bundle (fixes a silent CERTIFICATE_VERIFY_FAILED on python.org macOS installs) and names the real failure class instead of a generic "offline?"; the transcript-drift row stopped telling already-current users to upgrade; file-history-delta got dispositioned into the skip set |
| 1.1.0 | Codex capture (codex-sync, the shared longhand-shared server) — see Codex
|
| 1.2.0 | The Codex finalizer — a quiet archived thread gets embeddings/episodes/project-inference, but only while codex-sync or reconcile --fix is actually running to do it |
| 1.2.1 | Three MCP-path fixes: get_session_timeline's limit/offset (previously ignored), the shared server's timeline ordering (previously interleaved subagent threads), and search's auto-scope vs. explicit session_id (previously could intersect to zero hits) |
| 1.2.2 | The recall age-gap note (#82) — flags when the best match is much older than a newer alternative; Codex compacted records stop tripping the format-drift warning |
| 1.2.3 | The six docs-audit fixes listed above (#95) — the retired-tool [DEPRECATED] preambles themselves are unchanged; what moved was get_session_timeline's tool description and recall's three narrative footers |
| 1.3.0 | Opt-in, git-backed backup and restore (longhand backup, longhand restore): verbatim transcripts to a private git remote you own, secrets masked in the copy, never-shrink merge across machines, a consent screen before anything leaves the machine (#114, #115) — see Backup & Restore
|
| 1.3.1 | The lost-turn fix (#128): a hook locked out of the ingest lock hands off to a background retry instead of dropping the turn, a full ingest logs only the bytes it read, and reconcile/doctor catch a transcript that grew after its last full ingest |
| 1.3.2 | Two outside-contributor fixes: index rebuilds keep the CPU-pinned embedder (#113, closes #98), and Claude Code 2.1's new entry types are dispositioned so doctor stops flagging them (#138); the first release published to the MCP Registry automatically (#137) |
v1.0 was deliberately boring: mostly subtraction, plus written promises about what would never silently break again.
| Item | Status |
|---|---|
Remove 4 deprecated CLI commands (recap, continue, patterns, reanalyze) and 6 MCP tool listings — the MCP names keep answering forever with a migration note |
Shipped 1.0.0 |
COMPATIBILITY.md — five 1.0 promises, each with a named enforcement artifact (stable surface, forward data compatibility, hook guarantees, upstream-drift-never-silent, honest metrics) |
Shipped 1.0.0 |
| Old-schema fixture database that must keep opening; zero self-deprecation warnings | Shipped 1.0.0 |
| Surface-consistency check (docs can't silently drift from the registered tool/command list) | Shipped 1.0.0 for README + CLAUDE.md; extended to runtime hint text in 1.2.3. The wiki and the plugin's own README aren't covered by this check yet (#107) — this audit-and-fix pass was a manual substitute for that gap. |
MCP reconcile defaults to a dry run (fix=true required to apply) |
Shipped 1.0.0; the tool's own schema text caught up to match in 1.2.3 |
| Windows support tier |
Not supported — use WSL2. (At 1.0.0 it was declared best-effort, not a supported tier.) A non-blocking windows-latest × py3.12 CI leg exists, but it currently fails in core tests (18 core-test failures per run as of 1.3.1 — the 12 seen since at least v1.2.1, plus 6 backup tests added in 1.3.0 — #112), not just native-dependency edge cases. The workflow's own evidence rule is explicit about this case: "red in core → keep the job, claim nothing" — so Windows is unsupported; use WSL2. A separate, test-only Windows encoding bug introduced in 1.2.3 was fixed by #111, shipped in 1.3.0. |
- Encryption at rest for the backup copy (age or a passphrase) — the 1.3.0 backup is plain text in a private repository by design; encryption and non-git targets are the planned follow-ups. Open.
- Single-writer daemon — replace the lockfile protocol with one writer process; internal change, no surface impact. Open.
-
ChromaDB replacement spike — sqlite-vec or an FTS5 hybrid, measured with
scripts/recall_diff.pybefore/after. Would drop the ~80MB ONNX download and the heaviest dependency. Open. -
raw_jsondeduplication — anentriestable keyed by entry hash; the design exists, execution is 1.x. Open. - Local-model extraction experiments — opt-in, local-only, layered on top of the deterministic rule-based core, which has hit its practical ceiling. Open.
- Streaming ingest for >500MB transcripts; many-to-many session↔project attribution. Both open.
Each of these came out of a full accuracy pass against the code (2026-09-27) and is tracked individually rather than folded into a vague "known issues" note:
-
#96 —
config --setwrites~/.longhand/config.jsonunconditionally, ignoring a relocated--data-dir/LONGHAND_DATA_DIR;--editis currently a no-op. -
#97 — running
analyzeon an archived Codex session can block it from ever being finalized. -
#99 —
~/.longhandcan be created without0700permissions in a small number of code paths. -
#100 —
doctor's Claude Code MCP row checks~/.claude.jsondirectly and misses plugin-provided servers. -
#101 — the update check runs on exit of
shared-mcp,mcp serve, anddemo(and the scheduled reconciler), not just the interactive CLI. -
#102 —
search's project auto-scope can't be turned off on purpose when the query text just happens to resemble a project name; the documented override (project_name=None) is a no-op because the MCP bridge treats explicitnullthe same as omitting the key. (Combining an explicitproject_id/project_namewith asession_idon purpose works fine — that was never the gap.) - #103 — MCP output caps are inconsistent: 5 of 13 tools are tunable, 2 are fixed, 6 have no cap at all.
- #104 — several CLI commands' session-prefix resolution scans only the 1,000 most recent sessions.
-
#105 —
mcp installwrites the macOS Claude Desktop config path regardless of host OS. -
#106 — the
get_statstool description promises adata_dirfield the response doesn't actually include. - #107 — the surface-consistency test suite doesn't cover the plugin README or this wiki.
-
#110 — at-parse-time redaction misses
git_commit_message; it isn't inredaction.py's covered field list, so it reachesgit_operations.commit_messageunredacted (the retroactivelonghand redact --applyscan does cover it). - #112 — the Windows CI leg fails in core tests (18 failures/run as of 1.3.1: 12 since at least v1.2.1, plus 6 backup tests added in 1.3.0), not just native-dependency edge cases; per the workflow's own evidence rule that means "claim nothing" for Windows support.
- From the 1.3.0 backup review (2026-10-30), each deferred rather than blocking the release: #116 GitHub host detection misses
GitHub.com/www./ssh.github.com/SSH aliases and visibility is checked only at init; #117 a remote URL with embedded credentials is accepted and stored; #118 GitHub's 100 MiB file and 2 GB push limits are not guarded on pathological inputs; #119backup --no-pushstill fetches; #120 the change scan takes ~11 s per pass on an 880-session store and runs twice per run; #121 a clone created with--pathoutside the data dir gets the default umask; #122 no.gitattributes, so a global CRLF setting would double transcripts on merge; #123 two CLI message polish items; #124 one event id can belong to two sessions and ingest order decides which owns it; #125file_snapshotlines without a session id become orphan events. - From the 1.3.1 lost-turn fix (2026-11-04): #129 the stale-index banner on
searchandlist_sessionsdoesn't yet notice a transcript that grew after its last ingest (reconcileanddoctordo); #130 syntheticunk-<n>event ids can collide across sessions and within a session's live tail.
- Documentation — this wiki gets a full pass roughly per release; between passes, drift shows up as one of the issues above.
-
Language-specific error pattern matchers in
longhand/extractors/errors.py(per-command suppression context landed in v0.13). -
New transcript entry-type shapes for the drift-canary fixture corpora —
tests/fixtures/transcript_shapes/(Claude Code) andtests/fixtures/codex_shapes/(Codex).scripts/harvest_entry_shapes.pyscans~/.claude/projectsand prints sanitized candidate lines for any uncovered Claude Code entry type, for a person to review and append totranscript_shapes/entries.jsonl— it has no Codex support, so newcodex_shapes/entries.jsonlfixtures are still added by hand (a good first script to extend).
-
Cloud-hosted version — would violate the local-only design principle. Everything stays on your machine. (The opt-in
backuppushes to a git remote you own and control; Longhand hosts nothing.) - An LLM in the ingest path — analysis stays deterministic and free; any future model-assisted extraction will be opt-in, local, and layered on top.
Open an issue at github.com/Wynelson94/longhand/issues with the problem you're trying to solve, not the feature you think solves it. Feature-first proposals get closed; problem-first proposals start a real conversation.