Trixie

Trixie — Knowledge / Content System

authoring → review → publish → multi-channel distribution.

Trixie — Knowledge / Content System (v2026-08-28T202227Z-905c329c98) 2026-08-30 | authoring → review → publish → multi-channel distribution. 1 - Load Corpus - Load and validate regulatory concepts load_corpus trixie/corpus.py:21 corpus_dir.rglob("*.concept.json") Concept.model_validate(item) corpus_dir/*.concept.json *.concept.json Concept load_corpus concept store Concept load_corpus concept store concept files validated conc… 2 - Evaluate Rules - Apply rules to context TrixieEvaluator evaluator.py evaluate rule triggers rules_dir/*.yaml rules_dir.rglob("*.yaml") yaml.safe_load(fh) TrixieEvaluator RuleContext trixie/engine/context.py:21 build_context session, client, widget, ... rule files RuleContext 3 - Text Evaluation - Scan text for violations evaluate trixie/evaluator.py:15 evaluate text, concepts concept store concept store evaluate concept store violations Violation evaluate violations concept store text input 1. Load corpus 2. Evaluate rules 3. Text evaluation 4. Report violations 5. Log results 6. Update status Concept JSON { "id": "hipaa.164.508.authorization", "domain": "hipaa", "rule_text": "Authorization required for access.", "severity": "critical", "tags": ["authorization"], "examples": ["Authorized user"], "counter_examples": ["Unauthorized user"] } Rule YAML rule_id: ai_kill_switch_always_active_v1 priority: 1 trigger: - widget.deactivate conditions: - field: session.active_skin op: eq value: autopilot - field: widget.id op: eq value: kill-switch action: block params: message: "Kill Switch must remain active in Autopilot mode. Override via circuit_breaker.reset." severity: critical The text evaluation is a P0 stub and will be replaced with NLP/LLM-based matching in future phases. Legend actor = initiates work · process = code path · store = state on disk · bus = durable queue · dashed = separate process cyan = request flow · pink = state read/write · dashed green = pull / return path · red = refusal As of 2026-08-30 13:54 UTC, from commit acaca0b

Provenance

This drawing is generated, not drawn. It is rebuilt from the source files below, so when they change the picture changes — a diagram here cannot quietly describe a system that no longer works this way.

Owner
Trixie
Slug
trixie-knowledge
Rendered
2026-08-28T202227Z
From commit
905c329c98
Updated
30 Aug 2026, 13:54 UTC
Sources at
acaca0b
Watches
1 path
  • trixie