How-To: Share Deep Links and Permalinks in the SpecOps Visualizer
This guide explains how to construct, share, and navigate visualizer deep links targeting specific dashboard views, faceted filter sets, and individual entity drawers.
Overview
The SpecOps visualizer uses browser URL hash fragments to store and synchronize view and entity state. Because state is encoded in hash parameters (rather than server query strings), permalinks function identically across:
- Local preview servers (
spec-ops visualizer --serveathttp://localhost:8787/) - Static GitHub Pages deployments (
/spec-ops/visualizer/) - Offline standalone bundles opened directly from disk (
file:///.../visualizer.html)
Deep Linking to Dashboard Views
To link directly to a specific visualizer tab, append #tab= to the visualizer URL:
| Dashboard View | Deep Link Format | Example URL |
|---|---|---|
| Relationship Graph | #tab=graph |
visualizer.html#tab=graph |
| Gantt & Timeline | #tab=gantt |
visualizer.html#tab=gantt |
| Kanban Pipeline | #tab=kanban |
visualizer.html#tab=kanban |
| PRDs & Features | #tab=prds |
visualizer.html#tab=prds |
| ADR Architecture | #tab=adrs |
visualizer.html#tab=adrs |
| Personas & Stories | #tab=personas |
visualizer.html#tab=personas |
| Project Matrix | #tab=matrix |
visualizer.html#tab=matrix |
| Lead Operations Console | #tab=lead |
visualizer.html#tab=lead |
When a user or agent opens the link, the visualizer immediately mounts the specified tab view without full page reloads.
Deep Linking to Specific Entities
To open a particular task, ADR, PRD, story, or persona directly in the visualizer detail drawer, supply the entity parameter:
# Deep link to a specific backlog task card
visualizer.html#tab=kanban&entity=TASK-0013
# Deep link to an Architectural Decision Record
visualizer.html#tab=adrs&entity=ADR-0002
# Deep link directly to a PRD specification
visualizer.html#tab=prds&entity=PRD-0001
If #tab is omitted, the visualizer activates the default context for the entity type and opens the detail drawer.
Inspecting Blast Radius via CLI
During code review or refactoring, engineers can launch the visualizer focused directly on a task entity:
spec-ops visualizer --serve --entity TASK-0009
This:
- Starts the local visualizer server on port 8787.
- Automatically opens the browser to
#entity=TASK-0009. - Centers the 2D relationship graph on the entity and highlights its immediate upstream stories and downstream dependents.
- Opens the task detail drawer with full metadata, linked PRDs, and the Target Bounded Context field showing filterable pills for related tasks in the same architectural boundary.
Preserving Faceted Filters and Search Queries
Filter parameters can be combined in the URL hash to share exact triage views with teammates:
# Kanban view filtered to Refined tasks in the 'core' bounded context
visualizer.html#tab=kanban&status=refined&bc=core
# Relationship graph clustered by Bounded Context with boundary hulls and labels
visualizer.html#tab=graph&groupBy=bc
# Relationship graph filtered to Active Delivery (tasks, stories, PRDs with complete hidden)
visualizer.html#tab=graph&types=task,story,prd&hideDone=true
# Relationship graph blast radius isolated to 1-hop neighborhood of a focused task
visualizer.html#tab=graph&entity=TASK-0009&hops=1
Supported filter parameters include:
q: Text search query (matches titles, canonical IDs, roles, and tags).status: Lifecycle status filter (all,complete,refined,proposed).bc: Target bounded context filter (isolates nodes in that architectural domain).hideDone: Boolean toggle (true/false) to exclude completed tasks.groupBy: Grouping mode (bcfor Bounded Context clusters with boundary hulls on the graph or BC groups in Gantt;releasefor delivery milestones).types: Comma-separated list of visible entity types (task,story,prd,adr,persona,bc).hops: Blast radius degree-of-separation (all,1, or2hops from focused/searched nodes).preset: Perspective preset (default,bc,delivery,architecture,flow).
Copying Permalinks and Context Actions
To copy a canonical permalink from the visualizer:
- Detail Drawer Header: Click the 🔗 Copy Deep Link button in the entity detail drawer header. Visual confirmation (
✓ Copied URL!) confirms the canonical deep link has been copied to your clipboard. - Kanban Task Cards: Click the 🔗 Copy Link context action button directly on any Kanban card to copy its canonical URL.
- ADR Governance Lists: Click the 🔗 Copy Link button on any ADR card in the ADR Architecture tab.
2D Canvas Focal Centering and 1.5x Zoom
When deep linking to an entity on the relationship canvas (#tab=canvas&focus= or #tab=graph&entity=):
- The 2D Canvas camera viewport smoothly animates and centers directly on the target node at 1.5x zoom.
- A glowing dual-ring halo pulses around the target node to immediately distinguish it from neighboring nodes in the graph.
- Opening or closing detail drawers synchronizes the URL hash (
entity=...), smoothly centering the camera when inspected and clearing the focal halo when dismissed.
Interactive Stakeholder Guided Tour
For non-technical product managers, domain experts, and auditors:
- Clicking 🧭 Take Guided Tour in the top navigation launches an interactive 4-step walkthrough explaining:
- The core philosophy of Project Management as Code (PMaC).
- How Personas connect to PRDs, Stories, and Backlog Tasks.
- How to filter delivery horizons on the Gantt chart and Kanban lanes.
- How to inspect verifiable test evidence in the detail drawer.
- The tour can be stepped through, skipped, or restarted at any time, with first-visit completion tracked in
localStorage.
Persona-Filtered BDD Scenarios and UAT Verification Receipts
In the Personas & Stories tab (#tab=personas):
- Clicking any persona card isolates the story catalog to stories authored for that persona.
- Clicking any user story expands an accordion displaying exact executable Gherkin scenarios with green blackbox verification badges (
✓ PASSED). - Clicking 📄 Export UAT Verification Receipt generates a cryptographically hashed (SHA-256), timestamped markdown compliance receipt with dual signature blocks for Product and Security sign-off, downloadable for SOC2/ISO compliance audits.
Browser History Navigation
The visualizer responds to native browser navigation:
- Clicking the browser Back button closes an active detail drawer or returns to the previous tab.
- Clicking Forward steps forward through your inspection history without triggering network reloads.
Air-Gapped Standalone Bundle Export
To share the visualizer in zero-network or air-gapped environments, export a standalone, self-contained HTML bundle:
spec-ops visualizer export --output dist/index.html
Or build the artifact during static documentation site compilation:
spec-ops docs build --include-visualizer
The resulting single-file HTML artifact bundles all CSS, SVG icons, and JavaScript logic with zero external CDN dependencies, fully supporting local file:// protocol execution.