一键导入
t81-debugger
Debug T81 execution with full traceability and policy violation analysis
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Debug T81 execution with full traceability and policy violation analysis
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Execute bounded AI task chains (assess-fixed, route-fixed, classify-fixed) with deterministic guarantees
Create T81 decision bundles with complete provenance and cryptographic verification
Validate and verify T81 decision bundles for deterministic execution
Export files from T81 CanonFS with hash verification and integrity validation
Import files into T81 CanonFS for immutable, hash-verified storage
Demonstrate T81's policy-gated computation with educational examples
| name | t81_debugger |
| description | Debug T81 execution with full traceability and policy violation analysis |
| metadata | {"openclaw":{"os":["darwin","linux"],"requires":{"bins":["t81"]}}} |
This skill provides comprehensive debugging capabilities for T81 execution with full traceability, breakpoint management, and policy violation analysis.
When the user needs to debug T81 program execution or analyze policy violations, use this skill for detailed execution analysis.
Start debugging session:
debug <program_file> [--policy <policy_file>] [--breakpoints <addr1,addr2>] [--trace-level basic|full|policy]
Set breakpoints:
breakpoint set <address> [--condition <condition>] [--policy-only]
Remove breakpoints:
breakpoint remove <address> [--all]
List breakpoints:
breakpoint list [--enabled-only]
Step execution:
step [--count <n>] [--into] [--over] [--out]
Continue execution:
continue [--to <address>] [--until <condition>]
Inspect state:
inspect [--state registers|memory|stack|policy] [--address <addr>] [--range <start-end>]
Trace execution:
trace [--start] [--stop] [--save <trace_file>] [--filter policy|memory|instructions]
Analyze policy violations:
analyze-violations [--detailed] [--suggest-fixes] [--output <report_file>]
Profile performance:
profile [--start] [--stop] [--output <profile_file>] [--granularity instruction|function|policy]
# Start debugging with breakpoints
debug program.tisc --policy security.apl --breakpoints 0x1000,0x2000
# Set conditional breakpoint
breakpoint set 0x1234 --condition "register.r1 > 100" --policy-only
# Step through execution
step --count 5 --into
# Continue to specific address
continue --to 0x2000
# Inspect VM state
inspect --state registers,memory --address 0x1000
# Start execution tracing
trace --start --filter policy --save execution_trace.json
# Analyze policy violations
analyze-violations --detailed --suggest-fixes --output violation_report.json
# Profile execution performance
profile --start --granularity instruction
Breakpoint Management:
Execution Control:
State Inspection:
Trace Analysis:
Address Breakpoints:
Conditional Breakpoints:
Policy Breakpoints:
Debug Session Start:
{
"session_id": "CanonHash81_DEBUG...",
"program": "program.tisc",
"policy": "security.apl",
"timestamp": "2026-04-04T15:30:00Z",
"breakpoints_set": 2,
"vm_state": {
"registers": {
"r0": 0,
"r1": 1024,
"r2": 2048,
"pc": 4096
},
"memory_size": 1048576,
"stack_pointer": 1048576
}
}
Execution Step Result:
{
"step_count": 1,
"instruction": {
"address": 4096,
"opcode": "ADD_TERNARY",
"operands": ["r1", "r2", "r3"],
"disassembly": "ADD_TERNARY r1, r2, r3"
},
"vm_state": {
"registers": {
"r0": 0,
"r1": 1024,
"r2": 2048,
"r3": 3072,
"pc": 4097
}
},
"policy_check": {
"checked": true,
"allowed": true,
"policy_rule": "allow_arithmetic"
}
}
Policy Violation Analysis:
{
"violations_found": 2,
"violations": [
{
"address": 5120,
"instruction": "WRITE_MEMORY",
"policy_violation": "unauthorized_memory_write",
"policy_rule": "deny_write_to_protected_memory",
"context": {
"target_address": 0x80000,
"access_type": "write",
"user_permissions": "read_only"
},
"suggestions": [
"Check if memory access is necessary",
"Request write permissions through policy",
"Use alternative memory region"
]
}
],
"remediation_steps": [
"Review policy configuration",
"Update program to avoid protected memory",
"Request policy exception if needed"
]
}
Trace Levels:
Trace Filters:
Profiling Granularity:
Performance Metrics:
Debug Access Control:
Trace Security:
This skill wraps T81's debugging and tracing capabilities:
t81 debug <program> --policy <policy> --breakpoints <addrs> --trace-level <level>