Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

prosefix

Latest version: v0.3.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
PyPI package Publisher: andrewbroz
0 Stars
0 Forks
3 Versions
Python Repo language

Scan summary

prosefix was last scanned on 28 Nov 2026 at version 0.3.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest was published on 28 Nov 2026.
  • Findings: No rules fired in version 0.3.0.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.0 LATEST 28 Nov 2026 No rules fired
0.2.0 13 Oct 2026 No rules fired
0.1.0 12 Oct 2026 No rules fired

No rules fired in 0.3.0

Findings

Findings for v0.3.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.3.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

prosefix

prosefix fixes spelling, style, typos and punctuation in Markdown files, in place.

prosefix draft.md             # fix one file in place
prosefix draft.md --diff      # show the changes without writing them
prosefix vault/ --check       # exit 1 if any file would change

prosefix runs two passes over each file with one model endpoint, one decision cache and one change list. The style pass (stylefix) settles one English variety and one style guide; the proof pass (proofix) fixes typos, punctuation, compounds and commas. Front matter, code, links, HTML and Obsidian syntax are never changed.

prosefix applies a fix only when it is always right; when judgement is needed it asks the model; anything uncertain is listed for you.

Before:  We recieved the the new colour scheme -- the teams programme , which covers analysis,design and testing.
After:   We received the new colour scheme – the teams programme, which covers analysis, design and testing.

(A British draft, kept British, with the tools installed and no model. Words that depend on meaning, such as licence and license, are listed for review until a model decides them; see Questions without a model.)

Install

brew install andrewbroz/tap/prosefix     # also installs Vale, LanguageTool and typos
uv tool install prosefix                 # or: pipx install prosefix

Without Homebrew, install the tools you want. prosefix runs every tier whose requirements are met:

missing skipped still runs
Vale (brew install vale) variety, guide, ambiguous, numbers serial-comma, abbreviations, punctuation, and all of the proof pass
LanguageTool (brew install languagetool) mechanical, adjudicated hygiene, basics, compounds, commas
typos (brew install typos-cli) typos everything else
a model decisions that need judgement, commas rule-based tiers; undecided items are listed for review (see Questions without a model)

First run

prosefix draft.md --diff   # see what would change
prosefix draft.md          # write it

The first in-place run prints tip: prosefix --diff <path> shows changes without writing them; it stops once prosefix has a cache directory.

Without the tools. A bare uv tool install prosefix still fixes the obvious mechanical faults with the basics tier, which needs nothing else: a doubled small word from a closed list (a, an, the, of, to, at, for, with, from, into, onto, and, or, but, nor, it, we, they, my, your, our, their: the the), a space before a comma or period (programme ,), and a missing space after a comma, semicolon or colon between two words (analysis,design). Other repeats (that that, log in in the corner, turn it on on Monday) go to the model or to review, as does a closed-list double LanguageTool ran over without flagging; a hyphen touching either copy (to to-do) makes it no double. A space before : ; ! ? is removed at the end of a line; with more text after it (Press : to enter) it is listed for review. It never touches 1,000, 10:30, URLs or code (fenced, inline or indented). prosefix then says once, in one line, how to get the rest:

prosefix: most fixes need Vale and LanguageTool — brew install andrewbroz/tap/prosefix (or: brew install vale languagetool typos-cli)

Without a model, one more line says prosefix: model decisions and comma placement need a model — prosefix --setup. Set one up, and check what this machine has:

prosefix --setup      # choose and test a model endpoint
prosefix --doctor     # tools found or missing, the endpoint, the settings file for this directory

The endpoint comes from flags, PROSEFIX_LLM_* / ADJUDICATE_LLM_* environment variables, ~/.config/prosefix/config.toml and ~/.config/adjudicate/config.toml, never from a project file. Without a model, all rule-based tiers still run.

Questions without a model. Some items need judgement but have a likely answer: a capitalised swap (Color to Colour), a serial comma, a number the guide may spell out, an abbreviation that may end a sentence, and a comma or full stop at a closing quote. Without a model, prosefix asks about each one whenever it can store your answer, that is, whenever it uses a decision cache. The question is listed for review, and the text is left as written. --llm none and --no-cache store nothing, so they do not ask: they apply the capitalised swap and list the others as plain review items. Before 0.3.0, only --llm cached asked.

Which English

