IMPORTANT
AI Assist Note (Knowledge Heritage): This document is part of the "Sovereign Reality" documentation.
- @docs ARCHITECTURE:Documentation
- Failure Path: Information drift, legacy terminology, or documentation mismatch.
- Telemetry Link: Cross-reference with
execution/parity_guard.pyresults.
AI Assist Note
Automated governance and architectural tracking.
🔍 Debugging & Observability
Traceability via parity_guard.py.
🛠️ CLI Operations: Tadpole OS Tooling
Tadpole OS provides a suite of deterministic Python scripts for lifecycle management, memory synthesis, and post-mission debriefing. These tools are located in the execution/ directory.
🧠 Mission Debriefing (debrief_mission.py)
The primary tool for extracting institutional memory and architectural wisdom from mission logs.
Usage
bash
python execution/debrief_mission.py [OPTIONS]Options
| Flag | Description | Default |
|---|---|---|
--mission_id | Specific ID to debrief. If omitted, uses the latest mission. | Latest |
--commit | Commit Learning: Appends synthesized insights to directives/LONG_TERM_MEMORY.md. | false |
--verbose | Displays detailed synthesis logic and LLM reasoning. | false |
Workflow
- Extraction: Reads the SQLite mission logs from the
workspaces/directory. - Synthesis: Uses Groq/Ollama to identify "Strategic Failures" and "Technical Wins".
- Persistence: Formats insights into standard markdown for the OS's long-term memory.
🛡️ Parity Guard (parity_guard.py)
The integrity gatekeeper used to ensure that code and documentation remain in a state of "Sovereign Parity."
Usage
bash
python execution/parity_guard.py [FIX=1]Checks Performed
- API Parity: Compares Axum routes (
router.rs) againstopenapi.yaml. - Tag Verification: Scans all source files for
@docstags and verifies the destination file exists. - Environment Safety: Checks if all
std::env::varcalls in the engine are documented in.env.example. - Skill Validation: Verifies that every JSON skill manifest has a corresponding execution script on disk.
🏗️ Deployment Engine (deploy.py)
Handles safe environment transitions and sidecar process management.
Features
- Environment Discovery: Automatically detects if running in a "Bunker" node vs. a local workstation.
- Port Orchestration: Manages the coordination between the Rust engine (8000) and the Vite dashboard (5173).
