boundary-bbcr-fallback
Execute automatic BBCR (Collapse-Rebirth Correction) when knowledge boundaries are exceeded or reasoning fails.
Create and record semantic nodes in the active WFGY tree to capture reasoning insights and maintain memory.
$ npx -y skills add qdhenry/Claude-Command-Suite --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/semantic-node-buildContext preview
What this command does when you run it.
Create and record semantic nodes in the active WFGY tree to capture reasoning insights and maintain memory.
tools: - read - write - edit - grep arguments: $TOPIC
Create and record semantic nodes in the active WFGY tree to capture reasoning insights and maintain memory.
Based on the WFGY project: https://github.com/onestardao/WFGY
1. **Prepare Node Context**
2. **Calculate Semantic Metrics**
3. **Identify Active Module**
4. **Build Node Structure**
{
"id": "node_[timestamp]_[hash]",
"timestamp": "ISO_8601",
"topic": "$TOPIC",
"module": "BBMC|BBPF|BBCR|BBAM",
"metrics": {
"deltaS": 0.XX,
"lambda": "→|←|<>|×",
"e_resonance": 0.XX,
"confidence": 0.XX
},
"content": {
"insight": "Encoded reasoning conclusion",
"context": "Surrounding context",
"keywords": ["key1", "key2", "key3"]
},
"relationships": {
"parent_id": "previous_node_id",
"references": [],
"bridges_to": []
}
}5. **Apply Recording Logic**
6. **Post-Processing**
✓ Semantic Node Recorded ═══════════════════════════════════════ Node ID: [node_id] Topic: $TOPIC Timestamp: [ISO_8601] Metrics: - ΔS (Tension): [value] [Low/Medium/High] - λ (Direction): [symbol] [convergent/divergent/recursive] - E (Resonance): [value] - Confidence: [percentage]% Module Used: [BBMC/BBPF/BBCR/BBAM] Insight: [encoded reasoning] Tree Status: - Active Tree: [tree_name] - Total Nodes: [count] - Avg Tension: [value] - Memory Usage: [size] Related Nodes: • [Previous topic] (ΔS: [value]) • [Related topic] (ΔS: [value])
Common node types:
Works with:
A comprehensive development toolkit designed following Anthropic's Claude Code Best Practices for AI-assisted software development.
Repo: qdhenry/Claude-Command-Suite
Execute automatic BBCR (Collapse-Rebirth Correction) when knowledge boundaries are exceeded or reasoning fails.
Analyze semantic position relative to knowledge boundaries to prevent hallucination and identify uncertainty zones.
Generate a visual heatmap of knowledge boundaries showing safe zones, risk areas, and semantic coverage.
Evaluate the current risk level and provide detailed analysis of potential hallucination or reasoning failure.
Find and construct semantic bridges to safely navigate from current position to target concept without crossing dangerous boundaries.
Takes an input prompt and returns ONLY a token-optimized version that preserves meaning while minimizing token count. Based on LLM tokenization principles:…