docs(architecture): add line pool format specification (#308)

Formal spec at docs/architecture/line-pool-format.md defining YAML
structure for dialogue and monologue content files. Covers tag enums,
4-layer filtering pipeline, prerequisite-to-KG mapping, ID format,
validation rules, and Rust loader interface.

Fixes monologue schema: adds required constraint on relationship
prerequisite target/state fields.

Ref: D-028, D-032, D-035, D-041

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-16 00:41:18 +01:00
co-authored by Claude Opus 4.6
parent 4d8fe996fc
commit ea0a3f0b35
2 changed files with 572 additions and 1 deletions
+3 -1
View File
@@ -38,7 +38,7 @@
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "Line text — 160 char max per D-059"
"description": "Line text — 160 char max to fit monologue display without scrolling"
},
"trigger": {
"type": "string",
@@ -63,6 +63,8 @@
},
"relationship": {
"type": "object",
"required": ["target", "state"],
"additionalProperties": false,
"properties": {
"target": { "type": "string" },
"state": {