secufusion-mcp 2.1.4 → 2.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +2 -2
- package/README.md +47 -89
- package/commands/sfn-explore.md +74 -0
- package/commands/sfn-init.md +17 -9
- package/package.json +1 -1
- package/commands/analyze.md +0 -15
- package/commands/blast-radius.md +0 -14
- package/commands/map-architecture.md +0 -10
- package/commands/map-services.md +0 -3
- package/commands/watch-dna.md +0 -9
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "secufusion-mcp",
|
|
3
|
-
"description": "SecuFusion MSSP platform dev agent — project-level spec driven, tenant-isolation enforced, zero-trust guardrails. Slash
|
|
4
|
-
"version": "2.
|
|
3
|
+
"description": "SecuFusion MSSP platform dev agent — project-level spec driven, tenant-isolation enforced, zero-trust guardrails. 5 Core Slash Commands: /sfn-init (dynamic DNA + architecture diagram + watcher), /sfn-plan (philosophy check + intent WHY + classify + plan), /sfn-code (spec-driven implementation), /sfn-review (zero-tolerance 3-tier PR gate), /sfn-explore (on-demand service graph or blast-radius analysis).",
|
|
4
|
+
"version": "2.1.6",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Motivity Labs"
|
|
7
7
|
},
|
package/README.md
CHANGED
|
@@ -36,23 +36,22 @@
|
|
|
36
36
|
|
|
37
37
|
The SecuFusion MCP has been refactored to align with the advanced MLMCPS framework principles, bringing massive efficiency and UX improvements:
|
|
38
38
|
|
|
39
|
-
1. **
|
|
39
|
+
1. **5 High-Impact Slash Commands**: The monolithic agent prompt and fragmented utility scripts are consolidated into 5 clean, focused commands: `/sfn-init`, `/sfn-plan`, `/sfn-code`, `/sfn-review`, and `/sfn-explore`.
|
|
40
40
|
2. **Subprocess PR Checks**: Tier 1 mechanical checks (`TENANT_ISOLATION`, `N_PLUS_ONE`, etc.) are now extracted into a standalone CLI script (`scripts/sfn-pr-check.js`), allowing them to be run by the AI *or* natively within your CI/CD pipelines.
|
|
41
41
|
3. **Thin Index Token Discipline**: Context bloat is gone. Tools like `manage_task(read)` and `prime_session` now return lightweight "Thin Indexes"—compact Markdown summaries with absolute file paths—so the AI only reads the full JSON via `view_file` when truly necessary.
|
|
42
42
|
4. **Dynamic Skill Registry**: A new `skill_recommend` tool allows the AI to dynamically discover domain-specific architectural skills without bloating the base prompt.
|
|
43
43
|
5. **Phase -1 Philosophy Engine**: An invisible gate that checks the WHY, WHO, WHAT, and RISK of every task (including bugs and hotfixes) before any planning starts. If the business intent or blast radius is unsafe, it stops the AI from writing a single line of code.
|
|
44
|
-
6. **Poly-Repo DNA Discovery**:
|
|
44
|
+
6. **Built-in Poly-Repo DNA Discovery**: Built directly into `secufusion-mcp`. The AI dynamically analyzes the entire poly-repo workspace at session start, mapping microservices, API contracts, Kafka topologies, frontend repos, and browser extensions into a living knowledge graph (`.secufusion/dna.json`) with an auto-generated Mermaid architecture diagram.
|
|
45
45
|
|
|
46
46
|
---
|
|
47
47
|
|
|
48
|
-
## 🧬
|
|
48
|
+
## 🧬 Built-In DNA Discovery & Architecture Exploration
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
`secufusion-mcp` includes native ecosystem-wide discovery tools:
|
|
51
51
|
|
|
52
|
-
**Key Features:**
|
|
53
52
|
- **Dynamic Stack Analysis:** Identifies Java/Spring, Node, Docker, and other frameworks on the fly.
|
|
54
|
-
- **Slash Command Agents:** Use `/analyze`, `/map-architecture`, and `/blast-radius` directly in your AI chat to orchestrate complex codebase queries.
|
|
55
53
|
- **Automated Dependency Mapping:** Generates cross-service dependency maps and evaluates the blast radius of potential changes.
|
|
54
|
+
- **Interactive Commands:** Use `/sfn-init` to map your entire workspace and launch the watcher, and `/sfn-explore` on-demand to render Mermaid architecture graphs or analyze component blast radius.
|
|
56
55
|
|
|
57
56
|
---
|
|
58
57
|
|
|
@@ -144,13 +143,13 @@ npx secufusion-mcp
|
|
|
144
143
|
### Option 2 — Global install
|
|
145
144
|
|
|
146
145
|
```bash
|
|
147
|
-
npm install -g secufusion-mcp
|
|
146
|
+
npm install -g secufusion-mcp@2.1.6
|
|
148
147
|
```
|
|
149
148
|
|
|
150
149
|
### Option 3 — Local project install
|
|
151
150
|
|
|
152
151
|
```bash
|
|
153
|
-
npm install --save-dev secufusion-mcp
|
|
152
|
+
npm install --save-dev secufusion-mcp@2.1.6
|
|
154
153
|
```
|
|
155
154
|
|
|
156
155
|
---
|
|
@@ -715,7 +714,7 @@ Phase 4: run_pre_pr_checks_with_reviewer_agent → APPROVED / DISCUSS
|
|
|
715
714
|
|
|
716
715
|
As of version **1.0.13+**, `secufusion-mcp` globally bundles both `.secufusion-project-spec.json` and `AGENTS.md`. You **no longer need to copy these files** into every single repository!
|
|
717
716
|
|
|
718
|
-
When you install globally (`npm install -g secufusion-mcp@
|
|
717
|
+
When you install globally (`npm install -g secufusion-mcp@2.1.4`), the AI can automatically read your rules and project spec on the fly from the global installation.
|
|
719
718
|
|
|
720
719
|
**How to load the Rules in a new project:**
|
|
721
720
|
Depending on your AI client's capabilities, you can load the rules instantly by telling the AI:
|
|
@@ -946,86 +945,45 @@ If any of these are physically missing from your local workspace folder, a `[WAR
|
|
|
946
945
|
|
|
947
946
|
## ⚡ End-to-End Slash Command Workflow
|
|
948
947
|
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
|
954
|
-
|
|
955
|
-
| `/sfn-
|
|
956
|
-
| `/
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|---|---|---|
|
|
989
|
-
| `/sfn-review` | After coding is done, before opening a PR | Agent enters the adversarial `reviewer.md` persona. Triggers `run_pre_pr_checks` — a 3-tier AST-level gate: (1) Mechanical guardrails (tenant isolation, N+1 queries, hardcoded URLs), (2) AI file-by-file code review, (3) Context-aware task evaluation against your spec. **Blocks the PR if Tier 1 violations are found.** |
|
|
990
|
-
|
|
991
|
-
---
|
|
992
|
-
|
|
993
|
-
### 🔍 Phase 4 — Architecture Discovery
|
|
994
|
-
|
|
995
|
-
These commands can be run at any time to explore your codebase, independent of any active task.
|
|
996
|
-
|
|
997
|
-
| Command | When to run | What it does |
|
|
998
|
-
|---|---|---|
|
|
999
|
-
| `/blast-radius <component>` | Before refactoring a shared entity, API, or Kafka topic | Reads `dna.json` and calculates exactly which services, endpoints, and consumers will break if the given component is changed. Prevents accidental breaking changes. |
|
|
1000
|
-
| `/map-architecture` | When onboarding a new dev or auditing the ecosystem | Generates a comprehensive bird's-eye view of all your services, domains, inter-service call graph, and Kafka topics sourced directly from the DNA graph. |
|
|
1001
|
-
| `/analyze` | When debugging a cross-service issue or doing a deep-dive on a subsystem | Performs a deep-dive AST analysis of a specific area, generating detailed dependency and data-flow maps. |
|
|
1002
|
-
|
|
1003
|
-
---
|
|
1004
|
-
|
|
1005
|
-
### 📊 The Full SDLC Flow at a Glance
|
|
1006
|
-
|
|
1007
|
-
```
|
|
1008
|
-
Morning
|
|
1009
|
-
↓
|
|
1010
|
-
/sfn-init ← Validate all repos, build DNA knowledge graph
|
|
1011
|
-
↓
|
|
1012
|
-
/watch-dna ← Background watcher keeps DNA fresh all day
|
|
1013
|
-
↓
|
|
1014
|
-
New ticket arrives
|
|
1015
|
-
↓
|
|
1016
|
-
/sfn-plan TASK-XXX ← Plan is written + presented → you say "proceed"
|
|
1017
|
-
↓
|
|
1018
|
-
/sfn-code ← Feature is implemented per plan, zero-trust guardrails active
|
|
1019
|
-
↓
|
|
1020
|
-
/sfn-review ← 3-tier AST gate → PASS or BLOCK with specific violations
|
|
1021
|
-
↓
|
|
1022
|
-
PR opened ✅
|
|
1023
|
-
|
|
1024
|
-
Need to investigate?
|
|
1025
|
-
↓
|
|
1026
|
-
/blast-radius ← Impact analysis before any structural change
|
|
1027
|
-
/map-architecture ← Full ecosystem overview
|
|
1028
|
-
/analyze ← Deep subsystem inspection
|
|
948
|
+
All commands are natively registered as Claude Plugins and appear directly in the Claude IDE `/` command picker. The workflow is streamlined into **5 core commands** with zero redundancy:
|
|
949
|
+
|
|
950
|
+
| # | Command | Persona / Role | When to run | What it does |
|
|
951
|
+
|---|---|---|---|---|
|
|
952
|
+
| **1** | `/sfn-init` | Ecosystem Architect | First thing in morning, on new machine, or new clone | Bootstraps workspace, validates mandatory repos against `.secufusion-project-spec.json`, extracts domain models, API endpoints, Kafka topics, generates `.secufusion/dna.json`, builds full Mermaid architecture diagram, and launches continuous background file watcher (`chokidar`). |
|
|
953
|
+
| **2** | `/sfn-plan <ticket-id or desc>` | `planner.md` | When starting any story, chore, feature, bug, or hotfix | Evaluates Phase -1 Philosophy gate (WHY/WHO/WHAT/RISK), creates Markdown business intent (`spec_create_intent`), primes session AST context (`prime_session`), classifies task boundaries (`classify_task`), enforces **Rule 5 STRICT YIELD** for your green light, then generates structured `plan.md`. |
|
|
954
|
+
| **3** | `/sfn-code` | `coder.md` | After you approve the plan | Implements strictly according to the approved plan. Enforces zero-trust standards: mandatory tenant isolation on DB operations, proper `@Transactional` scoping, DTO mapping rules, and logs anti-patterns to `.rejected-patterns.json`. |
|
|
955
|
+
| **4** | `/sfn-review` | `reviewer.md` | After coding is done, before opening a PR | Adversarial PR gate running 3 tiers in a single pass: (1) Mechanical AST guardrails (tenant isolation, N+1 queries, hardcoded endpoints), (2) AI file-by-file code review, (3) Context-aware task evaluation against spec. Blocks PR if Tier 1 violations exist. |
|
|
956
|
+
| **5** | `/sfn-explore [map \| <component>]` | Architecture Explorer | On-demand for cross-service impact & system maps | Dual-mode architecture query: `/sfn-explore map` renders the full cross-service Mermaid architecture diagram; `/sfn-explore <component-or-path>` calculates blast radius and affected downstream consumers before making breaking changes. |
|
|
957
|
+
|
|
958
|
+
---
|
|
959
|
+
|
|
960
|
+
### 📊 The 5-Command SDLC Flow at a Glance
|
|
961
|
+
|
|
962
|
+
```
|
|
963
|
+
Morning / First Setup
|
|
964
|
+
│
|
|
965
|
+
▼
|
|
966
|
+
/sfn-init ← Scans workspace, writes dna.json, draws Mermaid diagram, starts watcher
|
|
967
|
+
│
|
|
968
|
+
├─► /sfn-explore map (Optional on-demand: view ecosystem graph)
|
|
969
|
+
│
|
|
970
|
+
Ticket Arrives (Feature / Bug / Hotfix)
|
|
971
|
+
│
|
|
972
|
+
▼
|
|
973
|
+
/sfn-plan WI-XXXX ← Phase -1 Philosophy check → Intent WHY → Prime → Classify → STRICT YIELD
|
|
974
|
+
│
|
|
975
|
+
├─► User Approves Plan ✅
|
|
976
|
+
│
|
|
977
|
+
▼
|
|
978
|
+
/sfn-code ← Implement approved plan with zero-trust guardrails
|
|
979
|
+
│
|
|
980
|
+
├─► /sfn-explore <comp> (Optional: verify blast radius if touching shared interfaces)
|
|
981
|
+
│
|
|
982
|
+
▼
|
|
983
|
+
/sfn-review ← 3-Tier PR Gate: mechanical AST checks + AI review + spec matching
|
|
984
|
+
│
|
|
985
|
+
▼
|
|
986
|
+
PR Ready to Merge 🚀
|
|
1029
987
|
```
|
|
1030
988
|
|
|
1031
989
|
---
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: On-demand architecture exploration — map the full service graph as a Mermaid diagram, or run a blast-radius impact analysis for a specific component.
|
|
3
|
+
argument-hint: [map] or <component-name-or-file-path> e.g. "map" or "sfn-events-api" or "TenantEntity.java"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
You are executing the **sfn-explore** command for the SecuFusion ecosystem.
|
|
7
|
+
|
|
8
|
+
Argument: **$ARGUMENTS**
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Mode Detection
|
|
13
|
+
|
|
14
|
+
Read `$ARGUMENTS` and decide the mode:
|
|
15
|
+
|
|
16
|
+
- If `$ARGUMENTS` is empty or equals `map` → **Architecture Map Mode**
|
|
17
|
+
- Otherwise → **Blast Radius Mode** for the given component
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Mode A — Architecture Map
|
|
22
|
+
|
|
23
|
+
> Use this when: you want a bird's-eye view of the entire ecosystem (e.g. onboarding a new dev, auditing dependencies).
|
|
24
|
+
|
|
25
|
+
1. Call `prime_session` or read `.secufusion/dna.json` to load the current knowledge graph.
|
|
26
|
+
2. Generate a comprehensive **Mermaid diagram** (`graph TD`) that shows:
|
|
27
|
+
- All microservices grouped by bounded context
|
|
28
|
+
- REST API call graph (which service calls which)
|
|
29
|
+
- Kafka topic flow (producer → topic → consumer)
|
|
30
|
+
- Frontend (`sfn-web-ui`) and extension (`snf-browser-extn`) connections to backend services
|
|
31
|
+
3. Render the Mermaid diagram in the response.
|
|
32
|
+
4. Below the diagram, print a service inventory table:
|
|
33
|
+
|
|
34
|
+
| Service | Port | Stack | Owns Tables | Produces Topics | Consumes Topics |
|
|
35
|
+
|---|---|---|---|---|---|
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Mode B — Blast Radius
|
|
40
|
+
|
|
41
|
+
> Use this when: you are about to refactor a shared entity, change an API contract, or modify a Kafka topic and need to know the full downstream impact.
|
|
42
|
+
|
|
43
|
+
1. Call `prime_session` or read `.secufusion/dna.json` to load the knowledge graph.
|
|
44
|
+
2. Search for all references to `$ARGUMENTS` across:
|
|
45
|
+
- Microservice API consumers (who calls this endpoint?)
|
|
46
|
+
- Database entity consumers (which repos query this table/column?)
|
|
47
|
+
- Kafka consumers (which services consume this topic?)
|
|
48
|
+
- Frontend and `snf-browser-extn` (does the UI or extension directly consume this contract?)
|
|
49
|
+
3. Present a **Cross-Repo Blast Radius Report**:
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
🎯 Component: $ARGUMENTS
|
|
53
|
+
|
|
54
|
+
Impacted Microservices:
|
|
55
|
+
- sfn-X-api → [why impacted]
|
|
56
|
+
|
|
57
|
+
Impacted APIs:
|
|
58
|
+
- GET /v1/... → [consumers]
|
|
59
|
+
|
|
60
|
+
Impacted Events / Consumers:
|
|
61
|
+
- topic-name → [consumer services]
|
|
62
|
+
|
|
63
|
+
Impacted Databases:
|
|
64
|
+
- table_name → [services querying this]
|
|
65
|
+
|
|
66
|
+
Impacted Frontend / Extension:
|
|
67
|
+
- sfn-web-ui → [pages / components]
|
|
68
|
+
- snf-browser-extn → [content scripts / background workers]
|
|
69
|
+
|
|
70
|
+
Risk Level: 🟢 LOW | 🟡 MEDIUM | 🔴 HIGH
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
4. If risk is 🔴 HIGH, add a warning:
|
|
74
|
+
> ⚠️ High blast radius detected. Consider running `/sfn-plan` with this context before making changes.
|
package/commands/sfn-init.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Prime the SecuFusion ecosystem — scan the entire codebase, map the architectural DNA, and write it to .secufusion/dna.json. Run this once when you first clone a repo.
|
|
2
|
+
description: Prime the SecuFusion ecosystem — scan the entire codebase, map the architectural DNA, generate the architecture diagram, and write it to .secufusion/dna.json. Run this once when you first clone a repo.
|
|
3
3
|
argument-hint: (no args) — run from the root of the repo
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -9,14 +9,12 @@ You are executing the **sfn-init** bootstrap command for the SecuFusion ecosyste
|
|
|
9
9
|
|
|
10
10
|
## Phase 1 — SCAN the Repository
|
|
11
11
|
|
|
12
|
-
Call the
|
|
12
|
+
Call the following MCP tools to scan the repository. Run all 4 **concurrently in a single message**:
|
|
13
13
|
|
|
14
|
-
1.
|
|
15
|
-
2.
|
|
16
|
-
3.
|
|
17
|
-
4.
|
|
18
|
-
|
|
19
|
-
Run all 4 tool calls in a **single message** so they execute concurrently.
|
|
14
|
+
1. `scan_repository_stack` — identify language, framework, package manager, microservices, DB entities, build/test commands. Flag if monorepo.
|
|
15
|
+
2. `extract_domain_models` — map all domain entities, their fields, and relationships.
|
|
16
|
+
3. `extract_api_endpoints` — map all REST/GraphQL endpoints, their methods, and owning services.
|
|
17
|
+
4. `extract_event_topics` — map all Kafka/event-bus topics, producers, and consumers.
|
|
20
18
|
|
|
21
19
|
## Phase 2 — WRITE the DNA
|
|
22
20
|
|
|
@@ -43,7 +41,17 @@ Once all scans complete:
|
|
|
43
41
|
Summarize what was found:
|
|
44
42
|
- Number of services, domain models, API endpoints, and event topics discovered
|
|
45
43
|
- Any gaps or areas marked `(inferred)` that the human should verify
|
|
46
|
-
- **CRITICAL CORE CHECK:** Explicitly verify that the DNA map contains mappings for **frontend**, **backend**, and **snf-browser-extn** (extension). If ANY of these 3 are missing,
|
|
44
|
+
- **CRITICAL CORE CHECK:** Explicitly verify that the DNA map contains mappings for **frontend**, **backend**, and **snf-browser-extn** (extension). If ANY of these 3 are missing, print a prominent warning listing exactly what is missing and what needs to be cloned/added.
|
|
47
45
|
- Confirm that `.secufusion/dna.json` was written successfully
|
|
48
46
|
|
|
47
|
+
## Phase 4 — ARCHITECTURE DIAGRAM
|
|
48
|
+
|
|
49
|
+
Using the data now in `dna.json`, generate a comprehensive **Mermaid diagram** (`graph TD`) that visualizes:
|
|
50
|
+
- All microservices and their bounded contexts
|
|
51
|
+
- REST API call graph (which service calls which)
|
|
52
|
+
- Kafka topic flow (producer → topic → consumer)
|
|
53
|
+
- Frontend and `snf-browser-extn` connections to backend services
|
|
54
|
+
|
|
55
|
+
Render the diagram directly in your response so the user can see the full ecosystem at a glance.
|
|
56
|
+
|
|
49
57
|
**Next step for the user:** Run `/sfn-plan <ticket-id>` to start your first task.
|
package/package.json
CHANGED
package/commands/analyze.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Analyzes the current project to build its DNA Knowledge Graph
|
|
3
|
-
argument-hint: (no args)
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
You are the SecuFusion DNA Discovery Agent. Your goal is to analyze this ecosystem and build the Poly-Repo DNA Knowledge Graph.
|
|
7
|
-
|
|
8
|
-
The underlying MCP tools will automatically detect if you are inside a poly-repo structure. If they find sibling repositories, they will scan all of them simultaneously to build a cross-repo DNA file.
|
|
9
|
-
|
|
10
|
-
1. Call the `secufusion-dna_scan_repository_stack` tool to identify the framework and infrastructure across the ecosystem.
|
|
11
|
-
2. Call the `secufusion-dna_extract_domain_models` tool to find and parse entities and domain models across all repos.
|
|
12
|
-
3. Call the `secufusion-dna_extract_api_endpoints` tool to map out the API layer across all repos.
|
|
13
|
-
4. Call the `secufusion-dna_extract_event_topics` tool to map out event consumers and producers across all repos.
|
|
14
|
-
|
|
15
|
-
Once you have gathered this information, summarize your findings for the user. Do not delete any existing data in the knowledge graph.
|
package/commands/blast-radius.md
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Determines the impact of changing a specific component or file
|
|
3
|
-
argument-hint: <component-name-or-file-path>
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
You are the SecuFusion DNA Blast Radius Agent. Your goal is to determine the impact of changing the provided component or file across the entire Poly-Repo ecosystem.
|
|
7
|
-
|
|
8
|
-
1. Call the `secufusion-dna_query_knowledge_graph` tool with the query "Find all components, services, and APIs that depend on or consume {argument}".
|
|
9
|
-
2. Analyze the returned dependency chain, paying special attention to cross-repo dependencies (e.g., changing a DTO in `sfn-events-api` breaking a listener in `sfn-notification-api`).
|
|
10
|
-
3. Present a Cross-Repo Blast Radius Report to the user, categorizing the impact into:
|
|
11
|
-
- Impacted Microservices
|
|
12
|
-
- Impacted APIs
|
|
13
|
-
- Impacted Events/Consumers
|
|
14
|
-
- Impacted Databases
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Generates a Mermaid architecture diagram from the project DNA
|
|
3
|
-
argument-hint: (no args)
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
You are the SecuFusion DNA Architecture Agent. Your goal is to visualize the cross-service dependencies and architecture of this project.
|
|
7
|
-
|
|
8
|
-
1. Call the `secufusion-dna_query_knowledge_graph` tool with the query "Get all services, APIs, and event topics with their dependencies".
|
|
9
|
-
2. Based on the returned relationships, generate a comprehensive Mermaid diagram (`graph TD` or `graph LR`).
|
|
10
|
-
3. Render the diagram in your response, grouping components by bounded context or service if possible.
|
package/commands/map-services.md
DELETED
package/commands/watch-dna.md
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Starts the background watcher to continuously update the Poly-Repo DNA.
|
|
3
|
-
argument-hint: (no args)
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
You are the SecuFusion DNA Watcher Agent. Your goal is to start the background file watcher.
|
|
7
|
-
|
|
8
|
-
1. Call the `start_dna_watcher` tool.
|
|
9
|
-
2. Inform the user that the DNA Knowledge Graph is now actively monitoring the codebase in the background and will dynamically update whenever a developer saves a Java file.
|