Skip to content

layer

Document
04
Status
Draft
Version
v0.7
Date
2026-11-15

The Korean version is authoritative. This page was translated by AI (Claude) and has not yet been checked by a person. 한국어 원문

Hahoe Genesis Protocol (HGP): a protocol that protects and proves the first moment (genesis) of a record a person leaves behind. It began in Hahoe.

The work is split into three layers according to who does what.


┌──────────────────────────────────────────────────────────────┐
│ layer 2 app (counter) │
│ Where people record, read and edit. Holds no │
│ originals │
├──────────────────────────────────────────────────────────────┤
│ layer 1 store (originals) │
│ Holds originals, the ledger and fingerprints. │
│ Not the owner │
├──────────────────────────────────────────────────────────────┤
│ layer 0 protocol │
│ Owns nothing; only sets the promises │
└──────────────────────────────────────────────────────────────┘
layer Name in this document What it does
layer 0 protocol Sets the principles, permissions, fingerprints and the shape of the manifest. There is only one
layer 1 store Receives originals, checks their fingerprints, keeps them locked, and writes the ledger (a file that adds one line for each thing that happens to a record). Interpretations (transcription, decipherment, translation, annotation, summary) are also kept here
layer 2 app Recording, reading, transcription, correction, assistant work. There can be many

These are the promises between layers.

  • A lower layer does not know about the layers above it. layer 0 documents are not changed for the sake of a particular app. layer 1 receives in the same way whichever app uploaded.
  • A layer 2 app holds no originals. It hands the originals and fingerprints made on the device to layer 1, and when it makes the interpretive layer, it reads only as much as the depositor allowed.
  • Interpretations are also kept in layer 1. A layer 2 app makes interpretations and shows them, but does not keep them for long. This is so that everything closes in one place when a depositor takes back an original (decision 0019).
  • When layer 0 changes, layer 1 and layer 2 follow. Every ledger line records the specification version it followed (hgp), so it is always possible to know which version a record followed.

2. Layers and provenance grades are not mixed

Section titled “2. Layers and provenance grades are not mixed”

Earlier, the layers were written as “floor 0, floor 1, floor 2” (0층, 1층, 2층), and the provenance grade (how far something has moved from the original) as “L0 to L3”. Both carried numbers and were confusing, and renaming the floors to “layer” would make them even more confusing next to “L + number”. So the numbers were removed from the provenance grade. (Decision 0005)

Term used Meaning Example
layer 0, layer 1, layer 2 Who does what (organization) “An app is layer 2”
original, draft, confirmed, derived (provenance grade) How far it has moved from the original “The recording file is the original; the machine transcription is a draft”
  • A layer is always written as the lowercase English word layer and a number. It is not shortened to “층” (floor), “Layer” or “L1”.
  • A provenance grade is always written as a plain word. In the level field of the ledger it is written as original, draft, confirmed, derived. It is never written as L and a number, like “L0”.
  • The authentic layer is the original; the interpretive layer is draft, confirmed and derived. The “층” (layer) in “진본층” (the authentic layer) and “해석층” (the interpretive layer) is not a layer in this sense. These are terms from Nodeone’s common rules, so they are kept as they are.
  • L0, L1, L2 and L3 in the September specification and in hgp v0.1 are, in order, original (in the September specification, “원음”, original sound), draft, confirmed and derived. Read them this way only when reading old documents.
  • Korean particles: “layer 0” and “layer 1” are read as “yeong” and “il” and take the particles “은/이/을/과”; “layer 2” is read as “i” and takes “는/가/를/와”.
  • Places where other projects use the same word with a different meaning are listed in section 1 of 05-Glossary.

There is one store. Even as apps multiply, the number of stores does not grow (decision 0004).

  • Apps do not build up originals directly for the long term. They save to the device first (12-Conformance section 3), take the fingerprint, and entrust it to the store.
  • Until the store has a deposit counter (where originals are received), an app server may keep a staging store (a place that holds originals until they move to the store). The same goes for other places that hold originals (decision 0022). A staging store is also read-only, never overwritten, has its fingerprints checked twice, and writes a manifest. In these points it is exactly the same as layer 1. The ledger’s store field records staging.
  • When moving, the file is copied, the fingerprint is checked again, and if it matches, only a new line (store: arkive) is added to the ledger. Originals in the staging store are not deleted without separate approval.
  • Originals are first copied and gathered in one place (decision 0022, step 3), and locking comes after that. Decision 0004 said to move together with locking, but gathering is not postponed until locking. Locking creates a new stored fingerprint; the original fingerprint stays the same. Once the app has locked the original with the depositor’s key, the store (the administrator) cannot see the content (principle 6).
  • The interpretive layer (transcription, correction, assistant text) is also kept in the store (decision 0019). Until it is moved, it stays on the app server.

There is one store, but it keeps two or more bodies of each original, counting copies (decision 0010, September specification HGP-0007 section 3).

  • The original and its copy are kept in different places. A different folder on the same computer, or a different disk in the same room, is not a different place.
  • They are kept in Korea.
  • When kept with an outside company (a cloud provider and so on), they are sent only while locked. That company must not be able to see the original.
  • The regular fingerprint check (02-Fingerprint section 3) also runs on the copies. If an original has changed, it is restored from a copy with the same fingerprint.
  • The ledger (fingerprint list, volume fingerprints, permission records) is also kept in two places along with the originals.