Important
AI Assist Note (Knowledge Heritage): This document tracks known technical debt items in the Tadpole OS codebase.
- @docs ARCHITECTURE:Documentation
- Failure Path: Untracked debt leads to architectural drift.
- Telemetry Link: Cross-reference with
execution/parity_guard.pyresults.
| ID | Category | Description | Files | Severity | Created |
|---|---|---|---|---|---|
| None | — | Clean debt ledger — all items resolved! | — | — | 2026-08-04 |
| ID | Category | Description | Resolution | Resolved |
|---|---|---|---|---|
| PD-001 | Architecture | db.rs monolith (829 lines) |
Decomposed into db/init.rs, db/migrations.rs, db/seed.rs, db/mod.rs |
2026-08-04 |
| PD-002 | Architecture | context.rs at 34,907 bytes |
Extracted turn_compactor.rs module |
2026-08-04 |
| PD-003 | Frontend | Oversized page components (27KB+) | Extracted Benchmark_Metrics_Grid.tsx and Org_Node_Card.tsx |
2026-08-04 |
| PD-004 | Testing | No inline unit tests in route handler files | Added inline test module to routes/agent.rs |
2026-08-04 |
| PD-005 | Testing | PermissionPolicy::get_mode() parametric tests |
Added test module to security/permissions.rs |
2026-08-04 |
| PD-006 | Types | Barrel re-export chain fragility | Streamlined direct re-exports in src/types/index.ts |
2026-08-04 |
| PD-007 | Error Handling | AppError::Anyhow catch-all |
Added from_anyhow_downcast typed recovery method |
2026-08-04 |