Codex Glyph Grammar: Symbol Generation Rules

Codex

This document defines the symbolic grammar used to generate Codex glyphs.

Principle

Objects generate symbols.

front matter -> parameters -> glyph

Base Geometry by Object Type

signal -> burst / rays / spark geometry scroll -> spiral / unfolding paths artifact -> shards / planes fragment -> seed / broken loop fieldlog -> measured marks codex -> grid / frame / reference spine nexus -> clustered orbit / relational ring

Theme Modifiers

Themes modify base geometry.

fire -> angular sparks water -> curved flows signal -> node clusters recursion -> spiral emphasis city -> rectilinear grid bias forest -> branching organic bias grief -> interrupted lines

Status Modifiers

draft -> partial closure review -> balanced tension published -> stabilized geometry archived -> dimmed enclosure

Deterministic Seed

Glyph variation derives from a deterministic seed.

seed = hash(object id)

This ensures the same object always produces the same glyph.

Output

Current flow produces:

  • hero glyph SVG

The same seed can later drive icon and monochrome variants without changing the object’s mark.

Application in Flow

  1. Draft the object in inbox/ready/.

  2. Generate the glyph from the draft metadata:

    node scripts/generate-codex-glyph.mjs --source inbox/ready/<file>.md

  3. Add the emitted /media/...svg path to the object’s media block when the glyph should ship with the post.

  4. After review and explicit approval, publish through the normal hand-off:

    node scripts/finalize-approved-ready.mjs --source inbox/ready/<file>.md --note "<approval reason>"

The Codex becomes a system where each object bears a symbolic mark.

Version

0.1.0

Scope

glyph generation rules, metadata mapping, and deterministic symbol output

System Area

identity

Change Type

initial
Marginalia 0 marks
Uses the Carrier Pigeon key saved on this device.

No marks yet.