- notify 8.2.0 (CC0-1.0) behind the existing Watcher API, allowed by a
crate-scoped [[licenses.exceptions]] entry in deny.toml (owner
decision 2026-10-14, noted in AGENTS.md and NOTICE).
- Native notifications only mark directories dirty; after 100 ms of
quiet (at most 10 intervals) dirty dirs are rescanned and diffed, so
events, debouncing and rename pairing match the polling backend.
- Polling stays as fallback when the native watcher cannot start, and
per directory when a native watch is refused. Lost events or watcher
errors trigger a full rescan; root loss is checked on every tick.
- Additive API: WatchOptions::backend (Auto, Polling) and
Watcher::is_native.
- Watch tests run on both backends (34 vfs tests on Windows).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Project::open canonicalises the root (no \?\ prefix on Windows where
safe); typed errors for missing and non-directory paths.
- Lazy children(dir): dirs first, case-insensitive; kind, ignored flag
and role (vendor/ library, node_modules/ excluded, .git hidden).
- Ignore rules via the ignore crate: .gitignore, .ignore,
.git/info/exclude, global git excludes, with git precedence.
- Watcher: std-only polling (100 ms, watched dirs only) with
create/modify/remove/rename events and a Failed event on root loss.
notify is CC0-1.0 and fails cargo deny; owner decision pending.
- read_text with a 32 MiB cap, UTF-8 + BOM, typed InvalidUtf8 and
UnsupportedEncoding; write_atomic via temp file + rename, keeping
permissions and refusing read-only files.
- 28 tests on temp dirs (30 on Unix: permission and symlink write tests).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lutra-text gets Buffer on a ropey rope: byte/char/UTF-16/line counts,
byte offset <-> (line, column) in UTF-16 code units or chars, absolute
UTF-16 offsets, atomic Edit batches in LSP TextEdit[] semantics, and
\n / \r\n / \r detection with a keep-the-file's-ending save policy.
All conversions return TextError instead of panicking.
ropey 1.6.1 (MIT) without unicode_lines, so only the LSP/CodeMirror
line breaks split lines. proptest moves into workspace deps.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MVP (M1-M3) about 190 agent hours, full parity about 3,300 hours (range
2,000-5,000), all marked estimated. M0 measured at about 2 hours of active
agent time. Hours per area in target-app-parity, per gap in gaps.md and
per milestone in roadmap.md; ROADMAP and README status updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub Actions matrix (ubuntu-24.04, macos-15, windows-2025) with the
Tauri and xcap system packages on Linux, stable Rust with clippy and
rustfmt, cargo-deny, pnpm from ui/package.json and Node 22. Not run yet:
the repository has no remote until the owner decides on hosting.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The window is built in setup with the theme tokens injected by an
initialization script and the background colour taken from the theme, so
the first frame is already themed. Frontend IPC (engine_execute,
engine_list_commands) and the control channel both run commands through
the Host, which applies effects such as Quit. ui.screenshot captures the
window's client area from the screen because xcap skips windows of its own
process. build.rs generates the placeholder icon into the gitignored
icons/ directory. Verified on Windows: window opens, ping, listCommands,
screenshot, app.quit, and exit status 1 when the control port is taken.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lutra_control::start binds 127.0.0.1:PORT and serves app.ping,
engine.execute, engine.listCommands and ui.screenshot through the Backend
trait the host implements. Lines are capped at 16 MiB, every input gets a
well-formed response with a stable error code, and backend panics become
internal errors. Proptests cover arbitrary lines; a TCP integration test
uses the new testkit EngineBackend.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
unicode-ident (via serde, thiserror, syn) and the ICU4X crates pulled in
by Tauri are under Unicode-3.0. The owner approved adding it to the
permissive list; AGENTS.md, deny.toml, the frontend licence check and
NOTICE are updated. Restores a green cargo xtask ci.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Command trait with static spec, enabled check and run; Registry rejects
duplicate ids; Engine::execute runs every command inside the guard, which
turns panics into EngineError::Internal and keeps the engine usable.
Effects (Quit) are applied by the host. Theme tokens for Lutra Dark and
Lutra Light render as --lt-* CSS variables and a webview init script.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Empty workbench (main area and status bar) themed only through --lt-*
tokens. ipc.ts wraps Tauri invoke so engine calls never reject; the app
store loads app.about. Type-aware ESLint bans floating promises, any and
inline comments. Requires Node 22.12+ for Vite 8.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds ui/package.json with scripts (dev, build, lint, typecheck, test) and
the pinned dependency set: Vue 3.5, Pinia, @tauri-apps/api 2, Vite,
Vitest, ESLint with typescript-eslint and eslint-plugin-vue. TypeScript is
pinned to ~6.0 because typescript-eslint does not support 7.x yet.
Config, sources and tests follow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
layers reads cargo metadata and rejects upward, sideways and tool-crate
dependencies and any path to Tauri below L6. assets checks ASSETS.md rows
and rejects committed fonts. cleanroom rejects JetBrains copyright notices,
exported IDE configuration and .idea/.jar/.icls files. deny.toml mirrors
the licence allow list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Denies unwrap/expect/panic/unreachable/todo/unimplemented, indexing and
string slicing, missing docs and unsafe code outside tests. clippy.toml
allows them in tests. cargo xtask lints-selftest proves both directions.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Edition 2024 workspace with the crates from docs/architecture.md, each
declaring its layer in package.metadata.lutra. Records the M0 architecture
decisions (highlighting, Git library, terminal, text buffer).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>