Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ cd src-tauri && cargo test && cargo clippy -- -D warnings && cargo fmt --check

CI (`.github/workflows/ci.yml`) runs the frontend checks (typecheck, eslint, prettier, vitest) and the Rust checks (fmt, clippy, test) on every push and PR to `main`. Match that bar before pushing.

Releases: **`docs/deployment.md` is the deploy procedure. Read it before any release build or publish.** It is local and untracked by decision, so it is absent from fresh clones _and invisible to content search_ — a gitignore-aware `grep -r` returns nothing for it. Check for the file directly (`ls docs/deployment.md`); if it is there, follow it rather than improvising a build. It is intricate, every step carries a verification, and the obvious commands are the wrong ones: a bare `npm run tauri build` produces a per-architecture, effectively unsigned bundle and fails on a DMG that nothing ships.
Releases: **`docs/releasing.md` is the release procedure. Read it before any release build or publish.** Follow it rather than improvising a build. It is intricate, every step carries a verification, and the obvious commands are the wrong ones: a bare `npm run tauri build` produces a per-architecture, effectively unsigned bundle and fails on a DMG that nothing ships.

Do **not** release by pushing a `v*` tag. `.github/workflows/release.yml` is dormant — `workflow_dispatch` only, per its own header — and its unsigned per-arch GitHub Release artifacts are not what Quill ships. The live path is a local universal build, a full bundle-level ad-hoc signature, and manual publication to Google Drive. Releases are macOS-only by decision: the `claude` CLI and its session discovery are Unix-path-based, and we don't ship builds that can't deliver the full experience. A maintainer fills in the notes (drafts live in `docs/release-notes/`) and publishes manually.

Expand Down
30 changes: 19 additions & 11 deletions docs/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,13 +248,18 @@ shared copy is never overwritten.

**Install and Restart** makes its checks while Quill is still open. It refuses
when the previous-build backup described below can't be matched to its receipt,
then confirms it can write beside the installed app, copies the Drive bundle
with `ditto` into a hidden `.Quill.update-<uuid>.app` beside it, and requires
that copy to carry the version Drive offered, the bundle identifier
`com.trussworks.quill`, and a signature that passes
`/usr/bin/codesign --verify --deep --strict`. Any failure leaves Quill open,
tries to remove the staged copy if one was made (a removal failure is not
reported), and shows **Could not install update**
then confirms it can write beside the installed app and copies the Drive bundle
with `/usr/bin/ditto` into a hidden `.Quill.update-<uuid>.app` beside it.
`ditto` carries the Drive bundle's extended attributes into that copy, and
`codesign --strict` can reject two of them as detritus even on an intact
bundle. Quill therefore removes `com.apple.FinderInfo` and
`com.apple.ResourceFork` from every item in the copy, without following
symlinks, and leaves every other attribute, such as quarantine and provenance,
as copied. It then requires the copy to carry the version Drive offered, the
bundle identifier `com.trussworks.quill`, and a signature that passes
`/usr/bin/codesign --verify --deep --strict`. Any failure, including a failed
attribute removal, leaves Quill open, tries to remove the staged copy if one was
made (a removal failure is not reported), and shows **Could not install update**
with the reason. For the backup check that reads "The previous update backup
could not be verified. Quill will stay open. Ask IT to inspect the managed
backup and receipt before trying again." The signature check shows that the
Expand Down Expand Up @@ -332,7 +337,10 @@ The local Drive updater leaves these risks open:
that is manual.
- An update interrupted by a crash can leave state, such as a receipt without
its backup, that blocks later updates until someone inspects it.
- Before relying on in-app updates, verify that the synced distribution copy in
the Tools folder passes `codesign --verify --deep --strict`. This assessment
ran the check only on constructed fixtures. A bundle that fails it is
refused, so it would never install.
- Where Drive for desktop puts `com.apple.FinderInfo` on the published bundle
is unverified. Its effect on the strict check was measured only on constructed
fixtures, on macOS 27.0.1. Before relying on in-app updates, copy the synced
bundle in the Tools folder to a local folder the way Quill stages it, and
check that local copy with `codesign --verify --deep --strict`, as the
[release guide](releasing.md#7-publish-to-google-drive) describes. A bundle
whose staged copy fails is refused, so it would never install.
32 changes: 32 additions & 0 deletions docs/release-notes/v1.1.23.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Quill v1.1.23

**Maintenance release with safer Claude sessions, clearer update failures, and fixes for literal text.**

## What changed

- **Start new session** no longer loads the document folder's project or local Claude Code
configuration, including hooks, environment settings, MCP servers, skills, commands, agents,
and instructions. A linked reference folder's skills, commands, and agents are also excluded.
User-level configuration and Quill's effort hook still apply. Sessions linked from the picker
keep their project's configuration.
- Quill-created sessions follow the document's new folder after **Save As**, including retries.
The conversation continues, while its transcript stays in the original folder's session store.
The configuration and Save As behaviours were verified only with Claude Code CLI **2.1.302**.
- If you set `CLAUDE_CONFIG_DIR` in Quill's environment, use an absolute path or unset it. Empty
and relative values now produce an error before Quill reads sessions or starts Claude.
- Cancelling a Claude request or quitting Quill normally stops the request's background
processes. Closing a tab cancels its request and prevents delayed requests from starting.
- Updates are staged and checked before Quill closes. Failures provide clearer recovery
guidance, and successful in-app updates retain one previous build. Signature checks verify
integrity; they do not identify the publisher.
- Find and Replace and AI suggestions preserve literal replacement text, including text that
looks like HTML. Text that looks like Markdown entities survives save and reopen.
- Updated affected build and test dependencies, with a patched Node 22 minimum for contributors.

Documents, comments, suggestions, chat threads, and linked sessions remain compatible.

## Install

Quill can install this update from its update prompt or **Help → Check for Updates**. To update
manually, quit Quill and replace the copy in Applications with `Quill.app` from the synced Truss
Drive folder. Documents and settings carry over.
Loading
Loading