# Famulus Certificate — the one statement of its elements and conditions.
#
# Owner, 21 Nov 2026 (dossier publications.md, "Famulus Certificate"): every computer-generated publication of Famulus
# Expertise must pass a certificate; the certificate is labelled like a Creative Commons licence, with a specification
# of its own that is published the way the Creative Commons rules are published and so made generally usable.
#
# Everything that states the certificate is written from this file: the deed (DE, EN), the specification, the
# machine-readable description (JSON-LD), the badge, the gates of the series that measure an element
# (gates/katalog/zertifikat.yaml names the element), the colophon of an issue, the Comment for Nature Computational
# Science. The independent checker (checker/fc_check.py) does not read this file: it is written from the
# specification, so that a defect here cannot hide a defect there.
#
# Lifecycle: a published version is never changed. A change is a new version with its own address
# (/certificate/<version>/); the old version keeps its address and stays valid for what was certified under it.

certificate: Famulus Certificate
short: FC
version: "1.0"
status: draft            # draft | in-force | superseded. In force when the owner adopts it; until then every mark says "draft".
date: 2026-11-21
steward: {name: OpenScienceTechnology GmbH, place: Duisburg, editor: Gerd Graßhoff}
url: https://famulus.lettre.ai/certificate/1.0/
licence_of_the_text: {name: CC BY 4.0, url: https://creativecommons.org/licenses/by/4.0/}
format: famulus-certificate/1

purpose:
  en: >-
    The Famulus Certificate states that a publication carries the justification of its claims in a form that others
    can examine: every claim as a proposition, every ground at a pinned address, the argument as an explicit structure,
    everything mechanical re-run by a checker that is not the producer's, and every judgement that no program settles
    listed and signed by a named person. It certifies a procedure and its record. It does not certify that a claim is
    true.
  de: >-
    Das Famulus-Zertifikat bescheinigt, dass eine Publikation die Begründung ihrer Aussagen in einer Form trägt, die
    andere prüfen können: jede Aussage als Proposition, jeder Grund an einer gepinnten Adresse, das Argument als
    ausdrückliche Struktur, alles Mechanische von einem Prüfprogramm nachgerechnet, das nicht das des Herstellers ist,
    und jedes Urteil, das kein Programm entscheidet, aufgelistet und von einer namentlich genannten Person
    unterzeichnet. Es bescheinigt ein Verfahren und dessen Protokoll. Es bescheinigt nicht, dass eine Aussage wahr ist.

# Why the certificate exists, on what it rests, and how it becomes binding (owner, 21 Nov 2026, dossier
# publications.md, "Famulus Certificate: motivation"). The deeds, the specification (§§2–4) and the paper
# "Computational Epistemology: Foundations" (§9.2) state the same.
motivation:
  - id: aim
    title: {en: "Reliable research", de: "Verlässliche Forschung"}
    en: >-
      The certificate serves reliable research: a state of science of the highest quality at a time when the tools of
      artificial intelligence grow ever more powerful. Its object is the growth of knowledge — claims that a community
      can examine and accept for reasons — on a sound foundation in the theory of science.
    de: >-
      Das Zertifikat dient verlässlicher Forschung: einem Wissenschaftsstand höchster Qualität in einer Zeit immer
      mächtigerer Werkzeuge der künstlichen Intelligenz. Sein Gegenstand ist die Förderung von Erkenntnis — von
      Aussagen, die eine Gemeinschaft prüfen und aus Gründen annehmen kann — auf solider wissenschaftstheoretischer
      Grundlage.
  - id: flood
    title: {en: "Against a flood of unchecked texts", de: "Gegen eine Flut ungeprüfter Texte"}
    en: >-
      Generative systems write texts faster than any community can read them. Without standards, scientific
      information is flooded with unchecked texts, fabrications and unreliable output that meet none of the standards
      of scientific communication. A store full of such texts is an archive of claims, not a body of knowledge.
    de: >-
      Generative Systeme schreiben Texte schneller, als eine Gemeinschaft sie lesen kann. Ohne Standards wird die
      wissenschaftliche Information von ungeprüften, gefälschten und unzuverlässig erzeugten Texten überschwemmt, die
      keinen Standard wissenschaftlicher Kommunikation erfüllen. Ein Speicher voller solcher Texte ist ein Archiv von
      Behauptungen, kein Wissensbestand.
  - id: no-way-back
    title: {en: "No way back", de: "Kein Weg zurück"}
    en: >-
      There is no way back to classical publishing. A text written by a human author alone, with at most a correction
      of its spelling, is unrealistic, and it is not desirable for method: the tools can reconstruct an argument,
      replay a computation and check a quotation at its source more completely than a reader can. What matters is not
      who typed a sentence but whether its justification can be examined and who answers for it.
    de: >-
      Es gibt keinen Weg zurück zum klassischen Publikationswesen. Ein allein von einem Menschen geschriebener Text,
      allenfalls maschinell in der Rechtschreibung korrigiert, ist unrealistisch und methodisch nicht wünschenswert:
      Die Werkzeuge können ein Argument rekonstruieren, eine Rechnung nachrechnen und ein Zitat an seiner Fundstelle
      prüfen, vollständiger als ein Leser. Entscheidend ist nicht, wer einen Satz getippt hat, sondern ob seine
      Begründung prüfbar ist und wer für ihn einsteht.
  - id: peer-review
    title: {en: "Peer review, continued", de: "Peer Review, weitergeführt"}
    en: >-
      Peer review reads a text and judges it; it cannot re-run every step. Automated scientific lectors that work under
      certified, openly stated standards take over the mechanical part of review completely: every ground at its
      place, every computation re-run, every argument made explicit. They leave to named referees, item by item, the
      judgements that no program settles. The thesis of this certificate is that in this division they fulfil the role
      of peer review better than a reading of the text alone. Famulus Lektor is the instrument that reconstructs the
      argument; the certificate continues its work into publication.
    de: >-
      Peer Review liest einen Text und beurteilt ihn; es kann nicht jeden Schritt nachrechnen. Automatisierte
      wissenschaftliche Lektoren, die nach zertifizierten, offen formulierten Standards arbeiten, übernehmen den
      mechanischen Teil der Begutachtung vollständig: jeder Grund an seiner Stelle, jede Rechnung nachgerechnet, jedes
      Argument ausdrücklich gemacht. Sie überlassen namentlich genannten Gutachtern Punkt für Punkt die Urteile, die
      kein Programm entscheidet. Die These dieses Zertifikats ist, dass sie in dieser Arbeitsteilung die Rolle des
      Peer Review besser erfüllen als eine Lektüre des Textes allein. Famulus Lektor ist das Instrument, das das
      Argument rekonstruiert; das Zertifikat führt seine Arbeit in die Publikation weiter.
  - id: open-standard
    title: {en: "An open standard", de: "Ein offener Standard"}
    en: >-
      The standards are put openly to discussion and then adopted with the broadest possible support (see "Open to discussion").
    de: >-
      Die Standards werden offen zur Diskussion gestellt und danach mit möglichst breiter Unterstützung verabschiedet
      (siehe „Offen zur Diskussion“).

# The foundation: computational epistemology (G. Graßhoff, "Computational Epistemology: Foundations", Famulus
# Fundamentals No. 1, 2026). Each tenet in the paper's own terms; `elements` names the elements that implement it.
foundation:
  title: {en: "Computational epistemology", de: "Computational Epistemology"}
  tenets:
    - id: justification
      elements: [GR, AR, IC]
      en: "A statement is justified relative to a declared space of evidence when it follows from addressed premises by the rules of the discipline and nothing in that space refutes it. Evidence justifies only as a premise of an argument. Not justified is not false: a missing ground justifies nothing and refutes nothing."
      de: "Eine Aussage ist relativ zu einem erklärten Evidenzraum begründet, wenn sie aus adressierten Prämissen nach den Regeln der Disziplin folgt und nichts in diesem Raum sie widerlegt. Evidenz begründet nur als Prämisse eines Arguments. Nicht begründet heißt nicht falsch: Ein fehlender Grund begründet nichts und widerlegt nichts."
    - id: witness
      elements: [IC, NV]
      en: "A compiled answer is a dependent witness. It restates its sources, adds no evidence, and its agreement with them confirms nothing — as a manuscript copied from an extant exemplar is no witness to the text. The output of a language model is therefore a reading to be checked, never a check."
      de: "Eine kompilierte Antwort ist ein abhängiger Zeuge. Sie gibt ihre Quellen wieder, fügt keine Evidenz hinzu, und ihre Übereinstimmung mit ihnen bestätigt nichts — so wie eine Handschrift, die von einer erhaltenen Vorlage abgeschrieben ist, kein Zeuge des Textes ist. Die Ausgabe eines Sprachmodells ist deshalb eine zu prüfende Lesart, nie eine Prüfung."
    - id: best-explanation
      elements: [AR, RF]
      en: "Where a question is open, the best explanation is the answer that survives the evidence discriminating between the candidates, not the answer that agrees with the most observations."
      de: "Wo eine Frage offen ist, ist die beste Erklärung die Antwort, die der zwischen den Kandidaten unterscheidenden Evidenz standhält, nicht die, die mit den meisten Beobachtungen übereinstimmt."
    - id: instrument
      elements: [AU, AC, CL]
      en: "A system that serves research is an instrument with which the scholar acts. It does not hold a proposition true and does not answer for one; the scholar who adopts its result asserts the proposition and answers for it."
      de: "Ein System, das der Forschung dient, ist ein Instrument, mit dem der Wissenschaftler handelt. Es hält keine Aussage für wahr und steht für keine ein; der Wissenschaftler, der sein Ergebnis übernimmt, behauptet die Aussage und steht für sie ein."
    - id: knowledge
      elements: [AU, CL, NV, GR, AR, IC, RF, EX, AC]
      en: "A claim enters the body of knowledge of a community that includes generative agents when six conditions hold: truth, accountable assertion, novelty, best attestation, communicability and scrutiny. Truth cannot be checked from outside; the other five can be checked at publication, and the nine elements of the certificate measure them."
      de: "Eine Aussage geht in den Wissensbestand einer Gemeinschaft, zu der generative Agenten gehören, ein, wenn sechs Bedingungen erfüllt sind: Wahrheit, verantwortete Behauptung, Neuheit, beste Bezeugung, Mitteilbarkeit und Prüfung durch andere. Wahrheit lässt sich nicht von außen prüfen; die anderen fünf lassen sich bei der Publikation prüfen, und die neun Elemente des Zertifikats messen sie."
  mapping:   # condition of knowledge -> elements of the certificate
    - {condition: {en: "Accountable assertion", de: "Verantwortete Behauptung"}, elements: [AU, AC, CL]}
    - {condition: {en: "Novelty", de: "Neuheit"}, elements: [NV]}
    - {condition: {en: "Best attestation", de: "Beste Bezeugung"}, elements: [GR, AR, IC]}
    - {condition: {en: "Communicability", de: "Mitteilbarkeit"}, elements: [CL, EX]}
    - {condition: {en: "Scrutiny", de: "Prüfung durch andere"}, elements: [RF, AC]}

# How the specification becomes binding (owner, 21 Nov 2026: "Die Standards werden offen zur Diskussion gestellt und
# danach mit möglichst breiter Unterstützung verabschiedet").
governance:
  stage: {en: "draft for discussion", de: "Entwurf zur Diskussion"}
  steps:
    - en: "Discussion. From 21 November 2026 the draft is open to anyone. A comment or objection names the condition it concerns (e.g. GR2) and gives its reasons; it is sent to the address below, by persons or by agents."
      de: "Diskussion. Seit dem 21. November 2026 steht der Entwurf allen offen. Ein Kommentar oder Einwand nennt die Bedingung, die er betrifft (z. B. GR2), und seine Gründe; er geht an die Adresse unten, von Personen oder Agenten."
    - en: "Record. Every objection is recorded with its outcome and answered; one that convinces changes the draft. The record is public beside the specification."
      de: "Protokoll. Jeder Einwand wird mit seinem Ergebnis verzeichnet und beantwortet; einer, der überzeugt, ändert den Entwurf. Das Protokoll ist neben der Spezifikation öffentlich."
    - en: "Adoption. After the discussion the version is adopted with the broadest possible support: persons and institutions that support it are named on its page. From then on it is in force, and it is never changed; a change is a new version."
      de: "Verabschiedung. Nach der Diskussion wird die Fassung mit möglichst breiter Unterstützung verabschiedet: Personen und Institutionen, die sie unterstützen, werden auf ihrer Seite genannt. Von da an gilt sie und wird nicht mehr verändert; eine Änderung ist eine neue Fassung."
  comments_to: gerd.grasshoff@opensciencetechnology.com
  record: discussion.html

# Who settles a condition. `checker`: the independent checker re-runs it from the certificate files alone.
# `gate`: a gate of the publishing series measures it on the publisher's side (re-run by the checker where it can).
# `author`: the named author decides it in his own terminal or in Famulus Lektor. `referee`: a named person other
# than the author signs it item by item.
settled_by: [checker, gate, author, referee]

# The nine elements (AU added 24 Nov 2026, while 1.0 is a draft; discussion.yaml). Their order and codes are fixed
# once 1.0 is adopted. A publication carries the mark only when every
# element holds; there are no partial marks. A preprint shows the state of each element instead (see `marks`).
elements:
  - code: AU
    id: authorship
    title: {en: Authorship, de: Autorschaft}
    requirement:
      en: The design of the content, the argument, the thesis and the structure of the document come from the author; every draft text is edited by the author and answered for by him; Famulus has worked only under the editing rules of this certificate (rules B, S, T).
      de: Die inhaltliche Gestaltung, die Argumentation, die These und der Aufbau des Dokuments stammen vom Autor; jeder Textentwurf ist vom Autor redigiert und wird von ihm verantwortet; Famulus hat nur nach den Bearbeitungsregeln dieses Zertifikats gearbeitet (Regeln B, S, T).
    conditions:
      - {id: AU1, settled_by: checker, en: "The authorship record names the author's sources of the text (recording of a talk, dictation, manuscript, outline, annotations), each with its SHA-256.", de: "Die Autorschaftsakte nennt die Quellen des Autors für den Text (Aufnahme eines Vortrags, Diktat, Manuskript, Gliederung, Anmerkungen), jede mit ihrem SHA-256."}
      - {id: AU2, settled_by: checker, en: "The theses and the sections of the document are listed, each with origin 'author' and the source it comes from; a thesis or section of machine origin fails.", de: "Die Thesen und die Abschnitte des Dokuments sind verzeichnet, jeweils mit der Herkunft „Autor“ und der Quelle, aus der sie stammen; eine These oder ein Abschnitt maschineller Herkunft lässt die Bedingung scheitern."}
      - {id: AU3, settled_by: checker, en: "The editing record lists every version with its SHA-256 and counts the author's notes and the proposals taken over, discarded and edited by hand; no machine change entered the text without the author taking it over.", de: "Das Redaktionsprotokoll führt jede Fassung mit ihrem SHA-256 und zählt die Anmerkungen des Autors sowie die übernommenen, verworfenen und von Hand bearbeiteten Vorschläge; keine maschinelle Änderung ist in den Text gelangt, ohne dass der Autor sie übernommen hat."}
      - {id: AU4, settled_by: checker, en: "Every finding under the rules of this certificate is recorded with its rule and decided; an undecided finding leaves the condition open.", de: "Jeder Befund nach den Regeln dieses Zertifikats ist mit seiner Regel verzeichnet und entschieden; ein unentschiedener Befund lässt die Bedingung offen."}
      - {id: AU5, settled_by: author, en: "The author has confirmed the authorship record and released exactly this text (text_sha).", de: "Der Autor hat die Autorschaftsakte bestätigt und genau diesen Text (text_sha) freigegeben."}
  - code: CL
    id: claims
    title: {en: Claim ledger, de: Aussagenverzeichnis}
    requirement:
      en: Every claim of the publication is stated as a proposition, with its place in the text, and marked as grounded, as a thesis, or as a gap.
      de: Jede Aussage der Publikation steht als Proposition mit ihrer Stelle im Text und ist als begründet, als These oder als Lücke gekennzeichnet.
    conditions:
      - {id: CL1, settled_by: checker, en: "The ledger lists at least one claim; every claim has an id, a text, a section of the publication and a status grounded | thesis | gap.", de: "Das Verzeichnis nennt mindestens eine Aussage; jede hat eine Kennung, einen Wortlaut, einen Abschnitt der Publikation und einen Status begründet | These | Lücke."}
      - {id: CL2, settled_by: checker, en: "A grounded claim names at least one ground; a gap names what is missing.", de: "Eine begründete Aussage nennt mindestens einen Grund; eine Lücke nennt, was fehlt."}
      - {id: CL3, settled_by: author, en: "The author has agreed to the ledger for exactly this text.", de: "Der Autor hat dem Verzeichnis für genau diesen Text zugestimmt."}
  - code: NV
    id: novelty
    title: {en: Novelty statement, de: Neuheitserklärung}
    requirement:
      en: The publication states what it adds, against prior work cited at its addresses.
      de: Die Publikation erklärt, was sie hinzufügt, gegenüber früheren Arbeiten, die an ihren Adressen zitiert sind.
    conditions:
      - {id: NV1, settled_by: checker, en: "The certificate holds a novelty statement with at least one item; every item names the claims it concerns and at least one prior work by address or bibliographic key, or states that no prior work is known and where it was searched.", de: "Das Zertifikat enthält eine Neuheitserklärung mit mindestens einem Punkt; jeder Punkt nennt die betroffenen Aussagen und mindestens eine frühere Arbeit mit Adresse oder bibliographischem Schlüssel, oder erklärt, dass keine bekannt ist und wo gesucht wurde."}
      - {id: NV2, settled_by: referee, en: "A referee has judged the novelty statement adequate.", de: "Ein Gutachter hat die Neuheitserklärung als zutreffend beurteilt."}
  - code: GR
    id: grounds
    title: {en: Pinned grounds, de: Gepinnte Gründe}
    requirement:
      en: Every ground stands at an address that resolves at a fixed version, and the content cited there is identified by its hash.
      de: Jeder Grund steht an einer Adresse, die in einer festen Fassung auflöst, und der dort zitierte Inhalt ist durch seinen Hash bestimmt.
    conditions:
      - {id: GR1, settled_by: checker, en: "Every ground of the ledger is a Famulus reference (famulus-ref/2) pinned by @rel:, @snap: or @sha:.", de: "Jeder Grund des Verzeichnisses ist eine Famulus-Referenz (famulus-ref/2), gepinnt mit @rel:, @snap: oder @sha:."}
      - {id: GR2, settled_by: checker, en: "For every ground the certificate holds the cited content; its SHA-256 under the declared normalisation equals the pin or the recorded hash.", de: "Für jeden Grund enthält das Zertifikat den zitierten Inhalt; sein SHA-256 unter der erklärten Normalisierung gleicht dem Pin oder dem verzeichneten Hash."}
      - {id: GR3, settled_by: checker, en: "Every quotation recorded as verbatim stands, under the declared normalisation, in the cited content of its ground; a quotation that is a rendering (a translation, a paraphrase in quotation marks) is recorded as such and appears on the residual list.", de: "Jedes als wörtlich verzeichnete Zitat steht unter der erklärten Normalisierung im zitierten Inhalt seines Grundes; ein Zitat, das eine Wiedergabe ist (Übersetzung, Paraphrase in Anführungszeichen), ist als solche verzeichnet und steht auf der Restliste."}
      - {id: GR4, settled_by: referee, en: "For every load-bearing premise a referee has confirmed an independent witness, or the premise is listed as resting on one witness.", de: "Für jede tragende Voraussetzung hat ein Gutachter einen unabhängigen Zeugen bestätigt, oder die Voraussetzung ist als auf einem Zeugen ruhend verzeichnet."}
  - code: AR
    id: argument
    title: {en: Explicit argument, de: Ausdrückliches Argument}
    requirement:
      en: The inference from grounds to claims is an explicit graph with typed edges; for every explanatory claim the rivals and the cases that discriminate between them are named.
      de: Der Schluss von den Gründen auf die Aussagen ist ein ausdrücklicher Graph mit typisierten Kanten; für jede erklärende Aussage sind die Rivalen und die unterscheidenden Fälle genannt.
    conditions:
      - {id: AR1, settled_by: checker, en: "The certificate holds the argument graph; its hash equals argument_sha of the manifest.", de: "Das Zertifikat enthält den Argumentgraphen; sein Hash gleicht argument_sha des Manifests."}
      - {id: AR2, settled_by: checker, en: "Every edge has a kind from the declared list; every node an edge names exists; the support relation has no cycle.", de: "Jede Kante hat eine Art aus der erklärten Liste; jeder Knoten, den eine Kante nennt, existiert; die Stützrelation hat keinen Zyklus."}
      - {id: AR3, settled_by: checker, en: "Every claim marked explanatory names at least one rival and, for each rival, the discriminating cases at addresses, or states why the case that would discriminate is not available (the condition is then open); or it carries the gap 'no rival examined'.", de: "Jede als erklärend gekennzeichnete Aussage nennt mindestens einen Rivalen und für jeden die unterscheidenden Fälle an Adressen, oder sagt, warum der unterscheidende Fall nicht verfügbar ist (die Bedingung ist dann offen); oder sie trägt die Lücke „kein Rivale geprüft“."}
      - {id: AR4, settled_by: author, en: "The author has agreed to every thesis, premise and step of the reconstructed argument for exactly this text.", de: "Der Autor hat jeder These, jeder Voraussetzung und jedem Schritt des rekonstruierten Arguments für genau diesen Text zugestimmt."}
  - code: IC
    id: independent-check
    title: {en: Independent check, de: Unabhängige Prüfung}
    requirement:
      en: Everything mechanical is re-run by a checker written apart from the producer's software. Outputs of language models count as readings, never as checks.
      de: Alles Mechanische rechnet ein Prüfprogramm nach, das getrennt von der Software des Herstellers geschrieben ist. Ausgaben von Sprachmodellen zählen als Lesarten, nie als Prüfungen.
    conditions:
      - {id: IC1, settled_by: checker, en: "Every file of the certificate has the hash the manifest names.", de: "Jede Datei des Zertifikats hat den Hash, den das Manifest nennt."}
      - {id: IC2, settled_by: checker, en: "Every computation of the certificate recomputes from its inputs to its recorded output, or is listed as not re-runnable on the residual list.", de: "Jede Rechnung des Zertifikats ergibt aus ihren Eingaben die verzeichnete Ausgabe, oder sie steht als nicht nachrechenbar auf der Restliste."}
      - {id: IC3, settled_by: checker, en: "Every output of a language model on which a verdict depends is recorded as a reading (model, instruction version, hashes of input and output) and appears on the residual list.", de: "Jede Ausgabe eines Sprachmodells, von der ein Urteil abhängt, ist als Lesart verzeichnet (Modell, Instruktionsversion, Hashes von Eingabe und Ausgabe) und steht auf der Restliste."}
      - {id: IC4, settled_by: checker, en: "A checker run of this certificate, by a program that is not the producer's, reports every checker condition passed.", de: "Ein Prüflauf dieses Zertifikats durch ein Programm, das nicht das des Herstellers ist, meldet jede Prüfbedingung als bestanden."}
  - code: RF
    id: referee
    title: {en: Referee sign-off, de: Gutachterliche Zeichnung}
    requirement:
      en: What no program settles is listed item by item, and a named referee other than the author signs each item.
      de: Was kein Programm entscheidet, ist Punkt für Punkt aufgelistet, und ein namentlich genannter Gutachter, der nicht der Autor ist, zeichnet jeden Punkt.
    conditions:
      - {id: RF1, settled_by: checker, en: "The residual list holds, for every grounded claim, the item 'the ground carries the claim'; for every claim, 'the claim means what the text asserts'; for every reading, 'the reading is right'; for every explanatory claim, 'the rivals are adequate'; and the item 'the novelty statement is adequate'.", de: "Die Restliste enthält für jede begründete Aussage den Punkt „der Grund trägt die Aussage“; für jede Aussage „die Aussage meint, was der Text behauptet“; für jede Lesart „die Lesart ist richtig“; für jede erklärende Aussage „die Rivalen sind angemessen“; und den Punkt „die Neuheitserklärung trifft zu“."}
      - {id: RF2, settled_by: referee, en: "Every item of the residual list carries a signature: referee, date, decision (agree | disagree), reason; the referee is not an author.", de: "Jeder Punkt der Restliste trägt eine Zeichnung: Gutachter, Datum, Entscheidung (stimmt | stimmt nicht), Grund; der Gutachter ist kein Autor."}
      - {id: RF3, settled_by: checker, en: "Every signature is bound to the current text_sha and argument_sha; a signature to another hash does not count.", de: "Jede Zeichnung ist an den aktuellen text_sha und argument_sha gebunden; eine Zeichnung zu einem anderen Hash zählt nicht."}
      - {id: RF4, settled_by: checker, en: "No item is signed 'disagree' unless the claim it concerns is withdrawn or marked as contested in this version.", de: "Kein Punkt ist mit „stimmt nicht“ gezeichnet, es sei denn, die betroffene Aussage ist in dieser Fassung zurückgenommen oder als bestritten gekennzeichnet."}
  - code: EX
    id: exposition
    title: {en: Readable exposition, de: Lesbare Darstellung}
    requirement:
      en: A readable account links each claim to its place in the checked structure, in a page edition and a print edition with the same text.
      de: Eine lesbare Darstellung verbindet jede Aussage mit ihrer Stelle in der geprüften Struktur, in einer Seiten- und einer Druckausgabe mit demselben Text.
    conditions:
      - {id: EX1, settled_by: checker, en: "The page edition has an anchor for every claim of the ledger (#claim-<id>).", de: "Die Seitenausgabe hat für jede Aussage des Verzeichnisses einen Anker (#claim-<id>)."}
      - {id: EX2, settled_by: checker, en: "The page edition and the print edition are files of the manifest with their hashes, and the page edition carries the mark of this certificate with its state.", de: "Seiten- und Druckausgabe sind Dateien des Manifests mit ihren Hashes, und die Seitenausgabe trägt die Marke dieses Zertifikats mit ihrem Stand."}
      - {id: EX3, settled_by: gate, en: "The print edition carries the same mark; the publishing series reads it from the rendered PDF.", de: "Die Druckausgabe trägt dieselbe Marke; die Reihe liest sie aus dem gesetzten PDF."}
  - code: AC
    id: accountability
    title: {en: Accountability, de: Verantwortung}
    requirement:
      en: A named author answers for the claims; contributions of AI systems are declared by part; the version is identified by content hashes; objections are recorded and answered.
      de: Ein namentlich genannter Autor steht für die Aussagen ein; Beiträge von KI-Systemen sind nach Teilen erklärt; die Fassung ist durch Inhalts-Hashes bestimmt; Einwände werden verzeichnet und beantwortet.
    conditions:
      - {id: AC1, settled_by: checker, en: "The manifest names at least one author with an identifier (ORCID or address) and the version with text_sha.", de: "Das Manifest nennt mindestens einen Autor mit Kennung (ORCID oder Adresse) und die Fassung mit text_sha."}
      - {id: AC2, settled_by: checker, en: "The AI declaration lists every part of the publication (text, preamble, argument, figures, computations, translations) with the systems that contributed and their role (none | assistive | drafting | evaluative); a part without an entry is a gap.", de: "Die KI-Erklärung führt jeden Teil der Publikation (Text, Präambel, Argument, Abbildungen, Rechnungen, Übersetzungen) mit den beteiligten Systemen und ihrer Rolle (keine | unterstützend | entwerfend | bewertend); ein Teil ohne Eintrag ist eine Lücke."}
      - {id: AC3, settled_by: author, en: "The author has confirmed the AI declaration and released exactly this version (text_sha).", de: "Der Autor hat die KI-Erklärung bestätigt und genau diese Fassung (text_sha) freigegeben."}
      - {id: AC4, settled_by: checker, en: "Every objection on record has a decided status, and every convincing objection is annotated in this version or an earlier one later than the version it read.", de: "Jeder verzeichnete Einwand hat einen entschiedenen Stand, und jeder überzeugende Einwand ist in dieser Fassung annotiert oder in einer früheren, die später ist als die gelesene."}

# The state of a certificate, computed by the checker from the conditions; never entered by hand.
states:
  certified: {en: "certified", de: "zertifiziert", rule: "every condition of every element passed"}
  pending: {en: "pending", de: "ausstehend", rule: "no condition failed, at least one is open (author, referee or gap)"}
  failed: {en: "failed", de: "nicht bestanden", rule: "at least one condition failed"}

# How the mark is written. `{elements}` are the nine codes in order, joined by the middle dot.
marks:
  certified:
    en: "Published according to the Famulus Certificate FC 1.0 [AU·CL·NV·GR·AR·IC·RF·EX·AC] — https://famulus.lettre.ai/certificate/1.0/"
    de: "Veröffentlicht nach dem Famulus-Zertifikat FC 1.0 [AU·CL·NV·GR·AR·IC·RF·EX·AC] — https://famulus.lettre.ai/certificate/1.0/"
  pending:
    en: "Famulus Certificate FC 1.0: pending — {held} of 9 elements hold [{state}] — https://famulus.lettre.ai/certificate/1.0/"
    de: "Famulus-Zertifikat FC 1.0: ausstehend — {held} von 9 Elementen erfüllt [{state}] — https://famulus.lettre.ai/certificate/1.0/"
  failed:
    en: "Famulus Certificate FC 1.0: not passed [{state}] — https://famulus.lettre.ai/certificate/1.0/"
    de: "Famulus-Zertifikat FC 1.0: nicht bestanden [{state}] — https://famulus.lettre.ai/certificate/1.0/"
  # In `{state}` an element that holds is written with its code, an open one in lower case, a failed one struck: ~~GR~~.

# Normalisation for hashes of cited content (GR2, GR3): Unicode NFC, every run of white space one space, trimmed.
normalisation: nfc-ws1

# The rules of examination, validation and editing (owner, 24 Nov 2026: "Die Zertifizierung stellt sicher, dass die
# inhaltliche Gestaltung, Argumentation, These und Dokumentenaufbau vom Autor stammt sowie die Textentwürfe vom Autor
# redaktionell überarbeitet und verantwortet werden. Die Zertifikatsregeln geben dir Bearbeitungsregeln für Famulus
# vor."). One list, fixed ids. Per rule: text (de, en); `anweisung` — the sentence Famulus gives every engine that edits
# a text (famulus-notebook annotator reads it from here); `pruefung` — how the rule is examined: code (a program decides),
# quelle (checked at the source), lesart (a language model reads; a reading, never a check — IC3), autor (the author
# decides); `element` — the element of the certificate it serves; `umgesetzt_in` — where it is implemented.
# Published at /certificate/<version>/regeln/ and linked from the Impressum of every publication.
rules:
  groups:
    - {id: B, title: {de: "Bearbeitung durch Famulus", en: "Editing by Famulus"}, lead: {de: "Was Famulus an einem Text des Autors tun darf und was nicht.", en: "What Famulus may and may not do to the author's text."}}
    - {id: Q, title: {de: "Quellen und Belege", en: "Sources and evidence"}, lead: {de: "Jede Angabe, die sich auf eine Quelle stützt, wird an der Quelle geprüft.", en: "Every statement resting on a source is checked at the source."}}
    - {id: S, title: {de: "Sprache und Form", en: "Language and form"}, lead: {de: "Syntax, Rechtschreibung und Register nach den großen Regelwerken der Sprache und nach LWgrammar.", en: "Syntax, spelling and register by the standard references of the language and by LWgrammar."}}
    - {id: L, title: {de: "Fußnoten, Literatur, Referenzen", en: "Notes, literature, references"}, lead: {de: "Fußnoten und bibliographische Angaben sind vollständig, auflösbar und geprüft.", en: "Notes and bibliographical references are complete, resolvable and checked."}}
    - {id: A, title: {de: "Argumentationsqualität", en: "Quality of argument"}, lead: {de: "These, Aufbau und Schlüssigkeit des Arguments.", en: "Thesis, structure and soundness of the argument."}}
    - {id: T, title: {de: "Begriffe und Terminologie", en: "Concepts and terminology"}, lead: {de: "Begriffe werden eingeführt, konsistent verwendet und an den terminologischen Referenzwerken geprüft.", en: "Terms are introduced, used consistently and checked against the terminological references."}}
    - {id: V, title: {de: "Verfahren und Nachweis", en: "Procedure and record"}, lead: {de: "Wie die Bearbeitung festgehalten wird.", en: "How the editing is recorded."}}
    - {id: P, title: {de: "Veröffentlichung", en: "Publication"}, lead: {de: "Was vor und bei der Veröffentlichung gilt.", en: "What holds before and at publication."}}
  list:
    # B — editing by Famulus
    - {id: B1, element: AU, pruefung: autor, umgesetzt_in: "annotator (Anweisung), AU2",
       de: "Famulus fügt keinen Inhalt, keine These und keine Wertung hinzu, die nicht vom Autor stammt (Aufnahme, Diktat, Manuskript, Anmerkung).",
       en: "Famulus adds no content, thesis or evaluation that does not come from the author (recording, dictation, manuscript, note).",
       anweisung: "Füge keinen Inhalt, keine These und keine Wertung hinzu, die nicht vom Autor stammt."}
    - {id: B2, element: AU, pruefung: code, umgesetzt_in: "annotator.planen (Reichweite), Redaktionsprotokoll",
       de: "Aufbau, Gliederung und Reihenfolge des Dokuments ändern sich nur auf eine Anmerkung des Autors.",
       en: "Structure, outline and order of the document change only on a note of the author.",
       anweisung: "Ändere Aufbau und Reihenfolge nur, wenn die Anmerkung des Autors es verlangt."}
    - {id: B3, element: AU, pruefung: lesart, umgesetzt_in: "annotator (Anweisung); Befund bei Abweichung",
       de: "Kein Inhaltswort wird durch eines anderer Bedeutung ersetzt; Namen, Daten und Zitate bleiben, wie sie sind, außer der Autor verlangt es.",
       en: "No content word is replaced by one of another meaning; names, dates and quotations stay as they are unless the author asks otherwise.",
       anweisung: "Ersetze kein Inhaltswort durch eines anderer Bedeutung; Namen, Daten und Zitate bleiben, wie sie sind."}
    - {id: B4, element: AU, pruefung: code, umgesetzt_in: "revision.yaml anweisung.vorrang",
       de: "Die Anmerkung des Autors geht allen allgemeinen Regeln vor.",
       en: "The author's note takes precedence over every general rule.",
       anweisung: "Die Anmerkung des Autors geht allen allgemeinen Regeln vor."}
    - {id: B5, element: AU, pruefung: code, umgesetzt_in: "annotator (Nachfrage, kein leerer Vorschlag)",
       de: "Fehlt der Inhalt für eine Änderung, gibt Famulus die Stelle unverändert zurück und sagt, was fehlt; nichts wird erfunden.",
       en: "Where the content for a change is missing, Famulus returns the passage unchanged and says what is missing; nothing is invented.",
       anweisung: "Fehlt dir der Inhalt, gib die Stelle unverändert zurück und sage, was fehlt; erfinde nichts."}
    - {id: B6, element: AU, pruefung: code, umgesetzt_in: "outputs (Vorschlag), Ersetzen nur durch den Autor; AU3",
       de: "Jede Änderung von Famulus ist ein Vorschlag; in den Text gelangt sie erst, wenn der Autor sie übernimmt (Ersetzen oder von Hand).",
       en: "Every change by Famulus is a proposal; it enters the text only when the author takes it over (replace or by hand).",
       anweisung: "Deine Änderung ist ein Vorschlag an den Autor."}
    - {id: B7, element: AU, pruefung: code, umgesetzt_in: "vortrag.pruefen_code (saalbemerkung, zeitmarke); Lesetext-Regeln",
       de: "Im Lesetext eines Vortrags entfallen Bemerkungen zur Bedienung, zum Blättern, zur Zeit und zum Saal; nichts wird hinzugefügt, was nicht gesagt wurde.",
       en: "In the reading text of a talk, remarks on operating, turning slides, time and the room are left out; nothing is added that was not said.",
       anweisung: "Im Lesetext eines Vortrags: Bemerkungen zur Bedienung, zum Blättern, zur Zeit und zum Saal entfallen; füge nichts hinzu, was nicht gesagt wurde."}
    - {id: B8, element: AU, pruefung: code, umgesetzt_in: "news_lektorat.merge ({{key}}); quellen",
       de: "Zahlen stammen aus erfassten Fakten oder aus Quellen; keine Zahl wird geschätzt oder gerundet, ohne dass es gesagt wird.",
       en: "Figures come from recorded facts or from sources; no figure is estimated or rounded without saying so.",
       anweisung: "Zahlen nur aus erfassten Fakten oder Quellen; schätze keine Zahl."}
    # Q — sources and evidence
    - {id: Q1, element: GR, pruefung: quelle, umgesetzt_in: "famulus-notebook quellen.check_quote (Transkript, Faksimile)",
       de: "Jedes wörtliche Zitat ist an seiner Quelle geprüft (Transkript oder Faksimile); eine Wiedergabe ist als solche gekennzeichnet.",
       en: "Every verbatim quotation is checked at its source (transcript or facsimile); a rendering is marked as such."}
    - {id: Q2, element: GR, pruefung: quelle, umgesetzt_in: "quellen.check_picture (Museums-Katalog)",
       de: "Jeder Bildnachweis ist am Katalog der besitzenden Einrichtung geprüft (Inventarnummer, Urheber, Jahr, Rechte).",
       en: "Every picture credit is checked at the catalogue of the holding institution (inventory number, maker, year, rights)."}
    - {id: Q3, element: GR, pruefung: code, umgesetzt_in: "vortrag.pruefen_code (zuschreibung)",
       de: "Jede Zuschreibung (wer schreibt wem) stimmt mit Legende und Quelle überein.",
       en: "Every attribution (who writes to whom) agrees with caption and source."}
    - {id: Q4, element: GR, pruefung: code, umgesetzt_in: "Famulus-Referenz-Resolver; GR1, GR2",
       de: "Jede fr:-Adresse löst auf und ist gepinnt.",
       en: "Every fr: address resolves and is pinned."}
    - {id: Q5, element: GR, pruefung: quelle, umgesetzt_in: "quellen.pruefe; Befund bei Nichtprüfbarkeit",
       de: "Daten und Namen sind gegen die Quelle geprüft; was nicht prüfbar ist, bleibt ein Befund mit seinem Grund.",
       en: "Dates and names are checked against the source; what cannot be checked stays a finding with its reason."}
    # S — language and form
    - {id: S1, element: EX, pruefung: lesart, umgesetzt_in: "LWgrammar lw_rule_conformity (syntax); pruefregeln",
       de: "Syntax: vollständige, grammatisch korrekte Sätze; keine Satzbrüche und Anakoluthe aus dem gesprochenen Text.",
       en: "Syntax: complete, grammatically correct sentences; no broken sentences or anacolutha from the spoken text.",
       anweisung: "Bilde vollständige, grammatisch korrekte Sätze; keine Satzbrüche."}
    - {id: S2, element: EX, pruefung: code, umgesetzt_in: "LWgrammar lw_writingguide_check; pruefregeln",
       de: "Rechtschreibung und Zeichensetzung nach dem Regelwerk der Sprache: Deutsch nach Duden (amtliches Regelwerk), Englisch nach Oxford (Shorter Oxford English Dictionary, New Hart's Rules), Französisch, Italienisch und Spanisch nach ihren Akademie-Regelwerken; dazu die Regeln von LWgrammar (famulus-writingguide-1).",
       en: "Spelling and punctuation by the standard of the language: German by Duden (official rules), English by Oxford (Shorter Oxford English Dictionary, New Hart's Rules), French, Italian and Spanish by their academies; together with the rules of LWgrammar (famulus-writingguide-1).",
       anweisung: "Rechtschreibung und Zeichensetzung nach Duden (Deutsch) bzw. Oxford (Englisch)."}
    - {id: S3, element: EX, pruefung: lesart, umgesetzt_in: "LWgrammar lw_sprachformen, Stilprofil des Autors",
       de: "Register und Stil folgen der Sprachform der Reihe und dem Stil des Autors; keine Floskeln, keine Wertung ohne Beleg.",
       en: "Register and style follow the series' language form and the author's style; no stock phrases, no evaluation without evidence.",
       anweisung: "Halte Register und Stil des Autors; keine Floskeln, keine Wertung ohne Beleg."}
    - {id: S4, element: EX, pruefung: code, umgesetzt_in: "pruefregeln (Muster); Quarto-Vorlage arxivai (language)",
       de: "Generisches Maskulinum; keine Genderzeichen (Doppelpunkt, Sternchen, Unterstrich, Binnen-I, Schrägstrich) und keine Paarformen; in anderen Sprachen ebenso die Normalform.",
       en: "Generic masculine in German; no gender signs (colon, asterisk, underscore, internal capital, slash) and no paired forms; the standard form in other languages as well.",
       anweisung: "Generisches Maskulinum („der Autor“, „die Leser“); keine Genderzeichen, keine Paarformen."}
    # L — notes, literature, references
    - {id: L1, element: GR, pruefung: code, umgesetzt_in: "pruefregeln (Fußnoten)",
       de: "Jede Fußnote oder Randnotiz gehört zu einer Stelle und belegt oder erläutert sie; keine verwaisten und keine doppelten Noten.",
       en: "Every footnote or side note belongs to a place and documents or explains it; no orphaned and no duplicate notes."}
    - {id: L2, element: GR, pruefung: code, umgesetzt_in: "pruefregeln (Literatur: .bib ↔ Zitate, Katalog)",
       de: "Jede bibliographische Referenz löst im Literaturverzeichnis auf; jeder Eintrag ist vollständig (Autor, Titel, Jahr, Ort oder Zeitschrift, Seiten) und an einem Katalog geprüft (DOI, ISBN, Bibliothekskatalog); die Zitierweise folgt der Reihe.",
       en: "Every bibliographical reference resolves in the bibliography; every entry is complete (author, title, year, place or journal, pages) and checked at a catalogue (DOI, ISBN, library catalogue); the citation style follows the series."}
    - {id: L3, element: GR, pruefung: code, umgesetzt_in: "GR1, GR2",
       de: "Jede Referenz auf eine Famulus-Sammlung ist eine gepinnte fr:-Adresse mit dem zitierten Inhalt.",
       en: "Every reference to a Famulus collection is a pinned fr: address with its cited content."}
    - {id: L4, element: GR, pruefung: code, umgesetzt_in: "pruefregeln (Literatur)",
       de: "Kein Eintrag des Literaturverzeichnisses ohne Zitat im Text und kein Zitat ohne Eintrag.",
       en: "No bibliography entry without a citation in the text and no citation without an entry."}
    # A — quality of argument
    - {id: A1, element: AU, pruefung: autor, umgesetzt_in: "AU2",
       de: "Die These ist ausdrücklich genannt und stammt vom Autor.",
       en: "The thesis is stated explicitly and comes from the author."}
    - {id: A2, element: AR, pruefung: code, umgesetzt_in: "Famulus-Lektor (Argumentrekonstruktion); CL, AR",
       de: "Der Aufbau des Arguments ist als Graph rekonstruiert; jede Aussage ist begründet, als These gekennzeichnet oder als Lücke verzeichnet.",
       en: "The structure of the argument is reconstructed as a graph; every claim is grounded, marked as a thesis or recorded as a gap."}
    - {id: A3, element: AR, pruefung: code, umgesetzt_in: "famulus-proof (resolution, derive, Validitätsbaum); AR2",
       de: "Güte des Aufbaus: jeder Schritt hat seine Art (deduktiv, defeasibel, rechnend, erklärend); kein Zirkel; keine Lücke zwischen Prämissen und Konklusion; keine Konklusion behauptet mehr, als ihre Gründe tragen.",
       en: "Quality of structure: every step has its kind (deductive, defeasible, computational, explanatory); no circle; no gap between premises and conclusion; no conclusion asserts more than its grounds carry."}
    - {id: A4, element: AR, pruefung: code, umgesetzt_in: "AR3",
       de: "Für jede erklärende Aussage sind Rivalen und unterscheidende Fälle genannt.",
       en: "For every explanatory claim rivals and discriminating cases are named."}
    - {id: A5, element: AR, pruefung: lesart, umgesetzt_in: "LWgrammar lw_logical_relations (contradicts)",
       de: "Die Aussagen des Textes widersprechen einander nicht.",
       en: "The claims of the text do not contradict one another."}
    - {id: A6, element: AU, pruefung: autor, umgesetzt_in: "AU2",
       de: "Die Gliederung trägt das Argument: jeder Abschnitt hat seine Funktion im Aufbau (Fragestellung, Befund, Begründung, Folgerung); der Autor bestätigt sie.",
       en: "The outline carries the argument: every section has its function in the structure (question, finding, justification, conclusion); the author confirms it."}
    # T — concepts and terminology
    - {id: T1, element: EX, pruefung: lesart, umgesetzt_in: "pruefregeln (Einführung); LWgrammar lw_lector",
       de: "Jeder Fachbegriff ist bei seiner ersten Verwendung eingeführt (Bestimmung oder Verweis).",
       en: "Every technical term is introduced at its first use (definition or reference).",
       anweisung: "Führe einen Fachbegriff bei seiner ersten Verwendung ein, wenn der Autor es nicht getan hat, und sage es."}
    - {id: T2, element: EX, pruefung: lesart, umgesetzt_in: "LWgrammar lw_lector (Begriffsinventar, Bedeutungen)",
       de: "Jeder Begriff wird semantisch konsistent verwendet: derselbe Begriff in demselben Sinn, kein stiller Bedeutungswechsel, keine wechselnden Wörter für denselben Begriff.",
       en: "Every term is used consistently: the same term in the same sense, no silent shift of meaning, no changing words for the same concept.",
       anweisung: "Verwende jeden Begriff durchgehend in demselben Sinn und mit demselben Wort."}
    - {id: T3, element: EX, pruefung: code, umgesetzt_in: "LWgrammar lw_term, lw_usage_rules (R-GG, R-LG), Fachwörterbücher",
       de: "Die Begriffe sind an den terminologischen Referenzwerken von LWgrammar geprüft (Regeln R-GG und R-LG, Fachwörterbücher, Register); die Bedeutung ist autor-, werk- und zeitrelativ.",
       en: "Terms are checked against the terminological references of LWgrammar (rules R-GG and R-LG, technical dictionaries, registers); meaning is relative to author, work and period."}
    - {id: T4, element: EX, pruefung: lesart, umgesetzt_in: "LWgrammar lw_consult_understanding",
       de: "Historische Termini stehen in der Bedeutung ihrer Zeit, mit Beleg.",
       en: "Historical terms stand in the meaning of their time, with evidence."}
    - {id: T5, element: AU, pruefung: code, umgesetzt_in: "LWgrammar lw_gate (0 blockierende Konflikte)",
       de: "Ein blockierender Verstoß gegen eine Regel von LWgrammar ist ein sperrender Befund.",
       en: "A blocking violation of a LWgrammar rule is a blocking finding."}
    # V — procedure and record
    - {id: V1, element: AU, pruefung: code, umgesetzt_in: "vortrag.festhalten, news_lektorat (fassungen/)",
       de: "Jede Fassung ist eingefroren und durch ihren Hash bestimmt.",
       en: "Every version is frozen and identified by its hash."}
    - {id: V2, element: AU, pruefung: code, umgesetzt_in: "annotations (Journal anmerkungen.jsonl)",
       de: "Jede Anmerkung und jede Entscheidung steht im Journal.",
       en: "Every note and every decision is in the journal."}
    - {id: V3, element: AU, pruefung: code, umgesetzt_in: "vortrag.freigeben, publikation.start",
       de: "Ein sperrender Befund verhindert die Freigabe.",
       en: "A blocking finding prevents the release."}
    - {id: V4, element: IC, pruefung: code, umgesetzt_in: "IC3",
       de: "Die Ausgabe eines Sprachmodells ist eine Lesart, keine Prüfung; sie steht mit Modell und Hashes auf der Restliste.",
       en: "The output of a language model is a reading, not a check; it is on the residual list with model and hashes."}
    - {id: V5, element: AC, pruefung: code, umgesetzt_in: "AC2; Veröffentlichen-Ansicht (Stand der Sprachfassungen)",
       de: "Maschinelle Übersetzungen sind als solche erklärt und tragen den Stand ihrer Vorlage.",
       en: "Machine translations are declared as such and carry the state of their source."}
    # P — publication
    - {id: P1, element: AC, pruefung: code, umgesetzt_in: "lecture_publish.run, news_publish.run (sha)",
       de: "Veröffentlicht wird nur die angezeigte, freigegebene Fassung (ihr Hash).",
       en: "Only the shown, released version (its hash) is published."}
    - {id: P2, element: AC, pruefung: code, umgesetzt_in: "famulus_publisher, metis (Vergaberegel)",
       de: "Jede Seite trägt Impressum, Zähler und – nach der Vergaberegel – ihre METIS-Zählmarke.",
       en: "Every page carries imprint, counter and – by the assignment rule – its METIS counting mark."}
    - {id: P3, element: AC, pruefung: code, umgesetzt_in: "Leck-Gate (export_lettre._leaks)",
       de: "Keine Seite enthält lokale Pfade oder interne Adressen.",
       en: "No page contains local paths or internal addresses."}
    - {id: P4, element: AC, pruefung: autor, umgesetzt_in: "Veröffentlichen-Ansicht (URL, Fassung, Sprachen)",
       de: "Wo und unter welcher Adresse eine Seite erscheint, ist dem Autor vor der Freigabe gezeigt.",
       en: "Where and at which address a page appears is shown to the author before the release."}