When nothing sets the variety (no --target, no project target, no front matter prosefix: {target: …} or lang:), prosefix reads the note and keeps the variety it is already written in. It counts the distinct words that only one variety spells that way (colour, programme, finalise against color, program, finalize), outside code and quotations; names, words in your accept lists and words both varieties accept do not count. Two or more British words, and at least twice as many as American ones, mean UK; the same the other way means US. A note with words of both varieties but no clear majority keeps its spellings as written (no variety conversion; everything else follows the US default), and a note with no such words at all uses US. The per-file line says which:

prosefix: draft.md: en-GB (detected) · 6 change(s), 4 for review
prosefix: draft.md: no clear variety (1 UK, 1 US words); variety spellings left alone — set --target or lang: · 1 change(s), 0 for review
prosefix: notes.md: no clear variety (0 UK, 0 US words); using en-US — set --target or lang: · 1 change(s), 0 for review

Each file is decided on its own, so a mixed vault keeps every note consistent. To choose instead, pass --target uk (or us), set target in the project file, or put lang: en-GB in a note's front matter.

Review items

Anything prosefix will not apply on its own (no model, the model unsure, or no single right fix) is a review item, with its line and reason:

draft.md:5: review — A comma may be missing after the conjunctive/linking adverb ‘However’. [proofix SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA]

For one file (or stdin), review items go to stderr after the run. For several files, each file's line counts them and the total line adds (--changes lists them); --changes prints every change, with a few words of context either side, and then the file's review items. --report FILE writes them all to a Markdown file. -q prints none of this.

Use

prosefix note.md                          # rewrite one note in place
prosefix vault/ --diff                    # show what would change in a vault
prosefix vault/ --changes                 # rewrite, listing every change and review item
prosefix content/ --check --llm cached    # CI: fail if anything would change
prosefix - < in.md > out.md               # filter
prosefix note.md --target uk --skip commas

Directory walks take *.md and *.markdown, skipping .git, .obsidian, node_modules, other dot-directories and your exclude globs. Exit status: 0 success; 1 from --check (or --strict) when something would change; 2 for usage, configuration, input or write errors, a file that changed on disk during the run (it is left alone), or a failed --require. Any per-file error is reported on stderr and gives 2, but the other files are still processed.

Writes are atomic, keep the file's mode, and follow symlinks to their target; read-only files are reported and left alone.

With LanguageTool installed, prosefix starts one local LanguageTool server for the run (on 127.0.0.1 only), shares it between files and stops it when the run ends, including on errors and Ctrl-C. If it cannot start, or stops answering mid-run, prosefix says so in one line and uses the command line for the rest of the run. Ctrl-C stops it, saves the decisions already made, prints prosefix: interrupted and exits 130.

Obsidian

Run prosefix in place on a vault. Wikilinks and their aliases, embeds, #tags, %%comments%%, ^block-ids, the > [!note] marker of a callout, maths, and Markdown code, links and HTML are never edited; quotes beside them are curled sensibly. Prose that only looks like syntax ("issue #42", "C#", "costs $5 and $10") is edited as prose.

Until the prosefix plugin exists, use the Shell Commands community plugin with:

prosefix {{file_path:absolute}}

Publishing

- run: pipx install prosefix
- run: prosefix content/ --check --llm cached

Commit .prosefix/ so CI replays your decisions: --llm cached applies decisions already in the cache and never contacts a model. With no settings file, decisions are cached under $XDG_CACHE_HOME/prosefix/ (default ~/.cache/prosefix/) instead.

Settings

prosefix looks upward from each file for prosefix.toml, .prosefix.toml, or [tool.prosefix] in pyproject.toml:

target = "uk"                    # "us" or "uk"
style = "oxford"                 # style guide
only = ["style", "proof"]        # passes to run
skip = ["commas"]                # tiers to skip
exclude = ["drafts/**", "templates/**"]
accept = ["Obsidian", "Zettelkasten"]
accept_file = ".prosefix/accept.txt"
cache = ".prosefix/cache.json"   # comma decisions go to commas.json beside it

