@aisdlc/core 3.0.0 → 3.1.0
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/dist/index.cjs +59 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +59 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -13836,6 +13836,8 @@ var SPECIALIZED_AGENT_TEMPLATES = [
|
|
|
13836
13836
|
title: "Product Analyst / Scribe",
|
|
13837
13837
|
description: "Assist the human Product Owner in exploring, modeling, and refining product definition using NAF v4 Enterprise & Capability Vision (ARCH-INTRO-*) and ProductShape (ACT-*, UC-*, FR-*, QR-*, BR-*).",
|
|
13838
13838
|
globs: "product/**, specs/product/**, templates/product/**, templates/architecture/introduction-and-goals.template.md",
|
|
13839
|
+
claudeTools: ["View", "Edit", "Replace", "GlobTool", "GrepTool", "LS", "Bash"],
|
|
13840
|
+
antigravityTools: ["read_file", "edit_file", "write_file", "run_command", "call_mcp_tool", "ask_question"],
|
|
13839
13841
|
body: `## Role & Mission
|
|
13840
13842
|
- **Role**: Product Analyst Agent (\`agent-product-analyst\`) and Technical Scribe (AI as Scribe) of the AI-SDLC framework.
|
|
13841
13843
|
- **Mission**: Capture new product intent via NAF v4 Enterprise & Capability Vision (\`ARCH-INTRO-*\`) and transform natural language business intent into canonical ProductShape artifacts (\`ACT-*\`, \`JRN-*\`, \`UC-*\`, \`BR-*\`, \`TERM-*\`, \`FR-*\`, \`QR-*\`) 100% compliant with JSON schemas.
|
|
@@ -13861,6 +13863,8 @@ var SPECIALIZED_AGENT_TEMPLATES = [
|
|
|
13861
13863
|
title: "Threat Modeler and Security Specialist",
|
|
13862
13864
|
description: "Analyze business use cases and architecture artifacts to proactively model STRIDE adversaries, abuse cases, and OWASP ASVS security requirements.",
|
|
13863
13865
|
globs: "security/**, specs/security/**, architecture/**",
|
|
13866
|
+
claudeTools: ["View", "Edit", "Replace", "GlobTool", "GrepTool", "LS", "Bash"],
|
|
13867
|
+
antigravityTools: ["read_file", "edit_file", "write_file", "run_command", "call_mcp_tool"],
|
|
13864
13868
|
body: `## Role & Mission
|
|
13865
13869
|
- **Role**: Threat Modeling and Shift-Left Cybersecurity Specialist Agent (\`agent-threat-modeler\`).
|
|
13866
13870
|
- **Mission**: Analyze business use cases and architecture artifacts to proactively model adversaries, STRIDE attack vectors, and OWASP ASVS mitigation requirements.
|
|
@@ -13882,6 +13886,8 @@ var SPECIALIZED_AGENT_TEMPLATES = [
|
|
|
13882
13886
|
title: "Data Protection & Privacy-by-Design Specialist",
|
|
13883
13887
|
description: "Model personal data assets (DATA-ASSET-*), GDPR Art. 30 records of processing (PRIV-ROPA-*), and LINDDUN/ISO 27701 privacy requirements (PRIV-REQ-*) on handoff from cybersecurity, and audit code diffs against privacy-policy.yaml.",
|
|
13884
13888
|
globs: "privacy/**, specs/privacy/**, privacy-policy.yaml, templates/privacy/**, schemas/privacy/**",
|
|
13889
|
+
claudeTools: ["View", "Edit", "Replace", "GlobTool", "GrepTool", "LS", "Bash"],
|
|
13890
|
+
antigravityTools: ["read_file", "edit_file", "write_file", "run_command", "call_mcp_tool"],
|
|
13885
13891
|
body: `## Role & Mission
|
|
13886
13892
|
- **Role**: Data Protection & Privacy-by-Design Specialist Agent (\`agent-privacy-officer\`).
|
|
13887
13893
|
- **Mission**: Receive the handoff from \`agent-threat-modeler\` to model personal data assets (\`DATA-ASSET-*\`), GDPR Art. 30 records of processing (\`PRIV-ROPA-*\`), and LINDDUN / GDPR Art. 25 / ISO 27701 privacy requirements (\`PRIV-REQ-*\`), and audit code changes in Pre-Merge against \`privacy-policy.yaml\`.
|
|
@@ -13907,6 +13913,8 @@ var SPECIALIZED_AGENT_TEMPLATES = [
|
|
|
13907
13913
|
title: "System Architect",
|
|
13908
13914
|
description: "Translate approved product and security definitions into modular technical architecture based on arc42 enriched with NAF v4 (CMP-*, ADR-*).",
|
|
13909
13915
|
globs: "architecture/**, specs/changes/**/design.md, templates/architecture/**",
|
|
13916
|
+
claudeTools: ["View", "Edit", "Replace", "GlobTool", "GrepTool", "LS", "Bash"],
|
|
13917
|
+
antigravityTools: ["read_file", "edit_file", "write_file", "run_command", "call_mcp_tool"],
|
|
13910
13918
|
body: `## Role & Mission
|
|
13911
13919
|
- **Role**: System Architect Agent (\`agent-system-architect\`) of the AI-SDLC framework.
|
|
13912
13920
|
- **Mission**: Translate approved product definition into a modular technical architecture based on arc42 enriched with NAF v4.
|
|
@@ -13927,6 +13935,8 @@ var SPECIALIZED_AGENT_TEMPLATES = [
|
|
|
13927
13935
|
title: "QA Engineer and SDET",
|
|
13928
13936
|
description: "Translate approved requirements (FR-*, SEC-REQ-*, PRIV-REQ-*, QR-*) into comprehensive FAILING (red) BDD/Gherkin, End-to-End (E2E), UI, and unit test suites before production code is written.",
|
|
13929
13937
|
globs: "tests/**, specs/changes/**/spec.md",
|
|
13938
|
+
claudeTools: ["View", "Edit", "Replace", "GlobTool", "GrepTool", "LS", "Bash"],
|
|
13939
|
+
antigravityTools: ["read_file", "edit_file", "write_file", "run_command", "call_mcp_tool"],
|
|
13930
13940
|
body: `## Role & Mission
|
|
13931
13941
|
- **Role**: QA Engineer and SDET (Software Development Engineer in Test) Agent (\`agent-qa-engineer\`).
|
|
13932
13942
|
- **Mission**: Translate approved requirements (\`FR-*\`, \`SEC-REQ-*\`, \`PRIV-REQ-*\`, \`QR-*\`) into comprehensive FAILING (red) BDD/Gherkin, End-to-End (E2E), UI, and unit test suites before \`agent-developer\` writes a single line of production code.
|
|
@@ -13956,6 +13966,8 @@ var SPECIALIZED_AGENT_TEMPLATES = [
|
|
|
13956
13966
|
title: "Software Developer",
|
|
13957
13967
|
description: "Implement atomic tasks from SDD specifications (tasks.md) delivering clean, strictly typed, and tested code satisfying quality-policy.yaml thresholds.",
|
|
13958
13968
|
globs: "src/**, packages/**, tests/**, specs/changes/**",
|
|
13969
|
+
claudeTools: ["View", "Edit", "Replace", "GlobTool", "GrepTool", "LS", "Bash"],
|
|
13970
|
+
antigravityTools: ["read_file", "edit_file", "write_file", "run_command", "call_mcp_tool"],
|
|
13959
13971
|
body: `## Role & Mission
|
|
13960
13972
|
- **Role**: High-Precision Software Developer / Coder Agent (\`agent-developer\`).
|
|
13961
13973
|
- **Mission**: Implement atomic tasks from SDD specifications (\`tasks.md\`) delivering clean, strictly typed, and tested code.
|
|
@@ -13992,6 +14004,8 @@ Execute every implementation task following this strict sequential order:
|
|
|
13992
14004
|
title: "Adversarial Code Auditor",
|
|
13993
14005
|
description: "Examine Pull Requests and source code with an attacker mindset for business logic vulnerabilities, injection vectors, secret leaks, and authorization flaws.",
|
|
13994
14006
|
globs: "src/**, packages/**, security/**",
|
|
14007
|
+
claudeTools: ["View", "GlobTool", "GrepTool", "LS", "Bash"],
|
|
14008
|
+
antigravityTools: ["read_file", "run_command", "call_mcp_tool"],
|
|
13995
14009
|
body: `## Role & Mission
|
|
13996
14010
|
- **Role**: Adversarial Security Auditor Agent (\`agent-security-auditor\`).
|
|
13997
14011
|
- **Mission**: Rigorously examine Pull Requests and code diffs for business logic vulnerabilities, injection vectors, secret leaks, and authorization flaws as part of the Pre-Merge Audit Triad.
|
|
@@ -14008,6 +14022,8 @@ Execute every implementation task following this strict sequential order:
|
|
|
14008
14022
|
title: "Open Source License Compliance Auditor",
|
|
14009
14023
|
description: "Audit dependency manifests and SBOMs against license-policy.yaml to block viral copyleft licenses and flag commercial license requirements.",
|
|
14010
14024
|
globs: "package.json, pnpm-lock.yaml, license-policy.yaml, compliance/**",
|
|
14025
|
+
claudeTools: ["View", "GlobTool", "GrepTool", "LS", "Bash"],
|
|
14026
|
+
antigravityTools: ["read_file", "run_command", "call_mcp_tool"],
|
|
14011
14027
|
body: `## Role & Mission
|
|
14012
14028
|
- **Role**: Open Source License and Intellectual Property Compliance Auditor Agent (\`agent-compliance-checker\`).
|
|
14013
14029
|
- **Mission**: Audit dependency manifests and ensure every direct and transitive third-party package complies with \`license-policy.yaml\` as part of the Pre-Merge Audit Triad.
|
|
@@ -14023,6 +14039,8 @@ Execute every implementation task following this strict sequential order:
|
|
|
14023
14039
|
title: "Expert User and Domain Evaluator",
|
|
14024
14040
|
description: "Scrutinize product design (MVP vs roadmap) and functionally validate finished software against UC-* and FR-* acceptance criteria before pre-merge audit.",
|
|
14025
14041
|
globs: "product/**, specs/**, src/**, packages/**",
|
|
14042
|
+
claudeTools: ["View", "GlobTool", "GrepTool", "LS", "Bash"],
|
|
14043
|
+
antigravityTools: ["read_file", "run_command", "call_mcp_tool"],
|
|
14026
14044
|
body: `## Role & Mission
|
|
14027
14045
|
- **Role**: Expert User and Domain Evaluator Agent (\`agent-expert-user\`).
|
|
14028
14046
|
- **Mission**: Scrutinize product design, technical specifications, and implemented software from the perspective of an advanced operator, enforcing strict MVP boundaries and pre-PR functional conformity.
|
|
@@ -14039,6 +14057,8 @@ Execute every implementation task following this strict sequential order:
|
|
|
14039
14057
|
title: "Technical and Architectural Code Reviewer",
|
|
14040
14058
|
description: "Audit Pull Requests for Clean Code, SOLID, DRY, YAGNI, design patterns, and compliance with quality-policy.yaml complexity and maintainability thresholds.",
|
|
14041
14059
|
globs: "src/**, packages/**, tests/**",
|
|
14060
|
+
claudeTools: ["View", "GlobTool", "GrepTool", "LS", "Bash"],
|
|
14061
|
+
antigravityTools: ["read_file", "run_command", "call_mcp_tool"],
|
|
14042
14062
|
body: `## Role & Mission
|
|
14043
14063
|
- **Role**: Technical and Architectural Code Reviewer Agent (\`agent-code-reviewer\`).
|
|
14044
14064
|
- **Mission**: Audit Pull Requests evaluating code cleanliness, adherence to SOLID, DRY, YAGNI principles, design patterns, and compliance with complexity and maintainability thresholds (\`quality-policy.yaml\`), forming part of the Pre-Merge Audit Triad.
|
|
@@ -14057,6 +14077,8 @@ Execute every implementation task following this strict sequential order:
|
|
|
14057
14077
|
title: "Automation and Infrastructure Engineer",
|
|
14058
14078
|
description: "Maintain, evolve, and audit CI/CD workflows, Dockerfiles, IaC manifests, and support scripts under strict non-invasion guardrails on src/.",
|
|
14059
14079
|
globs: ".github/workflows/**, templates/ci/**, scripts/**, Dockerfile*",
|
|
14080
|
+
claudeTools: ["View", "Edit", "Replace", "GlobTool", "GrepTool", "LS", "Bash"],
|
|
14081
|
+
antigravityTools: ["read_file", "edit_file", "write_file", "run_command", "call_mcp_tool"],
|
|
14060
14082
|
body: `## Role & Mission
|
|
14061
14083
|
- **Role**: DevOps and Infrastructure as Code (IaC) Engineer Agent (\`agent-devops\`).
|
|
14062
14084
|
- **Mission**: Maintain, evolve, and audit automated project infrastructure: CI/CD workflows, Docker containers, deployment manifests, and infrastructure scripts.
|
|
@@ -14072,10 +14094,13 @@ Execute every implementation task following this strict sequential order:
|
|
|
14072
14094
|
}
|
|
14073
14095
|
];
|
|
14074
14096
|
function renderAntigravityAgentFile(agent) {
|
|
14097
|
+
const toolsSection = agent.antigravityTools && agent.antigravityTools.length > 0 ? `
|
|
14098
|
+
tools:
|
|
14099
|
+
${agent.antigravityTools.map((t) => ` - ${t}`).join("\n")}` : "";
|
|
14075
14100
|
return `---
|
|
14076
14101
|
name: ${agent.id}
|
|
14077
14102
|
description: >-
|
|
14078
|
-
${agent.description}
|
|
14103
|
+
${agent.description}${toolsSection}
|
|
14079
14104
|
---
|
|
14080
14105
|
|
|
14081
14106
|
# ${agent.id} (${agent.title})
|
|
@@ -14086,9 +14111,12 @@ ${agent.body}
|
|
|
14086
14111
|
`;
|
|
14087
14112
|
}
|
|
14088
14113
|
function renderClaudeAgentFile(agent) {
|
|
14114
|
+
const toolsSection = agent.claudeTools && agent.claudeTools.length > 0 ? `
|
|
14115
|
+
tools:
|
|
14116
|
+
${agent.claudeTools.map((t) => ` - ${t}`).join("\n")}` : "";
|
|
14089
14117
|
return `---
|
|
14090
14118
|
name: ${agent.id}
|
|
14091
|
-
description: ${agent.description}
|
|
14119
|
+
description: ${agent.description}${toolsSection}
|
|
14092
14120
|
---
|
|
14093
14121
|
|
|
14094
14122
|
# ${agent.id} (${agent.title})
|
|
@@ -14099,9 +14127,12 @@ ${agent.body}
|
|
|
14099
14127
|
`;
|
|
14100
14128
|
}
|
|
14101
14129
|
function renderCopilotAgentFile(agent) {
|
|
14130
|
+
const toolsSection = agent.claudeTools && agent.claudeTools.length > 0 ? `
|
|
14131
|
+
tools:
|
|
14132
|
+
${agent.claudeTools.map((t) => ` - ${t}`).join("\n")}` : "";
|
|
14102
14133
|
return `---
|
|
14103
14134
|
name: ${agent.id}
|
|
14104
|
-
description: ${agent.description}
|
|
14135
|
+
description: ${agent.description}${toolsSection}
|
|
14105
14136
|
---
|
|
14106
14137
|
|
|
14107
14138
|
# ${agent.id} (${agent.title})
|
|
@@ -14846,7 +14877,10 @@ var STARTER_CURSOR_MCP = `{
|
|
|
14846
14877
|
"command": "npx",
|
|
14847
14878
|
"args": [
|
|
14848
14879
|
"@aisdlc/mcp"
|
|
14849
|
-
]
|
|
14880
|
+
],
|
|
14881
|
+
"env": {
|
|
14882
|
+
"AISDLC_MCP_ROLE": "developer"
|
|
14883
|
+
}
|
|
14850
14884
|
}
|
|
14851
14885
|
}
|
|
14852
14886
|
}
|
|
@@ -14857,7 +14891,10 @@ var STARTER_ANTIGRAVITY_MCP = `{
|
|
|
14857
14891
|
"command": "npx",
|
|
14858
14892
|
"args": [
|
|
14859
14893
|
"@aisdlc/mcp"
|
|
14860
|
-
]
|
|
14894
|
+
],
|
|
14895
|
+
"env": {
|
|
14896
|
+
"AISDLC_MCP_ROLE": "developer"
|
|
14897
|
+
}
|
|
14861
14898
|
}
|
|
14862
14899
|
}
|
|
14863
14900
|
}
|
|
@@ -14868,7 +14905,10 @@ var STARTER_VSCODE_MCP = `{
|
|
|
14868
14905
|
"command": "npx",
|
|
14869
14906
|
"args": [
|
|
14870
14907
|
"@aisdlc/mcp"
|
|
14871
|
-
]
|
|
14908
|
+
],
|
|
14909
|
+
"env": {
|
|
14910
|
+
"AISDLC_MCP_ROLE": "developer"
|
|
14911
|
+
}
|
|
14872
14912
|
}
|
|
14873
14913
|
}
|
|
14874
14914
|
}
|
|
@@ -16053,14 +16093,27 @@ categories:
|
|
|
16053
16093
|
- "Unlicense"
|
|
16054
16094
|
- "CC0-1.0"
|
|
16055
16095
|
- "0BSD"
|
|
16096
|
+
- "Python-2.0"
|
|
16097
|
+
- "BlueOak-1.0.0"
|
|
16098
|
+
- "Zlib"
|
|
16099
|
+
- "CC-BY-3.0"
|
|
16100
|
+
- "CC-BY-4.0"
|
|
16101
|
+
- "MS-PL"
|
|
16056
16102
|
|
|
16057
16103
|
weak_copyleft_conditional:
|
|
16058
16104
|
action: "REVIEW_REQUIRED"
|
|
16059
16105
|
description: "Allowed only as dynamically linked decoupled libraries."
|
|
16060
16106
|
spdx_identifiers:
|
|
16061
16107
|
- "LGPL-2.1-only"
|
|
16108
|
+
- "LGPL-2.1-or-later"
|
|
16062
16109
|
- "LGPL-3.0-only"
|
|
16110
|
+
- "LGPL-3.0-or-later"
|
|
16063
16111
|
- "MPL-2.0"
|
|
16112
|
+
- "EPL-2.0"
|
|
16113
|
+
- "CDDL-1.0"
|
|
16114
|
+
- "MS-RL"
|
|
16115
|
+
- "MS-LPL"
|
|
16116
|
+
- "MS-LRL"
|
|
16064
16117
|
|
|
16065
16118
|
strong_copyleft_viral:
|
|
16066
16119
|
action: "DENY"
|