[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AVPH3GXW8VST9XED660JRD":3,"skill-same:01M7AVPH3GXW8VST9XED660JRD":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M7AVPH3GXW8VST9XED660JRD","data-topology-mapper",null,"Map complex problem domains, causal DAG lineages, execution queues, and data structures before code modification to prevent architecture regressions. Do not use for trivial single-file scripts or static UML drawing.","SpectreDeath\u002FBrain-Harness","SpectreDeath","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F207463416?v=4","01M7AVGR1D4X8ADT47APKGVH2Z","JL","01M7AVGR2HSGD23BA5DBTJJTVN",0,"MIT","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdata-topology-mapper\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: data-topology-mapper\ndescription: Map complex problem domains, causal DAG lineages, execution queues, and data structures before code modification to prevent architecture regressions. Do not use for trivial single-file scripts or static UML drawing.\n---\n\n# Data Topology Mapper\n\n`data-topology-mapper` forces agents to explicitly declare, decompose, and visually map the underlying data structure of a problem domain before modifying code. By translating abstract architectural questions into concrete, visually rendered topologies (Graphs, Trees, Hash Maps\u002FSets, Execution Queues\u002FHeaps, and Hybrid Compositions) inspired by visual data structure analogies, it eliminates speculative assumptions, preserves topological invariants, and contains blast radius.\n\nEvery topology mapping workflow follows a strict four-stage progression:\n\n```\n[1. Domain Analysis & Hybrid Mapping] → [2. The Visual Brief] → [3. Triage Checkpoint & Schema] → [4. Execution & Algorithmic Verification]\n```\n\nSee [CARD.md](CARD.md) for the quick-reference summary card, analogy matrix, and verification invariants.\nConsult `\u002Fcrafting-skills` for the underlying deep-module design standards and `\u002Fdeepen-architecture` for seam optimization.\n\n---\n\n## 1. Domain Analysis & Hybrid Analogy Mapping\n\nWhen triggered by an architectural request, refactor, or multi-agent design task, classify the problem domain into one of four cognitive lenses or declare a **Hybrid Composition**:\n\n### The 4 Base Cognitive Lenses\n\n1. **Interconnected Networks (The Graph Topology)**\n   - *Mental Model Analogy*: Social networks (undirected), follower networks (directed), or route maps with variable travel costs (weighted).\n   - *Agent Application*: Multi-agent routing, polyglot state flows, or microservice bridges. Identify **vertices** (Python, Prolog, Lisp modules) and **edges** (JSON-RPC bridges, APIs, event buses). Map directed edges to compute the exact **blast radius**.\n\n2. **Hierarchical Lineage (The Tree Topology)**\n   - *Mental Model Analogy*: Inverted family tree (root at top, branches spreading down) or binary search decision tree (halving problem space at each step).\n   - *Agent Application*: Epistemic lineage, UI\u002FDOM hierarchies, or Prolog decision trees. Identify the **root node** and trace strict **parent-child execution paths**.\n   - *Hard Invariant*: Strictly forbidden from introducing cyclic dependencies (circular parent-child loops).\n\n3. **Direct Access & Unique States (Hash Maps & Sets)**\n   - *Mental Model Analogy*:\n     - *Hash Map*: A magical machine that takes a key and instantly points to a specific drawer ($O(1)$ direct access, eliminating sequential scans).\n     - *Set*: A VIP club guest list that automatically rejects duplicates and guarantees uniqueness.\n   - *Agent Application*: IoC service registry lookups, configuration state maps, Semantic Memory Engine indexes ($O(1)$ key-value routing), and idempotency\u002Fsubscriber sets (strict deduplication).\n\n4. **Execution Order (Stacks, Queues, & Priority Heaps)**\n   - *Mental Model Analogy*:\n     - *Stack (LIFO)*: A pile of washed plates; last plate added is first removed (undo histories, recursive backtracking).\n     - *Queue (FIFO)*: A fair ticket line; first come, first served (standard background task workers).\n     - *Priority Queue \u002F Max-Heap*: An emergency room triage desk where critical patients skip the line regardless of arrival time.\n   - *Agent Application*: Task execution pipelines, gateway command routing, and human-in-the-loop triage interrupts.\n\n### Hybrid Topology Compositions\n\nFor complex, multi-tiered architectures, declare how base topologies nest or compose:\n- **Graph of Trees**: A microservice network where individual services manage internal hierarchical entity or rule trees.\n- **Hash-Indexed Queue \u002F Heap**: A priority task execution pipeline with $O(1)$ direct key lookup by Task ID for cancellation and status monitoring.\n- **Tree of DAGs**: A hierarchical module packaging system where each subsystem encapsulates an internal directed acyclic workflow.\n\n> **Completion criterion**: Core data structure category (or explicit hybrid composition) and mental model analogy are declared in the output.\n\n---\n\n## 2. The Visual Brief\n\nGenerate an interactive, self-contained HTML brief in `%TEMP%` to visually map the blast radius and architectural topology before touching code:\n\n1. **Target Location**: Write to `%TEMP%\\data-topology-review-\u003Ctimestamp>.html` (Windows) or `\u002Ftmp\u002Fdata-topology-review-\u003Ctimestamp>.html` (Unix).\n2. **Visual Standards**:\n   - Load Tailwind CSS and Mermaid.js via CDN using dark theme (`#0d1117`).\n   - Render a side-by-side **Before vs. After** Mermaid diagram illustrating node modifications, edge transitions, and blast radius.\n   - Embed an **Interactive Blast Radius Table** detailing affected vertices, risk levels, and isolation boundaries.\n3. **Delivery**: Surface the absolute file path with a clickable `file:\u002F\u002F\u002F` link directly to the user.\n\n```html\n\u003C!-- Location: %TEMP%\\data-topology-review-\u003Ctimestamp>.html -->\n\u003C!DOCTYPE html>\n\u003Chtml lang=\"en\">\n\u003Chead>\n  \u003Cmeta charset=\"UTF-8\">\n  \u003Ctitle>Data Topology Review\u003C\u002Ftitle>\n  \u003Cscript src=\"https:\u002F\u002Fcdn.tailwindcss.com\">\u003C\u002Fscript>\n  \u003Cscript src=\"https:\u002F\u002Fcdn.jsdelivr.net\u002Fnpm\u002Fmermaid@10\u002Fdist\u002Fmermaid.min.js\">\u003C\u002Fscript>\n  \u003Cscript>mermaid.initialize({startOnLoad:true, theme:'dark'});\u003C\u002Fscript>\n\u003C\u002Fhead>\n\u003Cbody class=\"bg-[#0d1117] text-[#c9d1d9] p-8 max-w-6xl mx-auto font-sans leading-relaxed\">\n  \u003Cheader class=\"border-b border-[#30363d] pb-4 mb-6 flex items-center justify-between\">\n    \u003Cdiv>\n      \u003Ch1 class=\"text-2xl font-bold text-white\">Data Topology Review\u003C\u002Fh1>\n      \u003Cp class=\"text-sm text-gray-400 mt-1\">Pre-modification structural blast radius mapping\u003C\u002Fp>\n    \u003C\u002Fdiv>\n    \u003Cspan class=\"bg-[#238636] text-white text-xs px-3 py-1 rounded-full font-mono font-semibold\">Topology: Hybrid (DAG + Hash Index)\u003C\u002Fspan>\n  \u003C\u002Fheader>\n\n  \u003Cmain class=\"grid grid-cols-1 md:grid-cols-2 gap-6 mb-8\">\n    \u003Csection class=\"bg-[#161b22] border border-[#30363d] rounded-xl p-5 shadow-lg\">\n      \u003Ch2 class=\"text-lg font-semibold text-gray-200 mb-3 border-b border-[#30363d] pb-2\">Current Architecture\u003C\u002Fh2>\n      \u003Cdiv class=\"mermaid\">\n        graph TD\n          A[Client] --> B[Service]\n      \u003C\u002Fdiv>\n    \u003C\u002Fsection>\n    \u003Csection class=\"bg-[#161b22] border border-emerald-700\u002F60 rounded-xl p-5 shadow-lg\">\n      \u003Ch2 class=\"text-lg font-semibold text-emerald-400 mb-3 border-b border-[#30363d] pb-2\">Proposed Topology\u003C\u002Fh2>\n      \u003Cdiv class=\"mermaid\">\n        graph TD\n          A[Client] --> B[Service]\n          B --> C[IoC Registry]\n      \u003C\u002Fdiv>\n    \u003C\u002Fsection>\n  \u003C\u002Fmain>\n\n  \u003Csection class=\"bg-[#161b22] border border-[#30363d] rounded-xl p-5\">\n    \u003Ch3 class=\"text-sm font-bold text-gray-300 uppercase tracking-wider mb-3\">Blast Radius Impact Matrix\u003C\u002Fh3>\n    \u003Ctable class=\"w-full text-left text-xs border-collapse\">\n      \u003Cthead>\n        \u003Ctr class=\"border-b border-[#30363d] text-gray-400\">\n          \u003Cth class=\"py-2\">Vertex ID\u003C\u002Fth>\n          \u003Cth class=\"py-2\">Module \u002F Seam\u003C\u002Fth>\n          \u003Cth class=\"py-2\">Topological Role\u003C\u002Fth>\n          \u003Cth class=\"py-2\">Impact Level\u003C\u002Fth>\n        \u003C\u002Ftr>\n      \u003C\u002Fthead>\n      \u003Ctbody class=\"divide-y divide-[#30363d] text-gray-300\">\n        \u003Ctr>\n          \u003Ctd class=\"py-2 font-mono text-emerald-400\">v_kernel\u003C\u002Ftd>\n          \u003Ctd class=\"py-2\">src\u002Fharness\u002Fkernel\u002F\u003C\u002Ftd>\n          \u003Ctd class=\"py-2\">Root Coordinator\u003C\u002Ftd>\n          \u003Ctd class=\"py-2\">\u003Cspan class=\"px-2 py-0.5 rounded bg-amber-900\u002F50 text-amber-300 border border-amber-700\u002F50\">Direct Edit\u003C\u002Fspan>\u003C\u002Ftd>\n        \u003C\u002Ftr>\n      \u003C\u002Ftbody>\n    \u003C\u002Ftable>\n  \u003C\u002Fsection>\n\u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\n\n> **Completion criterion**: Interactive HTML file written to `%TEMP%` and delivered to user as a clickable URI link.\n\n---\n\n## 3. Mandatory Checkpoint & Structured Schema Block\n\nHalt execution to achieve consensus on the structural map before any modifications occur. This acts as an **ER Triage \u002F Max-Heap Priority Interrupt**:\n\n1. Generate or update the `implementation_plan.md` artifact detailing proposed topology changes.\n2. Embed a formal **Structured Topology Specification Block** in JSON\u002FMarkdown format:\n\n```markdown\n### [Topology Specification Block]\n```json\n{\n  \"topology_type\": \"Directed Acyclic Graph (DAG)\",\n  \"is_hybrid\": false,\n  \"composition\": null,\n  \"vertices\": [\n    {\"id\": \"v_kernel\", \"label\": \"Kernel Micro-Core\", \"type\": \"module\"},\n    {\"id\": \"v_registry\", \"label\": \"IoC Service Registry\", \"type\": \"hash_map\"}\n  ],\n  \"edges\": [\n    {\"from\": \"v_kernel\", \"to\": \"v_registry\", \"protocol\": \"in_memory\", \"directed\": true}\n  ],\n  \"invariants\": [\"strictly_acyclic\", \"single_root\", \"o1_lookup\"],\n  \"blast_radius_nodes\": 2\n}\n```\n```\n\n3. Explicitly set `RequestFeedback: true` in artifact metadata.\n4. **STOP and wait** for explicit user approval before executing any destructive or modifying code commands.\n\n> **Completion criterion**: Agent pauses execution and requests human-in-the-loop approval on `implementation_plan.md` containing the structured topology block.\n\n---\n\n## 4. Execution & Algorithmic Invariant Verification\n\nUpon receiving user approval, execute code modifications strictly aligned with the approved topology and run algorithmic verification:\n\n1. **Confine Blast Radius**: Restrict edits exclusively to the vertices and edges defined in the approved Visual Brief.\n2. **Algorithmic Invariant Verification Protocols**:\n   - **Tree \u002F DAG Acyclicity Protocol**: Verify that no circular references exist (e.g. Kahn's topological sort or DFS cycle detection).\n   - **Hash Map \u002F Set Uniqueness Protocol**: Verify that key mappings remain collision-free and set insertion enforces strict deduplication without $O(N)$ scanning.\n   - **Queue Ordering & Starvation Protocol**: Verify that FIFO task orders are preserved and Priority Heap triage interrupts correctly preempt lower queues without indefinite starvation.\n3. Run automated unit and integration tests to confirm zero regressions (`pytest -v`).\n\n> **Completion criterion**: Code is modified, passing algorithmic invariant checks and 100% of automated test suites.\n\n---\n\n## In-File Reference\n\n- **Vertex \u002F Node**: A discrete module, agent, file, or data entity within the system.\n- **Edge \u002F Bridge**: The communication vector, JSON-RPC interface, dependency link, or transition between nodes.\n- **Blast Radius**: The transitive set of vertices and edges impacted by modifying a target node.\n- **Acyclic Invariant**: The structural guarantee that following directed edges will never form a closed loop.\n- **Triage Interrupt**: A high-priority Max-Heap execution jump that halts lower-priority background tasks for critical human alignment.\n- **Hybrid Composition**: A structured hierarchy combining two or more base data topologies (e.g., Graph of Trees).\n\n---\n\n## Anti-Patterns\n\n- **Speculative Abstraction** — Applying complex design patterns before categorizing the base data structure analogy.\n- **Blind Execution** — Modifying code without generating the Visual Brief and mapping the systemic blast radius.\n- **Horizontal Slicing** — Modifying horizontal layers (e.g., all database adapters) instead of tracing vertical DAG execution paths.\n- **Topology Confusion** — Permitting cyclic dependency loops in a designated Tree structure, or using $O(N)$ linear scans where Hash Map\u002FSet lookups are required.\n- **Unchecked Cycles** — Adding dependency edges across modules without running topological cycle verification.\n","# Data Topology Mapper\n\n`data-topology-mapper` forces agents to explicitly declare, decompose, and visually map the underlying data structure of a problem domain before modifying code. By translating abstract architectural questions into concrete, visually rendered topologies (Graphs, Trees, Hash Maps\u002FSets, Execution Queues\u002FHeaps, and Hybrid Compositions) inspired by visual data structure analogies, it eliminates speculative assumptions, preserves topological invariants, and contains blast radius.\n\nEvery topology mapping workflow follows a strict four-stage progression:\n\n```\n[1. Domain Analysis & Hybrid Mapping] → [2. The Visual Brief] → [3. Triage Checkpoint & Schema] → [4. Execution & Algorithmic Verification]\n```\n\nSee [CARD.md](CARD.md) for the quick-reference summary card, analogy matrix, and verification invariants.\nConsult `\u002Fcrafting-skills` for the underlying deep-module design standards and `\u002Fdeepen-architecture` for seam optimization.\n\n---\n\n## 1. Domain Analysis & Hybrid Analogy Mapping\n\nWhen triggered by an architectural request, refactor, or multi-agent design task, classify the problem domain into one of four cognitive lenses or declare a **Hybrid Composition**:\n\n### The 4 Base Cognitive Lenses\n\n1. **Interconnected Networks (The Graph Topology)**\n   - *Mental Model Analogy*: Social networks (undirected), follower networks (directed), or route maps with variable travel costs (weighted).\n   - *Agent Application*: Multi-agent routing, polyglot state flows, or microservice bridges. Identify **vertices** (Python, Prolog, Lisp modules) and **edges** (JSON-RPC bridges, APIs, event buses). Map directed edges to compute the exact **blast radius**.\n\n2. **Hierarchical Lineage (The Tree Topology)**\n   - *Mental Model Analogy*: Inverted family tree (root at top, branches spreading down) or binary search decision tree (halving problem space at each step).\n   - *Agent Application*: Epistemic lineage, UI\u002FDOM hierarchies, or Prolog decision trees. Identify the **root node** and trace strict **parent-child execution paths**.\n   - *Hard Invariant*: Strictly forbidden from introducing cyclic dependencies (circular parent-child loops).\n\n3. **Direct Access & Unique States (Hash Maps & Sets)**\n   - *Mental Model Analogy*:\n     - *Hash Map*: A magical machine that takes a key and instantly points to a specific drawer ($O(1)$ direct access, eliminating sequential scans).\n     - *Set*: A VIP club guest list that automatically rejects duplicates and guarantees uniqueness.\n   - *Agent Application*: IoC service registry lookups, configuration state maps, Semantic Memory Engine indexes ($O(1)$ key-value routing), and idempotency\u002Fsubscriber sets (strict deduplication).\n\n4. **Execution Order (Stacks, Queues, & Priority Heaps)**\n   - *Mental Model Analogy*:\n     - *Stack (LIFO)*: A pile of washed plates; last plate added is first removed (undo histories, recursive backtracking).\n     - *Queue (FIFO)*: A fair ticket line; first come, first served (standard background task workers).\n     - *Priority Queue \u002F Max-Heap*: An emergency room triage desk where critical patients skip the line regardless of arrival time.\n   - *Agent Application*: Task execution pipelines, gateway command routing, and human-in-the-loop triage interrupts.\n\n### Hybrid Topology Compositions\n\nFor complex, multi-tiered architectures, declare how base topologies nest or compose:\n- **Graph of Trees**: A microservice network where individual services manage internal hierarchical entity or rule trees.\n- **Hash-Indexed Queue \u002F Heap**: A priority task execution pipeline with $O(1)$ direct key lookup by Task ID for cancellation and status monitoring.\n- **Tree of DAGs**: A hierarchical module packaging system where each subsystem encapsulates an internal directed acyclic workflow.\n\n> **Completion criterion**: Core data structure category (or explicit hybrid composition) and mental model analogy are declared in the output.\n\n---\n\n## 2. The Visual Brief\n\nGenerate an interactive, self-contained HTML brief in `%TEMP%` to visually map the blast radius and architectural topology before touching code:\n\n1. **Target Location**: Write to `%TEMP%\\data-topology-review-\u003Ctimestamp>.html` (Windows) or `\u002Ftmp\u002Fdata-topology-review-\u003Ctimestamp>.html` (Unix).\n2. **Visual Standards**:\n   - Load Tailwind CSS and Mermaid.js via CDN using dark theme (`#0d1117`).\n   - Render a side-by-side **Before vs. After** Mermaid diagram illustrating node modifications, edge transitions, and blast radius.\n   - Embed an **Interactive Blast Radius Table** detailing affected vertices, risk levels, and isolation boundaries.\n3. **Delivery**: Surface the absolute file path with a clickable `file:\u002F\u002F\u002F` link directly to the user.\n\n```html\n\u003C!-- Location: %TEMP%\\data-topology-review-\u003Ctimestamp>.html -->\n\u003C!DOCTYPE html>\n\u003Chtml lang=\"en\">\n\u003Chead>\n  \u003Cmeta charset=\"UTF-8\">\n  \u003Ctitle>Data Topology Review\u003C\u002Ftitle>\n  \u003Cscript src=\"https:\u002F\u002Fcdn.tailwindcss.com\">\u003C\u002Fscript>\n  \u003Cscript src=\"https:\u002F\u002Fcdn.jsdelivr.net\u002Fnpm\u002Fmermaid@10\u002Fdist\u002Fmermaid.min.js\">\u003C\u002Fscript>\n  \u003Cscript>mermaid.initialize({startOnLoad:true, theme:'dark'});\u003C\u002Fscript>\n\u003C\u002Fhead>\n\u003Cbody class=\"bg-[#0d1117] text-[#c9d1d9] p-8 max-w-6xl mx-auto font-sans leading-relaxed\">\n  \u003Cheader class=\"border-b border-[#30363d] pb-4 mb-6 flex items-center justify-between\">\n    \u003Cdiv>\n      \u003Ch1 class=\"text-2xl font-bold text-white\">Data Topology Review\u003C\u002Fh1>\n      \u003Cp class=\"text-sm text-gray-400 mt-1\">Pre-modification structural blast radius mapping\u003C\u002Fp>\n    \u003C\u002Fdiv>\n    \u003Cspan class=\"bg-[#238636] text-white text-xs px-3 py-1 rounded-full font-mono font-semibold\">Topology: Hybrid (DAG + Hash Index)\u003C\u002Fspan>\n  \u003C\u002Fheader>\n\n  \u003Cmain class=\"grid grid-cols-1 md:grid-cols-2 gap-6 mb-8\">\n    \u003Csection class=\"bg-[#161b22] border border-[#30363d] rounded-xl p-5 shadow-lg\">\n      \u003Ch2 class=\"text-lg font-semibold text-gray-200 mb-3 border-b border-[#30363d] pb-2\">Current Architecture\u003C\u002Fh2>\n      \u003Cdiv class=\"mermaid\">\n        graph TD\n          A[Client] --> B[Service]\n      \u003C\u002Fdiv>\n    \u003C\u002Fsection>\n    \u003Csection class=\"bg-[#161b22] border border-emerald-700\u002F60 rounded-xl p-5 shadow-lg\">\n      \u003Ch2 class=\"text-lg font-semibold text-emerald-400 mb-3 border-b border-[#30363d] pb-2\">Proposed Topology\u003C\u002Fh2>\n      \u003Cdiv class=\"mermaid\">\n        graph TD\n          A[Client] --> B[Service]\n          B --> C[IoC Registry]\n      \u003C\u002Fdiv>\n    \u003C\u002Fsection>\n  \u003C\u002Fmain>\n\n  \u003Csection class=\"bg-[#161b22] border border-[#30363d] rounded-xl p-5\">\n    \u003Ch3 class=\"text-sm font-bold text-gray-300 uppercase tracking-wider mb-3\">Blast Radius Impact Matrix\u003C\u002Fh3>\n    \u003Ctable class=\"w-full text-left text-xs border-collapse\">\n      \u003Cthead>\n        \u003Ctr class=\"border-b border-[#30363d] text-gray-400\">\n          \u003Cth class=\"py-2\">Vertex ID\u003C\u002Fth>\n          \u003Cth class=\"py-2\">Module \u002F Seam\u003C\u002Fth>\n          \u003Cth class=\"py-2\">Topological Role\u003C\u002Fth>\n          \u003Cth class=\"py-2\">Impact Level\u003C\u002Fth>\n        \u003C\u002Ftr>\n      \u003C\u002Fthead>\n      \u003Ctbody class=\"divide-y divide-[#30363d] text-gray-300\">\n        \u003Ctr>\n          \u003Ctd class=\"py-2 font-mono text-emerald-400\">v_kernel\u003C\u002Ftd>\n          \u003Ctd class=\"py-2\">src\u002Fharness\u002Fkernel\u002F\u003C\u002Ftd>\n          \u003Ctd class=\"py-2\">Root Coordinator\u003C\u002Ftd>\n          \u003Ctd class=\"py-2\">\u003Cspan class=\"px-2 py-0.5 rounded bg-amber-900\u002F50 text-amber-300 border border-amber-700\u002F50\">Direct Edit\u003C\u002Fspan>\u003C\u002Ftd>\n        \u003C\u002Ftr>\n      \u003C\u002Ftbody>\n    \u003C\u002Ftable>\n  \u003C\u002Fsection>\n\u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\n\n> **Completion criterion**: Interactive HTML file written to `%TEMP%` and delivered to user as a clickable URI link.\n\n---\n\n## 3. Mandatory Checkpoint & Structured Schema Block\n\nHalt execution to achieve consensus on the structural map before any modifications occur. This acts as an **ER Triage \u002F Max-Heap Priority Interrupt**:\n\n1. Generate or update the `implementation_plan.md` artifact detailing proposed topology changes.\n2. Embed a formal **Structured Topology Specification Block** in JSON\u002FMarkdown format:\n\n```markdown\n### [Topology Specification Block]\n```json\n{\n  \"topology_type\": \"Directed Acyclic Graph (DAG)\",\n  \"is_hybrid\": false,\n  \"composition\": null,\n  \"vertices\": [\n    {\"id\": \"v_kernel\", \"label\": \"Kernel Micro-Core\", \"type\": \"module\"},\n    {\"id\": \"v_registry\", \"label\": \"IoC Service Registry\", \"type\": \"hash_map\"}\n  ],\n  \"edges\": [\n    {\"from\": \"v_kernel\", \"to\": \"v_registry\", \"protocol\": \"in_memory\", \"directed\": true}\n  ],\n  \"invariants\": [\"strictly_acyclic\", \"single_root\", \"o1_lookup\"],\n  \"blast_radius_nodes\": 2\n}\n```\n```\n\n3. Explicitly set `RequestFeedback: true` in artifact metadata.\n4. **STOP and wait** for explicit user approval before executing any destructive or modifying code commands.\n\n> **Completion criterion**: Agent pauses execution and requests human-in-the-loop approval on `implementation_plan.md` containing the structured topology block.\n\n---\n\n## 4. Execution & Algorithmic Invariant Verification\n\nUpon receiving user approval, execute code modifications strictly aligned with the approved topology and run algorithmic verification:\n\n1. **Confine Blast Radius**: Restrict edits exclusively to the vertices and edges defined in the approved Visual Brief.\n2. **Algorithmic Invariant Verification Protocols**:\n   - **Tree \u002F DAG Acyclicity Protocol**: Verify that no circular references exist (e.g. Kahn's topological sort or DFS cycle detection).\n   - **Hash Map \u002F Set Uniqueness Protocol**: Verify that key mappings remain collision-free and set insertion enforces strict deduplication without $O(N)$ scanning.\n   - **Queue Ordering & Starvation Protocol**: Verify that FIFO task orders are preserved and Priority Heap triage interrupts correctly preempt lower queues without indefinite starvation.\n3. Run automated unit and integration tests to confirm zero regressions (`pytest -v`).\n\n> **Completion criterion**: Code is modified, passing algorithmic invariant checks and 100% of automated test suites.\n\n---\n\n## In-File Reference\n\n- **Vertex \u002F Node**: A discrete module, agent, file, or data entity within the system.\n- **Edge \u002F Bridge**: The communication vector, JSON-RPC interface, dependency link, or transition between nodes.\n- **Blast Radius**: The transitive set of vertices and edges impacted by modifying a target node.\n- **Acyclic Invariant**: The structural guarantee that following directed edges will never form a closed loop.\n- **Triage Interrupt**: A high-priority Max-Heap execution jump that halts lower-priority background tasks for critical human alignment.\n- **Hybrid Composition**: A structured hierarchy combining two or more base data topologies (e.g., Graph of Trees).\n\n---\n\n## Anti-Patterns\n\n- **Speculative Abstraction** — Applying complex design patterns before categorizing the base data structure analogy.\n- **Blind Execution** — Modifying code without generating the Visual Brief and mapping the systemic blast radius.\n- **Horizontal Slicing** — Modifying horizontal layers (e.g., all database adapters) instead of tracing vertical DAG execution paths.\n- **Topology Confusion** — Permitting cyclic dependency loops in a designated Tree structure, or using $O(N)$ linear scans where Hash Map\u002FSet lookups are required.\n- **Unchecked Cycles** — Adding dependency edges across modules without running topological cycle verification.\n",{"name":5,"description":7},"main","eff3b00e36d1d233ad4a4389605c82fbfa0326d3",".agents\u002Fskills\u002Fdata-topology-mapper","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness","https:\u002F\u002Fgithub.com\u002FSpectreDeath","I'm here to manage stress so I wouldn't expect earth shattering break throughs I'm just an enthusiast that likes making stuff. ","2026-11-15 05:32:58",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add SpectreDeath\u002FBrain-Harness --skill data-topology-mapper",{"tool":37,"command":38},"bunx","bunx skills add SpectreDeath\u002FBrain-Harness --skill data-topology-mapper",{"tool":40,"command":41},"pnpm","pnpm dlx skills add SpectreDeath\u002FBrain-Harness --skill data-topology-mapper","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdata-topology-mapper\u002FSKILL.md",true,[45,51],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"CARD.md","REFERENCE","参考文档",6282,"https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdata-topology-mapper\u002FCARD.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"config.default.yaml",296,"https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdata-topology-mapper\u002Fconfig.default.yaml",[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7E0W6FR68J2N9CXCZTAQJFX","ui-behavior-primitive-architect","Architect, audit, and verify zero-dependency headless UI behavior primitives, WebMCP agent bridges, WAI-ARIA\u002FSSR\u002FRTL tri-modal checks, and framework expert routing. Do not use for static CSS theme styling or backend database migrations.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fui-behavior-primitive-architect\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7E0VZ7JQNW34G271DENFGYP","trustgraph-ontology-governor","Govern knowledge graphs, SHACL-AF triple policies, OntologyRAG subclass validation, PROV-O dual named graphs, and Laya entropy decision scoring. Do not use for relational SQL queries or generic web scraping.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftrustgraph-ontology-governor\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7E0VQ6Z7R45Q8QAZ4MT39EK","shim-harness-governor","Govern universal CLI agent loops, 4-tier tool permissions, ancestor-symlink workspace sandboxes, deterministic-first command routing, collision-safe MCP namespacing, and layered skill loading. Do not use for static UI styling or external SQL analytics.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fshim-harness-governor\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7E0VC18NMP1QBSRJ3TPQ7MB","graphiti-zep-memory-governor","Govern bi-temporal knowledge graphs with Graphiti future-edge clamping, MinHash\u002FLSH entity dedup, RRF\u002FMMR reranking, and Zep typed ontologies. Do not use for static SQL joins or generic web crawling.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgraphiti-zep-memory-governor\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7E0V12ABE1RW3ZRCST8VH5Z","agora-mcp-workbench-architect","Architect, audit, and orchestrate Agora Workbench MCP servers, loopback sidecars, unified state graphs, gateway\u002Fdispatcher connectors, and policy-enforced data lakes. Do not use for static frontend CSS styling or non-MCP desktop GUI automation.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fagora-mcp-workbench-architect\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7BFYG6QT3484VC57TZ19V7P","skill-eval-assurance-runner","Evaluate and assure agent skills using small-N Wilson confidence intervals, unbiased pass^k reliability, deterministic trajectory graders, preflight boundary honesty, and sealed digest verification. Do not use for subjective prose review or unconstrained production deployment.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fskill-eval-assurance-runner\u002FSKILL.md",[],[]]