cyberneticlibrary

Define document template custom fields

fantasia-template-custom-fieldsskillsetup L2392
vishiri/fantasia-archive
What it does

Design document template custom fields

Best for

Template design when typed custom fields with orphan retention avoid data loss.

Inputs
  • · field definitions
  • · template schema
Outputs
  • · SQLite migrations
  • · field value storage schema
Requires
  • · SQLite
  • · Vue/Pinia (renderer)
Preconditions

v5+ schema migration infrastructure exists

Failure modes

Type coercion on field change; orphaned values not retained; value key collision

Trust signals
  • · orphan retention strategy
  • · field_id keying (not label-based)
  • · Zod type definitions