# 65 — Universal and Adaptable Platform Status: **implemented and audited — September 14, 2026; universal document ingestion, domain templates, living interactive outcome canvas, semantic memory distillation, multi-agent collaboration evaluations, and proactive agent scheduling landed.** ## 1. Product Decision vak is a universal assistant operating with domain neutrality across engineering, research synthesis, writing, operational triage, and quantitative analysis. A user may ask a question, request a complex data extraction, initiate a multi-source research review, or delegate a multi-agent workflow. The interface presents calm, outcome-focused deliverables with living interactivity: - Every table produced in conversation provides client-side sorting, search filtering, and instant CSV export. - Documents across all major formats (Markdown, CSV, TSV, JSON, YAML, TOML, INI, ENV, HTML, XML) are ingested token-efficiently without external runtime dependencies. - Specialist agents (`researcher`, `writer`, `operator`, `analyst`) bring dedicated epistemic stances, prompt layers, and tools to complex problems. - Agents durably own scheduled executions and record verifiable run receipts to append-only ledgers. ## 2. Core Architectural Components ### A. Living Interactive Outcome Canvas 1. **Interactive Table Engine (`InteractiveTable`)**: - Upgrades standard markdown tables into dynamic client-side data grids within the message stream. - Features: - Real-time row search filter (`Filter table...`) with active match indicators (`X of Y rows`). - Clickable column sort headers with numeric/alphabetical detection and direction indicators (`▲`, `▼`, `↕`). - One-click CSV export (`downloadCsv`). - Seamless preservation of rich inline markdown nodes (bold, code, links). 2. **Visual Aliases & Primitive Routing** (`STRUCTURED_RENDERERS` in `PresentationRenderer.tsx`): - `trend`, `timeseries`, `metric_chart`, `bar_chart`, `comparison_chart` all route to the `chart` primitive via `buildChartSpec` (`bar_chart` passing the forced `"bar"` override). - `decision_matrix`, `criteria_matrix`, `tradeoff_analysis` route to the `table` primitive via `buildTableSpec`, each with its own default title. - Aliasing is a registry entry, not a component: several semantic types deliberately share one `buildXSpec`/`renderX` pair (`docs/design/67-presentation-renderer-guide.md`). - `/canvas/preview` endpoint transcodes arbitrary markdown to self-contained interactive standalone HTML. ### B. In-Memory Universal Document Ingestion (`doc_read`) 1. **Tool Contract**: - `path`: Target file within the canonical workspace. - `section`: Optional section heading (e.g. `'## Methodology'`, `'[server]'`). - `view`: `'text'`, `'table'`, `'summary'`, `'outline'`. - `offset` & `limit`: Paginated extraction avoiding context window blowouts. 2. **Supported Formats**: - **Tabular**: CSV, TSV, JSON array of objects. - **Structured Config**: TOML, YAML, INI, ENV, Properties. - **Markup & Web**: Markdown, HTML, XML (with tag-aware heading outline and `