Repository navigation
Release v2.10.0 - #790
Merged
Merged
Release v2.10.0#790
Conversation
The script ran /implement on each ready ticket in a headless Claude and expected to sit on development, which predates the pull-request flow. Nothing in the repo calls it. The maintainer's queue now runs outside the repo, in visible sessions, and lands each ticket through a pull request. Changelog: none, removes a maintainer-only script that Hatchdoor does not ship Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BNQBbdwNnTviesrxK4Cyuj
Retire scripts/implement-queue.sh
One line at the top of AGENTS.md, so agents read it instead of probing for guessed file names. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLhP8xySqGnynumKMoN
docs: name where the tracker and coding standards are documented
Changelog: none, defensive opt-out for the current telemetry-free ONNX runtime.
Disable ONNX Runtime telemetry in container images
rmcp 3.8.0 answers every `initialize` with a revision that still has an initialize handshake, so a client naming 2026-07-28 there now gets a 2025-11-25 legacy session. The adapter's own negotiation applies the same rule, so that session advertises tools.listChanged: false, as every legacy session does; before, it claimed a subscription stream it cannot open. `ServerInfo` is deprecated in favour of `ServerConfig`. Handler-generated invalid-params errors on the modern revision are now in-band with HTTP 200 rather than HTTP 400, so the unknown-tool test expects that. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLfJUs1LSKF8Pf6b9HZ
Every range now starts at the newest version it already allowed, and the lockfile is regenerated so indirect packages are refreshed too. That clears every critical and high npm audit finding, among them DOMPurify (through Mermaid), pdf.js running script from a crafted PDF, React Router, Vite's dev server, PostCSS and undici. The lockfile was generated with npm 11: npm 10.9 crashes resolving this tree's peer set. npm 10 installs it with `npm ci` unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLfJUs1LSKF8Pf6b9HZ
Hatchdoor calls only `initialize` and `render`, which 12 keeps. Flowchart, sequence, class, state, ER, Gantt, pie, mindmap, Git graph and timeline diagrams, KaTeX labels included, render in Chromium as they did with 11.17, and a malformed diagram is still refused with the same parse error. Mermaid 12 carries its own KaTeX 0.18 inside the lazily loaded diagram chunk, so the service worker's precache grows from 3,077 KiB to 3,331 KiB. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLfJUs1LSKF8Pf6b9HZ
2.0 ships the same plugin as 1.3; the major version raises the minimum Node to 20.19 and widens the optional assets-generator peer range. The generated service worker and its 69-entry precache are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLfJUs1LSKF8Pf6b9HZ
A lockfile-only update that clears the open RustSec advisories with a fix in range: pulldown-cmark (exponential and quadratic parsing of wikilinks, which text-splitter enables while chunking notes), rustls and its WebPKI roots (the update check and model downloads), h2, tokio's AsyncFd, memmap2 and libz-sys. The ICU segmenter moves to 2.4, which aligns word breaks with UAX #29, so a chunk boundary can move in rare cases such as words joined by a colon. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLfJUs1LSKF8Pf6b9HZ
Vitest and its V8 coverage provider move to 5 together, and the test environment to jsdom 30. All 1,361 frontend tests pass, coverage clears its thresholds, and the test configuration needs no change. @babel/core and @rolldown/plugin-babel only satisfy optional peers of @vitejs/plugin-react, which runs no Babel pass with this configuration. They move to 8 and 0.3; eslint-plugin-react-hooks and workbox-build still bring Babel 7 for their own use. TypeScript stays on 6.0: typescript-eslint 8.72 supports TypeScript below 6.1 only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLfJUs1LSKF8Pf6b9HZ
zip 9 clears six advisories, all in archive extraction and AES reading; Hatchdoor only writes archives, but its tests read them back, and `file_names()` now yields a `Result` per entry. rusqlite 0.41 bundles a newer SQLite and needs no code change. text-splitter 0.33 moves its ICU segmenter to 2.3+, which the lockfile already carries; Hatchdoor uses no tree-sitter grammar, its other breaking change. base64, getrandom and the jsonschema dev-dependency need no change. hf-hub stays on 0.5: 1.0 is a rewrite on reqwest and hf-xet, and FastEmbed still depends on 0.5, so moving Hatchdoor's own edge would compile both client stacks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLfJUs1LSKF8Pf6b9HZ
ADR-17's status records the pin moving to rmcp 3.8.0 and what changed at the boundary; the module map carries the new pin. The troubleshooting guide quoted the 422 answer to a session-less call, which rmcp now answers with 400 "Bad Request: Session ID is required", and the out-of-scope note on wire errors marks that rough edge resolved upstream. The remaining one, a modern request missing everything taking three round trips, still holds on 3.8.0 and was checked again. The dependency update record says what moved, what was held and why, including the FastEmbed 7 vector comparison. CHANGELOG.md gains the Unreleased entries. Refs #621 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLfJUs1LSKF8Pf6b9HZ
The guide quotes the MCP transport's answers to a failed connection, so a change under src/mcp/ can make it wrong; the freshness check did not list it, and missed the 422 that rmcp 3.8.0 turned into a 400. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLfJUs1LSKF8Pf6b9HZ
Update dependencies: rmcp 3.8, security fixes, Mermaid 12, Vitest 5
A fast-forward or merge let libgit2 treat ignored files as expendable, so a remote file at the path of a note Hatchdoor wrote under a .gitignore rule, or a remote file named like an ignored folder, replaced or deleted the note and the Vault still reported ready. Before integrating, the sync now compares HEAD with what the checkout will write and stops with a conflict naming every untracked file in the way, writing nothing. Both checkouts also set libgit2's don't-overwrite-ignored flag. Submodule pointer moves, tracked symlinks replaced by folders and case-only renames on case-insensitive disks are not counted as files in the way. The troubleshooting and Git-backed Vault guides say how to clear this conflict, which a recovery branch cannot. Closes #623 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLgSP9hUqwUzFDHdsU5
…otes Stop a Git sync from destroying notes in ignored paths
…lusions Fix write exclusion checks for normalized paths
Use one body boundary and heading rule for section reads and writes. Preserve a typed missing-heading error through the mutation core and adapters, and cover all edit modes with byte-preservation regressions. Fixes #625
Fix section edits selecting frontmatter and indented code
A target with folders now matches a note's path, in full or as its end, before any title fallback, and a leading slash anchors it at the Vault root. An exact-case title beats a case-folded one, the default surface beats a layer, and then the note nearest the linking note wins. The slug tier matches the slug a note's name folds to, never a collision counter, so [[Meeting 2]] stays broken when no such note exists. Titles, paths and slugs are compared NFC-normalised, so a decomposed filename is reached by a composed link. Rename, move and delete now change only links that resolve uniquely to the moved note, splice the new target in without touching the rest of the link, and pin any other link the move would hand to a namesake. A non-UTF-8 note no longer blocks operations it has no part in. Closes #626 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLgSP9hUqwUzFDHdsU5
fix: resolve wikilinks to the note meant, and rewrite only its links
SqliteCache::resolve_wikilink still carried the resolution rule #626 replaced, and only its own tests called it. The layer guarantees those tests held (a default-surface note beats a layered namesake, a layered-only note still resolves) now run against VaultIndex, the one rule. Closes #653 Changelog: none, internal refactor with no user-visible change Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLi28TMFjc3LyMLEUf9
…link-resolver refactor: drop the cache's unused wikilink resolver
A slug passes to a same-named note that appears earlier in path order (ADR-24), and the content hash cannot tell two notes with the same text apart, so the editor could save the user's typing into another note while showing "Saved". The note update route takes an optional expected_relative_path and refuses with a non-retryable 409 note_moved when the slug names another file. The note page treats the note's Vault-relative path as its identity: every save sends it, a refresh or conflict read naming another file is never shown, and drafts are keyed by path (older slug-keyed drafts move to Settings, Unsaved drafts). When the slug names another file the page asks the server who is at its path: another slug gets a notice with Open it; no note there gets a notice that asks before opening the address afresh, holding the edit in Settings; a Rename, Move or Archive made in the app passes the new path so the page follows it. Closes #627 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix: keep the note editor on its own file when its slug changes hands
Keep editor text and held drafts safe across autosaves
The workspace attaches its Ctrl+K listener in an effect that runs just after the page is drawn. Under the full suite's load the test could find the Notes heading before that effect had run, so its one press landed on nothing and the palette never opened. A press sent the instant the heading appears is lost every time. The test now presses until the palette opens; extra presses only ever open it. Changelog: none, test-only change Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLgTQvN5sdSYVXCE3jc
Press Ctrl+K until the palette opens in the Retry setup test (#760)
) For a few seconds after every restart, the cached search model is checked and loaded, and the MCP setup gate answered every content tool with the first-run notice naming accept_gemma_terms and decline_gemma_terms, even on an instance set up long ago. StartupTracker::model_setup_hold now reads the phase once and says why setup holds callers back: a choice still to make (or a failed setup), or a chosen model being downloaded or loaded. The gate answers the second with a notice to retry shortly and keeps the old notice for the first. model_setup_pending is its is_some(), so other callers are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLdrZNjwZDCRxNrzH9Z
Tell an agent to retry, not to accept terms, while the model loads (#762)
The helper refused Folder/Name.MD, a note Hatchdoor indexes since #637. It now takes .md in any case, in the path check and in the wait for the slug. A name that differs from a note in the same folder only in the extension's case is refused, since the index keeps one of the two and the wait would report the other note's slug. Changelog: none, dev helper under scripts/ is not shipped Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLgFypwX3bMJwqJgUSr
Accept any case of .md in just dev-note (#766)
While a chosen search model downloads or, after every restart, is checked and loaded, the MCP handshake now serves the normal instructions led by one line saying note tools ask to retry until the model has loaded. It used to serve the first-run text naming the Gemma terms tools, which a client keeps for its whole session. Before any model is chosen the first-run text is unchanged. Closes #774 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLgy28oqcVxu5S25xbL
Tell a reconnecting agent the model is loading, not to set up (#774)
After model setup failed on an instance whose model was chosen earlier, every MCP content tool told the agent to accept or decline the Gemma terms, and doing so replaced the saved choice and switched models. The startup tracker now reports a failed setup as its own hold, and the tool gate answers it with a notice that setup failed, points at get_model_setup_status and at Retry setup in the web app, and names no terms tool, when a model choice is saved. With no saved choice the notice is unchanged. The handshake keeps its first-run instructions for now (#779). Closes #775 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLep1bcVka1meNukefU
Tell an agent a failed setup failed, not to choose a model (#775)
After model setup failed on an instance whose model was chosen earlier, the MCP handshake served the first-run instructions, which tell an agent to accept or decline the Gemma terms; doing so switches models, and a client keeps those instructions for its whole session. The handshake now serves the normal instructions led by a short line saying setup failed, that note tools are refused until Retry setup in the web app, and that get_model_setup_status gives the reason, matching the tool-call notice from #775. With no saved choice the first-run text is unchanged. Closes #779 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLdnPbDe3Y6ZBQatW8h
Tell a reconnecting agent a failed setup failed, not to choose (#779)
A highlight opening with one of Obsidian's six colour emoji (🔴 🟠 🟡 🟢 🔵 🟣) is drawn in that colour, with the emoji hidden, in the Reading view, the source-mode preview, Help and the live editor. The editor shows the emoji while the caret is on its line, and colours table-cell highlights in the widget's DOM without changing the cell's text. Search snippets drop the emoji with the signs. The file is never rewritten. The six surfaces follow the maintainer's chosen prototype (option A, house inks): six new tokens per theme, checked by palette.py for ink contrast, one lightness and the chroma ceilings, with a Highlight colours section in the design system. The manual lists the colours. Closes #577 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLgZJNj6DrGLqp1ftWd
Draw Obsidian's highlight colours in every view (#577)
The "On this page" outline cleaned emphasis, code marks and links out of a heading but left `==highlight==` signs, and with #577 the colour emoji after them. The heading text now goes through stripHighlights first, so both drop out while a code span keeps its signs. A heading that would be left empty keeps its text, so it stays in the outline with its anchor. Anchors do not move: slugifyHeading already drops `=` and emoji. stripHighlights now parses with the note syntax plugins' extensions instead of the highlight rule alone, so signs inside math or a bare URL stay, in the outline and in search snippets and Help excerpts alike. Closes #782 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLdpQ9MMHE35r573rxy
Drop highlight signs from the note outline's headings (#782)
In a note too long to parse within 50 ms, the editor's callout, rendered-block and image layers found nothing and never looked again, so they stayed plain source until the first edit. A shared treeSoFar() now hands those layers, and the highlight-colour layer, what is parsed so far when the parse runs out. It keeps one answer per editor state, so the four layers share one 50 ms budget instead of each spending its own. The callout and rendered-block layers turn on refindOnParse, and the image layer looks again when the tree grows. Closes #783 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLi2ggbXRSZki6mZLM9
Draw callouts, blocks and images in long notes without an edit (#783)
A new Settings section, 02 Sidebar, holds two instance switches, HATCHDOOR_SIDEBAR_CHANGED_ON_DISK and HATCHDOOR_SIDEBAR_RECENTLY_VIEWED, both on by default and pinnable from .env like any live setting. A list switched off is gone from the sidebar, the phone drawer and Home; what feeds it keeps running, and its stored fold is left for when it returns. The shell reads the switches through useSidebarSections, from GET /api/settings, again after any accepted save (patchSettings now dispatches SETTINGS_SAVED_EVENT) and when the tab comes back into view. It caches the last answer so a reload never flashes a hidden list. A demo has no Settings, so it shows both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLgM3gtcXHDRDXajcub
…switches Let Settings switch off Changed on disk and Recently viewed (#684)
Settings section 02, renamed Layout, gains Note width: Default, Wide or Full, saved as HATCHDOOR_NOTE_WIDTH and pinnable from .env like any live setting. It caps the note column in the Reading view and the live editor through new base.css tokens: Default is today's 38rem (--note-measure-default), Wide 48rem (--note-measure-wide, about 100 characters a line), Full no cap. Source keeps its 1120px column unless Full is picked, and Help's manual is drawn outside the layout, so it stays at Default. The server gains a choice kind: a pinned value reads lower-cased, one that names no option reads as the first, and a save of anything else is refused. The shell reads the width with the sidebar switches through useLayoutSettings (sidebarSections.ts moved to layoutSettings.ts), so a save or a return to the tab changes it without a reload, and NotePage draws it as data-note-width. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLf6kv5c7ndNho6mCJR
Let Settings set how wide notes run (#698)
Sets the version to 2.10.0 in Cargo.toml, Cargo.lock, frontend/package.json, frontend/package-lock.json and the version example in README.md, dates the changelog's Unreleased section as v2.10.0, and drafts the release's highlights in docs/user-vault/What's new.md. Made by `just release-prepare 2.10.0`.
Prepare the v2.10.0 release
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.
Releases v2.10.0: merges
developmentintomain.The release was reviewed on the version-bump pull request, #789.
just release-publish 2.10.0merges this pull request, and refuses while any box in that pull request's checklist is unticked. Publishing waits for the maintainer to approve the release title and notes.