secufusion-mcp 1.0.58 → 1.0.59

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.
Files changed (2) hide show
  1. package/README.md +8 -15
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -21,7 +21,7 @@
21
21
  | `get_pattern_from_task` | **Phase 1** — Cross-Task Intelligence | Extracts reusable decisions, file patterns, and test scenarios from a completed task |
22
22
  | `manage_branch_state` | Legacy — Branch State | Backward-compatible branch-scoped JSON state tracker (for tasks before `manage_task`) |
23
23
  | `log_rejected_pattern` | **Phase 3** — Course Correction | Records bad patterns to `.rejected-patterns.json` so they are never repeated |
24
- | `generate_ado_comments` | **Phase 4** — PR Handoff | Generates distinct Layman and Technical Deep-Dive summaries for the Azure DevOps board |
24
+ | `(Removed)` | **Phase 4** — PR Handoff | *Replaced by native MD generation protocol in v1.0.58* |
25
25
  | `run_pre_pr_checks_with_reviewer_agent` | **Phase 4** — PR Handoff | **NEW** — Unified 3-tier PR gate. Runs mechanical checks, AI file reviews, and context-aware task evaluation in a single pass. |
26
26
  | `get_secufusion_rules` | **Setup** | Returns the `AGENTS.md` rules for AI clients that don't natively support MCP Resources |
27
27
  | `classify_task` | **Phase 0.5** — Task Classification | **NEW** — Deep multi-pass analysis engine. Classifies any task as `BACKEND_ONLY`, `FRONTEND_ONLY`, `FULL_STACK`, or `EXTENSION_ONLY` based on root cause (where the fix lives), not surface symptoms. Must be the first tool called on any task. |
@@ -233,20 +233,13 @@ This writes to `.rejected-patterns.json`:
233
233
  ---
234
234
 
235
235
  ### 3. generate_ado_comments
236
+ ### 3. Native Document Generation (v1.0.58+)
236
237
 
237
- | Parameter | Type | Required | Description |
238
- |---|---|---|---|
239
- | `work_item_id` | string | Yes | Azure DevOps work item ID |
240
- | `layman_summary` | string | Yes | Non-technical explanation of the business value and what was resolved |
241
- | `technical_deep_dive` | string | Yes | Comprehensive breakdown of the architectural changes and optimizations |
242
-
243
- **Example — Generate ADO board comments:**
244
-
245
- ```
246
- Ask: "Prepare the PR for work item 1042."
247
- ```
238
+ Instead of using a generic tool, the agent natively generates two highly structured files based on strict `AGENTS.md` templates:
239
+ - **`ado-comments.md`**: For the Azure DevOps board (Layman summary + Technical Deep-Dive).
240
+ - **`pr-comment.md`**: For the PR Description (Changes, Impact, Scenarios, Guardrails).
248
241
 
249
- The AI will complete the task, then call `generate_ado_comments`. The output is explicitly formatted for the developer to paste into the Azure DevOps board.
242
+ The AI constructs these dynamically by reading `scenarios.json`, `decisions.json`, and `files-touched.json`, and presents them to the developer.
250
243
 
251
244
  ---
252
245
 
@@ -428,7 +421,7 @@ These rules are enforced automatically — the AI will never violate them:
428
421
  ├──────────────┼──────────────────────────────────────────────────────────────┤
429
422
  │ Phase 4 │ run_pre_pr_checks_with_reviewer_agent │
430
423
  │ PR Handoff │ → manage_task (action=complete) → pr-summary.md generated │
431
- │ │ → generate_ado_comments → Layman & Technical Deep-Dive (ADO) │
424
+ │ │ → Document Generation (ado-comments.md, pr-comment.md) │
432
425
  └──────────────┴──────────────────────────────────────────────────────────────┘
433
426
  ```
434
427
 
@@ -647,7 +640,7 @@ Phase 2: code + log_file_touched + log_decision + add_scenario (ALL mandatory)
647
640
  ↓
648
641
  Phase 4: run_pre_pr_checks_with_reviewer_agent → APPROVED / DISCUSS
649
642
  → manage_task complete → pr-summary.md generated
650
- → generate_ado_comments → Layman + Technical Deep-Dive for ADO board
643
+ → Generate PR & ADO Documents natively using templates
651
644
  ```
652
645
 
653
646
  ### Reusing across projects (Global Bundling)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "secufusion-mcp",
3
- "version": "1.0.58",
3
+ "version": "1.0.59",
4
4
  "type": "module",
5
5
  "description": "SecuFusion MCP server - developer workflow tooling with guardrails",
6
6
  "main": "index.js",