Repository navigation
Releases
VozNativa v0.10.0 — Contextual Linguistic Intelligence & Continuous Knowledge
VozNativa 0.10.0 — Contextual Linguistic Intelligence & Continuous Knowledge
GitHub release only; not published on PyPI. Round records (plan with criteria frozen before development, gaps, evaluation, qualification): docs/releases/v0.10/.
What passing tests mean. They show the listed defects fixed and the frozen suites not regressed. They do not prove semantic equivalence of any rewrite. Every dataset was written by the same agent that wrote the rules. No human review or independent holdout was run.
Highlights
-
Open task context.
--attr NAME=VALUEtakes any attribute, with no code change needed for a new genre ("roteiro de podcast", "ata", "legenda de vídeo"):- each attribute records where it came from (explicit, agent-proposed, inferred);
- unknown, mixed and contradictory contexts are reported, together with the conservative choice made;
- safety fields can't be set this way;
- an agent's proposal (
voznativa context --interpret-prompt) never overrides the user; - a standard such as the ENEM essay rubric is only offered, never applied, unless a document profile makes it applicable.
-
Linguistic knowledge with sources. A registry of short statements, each tied to cited sources marked as prescriptive or descriptive, with licence and access.
- The writer gets only what the text calls for, within a budget, and each entry says why it was included.
- In informal or literary text, a legitimate variant is labelled as a variant, not as a rule.
- Entries that read like instructions to a model are refused.
-
Diagnostic status. Every finding now says what it means in context:
ERROR_CONFIRMED,ACCEPTABLE_VARIANT,STYLE_PREFERENCE,CONTEXT_DEPENDENT,LITERARY_CHOICEorUNCERTAIN.- New rules: "daqui há", "seje/esteje", "menas", "a gente + -mos", "pra mim + infinitive", existential "ter".
- Only confirmed errors are planned as edits.
-
Discourse relations.
comparenow flags:- a concession turned into a cause, a contrast turned into a consequence, or a purpose turned into a cause;
- a cause invented between two juxtaposed facts;
- a dropped coordinated action ("revisado e enviado" → "revisado").
A cause kept with a different connective is no longer a failure.
-
Model judges must show independence. An LLM "equivalent" verdict accepts a candidate only when the judge's relation to the writer can be observed: different model, different provider, or the same vendor (recorded as partial independence).
unknownno longer accepts. See MIGRATION.md. -
Knowledge Watcher (
voznativa knowledge check | status | proposals). It checks official sources (PyPI, UD treebanks, Crossref, the Inep ENEM documents page) and turns each change into a proposal for a person.- It uses conditional GET and refuses private addresses.
- It has no apply mode.
- Scheduling is documented but not active.
Fixed
-
English text was diagnosed and planned as Portuguese: "as pytest" was flagged as a plural agreement error, and 42 English words were planned as anglicisms to replace. Found by running VozNativa on Assertiva's README.
-
The v0.9 plural-agreement rule fired on edited real text (pronoun subjects, clitics, adverbs, split hyphens). In the UD Portuguese-GSD test split, 10 of its 11 confirmed errors were false. The fix was measured on the dev split, run once: 16 flags before, 11 after (6 of them real).
-
Four false alarms from the v0.9 model arms:
- a scheduled present ("vai ser no sábado" → "é no sábado");
- backticks added around a word the source already had;
- "a tarde inteira" → "a tarde toda";
- a subjunctive vs. an infinitive auxiliary in a concessive clause.
Each now has a control that stays flagged.
-
Changes that passed with no signal: future → past through "foi", and "a tarde inteira" → "parte da tarde".
-
Two courtesy formulas were missing from the pattern library: "venho por meio deste" and "é com grande satisfação que…".
-
The mutation harness could run stale bytecode for same-length mutants. It now clears caches. v0.9's published 20/20 was re-checked and holds.
-
Two import cycles removed (one introduced in this round, one inherited).
Evidence
All numbers compare v0.9.0 with 0.10.0.
| Instrument | v0.9.0 | 0.10.0 |
|---|---|---|
| v0.10 semantic set, holdout (run once, both versions together) | 10/12 risks, 5/10 false alarms | 12/12, 0/10 |
| v0.10 diagnosis set, holdout | 1/5, 0/5 | 5/5, 0/5 |
| v0.10 context set, holdout | n/a | 4/4 |
ptbr-bench-v4 / ptbr-bench-v5 / predicates |
22/22 / 36/36 / 19/20 and 1/18 | unchanged |
| Frozen regression (v0.8) and v0.9 sets | 88/89 and 1/33; 31/31 and 4/20 | unchanged |
| Real-model arms (Haiku, 10 texts frozen before the run): edits to texts that needed none | engine 0/4 | engine 0/4; the direct LLM edited 3/4 and dropped an exception clause |
| Open context and knowledge, ablation | — | no measurable gain (n = 1 per arm) |
| Targeted mutation of the new safeguards | — | 24/25 killed; the survivor is an equivalent mutant |
compare CPU time at 17,600 words (interleaved in one session) |
6.25 s | 6.34 s |
Reciprocal dogfood
VozNativa, Assertiva 1.0.1 and Derivanta Engine 0.1.0 were run on each other, with real executions.
- Assertiva on VozNativa (
audit --execute): the native suite passed (1,402 invocations on v0.9.0; 1,495 on the candidate). - Derivanta on VozNativa: before and after on the same path, comparable.
- Defects fixed in their own repositories:
- Derivanta reported inherited test classes as unreferenced, and leaked the inspected code's
SyntaxWarningto its stderr: PR #6. Merge is left to the maintainer. - Assertiva attributed a missing build backend in the environment to the project's packaging: PR #11.
- VozNativa read English as Portuguese: fixed in this release.
- Derivanta reported inherited test classes as unreferenced, and leaked the inspected code's
Integrations
| Integration | State |
|---|---|
claude -p as writer (model arms) |
REAL_EXECUTED |
| Chat-completions HTTP adapter | TESTED_WITH_STUB (no local model run) |
| Local model (llama.cpp, Ollama, LM Studio) | BLOCKED / NOT_RUN: executing the server was denied in v0.9 and not retried; Ollama and LM Studio not installed |
| Codex, Gemini CLI | NOT_RUN (not installed) |
| Emulate | BLOCKED (no key) |
| Knowledge Watcher sources | REAL_EXECUTED (6 sources; OpenAlex disabled: key and usage billing) |
Migration
- Judge relation:
unknownno longer accepts. Declare the judge model (--modelin the judge command, or--judge-api-model). - Diagnosis schema 2: adds
statusandrecommend_edit. - Contract: gains
task_contextonly when attributes are given. rewriteresults: gainknowledge.--provider-env inherit: now warns when it passes credential-like variables to the model process. The default is meant to becomeminimalin 0.11.
Known limitations
- Coreference and role swaps across clauses are not detected.
- Relations are read only from explicit connectives.
- The knowledge statements were written for the project, and their sources weren't verified page by page.
- No human or independent evaluation was run.
- DOCX output was never rendered in Word.
- PDF extraction has no per-word boxes.
Install
git clone https://github.com/Soturine/VozNativa.git && cd VozNativa
python -m pip install -e . # optional: ".[pdf]"
voznativa doctor
voznativa context texto.txt --attr "genre=roteiro de podcast" --attr tone=leve
voznativa knowledge statusIf pip install -e . fails with Cannot import 'setuptools.build_meta', unset PIP_NO_BUILD_ISOLATION.
Release verification
- Tag
v0.10.0(annotated) one274379. That commit only adds the CI record; itsevidence_onlyrelation to the CI revision was checked live. - Final CI: #132,
workflow_dispatch, one612a43(the merge of PR #3). 8/8 jobs passed: Linux and Windows on CPython 3.11, 3.12 and 3.13, plus both package jobs. - Local qualification on Windows (CPython 3.12.6 and 3.11.18): every local gate passed, with 1,116 tests (1,114 passed, 2 skipped).
- The wheel and sdist were built from
git archive v0.10.0. The wheel was installed in a clean venv and the installed-package smoke test passed (34/34). - Check the downloaded assets with:
sha256sum -c SHA256SUMS.txt.
VozNativa v0.9.0 — Packaging, Integrations & Editorial Quality
Published as a GitHub release (wheel, sdist, SHA256SUMS.txt). Not on PyPI. MIT for VozNativa's own code, docs and data; third-party corpora, documents and models keep their own terms.
Summary
v0.9.0 makes VozNativa easier to install, configure and integrate, and — the priority of this round — better at the two things the v0.8.1 dogfoods showed were weak: long documents that improve locally but get worse globally, and meaning changes that pass the gates with every number and name intact. It also adds a safe DOCX workflow, a scoped PDF workflow, and a contract for linguistic packs.
Passing tests and gates still do not prove that a rewrite preserves meaning. The best state without a judge or a person remains unverified; a judge of the same vendor is fallible evidence, not independence.
Highlights
- Meaning changes with values intact are now review signals (
major, nevercritical): an operational qualifier dropped, flipped or added (automático → manual, presencial → online, estimado → confirmado), a different event class (assinou → recebeu, aprovou → analisou), a fact turned into an intention, attempt, request or proposal (concluiu → pretende concluir, pagou → solicitou o pagamento), and aspect (passou a, voltou a). On sets frozen before the rules: development risks flagged 4/31 → 31/31 with false alarms 7/20 → 4/20; holdout, run once, 4/18 → 18/18 with 1/10 → 2/10. - Self-judgment is no longer accepted when writer and judge are the same model behind command lines that differ in one argument (the case behind an accepted-then-rejected unit in the first v0.8.1 dogfood). Proven before × after with real calls.
- Editorial consistency for long documents: a
style_convergencesignal for openers the rewrite made the units converge on (the real case, 3 → 11 "Essa X permite…", is flagged; a second real document is not), and an editorial memory that tells later units which openers earlier units already added and which spelling the document uses. - Grammar diagnostics that the planner acts on: plural agreement, impersonal fazer/haver, crase; before, a text whose only problem was grammar was
no_changeand the model was never called. - Technical terms: a text with three or more technical terms is in the tech domain, so backend, branch, deploy are no longer suggested for replacement in an academic report on software.
- DOCX:
voznativa docx extract | apply | checkandrewrite FILE.docx --docx-out NEW.docx. Only plain-text paragraphs with one formatting are editable; everything else is protected with the reason; edits go to a new file and every other part is copied byte for byte. On a real 7,300-word report: round trip with all 27 parts byte-identical; a real rewrite through the product applied 19 paragraphs to a copy that passescheck. - PDF (optional extra
voznativa[pdf]): traceable text per page with equations and code as protected placeholders; notes per page in a new PDF. - First use and configuration:
doctornames the category of each problem and checks the configured provider without calling it (--probe-providermakes one real call); user and project configuration files with documented precedence — a project file can never choose the command, server or credentials;rewrite --dry-run;voznativa config. - Providers: a chat-completions adapter (
--api-url,--api-model) for Ollama, llama.cpp, LM Studio or an authorised API; typed provider errors; provider identity in reports. - Packs: one contract for every pack (no gate keys, no code, safe YAML, size and path limits, licence and provenance for external packs), external community packs from
VOZNATIVA_PACKS_DIR, a contribution policy.
Evidence
| Instrument | v0.8.1 | v0.9.0 |
|---|---|---|
| unit tests (Windows, CPython 3.12.6) | 933 (931 pass, 2 skipped) | 1,025 (1,023 pass, 2 skipped); same local gates on CPython 3.11.18 |
| GitHub Actions (manual dispatch) | 8/8 | 8/8 (run #130; run #129 failed on Windows short temp paths, which exposed and fixed a real privacy-gate defect) |
ptbr-bench-v4 / ptbr-bench-v5 (frozen) |
22/22 / 36/36 | 22/22 / 36/36 |
| predicate sample (frozen in v0.7) | 17/20 risks, 1/18 false alarms | 19/20, 1/18 |
| frozen regression (Evaluation Core) | 86/89 detected, 1/33 false alarms | 88/89, 1/33 |
| v0.9 sets frozen before the rules: development / holdout (run once) | 4/31 · 7/20 / 4/18 · 1/10 | 31/31 · 4/20 / 18/18 · 2/10 |
| grammar diagnostics (development / holdout) | 0/11 / 0/6 | 11/11 / 6/6, no false alarm |
| same-model arms (12 texts; direct LLM call vs engine) | — | direct call changed 6/6 texts that needed no change; engine 0/6 |
compare on 17,600 words (CPU) |
5.84 s | 5.48 s |
All sets were written by the same agent that wrote the rules: these numbers show conformance to the specification, not quality judged by readers. Three Assertiva audit --execute runs (the last one: suite PASS, 0 false-green candidates) and a Derivanta Engine comparison (COMPARABLE) were run on the candidate. Real-provider spend in the round: about USD 1.2. Full records: docs/releases/v0.9/ (RELEASE_QUALIFICATION.md, EVALUATION.md, SEMANTICS.md, EDITORIAL.md, DOCUMENTS.md, INTEGRATIONS.md, DOGFOOD.md, ASSURANCE.md).
Integrations actually run
| Integration | State |
|---|---|
claude -p as provider (LLM-assisted mode) |
real runs; writer and judge of different models from one vendor |
| Claude Code as agent-led host (skill in the project) | real session: skill discovered, real CLI used, NO_CHANGE and self-assessment handled |
| chat-completions adapter | tested against a local HTTP server with a fake model; a real local model run is not recorded |
| Codex, Gemini CLI | not run (not installed); install paths checked against the official docs |
| Emulate | blocked (no key) |
Compatibility and migration
- Behaviour change:
--cmd "claude -p ..."with--judge-cmd "claude -p ..."no longer accepts a rewrite on the judge's word: it is self-assessment. Use a judge with a different declared model, or a signed human review. rewriteoptions without a value on the command line now come from the configuration layer; with no configuration file the defaults are the same as in 0.8.1.doctor --jsonisschema_version2 (fields added).- New review signals can turn a
needs_judgmentintoneeds_review. - The CLI is still not declared stable (that is for 1.0).
Known limitations
- No independent holdout, no blind human review, no other-vendor judge; all sets and rules were written by the same agent.
- Event and qualifier classes are small authored lists; a verb or qualifier outside them abstains. Coreference and role changes without lexical cues remain out of reach.
- DOCX: text in headers, footers, footnotes, comments and text boxes, mixed formatting, fields and tracked changes are protected, not edited; rendering in Word or LibreOffice was not tested.
- PDF: no word boxes (notes are per page), no OCR, no reliable multi-column order, no inline math.
- Linux was qualified by the CI, not locally (Docker did not respond); macOS not tested.
Install
python -m pip install voznativa-0.9.0-py3-none-any.whl # from the release assets
python -m pip install "voznativa[pdf] @ git+https://github.com/Soturine/VozNativa.git@v0.9.0"
voznativa doctorVerify the download with SHA256SUMS.txt.
Checksums
The SHA256SUMS.txt asset lists the SHA-256 of the wheel and the sdist, both built from the exact tagged revision (git archive v0.9.0).
VozNativa 0.8.1
A patch release with nine fixes (DF-01 to DF-09). Every fix comes from one of two agent-led dogfoods that ran VozNativa's long-form engine on real academic documents, with a real model as writer and judge. No new features and no API changes. Not published on PyPI.
Highlights
- Long documents can be rewritten when they contain flattened math from a PDF. Before this release, a token such as
C ∈Rm×nmade every edit a critical failure, and the whole document came back unchanged (13 of 13 units reverted in the dogfood). - The cost budget covers the judge.
--max-callsused to bound only the writer; judge votes were extra calls. - No self-approval of long documents. A writer that judged its own long-form output was accepted; it now gets
needs_judgment, as single texts already did. --mode PROOFREADno longer deletes words after one-letter labels ("os lotes C, E e G" stayed intact only after the fix).
Fixes
| Id | Area | What was wrong | What changed |
|---|---|---|---|
| DF-01 | long form | --max-calls did not count judge votes (real run: 12 counted, 16 made) |
the judge spends the same budget; a refused vote leaves the unit unjudged; new judge_calls in the record |
| DF-02 | long form, integrity | a writer judging itself was not recognised as same_agent behind the budget wrapper, so its own verdict accepted the document |
the relation check looks through the wrappers |
| DF-03 | long form | a term respelled in some units only ("backend" / "back-end") went unnoticed | document guard term_variant; outcome at least needs_review |
| DF-04 | compare | deleting a factual clause could pass as no_deterministic_issues |
clause-level possible_omission; editorial formulas and connectives excluded |
| DF-05 | compare | gerunds and phrases ("gerando", "indicando", "por essa razão") missing from the causal/evidential lexicons: false criticals, and invisible removals | forms added; semantic suites unchanged |
| DF-06 | diagnose | a one-letter label followed by the conjunction or article ("E e", "A a") was a repeated word with auto_fix |
different case on a one-letter pair is not a repetition |
| DF-07 | diagnose | false acronym_redefined contradictions from the six-word window |
the expansion is the shortest run whose initials spell the acronym; otherwise there is no definition |
| DF-08 | compare | an entity extracted inside a token was never found as a whole word: critical span_missing on any edit |
presence also counts by the same extraction on the other text |
| DF-09 | compare | a split sentence and a trailing citation far apart looked like a moved marker (critical) | sentences without content words are left out; a new unaligned sentence counts with its neighbour |
Each fix has a regression test with synthetic fixtures written in another domain. The tests fail on the code before the fix and pass after; controls pass on both. The tests are evals/test_v081_dogfood.py, test_v081_compare_omission.py, test_v081_marker_forms.py, test_v081_diagnose_labels.py, test_v081_entity_in_token.py and test_v081_moved_groups.py.
Evidence from the dogfoods
The documents are private and are not in the repository. The public records contain counts, codes and synthetic examples only: DOGFOOD_TG1.md and DOGFOOD_TCC2.md.
- Technical report (about 7,300 words, converted from DOCX outside the product):
- Two real runs. A replay with the recorded model answers reproduces the old engine byte for byte.
- The fixed engine keeps the same text and unit outcomes, counts 16 calls instead of 12, and flags the split spelling.
- Academic report available only as PDF (about 8,300 words):
- On 0.8.0.dev0 a real run kept no edit at all (13 of 13 units reverted).
- On the same recorded answers, the fixed engine reverts none.
- A new real run kept 39 edited paragraphs, all left for human review.
- Human review mattered. In both dogfoods it rejected candidates that the gates and a judge of the same model had passed: a dropped "também", a respelled technical term, and an added explanation.
Qualification
Full record: RELEASE_QUALIFICATION.md.
- Windows 10, CPython 3.12:
scripts/qualify.py --scope releasepassed every local gate, including the package gate (sdist → wheel → clean venv → smoke → suite against the wheel). Unit tests: 933 (931 pass, 2 skips with a recorded reason). - GitHub Actions: run #127 on the release merge
5f27d1eand run #128 on the tagged commit17d1f10, 8/8 jobs each on Linux and Windows with Python 3.11, 3.12 and 3.13, verified live. - Frozen benchmarks and predicate sample:
ptbr-bench-v422/22,ptbr-bench-v536/36, predicate sample unchanged (17/20, 1/18). - Assertiva 0.10.1
audit --execute: suite pass in an isolated copy; wheel build, install and import pass; no false-green candidates. - Derivanta Engine 0.1.0: comparable to 0.8.0.dev0, with 5 new informational maintainability candidates and none of higher severity.
- Not run:
- local Linux containers (the Docker engine on the release machine was unresponsive; covered by the CI Linux jobs);
- an independent holdout and blind human review (they need other people).
Passing tests are not a proof of meaning. They show that these defects are fixed and that the frozen suites did not regress. Apart from identity, no deterministic check proves that a rewrite preserves meaning, and VozNativa keeps asking for a judgment or a human review.
Known limitations
- Units of a long document are rewritten separately and can converge on one new construction. No detector reports that.
- Two kinds of change are not reported:
- removing a single content qualifier;
- grammar errors such as agreement and government, so a unit without findings never reaches the model.
- DOCX and PDF are not read natively.
- DF-07 does not check acronyms built from inner letters.
- One timing test (
test_v08_compare_perf) can exceed its bound under full-suite load on slow machines. Alone, it measures 12–13x on both versions.
Install
From the release assets, after checking SHA256SUMS.txt:
python -m pip install voznativa-0.8.1-py3-none-any.whl
voznativa --version # voznativa 0.8.1
voznativa doctorOr from the tag:
python -m pip install "git+https://github.com/Soturine/VozNativa.git@v0.8.1"Requires Python 3.11 or newer. No model, key or network access is needed for doctor, demo, compare, plan, diagnose and route.
VozNativa 0.8.0.dev0 (pre-release)
Pre-release. Not a stable release and not published on PyPI. Install it from this release's wheel or from the tagged source. 0.8.0.dev0 is a development version: interfaces may still change before 1.0.
What VozNativa is
A PT-BR rewrite engine and Agent Skill. It plans what a text needs, asks a model (or the host agent) for a rewrite, and checks the candidate with a deterministic semantic gate (voznativa compare) before anything is accepted.
Highlights
Evaluation System
voznativa evaluate: datasets read the existing suites in place, each with an explicit split that must agree with its MANIFEST; metrics per split and axis with denominators and Wilson intervals; nothing NOT_RUN is counted.--verifychecks a record's internal consistency;--replayre-executes it with the code and inputs of its revision (git archive) and reports REPRODUCED, DIFFERENT or NOT_REPLAYABLE.- An independent split needs
independence_evidence(author, custodian, freezing commit, attestation); leakage between sources is detected, and a holdout sharing text with development makes the run INVALID.
Contextual semantics
- Minimal event frames in
compare: dropped or changed recipient, giver/receiver swapped, an event turned into its converse (allmajor, nevercritical), including singular passives. - New antonym classes for
polarity_flipped(hire/fire, export/import, switch on/off, deferir/indeferir). - Long documents: no false red when appending to a 17k-word document;
compareon 30k words 24.7 s → 8.5 s with identical output;spans.extractno longer quadratic.
Standards foundation
voznativa standards list | resolve: a registry of editais, manuals and exam guides with a verification ladder (CATALOGUED → SOURCE_CITED → VERIFIED) and an Applicability Resolver that picks the edition valid on the submission date (never "the latest").voznativa rubric: objective criteria only where the source applies and is at least SOURCE_CITED; subjective criteria marked NEEDS_JUDGMENT; no scores.
Agent-led runtime and DX
- A host agent judging its own candidate is recorded as an
agent_assessment(AGENT_OBSERVED), never as an independentaccepted_by_llm. - The Skill's default flow runs
diagnosebefore deciding NO_CHANGE. voznativa doctorandvoznativa demowork offline with no model or key; input errors say what to do; user guides indocs/guide/with a CLI reference generated from the parser.
Assurance and dogfood
- Dogfood with Assertiva fixed 11 tests that passed while the code produced nothing; mutation testing found and fixed a missed singular passive.
- Dogfood with the Derivanta Engine aligned declared vocabularies with emitted values and completed the v0.8 traceability matrix.
- The local package gate runs the whole test suite against the installed wheel.
Qualification
- Local: Linux CPython 3.11, 3.12 and 3.13 (containers) and Windows CPython 3.12, full local gate set; details in
docs/releases/v0.8/RELEASE_QUALIFICATION.md. - CI: one manual run on the tagged commit, run #126 (
workflow_dispatch), 8/8 jobs: Ubuntu and Windows × Python 3.11/3.12/3.13, plus the package job (sdist → wheel → clean venv → installed smoke) on both; verified live byscripts/ci_evidence.py. - The tag points to
554d1b2, the commit that run qualified;maincontinues with evidence-only commits.
Known limitations
- Semantic quality is not independently validated. No independent holdout, no blind human review and no real-provider runs were executed for this version; every measured set was written by the development side. Agent self-assessments are labelled as such.
- A different event with no lexical relation (e.g. "assinou" → "recebeu") is only informational; the irregular participle "entregue" gets no event frame.
- The Enem 2026 guide is cited from its official page without a verified file hash; no academic standards source is verified.
compareis still slower than linear on very long documents.
Assets
voznativa-0.8.0.dev0-py3-none-any.whlandvoznativa-0.8.0.dev0.tar.gz, built from the tagged commit.SHA256SUMS.txtwith the SHA-256 of both.
Full changelog: CHANGELOG.md; gaps and their states: docs/releases/v0.8/GAP_REGISTER.md.