From 290e1dc518de8e2fd75620df44fd339374239cdb Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 1 Dec 2026 13:18:06 +0000 Subject: [PATCH 1/2] Release 0.3.0 cargo xtask bump minor: every version field, Cargo.lock and the CHANGELOG section (0.3.0, 2026-12-01). Merging this to main releases v0.3.0 through the release workflow. PLAN status line updated. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Xj9ekYmyESdZUsW8uWkzgv --- CHANGELOG.md | 2 ++ Cargo.lock | 32 +++++++++---------- Cargo.toml | 2 +- crates/proofback-anchor/Cargo.toml | 8 ++--- crates/proofback-cli/Cargo.toml | 22 ++++++------- crates/proofback-corpus/Cargo.toml | 10 +++--- crates/proofback-docx/Cargo.toml | 6 ++-- crates/proofback-emit/Cargo.toml | 4 +-- crates/proofback-mcp/Cargo.toml | 8 ++--- crates/proofback-notes/Cargo.toml | 8 ++--- crates/proofback-store/Cargo.toml | 4 +-- crates/proofback-typst/Cargo.toml | 8 ++--- crates/proofback-wasm/Cargo.toml | 12 +++---- docs/PLAN.md | 9 +++--- docs/github-action.md | 4 +-- .../claude-code/.claude-plugin/plugin.json | 2 +- integrations/vscode/package-lock.json | 4 +-- integrations/vscode/package.json | 2 +- npm/package.json | 2 +- xtask/Cargo.toml | 8 ++--- 20 files changed, 79 insertions(+), 78 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ef4099..d85abeb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ the JSON schema is versioned separately (`schema_version` in round files). ## Unreleased +## 0.3.0 (2026-12-01) + ### Breaking changes - Command JSON (`--json` and MCP results) is now output schema 2, versioned apart diff --git a/Cargo.lock b/Cargo.lock index 4b68162..4a7c293 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2753,7 +2753,7 @@ dependencies = [ [[package]] name = "proofback-ai" -version = "0.2.0" +version = "0.3.0" dependencies = [ "base64 0.23.1", "serde", @@ -2764,7 +2764,7 @@ dependencies = [ [[package]] name = "proofback-anchor" -version = "0.2.0" +version = "0.3.0" dependencies = [ "proofback-model", "proofback-pdf", @@ -2774,7 +2774,7 @@ dependencies = [ [[package]] name = "proofback-cli" -version = "0.2.0" +version = "0.3.0" dependencies = [ "clap", "lopdf", @@ -2799,7 +2799,7 @@ dependencies = [ [[package]] name = "proofback-corpus" -version = "0.2.0" +version = "0.3.0" dependencies = [ "lopdf", "pdfium-render", @@ -2818,7 +2818,7 @@ dependencies = [ [[package]] name = "proofback-docx" -version = "0.2.0" +version = "0.3.0" dependencies = [ "proofback-anchor", "proofback-model", @@ -2830,7 +2830,7 @@ dependencies = [ [[package]] name = "proofback-emit" -version = "0.2.0" +version = "0.3.0" dependencies = [ "proofback-model", "proofback-pdf", @@ -2839,7 +2839,7 @@ dependencies = [ [[package]] name = "proofback-mcp" -version = "0.2.0" +version = "0.3.0" dependencies = [ "proofback-anchor", "proofback-emit", @@ -2851,7 +2851,7 @@ dependencies = [ [[package]] name = "proofback-model" -version = "0.2.0" +version = "0.3.0" dependencies = [ "schemars", "serde", @@ -2862,7 +2862,7 @@ dependencies = [ [[package]] name = "proofback-notes" -version = "0.2.0" +version = "0.3.0" dependencies = [ "proofback-anchor", "proofback-model", @@ -2875,7 +2875,7 @@ dependencies = [ [[package]] name = "proofback-pdf" -version = "0.2.0" +version = "0.3.0" dependencies = [ "lopdf", "pdfium-render", @@ -2885,7 +2885,7 @@ dependencies = [ [[package]] name = "proofback-store" -version = "0.2.0" +version = "0.3.0" dependencies = [ "proofback-anchor", "proofback-model", @@ -2899,7 +2899,7 @@ dependencies = [ [[package]] name = "proofback-synctex" -version = "0.2.0" +version = "0.3.0" dependencies = [ "flate2", "thiserror 2.0.21", @@ -2907,7 +2907,7 @@ dependencies = [ [[package]] name = "proofback-tex" -version = "0.2.0" +version = "0.3.0" dependencies = [ "proptest", "unicode-normalization", @@ -2915,7 +2915,7 @@ dependencies = [ [[package]] name = "proofback-typst" -version = "0.2.0" +version = "0.3.0" dependencies = [ "proofback-anchor", "proofback-model", @@ -2929,7 +2929,7 @@ dependencies = [ [[package]] name = "proofback-wasm" -version = "0.2.0" +version = "0.3.0" dependencies = [ "pdfium-render", "proofback-anchor", @@ -5406,7 +5406,7 @@ checksum = "9440ea3e5aeabb0ac63af70daf835274065238cdd0cec83418f417eae38bacee" [[package]] name = "xtask" -version = "0.2.0" +version = "0.3.0" dependencies = [ "anyhow", "proofback-anchor", diff --git a/Cargo.toml b/Cargo.toml index 772e20f..10245a2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ exclude = ["fuzz"] default-members = ["crates/*"] [workspace.package] -version = "0.2.0" +version = "0.3.0" edition = "2024" rust-version = "1.92" license = "MIT OR Apache-2.0" diff --git a/crates/proofback-anchor/Cargo.toml b/crates/proofback-anchor/Cargo.toml index 4481081..0ea1e7a 100644 --- a/crates/proofback-anchor/Cargo.toml +++ b/crates/proofback-anchor/Cargo.toml @@ -9,10 +9,10 @@ homepage.workspace = true publish.workspace = true [dependencies] -proofback-model = { version = "0.2.0", path = "../proofback-model" } -proofback-pdf = { version = "0.2.0", path = "../proofback-pdf" } -proofback-synctex = { version = "0.2.0", path = "../proofback-synctex" } -proofback-tex = { version = "0.2.0", path = "../proofback-tex" } +proofback-model = { version = "0.3.0", path = "../proofback-model" } +proofback-pdf = { version = "0.3.0", path = "../proofback-pdf" } +proofback-synctex = { version = "0.3.0", path = "../proofback-synctex" } +proofback-tex = { version = "0.3.0", path = "../proofback-tex" } [lints] workspace = true diff --git a/crates/proofback-cli/Cargo.toml b/crates/proofback-cli/Cargo.toml index 488c58f..af2b5d7 100644 --- a/crates/proofback-cli/Cargo.toml +++ b/crates/proofback-cli/Cargo.toml @@ -15,17 +15,17 @@ path = "src/main.rs" [dependencies] clap = { version = "4.6.10", features = ["derive"] } -proofback-ai = { version = "0.2.0", path = "../proofback-ai" } -proofback-anchor = { version = "0.2.0", path = "../proofback-anchor" } -proofback-docx = { version = "0.2.0", path = "../proofback-docx" } -proofback-emit = { version = "0.2.0", path = "../proofback-emit" } -proofback-mcp = { version = "0.2.0", path = "../proofback-mcp" } -proofback-model = { version = "0.2.0", path = "../proofback-model" } -proofback-notes = { version = "0.2.0", path = "../proofback-notes" } -proofback-pdf = { version = "0.2.0", path = "../proofback-pdf" } -proofback-store = { version = "0.2.0", path = "../proofback-store" } -proofback-synctex = { version = "0.2.0", path = "../proofback-synctex" } -proofback-typst = { version = "0.2.0", path = "../proofback-typst", optional = true } +proofback-ai = { version = "0.3.0", path = "../proofback-ai" } +proofback-anchor = { version = "0.3.0", path = "../proofback-anchor" } +proofback-docx = { version = "0.3.0", path = "../proofback-docx" } +proofback-emit = { version = "0.3.0", path = "../proofback-emit" } +proofback-mcp = { version = "0.3.0", path = "../proofback-mcp" } +proofback-model = { version = "0.3.0", path = "../proofback-model" } +proofback-notes = { version = "0.3.0", path = "../proofback-notes" } +proofback-pdf = { version = "0.3.0", path = "../proofback-pdf" } +proofback-store = { version = "0.3.0", path = "../proofback-store" } +proofback-synctex = { version = "0.3.0", path = "../proofback-synctex" } +proofback-typst = { version = "0.3.0", path = "../proofback-typst", optional = true } ratatui = "0.30.2" serde = "1.0.229" serde_json = "1.0.154" diff --git a/crates/proofback-corpus/Cargo.toml b/crates/proofback-corpus/Cargo.toml index 84efd84..7a92847 100644 --- a/crates/proofback-corpus/Cargo.toml +++ b/crates/proofback-corpus/Cargo.toml @@ -11,11 +11,11 @@ publish.workspace = true [dependencies] lopdf = { version = "0.47.0", default-features = false } pdfium-render = { version = "0.9.6", default-features = false, features = ["pdfium_latest"] } -proofback-anchor = { version = "0.2.0", path = "../proofback-anchor" } -proofback-model = { version = "0.2.0", path = "../proofback-model" } -proofback-pdf = { version = "0.2.0", path = "../proofback-pdf" } -proofback-synctex = { version = "0.2.0", path = "../proofback-synctex" } -proofback-tex = { version = "0.2.0", path = "../proofback-tex" } +proofback-anchor = { version = "0.3.0", path = "../proofback-anchor" } +proofback-model = { version = "0.3.0", path = "../proofback-model" } +proofback-pdf = { version = "0.3.0", path = "../proofback-pdf" } +proofback-synctex = { version = "0.3.0", path = "../proofback-synctex" } +proofback-tex = { version = "0.3.0", path = "../proofback-tex" } serde = { version = "1.0.229", features = ["derive"] } serde_json = "1.0.154" toml = "1.2.3" diff --git a/crates/proofback-docx/Cargo.toml b/crates/proofback-docx/Cargo.toml index 698fb2a..24cc6b6 100644 --- a/crates/proofback-docx/Cargo.toml +++ b/crates/proofback-docx/Cargo.toml @@ -9,9 +9,9 @@ homepage.workspace = true publish.workspace = true [dependencies] -proofback-anchor = { version = "0.2.0", path = "../proofback-anchor" } -proofback-model = { version = "0.2.0", path = "../proofback-model" } -proofback-tex = { version = "0.2.0", path = "../proofback-tex" } +proofback-anchor = { version = "0.3.0", path = "../proofback-anchor" } +proofback-model = { version = "0.3.0", path = "../proofback-model" } +proofback-tex = { version = "0.3.0", path = "../proofback-tex" } quick-xml = "0.42.0" thiserror = "2.0.21" zip = { version = "9.7.3", default-features = false, features = ["deflate-flate2"] } diff --git a/crates/proofback-emit/Cargo.toml b/crates/proofback-emit/Cargo.toml index 9fb378d..d12fd7c 100644 --- a/crates/proofback-emit/Cargo.toml +++ b/crates/proofback-emit/Cargo.toml @@ -9,8 +9,8 @@ homepage.workspace = true publish.workspace = true [dependencies] -proofback-model = { version = "0.2.0", path = "../proofback-model" } -proofback-pdf = { version = "0.2.0", path = "../proofback-pdf" } +proofback-model = { version = "0.3.0", path = "../proofback-model" } +proofback-pdf = { version = "0.3.0", path = "../proofback-pdf" } serde_json = "1.0.154" [lints] diff --git a/crates/proofback-mcp/Cargo.toml b/crates/proofback-mcp/Cargo.toml index 14be54a..59811ff 100644 --- a/crates/proofback-mcp/Cargo.toml +++ b/crates/proofback-mcp/Cargo.toml @@ -9,10 +9,10 @@ homepage.workspace = true publish.workspace = true [dependencies] -proofback-anchor = { version = "0.2.0", path = "../proofback-anchor" } -proofback-emit = { version = "0.2.0", path = "../proofback-emit" } -proofback-model = { version = "0.2.0", path = "../proofback-model" } -proofback-store = { version = "0.2.0", path = "../proofback-store" } +proofback-anchor = { version = "0.3.0", path = "../proofback-anchor" } +proofback-emit = { version = "0.3.0", path = "../proofback-emit" } +proofback-model = { version = "0.3.0", path = "../proofback-model" } +proofback-store = { version = "0.3.0", path = "../proofback-store" } serde_json = "1.0.154" [lints] diff --git a/crates/proofback-notes/Cargo.toml b/crates/proofback-notes/Cargo.toml index 9185bce..9050563 100644 --- a/crates/proofback-notes/Cargo.toml +++ b/crates/proofback-notes/Cargo.toml @@ -9,10 +9,10 @@ homepage.workspace = true publish.workspace = true [dependencies] -proofback-anchor = { version = "0.2.0", path = "../proofback-anchor" } -proofback-model = { version = "0.2.0", path = "../proofback-model" } -proofback-synctex = { version = "0.2.0", path = "../proofback-synctex" } -proofback-tex = { version = "0.2.0", path = "../proofback-tex" } +proofback-anchor = { version = "0.3.0", path = "../proofback-anchor" } +proofback-model = { version = "0.3.0", path = "../proofback-model" } +proofback-synctex = { version = "0.3.0", path = "../proofback-synctex" } +proofback-tex = { version = "0.3.0", path = "../proofback-tex" } regex = "1.13.2" serde = { version = "1.0.229", features = ["derive"] } serde_json = "1.0.154" diff --git a/crates/proofback-store/Cargo.toml b/crates/proofback-store/Cargo.toml index b053dbd..8ffe447 100644 --- a/crates/proofback-store/Cargo.toml +++ b/crates/proofback-store/Cargo.toml @@ -9,8 +9,8 @@ homepage.workspace = true publish.workspace = true [dependencies] -proofback-anchor = { version = "0.2.0", path = "../proofback-anchor" } -proofback-model = { version = "0.2.0", path = "../proofback-model" } +proofback-anchor = { version = "0.3.0", path = "../proofback-anchor" } +proofback-model = { version = "0.3.0", path = "../proofback-model" } serde = { version = "1.0.229", features = ["derive"] } sha2 = "0.11.0" similar = "3.2.1" diff --git a/crates/proofback-typst/Cargo.toml b/crates/proofback-typst/Cargo.toml index 617b619..5019311 100644 --- a/crates/proofback-typst/Cargo.toml +++ b/crates/proofback-typst/Cargo.toml @@ -9,10 +9,10 @@ homepage.workspace = true publish.workspace = true [dependencies] -proofback-anchor = { version = "0.2.0", path = "../proofback-anchor" } -proofback-model = { version = "0.2.0", path = "../proofback-model" } -proofback-pdf = { version = "0.2.0", path = "../proofback-pdf" } -proofback-tex = { version = "0.2.0", path = "../proofback-tex" } +proofback-anchor = { version = "0.3.0", path = "../proofback-anchor" } +proofback-model = { version = "0.3.0", path = "../proofback-model" } +proofback-pdf = { version = "0.3.0", path = "../proofback-pdf" } +proofback-tex = { version = "0.3.0", path = "../proofback-tex" } typst = "0.15.1" typst-assets = { version = "0.15.1", features = ["fonts"] } typst-layout = "0.15.1" diff --git a/crates/proofback-wasm/Cargo.toml b/crates/proofback-wasm/Cargo.toml index 9e3c212..6abed14 100644 --- a/crates/proofback-wasm/Cargo.toml +++ b/crates/proofback-wasm/Cargo.toml @@ -13,12 +13,12 @@ crate-type = ["cdylib", "rlib"] [dependencies] pdfium-render = { version = "0.9.6", default-features = false, features = ["pdfium_latest"] } -proofback-anchor = { version = "0.2.0", path = "../proofback-anchor" } -proofback-emit = { version = "0.2.0", path = "../proofback-emit" } -proofback-model = { version = "0.2.0", path = "../proofback-model" } -proofback-pdf = { version = "0.2.0", path = "../proofback-pdf" } -proofback-store = { version = "0.2.0", path = "../proofback-store" } -proofback-synctex = { version = "0.2.0", path = "../proofback-synctex" } +proofback-anchor = { version = "0.3.0", path = "../proofback-anchor" } +proofback-emit = { version = "0.3.0", path = "../proofback-emit" } +proofback-model = { version = "0.3.0", path = "../proofback-model" } +proofback-pdf = { version = "0.3.0", path = "../proofback-pdf" } +proofback-store = { version = "0.3.0", path = "../proofback-store" } +proofback-synctex = { version = "0.3.0", path = "../proofback-synctex" } serde_json = "1.0.154" wasm-bindgen = "=0.2.130" zip = { version = "9.7.3", default-features = false, features = ["deflate-flate2"] } diff --git a/docs/PLAN.md b/docs/PLAN.md index 9b6b58b..e5879d3 100644 --- a/docs/PLAN.md +++ b/docs/PLAN.md @@ -778,11 +778,10 @@ current tooling before being marked final. Each finding and its resolution: ## 21. Implementation notes -Status as of 2026-12-01: M1 to M8 are implemented and tested; 0.2.0 is released, and -the locator, handwritten marks, text-only improvements and output schema 2 are ready -for the next release. v1.0 -waits for the exit criteria in §16 (real-world corpus, text-only gate, schema freeze, -install paths, no open advisory). +Status as of 2026-12-01: M1 to M8 are implemented and tested. 0.3.0 adds the locator, +handwritten marks, the text-only improvements and output schema 2. v1.0 waits for the +exit criteria in §16 (real-world corpus, text-only gate, schema freeze, install paths, +no open advisory). ### 21.1 Measured results diff --git a/docs/github-action.md b/docs/github-action.md index b857665..82dccb9 100644 --- a/docs/github-action.md +++ b/docs/github-action.md @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: Amet13/proofback@v0.2.0 + - uses: Amet13/proofback@v0.3.0 with: pdf: reviews/supervisor-ch3.pdf synctex: build/main.synctex.gz @@ -57,7 +57,7 @@ jobs: name: proofback-review run-id: ${{ github.event.workflow_run.id }} github-token: ${{ github.token }} - - uses: Amet13/proofback@v0.2.0 + - uses: Amet13/proofback@v0.3.0 with: mode: comment ``` diff --git a/integrations/claude-code/.claude-plugin/plugin.json b/integrations/claude-code/.claude-plugin/plugin.json index bb86cd8..e7cdfec 100644 --- a/integrations/claude-code/.claude-plugin/plugin.json +++ b/integrations/claude-code/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "proofback", "description": "Work through reviewer feedback on LaTeX documents: items anchored to exact source ranges, a guarded MCP server, and a review skill.", - "version": "0.2.0", + "version": "0.3.0", "author": { "name": "proofback contributors" }, "homepage": "https://amet13.github.io/proofback/", "repository": "https://github.com/Amet13/proofback", diff --git a/integrations/vscode/package-lock.json b/integrations/vscode/package-lock.json index 425a592..521251a 100644 --- a/integrations/vscode/package-lock.json +++ b/integrations/vscode/package-lock.json @@ -1,12 +1,12 @@ { "name": "proofback", - "version": "0.2.0", + "version": "0.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "proofback", - "version": "0.2.0", + "version": "0.3.0", "license": "MIT OR Apache-2.0", "devDependencies": { "@types/node": "26.6.6", diff --git a/integrations/vscode/package.json b/integrations/vscode/package.json index 4f4a86b..6e4eb68 100644 --- a/integrations/vscode/package.json +++ b/integrations/vscode/package.json @@ -2,7 +2,7 @@ "name": "proofback", "displayName": "proofback", "description": "Reviewer feedback from annotated PDFs and Word documents, on the exact lines of your LaTeX source.", - "version": "0.2.0", + "version": "0.3.0", "publisher": "proofback", "license": "MIT OR Apache-2.0", "repository": { "type": "git", "url": "https://github.com/Amet13/proofback.git", "directory": "integrations/vscode" }, diff --git a/npm/package.json b/npm/package.json index 2e17335..488136b 100644 --- a/npm/package.json +++ b/npm/package.json @@ -1,6 +1,6 @@ { "name": "proofback", - "version": "0.2.0", + "version": "0.3.0", "description": "Map reviewer feedback on a PDF to the exact line of your LaTeX source. WebAssembly build for Node.", "license": "MIT OR Apache-2.0", "homepage": "https://amet13.github.io/proofback/", diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 830348f..dc8c598 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -10,10 +10,10 @@ publish.workspace = true [dependencies] anyhow = "1.0.105" -proofback-anchor = { version = "0.2.0", path = "../crates/proofback-anchor" } -proofback-corpus = { version = "0.2.0", path = "../crates/proofback-corpus" } -proofback-model = { version = "0.2.0", path = "../crates/proofback-model" } -proofback-pdf = { version = "0.2.0", path = "../crates/proofback-pdf" } +proofback-anchor = { version = "0.3.0", path = "../crates/proofback-anchor" } +proofback-corpus = { version = "0.3.0", path = "../crates/proofback-corpus" } +proofback-model = { version = "0.3.0", path = "../crates/proofback-model" } +proofback-pdf = { version = "0.3.0", path = "../crates/proofback-pdf" } serde_json = "1.0.154" sha2 = "0.11.0" From 6199c34a34e4b123373b6dd3242fc79f6f9d0d44 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 1 Dec 2026 13:36:30 +0000 Subject: [PATCH 2/2] README: badges, quick links, feature summary, contents, folded tables Centred header with CI, website, fuzz, release, licence and Rust version badges and quick links; a six-point feature summary; a table of contents; the install extras and the full annotation-subtype table in collapsible sections; integrations as a table; a Development section with the commands and pointers to AGENTS.md, releasing and security. Content is unchanged apart from one fix: the published schema describes round files. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Xj9ekYmyESdZUsW8uWkzgv --- CHANGELOG.md | 2 + README.md | 115 +++++++++++++++++++++++++++++++++++---------------- 2 files changed, 82 insertions(+), 35 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d85abeb..19f87a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -86,6 +86,8 @@ the JSON schema is versioned separately (`schema_version` in round files). ### Documentation +- README: badges (CI, website, fuzzing, release, licence, Rust version), quick links, + a feature summary, a table of contents, and the long reference tables folded away. - README: tables of supported inputs and of what happens to each PDF annotation subtype; how to get the SyncTeX file without a local build and on Overleaf. - Plan: the actual corpus, a scope rule (no new product surface before v1.0) and diff --git a/README.md b/README.md index 5957c0e..72aae76 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,52 @@ -# proofback - -**Every margin note, back in your source.** +

