// writing control system / voice preservation & adversarial review
HowlWriter ハウルライター // 2026
Designed and engineered by William Elias as part of the Howl Ecosystem, HowlWriter brings HowlPlane's control-plane philosophy to writing. It combines deterministic style linting, authentic author voice preservation, claim provenance, and adversarial multi-model review to use AI for writing without letting the AI quietly erase the author's voice, alter meaning, or determine quality by itself.
SECTION // 01 Overview & Philosophical Thesis
HWR-MOD-THESISMost AI writing utilities operate as thin wrappers: prompt in, prose out, no verification, no memory of what changed or why, and no mechanism for writing to be rigorously challenged before being declared finished. When models write or edit unconstrained, they produce recognizable synthetic hallmarks: canned transitions, repetitive tricolons, excessive polish that sands away the author's voice, and subtle semantic drift that alters technical facts or drops crucial qualifications.
HowlWriter is not built to "beat AI detectors." AI detectors are unreliable heuristics and are never treated as a measurement in this codebase. Instead, HowlWriter is engineered to produce writing that reads as authentically human and preserves the voice and exact meaning of the author.
SECTION // 02 Architecture & Execution Pipeline
HWR-MOD-PIPELINEHowlWriter is organized into cleanly separated subsystems. Downstream packages depend on a real, span-addressable domain model:
src/howlwriter/
├── domain/ Document, Paragraph, Sentence, Claim, Source, Evidence,
│ ProvenanceGraph, VoiceProfile, WritingReport
├── config/ Layered config: defaults → mode → user → project → request
├── linting/ Deterministic style-rule engine (10 builtin rule families)
├── humanize/ AI-habit detector + opt-in SafeRewriter + ModelHumanizerRewriter
├── editing/ PassthroughEditor (whitespace/headings) + model Editor Protocol
├── redpen/ RedPenEngine (pure critique and argumentation challenge)
├── facts/ HeuristicClaimExtractor + ClaimVerifier Protocol
├── research/ Researcher Protocol (search & source discovery seam)
├── citations/ APA7Formatter with missing-metadata warnings (MLA/Chicago reserved)
├── voice/ CorpusStatsLearner (deterministic standard library statistics)
├── review/ MeaningPreservationReviewer (heuristic diff) + ModelMeaningReviewer
├── integration/ HowlPlaneWritingBridge + WritingRole protocols + ModelRoleNotConfiguredError
├── pipeline/ run_howl_pipeline (end-to-end orchestration)
└── cli/ Command line interface (13 capability subcommands)
Span-Addressable Document Model: Document.parse() breaks prose into structured Paragraph and Sentence spans. This allows Red Pen critique, style linting, and claim extraction to pinpoint "paragraph 3, sentence 2" instead of opaque character offsets.
SECTION // 03 Deterministic Core vs. Model-Backed Execution
HWR-MOD-SEPARATIONHowlWriter does not send every problem to an LLM. Purely mechanical tasks belong to deterministic algorithms, while semantic transformations run under strict control:
| Subsystem | Deterministic Core (Built & Tested) | Model-Backed Layer (HowlPlane Bridge) |
|---|---|---|
| Style & Linting | 10 rule families, banned patterns, regex token analysis | None — linting is 100% deterministic and config-gated |
| Humanization | Deterministic pattern detection & safe literal substitution | HUMANIZER role executes nuanced prose restructuring |
| Editorial Critique | Red Pen rule analysis (clichés, passive voice, filler) | RED_PEN role evaluates argumentation and rhetoric |
| Voice Preservation | CorpusStatsLearner (sentence mean, stdev, contraction rate) |
VOICE_REVIEWER role evaluates tone, irony, and humor |
| Meaning Verification | Numerical, date, attribution, and modal hedge diffing | FINAL_REVIEWER evaluates semantic drift and scope loss |
| Citations & Claims | APA 7 formatter, metadata warnings, claim span extraction | FACT_CHECKER & RESEARCHER verify external truth |
| Failure Handling | Raises explicit ModelRoleNotConfiguredError |
Degrades honestly; never fabricates a mock pass or metric |
SECTION // 04 Humanization: Reducing AI Habits
HWR-MOD-HUMANIZELarge language models default to predictable linguistic patterns. HowlWriter identifies and reduces these generic habits while protecting intentional stylistic choices:
| Rule Code | Pattern Flagged | Concrete Example |
|---|---|---|
AI_STYLE_BANNED_WORD |
Configured overused AI buzzwords | "delve", "tapestry", "crucial", "testament" |
AI_STYLE_NOT_X_BUT_Y |
Formulaic contrast constructions | "It's not just a tool; it's a paradigm shift." |
AI_STYLE_EMPTY_TRANSITION |
Canned introductory filler | "At its core,", "In today's rapidly evolving landscape," |
AI_STYLE_CANNED_CONCLUSION |
Moralizing wrap-up clichés | "This highlights the undeniable importance of..." |
AI_STYLE_REPETITIVE_TRICOLON |
Excessive parallel three-item lists | Three or more tripartite sentences in a single document |
AI_STYLE_EXCESSIVE_EM_DASH |
Over-reliance on em dash parentheticals | Four or more em dashes across brief prose |
AI_STYLE_REPETITIVE_PARAGRAPH |
Formulaic paragraph openings | Three or more paragraphs beginning with the exact same word |
AI_STYLE_EXCESSIVE_RHETORICAL |
Interrogative filler questions | Rhetorical questions comprising ≥ 25% of sentences |
Findings-First Architecture: By default, HowlWriter is findings-only. It reports locations and explanations without silently modifying text. Safe literal substitutions (e.g. replacing delve with explore) require the explicit --apply flag or a configured HUMANIZER model pass.
SECTION // 04B Technical Q&A: Voice Preservation & Style Enforcement
HWR-MOD-VOICE-QAHow do you preserve authentic author voice when collaborating with AI models?
Most AI writing tools replace the author's distinctive tone with generic corporate homogeny. HowlWriter solves this by encoding the author's authentic cadence, structural preferences, and acceptable idiosyncrasies into an explicit, version-controlled voice profile. Rather than giving generative models unconstrained editorial power, HowlWriter treats the author's voice as an immutable constraint, checking proposed revisions against measured sentence length variance, stylistic markers, and banned cliché patterns.
How does deterministic style linting differ from probabilistic LLM rewriting?
LLM-based "improvers" are non-deterministic: their suggestions shift unpredictably across runs and frequently inject subtle hallucinations or stylistic drift. In contrast, HowlWriter uses deterministic, AST- and regex-level linting across 10 configurable rule families (such as AI_STYLE_BANNED_WORD, AI_STYLE_NOT_X_BUT_Y, and AI_STYLE_EMPTY_TRANSITION). Deterministic linting guarantees identical, reproducible evaluations on every invocation without token cost or latency.
What is claim provenance and citation verification in agentic drafting?
When autonomous agents draft technical prose, every empirical claim, numeric statistic, or citation reference must link directly to an authoritative source in the repository or citation corpus. HowlWriter's provenance engine extracts entity assertions and numeric quantities from generated text and verifies them against ground-truth source artifacts. Any unverified or mutated assertion is immediately flagged as a potential hallucination before publication.
How does multi-model red-pen review falsify hallucinations and meaning drift?
Relying on the generating model to review its own output suffers from self-preference bias. HowlWriter implements independent multi-model critique ("Red Pen") where secondary reviewer models are tasked strictly with adversarial falsification—identifying factual discrepancies, unsupported logical jumps, and meaning shifts between the original draft and edited revisions. If meaning invariance checks fail, the mutation is rejected.
SECTION // 05 Voice Profile & Author Quirks
HWR-MOD-VOICE
Generic writing assistants summarize style with simplistic adjectives like "professional" or "conversational." This strips away the idiosyncratic voice of the author. HowlWriter builds a structured VoiceProfile grounded in statistical reality:
n't, 've, 'll), rhetorical question density, and heuristic fragment rates.
Honest Metric Policy: Calculating a defensible "voice match percentage" requires a validated comparison distance model. Because approximating this without validation produces misleading results, HowlWriter leaves voice_match as None and omits the line from reports rather than inventing an arbitrary number.
SECTION // 06 Meaning Preservation & The Red Pen
HWR-MOD-MEANINGA major hazard in AI editing is semantic drift: a rewrite sounds smoother, but subtly alters claims, removes necessary qualifications, drops technical constraints, or changes statistical numbers.
- CRITICAL: Lost modal hedge
"may"→ converted probabilistic possibility into absolute certainty. - WARNING: Dropped qualification
"approximately"and scope"under heavy concurrency". - WARNING: Stripped evidentiary attribution
"according to preliminary benchmarks".
The Red Pen Engine: Pure criticism without rewriting. The Red Pen flags logical leaps, unsupported assertions, and passive evasions, providing clear editorial commentary while leaving the pen in the author's hand.
SECTION // 07 HowlPlane Integration & Reviewer Independence
HWR-MOD-HOWLPLANEHowlWriter maintains a strict separation of concerns with HowlPlane:
- HowlWriter owns: Writing semantics, domain roles (
HUMANIZER,FINAL_REVIEWER,RED_PEN,WRITER), prompt contracts, deterministic linting, and meaning-preservation rules. - HowlPlane owns: Model execution, provider resolution (Claude, Codex, local Ollama), routing, timeouts, independent reviewer enforcement, and evidence ledger persistence.
┌────────────────────────┐
│ HOWLWRITER PIPELINE │
└───────────┬────────────┘
│
WritingRole Request
(Domain: writing)
│
▼
┌────────────────────────┐
│ HOWLPLANE CONTROL │
│ RoleDispatcher Engine │
└─────┬────────────┬─────┘
│ │
Execute HUMANIZER Role │ │ Enforce avoid_provider
(e.g., Provider: Claude)│ │ (e.g., Provider: Codex)
▼ ▼
┌────────────┐┌────────────┐
│ MODEL A ││ MODEL B │
│ Humanize ││ Review │
└─────┬──────┘└─────┬──────┘
│ │
└──────┬──────┘
│
Durable Evidence
IndependenceStatus
│
▼
┌────────────────────────┐
│ HOWLWRITER REPORT │
│ STATUS: READY / REVIEW │
└────────────────────────┘
Observable Reviewer Independence: When multiple providers are configured, HowlPlane ensures the model evaluating meaning differs from the model that performed the rewrite. The result is transparently recorded as INDEPENDENT, SAME_PROVIDER, NOT_REVIEWED, or UNAVAILABLE.
SECTION // 08 Provenance Graph & APA 7 Citations
HWR-MOD-PROVENANCE
Appending disconnected URLs at the end of an article fails to establish actual truth. HowlWriter features a queryable in-memory ProvenanceGraph linking claims, sources, and evidence in both directions:
Provenance Graph Queries
sources_for_claim(claim_id)— Which sources support a given sentence?claims_for_source(source_id)— Which claims depend on this source?evidence_for_claim(claim_id)— Verbatim evidence snippet backing the claim.unsupported_claims()— Flag claims lacking verified evidence.unaccessed_sources()— Flag cited sources never actually retrieved.
APA 7 Citation Formatting
- Parenthetical:
(Smith, 2024)/(Smith & Jones, 2024) - Narrative:
Smith (2024)/Smith et al. (2024) - Reference List: Alphabetized entries with locator formatting.
- Missing Metadata Warnings: Emits
CITATION_METADATA_MISSINGwarnings instead of fabricating dates or authors.
SECTION // 09 CLI Usage & Execution Report
HWR-MOD-CLIEvery HowlWriter capability is accessible via a standalone CLI subcommand:
# 1. Deterministic style & AI habit linting
howlwriter lint draft.md
# 2. Humanization findings (and opt-in safe rewrite)
howlwriter humanize draft.md --deterministic --apply
# 3. Pure Red Pen critique without modifying prose
howlwriter red-pen draft.md
# 4. Extract factual claims (all claims start UNVERIFIABLE)
howlwriter fact-check draft.md
# 5. Generate formatted APA 7 citations from source metadata
howlwriter cite apa7 sources.json --form parenthetical
howlwriter references apa7 sources.json
# 6. Learn author voice profile from a corpus of real writing
howlwriter voice learn post1.md post2.md --author "Jane Doe"
# 7. Compare meaning preservation between original and revised drafts
howlwriter finalize original.md revised.md
# 8. Execute the complete end-to-end pipeline
howlwriter howl draft.md
Real Execution Report Output
HOWLWRITER REPORT
Mode: TECHNICAL
Humanizer: claude_code
Meaning Reviewer: codex
Reviewer Independence: INDEPENDENT
Deterministic Lint:
Before: 4 findings
After: 0 findings
AI-style warnings 0
Banned words 0
Meaning Preservation:
Deterministic: PASS
Semantic Review: PASS
Changes:
- Restructured passive constructions in paragraph 2
- Replaced canned transition "At its core" with concrete technical context
- Preserved author's intentional sentence fragment in paragraph 4
STATUS: READY
SECTION // 10 Current Status & Transparent Roadmap
HWR-MOD-STATUSHowlWriter is under active development and dogfooding. We represent current capabilities transparently:
| Feature Area | Working Today (v0.1.0-dev) | Planned / Roadmap |
|---|---|---|
| Style Linting | WORKING NOW 10 built-in rule families, config-gated | Additional domain rulepacks (Academic, Medical) |
| Humanization | WORKING NOW Pattern detection, safe rewrites, HowlPlane model bridge | Custom author-tuned humanizer models |
| Editorial Critique | WORKING NOW Deterministic Red Pen critique engine | Multi-agent dialectical critique panel |
| Voice Learning | WORKING NOW CorpusStatsLearner distributions & representative excerpts |
Validated semantic voice distance metric |
| Meaning Verification | WORKING NOW Number/hedge diffing & independent model review | Fine-grained semantic entailment trees |
| Citations | WORKING NOW Full APA 7 formatter & missing metadata warnings | MLA, Chicago, IEEE, Harvard citation styles |
| Fact Verification | WORKING NOW Span claim extraction, queryable ProvenanceGraph | Automated search engine verification agents |
| File Ingestion | WORKING NOW Plain text & Markdown | PDF, DOCX, and HTML document ingestion |
SECTION // 11 Howl Ecosystem Members
HWR-MOD-ECOSYSTEMHowlWriter is part of the unified Howl software ecosystem:
Central ecosystem portal, architectural blueprint, and cross-project governance map.
AI DSL compiler, typed HFIR intermediate representation gate, and capability-bounded VM.
Autonomous AI engineering control plane with deterministic routing, adversarial falsification, and human gates.
Governed release controller enforcing cryptographic human approvals and bounded Git mutations.
Engineering knowledge notebook and full-stack dogfood consumer proving native persistent storage.
Live telemetry console and full-stack deterministic task state machine application.
Persistent asynchronous work coordination, long-running agent relays, and crash-resilient session journals.
Speculative agent prototyping sandbox with branching hypothesis trees and safe isolation.