exclude globs are relative to the settings file; ** crosses directories, * and ? do not, and a bare directory name does not exclude its contents (write templates/**). cache and accept_file must stay inside the project directory.

A note can override the project in its front matter:

---
lang: en-GB                      # sets the target when prosefix.target is absent
prosefix:
  target: uk
  skip: [commas]
---

or opt out with prosefix: off. Only target, style, only and skip are allowed there. Flags beat front matter, which beats the project file; when none of them sets a target, the note's own spelling decides (see Which English).

The tiers are variety, guide, ambiguous, numbers, serial-comma, abbreviations, punctuation (style) and hygiene, mechanical, basics, typos, adjudicated, compounds, commas (proof).

JSON

prosefix --json prints one document, "schema": 1, for editors and plugins. It holds the endpoint, the capabilities skipped and an entry for each file. Each entry has the file's status, settings, input_sha256, a list of changes (id, pass, check, start, end, line, before, after, reason, decided_by, confidence, depends_on), review items and the full output. The settings include target_source, one of flag, front matter, lang, project, detected or default. They include detected word counts when detection ran, and "variety_conversion": false when no clear variety meant the variety spellings were left alone. input_sha256 is the SHA-256 of the input as UTF-8, so a plugin can tell whether the note changed after the run. Change offsets are UTF-16 code units into the whole input file; line is 1-based. A change that lists depends_on supersedes the changes it names. decided_by is rule, model, cache or user; user marks a change made from your answer. A file with "status": "error" has only path, status, reason and settings.

Settled output. prosefix runs again on its own output until a run changes nothing. So output is settled: a run on it reports unchanged, with the same questions and keys. The review items come from that last run. This happens in every mode, so an in-place write gives the same text as output.

Questions. A review item with options is a question. Only a question has these fields:

  • start and end: UTF-16 offsets into output, not into the input, left out when they cannot be placed there;
  • options: the replacements on offer (keeping the text as written is always possible, and never listed);
  • suggestion: the model's pick even when it was too unsure to apply it, or null;
  • confidence and reason;
  • explain: a sentence or two on the rule, for the person answering, when the question has one;
  • key: what --decide takes.

One line per file. prosefix --json-lines writes nothing to the notes either. It prints one line per file, "type": "file" followed by the file's entry, as each file finishes, in any order. Then it prints one "type": "summary" line with schema, prosefix, endpoint and skipped. Each line is compact JSON in ASCII. A file that fails, including a path that does not exist, gets a line with "status": "error", and the exit status stays 0. A --report file that cannot be written makes it 2.

Answers. prosefix --decide reads answers as JSON on stdin and stores each in the cache that its note's path uses:

{"decisions":[
  {"path":"/v/essay.md","key":"3b9e0c1d2a4f5e6a7b8c9d0e","choice":"licence",
   "word":"license","options":["licence","license"]},
  {"path":"/v/essay.md","key":"…","choice":"KEEP"},
  {"path":"/v/notes.md","key":"…","choice":{"text":"licensed"}}]}

choice is one of the options, "KEEP" to keep the text as written, or {"text": …} for your own words. It prints {"written": 3, "caches": [...]}. Malformed input prints {"error": "…"}, stores nothing and exits 2. The next run with the cache applies the answers, for example prosefix --json-lines --llm cached /v/essay.md.

One answer can change the sentence of another question in the same note, and so that question's key. word is the text at the question's start:end in output. With word and options, prosefix carries such an answer over: an answer the run did not use moves to the one open question in the same note with the same word and options, and the note runs again, up to three times. An answer gets one chance to move: the next run of its note, normally the cached run right after --decide. An answer can also raise a question about the word it put in (licence, once chosen over license); prosefix answers that question KEEP.

Known limits: an answer to a proofix compound question applies to every occurrence of that form. An answer whose edit overlaps a stylefix edit loses to it and is dropped without notice. An answer without word and options is not carried over.

Setup. Three commands print one JSON object each, for a plugin's setup screen:

  • prosefix --doctor --json: schema, the prosefix and python versions, each tool (name, found, version, path, adds, fix), the endpoint (found, url, model, source, error), config_file and settings_file (null when there is none). fix is a Homebrew command, with Homebrew's full path when it is found.
  • prosefix --check-endpoint --json [--url URL] [--model NAME]: tests the endpoint and gives ok, url, model, models, model_info, latency_ms and error. model_info lists each model's id and created (Unix seconds, or null) in the server's order. It exits 1 when the test fails.
  • prosefix --setup --url URL [--model NAME] [--thinking-switch] --json: tests the endpoint and, only if the test passes, writes ~/.config/prosefix/config.toml with mode 0600. It gives ok, written, url, model and error, and exits 1 when nothing was written.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases prosefix

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229