feat(mesh): interactive memory viewer with pipeline view#78
feat(mesh): interactive memory viewer with pipeline view#78
Conversation
Add a Rich-based interactive TUI for browsing built memory in a running mesh. Navigable via single-key commands with views for artifact listing, detail/provenance, search, config inspection, and build status.
|
Warning AI Review failed — openai | The openai blind review could not be completed. This does not affect the PR. |
|
Note Architectural Review — Claude Opus | Blind review (docs + diff only) Summary Adds an interactive terminal viewer for Mesh deployments ( Alignment This directly advances the Pipeline Explorer concept from DESIGN.md §XIII — the three-column drill-down from high-altitude artifacts through provenance to sources. The detail view renders provenance trees with recursive parent traversal, which is the "altitude-aware search + provenance drill-down" the design calls the strongest novelty. Artifacts remain immutable and content-addressed; the viewer is read-only. Scoping this to Mesh first is a reasonable incremental step, though the design envisions Observations
Verdict A solid incremental step that brings the Explorer vision to life within Mesh; the main risks are the Review parameters
|
- render_artifacts returns list[str] consistently (no implicit None) - depth-limit provenance traversal to 10 levels (avoid stack overflow) - use dataclasses.replace() in dispatch (no silent field drops) - handle bool in _format_toml_value (true/false not True/False)
|
Warning AI Review failed — openai | The openai blind review could not be completed. This does not affect the PR. |
|
Note Architectural Review — Claude Opus | Blind review (docs + diff only) Summary Adds Alignment This advances the Pipeline Explorer vision from DESIGN.md §XIII directly — the three-column drill-down concept of "search results → sources → detail" is present here as overview → artifacts → detail with provenance tree rendering. The provenance walk in One tension: this is scoped exclusively to mesh, but the Explorer in DESIGN.md §XIII is envisioned as a general pipeline capability ( Observations
Verdict A solid incremental step that delivers a useful artifact browser with good test coverage on dispatch and rendering, but the mesh-only scoping and private API access should be addressed before this pattern calcifies — the viewer logic belongs at the build layer, not the mesh layer. Review parameters
|
Browse the pipeline definition from within the mesh viewer: metadata, layer DAG with dependency arrows and level coloring, projections table, and validator/fixer counts. Wired into dispatch as `p`/`pipeline`.
|
Warning AI Review failed — openai | The openai blind review could not be completed. This does not affect the PR. |
|
Note Architectural Review — Claude Opus | Blind review (docs + diff only) Summary — Adds Alignment — This directly serves the Pipeline Explorer vision from DESIGN.md Part XIII. The three-column drill-down concept (search → sources → detail) maps onto the overview → artifacts → detail navigation here. Provenance is rendered as a recursive tree with depth-limiting, which respects the DAG model. Altitude-aware browsing is present: layers are styled and sorted by level, and search results show layer/level metadata. The viewer is read-only — it doesn't mutate artifacts, which is consistent with immutable, content-addressed artifacts. Observations
Verdict — A solid incremental step that brings the DESIGN.md explorer vision into the mesh workflow, with good test coverage and clean separation between state management and rendering; the main risks are reliance on private Review parameters
|
Bracket chars like [a] were consumed as Rich style tags, making the hotkey letters invisible. Use raw strings with \[ to display them literally.
|
Warning AI Review failed — openai | The openai blind review could not be completed. This does not affect the PR. |
|
Note Architectural Review — Claude Opus | Blind review (docs + diff only) Summary Adds Alignment This directly advances the Pipeline Explorer concept from DESIGN.md Part XIII — "the strongest novelty is altitude search + provenance drill-down." The viewer renders artifacts grouped by layer level, shows provenance trees with depth-limited traversal, and supports numeric drill-down from search results into artifact detail. It respects the DAG structure: However, scoping this exclusively to mesh feels like an odd choice. The Explorer in DESIGN.md is a general pipeline feature ( Observations
Verdict A solid incremental step that brings the Explorer vision to life within mesh, with good test coverage and sensible fallbacks — but the mesh-only scoping and Review parameters
|
Prevents leftover escape sequences from corrupting the terminal after the viewer exits. Uses Rich's console.screen() context manager which cleanly switches to/from the alt buffer.
|
Warning AI Review failed — openai | The openai blind review could not be completed. This does not affect the PR. |
|
Note Architectural Review — Claude Opus | Blind review (docs + diff only) Summary — Adds an interactive TUI memory viewer to Synix Mesh, accessible via Alignment — This directly realizes the Pipeline Explorer from DESIGN.md §XIII — "altitude search + provenance drill-down… the strongest novelty." The viewer renders artifacts grouped by layer level, shows provenance trees with depth limits, and supports drilling from search results into artifact detail. It respects the DAG structure: Observations
Verdict — A solid incremental step that brings the Explorer vision from DESIGN.md into a working, well-tested TUI, though the mesh-only scoping and Review parameters
|
Summary
synix mesh view) with seven views: overview, artifacts, detail, search, config, builds, and pipeline — all navigable via single-key commandsp) loads the pipeline definition and renders: metadata panel (name, dirs, concurrency, LLM config), layer DAG as a Rich tree with dependency arrows and level coloring, projections table (SearchIndex/FlatFile with sources and details), and validator/fixer countsTest plan
uv run pytest tests/e2e/mesh/test_mesh_view.py -v— 48/48 passuv run release— all checks pass (1481 tests, lint, template sync, demos)uv run synix mesh view --name <mesh>, presspto see pipeline view