Skip to content

Epic: Publishing domain model skills for terraphim v1.9 dynamic ontologies #43

@AlexMikhalev

Description

@AlexMikhalev

Summary

Create terraphim-skills for the publishing domain model pipeline, leveraging terraphim v1.9.0 dynamic ontology features and v1.7.0 TinyClaw skills system.

Context

The publishing domain model pipeline (in cto-executive-system) uses domain-model.json as a single source of truth for book terminology, relationships, and argument chains. It needs terraphim-skills to:

  1. Package the derivation/validation pipeline as a TinyClaw skill
  2. Create a Publishing Editor role for term search during drafting
  3. Extend PreToolUse hooks for Write/Edit tool enforcement
  4. Auto-enrich agent prompts with per-chapter domain context

Dependencies

Child Issues

Architecture

domain-model.json -> derive-ontology-schema.py -> ontology schema
                  -> derive-kg-entries.py       -> KG entries (Aho-Corasick)
                  -> extract-entities.py        -> SchemaSignal (confidence)
                  -> compute-coverage.py        -> CoverageSignal (governance)
                  -> TinyClaw skill (#44)       -> one-command pipeline
                  -> Claude Code skill (#48)    -> in-session validation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions