KamoCRM

The charter model for the ORG layer, PERSONALITY and DocsTION — the vocabulary, the twelve item columns, the org charter item, org archetypes and their repositories; validation still refuses the new sections (KamoCollab CP03 T7)

Featurekamo-shared-library
Shipped
October 5, 2026 at 8:55 PM UTC
Author
Kamo
Commit
d293b8c

CharterLevel appends ORG after CP01's TEAM; CharterRule appends TRAIT and COLLAB; CharterSection appends PERSONALITY (TRAIT, 160) and DocsTION (COLLAB, 60), both aiOnly and not suppressible; CharterValidationReason appends AUTHORITY_LANGUAGE and GROUP_INCONSISTENT. CharterItem, CharterItemData and CharterItemDTO carry the twelve fields of spec section 5.2, and write, toData, toDto, rejectFields and CharterView.item carry them (write refuses a number a SMALLINT cannot hold). MAX_ITEMS_PER_OWNER is 500 (D4). Until Task 12, validate refuses a PERSONALITY or DocsTION item with UNKNOWN_SECTION, and markers are refused at ORG as at ROLE (D2). New ItemMark for the section resolvers. New entities OrgCharterItem (org_charter_items), OrgPersonalityArchetype and OrgPersonalityArchetypeItem with their repositories, and countByArchetypeRef on the role, department, job title and member item repositories. The title check compares lower() like the unique index. The columns and tables exist in production (CP03 Task 3).

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing