Add function-scoped Logic visualization
This commit is contained in:
parent
9fcafc290c
commit
9b4258c852
22 changed files with 1420 additions and 62 deletions
|
|
@ -15,6 +15,7 @@ canonical applier implementation.
|
|||
- `docforge_project_info`
|
||||
- `docforge_get_contract`
|
||||
- `docforge_get_node`
|
||||
- `docforge_get_logic`
|
||||
- `docforge_search`
|
||||
- `docforge_filter_nodes`
|
||||
- `docforge_backlinks`
|
||||
|
|
@ -85,14 +86,16 @@ only through the explicit local CLI integration command.
|
|||
|
||||
## Visualization boundary
|
||||
|
||||
`docforge_visualize` starts the fixed built-in `graph-browser@15` template against the currently
|
||||
`docforge_visualize` starts the fixed built-in `graph-browser@16` 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, semantic Flow,
|
||||
convergence Web, and a bounded project-confined source read for one indexed node. The browser
|
||||
convergence Web, lazy function-scoped Logic, and a bounded project-confined source read for one
|
||||
indexed node. `docforge_get_logic` and the browser Logic endpoint accept one exact owner node ID and
|
||||
return only that bounded stored projection. 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
|
||||
|
|
@ -113,7 +116,10 @@ tooltips and inspectors. Flow presents semantic ancestry with relation-aware dir
|
|||
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
|
||||
visible view. Logic displays possible static control paths for a focused function or method without
|
||||
adding its statement-level nodes to primary search or architectural traversal. Hiding a Logic step
|
||||
bridges its retained predecessors and successors with an explicit omitted path. 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