koine-grammar

The self-hosting corpus that specifies the koine process: the grammar of the language every koine is written in. Its rules are its own entries. Nothing in it is about any particular instance.

What is in the repository

lexicon/, one entry per file. schema.yaml, the authority for kinds, statuses, enforcement grades and key sets. koine.yaml, the genesis manifest: identity, determinacy, roots. working.md and suspense.md, the deliberation surfaces, both empty at the seal. generations/, the seal manifest and the task ledger. tools/, the toolchain: parse, lint, build, traverse, gate, normalize. tests/. graph.json and lexicon.md are derived from the lexicon and never hand-edited.

At the seal

Generation
0
tag
gen-0
entries
54
  • 5 invariants
  • 20 distinctions
  • 4 parameters
  • 25 rules
edges
161
  • 95 derives-from
  • 66 peer
root
one purpose root
approver of record
Brett E Wheeler
sealed
2026-11-06
Generation 0 as the initial commit and tag; Generation 1 beginning at commit 2.
  1. Generation 0 — initial commit, tag gen-0admitted ex nihilo, one approver of record
  2. Generation 1 — begins at commit 2every entry carries proposer, reviewer, approver

How to read it

  1. Clone at the tag.

  2. Read orient.md.

  3. Traverse from the entry your question touches, not from the root:

    python tools/koine_traverse.py D-13 1
  4. Read the entries it pulls, in order.

  5. If the assembly did not suffice, note which entry you needed; that is a recorded kind of event.

How to fork it

  1. Satisfy the seven properties on your substrate; the toolchain is a reference, not a requirement.

  2. Mint a root invariant stating your purpose.

  3. Write koine.yaml with identity, determinacy, and that root.

  4. Author the rest.

  5. Lint, build, gate.

  6. Seal Generation 0 as your initial commit, the manifest as the tag message.

A generalization you believe holds beyond your instance comes back to the grammar as a proposal on its working surface, with your instance's identity as origin.

The reasoning behind each settled entry is in koine-commentary, which the grammar never cites.