proofback

+ +

Every margin note, back in your source.

+ +

+ Rust CI + Website + Fuzz + Latest release + License: MIT or Apache-2.0 + Rust 1.92 or later +

+ +

+ Website · + Browser app · + Changelog · + Design notes · + For agents +

Your supervisor sent the PDF back with forty-seven marks on chapter 3. proofback reads them and tells you, for each one, the file, line and characters in your LaTeX source it refers to. It keeps a record of what you changed and what you didn't (and why), and writes your replies back into the reviewer's own PDF or a response letter. -Website and browser app: . Changes in each release: -[`CHANGELOG.md`](CHANGELOG.md). Design notes and decision log: [`docs/PLAN.md`](docs/PLAN.md). +- **Precise.** SyncTeX plus a TeX-aware aligner finds the exact characters; when + proofback is not sure it says "line" or "page only" instead of guessing. +- **Tracked.** The record lives in `.proofback/` next to your sources and follows + them into the next draft with `sync`. +- **Two-way.** Replies go back into the reviewer's PDF (`answer`) or a response + letter (`letter`); edits come out as a patch you can `git apply`. +- **Any input.** Annotated PDFs (LaTeX or Typst), notes from an email, Word documents, + and handwritten marks from a tablet. +- **Agent-ready.** `--json` everywhere, an MCP server, and reviewer text always marked + as untrusted. +- **Private.** The core makes no network calls; the browser app never uploads a file. + +## Contents + +- [Why this exists](#why-this-exists) +- [Install](#install) +- [Usage](#usage) +- [Supported inputs](#supported-inputs) +- [More inputs and the locator](#more-inputs-and-the-locator) +- [Accuracy](#accuracy) +- [Development](#development) +- [Related: overfull](#related-overfull) +- [License](#license) ## Why this exists @@ -33,16 +71,18 @@ Windows (PowerShell): irm https://github.com/Amet13/proofback/releases/latest/download/install.ps1 | iex ``` +No install at all: open the [browser app](https://amet13.github.io/proofback/app/), +which runs on your machine. + +
+From source, VS Code, Node, and PDFium + From source (Rust 1.92 or later): ```bash cargo install --git https://github.com/Amet13/proofback proofback-cli ``` -Positioned PDF text needs PDFium; the release bundles it. Without it, proofback falls -back to the text stored in the annotations. No install at all: open the -[browser app](https://amet13.github.io/proofback/app/), which runs on your machine. - Each [release](https://github.com/Amet13/proofback/releases/latest) also carries the VS Code extension (`proofback-vscode.vsix`) and a Node package: @@ -50,6 +90,11 @@ VS Code extension (`proofback-vscode.vsix`) and a Node package: npm install https://github.com/Amet13/proofback/releases/latest/download/proofback-node.tgz ``` +Positioned PDF text needs PDFium; the release bundles it. Without it, proofback falls +back to the text stored in the annotations. + +
+ ## Usage ```bash @@ -65,15 +110,10 @@ proofback resolve pb_3xq1fd --status discuss --reply "Chosen by 5-fold CV, see 3 proofback answer -o review-ch3-answered.pdf ``` -SyncTeX narrows each mark to a few lines and a TeX-aware aligner finds the -characters. When proofback isn't sure, it says "line" or "page only" instead of -guessing; a confident wrong answer is the one thing it is built to avoid. - -The record lives in `.proofback/` next to your sources, so it is versioned with them, -and `sync` carries every item into the next draft. Each command takes `--json`; the -schema is published, and an MCP server lets a coding agent work through the list with -you. Reviewer text reaches the agent marked as untrusted. The core makes no network -calls, and the browser app reads your files without uploading them. +The record lives in `.proofback/` next to your sources, so it is versioned with them; +round files follow a [published schema](https://amet13.github.io/proofback/schema/v1.json). +Each command takes `--json`, and `proofback mcp` lets a coding agent work through the +list with you. ## Supported inputs @@ -84,13 +124,16 @@ calls, and the browser app reads your files without uploading them. | Word document | Hidden anchors from `proofback docx export` | Exact for exported files; text only for other DOCX files | | Typst project | The Typst compiler's glyph to source spans | Exact range | -## What happens to each PDF annotation +### What happens to each PDF annotation `proofback import` turns every reviewer mark into an item, and never drops one without saying so: each skipped subtype gets a summary line with its count (and a `skipped` array in `--json`). `proofback doctor --pdf review.pdf` lists the subtypes a PDF contains. +
+Every annotation subtype and its result + | Subtype | Result | Kind and location | |---|---|---| | `Highlight` | item | `highlight`, or `comment` / `question` with a note; exact range | @@ -114,7 +157,9 @@ PDF contains. | Others (`Screen`, `PrinterMark`, `TrapNet`, `3D`, `RichMedia`) | skipped | counted in the import summary | | `Popup` | not counted | the window of another annotation's note, read with it | -## More inputs +
+ +## More inputs and the locator ```bash proofback import notes-from-email.txt # "p. 12, para 2: unclear" @@ -135,9 +180,12 @@ proofback locate --pdf main.pdf --synctex main.synctex.gz --page 3 --rect 72,640 Many queries go as JSON Lines on `--stdin`; the Node package has the same `locate`. -Agents: `proofback mcp` runs an MCP server on stdio; see [`docs/agents.md`](docs/agents.md) -and the agent kit in [`integrations/`](integrations/). Pull requests: see -[`docs/github-action.md`](docs/github-action.md). VS Code: [`integrations/vscode`](integrations/vscode). +| Where | What | +|---|---| +| Coding agents | `proofback mcp` (MCP server on stdio), [`docs/agents.md`](docs/agents.md), the agent kit in [`integrations/`](integrations/) | +| Pull requests | GitHub Action: [`docs/github-action.md`](docs/github-action.md) | +| Editor | VS Code extension: [`integrations/vscode`](integrations/vscode) | +| Node | `require('proofback')`: [`npm/README.md`](npm/README.md) | ## Accuracy @@ -180,7 +228,7 @@ short marks still get exact positions. To get the file: Without the file, `proofback import` runs in text-only mode and says so, and `proofback doctor` prints this advice. -## Repository layout +## Development ``` crates/ Rust workspace: core, CLI, MCP server, WebAssembly bindings @@ -189,23 +237,20 @@ site/ website and browser app, static npm/ npm package integrations/ agent kit, VS Code extension packaging/ installers, Homebrew formula, GitHub Action helper -docs/ plan, agent guide, GitHub Action guide +docs/ plan, agent guide, GitHub Action guide, interop spec ``` -Develop: - ```bash -cargo xtask pdfium -PROOFBACK_REQUIRE_PDFIUM=1 cargo test --workspace +cargo xtask pdfium # once: pinned PDFium for tests +PROOFBACK_REQUIRE_PDFIUM=1 cargo test --workspace # tests and accuracy gates +cd tools && npm ci && npx playwright install chromium && npm run check # website ``` -Check the website locally: - -```bash -cd tools && npm ci && npx playwright install chromium && npm run check -``` +Rules for changes (accuracy gates, untrusted input, no telemetry) are in +[`AGENTS.md`](AGENTS.md); releases are automatic ([`docs/releasing.md`](docs/releasing.md)). +Security reports: [`SECURITY.md`](SECURITY.md). -## Related +## Related: overfull [overfull](https://github.com/Amet13/overfull) checks a paper **before** you submit it. proofback starts **after** someone has read it. Together they close the loop: