Status: reasoning document.
What a grounded long-form AI writing system must do, how closed- and open-source tools measure up against that bar, the architectural principles that follow from it, and where Chitragupta itself stands against its own requirement set.
Written for someone deciding whether Chitragupta's architecture is the right one, or checking it against its own requirements. Assumed: nothing; this file is self-contained. Not covered here: the day-to-day mechanics of running the pipeline (README.md, CLI.md); this is a requirements-and-status record, not a how-to.
A note on the landscape section's evidence quality (§2): nearly all "Best X in 2026" comparison content in this product category is vendor-authored SEO material (Paperguide, SciSpace, Anara, and Kenkyu each publish "neutral" comparison pages ranking themselves first). Throughout, a claim a vendor makes about a competitor (an against-interest admission, e.g. "Jenni has no plagiarism checker") is treated as more reliable than a claim a vendor makes about itself. It is a point-in-time market snapshot, not a tracked claim, and nothing in §5's status table depends on it. Everything said about Chitragupta itself in §5 is checked against the code.
The defining failure of LLM-assisted academic writing is citation fabrication: models invent plausible-looking references, page numbers, and quotes. A grounded writing system exists to make this failure impossible or detectable. The full requirement set, in rough order of importance:
.bib
file), and that entry must be backed by a real, parsed source
document (PDF) the user actually holds.A citation can point to a real paper and still be wrong. Beyond existence-gating, a mature system should verify:
The complement of citation grounding: the system must ensure the draft does not silently reuse the wording of its sources. This means source-vs-draft text alignment (iThenticate-style overlap regions) against the specific PDFs in the corpus, which is a different problem from web-scale plagiarism checking.
Requirements: detect maximal verbatim n-gram runs; detect paraphrase-shaped borrowing (high semantic similarity + low lexical overlap); report overlap regions side-by-side with source location (citekey, page); distinguish severity tiers; support an allowlist for domain boilerplate.
Detection without remediation leaves the human doing the tedious part. The system should route each overlap finding back into a constrained rewrite: preserve meaning and citation, avoid reusing >= N consecutive source words, or, where wording is canonical (definitions, theorem statements), convert to an explicit quotation with quote marks and a page-anchored citation. Rewrites must be re-verified before acceptance (same gate-fail-retry loop as citations), and logged for audit.
For thesis- and book-scale output: hierarchical decomposition (book -> chapter -> section), outline-first workflows, and cross-chapter consistency of terminology, notation, claims, and cross-references. Consistency cannot live in model memory; it must live in explicit artifacts (see §3.3).
Spelling, grammar, and style conformance to a house/genre standard, ideally as a deterministic-where-possible check layer (spell-checking against a project dictionary, style linting) plus LLM-assisted polish, applied per-unit and re-verified. Distinct from §1.5's structural consistency: this is about the prose surface, not the argument's shape.
For thesis and book manuscripts, many users need the corpus and drafts to never leave their machine. Local-first operation is a requirement for some and a nice-to-have for others, and it is the sharpest differentiator between open-source and SaaS offerings.
The category has converged on one pitch, citations grounded in real sources, no hallucinated references, because fabricated citations became the signature embarrassment of LLM academic writing. All of these are closed SaaS where the grounding mechanism is a trust claim, not an inspectable mechanism. None publishes its enforcement code; none runs locally.
| Tool | Core model | Grounding claim | Plagiarism check | Long-form ceiling |
|---|---|---|---|---|
| Paperguide | Full research workspace: 200M+ paper search, reference manager (Zotero/Mendeley import), AI Paper Writer, PDF Q&A with page-level citations, systematic reviews (PRISMA), data extraction, team workspaces | "Citations applied automatically against the actual library"; "every cited paper verified against the actual reference" (own marketing) | Yes (paid plans), but web/academic-scale, Turnitin-style, not local-corpus | Thesis chapters; markets "multi-chapter consistency" |
| SciSpace | Paperguide's closest competitor: 280M paper search, PDF reading/Q&A, data extraction, literature review generation, reference management, AI Writer | Library + index grounded drafting | Not a differentiator | Paper/section scale |
| Jenni AI | Writing-first: upload your own PDFs (~50), grounded autocomplete and citation suggestions from that uploaded library; "Claim Confidence" flags unsupported claims | "Zero hallucinated references -- all autocomplete suggestions grounded in your actual source library" (marketing). Closest commercial tool in spirit to a bring-your-own-corpus model | No (conceded even by competitors' comparisons) | Chapter-by-chapter autocomplete |
| ThesisAI | Long-form first-draft generator: up to ~80-page documents from a single prompt; LaTeX/Overleaf/Zotero integration; 20+ languages | Draft-from-sources | No | The most aggressive long-form claimant (~80 pages), but single-prompt generation != coherent book |
| Logically (ex-Afforai) | Reference manager + chat-with-your-documents + light writing layer; RIS/BibTeX/CFF import | Answers grounded in your library | No | Interrogation, not drafting |
| Anara (ex-Unriddle) | Works only with uploaded PDFs; multi-paper comparison chat with passage-linked answers; light writing layer | Passage-linked answers from your corpus | No | Reading/annotation layer |
| Paperpal | Late-stage editing: academic language polish, journal submission checks | Not a drafter | Yes (paid) + AI detection | Editing, not generation |
| Elicit / Consensus / Scite | Research Q&A and evidence synthesis over large paper indexes (Scite: Smart Citations database) | Retrieval-grounded answers | No | Q&A/synthesis, not document drafting |
| Yomu AI, AnswerThis, Writefull, QuillBot, Thesify | Long tail: minimalist writers, proposal-stage synthesis, language polish, paraphrasing, rubric feedback | Varies | Mostly no | Essay/section scale |
The open question for all of them is whether the grounding is a blocking gate (a hallucinated citekey architecturally cannot reach output; generation is rejected and retried) versus "the writer draws from the selected set and this usually works." This cannot be determined from outside a closed system. The decisive empirical test: give the writer's library a deliberate gap (prompt for a claim whose natural source is absent) and observe whether it fabricates, omits, or refuses. §6 restates this as a standing experiment.
SciSpace and Paperguide also blend the user's library with their large public index, which reintroduces ambiguity about what the writer is allowed to draw from. Jenni and Anara are purer "your library is the whole universe" designs.
No open-source project replicates the full commercial feature set. What exists:
chitragupta.draft gate) on the only draft->render path, with failed drafts
regenerated automatically; local-first (corpus never leaves the
machine); auditable, readable enforcement code; closed-corpus
verbatim-overlap detection (exact and paraphrase tiers), a
rewrite-and-reverify remediation skill, and an automatic,
non-blocking prose/dialect checker (§5). This architecture
(bibliography-only entrance + deterministic ledger + blocking gate as
sole exit) has no direct open- or
closed-source equivalent, and the gate remains the only blocking
check anywhere in the pipeline by deliberate, measured decision (§5.1).hadufer/claude-storm
fork is credited and adapted by Chitragupta's deep-research skill):
grounded Wikipedia-style article generation from retrieved sources;
pulls from the live web, not a closed user-curated bibliography;
no hard citekey gate.legacy/ under Apache-2.0. Its one valuable idea here is
label-by-construction: sample a chunk, record its id as
the ground truth, and only then generate a question from it, so the
label needs no judge. Its filters are worth the same look,
particularly the one that drops passage-dependent questions ("what does
the table show?") that no retriever can resolve.Read for architecture only, as INSPIRATION.md requires. The result was largely negative, and that is the useful part: these are not the places to look for the two capabilities this project keeps being asked about.
| Query manufacture | Is a citation verified? | |
|---|---|---|
| OpenScholar | None. No decomposition, no rewriting, no HyDE. Its one LLM generator caps at 3 by split(", ") at temperature 0.9 |
No. Positional [n] into a reranked list, so a marker denotes a rank slot rather than a document. Posthoc attribution is a pure LLM prompt that silently returns the original text when its markers are missing |
| RAGFlow | Three LLM rewrites, all off by default; decomposition exists but sits behind thinking_mode |
No. If the model emitted any marker, the only check is i < len(chunks), an array-bounds test. Its fallback attributor lowers a 0.63 threshold by ×0.8 in a loop until something matches |
| papersgpt | None, in both versions; the raw user string goes straight to embedding | No. One regex turns a REFID: marker into an anchor; the "click to jump" lands on a line the model itself wrote. Its prompt contract points citations at the source papers' own bibliographies: works never parsed, and not necessarily in the library |
| local-deep-research | Fixed round counts. One deterministic templated generator (entity coverage) | No. An out-of-range [42] survives as inert literal text. Its own benchmark strips citation markers before grading, so citation correctness is never measured at all |
Three consequences follow, and each is a design decision this project already took differently:
The same read asked a second question: once output exists, what happens if you want it changed? Taking revision to mean a path that accepts a prior artifact as input, emits a modified version of that artifact, and persists it so the prior is superseded or versioned:
None of the four supports it. Regeneration is the only model, zero for four. Three come close enough to look like exceptions, and each fails differently:
| System | Looks like revision | Why it is not |
|---|---|---|
| OpenScholar | the --feedback edit loop |
it runs before the artifact exists: intra-generation refinement, not a post-hoc path |
| RAGFlow | a regenerate button in the UI | it truncates the history and re-asks: the prior answer is destroyed, never read as input, and no version is kept. refine_multiturn rewrites the question, not the answer, and PATCH .../sessions/<id> explicitly refuses to change stored messages, so this is a deliberate design refusal rather than a missing feature |
| papersgpt | "writes findings into Zotero Notes" | it appends at the cursor of an editor you already had open, and never looks a note up. Its chat state is one global in-memory conversation that dies on restart |
| local-deep-research | follow-up carrying a parent_research_id |
it creates a new child row; the parent's report is untouched |
Three properties follow, and each is a requirement this project already meets:
All four persist far more than they consume. OpenScholar writes a complete
refinement audit trail (the pre-edit draft, the feedback, every accepted edit)
and reads back only len(). RAGFlow stores per-turn retrieved chunks in a
parallel array no revision path exists to use. The state a revision feature
would need largely already exists on disk in three of the four; what is missing
is any entry point that reads it.
Useful mainly for placing this project in the field's own vocabulary rather than its own:
Placed against those, this pipeline is Advanced (not Modular),
Once (not iterative, apart from one opt-in two-round re-grounding
in draft-reviser), Doc-granularity on its lexical path,
input-layer by necessity, and train-free by design.
RAG.md carries the
table and what each choice costs.
The surveys supply three things that §1's requirement list did not. The first is that intermediate- and output-layer integration are unavailable to any pipeline driving a model through an inference API, so a large part of the published technique space is inapplicable rather than merely unbuilt. The second is negative rejection (declining to answer when the retrieved material does not support one), named as a first-class evaluable ability. This project is built around that behaviour and has never measured it: FEATURE-ROADMAP.md's C6 is skipped by evidence, because on a corpus of 642 papers about one subject a negative query set cannot be built by subtraction, and no retrieval call this project has logged has ever come back short. The behaviour is reported per draft (a declared query that returned nothing is named, and the sentences resting on it are cut rather than cited), but reporting it is not measuring the rate. The third is a defence of retrieval that does not depend on context length: Gao §VII-A argues that RAG's durable advantage over a long-context model is that "the entire retrieval and reasoning process is observable, while generation solely relying on long context remains a black box". That is §1.1's gate property argued from the outside.
RAG.md is the stage-by-stage version of everything below: the eleven stages of a RAG pipeline, the algorithm each of these systems uses at each, and the trade-off it buys.
A follow-up read of AutoRAG and MiniRAG added two findings and one warning.
The warning is about measuring retrieval at all, and it is the most
useful thing either system produced. AutoRAG generates its evaluation
questions from the gold chunk's own text. The query therefore inherits
that chunk's vocabulary, so the set structurally favours lexical
retrieval: a BM25 change scored on it looks better than it is, and
nothing upstream flags this. It also has no near-duplicate question
dedup, and no train/test tooling at all: its own documentation warns
about overfitting while its code does nothing to prevent it. A
generated evaluation set is not neutral ground for a retrieval change.
This project's bench_retrieval_keyword_selfretrieval.py avoids the
circularity by construction: author-assigned keywords were written
without reference to any retriever, or to the paper's body text.
Worth adapting. Label-by-construction (AutoRAG): fix the ground truth before generating anything, so no judge is needed. Cross-route agreement (MiniRAG): a passage that two independent retrieval routes reach is worth multiplicatively more than one either route merely ranks highly. It is implementable over BM25 in stdlib, needing no graph, no embeddings and no LLM.
Not worth taking. MiniRAG's index needs an LLM pass per chunk
(about 8,400 calls and tens of millions of tokens for a 500-paper
corpus) to build entity nodes typed organization / person / location /
event, a news ontology with no override hook and little purchase on
academic content. Its retrieval value ultimately flows through a
chunk-id adjacency list, which a SQLite ledger already stores exactly
and without hallucination risk. Its paper also never benchmarks
against BM25 ("beats NaiveRAG" means beats embedding-only retrieval),
so there is no published evidence it would beat what already runs
here. And its generator is handed anonymous text: chunk identity is
replaced by a loop index before the prompt is built, which is the
inverse of this project's requirement.
That is the gap DRAFT-ITERATION.md's dossier and
the draft-reviser / corpus-reviser split fill, and this read found
no open- or closed-source equivalent for either. A hand-edited draft
is visible here too: dossier stamp and dossier status fingerprint
the draft and report a hand edit (DOSSIER.md).
A third structured read, of OpenScholar (this time its retrieval half; §2.2 already covers its synthesis half), FlashRAG, RAG-Retrieval, FlashRank and llama_index, alongside a re-read of AutoRAG and MiniRAG, preceded the topic-discovery feature (TOPIC-DISCOVERY.md), and unlike the reads above its findings are decisions that shipped, not notes. The itemised borrowed/refused ledger is in INSPIRATION.md; what belongs here is what these systems said about the requirements.
Their retrieval quality lives in three reusable, LLM-free mechanisms, and all three transferred. Rank-based fusion (RRF, via llama_index's fusion retriever; rank-based, so BM25 and cosine never need calibrating against each other); the bi-encoder-recall-then-cross-encoder-precision cascade (OpenScholar runs it over 45M papers with a 110M/340M model pair; here the same shape rescores a topic list in milliseconds, through the reranker the embed index already loads); and extractive-only compression (FlashRAG's extractive refiner: select sentences, never summarise), which is also what §1.2's faithful-use requirement independently demands.
Their headline quality comes from LLM stages this project refuses, and
the refusals were cheap. MiniRAG's per-chunk LLM entity
extraction is replaced by the topic model that already exists;
OpenScholar's self-feedback loop and post-hoc citation attribution
solve a problem the citekey invariant defines away; AutoRAG 2.x is an
LLM agent at query time, so only its archived 1.x methodology
transferred: the hand-labelled gold set and per-stage metrics that
bench/topic_discovery_eval.py implements, with the generated-QA
circularity §"Two more" documents avoided by hand-writing the queries.
One requirement sharpened. The graph-RAG systems keep documents and concepts in one traversable structure; this project's equivalent (topics and papers, typed edges, every edge explainable by naming citekeys) confirmed that a personal-corpus graph needs no graph database, no service, and no LLM: one derived JSON file suffices at this scale, which is an architectural claim §3.1's two-plane separation predicted and the feature demonstrates.
A distinct sub-field. No open-source tool matches iThenticate's web-scale index (billions of crawled pages + publisher partnerships), but for the closed-corpus use case that index is unnecessary; every open option compares only against sources you supply, which is exactly right when the corpus is already local PDFs.
Verified (project site read directly):
Research lineage (published methods + evaluation corpora, competition code rather than products):
Gaps in open tools: exact/near-exact matching is well covered;
paraphrase detection requires the embedding-based approaches; nothing
was turnkey. docs/PLAGIARISM-DESIGN.md's "Where this sits in a bigger
plan" table records which of these methods Chitragupta chose for each
of its three detection tiers, and why; see §5.1 below.
The fundamental constraint: a book does not fit in a context window, and generation quality degrades long before the limit. Every sound architecture is a response to that fact plus the grounding requirement. These are the principles Chitragupta's own architecture follows; DESIGN.md is the fuller rationale document for the same choices, where the two overlap.
The corpus layer (PDF parsing, text extraction, bibliography parsing, content hashing, chunk indexing) must be fully deterministic, LLM-free, and idempotent. The generation layer sits on top and is treated as untrusted: everything it produces gets verified against the substrate. Mixing LLM judgment into the corpus layer destroys reproducibility and makes downstream verification circular.
Constraint: no LLM call may ever write to the corpus plane.
"Only cite these sources" as a prompt instruction fails probabilistically; it must fail deterministically. This requires (a) a single admission point for sources (the bibliography), and (b) a gate on the only path from draft to output. The principle mirrors capability-based security: the generator is not asked not to fabricate; it is unable to get a fabrication past the boundary. The same pattern generalizes to page numbers, quoted spans, and (with more work) numeric claims.
Cross-chapter consistency cannot live in model memory across calls. It lives in explicit artifacts:
Each generation call receives only the artifacts relevant to its unit of work. This is the book-vs-thesis dividing line: at thesis scale one can partially cheat with large contexts; at book scale, consistency is entirely an artifact-management problem. (Commercial chat-centric SaaS externalizes very little, which is why their "multi-chapter consistency" claims are weak and their ceiling is thesis chapters.) Chitragupta externalizes per-draft state this way, via the dossier (DRAFT-ITERATION.md), and book-scale state through the spec and the registries (§5.2).
Book -> part -> chapter -> section, planned top-down (outline approved first), generated bottom-up in units small enough that grounding retrieval + genre instructions + local context fit comfortably in the context budget: typically a section, not a chapter. Each unit has a contract: inputs (spec slice, registry excerpts, retrieved source chunks) -> outputs (draft + citations + claims to register). Units are independently regenerable, enabling parallelism and cheap iteration.
Cheapest first:
python -m chitragupta.draft registry check always
exits 0, a review aid rather than a gate.Constraint: only deterministic checks may block, and not every deterministic check should. A fallible checker in a blocking position creates infinite rewrite loops on false positives; a deterministic checker with no threshold that separates its two populations creates the same failure by a different route (§5.1's
overlap_gatemeasurement). Blocking failures trigger bounded regeneration retries and then fail loudly to the human; they never silently pass.
At book scale, one section is regenerated fifty times while 200 pages sit untouched. Every stage is keyed by the content hash of its inputs so a full-pipeline re-run costs only what changed. The same machinery yields the audit trail: a ledger recording which sources, prompts, model, and verification results produced every span.
Genre rules (thesis chapter vs. tutorial vs. survey vs. deep research), house style, citation format, and structural templates live in editable skill/config files consumed by the generation layer, which makes the pipeline retargetable (thesis -> book -> tutorial series) without touching enforcement machinery.
How Chitragupta meets each principle, in the dependency order the principles above imply. §5 has the status table.
chitragupta/core/corpus/bib_reader.py handles the real format quirks. Zotero's
file field is Description:path:mimetype, ;-separated per attachment,
with relative paths anchored to the .bib file's own directory
(docs/ZOTERO.md documents the trap this avoids); brace-matches
entries to their true end rather than naive \n} matching, which
truncates entries with multi-line fields.chitragupta/core/corpus/pdf_text/ extracts text per PDF (pdftotext -layout or docling), preserving page boundaries (form-feed splits)
so every downstream check can report page numbers.content/ledger.sqlite content-hashes every artifact
(PDF, parsed text, bib entry) and is the ground truth for "what
exists" and the cache key for everything downstream.python -m chitragupta.draft gate validates every citekey a draft uses
against the ledger, which sync fills only from the bib export, on
the only draft->render path. On
failure: the drafting skill discards the bad claim, drafts again, and
loops until it passes; the human sees a finished, gated draft, not
the failed attempts. A PostToolUse hook
(.claude/hooks/citation_gate_hook.py) enforces the same check
mechanically on every write under content/drafts/.python -m chitragupta.review verbatim scan): every parsed source is
fingerprinted once into a disk-cached, ledger-keyed index; the whole
draft, not just citing paragraphs, is scanned against it; findings
report run length, source, page, fragment and draft context, bucketed
by severity with a per-phrase boilerplate allowlist.bench/RESULTS.md
and docs/PLAGIARISM-DESIGN.md record the finding: on this project's
own 178,000-word book, no span-length threshold separated the one
genuine planted violation from the false positives (correctly quoted,
correctly attributed passages that several corpus papers also quote).
Declined. chitragupta.draft gate remains the only blocking check
in the pipeline.--json, draft span, source
span, citekey, run length) and feed the agenda-reviser skill: a
constrained rewrite per finding, restating the draft's own register
while preserving citation and meaning, or, for long runs, stopping
to ask the human paraphrase-or-quote rather than deciding silently.chitragupta.draft gate
before acceptance, and logged in the draft's dossier
(revisions.md), so edit provenance is as auditable as citation
provenance.python -m chitragupta.draft style wraps a
vendored Vale configuration (assets/vale/) checking §2's defect markers, an
unexpanded acronym, §4's and §7's fixed phrases, and dialect
conformance against the draft's own recorded language: line
(content/dossiers/<slug>/scope.md). A
review aid, never a gate, and deliberately so: unlike a citekey, a
recorded dialect can be wrong, stale, or a quoted title, so blocking
on it would refuse a correct draft on a bad target. A
non-blocking PostToolUse hook
(.claude/hooks/style_check_hook.py) and a step in every genre
skill invoke it automatically; draft-reviser's copy-edit mode is
the sanctioned path when a finding should be acted on.
LLM-assisted polish is that copy-edit mode: a constrained,
meaning- and citation-preserving rewrite that must re-pass every
gate.render_output language
metadata / non-English hyphenation and CSL, locale-aware
reference connectives such as "and" vs. "und" vs. "et", and
non-English retrieval (tokenizer, embeddings, OCR language) were
each designed in full in their own issue before being closed "not a
priority." None of the three is built: verified directly, there is
no babel/polyglossia or other language-metadata plumbing anywhere in
chitragupta/core/draft/render_output/. A draft in a language other than
English gets nothing automatic: pandoc renders it with English hyphenation
rules and an English-locale CSL regardless of the draft's own content,
its reference list joins authors with English "and", and its
retrieval assumes an ASCII-ish, English-tuned index. The one
exception is manual, not automatic: the References section's own
heading text can be overridden per invocation with --heading (e.g.
--heading "Bibliographie"), which the reference-connectives issue
itself calls "already soft-solved". Everything else in that
paragraph is what that issue would have built and didn't.python -m chitragupta.draft registry check) and all
advisory, not blocking: it always exits 0, a review aid rather than a
gate.DEVELOPER-AGENTS.md).Every principle in §3 is built:
| Principle | Status |
|---|---|
| Two-plane separation (deterministic parse-and-ledger corpus layer, LLM-free) | Built |
Closed-world gate (chitragupta.draft gate on the only draft->render path; failed drafts regenerate; PostToolUse hook enforces it mechanically too) |
Built, and, per the declined overlap_gate row below, still the only blocking check anywhere in the pipeline, by measured decision rather than by omission |
| Bibliography as sole source-admission point | Built |
| Local-first, auditable, open source | Built, by construction |
| Genre conventions as data (skills) | Built: twelve skills, six of which draft (GENRE.md) |
| Content-hash caching / "second run costs nothing" | Built, and load-bearing for the overlap index specifically |
| Verbatim overlap checking, exact tier | Built: corpus-wide n-gram index, disk-cached and ledger-keyed; whole-draft scan, not just citing paragraphs; severity buckets; boilerplate allowlist; --json output |
| Overlap remediation loop | Built: the agenda-reviser skill (rewrite, re-scan, re-gate, log) |
| Paraphrase detection, deterministic tier | Built: stemmed skip-grams, advisory |
| Paraphrase detection, embedding tier | Built, but narrower than §1.3 asks for: SBERT-style local alignment, advisory, and only where the optional enrichment layer, Docling passage sidecars, a synced ledger and the draft's own dossier are all present. Per docs/PLAGIARISM.md, it compares a section only against the sources that section already cites; a restatement of a source the draft never cited at all is still tiers 1 and 2's business alone, invisible to this tier by design, not just by the weak-discriminator argument below. And per docs/PLAGIARISM-DESIGN.md, even within that scope it is a weak discriminator specifically because this pipeline's retrieval step already selects a draft's grounding by semantic similarity, so "similar because copied" and "similar because correctly grounded" are hard to separate by cosine distance alone in a single-field corpus |
Blocking overlap_gate |
Declined: measured against this project's own 178,000-word book, no span-length threshold separated the one genuine violation from false positives that were correctly quoted, correctly attributed passages several corpus papers also quote. Not a gap; a closed, evidence-based decision, revisitable only given new evidence (a corpus of real rather than planted reuse, or a version-controlled seed allowlist) |
| Language quality: dialect recording, deterministic style/defect-marker check, automatic invocation, copy-edit revision path | Built: python -m chitragupta.draft style, a vendored-Vale review aid; a non-blocking hook and a step in every skill invoke it automatically; draft-reviser's copy-edit mode is the sanctioned edit path. Advisory, never a gate, by the same reasoning as the overlap gate: a recorded target can be wrong in a way a ledger entry cannot |
| Multi-language plumbing (render metadata, non-English reference connectives, non-English retrieval/OCR) | Explicitly parked, not merely absent: each of the three was fully designed in its own issue, then closed "not a priority" |
| Book-scale: spec/outline sign-off, unit decomposition, consistency registries, book assembly | Built; see WRITE-A-BOOK.md |
| Topic discovery: topic graph, phrase-to-topic resolution with a cross-encoder precision tier, extractive overviews, gold-set benchmark, offline HTML map | Built: LLM-free end to end, every relation explainable by naming citekeys; see TOPIC-DISCOVERY.md and §"Five more" above for what those systems contributed and what was refused |
Competitive position: commercial tools (Paperguide, SciSpace, Jenni, ThesisAI, ...) remain feature supersets as products, but Chitragupta's architecture is ahead of them on grounding. It does closed-corpus overlap detection across all three PAN-literature tiers, with a measured, on-the-record decision about where a second blocking gate would and would not help, which none of the commercial tools publish enough to even ask about.
What raises the ceiling from chapter/report scale to book scale is built and described in full in WRITE-A-BOOK.md. It depended on none of the tracks above, but benefits from all of them, since every gate and every review aid built there applies per-unit at book scale, which is what makes a 300-page grounded document tractable at all. Its four parts:
content/dossiers/.WRITE-A-BOOK.md describes each as built.
Test the commercial tools' gate claims empirically: in Paperguide's (or Jenni's) writer, select a library with a deliberate gap and prompt for a claim whose natural source is absent. Whether it fabricates, omits or refuses settles, per tool, whether "citation-grounded" means a gate or a tendency, and calibrates how unique Chitragupta's blocking property is in practice. Nothing in this pipeline's own design depends on the answer; it is offered here because it is the fastest way for anyone comparing tools in this category to stop taking a vendor's grounding claim on faith.