Status: what is verified, and what is not
Version 0.1.0 · 2026-08-20
The README calls this early. This page says exactly how early, because "production-ready" and "secure" are claims that need evidence behind them and this project does not make them without it.
Verified, and how
| Claim | Evidence | Where |
|---|---|---|
| Domain invariants hold | 60 unit tests | crates/sf-domain |
| An area scales by the square of the factor, a volume by the cube | Asserted against a known drawing geometry | sf-domain/src/measurement.rs |
| Re-calibrating a page re-derives its quantities without redrawing | Unit test, and a store round-trip test | sf-domain, sf-store |
| An uncalibrated measurement is underived, not zero | Unit test | sf-domain/src/measurement.rs |
| A calibration from another page is refused | Unit test | sf-domain/src/measurement.rs |
| Illegal status transitions are refused | Unit tests, at the domain and at the store | sf-domain, sf-store |
| A stale write is refused and leaves the record untouched | Store integration test | sf-store/tests/store.rs |
| Tampering with the audit trail is detected | 18 unit tests, including a forged entry that fixes its own hash | sf-audit |
| The audit trail cannot be updated or deleted, even by raw SQL | Store integration test against a real file | sf-store/tests/store.rs |
| A committed write survives an abrupt close | Store integration test (leaked connection, no checkpoint) | sf-store/tests/store.rs |
| A committed write survives the process being killed | A real child process is spawned, commits, and is terminated with no chance to clean up | sf-store/tests/crash.rs |
| No generated path escapes the project package | Property test over thousands of adversarial strings; found and fixed a real defect | sf-security/tests/hostile_input.rs |
| Any tampering with the audit trail is detected | Property test over generated chains and generated edits, including re-signing the forged entry | sf-audit/tests/tamper.rs |
| Re-calibrating equals measuring at the new scale from the start | Property test over generated kinds, magnitudes and scale factors | sf-domain/tests/invariants.rs |
| A drawing altered on disk fails verification | Package test | sf-package |
| A missing drawing reports as missing, not as corrupt | Package test | sf-package |
| An engine record round-trips verbatim, including unknown fields | UI mapping test | apps/ui/test/mapping.test.ts |
| The status path never proposes a step the host would refuse | Exhaustive test over every pair | apps/ui/test/mapping.test.ts |
| Path traversal and symlink escape are refused | 28 unit tests | sf-security |
| Windows device names and unrepresentable filenames are refused on every platform | Unit tests | sf-security |
| No error message crossing the boundary carries a path, filename or SQL | Tests in three crates | sf-domain, sf-store, sf-package, commands |
| The desktop application builds and launches on Windows | Built and run; window opens and closes cleanly | — |
| A drawing opens and actually rasterises | Browser test against the built bundle, asserting non-blank pixels on the page canvas | apps/ui/e2e/open-drawing.spec.ts |
| The engine's toolset is installed, not just a page renderer | Browser test asserts the toolbar mounts | apps/ui/e2e/open-drawing.spec.ts |
| Opening a PDF needs no project set up first | Browser test drives the empty state through to a rendered drawing | apps/ui/e2e/open-drawing.spec.ts |
| Export is reachable by name, not only as an unlabelled glyph | Browser test opens the menu and finds each exporter | apps/ui/e2e/open-drawing.spec.ts |
| OCR runs entirely from bundled files, with nothing off-origin | Browser test recognises real pixels with every non-origin request blocked | apps/ui/e2e/ocr.spec.ts |
| A dropped drawing opens, and the interface never sees a path | Browser test pushes the host's drop event through a faithful IPC stub | apps/ui/e2e/open-drawing.spec.ts |
| The XLSX summary is a workbook Excel will actually open | 18 unit tests over the written parts, unpacked and inspected with a separate zip reader | apps/ui/test/xlsx.test.ts |
| No serious WCAG 2.1 A/AA violations in this project's own interface, including in forced colours | axe over the whole page, with a drawing open, and with the engine's known defects listed rather than excluded — see the gap below | apps/ui/e2e/accessibility.spec.ts |
| The register distinguishes a confirmed sheet number from a guessed one in text, not colour | Browser test asserts the word and the accessible name | apps/ui/e2e/accessibility.spec.ts, apps/ui/e2e/open-drawing.spec.ts |
| The store stays responsive on a 5,000-markup, 200-sheet project | Timed against ceilings that catch an order-of-magnitude regression; real figures printed each run | sf-store/tests/scale.rs |
| Every header control is reachable and visible by keyboard alone | Real tab presses, then a computed-style check for a focus indicator | apps/ui/e2e/accessibility.spec.ts |
| The frontend bundles under a strict CSP | Inherited from the engine's own CSP suite | upstream |
| The tutorial sheet is a genuine two-page PDF, not a stale or truncated asset | Rust test over the embedded bytes | apps/desktop/src-tauri/src/commands.rs |
| The tutorial's printed dimensions match the scale its title block claims | Rust test over the arithmetic the generator emits | apps/desktop/src-tauri/src/commands.rs |
| The committed tutorial sheet matches the script that generates it | CI regenerates it and fails on any difference | .github/workflows/ci.yml |
| The tutorial opens on a first run, and does not open itself again | Browser tests over both halves of the behaviour | apps/ui/e2e/open-drawing.spec.ts |
| A sheet exports as a real PNG at the resolution asked for | Browser test decodes the exported bytes and checks the PNG header and IHDR dimensions | apps/ui/e2e/open-drawing.spec.ts |
| An unmarked sheet exports with no colour on it | Browser test counts saturated pixels in the exported image | apps/ui/e2e/open-drawing.spec.ts |
| An export name with accents, an em dash or an emoji survives the ASCII header it travels in | Rust round-trip tests over what encodeURIComponent produces |
apps/desktop/src-tauri/src/commands.rs |
| A malformed export name is refused rather than repaired | Rust tests over truncated, non-hex and non-UTF-8 escapes | apps/desktop/src-tauri/src/commands.rs |
| A drawing's own outline is listed and jumps to the page it names | Browser test against the tutorial sheet, which carries a real outline | apps/ui/e2e/open-drawing.spec.ts |
| A drawing with no outline shows no empty panel | Browser test against a document with no bookmarks | apps/ui/e2e/open-drawing.spec.ts |
| The page counter survives adversarial input and stays inside the domain ceiling | Property tests over generated near-miss PDF tokens, plus every prefix of each | apps/desktop/src-tauri/src/commands.rs |
| A file that is nothing but page markers stops rather than counting forever | Unit test against a file crafted to exceed the ceiling | apps/desktop/src-tauri/src/commands.rs |
| Counting pages stays linear in file size | 8 MB of non-matching bytes against a ceiling that catches a scan inside a scan | apps/desktop/src-tauri/src/commands.rs |
| What the engine reads off a title block is sent to the host as a guess, never as confirmed | Browser test inspects every row that crossed the boundary | apps/ui/e2e/open-drawing.spec.ts |
| A register row survives the round trip in both directions | 4 unit tests over the mapping, including absent-versus-empty | apps/ui/test/mapping.test.ts |
| Importing a set reads the title blocks of every new drawing, and renames only a drawing that is one sheet | Browser test over a one-sheet drawing, a two-sheet set and a drawing already filed; verified to fail when the headless reader is handed flat text instead of positioned text | apps/ui/e2e/open-drawing.spec.ts |
| A multi-file import files every good file and names each refused one with its reason, never its folder | Rust test over a set holding a wrong-format file, a duplicate and a file past the page ceiling, with both refusals asserted in the audit trail; verified to fail when the import stops at the first refusal | apps/desktop/src-tauri/src/commands.rs |
| A drawing is named from its title block only when every page agrees on one sheet number | 9 unit tests over the naming rule and the import summary | apps/ui/test/import-report.test.ts |
| A renamed drawing keeps its identity, and a drawing never filed cannot be renamed | Domain and store tests | crates/sf-domain/src/document.rs, crates/sf-store/tests/rename.rs |
| A new issue moves under the existing drawing without losing itself, and never across projects, onto itself, or away from other issues | Domain tests over the three refusals; store tests over the move, a document still holding an issue, and an unstored revision — verified to fail when the emptied document is deleted before the revision is moved, which the schema's cascade would turn into deleting the issue | crates/sf-domain/src/document.rs, crates/sf-store/tests/refile.rs |
| A new issue is filed under an existing drawing only on the reviewer's yes, and the question names both drawings | Browser tests answering yes and no; verified to fail when the answer is ignored | apps/ui/e2e/open-drawing.spec.ts |
| Every command checks a capability or is named as exempt with a reason | The source checks itself, and the check was verified by removing a guard and watching it fail | apps/desktop/src-tauri/src/commands.rs |
| A revision comparison groups by cost code and unit, so a length is never added to an area | 12 domain tests over totalling and comparison | crates/sf-domain/src/delta.rs |
| The running takeoff on screen and the exported comparison cannot report different totals | A domain test asserting both paths return the identical f64, compared by its bits rather than within a tolerance |
crates/sf-domain/src/delta.rs |
| A quantity re-derived at the same scale is not reported as a change | Domain test over a difference in the last few bits, and one over a difference worth pricing | crates/sf-domain/src/delta.rs |
| What a comparison left out is reported rather than dropped | The command counts underived and unconfirmed quantities separately | apps/desktop/src-tauri/src/commands.rs |
| An exported set opens with a legend, and the review tally counts sheets rather than markups | 6 unit tests over the summary, including that a redaction does not count as review | apps/ui/test/legend.test.ts |
| A dimension check grades agreement and names a familiar mistake rather than reporting a percentage | 8 domain tests over the bands, the signed direction, and the mistakes it will and will not name | crates/sf-domain/src/scale_check.rs |
A dimension typed as 144'-6" is read as 144.5, and 144'-13" is refused |
11 unit tests over the forms people write on drawings | apps/ui/test/scale-check.test.ts |
| An attachment is content-addressed, so the same photo on three markups is stored once | Package test | crates/sf-package/src/lib.rs |
| An attachment altered on disk is refused rather than handed back | Package test rewrites the file and expects a failure | crates/sf-package/src/lib.rs |
| An attachment past the size limit is refused before anything is written | Package test checks the directory is still empty afterwards | crates/sf-package/src/lib.rs |
| A saved view survives a restart, and deleting one actually deletes it | Store round-trip test replacing the set, plus a browser test that the restore runs on open | crates/sf-store/tests/store.rs, apps/ui/e2e/open-drawing.spec.ts |
| A view whose zoom or centre could not be restored is refused rather than stored | Domain tests over non-finite, zero, negative and absurd values | crates/sf-domain/src/view.rs |
| A sheet number a machine guessed never overwrites one a person confirmed | Store test: an OCR re-read of A-201 as A-2O1 is rejected, and a person correcting it afterwards still lands |
crates/sf-store/tests/store.rs |
| The register answers "which sheets are at Rev C?" across the project | Store test, case-insensitively and sorted by number | crates/sf-store/tests/store.rs |
| A project two schema versions behind reaches the current one | Migration test asks the schema itself rather than trusting the recorded version | crates/sf-store/tests/migration.rs |
| An extract is filed as a new revision recording what it came from | Store round-trip test, plus a browser test asserting the derivation and origin that crossed the boundary | crates/sf-store/tests/store.rs, apps/ui/e2e/open-drawing.spec.ts |
| A page selection is read the way people write one, and refused when it names a page that is not there | 8 unit tests over ranges, repeats, both ends, backwards ranges and malformed input | apps/ui/test/assemble.test.ts |
| A project written by the previous build still opens, with its data intact | Integration tests build a real version-1 database from the shipped migration and open it with the current build | crates/sf-store/tests/migration.rs |
| Opening twice does not run a migration twice | Integration test — ADD COLUMN fails on a second run, so a version recorded wrongly means a project that opens once and never again |
crates/sf-store/tests/migration.rs |
| A project from a newer build is refused rather than half-understood | Integration test | crates/sf-store/tests/migration.rs |
| A recent project is named to the interface by a handle, never by a location | Rust test asserts no path component appears in what is serialised, plus a handle the host never issued resolves to nothing | apps/desktop/src-tauri/src/recent.rs |
| Opening a recent project sends a handle and nothing that could be a path | Browser test inspects what actually crossed the boundary | apps/ui/e2e/open-drawing.spec.ts |
| A project that has moved is listed and disabled rather than hidden | Browser test | apps/ui/e2e/open-drawing.spec.ts |
| A marked-up PDF is refused while redactions exist | Browser test asserts the refusal is shown and that nothing reached the host to be written | apps/ui/e2e/redaction.spec.ts |
| Redacted text is not in the exported file | Browser test searches the exported bytes for a string that exists nowhere else, on an uncompressed fixture so "absent" cannot mean "deflated" | apps/ui/e2e/redaction.spec.ts |
| A page nobody redacted keeps its text | Browser test, so the safe implementation and rasterising everything are distinguishable | apps/ui/e2e/redaction.spec.ts |
| The application packages into installers on Windows, macOS and Linux | A bundle job builds all three, weekly and on demand, and keeps what it produced | .github/workflows/bundle.yml |
| An issue status is stamped on the exported pixels, not just the filename | Browser test decodes the export and finds the stamp's colour on a drawing that has none of its own | apps/ui/e2e/open-drawing.spec.ts |
| Every sheet exports as one ZIP with an entry per page | Browser test reads the entry names out of the archive it produced | apps/ui/e2e/open-drawing.spec.ts |
| The markups reach the exported image, not just the screen | Browser test seeds a markup through the host, checks it is on screen, then decodes the exported PNG and finds its colour | apps/ui/e2e/open-drawing.spec.ts |
| The Windows installers actually build | tauri build run once on Windows: an MSI, an NSIS installer and an updater signature for each |
local, not CI — see below |
Totals: 285 Rust tests, 71 TypeScript unit tests, 46 browser tests. The Rust figure includes
property tests that generate thousands of inputs each — path containment, format sniffing, audit
tampering, and measurement arithmetic — so the number of cases exercised is far higher. Clippy clean at -D warnings with pedantic lints
on; cargo fmt clean; TypeScript strict with noUncheckedIndexedAccess and
exactOptionalPropertyTypes; ESLint clean on type-checked rules.
The drawing engine brings its own suite: 381 unit tests plus a Playwright suite across Chromium, WebKit and Firefox covering rasterisation, the pointer gesture loop, touch and pen, keyboard operation, the compare pipeline and a strict-CSP load.
Not verified
Listed because omitting them would make the table above dishonest.
| Gap | Why it matters | Tracked |
|---|---|---|
Closed 2026-08-25. The packaged Windows build was installed and driven by hand through a full round trip: a markup drawn on the tutorial sheet, filed by markup_create, reported as saved, and exported back out as CSV carrying the id, sheet, page, type, status, discipline, author and RFC 3339 timestamps the domain minted. Two exports crossed the raw-bytes transport — a 2.6 MB PNG and the CSV — and both arrived intact. What this does not cover is every other command: the ones exercised were tutorial_open, document_bytes, sheet_record, markup_create and export_save |
done | |
| The native file dialogs are not driven by any test | They sit below the stub. Exercised by hand only | 0.2 |
| The PDF parser itself is not fuzzed | Path containment, format sniffing, size arithmetic, the audit chain and now the page counter have property tests generating thousands of inputs each, and one found a real defect. The page counter is the only PDF parsing this repository does, and it is covered; pdf.js — the parser that reads the document properly — is upstream and is not fuzzed by us. That is the part still open. Updated 2026-09-14: the three other parsers of hostile input now have seeded generators, run in the ordinary unit suite rather than by a fuzzer. pdf-lib, which reads the untrusted PDF a second time for page extracts and redacted copies: 150 damaged drawings per run (flipped bytes, truncation, rewritten cross-reference offsets and lengths, arrays nested 60,000 deep), asserting none hangs and every refusal is honest — which found that damaged files were called "protected" and that failures after loading leaked pdf-lib's internals, both fixed. The engine's XFDF parser, previously untested here: 500 generated documents, asserting no markup lands off the document or with non-numeric points — nothing found. The markup-set loader: 400 damaged sets, asserting a drawing is never half-loaded. What this is not: coverage-guided fuzzing. These generators explore what they were written to explore, a fixed few hundred cases per run, and pdf.js itself is still fuzzed by nobody here. Updated again: the host's own parsers are now also fuzzed with libFuzzer — the page counter, PDF header sniffing, path containment, name checking, log redaction and markup-metadata decoding, each against a stated property, weekly and whenever fuzz/ changes. The first CI run gave each target five minutes: about 487 million executions in all, from 4.9 million for redaction to 217 million for header sniffing, and no crash. Five minutes a week is a floor, not a campaign; what it buys is that a regression in one of these parsers is found within a week by something that is not waiting to be imagined. Still open: pdf.js, which parses the document properly, is fuzzed by nobody here, and pdf-lib has a seeded generator rather than a fuzzer. Both run in the webview and are upstream |
0.3 |
| Rendering is measured on a synthetic set only | A browser test now opens a synthetic 200-sheet ARCH D set and times what a reviewer waits on, from marks the application records locally and never sends anywhere. On a developer machine: parse 183 ms, first sheet 277 ms, a jump to sheet 150 in 60 ms, a zoom repaint in 87 ms, retained heap 8 MB growing to 11 MB after paging across forty sheets, and the main view holding two canvases throughout — no leak. Measuring found a real defect first: the engine's sheet panel redrew every thumbnail once per sheet while reading title blocks, about 40,000 draws over two minutes, and every jump and zoom waited ~3 s behind it. Bounding the sheet list's height fixed it in our own stylesheet (2,014 draws, done in 8 s); the engine-side causes are reported in docs/upstream/. A thumbnail-count guard fails at ~57,000 with the fix removed. What this does not show: the set is generated, dense for a synthetic drawing and light for a real one — no hatching, no images, a few thousand paths where a CAD export has tens of thousands. The figures are a floor, not a promise about anybody's drawings, and CI's ceilings are set to catch an order-of-magnitude regression rather than to publish a budget | 0.3 |
| Power loss is untested | A committed write is now proven to survive the process being killed — a real child process, TerminateProcess/SIGKILL, no destructors. That proves SQLite committed, not that the platter did; testing the latter honestly needs hardware or a fault injector |
0.4 |
| macOS and Linux have not been used by a human | Their installers are now installed on fresh CI runners and the application starts on both — it logs the version it started as and is still running seconds later, then uninstalls cleanly (see the clean-machine row below). That proves it installs and comes up, not that anybody has opened a drawing on either. iOS and Android are configured and compile in CI, and have not been run at all | 0.2 |
| Binaries are unsigned | SmartScreen and Gatekeeper will warn, and nothing the operating system trusts vouches for the publisher. From the next release there is a partial answer that needs no paid certificate: every file carries signed build provenance, recorded in the public Sigstore log, that anybody can check with gh attestation verify <file> --repo ibuilder/SheetForge to confirm it was built by this repository's release workflow from a named commit and not altered since. It does not stop the OS warning — only code signing does that — and 0.1.1 predates it |
0.2 |
| Closed 2026-08-25. The packaged Windows application was installed and driven by hand: the tutorial opened, and a 300 DPI plot export of an ARCH D sheet was saved through the native dialog. The file on disk is 10800 x 7200 pixels and 2,751,432 bytes, and every one of its 673 PNG chunks passes its CRC with the stream consuming exactly the file's length — so a 2.6 MB payload crossed the real injected IPC as raw bytes without a byte changing. The suggested name and extension survived the percent-encoded headers intact, spaces included, and the native picker opened with both already filled in. Re-checked on the packaged 0.1.2 on 2026-09-12: a screen-resolution PNG of the tutorial sheet saved through the native dialog at 3456 x 2304 pixels, 496,753 bytes, and Check integrity verified the drawing and its six audit entries in a project made by the previous release | done | |
| No installer has been run on a clean desktop | Updated 2026-09-14: every bundle is now installed on a fresh GitHub runner of its own platform, started, confirmed to have logged SheetForge <version> started, checked still running, and uninstalled — after the weekly bundle build and as a gate on every release draft (scripts/smoke-install.mjs). All three platforms pass. The first run found a real problem: the macOS disk image stops at its licence agreement. It also recorded that the Windows installer put the program in %LOCALAPPDATA%\SheetForge on the runner, not in %LOCALAPPDATA%\Programs\SheetForge as noted below from the build machine; which one a user's machine gets is worth confirming by hand. A runner is not a desktop: SmartScreen and Gatekeeper, and anything past startup, remain unobserved by anything automated. What was recorded before: the NSIS installer has been installed and uninstalled on the machine that built it. It installs per-user to %LOCALAPPDATA%\Programs\SheetForge, writes a working Start menu shortcut, registers under HKCU, launches and renders — and removing it takes the binary, the shortcut and the registry entry, leaving the projects in Documents alone, which is the half that matters. Doing that found and fixed a real defect: it asked for administrator rights it did not need. What the build machine still cannot show is what a stranger sees, because Windows trusts output it compiled itself — SmartScreen's real first-run behaviour remains unobserved |
0.2 |
| The only published release cannot update itself | 0.1.1 is published, as a prerelease, and downloadable by anybody: all nine installers were fetched anonymously after publishing, and the attached SHA256SUMS.txt was checked by hashing the Windows installers independently. But it was built without TAURI_SIGNING_PRIVATE_KEY, so it carries no signed update payload and no latest.json — every copy installed from it is stranded on 0.1.1 until somebody uninstalls and reinstalls by hand. The code that asks now exists, which it did not in 0.1.1: a check a few seconds after start that only announces, a Project-menu item that asks before installing, an off switch as ADR-0007 requires, and a save that is confirmed from the engine's own state before anything is installed — because the engine's save resolves even when it fails, and on Windows the installer ends the process. Browser tests prove that switched off it sends no request at all, and that an automatic check never raises a dialog. The key now exists: generated 2026-09-12 on the maintainer's machine, checked by signing with it, and held as a repository secret — replacing a public key committed on day one whose private half nobody ever had, which would have rejected every update while looking configured. 0.1.2 is built and signed with it: every artifact's signature verifies against the public key the application ships, checked by scripts/verify-release.mjs, which fails on all seven artifacts when pointed at the abandoned key. The packaged 0.1.2 was then installed and driven by hand on 2026-09-12: Check for updates… answered "Could not check for updates just now" against the real endpoint — correct, since no full release is published and /releases/latest skips prereleases and drafts — and the off switch flipped both ways, each time saying which state it was in. What remains is publishing it, and an update actually installing: nothing has been updated end to end, and that cannot be tested from 0.1.1, which has no checking code at all. Every copy of 0.1.1 needs one manual reinstall |
0.2 |
| What importing a set does not read | Sheet numbers come from the PDF's own text. A scanned set has none, so its drawings keep their filenames and empty register rows until they are opened and recognised by hand — on-device recognition is too slow over a whole set and recovers too few title-block strings to trust. The engine does not read the printed revision, so imported sheets carry no revision letter. A new issue of a sheet is linked to the drawing already there only when exactly one drawing shows that number and the reviewer says yes; two drawings sharing a number — a multi-building job — are never offered, and stay separate | 0.3 |
| No third-party security review | No audit, no penetration test | 1.0 |
Closed 2026-09-11. Importing a drawing called std::fs::read and only then checked the size, so a file far past the 512 MB ceiling was loaded whole before being refused, and a device or named pipe was read until memory ran out. ResourceLimits::read_bounded now refuses from metadata, re-checks through the opened handle, and reads at most one byte past the ceiling — so a file that reports a size it does not have, or grows while read, is still stopped. Used for drawings, attachments, sources read back out of a package, and imports. Tested against an endless in-memory source, and against /dev/zero on Unix, where the old code would hang rather than fail |
done | |
Closed 2026-09-11. The drawing engine picked these files inside the window and read them whole, and check_interchange was never called anywhere — against a threat model naming a hostile XFDF as the primary adversary. They are replaced under the engine's own action ids, so the menu and the engine's toolbar both reach the guarded versions, and the file now comes through the host's native picker and the bounded read. A browser test fails if any path opens a picker inside the window, and was shown to fail with the guard removed. Loading a markup set, which replaces every markup on the drawing, now asks first |
done | |
Closed 2026-09-11. Listed in the threat model and printed in the diagnostics report as in force, but nothing compared the count with it. Both paths a document enters by now refuse past the ceiling, before anything is written to the package, on the page count the host makes itself — a test shows a file claiming /Count 9999999 over two real pages admitted, and one claiming /Count 1 over three refused |
done | |
| Some declared ceilings are not enforced | ResourceLimits carries a decompressed-stream ceiling, a job timeout and a concurrency limit, and none of the three is enforced. They would have to act inside pdf.js's worker, where stream decompression and rendering happen and no hook is exposed, so a decompression bomb inside an admitted PDF is bounded only by pdf.js's own defences and the file's size. The package ceilings are now enforced — a project directory is measured before its database is opened and refused past its size or its file count, with the walk stopping at the first refusal and never following a link out of the package, so measuring a hostile package cannot itself be the attack; three tests cover the size refusal, the count refusal and a link to the root of the disk. Writes are admitted against the same ceilings with a margin for the database, so a project the application built always opens: a test fills a package until a drawing is refused, asserts nothing was written for it, and reopens the package under the ceiling it was built under — and fails if the admission check is removed. A package part of which cannot be measured is refused rather than undercounted (a unix-only test, since it relies on removing directory permissions) The diagnostics report lists the remaining three under "Declared, not yet enforced", with a test that fails if one reappears under "in force" |
0.3 |
Closed 2026-09-12. The rules require refusals in the trail, and no shipping build had ever written one: the only two audited refusals were capability checks, and a local install runs as Role::Owner, so neither branch was reachable. Every refusal that can happen with a project open is now recorded as Outcome::Denied with the rule it broke and a code beside it, so refusals can be counted by rule: a drawing or an import over its ceiling, a document past the page count, a name that could not be used for a derived document, an attachment or an export, and a status change refused for the capability. The reason is the refusal's own sentence, which names the limit and the magnitude and never a path, a filename or any content — a command-layer test drives a real project into the page ceiling, asserts the entry, its code and that the chain still verifies, and asserts the file's name is nowhere in it; it fails if the audit call is removed. What is still not recorded is a refusal with no project open, because the trail lives inside the project |
0.3 | |
| An unsoundness advisory sits in the Linux dependency tree and cannot be fixed here | glib 0.18.5 carries GHSA-wrw7-89jp-8q8g, unsoundness in the Iterator impls for VariantStrIter, patched in 0.20. It is not a direct dependency: it arrives through the whole GTK3 stack Tauri binds on Linux — gtk, webkit2gtk, gdk, pango and neighbours — so reaching 0.20 means the gtk-rs 0.20 migration, which is upstream's to make and not something a patch here can force. Nothing in this workspace calls VariantStrIter, and the advisory is unsoundness rather than a remotely reachable defect, but it is listed rather than filtered out of view |
upstream |
Closed. cargo-deny had gated the Rust half of the tree since the first commit and nothing gated the JavaScript half, which is how a high-severity arbitrary-execution advisory against pdf.js — the library that parses the hostile input — sat in the lockfile until GitHub mentioned it on a push. CI now runs npm audit --audit-level=high on every build, and the advisory is closed by raising pdf.js to 6.2.108 |
done | |
| Closed — and it was never a bug. Filed here as a loss; it is the safe behaviour, and is now kept deliberately. A bookmark is text nobody reviewed when choosing what to black out, and it can be titled with exactly what was removed from the sheet it points to — copying the outline across would put a redacted name straight back into the one document meant to be safe to hand out. The same applies to the title, author, subject, keywords and XMP metadata, none of which is carried over either. What was missing is that nobody was told: the export now says the bookmarks and properties were left out and why. A browser test puts separate secrets in the source's outline and title and fails if either can be recovered from the copy. Building that test found its own first draft vacuous: planting the source title in the output left a byte search passing, because pdf-lib writes titles as UTF-16 hex inside compressed object streams. It now parses the output, decodes every string and inflates every stream, as a reader would, and was shown to fail against the planted leak before being trusted | done | |
| The drawing engine's own interface has serious accessibility defects | Until this build, the accessibility suite had only ever tested the opening screen — no drawing open means none of the engine's toolbar or panels are mounted, so the previous claim that they were "included, not excluded" was wrong. Opening a drawing and scanning found two: three empty engine panels keep a listbox role, so a screen reader announces options that are not there (critical); and the drawing scroller cannot be focused, so scrolling it needs a pointer (serious). They are in a dependency and are not ours to fix. They are listed in the test rather than excluded from it, so a new defect still fails the build, and reports are drafted in docs/upstream/ and are waiting to be filed |
0.3 |
| Attachments are stored but barely shown | Photos and voice notes are filed in the project, content-addressed, size-limited and audited, and open in a tab on demand. What is missing is the thumbnail, and the reason is now known rather than guessed. The engine does render one — but only after passing the URL through an allowlist that accepts relative, http, https, blob and data and returns null for everything else, which silently skips creating the image. Our sf-attachment: scheme is refused there, and rightly: that allowlist is what stops a javascript: URL arriving inside a markup record. A custom Tauri protocol does not fix it either — on Windows those are served as http://scheme.localhost/… and would pass, but on macOS and Linux they keep the custom scheme and would not, so thumbnails would appear on one platform only. blob: is the one workable target, and resolution has to happen per selected markup rather than lazily, because the engine decides whether to create the image at render time and a URL supplied afterwards arrives too late. Bounded work — one markup's attachments at a time — but it means reaching into engine internals read out of a minified bundle, which is a poor foundation. The resolver hook that would fix it properly is drafted as an upstream request in docs/upstream/, offering to implement it |
0.3 |
| Closed. Project ▾ → Compare quantities with… runs it and writes the answer as CSV. It compares the open drawing against any other in the project rather than against "the previous issue", because every import creates its own document and that relationship does not exist in the store — so the control asks which drawing rather than offering one that is permanently unavailable. The browser suite drives the menu and parses the file the way a spreadsheet would, including a cost code containing a comma and a quotation mark. What is still missing is showing the answer on screen: today it leaves as a file | done | |
| No screen-reader testing | Automated rule checking now runs on every build — axe over WCAG 2.1 A and AA, keyboard operation driven with real key presses, forced-colours and reduced-motion emulated — and it found a real ARIA defect on its first run. But automated tools catch perhaps a third of real barriers, and nobody who uses a screen reader has tried this | 1.0 |
| Spatial accuracy on a drawing is a visual task | No amount of markup makes placing a measurement on a sheet non-visual. Stated rather than solved | — |
| OCR accuracy is not measured against real sheets | The browser test proves the engine loads and reads clean lettering. How it copes with a dyeline scan of a 1974 drawing is unmeasured here, and the engine's own benchmark says the answer is "poorly on small text" | 0.3 |
| Closed. There are two versions now, and the upgrade path is tested for real: a version-1 database is built from the shipped migration, opened by the current build, and checked for its data, its recorded version, a second open, and refusal of a version from the future | done | |
| The SBOM is attached and attested, but not yet on any release | CI produces a CycloneDX bill of materials on every run. The release workflow now also generates one from the tagged source, attaches it as SBOM.cdx.json, includes it in SHA256SUMS.txt, and signs an attestation binding it to the installers it describes. The step that hashes and filters the files was run locally against a simulated release — which caught a filter that only worked on Linux and a step that was not safe to re-run, both fixed — but the attestations themselves only execute on GitHub, and no release has run since. The next one is their first real test, and the runbook now checks one file end to end before publishing |
0.2 |
What this means for you
Reasonable now: trying it, reviewing a set, building it from source, contributing, evaluating the architecture.
Not yet: depending on it for a contract deliverable without keeping your existing tool alongside, or deploying it across an organisation.
The gaps above are the 0.2 milestone, in order.