proofmarks 0.1.0__py3-none-macosx_13_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- proofmarks/__init__.py +3 -0
- proofmarks/__main__.py +3 -0
- proofmarks/_run.py +15 -0
- proofmarks/standalone/CHANGELOG.md +22 -0
- proofmarks/standalone/LICENSE.md +105 -0
- proofmarks/standalone/README.md +117 -0
- proofmarks/standalone/SECURITY.md +15 -0
- proofmarks/standalone/TELEMETRY.md +64 -0
- proofmarks/standalone/dist/OFL.txt +93 -0
- proofmarks/standalone/dist/chunk-FIVQWTE5.js +2 -0
- proofmarks/standalone/dist/chunk-GMJHTMKC.js +1 -0
- proofmarks/standalone/dist/companion/proofmarks +4 -0
- proofmarks/standalone/dist/config/index.d.mts +4 -0
- proofmarks/standalone/dist/config/index.mjs +160 -0
- proofmarks/standalone/dist/index.js +1 -0
- proofmarks/standalone/dist/next/index.js +2 -0
- proofmarks/standalone/dist/overlay/react.js +1 -0
- proofmarks/standalone/dist/pi/extension.js +3 -0
- proofmarks/standalone/dist/proofmarks-font.js +1 -0
- proofmarks/standalone/dist/script-entry.js +1 -0
- proofmarks/standalone/dist/script.js +1 -0
- proofmarks/standalone/dist/shared/node-2IMCJYUI.js +20 -0
- proofmarks/standalone/dist/shared/node-6KSUNIF7.js +3 -0
- proofmarks/standalone/dist/shared/node-KSPBKQI5.js +2 -0
- proofmarks/standalone/dist/shared/node-VICV4ZWL.js +22 -0
- proofmarks/standalone/dist/shared/node-VRDN4HYM.js +10 -0
- proofmarks/standalone/dist/sizes.json +37 -0
- proofmarks/standalone/rules/calibration/jev-jev-1.14.0.json +210 -0
- proofmarks/standalone/rules/rules.v3.json +390 -0
- proofmarks-0.1.0.dist-info/METADATA +127 -0
- proofmarks-0.1.0.dist-info/RECORD +33 -0
- proofmarks-0.1.0.dist-info/WHEEL +4 -0
- proofmarks-0.1.0.dist-info/entry_points.txt +2 -0
proofmarks/__init__.py
ADDED
proofmarks/__main__.py
ADDED
proofmarks/_run.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Runs the standalone Proofmarks program that ships inside this package."""
|
|
2
|
+
|
|
3
|
+
import os
|
|
4
|
+
import subprocess
|
|
5
|
+
import sys
|
|
6
|
+
from pathlib import Path
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def main():
|
|
10
|
+
folder = Path(__file__).resolve().parent / "standalone" / "dist" / "companion"
|
|
11
|
+
program = folder / ("proofmarks.exe" if os.name == "nt" else "proofmarks")
|
|
12
|
+
if os.name == "nt":
|
|
13
|
+
sys.exit(subprocess.call([str(program), *sys.argv[1:]]))
|
|
14
|
+
# Named "proofmarks", so the program registers the command on PATH with agents, not this folder.
|
|
15
|
+
os.execv(str(program), ["proofmarks", *sys.argv[1:]])
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.1.0]
|
|
4
|
+
|
|
5
|
+
November 26, 2026.
|
|
6
|
+
|
|
7
|
+
- Standalone package with a built CLI, local helper, MCP server and browser overlay.
|
|
8
|
+
- Optional React and Next.js integrations and validated project configuration.
|
|
9
|
+
- Markdown, MDX, HTML and Jinja-style source adapters.
|
|
10
|
+
- Five runnable examples, including a gallery of nine kinds of writing with saved Jev reviews.
|
|
11
|
+
- Local security checks, revision-aware editing and a durable decision history.
|
|
12
|
+
- A pi extension that pushes rewrite requests into pi sessions, like Claude Code's channel.
|
|
13
|
+
- A standalone program for macOS, Linux and Windows that needs no Node, installed with Homebrew, a one-line installer, or uv and pipx.
|
|
14
|
+
- Setup your agent does for you: the `proofmarks` skill installs, configures, starts and checks Proofmarks from "set up Proofmarks on this site". `init --yes` accepts without a prompt, and `proofmarks doctor` checks every link and names the next step.
|
|
15
|
+
- Self-driving: ask an agent to "proof this page" (`/mcp__proofmarks__proof`, or the `proofmarks-self-driving` skill). It opens the page, rewrites every proof, checks each draft with the judge before proposing, and leaves Accept to you.
|
|
16
|
+
- Proofmarks learns your site's eye: each rule's line moves with the marks you accept and dismiss, at most 0.15 from the calibrated line. Settings shows the rules that moved, each with a Reset, and rewrites and `proofmarks check` use the same lines.
|
|
17
|
+
- `proofmarks dev --background` starts the proxy, and the site if it isn't running, on their own, so they outlive the agent session that set Proofmarks up; `--stop` ends both.
|
|
18
|
+
- `proofmarks check` judges files, folders, globs and URLs without the page, for CI and bulk runs: plain text, JSON or GitHub annotations (the default in GitHub Actions), and `--fail-on` for the exit code.
|
|
19
|
+
- A project turns rules on or off in `proofmarks.config.json` (`"rules": { "title-case": true }`). Title case heading is the one rule that starts off.
|
|
20
|
+
- Em dash, connecting colon and bold inflation are on, confirmed by the decision model and calibrated on new planted passages and 18F posts: a dash that sets up a reveal, a colon that hinges a setup to its payoff, bold on ordinary words. Asides in dashes, colons before a list and bold labels are left alone.
|
|
21
|
+
- No Jev key needed: reviews go through Torta's relay, which keeps no text. `TYPESAFE_API_KEY` still uses your own key directly.
|
|
22
|
+
- Usage counts are off until you turn them on (`proofmarks telemetry on`, or yes when setup asks). `DO_NOT_TRACK=1` and `proofmarks telemetry off` keep them off everywhere, and CI runs keep them off unless `PROOFMARKS_TELEMETRY=1`. [TELEMETRY.md](https://github.com/tortastudios/proofmarks/blob/main/TELEMETRY.md) lists every request Proofmarks makes.
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# Functional Source License, Version 1.1, MIT Future License
|
|
2
|
+
|
|
3
|
+
## Abbreviation
|
|
4
|
+
|
|
5
|
+
FSL-1.1-MIT
|
|
6
|
+
|
|
7
|
+
## Notice
|
|
8
|
+
|
|
9
|
+
Copyright 2026 Torta Studios, LLC
|
|
10
|
+
|
|
11
|
+
## Terms and Conditions
|
|
12
|
+
|
|
13
|
+
### Licensor ("We")
|
|
14
|
+
|
|
15
|
+
The party offering the Software under these Terms and Conditions.
|
|
16
|
+
|
|
17
|
+
### The Software
|
|
18
|
+
|
|
19
|
+
The "Software" is each version of the software that we make available under
|
|
20
|
+
these Terms and Conditions, as indicated by our inclusion of these Terms and
|
|
21
|
+
Conditions with the Software.
|
|
22
|
+
|
|
23
|
+
### License Grant
|
|
24
|
+
|
|
25
|
+
Subject to your compliance with this License Grant and the Patents,
|
|
26
|
+
Redistribution and Trademark clauses below, we hereby grant you the right to
|
|
27
|
+
use, copy, modify, create derivative works, publicly perform, publicly display
|
|
28
|
+
and redistribute the Software for any Permitted Purpose identified below.
|
|
29
|
+
|
|
30
|
+
### Permitted Purpose
|
|
31
|
+
|
|
32
|
+
A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
|
|
33
|
+
means making the Software available to others in a commercial product or
|
|
34
|
+
service that:
|
|
35
|
+
|
|
36
|
+
1. substitutes for the Software;
|
|
37
|
+
2. substitutes for any other product or service we offer using the Software
|
|
38
|
+
that exists as of the date we make the Software available; or
|
|
39
|
+
3. offers the same or substantially similar functionality as the Software.
|
|
40
|
+
|
|
41
|
+
Permitted Purposes specifically include using the Software:
|
|
42
|
+
|
|
43
|
+
1. for your internal use and access;
|
|
44
|
+
2. for non-commercial education;
|
|
45
|
+
3. for non-commercial research; and
|
|
46
|
+
4. in connection with professional services that you provide to a licensee
|
|
47
|
+
using the Software in accordance with these Terms and Conditions.
|
|
48
|
+
|
|
49
|
+
### Patents
|
|
50
|
+
|
|
51
|
+
To the extent your use for a Permitted Purpose would necessarily infringe our
|
|
52
|
+
patents, the license grant above includes a license under our patents. If you
|
|
53
|
+
make a claim against any party that the Software infringes or contributes to
|
|
54
|
+
the infringement of any patent, then your patent license to the Software ends
|
|
55
|
+
immediately.
|
|
56
|
+
|
|
57
|
+
### Redistribution
|
|
58
|
+
|
|
59
|
+
The Terms and Conditions apply to all copies, modifications and derivatives of
|
|
60
|
+
the Software.
|
|
61
|
+
|
|
62
|
+
If you redistribute any copies, modifications or derivatives of the Software,
|
|
63
|
+
you must include a copy of or a link to these Terms and Conditions and not
|
|
64
|
+
remove any copyright notices provided in or with the Software.
|
|
65
|
+
|
|
66
|
+
### Disclaimer
|
|
67
|
+
|
|
68
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
|
|
69
|
+
IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
|
|
70
|
+
PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
|
|
71
|
+
|
|
72
|
+
IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
|
|
73
|
+
SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
|
|
74
|
+
EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
|
|
75
|
+
|
|
76
|
+
### Trademarks
|
|
77
|
+
|
|
78
|
+
Except for displaying the License Details and identifying us as the origin of
|
|
79
|
+
the Software, you have no right under these Terms and Conditions to use our
|
|
80
|
+
trademarks, trade names, service marks or product names.
|
|
81
|
+
|
|
82
|
+
## Grant of Future License
|
|
83
|
+
|
|
84
|
+
We hereby irrevocably grant you an additional license to use the Software under
|
|
85
|
+
the MIT license that is effective on the second anniversary of the date we make
|
|
86
|
+
the Software available. On or after that date, you may use the Software under
|
|
87
|
+
the MIT license, in which case the following will apply:
|
|
88
|
+
|
|
89
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
90
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
91
|
+
the Software without restriction, including without limitation the rights to
|
|
92
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
93
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
94
|
+
so, subject to the following conditions:
|
|
95
|
+
|
|
96
|
+
The above copyright notice and this permission notice shall be included in all
|
|
97
|
+
copies or substantial portions of the Software.
|
|
98
|
+
|
|
99
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
100
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
101
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
102
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
103
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
104
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
105
|
+
SOFTWARE.
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
<h1>
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset=".github/assets/proofmarks-dark.svg">
|
|
4
|
+
<img src=".github/assets/proofmarks.svg" alt="Proofmarks" width="240">
|
|
5
|
+
</picture>
|
|
6
|
+
</h1>
|
|
7
|
+
|
|
8
|
+
[](https://www.npmjs.com/package/@tortastudios/proofmarks)
|
|
9
|
+
[](https://pypi.org/project/proofmarks/)
|
|
10
|
+
[](https://github.com/tortastudios/proofmarks/actions/workflows/ci.yml)
|
|
11
|
+
[](LICENSE.md)
|
|
12
|
+
|
|
13
|
+
**See your writing the way an editor does.** Proofmarks marks what reads like AI slop on your page, says why, and rewrites it with the agent you already use. Accept writes the rewrite straight into your source file. See it work on [proofmarks.dev](https://proofmarks.dev).
|
|
14
|
+
|
|
15
|
+

|
|
16
|
+
|
|
17
|
+
## Quick start
|
|
18
|
+
|
|
19
|
+
Paste this into your agent, in your site's project:
|
|
20
|
+
|
|
21
|
+
```text
|
|
22
|
+
Set up Proofmarks on this site, so it marks AI-sounding writing on my pages.
|
|
23
|
+
|
|
24
|
+
1. Run: npx skills add tortastudios/proofmarks --yes
|
|
25
|
+
2. Read the proofmarks skill it installed and follow it. If the install failed, follow https://proofmarks.dev/setup.md instead.
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
The agent installs Proofmarks, configures it, checks it with `proofmarks doctor`, and opens your page. There's no key to set up.
|
|
29
|
+
|
|
30
|
+
Or by hand, with Node.js 22 or later:
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
npm install --save-dev @tortastudios/proofmarks
|
|
34
|
+
npx proofmarks init
|
|
35
|
+
npx proofmarks dev --to http://localhost:3000
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Open the address `dev` prints, with `?proof=1` on the end. To look around first, open the [gallery](examples/gallery/): nine kinds of writing, each with a saved review.
|
|
39
|
+
|
|
40
|
+
No Node? Install Proofmarks with `brew install tortastudios/tap/proofmarks`, a one-line installer or `uv tool install proofmarks`, then run the same commands without `npx`. See [Install](docs/install.md).
|
|
41
|
+
|
|
42
|
+
## How it works
|
|
43
|
+
|
|
44
|
+
1. **Mark.** Proofmarks reads the page's source, whether Markdown, MDX, HTML or a template, and checks each passage against 20 rules, from "Not X, but Y" to "Generic voice". Code finds the candidates, and a decision model confirms each one. The marks land in the margin of the page you already have open.
|
|
45
|
+
2. **Rewrite.** Select a mark to see why it's there. Ask your agent for a rewrite: it gets the passage, its paragraph and the rule, and the decision model checks its draft before you see it.
|
|
46
|
+
3. **Decide.** Accept writes the rewrite into the source file. Dismiss keeps the mark from coming back. Undo restores the original. As you decide, each rule's line moves toward what your site keeps and dismisses.
|
|
47
|
+
|
|
48
|
+
Ask your agent to "proof this page", and it drafts a rewrite for every mark while you watch; you accept them. In CI, `proofmarks check` marks a pull request's changed lines without opening the page: see [Checking without the page](docs/check.md).
|
|
49
|
+
|
|
50
|
+
<details>
|
|
51
|
+
<summary><strong>The rules:</strong> 20 on by default, and 1 you can turn on</summary>
|
|
52
|
+
|
|
53
|
+
| Rule | What it marks | Example |
|
|
54
|
+
| --- | --- | --- |
|
|
55
|
+
| Inflated word | A fancy word stands in for a plain one. | We leverage customer feedback to shape every release. |
|
|
56
|
+
| Filler | Words that delay the point without adding to it. | In order to get started, open the settings page and pick a plan. |
|
|
57
|
+
| Brochure verb | A costume for “is” or “has”. | The dashboard serves as a single home for your team's work. |
|
|
58
|
+
| Promotional adjective | Praise instead of description. | Our seamless onboarding gets new hires working on their first day. |
|
|
59
|
+
| Signposting | Announces a point instead of making it. | Simply put, most teams never read their own documentation. |
|
|
60
|
+
| Not X, but Y | Sets up a claim just to knock it down. | It's not a tool. It's a new way of working. |
|
|
61
|
+
| List of three | Three items for rhythm, not because there are three. | The new plan is faster, simpler, and more powerful. |
|
|
62
|
+
| Stacked hedges | Several hedges in one claim dodge commitment. | This could potentially help some teams in certain cases. |
|
|
63
|
+
| Vague attribution | Cites authority nobody can check. | Experts agree that shorter meetings lead to better decisions. |
|
|
64
|
+
| Trailing -ing clause | Bolts an unsupported conclusion onto a fact. | Signups doubled in March, highlighting the strength of our brand. |
|
|
65
|
+
| Chatbot residue | A conversational leftover that addresses no real reader. | Thanks for reading this far. I hope this helps! |
|
|
66
|
+
| False range | “From X to Y” with no real scale between them. | From solo founders to global enterprises, anyone can use it. |
|
|
67
|
+
| Puffery | Asserts importance instead of showing it. | The results of this launch speak for themselves. |
|
|
68
|
+
| Generic voice | Could describe any company; no specific detail or stance. | Marketing is all about understanding your audience. When you know what your customers want, you can create content that speaks to them. The key is to stay consistent and keep learning. |
|
|
69
|
+
| Repetition | Says the same thing again without adding to it. | Our support team answers within an hour, so you never wait long for help. Getting help is quick because the team replies fast, and those fast replies mean nobody is left waiting for an answer. |
|
|
70
|
+
| Over-explaining | Explains what the reader already knows. | To send a message, type your words into the box. The box is the white area at the bottom of the screen. When you have finished typing, press Send, and the message is sent. |
|
|
71
|
+
| Uniform rhythm | Every sentence has the same length and shape. | We start early. We test everything. We ship on Fridays. We read every reply. We fix what breaks. |
|
|
72
|
+
| Em dash | A dramatic pause before a reveal. | The update is small — but it changes how the whole team works. |
|
|
73
|
+
| Connecting colon | A colon used as a hinge between claims, not to introduce a list. | The answer was simple: we stopped holding weekly meetings. |
|
|
74
|
+
| Bold inflation | Bold used for emphasis instead of scanning. | Our new dashboard is **incredibly** easy to use. |
|
|
75
|
+
|
|
76
|
+
Off by default, and turned on in [`proofmarks.config.json`](docs/configuration.md):
|
|
77
|
+
|
|
78
|
+
| Rule | What it marks | Example |
|
|
79
|
+
| --- | --- | --- |
|
|
80
|
+
| Title case heading | Title Case headings read like marketing copy. | How We Rebuilt Our Onboarding Flow |
|
|
81
|
+
|
|
82
|
+
</details>
|
|
83
|
+
|
|
84
|
+
## Agents
|
|
85
|
+
|
|
86
|
+
Proofmarks works with the agent you already use. `init` connects the ones it finds, and each proof card lets you choose who rewrites.
|
|
87
|
+
|
|
88
|
+
| Agent | How it takes rewrites |
|
|
89
|
+
| --- | --- |
|
|
90
|
+
| Any agent, self-driving | Ask it to "proof this page" (in Claude Code, `/mcp__proofmarks__proof`). It rewrites every proof, checking each draft with the decision model, while you watch the page. You accept. |
|
|
91
|
+
| Claude Code, Codex or pi, with no conversation | Proofmarks runs it for each rewrite, with its tools turned off. There's nothing to start. |
|
|
92
|
+
| An agent you're working with | Ask it to "watch Proofmarks" (in Claude Code, `/mcp__proofmarks__watch`). This works in any MCP client, including the desktop apps, Cursor, VS Code, `claude -p` and the Agent SDK. |
|
|
93
|
+
| pi | Requests arrive in the session on their own, through the Proofmarks extension. |
|
|
94
|
+
| Claude Code, pushed | Requests arrive on their own when you start it with `claude --dangerously-load-development-channels server:proofmarks`, a research preview. |
|
|
95
|
+
|
|
96
|
+
## Privacy
|
|
97
|
+
|
|
98
|
+
- **Your writing leaves your machine only to be judged or rewritten.** Judging goes through Torta's relay to Jev, TypeSafe's decision model, and the relay doesn't keep the passages. Rewrites go to the agent you choose.
|
|
99
|
+
- **Usage counts are off unless you turn them on** (`proofmarks telemetry on`). If you do, Proofmarks sends counts of the marks you keep or dismiss, never your writing, to tune the rules for everyone. Either way, it tunes its rules to your site on your machine.
|
|
100
|
+
- **No account, no key.** Or set your own Jev key (`TYPESAFE_API_KEY`), and judging skips the relay.
|
|
101
|
+
|
|
102
|
+
[TELEMETRY.md](TELEMETRY.md) lists everything Proofmarks sends, and to whom.
|
|
103
|
+
|
|
104
|
+
## Docs
|
|
105
|
+
|
|
106
|
+
- [Install](docs/install.md): npm, Homebrew, the installers, uv and pipx, and what `init` does.
|
|
107
|
+
- [Configuration](docs/configuration.md): documents, write access, rebuilds and private access.
|
|
108
|
+
- [Agents and MCP tools](docs/agents.md): self-driving, watch mode, the twelve tools, feedback, pi, push and setting up by hand.
|
|
109
|
+
- [Integrations](docs/integrations.md): the proxy, the script tag, React, Next.js and the examples.
|
|
110
|
+
- [Formats](docs/formats.md): Markdown, MDX, HTML and templates.
|
|
111
|
+
- [Checking without the page](docs/check.md): `proofmarks check` for CI and bulk runs, on files, folders and URLs.
|
|
112
|
+
- [Judge, privacy and usage counts](docs/judge.md): Jev, what is sent and kept, opting out, and using your own key.
|
|
113
|
+
- [FAQ](docs/faq.md), [security](SECURITY.md) and [contributing](CONTRIBUTING.md).
|
|
114
|
+
|
|
115
|
+
## License
|
|
116
|
+
|
|
117
|
+
[FSL-1.1-MIT](LICENSE.md): use Proofmarks for anything except a commercial product or service that competes with it, including on your own sites and your clients' sites. Each version becomes MIT two years after its release. The [examples](examples/LICENSE) and script-tag snippets are MIT, and the Caveat handwriting font keeps its [OFL](src/overlay/OFL.txt).
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Security
|
|
2
|
+
|
|
3
|
+
Proofmarks is a local development tool. The npm package needs Node.js 22 or later; the standalone program has Node built in, and each release lists its archives' SHA-256 checksums, which the installers check. The helper and development proxy bind to loopback. Do not expose them directly to the internet or include the review script in production.
|
|
4
|
+
|
|
5
|
+
Requests must have an allowed Host and Origin. Loopback hosts and origins are allowed; extra origins require explicit configuration. Writes require the session token in the expected header. The helper uses constant-time token comparison and limits JSON request bodies to 64 KB. A session token is available to permitted browser sessions; this is protection against unintended cross-origin writes, not authentication between users sharing a machine. Local processes can read review data.
|
|
6
|
+
|
|
7
|
+
Private Tailscale access requires both configured hosts and configured users. Identity headers are trustworthy only behind a proxy you control that removes client-supplied identity headers. Do not enable this configuration on an untrusted proxy.
|
|
8
|
+
|
|
9
|
+
Configuration lists source and review files, allowed document roots and explicit write permissions. Paths must remain within the project and cannot traverse symlinks. Accept updates a source file and its review; dismiss, undo and rewrite operations update the review and append its decision or event journal. Project state, session metadata, helper logs and leases live under `.proofmarks`; review journals sit beside review JSON. Dismiss memory lives under the document root's `.proofmarks`. Add these generated files to your ignore policy as appropriate. The default judge cache is under `~/.proofmarks/cache`; `--cache-dir` can override it. Review text, caches and local logs may contain private writing.
|
|
10
|
+
|
|
11
|
+
Source writes check revisions and exact matches and use locks and atomic replacement. A trusted configured `rebuild` command can run with your user permissions after an edit. Connected agents and installed rewrite CLIs also run with your user permissions. Review configuration and agent access before enabling them.
|
|
12
|
+
|
|
13
|
+
Jev requests send the selected prose and surrounding context for scoring. By default they go through Torta's relay (the code is in `relay/`), which holds Torta's Jev key, accepts only Proofmarks' own judge requests, keeps no text, and identifies an install only by a random signed token stored in `~/.proofmarks/install.json` with owner-only permissions. The relay keeps request counts and network addresses in memory only, for rate limits and a daily spend cap. Usage counts are off unless the person turns them on (`proofmarks telemetry on`), and `DO_NOT_TRACK=1` keeps them off for the processes started with it. [TELEMETRY.md](TELEMETRY.md) lists every request and field. With `TYPESAFE_API_KEY` set, Proofmarks judges with Jev directly and never contacts the relay for judging (feedback reports still go through it), and the key is stripped from the environment of the agents, site and rebuild commands Proofmarks starts. No key belongs in a review, page, repository or issue report. The fake judge makes no remote scoring requests.
|
|
14
|
+
|
|
15
|
+
To report a vulnerability, use GitHub private vulnerability reporting on this repository. The maintainers enable this channel before public release. Do not post credentials, private prose or exploit details in a public issue.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Telemetry and privacy
|
|
2
|
+
|
|
3
|
+
Proofmarks sends your writing only to be judged, or rewritten by the agent you choose, a feedback report only when you okay it, and usage counts only if you turn them on. This page lists every request Proofmarks makes, what's in it, and who receives it.
|
|
4
|
+
|
|
5
|
+
## Usage counts are off until you turn them on
|
|
6
|
+
|
|
7
|
+
- `proofmarks telemetry status`, `on` or `off`. The choice is saved in `~/.proofmarks/telemetry.json` and applies to every Proofmarks process on the machine, including helpers that are already running, from the next request each one starts. A request already under way finishes as it began. `proofmarks status` shows whether this project's running helper sends them.
|
|
8
|
+
- Setup asks once. `proofmarks init` asks at a terminal, and an agent setting Proofmarks up for you asks you. `init --yes` never answers for you.
|
|
9
|
+
- Any off wins: `DO_NOT_TRACK=1`, `proofmarks telemetry off` or `PROOFMARKS_TELEMETRY=0`. An environment variable reaches the processes started with it and the helper they share, and a dev proxy already running when `proofmarks dev --background` finds it; `proofmarks telemetry off` reaches everything, including a dev proxy already running in the background. `PROOFMARKS_TELEMETRY=1` turns them on for one process, unless one of those says off. A CI run (`CI` set to anything but empty, `0`, `false`, `off` or `no`) keeps them off unless `PROOFMARKS_TELEMETRY=1`.
|
|
10
|
+
- The helper that serves your pages is shared by the Proofmarks processes working on a project, such as your agent's and `proofmarks dev`. It starts no counted request while any of them turns counts off.
|
|
11
|
+
- Whatever you choose, Proofmarks tunes each rule's line to your site from the decision logs in your project's reviews folder, on your machine.
|
|
12
|
+
|
|
13
|
+
### What usage counts send
|
|
14
|
+
|
|
15
|
+
| Count | When | Fields |
|
|
16
|
+
| --- | --- | --- |
|
|
17
|
+
| Install | When this install gets a relay token with counts on | Proofmarks version, how it was installed (for example npm or Homebrew), operating system and architecture, and the listing you found it through, if its install command said |
|
|
18
|
+
| Decision | When you keep, dismiss, undo or restore a mark Jev scored | The rule, what you did, Jev's score rounded down to 0.05, the line the mark was shown under, the model and the rules version |
|
|
19
|
+
| Judge use | Each hour | How many judge calls installs with counts on made, their input tokens and cost, and how many of those installs were active |
|
|
20
|
+
| Feedback | When a feedback report is sent | Its kind, such as a bug or a wrong mark |
|
|
21
|
+
|
|
22
|
+
The relay passes these to Torta's analytics (PostHog). Decisions and judge use go as hourly totals, and they and feedback carry no install. An install count carries a random ID that comes from the relay token, never from your machine. No count has a person profile or a location. None carries text, a URL, a file name or a token.
|
|
23
|
+
|
|
24
|
+
## Every request Proofmarks makes
|
|
25
|
+
|
|
26
|
+
| Request | When | What it carries | Where it goes |
|
|
27
|
+
| --- | --- | --- | --- |
|
|
28
|
+
| Judge (`POST /v1/systemone`) | Reviewing a page, checking files, scoring a rewrite | The passages being judged, their surrounding text, the rules' questions and the relay token | Torta's relay, which passes it to Jev (TypeSafe). With `TYPESAFE_API_KEY`, straight to Jev |
|
|
29
|
+
| Token (`POST /v1/install`) | When Proofmarks has no token and needs one: to judge without your own key, or to send a decision count or a feedback report. Again when the relay turns a token down, and on the first request after your choice about counts changes | With counts off, only that they're off. With counts on, the install fields above | Torta's relay |
|
|
30
|
+
| Decision (`POST /v1/decisions`) | Only with counts on | The decision fields above and the token | Torta's relay |
|
|
31
|
+
| Feedback (`POST /v1/feedback`) | When you okay a report your agent wrote with `proofmarks_send_feedback` | The report's text and the token. With counts on, also the version, how Proofmarks was installed, and the operating system and architecture | Torta's relay, then the Proofmarks team's Slack. This goes through the relay even with your own key. `PROOFMARKS_FEEDBACK=0` removes the tool |
|
|
32
|
+
| Health (`GET /health`) | `proofmarks status` and `proofmarks doctor` | Nothing | Torta's relay. With your own key, `GET api.typesafe.ai/v1/models` checks the key instead |
|
|
33
|
+
| A page you check | `proofmarks check <URL>` | An ordinary request for that page | That URL |
|
|
34
|
+
| Your site | The dev proxy, while you use the page, and `proofmarks doctor`, which checks the site and the proxy answer | Your browser's requests, forwarded, or a plain request for a page | Your own site |
|
|
35
|
+
| A connected agent | When your agent calls Proofmarks' MCP tools | What it asks for: passages, paragraphs, rules, source paths, rewrites and decisions | Your agent, which may send what it reads to its own provider, under its own terms |
|
|
36
|
+
| A rewrite by an agent CLI | When you ask Claude Code, Codex or pi for a rewrite | The passage, its paragraph and the rule, plus the earlier rewrites when you ask for another | That agent's provider, under its own terms. Proofmarks passes `DO_NOT_TRACK` on to it |
|
|
37
|
+
| Install scripts | `install.sh` and `install.ps1` | A lookup of the latest version, then the download and checksum for your system | GitHub |
|
|
38
|
+
| Agent setup | `proofmarks init`, when pi is installed | pi installs the Proofmarks extension: from your project's copy with the npm package, or from npm with the standalone program | npm, through pi, for the standalone program |
|
|
39
|
+
|
|
40
|
+
There are no update checks, startup pings or crash reports.
|
|
41
|
+
|
|
42
|
+
## The relay token
|
|
43
|
+
|
|
44
|
+
`~/.proofmarks/install.json` holds a random token, readable only by you. It's your key to the shared judge, which lets the relay apply its rate limits and daily budget. It isn't derived from your machine. The relay can tell one token's requests apart, for its rate limits, but while counts are off it's told nothing about the install: no version, install route, system or listing. Delete the file anytime, and Proofmarks gets a new token the next time it starts. With your own Jev key, judging needs no token, and only a feedback report would get one. If a helper that judges through the relay is already running when you set your own key, Proofmarks asks you to restart it rather than send your writing through the relay.
|
|
45
|
+
|
|
46
|
+
## What the relay sees and keeps
|
|
47
|
+
|
|
48
|
+
- **No text.** It passes each judge request to Jev and returns the answer, without saving or logging the passages.
|
|
49
|
+
- **Feedback reports you okay,** which it posts to the Proofmarks team's Slack.
|
|
50
|
+
- **Your network address,** held in memory only, to limit new tokens per network per day. It isn't stored or sent anywhere.
|
|
51
|
+
- **Request counts per token,** in memory only, for rate limits.
|
|
52
|
+
- **Its own counts of calls and cost,** in memory only, to keep the shared judge within its daily budget.
|
|
53
|
+
- **Budget alerts:** when the shared judge passes 80% and 100% of its daily budget, the relay posts a note to Torta's Slack. It carries no install and no text.
|
|
54
|
+
|
|
55
|
+
The relay's code is in [`relay/`](relay/).
|
|
56
|
+
|
|
57
|
+
## What code can't promise
|
|
58
|
+
|
|
59
|
+
- The relay runs on DigitalOcean's App Platform, which may keep its own request logs under DigitalOcean's terms.
|
|
60
|
+
- Jev, from TypeSafe, receives the passages being judged, under TypeSafe's terms.
|
|
61
|
+
|
|
62
|
+
## This website
|
|
63
|
+
|
|
64
|
+
proofmarks.dev counts visits and clicks without cookies, and not at all if your browser asks not to be tracked (Do Not Track or Global Privacy Control). The clicks are Try it, picking an install route, copying a prompt or command, a link to GitHub and opening an FAQ answer. Each count carries the page's address, the page you came from and your screen and window widths, under a random ID that lasts one page load. It has no person profile and no location. That's separate from Proofmarks itself.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2014 The Caveat Project Authors (https://github.com/googlefonts/caveat)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|