FDOC 1.0 — Forma Documentary Orchestration & Corpus
Status: FDOC 1.0 application program frozen (Implementation A; clean-room B + external ratification evaluator RAT0 closed the freeze); corpus pipeline + portal delivered by CAMPANHA-AUTORIA-MULTIATOR-v0.1
Normative owner (corpus): docs/autoria-multiator-campaign-v0.1/CAMPAIGN-CHARTER.md — the typed-route thesis and the R1/R2/R3 regime definitions
This documentation set: generated by CAMPAIGN-FORMA-DOCS-QUAD-v0.1 from the implemented code. Documentation is not semantic authority.
What it is
FDOC is documents whose standing is typed. The thesis of the whole line: suggestion is not authority; the typed route is. A document exists in a documentary state with its own identity; copies are representations; the route a document traveled — who drafted it, what was adopted, who ratified — is recorded provenance, carried forever by the ledger.
The corpus pipeline proves it on a real corpus (7 documents — Machado de
Assis short story, meeting minutes, contracts, proposals — in Portuguese)
with determinism as a gate: rebuilding the corpus reproduces the
committed dist/ packages byte for byte.
The three regimes
| Regime | Meaning | Route duty |
|---|---|---|
R1 human-direct | A human typed the draft and routed it | No candidates, no ratifier admissible |
R2 ai-assisted | An agent emitted adopted candidates; a human routed the result | Requires adopted candidate(s) |
R3 agent-drafted | An agent authored the whole candidate; a human ratified it | Requires the candidate and a declared ratifier |
Enforcement is on the route (crates/fdoc-corpus/src/build.rs), not on
trust: the demos show live typed refusals.
The D-G0 law
The browser never mints. The workbench UI is presentation-only: drafts posted from the editor are non-authoritative; standing comes only from server-side route actions (stage/ratify), and every page says so.
Crate map
| Crate | Role |
|---|---|
crates/fdoc (formasl-fdoc, bin fdoc) | FDOC 1.0 application program: admissions, checkpoints, publication/reflow, packaging, semantic processor, exact source authority (11 CLI verbs) |
crates/fdoc-corpus (bin fdoc-corpus) | The authoring convention (.fdoctxt), the corpus builder, candidate staging, ratification route, deterministic packaging + committed dist/ |
crates/fdoc-b | Clean-room Implementation B (independent encoder; interop boundary RAT-3) |
crates/fdoc-rat0 | External ratification evaluator (attack battery A79; neither A nor B is its oracle) |
crates/semantic-ui-fdoc | Bridge FDOC → Semantic UI v0.4 (AuthorizedProjectionBridge over real checkpoints only) |
6.5.3, vendored, digest-committed; no CDN, no runtime downloads).
Documentation map
| Document | Contents |
|---|---|
| CONVENTION.md | The .fdoctxt authoring format: header, block markers, canonical text, typed errors |
| REGIMES.md | R1/R2/R3 duties and refusals, with the live DENIED transcripts |
| PACKAGES.md | The .FDOC package format, the ledger, verification and dependency closure |
| GETTING-STARTED.md | CLIs and the demo, with executed transcripts |
| WORKBENCH.md | The portal: routes, state machine, D-G0 |
| DEFINITIONS.md | Standing, identity/binding/digests, glossary |
Reading order: README → CONVENTION → REGIMES → PACKAGES → the surface you will use (CLI = GETTING-STARTED; UI = WORKBENCH).
What FDOC is not
FDOC != a markdown flavor (the convention is total and fail-closed;
canonical text is rebuilt from the model)
FDOC != a signature scheme (ratification is a declared external premise
with provenance, not cryptography-as-trust)
FDOC != trust minting (nothing in the pipeline mints authority;
AI is candidate-only, everywhere)
projection until routed server-side)