Dev Log 052 – Metadata Propagation + Preview Logic¶
- Schema Constants Refactor
- Added
DOKUGENT_CLI_VERSION,DOKUGENT_SCHEMA_VERSION,DOKUGENT_CREATED_VIAin@constants/schema.ts - Propagated to:
owner,signer,plan,criteria,conventions,byo
-
All values now default to constants unless explicitly overridden
-
Preview Refactor
- Centralized flattening and schema validation
- Stripped embedded schema/cli metadata from nested files during
preview -
Ensured final previewed cert object carries clean, top-level metadata
-
BYO Patch
dokugent byonow wraps loaded array in metadata container- Prevents runtime crash on cancel
- Warns before overwriting existing processed file