Add semantic flow and convergence web views
This commit is contained in:
parent
f9f7105983
commit
6609edc804
14 changed files with 616 additions and 128 deletions
|
|
@ -82,14 +82,14 @@ only through the explicit local CLI integration command.
|
|||
|
||||
## Visualization boundary
|
||||
|
||||
`docforge_visualize` starts the fixed built-in `graph-browser@12` template against the currently
|
||||
`docforge_visualize` starts the fixed built-in `graph-browser@14` template against the currently
|
||||
validated derived index. It may focus one stable node, run one bounded lexical query, or open the
|
||||
project overview. The tool returns a loopback URL and exact snapshot identity.
|
||||
|
||||
The tool cannot select a project, database, template, host, port, filesystem path, or SQL
|
||||
expression. Its HTTP surface is token-bound, read-only, same-origin, and limited to overview,
|
||||
search, exact family/authority/status/tag filtering, node-neighborhood JSON, and a bounded
|
||||
project-confined source read for one indexed node. The browser
|
||||
search, exact family/authority/status/tag filtering, node-neighborhood JSON, semantic Flow,
|
||||
convergence Web, and a bounded project-confined source read for one indexed node. The browser
|
||||
exposes an exact validated index snapshot. It rejects index
|
||||
replacement or alteration and requires another MCP invocation to refresh.
|
||||
Viewport interaction is entirely client-side: fitted neighborhood framing, wheel zoom, left-button
|
||||
|
|
@ -98,14 +98,17 @@ project data. Left activation visibly selects the node and opens a compact descr
|
|||
Right-click opens the full inspector. Descriptor-pill activation fills the fixed left panel with an
|
||||
exact bounded category result set. The fixed right panel contains neighborhood navigation.
|
||||
Replacing the current root requires an explicit Explore neighborhood action. Users may hide
|
||||
non-focus nodes and restore them entirely client-side. Source actions open the indexed source path
|
||||
non-focus nodes and restore them entirely client-side. Flow and Web prune upstream-only branches
|
||||
disconnected by a hidden node while retaining descendants that still lead to the focus. Source
|
||||
actions open the indexed source path
|
||||
and navigate to recognized anchors. Nodes presents the
|
||||
bounded neighborhood with relation-specific colors, line patterns, directional symbols, and a
|
||||
visible key. Its navigation groups the focus, nodes reachable through outgoing edges, and remaining
|
||||
incoming or lateral context. Flow presents the same bounded snapshot as an upstream lineage.
|
||||
Execution edges retain their declared direction; reads, imports, and dependencies reverse to show
|
||||
what feeds the focus; structural, evidence, and context edges are excluded. The same relationship
|
||||
key is regenerated from the visible Flow edges. The browser runs in a project-bound worker owned by
|
||||
incoming or lateral context. Flow presents semantic ancestry with relation-aware direction.
|
||||
Web follows bounded structural, dependency, execution, evidence, and contextual contributors into
|
||||
the focus. Direct focus-owned members and execution dependencies become adjacent contributor
|
||||
branches without expanding unrelated siblings. The relationship key is regenerated from each
|
||||
visible view. The browser runs in a project-bound worker owned by
|
||||
the separately supervised per-user viewer manager. Standard-input transaction completion and MCP
|
||||
host exit do not close the listener. Repeated visualization requests reuse the current worker while
|
||||
its exact snapshot remains valid. `docforge_visualization_status` reports lifecycle state, and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue