@aisdlc/core 4.1.0 → 4.2.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 +1751 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +599 -5
- package/dist/index.d.ts +599 -5
- package/dist/index.js +1725 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,259 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Regulatory Compliance Engine Types & Contracts
|
|
3
|
+
* Satisfies: FR-051-REGULATORY-COMPLIANCE-BUNDLE-001,
|
|
4
|
+
* SEC-REQ-051-TAMPER-RESISTANT-ATTESTATION-001,
|
|
5
|
+
* SEC-REQ-051-SENSITIVE-DATA-FILTER-001,
|
|
6
|
+
* SEC-REQ-051-KEYLESS-IDENTITY-VERIFICATION-001
|
|
7
|
+
*/
|
|
8
|
+
type QualityGateId = 'quality' | 'traceability' | 'governance' | 'testing' | 'gherkin' | 'licenses' | 'pdac' | 'schemas' | 'duplicates' | 'security' | 'privacy' | 'friction';
|
|
9
|
+
declare const ALL_QUALITY_GATES: readonly QualityGateId[];
|
|
10
|
+
interface RegulatoryGateMapping {
|
|
11
|
+
gateId: QualityGateId;
|
|
12
|
+
euAiAct: string;
|
|
13
|
+
iso42001: string;
|
|
14
|
+
nistSsdf: string;
|
|
15
|
+
description: string;
|
|
16
|
+
}
|
|
17
|
+
interface GateFinding {
|
|
18
|
+
id: string;
|
|
19
|
+
ruleId: string;
|
|
20
|
+
message: string;
|
|
21
|
+
severity?: 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL';
|
|
22
|
+
location?: string;
|
|
23
|
+
rawOutput?: string;
|
|
24
|
+
[key: string]: unknown;
|
|
25
|
+
}
|
|
26
|
+
interface GateEvidenceReport {
|
|
27
|
+
gateId: QualityGateId | string;
|
|
28
|
+
verdict: 'PASS' | 'FAIL' | 'WARN';
|
|
29
|
+
commitSha?: string;
|
|
30
|
+
executedAt?: string;
|
|
31
|
+
findings?: GateFinding[];
|
|
32
|
+
diagnostics?: string[];
|
|
33
|
+
metrics?: Record<string, unknown>;
|
|
34
|
+
}
|
|
35
|
+
interface OscalFinding {
|
|
36
|
+
id: string;
|
|
37
|
+
ruleId: string;
|
|
38
|
+
message: string;
|
|
39
|
+
[key: string]: unknown;
|
|
40
|
+
}
|
|
41
|
+
interface OscalResult {
|
|
42
|
+
gateId: string;
|
|
43
|
+
verdict: string;
|
|
44
|
+
findings: OscalFinding[];
|
|
45
|
+
[key: string]: unknown;
|
|
46
|
+
}
|
|
47
|
+
interface OscalAssessmentResultsDocument {
|
|
48
|
+
'assessment-results': {
|
|
49
|
+
id?: string;
|
|
50
|
+
'oscal-version': string;
|
|
51
|
+
metadata: {
|
|
52
|
+
title: string;
|
|
53
|
+
version: string;
|
|
54
|
+
'last-modified': string;
|
|
55
|
+
[key: string]: unknown;
|
|
56
|
+
};
|
|
57
|
+
results: OscalResult[];
|
|
58
|
+
[key: string]: unknown;
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
interface InTotoSubject {
|
|
62
|
+
name: string;
|
|
63
|
+
digest: {
|
|
64
|
+
sha256: string;
|
|
65
|
+
[key: string]: string;
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
interface InTotoStatementV1 {
|
|
69
|
+
_type: 'https://in-toto.io/Statement/v1';
|
|
70
|
+
predicateType: string;
|
|
71
|
+
subject: InTotoSubject[];
|
|
72
|
+
predicate: Record<string, unknown>;
|
|
73
|
+
}
|
|
74
|
+
interface RegulatoryMatrixSection {
|
|
75
|
+
euAiActCoverage: string[];
|
|
76
|
+
iso42001Coverage: string[];
|
|
77
|
+
nistSsdfCoverage: string[];
|
|
78
|
+
gateMappings: Record<string, RegulatoryGateMapping>;
|
|
79
|
+
}
|
|
80
|
+
interface ComplianceBundlePayload {
|
|
81
|
+
schemaVersion: '1.0.0';
|
|
82
|
+
generatedAt: string;
|
|
83
|
+
generator: {
|
|
84
|
+
name: 'AI-SDLC Regulatory Compliance Engine';
|
|
85
|
+
component: 'CMP-051-REGULATORY-COMPLIANCE-ENGINE';
|
|
86
|
+
version: string;
|
|
87
|
+
};
|
|
88
|
+
oscalAssessmentResults: OscalAssessmentResultsDocument;
|
|
89
|
+
inTotoAttestation: InTotoStatementV1;
|
|
90
|
+
regulatoryMatrix: RegulatoryMatrixSection;
|
|
91
|
+
}
|
|
92
|
+
interface ComplianceBundleOptions {
|
|
93
|
+
rootDir: string;
|
|
94
|
+
outputPath?: string;
|
|
95
|
+
keyless?: boolean;
|
|
96
|
+
strict?: boolean;
|
|
97
|
+
offline?: boolean;
|
|
98
|
+
dryRun?: boolean;
|
|
99
|
+
currentCommit?: string;
|
|
100
|
+
evidenceReports?: GateEvidenceReport[];
|
|
101
|
+
}
|
|
102
|
+
interface ComplianceBundleResult {
|
|
103
|
+
success: boolean;
|
|
104
|
+
outputPath: string;
|
|
105
|
+
bundleDigest: string;
|
|
106
|
+
findingsCount: number;
|
|
107
|
+
coveredGatesCount: number;
|
|
108
|
+
regulatoryCoverage: {
|
|
109
|
+
euAiActArticles: string[];
|
|
110
|
+
iso42001Clauses: string[];
|
|
111
|
+
nistSsdfPractices: string[];
|
|
112
|
+
};
|
|
113
|
+
diagnostics: string[];
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* AI-SDLC: CLI Doctor Engine Types, DTOs and Interfaces (CMP-052-DOCTOR-ENGINE)
|
|
118
|
+
*/
|
|
119
|
+
type DoctorStatus = 'pass' | 'warn' | 'fail';
|
|
120
|
+
type CheckStatus = DoctorStatus;
|
|
121
|
+
type DiagnosticCategory = 'git_hooks' | 'branch_safety' | 'schemas_pdac' | 'toolchain' | 'signing_readiness';
|
|
122
|
+
interface DiagnosticFinding {
|
|
123
|
+
id: string;
|
|
124
|
+
category: DiagnosticCategory;
|
|
125
|
+
status: DoctorStatus;
|
|
126
|
+
message: string;
|
|
127
|
+
remediation?: string;
|
|
128
|
+
details?: Record<string, unknown>;
|
|
129
|
+
}
|
|
130
|
+
interface CategoryReport {
|
|
131
|
+
category: DiagnosticCategory;
|
|
132
|
+
title: string;
|
|
133
|
+
status: DoctorStatus;
|
|
134
|
+
findings: DiagnosticFinding[];
|
|
135
|
+
}
|
|
136
|
+
type CategoryResult = CategoryReport;
|
|
137
|
+
interface DoctorOptions {
|
|
138
|
+
rootDir: string;
|
|
139
|
+
json?: boolean;
|
|
140
|
+
fix?: boolean;
|
|
141
|
+
strict?: boolean;
|
|
142
|
+
offline?: boolean;
|
|
143
|
+
timeout?: number;
|
|
144
|
+
}
|
|
145
|
+
interface DoctorReport {
|
|
146
|
+
overallStatus: DoctorStatus;
|
|
147
|
+
exitCode: 0 | 1 | 2;
|
|
148
|
+
timestamp: string;
|
|
149
|
+
categories: CategoryReport[];
|
|
150
|
+
remediations: string[];
|
|
151
|
+
}
|
|
152
|
+
interface IDoctorService {
|
|
153
|
+
diagnose(options: DoctorOptions): Promise<DoctorReport>;
|
|
154
|
+
}
|
|
155
|
+
interface ProcessExecOptions {
|
|
156
|
+
timeout?: number;
|
|
157
|
+
maxBuffer?: number;
|
|
158
|
+
cwd?: string;
|
|
159
|
+
}
|
|
160
|
+
interface ProcessExecResult {
|
|
161
|
+
stdout: string;
|
|
162
|
+
stderr: string;
|
|
163
|
+
exitCode: number | null;
|
|
164
|
+
}
|
|
165
|
+
interface IProcessRunner {
|
|
166
|
+
execSafe(executable: 'node' | 'pnpm' | 'git', args: string[], options?: ProcessExecOptions): Promise<ProcessExecResult>;
|
|
167
|
+
}
|
|
168
|
+
interface IFileSystemProbe {
|
|
169
|
+
exists(filePath: string): Promise<boolean>;
|
|
170
|
+
readFile(filePath: string): Promise<string>;
|
|
171
|
+
getFileSize(filePath: string): Promise<number>;
|
|
172
|
+
isExecutable(filePath: string): Promise<boolean>;
|
|
173
|
+
}
|
|
174
|
+
interface IDiagnosticsReporter {
|
|
175
|
+
formatTerminal(report: DoctorReport): string;
|
|
176
|
+
formatJson(report: DoctorReport): string;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* AI-SDLC Migration Engine Domain Types and DTO Contracts
|
|
181
|
+
* Cites: CMP-053-MIGRATE-ENGINE, FR-053-CLI-MIGRATE-001
|
|
182
|
+
*/
|
|
183
|
+
type MigrationFileStatus = 'UP_TO_DATE' | 'CLEAN_UPDATE' | 'LOCAL_OVERRIDE_PRESERVED' | 'CONFLICT';
|
|
184
|
+
type MigrationStatus = MigrationFileStatus;
|
|
185
|
+
type FileClassification = MigrationFileStatus;
|
|
186
|
+
interface MigrationOptions {
|
|
187
|
+
root?: string;
|
|
188
|
+
dryRun?: boolean;
|
|
189
|
+
backup?: boolean;
|
|
190
|
+
force?: boolean;
|
|
191
|
+
allowPolicyDowngrade?: boolean;
|
|
192
|
+
json?: boolean;
|
|
193
|
+
verbose?: boolean;
|
|
194
|
+
branch?: string;
|
|
195
|
+
}
|
|
196
|
+
interface MigrationItemReport {
|
|
197
|
+
file: string;
|
|
198
|
+
category: 'schema' | 'template' | 'policy';
|
|
199
|
+
status: MigrationFileStatus;
|
|
200
|
+
currentDigest?: string;
|
|
201
|
+
targetDigest?: string;
|
|
202
|
+
message?: string;
|
|
203
|
+
}
|
|
204
|
+
type MigrationPlanItem = MigrationItemReport;
|
|
205
|
+
interface MigrationSummary {
|
|
206
|
+
upToDate: number;
|
|
207
|
+
cleanUpdated: number;
|
|
208
|
+
overridesPreserved: number;
|
|
209
|
+
conflicts: number;
|
|
210
|
+
}
|
|
211
|
+
interface MigrationResult {
|
|
212
|
+
success: boolean;
|
|
213
|
+
exitCode: 0 | 1 | 2;
|
|
214
|
+
summary: MigrationSummary;
|
|
215
|
+
backupPath?: string;
|
|
216
|
+
details: MigrationItemReport[];
|
|
217
|
+
}
|
|
218
|
+
type MigrationReport = MigrationResult;
|
|
219
|
+
interface IFileSystemJail {
|
|
220
|
+
resolveSafe(repoRoot: string, relativePath: string): string;
|
|
221
|
+
readFileSafe(repoRoot: string, relativePath: string): Promise<string>;
|
|
222
|
+
writeFileSafe(repoRoot: string, relativePath: string, content: string): Promise<void>;
|
|
223
|
+
existsSafe(repoRoot: string, relativePath: string): Promise<boolean>;
|
|
224
|
+
ensureDirectorySafe(repoRoot: string, relativeDir: string): Promise<void>;
|
|
225
|
+
isSymlinkSafe(repoRoot: string, relativePath: string): Promise<boolean>;
|
|
226
|
+
}
|
|
227
|
+
interface BackupManifestEntry {
|
|
228
|
+
path: string;
|
|
229
|
+
sha256: string;
|
|
230
|
+
bytes: number;
|
|
231
|
+
}
|
|
232
|
+
interface BackupManifest {
|
|
233
|
+
timestamp: string;
|
|
234
|
+
changeId?: string;
|
|
235
|
+
files: BackupManifestEntry[];
|
|
236
|
+
}
|
|
237
|
+
interface IBackupManager {
|
|
238
|
+
createBackup(repoRoot: string, filesToBackup: string[]): Promise<string>;
|
|
239
|
+
restoreBackup(repoRoot: string, backupPath: string): Promise<void>;
|
|
240
|
+
}
|
|
241
|
+
interface ITransactionManager {
|
|
242
|
+
begin(repoRoot: string): Promise<string>;
|
|
243
|
+
stageFile(repoRoot: string, relativePath: string, content: string): Promise<void>;
|
|
244
|
+
commit(repoRoot: string): Promise<void>;
|
|
245
|
+
rollback(repoRoot: string): Promise<void>;
|
|
246
|
+
rollbackSync(repoRoot: string, backupPath?: string): void;
|
|
247
|
+
}
|
|
248
|
+
interface IMigrationService {
|
|
249
|
+
migrate(options: MigrationOptions): Promise<MigrationResult>;
|
|
250
|
+
preview(options: MigrationOptions): Promise<MigrationResult>;
|
|
251
|
+
}
|
|
252
|
+
interface IMigrationReporter {
|
|
253
|
+
formatTerminal(result: MigrationResult): string;
|
|
254
|
+
formatJson(result: MigrationResult): string;
|
|
255
|
+
}
|
|
256
|
+
|
|
1
257
|
/**
|
|
2
258
|
* AI-SDLC Core Domain Types and Interfaces
|
|
3
259
|
*/
|
|
@@ -2105,9 +2361,10 @@ interface DashboardMetricsData {
|
|
|
2105
2361
|
activeBranch: string;
|
|
2106
2362
|
branchTelemetries?: Record<string, PrKpiAggregation>;
|
|
2107
2363
|
totalTelemetry?: PrKpiAggregation | null;
|
|
2364
|
+
complianceBundle?: ComplianceBundlePayload | null;
|
|
2108
2365
|
}
|
|
2109
2366
|
declare function renderAutonomyModeSection(mode: string, statusIcon: string, count: number, roleDescription: string, allTasks?: TaskSummary[]): string;
|
|
2110
|
-
declare function renderManualsTab(manuals: ManualsVerificationResult): string;
|
|
2367
|
+
declare function renderManualsTab(manuals: ManualsVerificationResult, complianceBundle?: ComplianceBundlePayload | null): string;
|
|
2111
2368
|
declare function renderDashboardHtml(graphData: GraphElementsResult, metricsData: DashboardMetricsData, title?: string, generationDate?: string): string;
|
|
2112
2369
|
|
|
2113
2370
|
/**
|
|
@@ -2130,6 +2387,7 @@ declare function collectDashboardMetrics(rootDir: string): {
|
|
|
2130
2387
|
activeBranch: string;
|
|
2131
2388
|
branchTelemetries: Record<string, PrKpiAggregation>;
|
|
2132
2389
|
totalTelemetry: PrKpiAggregation | null;
|
|
2390
|
+
complianceBundle: ComplianceBundlePayload | null;
|
|
2133
2391
|
};
|
|
2134
2392
|
/**
|
|
2135
2393
|
* Main function to generate the dashboard report.
|
|
@@ -2623,7 +2881,7 @@ declare function writeReportFileIfChanged(filePath: string, content: string): bo
|
|
|
2623
2881
|
* Pure, synchronous, offline-first redaction of sensitive credentials, PII, and internal URLs
|
|
2624
2882
|
* before context is dispatched through MCP tools or CLI outputs to foundation models.
|
|
2625
2883
|
*/
|
|
2626
|
-
interface DlpRule {
|
|
2884
|
+
interface DlpRule$1 {
|
|
2627
2885
|
id: string;
|
|
2628
2886
|
description: string;
|
|
2629
2887
|
pattern: string;
|
|
@@ -2634,14 +2892,14 @@ interface DlpPolicy {
|
|
|
2634
2892
|
version: string;
|
|
2635
2893
|
enabled: boolean;
|
|
2636
2894
|
zero_data_retention_required?: boolean;
|
|
2637
|
-
rules: DlpRule[];
|
|
2895
|
+
rules: DlpRule$1[];
|
|
2638
2896
|
}
|
|
2639
2897
|
interface DlpSanitizeResult {
|
|
2640
2898
|
sanitizedText: string;
|
|
2641
2899
|
redactionCount: number;
|
|
2642
2900
|
triggeredRuleIds: string[];
|
|
2643
2901
|
}
|
|
2644
|
-
declare const DEFAULT_DLP_RULES: readonly DlpRule[];
|
|
2902
|
+
declare const DEFAULT_DLP_RULES: readonly DlpRule$1[];
|
|
2645
2903
|
declare function createDefaultDlpPolicy(): DlpPolicy;
|
|
2646
2904
|
declare function parseDlpPolicy(yamlContent: string): DlpPolicy;
|
|
2647
2905
|
declare function loadDlpPolicy(rootDir?: string, customPolicyPath?: string): DlpPolicy;
|
|
@@ -2697,4 +2955,340 @@ declare function inspectElement(query: string, options?: InspectOptions): Inspec
|
|
|
2697
2955
|
*/
|
|
2698
2956
|
declare function formatInspectResultMarkdown(result: InspectResult): string;
|
|
2699
2957
|
|
|
2700
|
-
export { ALL_ARCHITECTURE_TEMPLATES, type ActiveTaskMatch, type AgentTarget, type AnalysisResult, type ArchTemplateDef, type ArchitectureGranularity, type ArtifactFrontmatter, type ArtifactSchemaOptions, type ArtifactSchemaResult, type ArtifactSchemaViolation, type ArtifactValidationResult, type AuthorIdentity, type AuthorKpiSummary, type AutonomyMode, BRANCH_PATTERNS, type BddFeatureExecutionReport, type BddScenarioExecution, type BddStepExecution, BddStepRegistry, type BddVariantCoverage, type BranchClassificationResult, type BranchHierarchyPlan, type BranchValidationError, type BranchValidationSuccess, type BugRecordSummary, CPP_CLANG_TIDY, CPP_CMAKE_STRICT, type ChangeDetectionOptions, type ChangeDetectionResult, type ChangeProfile, type CiProvider, type CodeCoverageSummary, type CodingRuleStack, type CommitKpiRecord, type CommitTrailers, type ContractTraceAudit, type CycloneDxBom, type CycloneDxComponent, type CycloneDxLicense, type CycloneDxVulnerability, type CytoscapeEdgeData, type CytoscapeElement, type CytoscapeNodeData, DEFAULT_DLP_RULES, DEFAULT_EXCLUDED_PATTERNS, DEFAULT_EXCLUDES, DEFAULT_EXCLUDE_DIRS, DEFAULT_EXTENSIONS, DEFAULT_PRIVACY_POLICY, DEFAULT_SAST_EXCLUDES, DOTNET_DIRECTORY_BUILD_PROPS, type DashboardHistoricalKpi, type DashboardOptions, type DashboardResult, type DataAssetSummary, type DesignContractDeclaration, type DiffLineItem, type DlpPolicy, type DlpRule, type DlpSanitizeResult, type DuplicateIssue, type DuplicateIssueType, type DuplicateSeverity, type DuplicateVerifierOptions, type DuplicateVerifierResult, type ExtractedFeature, type FunctionMetrics, GENERAL_SOURCE_EXTENSIONS, GHERKIN_GENERATOR_SPECS, GO_GOLANGCI_YML, GRADLE_STRICT_INIT_KTS, type GenerateSarifOptions, type GherkinExtractionOptions, type GherkinExtractionResult, type GherkinGeneratorSpec, type GherkinScaffoldExecFn, type GherkinScaffoldExecResult, type GherkinScaffoldLanguage, type GherkinScaffoldOptions, type GherkinScaffoldResult, type GherkinScaffoldStatus, type GherkinSyncCheckResult, type GitCheckoutTaskOptions, type GitCheckoutTaskResult, type GovernanceOptions, type GovernanceResult, type GraphElementsResult, type GraphNodeLayer, type GraphNodeStatus, type GraphNodeType, type HookInstallResult, type InitProjectOptions, type InitProjectResult, type InspectOptions, type InspectRelation, type InspectResult, JAVA_PMD_RULESET_XML, type JsonSchemaRule, KOTLIN_DETEKT_YML, KPI_SUMMARY_END_TAG, KPI_SUMMARY_START_TAG, LIFECYCLE_SKILL_TEMPLATES, type LanguageAstReport, type LicensePolicy, type LicenseVerificationOptions, type LicenseVerificationResult, type LicenseViolation, type LifecycleSkillTemplate, type ManualDocumentItem, type ManualsCoverageSummary, type ManualsVerificationOptions, type ManualsVerificationResult, type ModelDefectStats, type NativeAstOptions, OpenSpecAdapter, PII_SAST_RULES, PREPARE_COMMIT_MSG_SCRIPT, PRE_COMMIT_SCRIPT, PROMPT_INJECTION_SIGNATURES, PROTECTED_BYPASS_PATTERNS, PROTECTED_CODING_RULES_FILES, type PackageJsonInfo, type ParsedFeatureDocument, type ParsedScenarioBlock, type ParsedStepItem, type PdacDrift, type PdacGraphOptions, type PdacGraphResult, type PdacInvalidAnchor, type PdacNode, type PdacSyncDetail, type PdacSyncOptions, type PdacSyncResult, type PdacUnresolvedCitation, type PiiSastRule, type PrKpiAggregation, type PreflightCheckOptions, type PreflightCheckResult, type PreflightGateSummary, type PrivacyClassificationRule, type PrivacyFindingType, type PrivacyPolicy, type PrivacyRopaSummary, type PrivacyVerifierOptions, type PrivacyVerifierResult, type PrivacyViolation, type ProductHandoff, type ProductHandoffSubgraph, type ProgressiveFrictionOptions, type ProgressiveFrictionResult, type PromptInjectionFinding, type QualityBaseline, type QualityBaselineEntry, type QualityGateOptions, type QualityGateResult, type QualityPolicy, type QualityReportOptions, type QualityReportResult, type QualityThresholds, REVIEWER_ROLES, REVIEW_VERDICTS, RUST_CARGO_CONFIG_TOML, RUST_CLIPPY_TOML, type ReleaseKpiReport, type RequirementAuditItem, type ResolvedCiEnv, type ReviewReportResult, type ReviewVerdict, type ReviewerRole, SARIF_SCHEMA_2_1_0, SARIF_VERSION, SAST_RULES, SCHEMA_SCHEMAS_ARCHITECTURE_ADR_SCHEMA_JSON, SCHEMA_SCHEMAS_ARCHITECTURE_COMPONENT_SCHEMA_JSON, SCHEMA_SCHEMAS_ARCHITECTURE_INTRODUCTION_AND_GOALS_SCHEMA_JSON, SCHEMA_SCHEMAS_COMPLIANCE_LICENSE_MANIFEST_SCHEMA_JSON, SCHEMA_SCHEMAS_COMPLIANCE_LICENSE_POLICY_SCHEMA_JSON, SCHEMA_SCHEMAS_COMPLIANCE_QUALITY_POLICY_SCHEMA_JSON, SCHEMA_SCHEMAS_IDE_MCP_CONFIG_SCHEMA_JSON, SCHEMA_SCHEMAS_MANUALS_PRODUCTION_MANUAL_SCHEMA_JSON, SCHEMA_SCHEMAS_MANUALS_USER_MANUAL_SCHEMA_JSON, SCHEMA_SCHEMAS_PRIVACY_DATA_ASSET_SCHEMA_JSON, SCHEMA_SCHEMAS_PRIVACY_PRIVACY_POLICY_SCHEMA_JSON, SCHEMA_SCHEMAS_PRIVACY_PRIVACY_REQ_SCHEMA_JSON, SCHEMA_SCHEMAS_PRIVACY_PRIVACY_ROPA_SCHEMA_JSON, SCHEMA_SCHEMAS_PRODUCT_ACTOR_SCHEMA_JSON, SCHEMA_SCHEMAS_PRODUCT_BOUNDED_CONTEXT_SCHEMA_JSON, SCHEMA_SCHEMAS_PRODUCT_BUSINESS_RULE_SCHEMA_JSON, SCHEMA_SCHEMAS_PRODUCT_JOURNEY_SCHEMA_JSON, SCHEMA_SCHEMAS_PRODUCT_REQUIREMENT_SCHEMA_JSON, SCHEMA_SCHEMAS_PRODUCT_TERM_SCHEMA_JSON, SCHEMA_SCHEMAS_PRODUCT_USE_CASE_SCHEMA_JSON, SCHEMA_SCHEMAS_SAFETY_HAZARD_SCHEMA_JSON, SCHEMA_SCHEMAS_SAFETY_SAFETY_REQ_SCHEMA_JSON, SCHEMA_SCHEMAS_SDD_DESIGN_SCHEMA_JSON, SCHEMA_SCHEMAS_SDD_HANDOFF_SCHEMA_JSON, SCHEMA_SCHEMAS_SDD_PROPOSAL_SCHEMA_JSON, SCHEMA_SCHEMAS_SDD_RELEASE_KPIS_SCHEMA_JSON, SCHEMA_SCHEMAS_SDD_SESSION_TELEMETRY_SCHEMA_JSON, SCHEMA_SCHEMAS_SDD_SPEC_SCHEMA_JSON, SCHEMA_SCHEMAS_SDD_TASKS_SCHEMA_JSON, SCHEMA_SCHEMAS_SECURITY_ABUSE_CASE_SCHEMA_JSON, SCHEMA_SCHEMAS_SECURITY_ENCLAVE_SCHEMA_JSON, SCHEMA_SCHEMAS_SECURITY_SECURITY_REQ_SCHEMA_JSON, SCHEMA_SCHEMAS_SECURITY_THREAT_ACTOR_SCHEMA_JSON, SCHEMA_SCHEMAS_WORKFLOW_AGENT_HANDOFF_SCHEMA_JSON, SECRET_RULES, SPECIALIZED_AGENT_TEMPLATES, STARTER_AGENT_GUARD_WRAPPER_CJS, STARTER_ANTIGRAVITY_HOOKS_JSON, STARTER_ANTIGRAVITY_MCP, STARTER_ANTIGRAVITY_RULES, STARTER_ARCH_ADR, STARTER_ARCH_ARCHITECTURE_CONSTRAINTS, STARTER_ARCH_COMPONENT, STARTER_ARCH_CONTEXT_AND_SCOPE, STARTER_ARCH_CROSS_CUTTING_CONCEPTS, STARTER_ARCH_DEPLOYMENT_VIEW, STARTER_ARCH_GLOSSARY, STARTER_ARCH_INTRODUCTION_AND_GOALS, STARTER_ARCH_LEVEL_1_WHITEBOX, STARTER_ARCH_QUALITY_REQUIREMENTS, STARTER_ARCH_RISKS_AND_TECHNICAL_DEBT, STARTER_ARCH_RUNTIME_VIEW, STARTER_ARCH_SOLUTION_STRATEGY, STARTER_AZURE_PIPELINES, STARTER_BASE_TEMPLATES, STARTER_BITBUCKET_PIPELINES, STARTER_CLAUDE_RULES, STARTER_COMPLIANCE_LICENSE_MANIFEST_YAML, STARTER_COPILOT_RULES, STARTER_CURSOR_CORE_RULES, STARTER_CURSOR_MCP, STARTER_CURSOR_PRODUCT_RULES, STARTER_CURSOR_QUALITY_RULES, STARTER_GITHUB_CI, STARTER_GITHUB_DEPLOY_DASHBOARD, STARTER_GITHUB_PR_KPI, STARTER_GITHUB_PULL_REQUEST_TEMPLATE, STARTER_GITHUB_SDD_INTEGRATE, STARTER_GITLAB_CI, STARTER_GUARD_BRANCH_CJS, STARTER_LICENSE_POLICY, STARTER_PRIVACY_POLICY, STARTER_PROCESS_README, STARTER_PULL_REQUEST_TEMPLATE, STARTER_QUALITY_POLICY, STARTER_REQUIREMENT_TEMPLATE, STARTER_SCHEMAS, STARTER_SCHEMAS_MAP, STARTER_TASK_TEMPLATE, STARTER_TEMPLATES_CI_AZURE_PIPELINES_YML, STARTER_TEMPLATES_CI_BITBUCKET_PIPELINES_YML, STARTER_TEMPLATES_CI_GITHUB_WORKFLOWS_CI_YML, STARTER_TEMPLATES_CI_GITHUB_WORKFLOWS_DEPLOY_DASHBOARD_YML, STARTER_TEMPLATES_CI_GITHUB_WORKFLOWS_PR_KPI_SUMMARY_YML, STARTER_TEMPLATES_CI_GITHUB_WORKFLOWS_SDD_INTEGRATE_ON_MERGE_YML, STARTER_TEMPLATES_CI__GITLAB_CI_YML, STARTER_TEMPLATES_COMPLIANCE_COMMERCIAL_ACQUISITION_REQUEST_TEMPLATE_MD, STARTER_TEMPLATES_MANUALS_PRODUCTION_MANUAL_TEMPLATE_MD, STARTER_TEMPLATES_MANUALS_USER_MANUAL_TEMPLATE_MD, STARTER_TEMPLATES_PRIVACY_DATA_ASSET_TEMPLATE_MD, STARTER_TEMPLATES_PRIVACY_DPIA_REQUEST_TEMPLATE_MD, STARTER_TEMPLATES_PRIVACY_PRIVACY_REQ_TEMPLATE_MD, STARTER_TEMPLATES_PRIVACY_PRIVACY_ROPA_TEMPLATE_MD, STARTER_TEMPLATES_PRODUCT_ACTOR_TEMPLATE_MD, STARTER_TEMPLATES_PRODUCT_BOUNDED_CONTEXT_TEMPLATE_MD, STARTER_TEMPLATES_PRODUCT_BUSINESS_RULE_TEMPLATE_MD, STARTER_TEMPLATES_PRODUCT_JOURNEY_TEMPLATE_MD, STARTER_TEMPLATES_PRODUCT_REQUIREMENT_TEMPLATE_MD, STARTER_TEMPLATES_PRODUCT_TERM_TEMPLATE_MD, STARTER_TEMPLATES_PRODUCT_USER_DESIGN_FEEDBACK_TEMPLATE_MD, STARTER_TEMPLATES_PRODUCT_USE_CASE_TEMPLATE_MD, STARTER_TEMPLATES_SAFETY_HAZARD_TEMPLATE_MD, STARTER_TEMPLATES_SAFETY_SAFETY_REQ_TEMPLATE_MD, STARTER_TEMPLATES_SDD_DESIGN_TEMPLATE_MD, STARTER_TEMPLATES_SDD_HANDOFF_TEMPLATE_YAML, STARTER_TEMPLATES_SDD_PROPOSAL_TEMPLATE_MD, STARTER_TEMPLATES_SDD_PULL_REQUEST_TEMPLATE_MD, STARTER_TEMPLATES_SDD_SPEC_TEMPLATE_MD, STARTER_TEMPLATES_SDD_TASKS_TEMPLATE_MD, STARTER_TEMPLATES_SECURITY_ABUSE_CASE_TEMPLATE_MD, STARTER_TEMPLATES_SECURITY_ENCLAVE_TEMPLATE_MD, STARTER_TEMPLATES_SECURITY_SECURITY_REQ_TEMPLATE_MD, STARTER_TEMPLATES_SECURITY_THREAT_ACTOR_TEMPLATE_MD, STARTER_TEMPLATES_WORKFLOW_AGENT_HANDOFF_TEMPLATE_MD, STARTER_VSCODE_MCP, STARTER_WORKFLOW_HANDOFF_TEMPLATE, STARTER__GITHUB_PULL_REQUEST_TEMPLATE_MD, type SarifArtifactLocation, type SarifDocument, type SarifLevel, type SarifLocation, type SarifMultiformatMessageString, type SarifPhysicalLocation, type SarifRegion, type SarifReportingDescriptor, type SarifResult, type SarifRuleConfiguration, type SarifRun, type SarifToolDriver, type SastFindingType, type SastRule, type SastSeverity, type SastVerifierOptions, type SastVerifierResult, type SastViolation, type SbomGenerateOptions, type ScaTool, type ScaVulnerability, type ScanOptions, type ScannedDependency, type ScannedRequirement, type SddAdapter, type SddChangeScaffoldOptions, type SddChangeScaffoldResult, type SddDepositOptions, type SddFramework, type SddIntegrateAllOptions, type SddIntegrateAllResult, type SddIntegrationAudit, type SddIntegrationOptions, type SddIntegrationResult, type SddValidationResult, type SddWorkspaceInfo, type SecretFindingType, type SecretRule, type SecretVerifierOptions, type SecretVerifierResult, type SecretViolation, type SecuritySuppression, type SpecCatalogScope, SpecKitAdapter, type SpecializedAgentTemplate, type StarterSchemaEntry, type StarterTemplateEntry, type StepDataTable, type StepDefinitionEntry, type StepHandler, type SubmitReviewReportOptions, type SupportedCiProvider, TS_ESLINT_CONFIG_MJS, TS_STRICT_TSCONFIG, TYPE_TO_SCHEMA_MAP, type TaskAuditItem, type TaskItem, type TaskKpiSummary, type TaskLocateResult, type TaskSummary, type TaskVerification, type TestingCoverageOptions, type TestingCoverageResult, type TraceabilityOptions, type TraceabilityResult, type TraceabilityRow, UNIT_TEST_SUFFIXES, type UntestedFunctionItem, type UseCaseFlowAuditItem, VALID_AGENT_TARGETS, VALID_ARCHITECTURE_GRANULARITIES, VALID_AUTONOMY_MODES, VALID_CHANGE_PROFILES, VALID_CI_PROVIDERS, VALID_CODING_RULE_STACKS, type VexAnalysisJustification, type VexAnalysisState, type VexStatement, type VulnerabilityThresholds, accumulateTaskSummaries, aggregateCommitKpiRecords, aggregatePrKpis, aggregateReleaseKpis, analyzeBddVariantsForRequirement, appendRevisionHistoryRow, applyRatchetMode, buildCycloneDxComponent, buildCycloneDxVulnerabilities, buildFeatureFileContent, buildGraphElements, calculateJaccardSimilarity, calculateMetrics, calculateRating, calculateShannonEntropy, canonicalSort, checkGherkinInSync, checkoutTaskBranch, classifyBranch, classifyMetricFromMessage, collectAgentFiles, collectDashboardMetrics, collectHistoricalKpis, computeCanonicalSha256, computeRawSha256, computeSha256, computeViolationSignature, createDefaultDlpPolicy, createDefaultQualityPolicy, depositProductHandoffSidecar, detectActiveChangeForIntegration, detectAuthorIdentity, detectLanguage, detectProfileFromChange, detectProjectStacks, detectPromptInjection, emitCiOutput, evaluateCompoundLicense, evaluateSingleDependency, evaluateVulnerabilityThresholds, executeBddFeature, extractAllRepoCommitKpis, extractBaselineEntriesFromResults, extractCitations, extractCommitKpisFromRange, extractDirectDepNames, extractFeatureTags, extractFrontmatter, extractFunctions, extractFunctionsBraceLanguages, extractFunctionsPolyglot, extractFunctionsPython, extractFunctionsPythonAst, extractFunctionsTypeScriptAst, extractGherkinBlock, extractGherkinFeatures, extractNormativeText, extractPythonFunctionsPolyglot, extractSemanticContent, findChangeWorkspaceDir, findLicenseFile, formatCommitTrailers, formatInspectResultMarkdown, formatPrKpiMarkdown, formatReleaseKpiMarkdown, formatTaskKpiRows, generateBranchHierarchyPlan, generateCycloneDxSbom, generateDashboardReport, generateDeterministicUuidV5, generateDuplicatesReportMarkdown, generateGovernanceReportMarkdown, generateLicenseReportMarkdown, generatePdacReportMarkdown, generatePrivacyReportMarkdown, generateQualityReport, generateRopaInventoryMarkdown, generateSastReportMarkdown, generateSecretsReportMarkdown, generateSecuritySarifReport, generateSuppressionsAuditReport, generateTestingCoverageReportMarkdown, generateThirdPartyNotices, generateTraceabilityReportMarkdown, getArchitectureTemplates, getCodingRulesFilesForStacks, getCytoscapeScript, getGitDiffLines, getNextCorrelativeNumber, getReferenceCodingRulesTemplates, getSddAdapter, inferArtifactTypeFromId, inferMissingTrailers, initProject, injectKpisIntoPrBody, inspectElement, installGitHooks, integrateAllSddChanges, integrateSddChange, isCliInstalled, isFunctionReferencedInTests, isGitleaksInstalled, isMetricWorsened, isPathProtectedFromPatch, isPlaceholderOrIgnored, isProtectedCodingRulesFile, isReportContentSemanticallyEqual, isRequirementArtifact, isReviewerRole, isSemgrepInstalled, isToolAvailable, loadDlpPolicy, loadPrivacyPolicy, loadProductHandoffSidecar, loadQualityBaseline, locateTaskInActiveChanges, mapSastSeverityToSarifLevel, maskSecret, normalizePath, normalizeScaffoldLanguages, normalizeSpdxLicense, normalizeUri, orchestrateNativeAstAnalysis, parseCommitTrailers, parseDlpPolicy, parseFeatureDocument, parseFrontmatter, parseFrontmatterId, parseGenericDoc, parseLicensePolicy, parseMarkdownFrontmatter, parseQualityPolicy, parseRequirementFile, parseSecuritySuppression, parseSpecCatalogScope, parseTasksDoc, parseTasksFromContent, parseTrivyVulnerabilities, processPackageDir, readCodeCoverageSummary, readPackageJson, renderAntigravityAgentFile, renderAntigravitySkillFile, renderAutonomyModeSection, renderClaudeAgentFile, renderClaudeSkillFile, renderCopilotAgentFile, renderCopilotSkillFile, renderCursorAgentFile, renderCursorSkillFile, renderDashboardHtml, renderManualsTab, resolveAgentTargets, resolveBranchHierarchy, resolveCiEnvironment, resolveCodingRuleStacks, resolveCytoscapePath, resolveDefaultBranchBase, resolveDeterministicDate, resolveFeatureFilePath, resolveGitRef, resolveLicenseFromFile, resolveReleaseBaseBranch, resolveSastCwe, resolveSastOwasp, resolveSchemaForArtifact, resolveTargetFiles, runGitleaksCli, runSemgrepCli, sanitizeDlpPayload, sanitizeDlpText, sanitizeTestCorpus, scaffoldGherkinSteps, scaffoldSddChange, scanAllProductHandoffs, scanAllTestArtifacts, scanContentForSecrets, scanFileForPrivacyViolations, scanFileForSast, scanGoDependencies, scanInstalledLicenses, scanManualsInWorkspace, scanMavenDependencies, scanPnpmStore, scanPythonDependencies, scanRustDependencies, scanSubdirectories, scanWithNativeFs, scanWithSyft, scanWithTrivy, serializeSarifDocument, slugify, stripVolatileReportMetadata, submitReviewReport, syncPdacDigests, tokenizeTitle, updateCitationsInContent, validateAgainstSchema, validateAnchorExistence, validateArtifactSchema, verifyArtifactDuplicates, verifyArtifactsSchemas, verifyLicenses, verifyManuals, verifyPdacGraph, verifyPrivacy, verifyProgressiveFriction, verifyQualityGate, verifySast, verifySddIntegration, verifySecrets, verifyTasksGovernance, verifyTestingCoverage, verifyTraceability, walkDir, walkMdFiles, walkProjectFiles, walkSourceFiles, walkTaskFiles, writeCucumberJsonReport, writeCycloneDxSbom, writeQualityBaseline, writeReleaseKpiReport, writeReportFileIfChanged, writeSecuritySarifReport, writeThirdPartyNotices };
|
|
2958
|
+
/**
|
|
2959
|
+
* Regulatory Control Mapper (CMP-051)
|
|
2960
|
+
* Correlates the 12 AI-SDLC Quality Gates with:
|
|
2961
|
+
* - EU AI Act (2024/1689) Articles 9-15
|
|
2962
|
+
* - ISO/IEC 42001:2023 Clauses
|
|
2963
|
+
* - NIST SSDF SP 800-218 Practices
|
|
2964
|
+
*/
|
|
2965
|
+
|
|
2966
|
+
declare class RegulatoryControlMapper {
|
|
2967
|
+
mapGate(gateId: string): RegulatoryGateMapping;
|
|
2968
|
+
getAllMappings(): Record<QualityGateId, RegulatoryGateMapping>;
|
|
2969
|
+
getEuAiActCoverage(): string[];
|
|
2970
|
+
getIso42001Coverage(): string[];
|
|
2971
|
+
getNistSsdfCoverage(): string[];
|
|
2972
|
+
}
|
|
2973
|
+
|
|
2974
|
+
/**
|
|
2975
|
+
* NIST OSCAL Assessment-Results v1.0 Builder (CMP-051)
|
|
2976
|
+
* Generates canonical NIST OSCAL documents with deterministic ordering
|
|
2977
|
+
*/
|
|
2978
|
+
|
|
2979
|
+
interface OscalBuilderOptions {
|
|
2980
|
+
title: string;
|
|
2981
|
+
version: string;
|
|
2982
|
+
oscalVersion?: string;
|
|
2983
|
+
lastModified?: string;
|
|
2984
|
+
}
|
|
2985
|
+
declare class OscalAssessmentBuilder {
|
|
2986
|
+
private title;
|
|
2987
|
+
private version;
|
|
2988
|
+
private oscalVersion;
|
|
2989
|
+
private lastModified;
|
|
2990
|
+
private results;
|
|
2991
|
+
constructor(options: OscalBuilderOptions);
|
|
2992
|
+
addResult(result: {
|
|
2993
|
+
gateId: string;
|
|
2994
|
+
verdict: string;
|
|
2995
|
+
findings?: OscalFinding[];
|
|
2996
|
+
[key: string]: unknown;
|
|
2997
|
+
}): void;
|
|
2998
|
+
build(): OscalAssessmentResultsDocument;
|
|
2999
|
+
}
|
|
3000
|
+
|
|
3001
|
+
/**
|
|
3002
|
+
* in-toto Statement v1 Attestation Builder (CMP-051)
|
|
3003
|
+
* Generates in-toto Statement v1 with RFC 8785 Canonical JSON and Unix LF.
|
|
3004
|
+
*/
|
|
3005
|
+
|
|
3006
|
+
/**
|
|
3007
|
+
* RFC 8785 JSON Canonicalization Scheme (JCS)
|
|
3008
|
+
* Recursively canonicalizes object keys in lexicographical order.
|
|
3009
|
+
*/
|
|
3010
|
+
declare function canonicalizeJson(val: unknown): string;
|
|
3011
|
+
declare class InTotoAttestationBuilder {
|
|
3012
|
+
private subjects;
|
|
3013
|
+
private predicateType;
|
|
3014
|
+
private predicate;
|
|
3015
|
+
addSubject(name: string, sha256Digest: string): void;
|
|
3016
|
+
setPredicate(predicateType: string, predicate: Record<string, unknown>): void;
|
|
3017
|
+
build(): InTotoStatementV1;
|
|
3018
|
+
toCanonicalJson(): string;
|
|
3019
|
+
}
|
|
3020
|
+
|
|
3021
|
+
/**
|
|
3022
|
+
* DlpSanitizer Port & Adapter (CMP-051)
|
|
3023
|
+
* Masks URI credentials, Bearer tokens, PEM keys, and developer emails/PII.
|
|
3024
|
+
*/
|
|
3025
|
+
declare class DlpSanitizer {
|
|
3026
|
+
private uriCredsRegex;
|
|
3027
|
+
private bearerTokenRegex;
|
|
3028
|
+
private pemKeyRegex;
|
|
3029
|
+
private emailRegex;
|
|
3030
|
+
sanitizeText(text: string): string;
|
|
3031
|
+
sanitizeDiagnostics(diagnostics: string[]): string[];
|
|
3032
|
+
sanitizeObject<T>(obj: T): T;
|
|
3033
|
+
}
|
|
3034
|
+
|
|
3035
|
+
/**
|
|
3036
|
+
* Compliance Evidence Bundle Service & Generator (CMP-051)
|
|
3037
|
+
* Coordinates Aggregator, RegulatoryControlMapper, OscalAssessmentBuilder,
|
|
3038
|
+
* InTotoAttestationBuilder, DlpSanitizer, and Deterministic Exporter.
|
|
3039
|
+
*/
|
|
3040
|
+
|
|
3041
|
+
declare function generateComplianceEvidenceBundleSync(options: ComplianceBundleOptions): ComplianceBundleResult;
|
|
3042
|
+
declare function generateComplianceEvidenceBundle(options: ComplianceBundleOptions): Promise<ComplianceBundleResult>;
|
|
3043
|
+
|
|
3044
|
+
/**
|
|
3045
|
+
* AI-SDLC: Safe Process Runner Adapter (SEC-REQ-052-SAFE-TOOLCHAIN-PROBE-001)
|
|
3046
|
+
*/
|
|
3047
|
+
|
|
3048
|
+
declare function buildSafeEnvironment(): NodeJS.ProcessEnv;
|
|
3049
|
+
declare class SafeProcessRunnerAdapter implements IProcessRunner {
|
|
3050
|
+
execSafe(executable: 'node' | 'pnpm' | 'git', args: string[], options?: ProcessExecOptions): Promise<ProcessExecResult>;
|
|
3051
|
+
}
|
|
3052
|
+
|
|
3053
|
+
/**
|
|
3054
|
+
* AI-SDLC: File System Probe and Native Adapter
|
|
3055
|
+
*/
|
|
3056
|
+
|
|
3057
|
+
declare class NativeFileSystemProbeAdapter implements IFileSystemProbe {
|
|
3058
|
+
exists(filePath: string): Promise<boolean>;
|
|
3059
|
+
readFile(filePath: string): Promise<string>;
|
|
3060
|
+
getFileSize(filePath: string): Promise<number>;
|
|
3061
|
+
isExecutable(filePath: string): Promise<boolean>;
|
|
3062
|
+
isSymbolicLink(filePath: string): boolean;
|
|
3063
|
+
}
|
|
3064
|
+
|
|
3065
|
+
/**
|
|
3066
|
+
* AI-SDLC: Git Hooks Health Check (SEC-REQ-052-TAMPER-RESISTANT-HOOK-VERIFICATION-001)
|
|
3067
|
+
*/
|
|
3068
|
+
|
|
3069
|
+
declare class GitHooksHealthCheck {
|
|
3070
|
+
inspect(options: DoctorOptions): Promise<CategoryReport>;
|
|
3071
|
+
private missingDirReport;
|
|
3072
|
+
private scanHooks;
|
|
3073
|
+
private fixHooks;
|
|
3074
|
+
}
|
|
3075
|
+
|
|
3076
|
+
/**
|
|
3077
|
+
* AI-SDLC: Branch Safety Check (FR-052-CLI-DOCTOR-001)
|
|
3078
|
+
*/
|
|
3079
|
+
|
|
3080
|
+
declare class BranchSafetyCheck {
|
|
3081
|
+
private runner;
|
|
3082
|
+
constructor(runner?: IProcessRunner);
|
|
3083
|
+
inspect(options: DoctorOptions): Promise<CategoryReport>;
|
|
3084
|
+
}
|
|
3085
|
+
|
|
3086
|
+
/**
|
|
3087
|
+
* AI-SDLC: Schemas and PDaC Health Check
|
|
3088
|
+
*/
|
|
3089
|
+
|
|
3090
|
+
declare class SchemasPdacHealthCheck {
|
|
3091
|
+
inspect(options: DoctorOptions): Promise<CategoryReport>;
|
|
3092
|
+
}
|
|
3093
|
+
|
|
3094
|
+
/**
|
|
3095
|
+
* AI-SDLC: Toolchain Health Check
|
|
3096
|
+
*/
|
|
3097
|
+
|
|
3098
|
+
declare class ToolchainHealthCheck {
|
|
3099
|
+
private runner;
|
|
3100
|
+
constructor(runner?: IProcessRunner);
|
|
3101
|
+
inspect(options: DoctorOptions): Promise<CategoryReport>;
|
|
3102
|
+
}
|
|
3103
|
+
|
|
3104
|
+
/**
|
|
3105
|
+
* AI-SDLC: Signature Readiness Check (SEC-REQ-052-NO-SECRET-LEAK-DIAGNOSTICS-001 & SEC-REQ-052-RESILIENT-DIAGNOSTIC-TIMEOUTS-001)
|
|
3106
|
+
*/
|
|
3107
|
+
|
|
3108
|
+
declare class SignatureReadinessCheck {
|
|
3109
|
+
private runner;
|
|
3110
|
+
constructor(runner?: IProcessRunner);
|
|
3111
|
+
inspect(options: DoctorOptions): Promise<CategoryReport>;
|
|
3112
|
+
}
|
|
3113
|
+
|
|
3114
|
+
/**
|
|
3115
|
+
* AI-SDLC: Doctor Reporters (Terminal and JSON Formatter)
|
|
3116
|
+
*/
|
|
3117
|
+
|
|
3118
|
+
declare class DoctorReporter implements IDiagnosticsReporter {
|
|
3119
|
+
formatTerminal(report: DoctorReport): string;
|
|
3120
|
+
formatJson(report: DoctorReport): string;
|
|
3121
|
+
}
|
|
3122
|
+
|
|
3123
|
+
/**
|
|
3124
|
+
* AI-SDLC: Doctor Service and Orchestrator (CMP-052-DOCTOR-ENGINE)
|
|
3125
|
+
*/
|
|
3126
|
+
|
|
3127
|
+
declare class DoctorOrchestrator {
|
|
3128
|
+
private hooksCheck;
|
|
3129
|
+
private branchCheck;
|
|
3130
|
+
private schemasCheck;
|
|
3131
|
+
private toolchainCheck;
|
|
3132
|
+
private signatureCheck;
|
|
3133
|
+
runAll(options: DoctorOptions): Promise<CategoryReport[]>;
|
|
3134
|
+
}
|
|
3135
|
+
declare class DoctorService implements IDoctorService {
|
|
3136
|
+
private orchestrator;
|
|
3137
|
+
diagnose(options: DoctorOptions): Promise<DoctorReport>;
|
|
3138
|
+
protected runCategoryChecks(options: DoctorOptions): Promise<CategoryReport[]>;
|
|
3139
|
+
private collectRemediations;
|
|
3140
|
+
}
|
|
3141
|
+
|
|
3142
|
+
/**
|
|
3143
|
+
* FileSystemJailAdapter: Confinement & Path Traversal Defense
|
|
3144
|
+
* Cites: SEC-REQ-053-PATH-TRAVERSAL-DEFENSE-001, CMP-053-MIGRATE-ENGINE
|
|
3145
|
+
*/
|
|
3146
|
+
|
|
3147
|
+
declare class FileSystemJailAdapter implements IFileSystemJail {
|
|
3148
|
+
resolveSafe(repoRoot: string, targetPath: string): string;
|
|
3149
|
+
readFileSafe(repoRoot: string, relativePath: string): Promise<string>;
|
|
3150
|
+
writeFileSafe(repoRoot: string, relativePath: string, content: string): Promise<void>;
|
|
3151
|
+
existsSafe(repoRoot: string, relativePath: string): Promise<boolean>;
|
|
3152
|
+
ensureDirectorySafe(repoRoot: string, relativeDir: string): Promise<void>;
|
|
3153
|
+
isSymlinkSafe(repoRoot: string, relativePath: string): Promise<boolean>;
|
|
3154
|
+
private verifySymlinkSafe;
|
|
3155
|
+
}
|
|
3156
|
+
|
|
3157
|
+
/**
|
|
3158
|
+
* DiffDetector: Deterministic Byte-by-Byte SHA-256 with Unix LF Normalization
|
|
3159
|
+
* Cites: CMP-053-MIGRATE-ENGINE, FR-053-CLI-MIGRATE-001
|
|
3160
|
+
*/
|
|
3161
|
+
declare class DiffDetector {
|
|
3162
|
+
/**
|
|
3163
|
+
* Normalizes content by converting Windows CRLF (\r\n) to Unix LF (\n)
|
|
3164
|
+
* and computes a lowercase hex SHA-256 digest.
|
|
3165
|
+
*/
|
|
3166
|
+
computeDigest(content: string): string;
|
|
3167
|
+
/**
|
|
3168
|
+
* Compares two content strings for deterministic equality under LF normalization.
|
|
3169
|
+
*/
|
|
3170
|
+
isEqual(contentA: string, contentB: string): boolean;
|
|
3171
|
+
}
|
|
3172
|
+
|
|
3173
|
+
/**
|
|
3174
|
+
* OverrideAnalyzer: Artifact State Classification
|
|
3175
|
+
* Cites: CMP-053-MIGRATE-ENGINE, FR-053-CLI-MIGRATE-001
|
|
3176
|
+
*/
|
|
3177
|
+
|
|
3178
|
+
interface ClassifyInput {
|
|
3179
|
+
currentContent: string;
|
|
3180
|
+
targetContent: string;
|
|
3181
|
+
baseContent: string;
|
|
3182
|
+
}
|
|
3183
|
+
declare class OverrideAnalyzer {
|
|
3184
|
+
private diffDetector;
|
|
3185
|
+
classify(input: ClassifyInput): MigrationFileStatus;
|
|
3186
|
+
private isCorruptDiscrepancy;
|
|
3187
|
+
}
|
|
3188
|
+
|
|
3189
|
+
/**
|
|
3190
|
+
* PolicyRatchetEnforcer: Preservation of Stricter Local Quality and Security Thresholds
|
|
3191
|
+
* Cites: SEC-REQ-053-POLICY-RATCHET-PRESERVATION-001, CMP-053-MIGRATE-ENGINE
|
|
3192
|
+
*/
|
|
3193
|
+
interface RatchetOptions {
|
|
3194
|
+
allowPolicyDowngrade?: boolean;
|
|
3195
|
+
}
|
|
3196
|
+
interface CoveragePolicy {
|
|
3197
|
+
min?: number;
|
|
3198
|
+
}
|
|
3199
|
+
interface ComplexityPolicy {
|
|
3200
|
+
maxCyclomatic?: number;
|
|
3201
|
+
}
|
|
3202
|
+
interface QualitySection {
|
|
3203
|
+
coverage?: CoveragePolicy;
|
|
3204
|
+
complexity?: ComplexityPolicy;
|
|
3205
|
+
}
|
|
3206
|
+
interface LicenseSection {
|
|
3207
|
+
blocked?: string[];
|
|
3208
|
+
}
|
|
3209
|
+
interface DlpRule {
|
|
3210
|
+
id: string;
|
|
3211
|
+
pattern: string;
|
|
3212
|
+
}
|
|
3213
|
+
interface PolicyPayload {
|
|
3214
|
+
quality?: QualitySection;
|
|
3215
|
+
licenses?: LicenseSection;
|
|
3216
|
+
rules?: DlpRule[];
|
|
3217
|
+
[key: string]: unknown;
|
|
3218
|
+
}
|
|
3219
|
+
declare class PolicyRatchetEnforcer {
|
|
3220
|
+
enforceRatchet(localPolicy: PolicyPayload, upstreamPolicy: PolicyPayload, options?: RatchetOptions): PolicyPayload;
|
|
3221
|
+
private validatePolicyStructure;
|
|
3222
|
+
}
|
|
3223
|
+
|
|
3224
|
+
/**
|
|
3225
|
+
* TimestampedBackupManagerAdapter: Cryptographically Verified Backup
|
|
3226
|
+
* Cites: SEC-REQ-053-NON-DESTRUCTIVE-BACKUP-001, CMP-053-MIGRATE-ENGINE
|
|
3227
|
+
*/
|
|
3228
|
+
|
|
3229
|
+
declare class TimestampedBackupManagerAdapter implements IBackupManager {
|
|
3230
|
+
private diffDetector;
|
|
3231
|
+
createBackup(repoRoot: string, filesToBackup: string[]): Promise<string>;
|
|
3232
|
+
restoreBackup(repoRoot: string, backupPath: string): Promise<void>;
|
|
3233
|
+
private ensureGitignoreRule;
|
|
3234
|
+
}
|
|
3235
|
+
|
|
3236
|
+
/**
|
|
3237
|
+
* TransactionManager: Atomic Staging, Schema Pre-commit Verification, and Rollback
|
|
3238
|
+
* Cites: SEC-REQ-053-ATOMIC-ROLLBACK-001, CMP-053-MIGRATE-ENGINE
|
|
3239
|
+
*/
|
|
3240
|
+
|
|
3241
|
+
declare class TransactionManager implements ITransactionManager {
|
|
3242
|
+
private activeStagingDir;
|
|
3243
|
+
private stagedFiles;
|
|
3244
|
+
private boundSignalHandlers;
|
|
3245
|
+
begin(repoRoot: string): Promise<string>;
|
|
3246
|
+
stageFile(_repoRoot: string, relativePath: string, content: string): Promise<void>;
|
|
3247
|
+
commit(repoRoot: string): Promise<void>;
|
|
3248
|
+
rollback(_repoRoot: string): Promise<void>;
|
|
3249
|
+
rollbackSync(repoRoot: string, backupPath?: string): void;
|
|
3250
|
+
private validateStagedFile;
|
|
3251
|
+
private cleanupStaging;
|
|
3252
|
+
private registerSignalHandlers;
|
|
3253
|
+
private unregisterSignalHandlers;
|
|
3254
|
+
}
|
|
3255
|
+
|
|
3256
|
+
/**
|
|
3257
|
+
* MigrationReporter: Terminal and JSON Formatting for Migration Reports
|
|
3258
|
+
* Cites: CMP-053-MIGRATE-ENGINE, FR-053-CLI-MIGRATE-001
|
|
3259
|
+
*/
|
|
3260
|
+
|
|
3261
|
+
declare class MigrationReporter implements IMigrationReporter {
|
|
3262
|
+
formatTerminal(result: MigrationResult): string;
|
|
3263
|
+
formatJson(result: MigrationResult): string;
|
|
3264
|
+
}
|
|
3265
|
+
|
|
3266
|
+
/**
|
|
3267
|
+
* MigrationOrchestrator and MigrationService: Core Execution and Coordination
|
|
3268
|
+
* Cites: CMP-053-MIGRATE-ENGINE, FR-053-CLI-MIGRATE-001, AGENTS.md
|
|
3269
|
+
*/
|
|
3270
|
+
|
|
3271
|
+
declare class MigrationOrchestrator {
|
|
3272
|
+
fsJail: FileSystemJailAdapter;
|
|
3273
|
+
diffDetector: DiffDetector;
|
|
3274
|
+
analyzer: OverrideAnalyzer;
|
|
3275
|
+
ratchetEnforcer: PolicyRatchetEnforcer;
|
|
3276
|
+
backupManager: TimestampedBackupManagerAdapter;
|
|
3277
|
+
transactionManager: TransactionManager;
|
|
3278
|
+
}
|
|
3279
|
+
declare class MigrationService implements IMigrationService {
|
|
3280
|
+
private orchestrator;
|
|
3281
|
+
constructor(orchestrator?: MigrationOrchestrator);
|
|
3282
|
+
preview(options: MigrationOptions): Promise<MigrationResult>;
|
|
3283
|
+
migrate(options: MigrationOptions): Promise<MigrationResult>;
|
|
3284
|
+
private isInsideGitRepository;
|
|
3285
|
+
private queryGitBranch;
|
|
3286
|
+
private detectBranch;
|
|
3287
|
+
private isProtectedBranch;
|
|
3288
|
+
private verifyBranchSafety;
|
|
3289
|
+
private runMutationTransaction;
|
|
3290
|
+
private executeMigration;
|
|
3291
|
+
private discoverGovernedFiles;
|
|
3292
|
+
}
|
|
3293
|
+
|
|
3294
|
+
export { ALL_ARCHITECTURE_TEMPLATES, ALL_QUALITY_GATES, type ActiveTaskMatch, type AgentTarget, type AnalysisResult, type ArchTemplateDef, type ArchitectureGranularity, type ArtifactFrontmatter, type ArtifactSchemaOptions, type ArtifactSchemaResult, type ArtifactSchemaViolation, type ArtifactValidationResult, type AuthorIdentity, type AuthorKpiSummary, type AutonomyMode, BRANCH_PATTERNS, type BackupManifest, type BackupManifestEntry, type BddFeatureExecutionReport, type BddScenarioExecution, type BddStepExecution, BddStepRegistry, type BddVariantCoverage, type BranchClassificationResult, type BranchHierarchyPlan, BranchSafetyCheck, type BranchValidationError, type BranchValidationSuccess, type BugRecordSummary, CPP_CLANG_TIDY, CPP_CMAKE_STRICT, type CategoryReport, type CategoryResult, type ChangeDetectionOptions, type ChangeDetectionResult, type ChangeProfile, type CheckStatus, type CiProvider, type ClassifyInput, type CodeCoverageSummary, type CodingRuleStack, type CommitKpiRecord, type CommitTrailers, type ComplianceBundleOptions, type ComplianceBundlePayload, type ComplianceBundleResult, type ContractTraceAudit, type CycloneDxBom, type CycloneDxComponent, type CycloneDxLicense, type CycloneDxVulnerability, type CytoscapeEdgeData, type CytoscapeElement, type CytoscapeNodeData, DEFAULT_DLP_RULES, DEFAULT_EXCLUDED_PATTERNS, DEFAULT_EXCLUDES, DEFAULT_EXCLUDE_DIRS, DEFAULT_EXTENSIONS, DEFAULT_PRIVACY_POLICY, DEFAULT_SAST_EXCLUDES, DOTNET_DIRECTORY_BUILD_PROPS, type DashboardHistoricalKpi, type DashboardOptions, type DashboardResult, type DataAssetSummary, type DesignContractDeclaration, type DiagnosticCategory, type DiagnosticFinding, DiffDetector, type DiffLineItem, type DlpPolicy, type DlpRule$1 as DlpRule, type DlpSanitizeResult, DlpSanitizer, type DoctorOptions, DoctorOrchestrator, type DoctorReport, DoctorReporter, DoctorService, type DoctorStatus, type DuplicateIssue, type DuplicateIssueType, type DuplicateSeverity, type DuplicateVerifierOptions, type DuplicateVerifierResult, type ExtractedFeature, type FileClassification, FileSystemJailAdapter, type FunctionMetrics, GENERAL_SOURCE_EXTENSIONS, GHERKIN_GENERATOR_SPECS, GO_GOLANGCI_YML, GRADLE_STRICT_INIT_KTS, type GateEvidenceReport, type GateFinding, type GenerateSarifOptions, type GherkinExtractionOptions, type GherkinExtractionResult, type GherkinGeneratorSpec, type GherkinScaffoldExecFn, type GherkinScaffoldExecResult, type GherkinScaffoldLanguage, type GherkinScaffoldOptions, type GherkinScaffoldResult, type GherkinScaffoldStatus, type GherkinSyncCheckResult, type GitCheckoutTaskOptions, type GitCheckoutTaskResult, GitHooksHealthCheck, type GovernanceOptions, type GovernanceResult, type GraphElementsResult, type GraphNodeLayer, type GraphNodeStatus, type GraphNodeType, type HookInstallResult, type IBackupManager, type IDiagnosticsReporter, type IDoctorService, type IFileSystemJail, type IFileSystemProbe, type IMigrationReporter, type IMigrationService, type IProcessRunner, type ITransactionManager, InTotoAttestationBuilder, type InTotoStatementV1, type InTotoSubject, type InitProjectOptions, type InitProjectResult, type InspectOptions, type InspectRelation, type InspectResult, JAVA_PMD_RULESET_XML, type JsonSchemaRule, KOTLIN_DETEKT_YML, KPI_SUMMARY_END_TAG, KPI_SUMMARY_START_TAG, LIFECYCLE_SKILL_TEMPLATES, type LanguageAstReport, type LicensePolicy, type LicenseVerificationOptions, type LicenseVerificationResult, type LicenseViolation, type LifecycleSkillTemplate, type ManualDocumentItem, type ManualsCoverageSummary, type ManualsVerificationOptions, type ManualsVerificationResult, type MigrationFileStatus, type MigrationItemReport, type MigrationOptions, MigrationOrchestrator, type MigrationPlanItem, type MigrationReport, MigrationReporter, type MigrationResult, MigrationService, type MigrationStatus, type MigrationSummary, type ModelDefectStats, type NativeAstOptions, NativeFileSystemProbeAdapter, OpenSpecAdapter, OscalAssessmentBuilder, type OscalAssessmentResultsDocument, type OscalBuilderOptions, type OscalFinding, type OscalResult, OverrideAnalyzer, PII_SAST_RULES, PREPARE_COMMIT_MSG_SCRIPT, PRE_COMMIT_SCRIPT, PROMPT_INJECTION_SIGNATURES, PROTECTED_BYPASS_PATTERNS, PROTECTED_CODING_RULES_FILES, type PackageJsonInfo, type ParsedFeatureDocument, type ParsedScenarioBlock, type ParsedStepItem, type PdacDrift, type PdacGraphOptions, type PdacGraphResult, type PdacInvalidAnchor, type PdacNode, type PdacSyncDetail, type PdacSyncOptions, type PdacSyncResult, type PdacUnresolvedCitation, type PiiSastRule, PolicyRatchetEnforcer, type PrKpiAggregation, type PreflightCheckOptions, type PreflightCheckResult, type PreflightGateSummary, type PrivacyClassificationRule, type PrivacyFindingType, type PrivacyPolicy, type PrivacyRopaSummary, type PrivacyVerifierOptions, type PrivacyVerifierResult, type PrivacyViolation, type ProcessExecOptions, type ProcessExecResult, type ProductHandoff, type ProductHandoffSubgraph, type ProgressiveFrictionOptions, type ProgressiveFrictionResult, type PromptInjectionFinding, type QualityBaseline, type QualityBaselineEntry, type QualityGateId, type QualityGateOptions, type QualityGateResult, type QualityPolicy, type QualityReportOptions, type QualityReportResult, type QualityThresholds, REVIEWER_ROLES, REVIEW_VERDICTS, RUST_CARGO_CONFIG_TOML, RUST_CLIPPY_TOML, type RatchetOptions, RegulatoryControlMapper, type RegulatoryGateMapping, type RegulatoryMatrixSection, type ReleaseKpiReport, type RequirementAuditItem, type ResolvedCiEnv, type ReviewReportResult, type ReviewVerdict, type ReviewerRole, SARIF_SCHEMA_2_1_0, SARIF_VERSION, SAST_RULES, SCHEMA_SCHEMAS_ARCHITECTURE_ADR_SCHEMA_JSON, SCHEMA_SCHEMAS_ARCHITECTURE_COMPONENT_SCHEMA_JSON, SCHEMA_SCHEMAS_ARCHITECTURE_INTRODUCTION_AND_GOALS_SCHEMA_JSON, SCHEMA_SCHEMAS_COMPLIANCE_LICENSE_MANIFEST_SCHEMA_JSON, SCHEMA_SCHEMAS_COMPLIANCE_LICENSE_POLICY_SCHEMA_JSON, SCHEMA_SCHEMAS_COMPLIANCE_QUALITY_POLICY_SCHEMA_JSON, SCHEMA_SCHEMAS_IDE_MCP_CONFIG_SCHEMA_JSON, SCHEMA_SCHEMAS_MANUALS_PRODUCTION_MANUAL_SCHEMA_JSON, SCHEMA_SCHEMAS_MANUALS_USER_MANUAL_SCHEMA_JSON, SCHEMA_SCHEMAS_PRIVACY_DATA_ASSET_SCHEMA_JSON, SCHEMA_SCHEMAS_PRIVACY_PRIVACY_POLICY_SCHEMA_JSON, SCHEMA_SCHEMAS_PRIVACY_PRIVACY_REQ_SCHEMA_JSON, SCHEMA_SCHEMAS_PRIVACY_PRIVACY_ROPA_SCHEMA_JSON, SCHEMA_SCHEMAS_PRODUCT_ACTOR_SCHEMA_JSON, SCHEMA_SCHEMAS_PRODUCT_BOUNDED_CONTEXT_SCHEMA_JSON, SCHEMA_SCHEMAS_PRODUCT_BUSINESS_RULE_SCHEMA_JSON, SCHEMA_SCHEMAS_PRODUCT_JOURNEY_SCHEMA_JSON, SCHEMA_SCHEMAS_PRODUCT_REQUIREMENT_SCHEMA_JSON, SCHEMA_SCHEMAS_PRODUCT_TERM_SCHEMA_JSON, SCHEMA_SCHEMAS_PRODUCT_USE_CASE_SCHEMA_JSON, SCHEMA_SCHEMAS_SAFETY_HAZARD_SCHEMA_JSON, SCHEMA_SCHEMAS_SAFETY_SAFETY_REQ_SCHEMA_JSON, SCHEMA_SCHEMAS_SDD_DESIGN_SCHEMA_JSON, SCHEMA_SCHEMAS_SDD_HANDOFF_SCHEMA_JSON, SCHEMA_SCHEMAS_SDD_PROPOSAL_SCHEMA_JSON, SCHEMA_SCHEMAS_SDD_RELEASE_KPIS_SCHEMA_JSON, SCHEMA_SCHEMAS_SDD_SESSION_TELEMETRY_SCHEMA_JSON, SCHEMA_SCHEMAS_SDD_SPEC_SCHEMA_JSON, SCHEMA_SCHEMAS_SDD_TASKS_SCHEMA_JSON, SCHEMA_SCHEMAS_SECURITY_ABUSE_CASE_SCHEMA_JSON, SCHEMA_SCHEMAS_SECURITY_ENCLAVE_SCHEMA_JSON, SCHEMA_SCHEMAS_SECURITY_SECURITY_REQ_SCHEMA_JSON, SCHEMA_SCHEMAS_SECURITY_THREAT_ACTOR_SCHEMA_JSON, SCHEMA_SCHEMAS_WORKFLOW_AGENT_HANDOFF_SCHEMA_JSON, SECRET_RULES, SPECIALIZED_AGENT_TEMPLATES, STARTER_AGENT_GUARD_WRAPPER_CJS, STARTER_ANTIGRAVITY_HOOKS_JSON, STARTER_ANTIGRAVITY_MCP, STARTER_ANTIGRAVITY_RULES, STARTER_ARCH_ADR, STARTER_ARCH_ARCHITECTURE_CONSTRAINTS, STARTER_ARCH_COMPONENT, STARTER_ARCH_CONTEXT_AND_SCOPE, STARTER_ARCH_CROSS_CUTTING_CONCEPTS, STARTER_ARCH_DEPLOYMENT_VIEW, STARTER_ARCH_GLOSSARY, STARTER_ARCH_INTRODUCTION_AND_GOALS, STARTER_ARCH_LEVEL_1_WHITEBOX, STARTER_ARCH_QUALITY_REQUIREMENTS, STARTER_ARCH_RISKS_AND_TECHNICAL_DEBT, STARTER_ARCH_RUNTIME_VIEW, STARTER_ARCH_SOLUTION_STRATEGY, STARTER_AZURE_PIPELINES, STARTER_BASE_TEMPLATES, STARTER_BITBUCKET_PIPELINES, STARTER_CLAUDE_RULES, STARTER_COMPLIANCE_LICENSE_MANIFEST_YAML, STARTER_COPILOT_RULES, STARTER_CURSOR_CORE_RULES, STARTER_CURSOR_MCP, STARTER_CURSOR_PRODUCT_RULES, STARTER_CURSOR_QUALITY_RULES, STARTER_GITHUB_CI, STARTER_GITHUB_DEPLOY_DASHBOARD, STARTER_GITHUB_PR_KPI, STARTER_GITHUB_PULL_REQUEST_TEMPLATE, STARTER_GITHUB_SDD_INTEGRATE, STARTER_GITLAB_CI, STARTER_GUARD_BRANCH_CJS, STARTER_LICENSE_POLICY, STARTER_PRIVACY_POLICY, STARTER_PROCESS_README, STARTER_PULL_REQUEST_TEMPLATE, STARTER_QUALITY_POLICY, STARTER_REQUIREMENT_TEMPLATE, STARTER_SCHEMAS, STARTER_SCHEMAS_MAP, STARTER_TASK_TEMPLATE, STARTER_TEMPLATES_CI_AZURE_PIPELINES_YML, STARTER_TEMPLATES_CI_BITBUCKET_PIPELINES_YML, STARTER_TEMPLATES_CI_GITHUB_WORKFLOWS_CI_YML, STARTER_TEMPLATES_CI_GITHUB_WORKFLOWS_DEPLOY_DASHBOARD_YML, STARTER_TEMPLATES_CI_GITHUB_WORKFLOWS_PR_KPI_SUMMARY_YML, STARTER_TEMPLATES_CI_GITHUB_WORKFLOWS_SDD_INTEGRATE_ON_MERGE_YML, STARTER_TEMPLATES_CI__GITLAB_CI_YML, STARTER_TEMPLATES_COMPLIANCE_COMMERCIAL_ACQUISITION_REQUEST_TEMPLATE_MD, STARTER_TEMPLATES_MANUALS_PRODUCTION_MANUAL_TEMPLATE_MD, STARTER_TEMPLATES_MANUALS_USER_MANUAL_TEMPLATE_MD, STARTER_TEMPLATES_PRIVACY_DATA_ASSET_TEMPLATE_MD, STARTER_TEMPLATES_PRIVACY_DPIA_REQUEST_TEMPLATE_MD, STARTER_TEMPLATES_PRIVACY_PRIVACY_REQ_TEMPLATE_MD, STARTER_TEMPLATES_PRIVACY_PRIVACY_ROPA_TEMPLATE_MD, STARTER_TEMPLATES_PRODUCT_ACTOR_TEMPLATE_MD, STARTER_TEMPLATES_PRODUCT_BOUNDED_CONTEXT_TEMPLATE_MD, STARTER_TEMPLATES_PRODUCT_BUSINESS_RULE_TEMPLATE_MD, STARTER_TEMPLATES_PRODUCT_JOURNEY_TEMPLATE_MD, STARTER_TEMPLATES_PRODUCT_REQUIREMENT_TEMPLATE_MD, STARTER_TEMPLATES_PRODUCT_TERM_TEMPLATE_MD, STARTER_TEMPLATES_PRODUCT_USER_DESIGN_FEEDBACK_TEMPLATE_MD, STARTER_TEMPLATES_PRODUCT_USE_CASE_TEMPLATE_MD, STARTER_TEMPLATES_SAFETY_HAZARD_TEMPLATE_MD, STARTER_TEMPLATES_SAFETY_SAFETY_REQ_TEMPLATE_MD, STARTER_TEMPLATES_SDD_DESIGN_TEMPLATE_MD, STARTER_TEMPLATES_SDD_HANDOFF_TEMPLATE_YAML, STARTER_TEMPLATES_SDD_PROPOSAL_TEMPLATE_MD, STARTER_TEMPLATES_SDD_PULL_REQUEST_TEMPLATE_MD, STARTER_TEMPLATES_SDD_SPEC_TEMPLATE_MD, STARTER_TEMPLATES_SDD_TASKS_TEMPLATE_MD, STARTER_TEMPLATES_SECURITY_ABUSE_CASE_TEMPLATE_MD, STARTER_TEMPLATES_SECURITY_ENCLAVE_TEMPLATE_MD, STARTER_TEMPLATES_SECURITY_SECURITY_REQ_TEMPLATE_MD, STARTER_TEMPLATES_SECURITY_THREAT_ACTOR_TEMPLATE_MD, STARTER_TEMPLATES_WORKFLOW_AGENT_HANDOFF_TEMPLATE_MD, STARTER_VSCODE_MCP, STARTER_WORKFLOW_HANDOFF_TEMPLATE, STARTER__GITHUB_PULL_REQUEST_TEMPLATE_MD, SafeProcessRunnerAdapter, type SarifArtifactLocation, type SarifDocument, type SarifLevel, type SarifLocation, type SarifMultiformatMessageString, type SarifPhysicalLocation, type SarifRegion, type SarifReportingDescriptor, type SarifResult, type SarifRuleConfiguration, type SarifRun, type SarifToolDriver, type SastFindingType, type SastRule, type SastSeverity, type SastVerifierOptions, type SastVerifierResult, type SastViolation, type SbomGenerateOptions, type ScaTool, type ScaVulnerability, type ScanOptions, type ScannedDependency, type ScannedRequirement, SchemasPdacHealthCheck, type SddAdapter, type SddChangeScaffoldOptions, type SddChangeScaffoldResult, type SddDepositOptions, type SddFramework, type SddIntegrateAllOptions, type SddIntegrateAllResult, type SddIntegrationAudit, type SddIntegrationOptions, type SddIntegrationResult, type SddValidationResult, type SddWorkspaceInfo, type SecretFindingType, type SecretRule, type SecretVerifierOptions, type SecretVerifierResult, type SecretViolation, type SecuritySuppression, SignatureReadinessCheck, type SpecCatalogScope, SpecKitAdapter, type SpecializedAgentTemplate, type StarterSchemaEntry, type StarterTemplateEntry, type StepDataTable, type StepDefinitionEntry, type StepHandler, type SubmitReviewReportOptions, type SupportedCiProvider, TS_ESLINT_CONFIG_MJS, TS_STRICT_TSCONFIG, TYPE_TO_SCHEMA_MAP, type TaskAuditItem, type TaskItem, type TaskKpiSummary, type TaskLocateResult, type TaskSummary, type TaskVerification, type TestingCoverageOptions, type TestingCoverageResult, TimestampedBackupManagerAdapter, ToolchainHealthCheck, type TraceabilityOptions, type TraceabilityResult, type TraceabilityRow, TransactionManager, UNIT_TEST_SUFFIXES, type UntestedFunctionItem, type UseCaseFlowAuditItem, VALID_AGENT_TARGETS, VALID_ARCHITECTURE_GRANULARITIES, VALID_AUTONOMY_MODES, VALID_CHANGE_PROFILES, VALID_CI_PROVIDERS, VALID_CODING_RULE_STACKS, type VexAnalysisJustification, type VexAnalysisState, type VexStatement, type VulnerabilityThresholds, accumulateTaskSummaries, aggregateCommitKpiRecords, aggregatePrKpis, aggregateReleaseKpis, analyzeBddVariantsForRequirement, appendRevisionHistoryRow, applyRatchetMode, buildCycloneDxComponent, buildCycloneDxVulnerabilities, buildFeatureFileContent, buildGraphElements, buildSafeEnvironment, calculateJaccardSimilarity, calculateMetrics, calculateRating, calculateShannonEntropy, canonicalSort, canonicalizeJson, checkGherkinInSync, checkoutTaskBranch, classifyBranch, classifyMetricFromMessage, collectAgentFiles, collectDashboardMetrics, collectHistoricalKpis, computeCanonicalSha256, computeRawSha256, computeSha256, computeViolationSignature, createDefaultDlpPolicy, createDefaultQualityPolicy, depositProductHandoffSidecar, detectActiveChangeForIntegration, detectAuthorIdentity, detectLanguage, detectProfileFromChange, detectProjectStacks, detectPromptInjection, emitCiOutput, evaluateCompoundLicense, evaluateSingleDependency, evaluateVulnerabilityThresholds, executeBddFeature, extractAllRepoCommitKpis, extractBaselineEntriesFromResults, extractCitations, extractCommitKpisFromRange, extractDirectDepNames, extractFeatureTags, extractFrontmatter, extractFunctions, extractFunctionsBraceLanguages, extractFunctionsPolyglot, extractFunctionsPython, extractFunctionsPythonAst, extractFunctionsTypeScriptAst, extractGherkinBlock, extractGherkinFeatures, extractNormativeText, extractPythonFunctionsPolyglot, extractSemanticContent, findChangeWorkspaceDir, findLicenseFile, formatCommitTrailers, formatInspectResultMarkdown, formatPrKpiMarkdown, formatReleaseKpiMarkdown, formatTaskKpiRows, generateBranchHierarchyPlan, generateComplianceEvidenceBundle, generateComplianceEvidenceBundleSync, generateCycloneDxSbom, generateDashboardReport, generateDeterministicUuidV5, generateDuplicatesReportMarkdown, generateGovernanceReportMarkdown, generateLicenseReportMarkdown, generatePdacReportMarkdown, generatePrivacyReportMarkdown, generateQualityReport, generateRopaInventoryMarkdown, generateSastReportMarkdown, generateSecretsReportMarkdown, generateSecuritySarifReport, generateSuppressionsAuditReport, generateTestingCoverageReportMarkdown, generateThirdPartyNotices, generateTraceabilityReportMarkdown, getArchitectureTemplates, getCodingRulesFilesForStacks, getCytoscapeScript, getGitDiffLines, getNextCorrelativeNumber, getReferenceCodingRulesTemplates, getSddAdapter, inferArtifactTypeFromId, inferMissingTrailers, initProject, injectKpisIntoPrBody, inspectElement, installGitHooks, integrateAllSddChanges, integrateSddChange, isCliInstalled, isFunctionReferencedInTests, isGitleaksInstalled, isMetricWorsened, isPathProtectedFromPatch, isPlaceholderOrIgnored, isProtectedCodingRulesFile, isReportContentSemanticallyEqual, isRequirementArtifact, isReviewerRole, isSemgrepInstalled, isToolAvailable, loadDlpPolicy, loadPrivacyPolicy, loadProductHandoffSidecar, loadQualityBaseline, locateTaskInActiveChanges, mapSastSeverityToSarifLevel, maskSecret, normalizePath, normalizeScaffoldLanguages, normalizeSpdxLicense, normalizeUri, orchestrateNativeAstAnalysis, parseCommitTrailers, parseDlpPolicy, parseFeatureDocument, parseFrontmatter, parseFrontmatterId, parseGenericDoc, parseLicensePolicy, parseMarkdownFrontmatter, parseQualityPolicy, parseRequirementFile, parseSecuritySuppression, parseSpecCatalogScope, parseTasksDoc, parseTasksFromContent, parseTrivyVulnerabilities, processPackageDir, readCodeCoverageSummary, readPackageJson, renderAntigravityAgentFile, renderAntigravitySkillFile, renderAutonomyModeSection, renderClaudeAgentFile, renderClaudeSkillFile, renderCopilotAgentFile, renderCopilotSkillFile, renderCursorAgentFile, renderCursorSkillFile, renderDashboardHtml, renderManualsTab, resolveAgentTargets, resolveBranchHierarchy, resolveCiEnvironment, resolveCodingRuleStacks, resolveCytoscapePath, resolveDefaultBranchBase, resolveDeterministicDate, resolveFeatureFilePath, resolveGitRef, resolveLicenseFromFile, resolveReleaseBaseBranch, resolveSastCwe, resolveSastOwasp, resolveSchemaForArtifact, resolveTargetFiles, runGitleaksCli, runSemgrepCli, sanitizeDlpPayload, sanitizeDlpText, sanitizeTestCorpus, scaffoldGherkinSteps, scaffoldSddChange, scanAllProductHandoffs, scanAllTestArtifacts, scanContentForSecrets, scanFileForPrivacyViolations, scanFileForSast, scanGoDependencies, scanInstalledLicenses, scanManualsInWorkspace, scanMavenDependencies, scanPnpmStore, scanPythonDependencies, scanRustDependencies, scanSubdirectories, scanWithNativeFs, scanWithSyft, scanWithTrivy, serializeSarifDocument, slugify, stripVolatileReportMetadata, submitReviewReport, syncPdacDigests, tokenizeTitle, updateCitationsInContent, validateAgainstSchema, validateAnchorExistence, validateArtifactSchema, verifyArtifactDuplicates, verifyArtifactsSchemas, verifyLicenses, verifyManuals, verifyPdacGraph, verifyPrivacy, verifyProgressiveFriction, verifyQualityGate, verifySast, verifySddIntegration, verifySecrets, verifyTasksGovernance, verifyTestingCoverage, verifyTraceability, walkDir, walkMdFiles, walkProjectFiles, walkSourceFiles, walkTaskFiles, writeCucumberJsonReport, writeCycloneDxSbom, writeQualityBaseline, writeReleaseKpiReport, writeReportFileIfChanged, writeSecuritySarifReport, writeThirdPartyNotices };
|