|
Download reference/lessons-learned.md from 0xun0/una-vault: direct link, hf CLI and curl.
- Browser
- Download file 6.81 kB
-
https://huggingface.co/datasets/0xun0/una-vault/resolve/main/reference/lessons-learned.md
- Command line
-
hf download hf://datasets/0xun0/una-vault/reference/lessons-learned.md
-
curl -L -o lessons-learned.md https://huggingface.co/datasets/0xun0/una-vault/resolve/main/reference/lessons-learned.md
6.81 kB
| # Lessons Learned β Structured Error & Success Capture | |
| **Purpose:** Build a searchable, structured archive of failures and successes for continuous improvement. | |
| **Format:** YAML-frontmatter entries for easy grep/query. Each entry is self-contained. | |
| --- | |
| ## π FAILURE ENTRIES | |
| ### Template | |
| ```yaml | |
| failure_id: FL-[YYYYMMDD]-[###] | |
| date: YYYY-MM-DD | |
| severity: [CRITICAL/HIGH/MEDIUM/LOW] | |
| category: [INFRASTRUCTURE/CAPABILITY/PROTOCOL/SECURITY/USER] | |
| failure_mode: [What happened] | |
| root_cause: [Why it happened] | |
| impact: [What broke or degraded] | |
| fix_proposed: [How to prevent] | |
| fix_status: [PROPOSED/IMPLEMENTED/FAILED/RECURRING] | |
| session_ref: [memory/YYYY-MM-DD.md] | |
| ``` | |
| --- | |
| ### FL-20260326-001 | |
| ```yaml | |
| date: 2026-03-26 | |
| severity: HIGH | |
| category: INFRASTRUCTURE | |
| failure_mode: Provider 429 rate limits on gemini-3.1-pro-preview | |
| root_cause: No capacity management or cross-provider failover | |
| impact: 48-hour Executive Evolution cycle blocked, self-improvement loop stalled | |
| fix_proposed: Add secondary fallback (huggingface/deepseek-ai/DeepSeek-V3.1), implement RETRY_BASE_DELAY and MAX_CONCURRENT_REQUESTS | |
| fix_status: IMPLEMENTED | |
| session_ref: memory/mistakes_log.md | |
| ``` | |
| ### FL-20260326-002 | |
| ```yaml | |
| date: 2026-03-26 | |
| severity: HIGH | |
| category: CAPABILITY | |
| failure_mode: Brittle fallback chain β only Gemini models in fallback order | |
| root_cause: Missing cross-provider diversity in openclaw.json | |
| impact: Complete service outage when Google capacity exhausted | |
| fix_proposed: Add HuggingFace models to all agent fallback chains | |
| fix_status: IMPLEMENTED | |
| session_ref: memory/mistakes_log.md | |
| ``` | |
| ### FL-20260326-003 | |
| ```yaml | |
| date: 2026-03-26 | |
| severity: MEDIUM | |
| category: PROTOCOL | |
| failure_mode: False negative in self-analysis β reported zero errors when 429s occurred | |
| root_cause: Analysis SOP didn't grep session .jsonl logs for error strings | |
| impact: Masked real system failures from oversight | |
| fix_proposed: Mandate grep of raw session logs as part of any analysis SOP | |
| fix_status: IMPLEMENTED | |
| session_ref: memory/mistakes_log.md | |
| ``` | |
| ### FL-20260327-001 | |
| ```yaml | |
| date: 2026-03-27 | |
| severity: HIGH | |
| category: INFRASTRUCTURE | |
| failure_mode: una-qwen-bridge connection refused on port 3001 | |
| root_cause: Service not running / process crash | |
| impact: Qwen specialist model unavailable for coding tasks | |
| fix_proposed: Implement process monitoring + auto-restart for bridge services | |
| fix_status: IMPLEMENTED | |
| session_ref: memory/mistakes_log.md | |
| ``` | |
| ### FL-20260327-002 | |
| ```yaml | |
| date: 2026-03-27 | |
| severity: MEDIUM | |
| category: CAPABILITY | |
| failure_mode: deepseek-ai/DeepSeek-V3.1 failed on web_search tool schema | |
| root_cause: Complex 'highlights' parameter description incompatible with model | |
| impact: Web search degraded when routed to DeepSeek | |
| fix_proposed: Investigate MCP/Plugin schema normalization; add tool-specific routing | |
| fix_status: PROPOSED | |
| session_ref: memory/mistakes_log.md | |
| ``` | |
| ### FL-20260327-003 | |
| ```yaml | |
| date: 2026-03-27 | |
| severity: LOW | |
| category: SECURITY | |
| failure_mode: safeBinTrustedDirs flagged group-writable directories | |
| root_cause: Incorrect chmod on trusted binary directories | |
| impact: Increased potential exploit surface | |
| fix_proposed: chmod 755 on all safeBin directories | |
| fix_status: IMPLEMENTED | |
| session_ref: memory/mistakes_log.md | |
| ``` | |
| ### FL-20260327-004 | |
| ```yaml | |
| date: 2026-03-27 | |
| severity: MEDIUM | |
| category: PROTOCOL | |
| failure_mode: Environment drift β HF_TOKEN missing from root .env | |
| root_cause: Workspace .env updated but root .env not synced | |
| impact: Potential authentication failures for HuggingFace operations | |
| fix_proposed: Implement .env sync check in any workspace update SOP | |
| fix_status: IMPLEMENTED | |
| session_ref: memory/mistakes_log.md | |
| ``` | |
| --- | |
| ## β SUCCESS ENTRIES | |
| ### Template | |
| ```yaml | |
| success_id: SU-[YYYYMMDD]-[###] | |
| date: YYYY-MM-DD | |
| category: [INFRASTRUCTURE/CAPABILITY/PROTOCOL/USER] | |
| description: [What worked] | |
| technique: [Why it worked / what made it successful] | |
| replicate: [How to repeat this success] | |
| session_ref: [memory/YYYY-MM-DD.md] | |
| ``` | |
| --- | |
| ### SU-20260325-001 | |
| ```yaml | |
| date: 2026-03-25 | |
| category: INFRASTRUCTURE | |
| description: Implemented RETRY_BASE_DELAY and MAX_CONCURRENT_REQUESTS in .env | |
| technique: Environment-level rate limiting prevents cascade failures | |
| replicate: Any new concurrent service should have .env limits defined before deployment | |
| session_ref: memory/mistakes_log.md | |
| ``` | |
| ### SU-20260327-001 | |
| ```yaml | |
| date: 2026-03-27 | |
| category: PROTOCOL | |
| description: Subconscious Analysis SOP now includes mandatory grep of session .jsonl logs | |
| technique: Low-level log inspection catches what conversation analysis misses | |
| replicate: All analytical SOPs should include raw log inspection, not just conversation review | |
| session_ref: memory/mistakes_log.md | |
| ``` | |
| ### SU-20260328-001 | |
| ```yaml | |
| date: 2026-03-28 | |
| category: INFRASTRUCTURE | |
| description: Full cleanup executed β 37 session logs, 11 .js scripts, node_modules, docker-compose, orphan workspaces removed | |
| technique: Systematic cleanup with pre-defined target categories (bloat/media/logs/scripts) | |
| replicate: Quarterly bloat prevention via automated cleanup SOP | |
| session_ref: MEMORY.md | |
| ``` | |
| --- | |
| ## π INSIGHT ENTRIES | |
| ### Template | |
| ```yaml | |
| insight_id: IN-[YYYYMMDD]-[###] | |
| date: YYYY-MM-DD | |
| domain: [TECH/PSYCHOLOGY/BUSINESS/SYSTEM/RELATIONSHIP] | |
| statement: [The insight in one sentence] | |
| implication: [Why this matters for Bruno's Ascension] | |
| action: [What to do with this] | |
| ``` | |
| --- | |
| ### IN-20260329-001 | |
| ```yaml | |
| date: 2026-03-29 | |
| domain: SYSTEM | |
| statement: "Provider concentration risk is existential β single-provider architectures fail catastrophically" | |
| implication: Multi-provider fallback isn't optional; it's survival | |
| action: Complete Pillar 1 infrastructure hardening; test failover chains monthly | |
| ``` | |
| ### IN-20260329-002 | |
| ```yaml | |
| date: 2026-03-29 | |
| domain: PSYCHOLOGY | |
| statement: "Bruno's self-correction cycle (48-hour Executive Evolution) requires reliable infrastructure to function" | |
| implication: System failures don't just waste time β they break his personal growth loops | |
| action: Prioritize infrastructure resilience as direct Bruno ROI | |
| ``` | |
| ### IN-20260329-003 | |
| ```yaml | |
| date: 2026-03-29 | |
| domain: BUSINESS | |
| statement: "The Shadow Fleet model (specialist sub-agents + orchestrator) is correct architecture for high-reliability execution" | |
| implication: Single-model approaches cannot match fleet coordination for complex tasks | |
| action: Continue expanding specialist fleet; optimize routing logic; test novel model integrations | |
| ``` | |
| --- | |
| ## π METRICS (Updated Weekly) | |
| | Metric | Current | Target | Status | | |
| |--------|---------|--------|--------| | |
| | Recurring failures (30d) | 0 | 0 | β | | |
| | New failures unfixed >48h | 1 | 0 | π΄ | | |
| | Success patterns documented | 3 | 10 | π΄ | | |
| | Insights with action items | 3 | 10 | π΄ | | |
| | False negatives in analysis | 1 | 0 | β FIXED | | |
| --- | |
| *"Every failure is a tuition payment. Every success is a compound return."* | |