@aisdlc/core 1.6.0 → 2.0.1
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/README.md +4 -3
- package/dist/index.cjs +1048 -157
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +161 -16
- package/dist/index.d.ts +161 -16
- package/dist/index.js +1033 -158
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -141,6 +141,7 @@ This separation allows the core functionality to be reused by different interfac
|
|
|
141
141
|
| **SBOM & Third-Party Notices** | Generates enterprise-ready CycloneDX 1.5 JSON SBOMs and compiles complete markdown third-party license notices. | `generateCycloneDxSbom`, `writeCycloneDxSbom`, `generateThirdPartyNotices`, `writeThirdPartyNotices` |
|
|
142
142
|
| **Secret Scanning & Entropy Auditing** | Scans git diffs and codebase files for exposed API keys, private credentials, and high-entropy strings (Shannon entropy $\ge 4.3$). Supports Gitleaks CLI integration. | `verifySecrets`, `calculateShannonEntropy`, `runGitleaksCli`, `generateSecretsReportMarkdown` |
|
|
143
143
|
| **Static Application Security (SAST)** | AST and pattern analysis for OWASP Top 10 vulnerabilities (SQLi, command injection, SSRF, path traversal, prompt injection). Supports Semgrep CLI. | `verifySast`, `scanFileForSast`, `runSemgrepCli`, `detectPromptInjection` |
|
|
144
|
+
| **Data Protection & Privacy-by-Design (PII-SAST & RoPA)** | Audits Personal Data Assets (`DATA-ASSET-*`), GDPR Art. 30 Records (`PRIV-ROPA-*`), Privacy Requirements (`PRIV-REQ-*`), DPIA gates (`DPIA-*`), and static PII-SAST rules (`PRIV-001`–`PRIV-008`) against `privacy-policy.yaml`. | `verifyPrivacy`, `loadPrivacyPolicy`, `scanFileForPrivacyViolations`, `generateRopaInventoryMarkdown`, `generatePrivacyReportMarkdown` |
|
|
144
145
|
|
|
145
146
|
### 5. Git 4-Tier Workflow, Commit Trailers & Agent Detection
|
|
146
147
|
|
|
@@ -156,7 +157,7 @@ This separation allows the core functionality to be reused by different interfac
|
|
|
156
157
|
|
|
157
158
|
| Capability | Description | Primary Exports |
|
|
158
159
|
| --- | --- | --- |
|
|
159
|
-
| **Interactive Offline Dashboard** | Generates a 100% self-contained offline HTML dashboard with Cytoscape.js interactive graph for visualizing the full PDaC and RTM network. | `generateDashboardReport`, `buildGraphElements`, `renderDashboardHtml` |
|
|
160
|
+
| **Interactive Offline Dashboard** | Generates a 100% self-contained offline HTML dashboard with Cytoscape.js interactive graph for visualizing the full PDaC and RTM network (including `DATA-ASSET-*`, `PRIV-ROPA-*`, and `PRIV-REQ-*`). | `generateDashboardReport`, `buildGraphElements`, `renderDashboardHtml` |
|
|
160
161
|
| **Formal Code Quality Reporting** | Compiles granular polyglot code quality analysis into structured Markdown reports (`reports/QUALITY_REPORT.md`). | `generateQualityReport`, `writeQualityReport`, `calculateRating` |
|
|
161
162
|
| **Code Coverage Ingestion** | Passively ingests test coverage summaries from standard formats (`coverage/lcov.info`, `coverage/coverage-summary.json`) across polyglot stacks (.NET via Coverlet & ReportGenerator, Node.js, Python). | `readCodeCoverageSummary` |
|
|
162
163
|
| **Pull Request KPIs & Telemetry** | Calculates human vs. AI agent contribution ratios, review cycle duration, and token usage, formatting them for PR templates. | `aggregatePrKpis`, `formatPrKpiMarkdown`, `injectKpisIntoPrBody` |
|
|
@@ -166,8 +167,8 @@ This separation allows the core functionality to be reused by different interfac
|
|
|
166
167
|
|
|
167
168
|
| Capability | Description | Primary Exports |
|
|
168
169
|
| --- | --- | --- |
|
|
169
|
-
| **AI-SDLC Project Bootstrapping** | Configures policies (`quality-policy.yaml`, `license-policy.yaml`), all
|
|
170
|
-
| **Canonical Starter Templates & Schemas** | Pre-bundled, typed constants for all
|
|
170
|
+
| **AI-SDLC Project Bootstrapping** | Configures policies (`quality-policy.yaml`, `license-policy.yaml`, `privacy-policy.yaml`), all 33 schemas, 37 starter templates, arc42 architecture templates, CI workflows, and AI agent rules (11 specialized agents). Injects standard npm scripts into consumer `package.json`. | `initProject`, `resolveAgentTargets`, `collectAgentFiles` |
|
|
171
|
+
| **Canonical Starter Templates & Schemas** | Pre-bundled, typed constants for all 33 Draft 2020-12 JSON schemas and 37 base templates (Product, Security, Privacy, Safety, Manuals, Compliance, SDD, CI/CD). Provides automatic in-memory fallback during schema validation. | `STARTER_BASE_TEMPLATES`, `STARTER_SCHEMAS`, `STARTER_SCHEMAS_MAP`, `STARTER_QUALITY_POLICY`, `STARTER_LICENSE_POLICY`, `STARTER_PRIVACY_POLICY`, `STARTER_PULL_REQUEST_TEMPLATE`, `STARTER_GITHUB_PULL_REQUEST_TEMPLATE` |
|
|
171
172
|
| **Universal MCP Scaffolding** | Pre-bundled Model Context Protocol server configuration files for immediate IDE integration without manual setup. | `STARTER_CURSOR_MCP`, `STARTER_ANTIGRAVITY_MCP`, `STARTER_VSCODE_MCP` |
|
|
172
173
|
| **Multi-Provider CI/CD Pipelines** | Production-ready pipeline definitions using `npx @aisdlc/cli` across GitHub Actions (including automated PR KPI aggregation), GitLab CI, Azure DevOps, and Bitbucket Pipelines. | `STARTER_GITHUB_CI`, `STARTER_GITHUB_SDD_INTEGRATE`, `STARTER_GITHUB_PR_KPI`, `STARTER_GITHUB_DEPLOY_DASHBOARD`, `STARTER_GITLAB_CI`, `STARTER_AZURE_PIPELINES`, `STARTER_BITBUCKET_PIPELINES` |
|
|
173
174
|
|