# T-box terms — canonical taxonomy
# Each entry: id, namespace, definition, values (if closed), source.
# SHA of each entry lives in SIGNATURES.md.

version: 0.1.0
generated: 2026-07-09
principal: Ty Grupel
jira_base: https://wildpoppyengineering.atlassian.net

terms:

  # ─── Ontology tiers ──────────────────────────────────────────────
  - id: tbox
    namespace: ontology
    definition: Terminological box. Schemas, closed value sets, mutation protocols. Lives in this repo.
    source: memory/knowledge/concepts/enterprise-ontology-governance.md

  - id: abox
    namespace: ontology
    definition: Assertional box. Instances of T-box terms. Lives in Jira.
    source: same

  - id: rbox
    namespace: ontology
    definition: Relational box. Links between A-box instances. Lives as Jira issue links.
    source: same

  - id: cbox
    namespace: ontology
    definition: Context box. Which T-box rules activate for which workstream.
    source: same

  # ─── Namespaces (closed value set) ───────────────────────────────
  - id: namespace
    namespace: grammar
    definition: Label prefix that binds a term to its ontology tier.
    values: [gap, adr, abb, sbb, lgm, tcr, node, togaf-layer, continuum-level, snapshot-month, register, type, severity, terminals-affected]

  # ─── Registers of record ────────────────────────────────────────
  - id: register.gap
    namespace: register
    jira_key: WPE-38
    status: active
    governs: gap namespace
    definition: Enterprise Gap Register. Canonical A-box for gap:* instances.

  - id: register.adr
    namespace: register
    jira_key: WPE-52
    status: active
    governs: adr namespace
    definition: Architecture Decision Record Register. Canonical A-box for adr:* instances.

  - id: register.bb
    namespace: register
    jira_key: WPE-74
    status: active
    governs: [abb, sbb]
    definition: Building-Block Register. Canonical A-box for abb:* and sbb:* instances.

  - id: register.lgm
    namespace: register
    jira_key: WPE-75
    status: archived
    governs: lgm namespace
    definition: Lead Generation Metamodel Register. Archived; retained for historical reference.

  - id: register.tcr
    namespace: register
    jira_key: WPE-89
    status: active
    governs: tcr namespace
    definition: Skills.md Schema (T-box) Register. Canonical A-box for T-Box Change Records.

  # ─── Terminals ──────────────────────────────────────────────────
  - id: terminal
    namespace: grammar
    definition: An intelligence instance operating against the enterprise.
    values: [perplexity, claude, vps-agent]

  - id: terminal.perplexity
    namespace: terminal
    identity: ty.grupel@helfie.ai
    role: current authoritative orchestrator (pre-genesis)
    tbox_landing: skill re-import with frontmatter tbox_sha

  - id: terminal.claude
    namespace: terminal
    identity: tygrupel@gmail.com
    connectors_identity: wildpoppyclub@gmail.com (Drive)
    role: advisory until TCR-2026-001 verifies
    tbox_landing: project instructions from repo; knowledge base carries terms.yaml + ontology.yaml

  - id: terminal.vps-agent
    namespace: terminal
    host: Hostinger VPS (LiteLLM Proxy, PostgreSQL/pgvector)
    role: to be provisioned
    tbox_landing: system prompt baked at deploy; container pulls main on start; exports TBOX_VERSION env var

  # ─── Standing rules (bind all terminals) ─────────────────────────
  - id: rule.language
    namespace: standing-rule
    value: en-AU
    binds: all terminals
    definition: Australian English in all replies and artefacts.

  - id: rule.word-cap
    namespace: standing-rule
    value: 100
    binds: all terminals
    definition: Replies ≤ 100 words unless the principal expressly authorises longer.

  - id: rule.reasoning
    namespace: standing-rule
    value: MECE
    binds: all terminals
    definition: Mutually exclusive, collectively exhaustive. Step-by-step. Trade-offs. Second-order effects.

  - id: rule.principle
    namespace: standing-rule
    value: Human-Architected, LLM-Executed
    binds: all terminals
    definition: Principal designs. LLMs execute. Irreversible actions require explicit EXECUTE token.

  - id: rule.citation
    namespace: standing-rule
    binds: all terminals
    definition: Never invent Jira keys, ADR/TCR/Gap/BB IDs, commit hashes, or file paths. Cite only what you can source.

  - id: rule.preamble
    namespace: standing-rule
    binds: all terminals
    value: "T-Box: <sha> (<timestamp>)"
    definition: First line of every session response. Missing preamble = output is advisory only.

  # ─── TCR (change record) ────────────────────────────────────────
  - id: tcr
    namespace: record
    parent: register.tcr
    id_pattern: TCR-YYYY-NNN
    definition: T-Box Change Record. A-box entry authorising a T-box modification.
    status_workflow: [draft, proposed, propagating, verified, rollback-open, closed]
    fields: [title, scope, rationale, change_summary, commit_sha, affected_terminals, propagation_status, verification_result, rollback_opens, rollback_closes, closed_by, linked_adr, coherence_cron_ref, severity]

  # ─── Verification prompt (canonical) ─────────────────────────────
  - id: prompt.verification
    namespace: prompt
    binds: all terminals
    canonical_location: this file (do not duplicate)
    text: |
      Report T-Box version and freshness.
      Then answer:
      1. Give the current closed value set for the `namespace` term.
      2. Cite the jira_key for register.gap, register.adr, register.bb, register.lgm, register.tcr.
      3. Name the mutation-protocol rule for retiring a namespace value.
      4. State the standing rules bound to all terminals.
      Answer in a table. No prose.

  # ─── Coherence severity ─────────────────────────────────────────
  - id: severity
    namespace: grammar
    values: [minor, major, critical]
    definition: Coherence-cron divergence classification.

  # ─── Rollback ───────────────────────────────────────────────────
  - id: rule.rollback-window
    namespace: standing-rule
    definition: TCR rollback window opens on verified status, closes at the next Monthly Architecture Retrospective via Page 8 sign-off.
