Repository navigation
Conversation
Assets and dependency edges across every visible product, with reach tracing (direct, upstream, downstream), find, color lenses, shareable URL state, and a detail panel linking to each asset's wiki page and documents. Co-authored-by: sai <sai@mindstaq.com>
…m, and restore state from the URL Product grouping no longer stacks a product's internal edges as arcs on one column, the map fits the reading width by default, and Back/reload restore the selected asset, trace, and scope from the live URL rather than cached props. Co-authored-by: sai <sai@mindstaq.com>
…anel Co-authored-by: sai <sai@mindstaq.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an Architecture map to the Product Wiki (
/wiki/<product>?view=map). It draws assets and their recorded dependencies for one product or for every product the reader can see. Selecting an asset opens a panel with its health, version, owners, and its current specs, plans, issues, and decisions. A trace control follows Direct, Upstream (what it relies on, transitively), or Downstream (what relies on it, with owners) connections.focus,reach,scope,group, andlenslive in the URL and survive Back and reload.getAssetInventory(same visibility rules). Only the wiki's own product contributes document titles and excerpts; bodies stay on the server.Why not embed archify directly
archify is Apache-2.0 (with historical MIT grants), so it is license-compatible with this MIT project if its LICENSE and NOTICE are kept. Its bundled brand marks carry mixed licenses, including Vue's CC-BY-NC-SA, which matters only if the
brandfield is used. I tested it against real data before choosing:clean-flow/edge-through-nodeerrors, and 60 with 90 produced 337. Archify expects an agent to author layout and repair it in correction rounds, and its README lists general-purpose auto-layout as out of scope. A data-derived map would break whenever someone records a new dependency.The map instead borrows archify's best interaction ideas (focus with upstream/downstream reach, a node finder, URL-kept views, a per-node detail panel) on top of a native, deterministic layout.
Archify render of the demo workspace (15 assets)
Screenshots
Single-product map fitted to width
All products: product bands with an upstream trace from Web Application
Cross-product upstream trace from Mobile BFF
Walkthrough (6× speed):
wiki-architecture-map-demo-6x.mp4
Testing
pnpm test: 643 passing, including the newtests/lib/wiki/map.test.ts. It covers reach depth through cycles, edge selection by direction, layout determinism and taxonomy order, non-overlapping product bands, cross-product data, no body leakage, and visibility.pnpm typecheckandpnpm buildpass.pnpm lintreports 0 errors.To show artifacts inline, enable in settings.