一键导入
tri-pipeline
Execute tri commands (gen, test, verify, seal, verdict) for spec-first development
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute tri commands (gen, test, verify, seal, verdict) for spec-first development
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Execute 9-phase spec-first development workflow (Issue → Spec → TDD → Code → Gen → Seal → Verify → Land → Learn)
This skill should be used when user asks to "tri skill begin", "PHI LOOP", "edit .t27 spec", "seal hash", "tri gen", "tri test", "tri verdict", "tri experience save", "tri notebook query", "tri notebook wrapup", or any task requiring spec-first development in the t27 Trinity S³AI project. Implements the canonical PHI LOOP workflow following constitutional laws with NotebookLM-backed semantic memory.
Format and upload session wrap-up to NotebookLM for persistent semantic memory
This skill should be used when user asks to "tri skill begin", "PHI LOOP", "edit .t27 spec", "seal hash", "tri gen", "tri test", "tri verdict", "tri experience save", "tri notebook query", "tri notebook wrapup", or any task requiring spec-first development in the t27 Trinity S³AI project. Implements the canonical PHI LOOP workflow following constitutional laws with NotebookLM-backed semantic memory.
基于 SOC 职业分类
| id | tri-pipeline |
| name | TRI Pipeline |
| description | Execute tri commands (gen, test, verify, seal, verdict) for spec-first development |
Execute the canonical t27 toolchain commands.
tri genGenerate code from .t27 specifications.
tri gen specs/ring-NNN-name.t27
Output: Generated files in gen/ directory
Laws: L2 (GENERATION) - gen/ is read-only
Verification: Hash verification during seal phase
tri testRun conformance tests from specifications.
tri test specs/ring-NNN-name.t27
Output: Test results, pass/fail status Laws: L4 (TESTABILITY) - specs must have tests Success Criteria: All tests pass, invariants satisfied
tri verifyVerify all 7 invariant laws.
tri verify
Checks:
Output: Pass/fail for each law Block: Non-compliant commits are blocked
tri sealGenerate and verify seal hash.
tri seal specs/ring-NNN-name.t27
Output: Hash of generated artifacts Purpose: Immutable snapshot for verification
tri verdictGenerate formal pass/fail verdict.
tri verdict
Output:
tri experience saveSave episode to experience log.
tri experience save --ring 72 --phase verify --outcome success
Output: Entry in ~/.trinity/experience/episodes.jsonl
tri experience querySearch past episodes.
tri experience query "how to fix L5 violation"
Output: Relevant past episodes with solutions
If a command fails: