arkgate 3.2.0 → 3.3.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/CHANGELOG.md +37 -0
- package/README.md +3 -3
- package/bin/lib/analysis-engine.mjs +6 -5
- package/dist/configTypes-CVWWhBoe.d.cts +54 -0
- package/dist/configTypes-CVWWhBoe.d.ts +54 -0
- package/dist/eslint/index.cjs +3 -3
- package/dist/eslint/index.d.cts +1 -1
- package/dist/eslint/index.d.ts +1 -1
- package/dist/eslint/index.js +3 -3
- package/dist/index.cjs +7 -6
- package/dist/index.d.cts +314 -82
- package/dist/index.d.ts +314 -82
- package/dist/index.js +6 -5
- package/docs/agent-guide.md +8 -0
- package/docs/package-surface.md +2 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/dist/configContract-BxSIwVRo.d.cts +0 -259
- package/dist/configContract-BxSIwVRo.d.ts +0 -259
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,223 @@
|
|
|
1
|
-
import { a as ArkConfigRule, b as
|
|
2
|
-
|
|
1
|
+
import { a as ArkConfigRule, b as ArkConfigSchemaVersion, c as ArkConfigLoadResult, d as ArkConfigLayer, A as ArkConfig } from './configTypes-CVWWhBoe.cjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Canonical, pure contract for ark.config.json.
|
|
5
|
+
*
|
|
6
|
+
* Tooling adapters own filesystem I/O; this module owns JSON parsing, deterministic
|
|
7
|
+
* migration, defaults, validation, diagnostics, and the published JSON Schema.
|
|
8
|
+
* The standalone CLI artifact is generated into bin/lib/config-contract.mjs.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
declare const ARK_CONFIG_SCHEMA_VERSION: ArkConfigSchemaVersion;
|
|
12
|
+
declare const ARK_CONFIG_SCHEMA: {
|
|
13
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
14
|
+
readonly $id: "https://unpkg.com/arkgate@2/schemas/ark.config.schema.json";
|
|
15
|
+
readonly title: "ArkGate architecture contract";
|
|
16
|
+
readonly description: "Versioned contract consumed identically by ArkGate CLI, MCP, and ESLint surfaces.";
|
|
17
|
+
readonly type: "object";
|
|
18
|
+
readonly additionalProperties: false;
|
|
19
|
+
readonly required: readonly ["$schema", "schemaVersion", "include", "layers", "rules"];
|
|
20
|
+
readonly properties: {
|
|
21
|
+
readonly $schema: {
|
|
22
|
+
readonly type: "string";
|
|
23
|
+
readonly minLength: 1;
|
|
24
|
+
readonly default: "https://unpkg.com/arkgate@2/schemas/ark.config.schema.json";
|
|
25
|
+
readonly description: "Editor-facing URL or local path for this JSON Schema.";
|
|
26
|
+
};
|
|
27
|
+
readonly schemaVersion: {
|
|
28
|
+
readonly type: "string";
|
|
29
|
+
readonly const: "1.0";
|
|
30
|
+
readonly default: "1.0";
|
|
31
|
+
};
|
|
32
|
+
readonly name: {
|
|
33
|
+
readonly type: "string";
|
|
34
|
+
readonly minLength: 1;
|
|
35
|
+
};
|
|
36
|
+
readonly include: {
|
|
37
|
+
readonly minItems: 1;
|
|
38
|
+
readonly default: readonly ["src"];
|
|
39
|
+
readonly type: "array";
|
|
40
|
+
readonly items: {
|
|
41
|
+
readonly type: "string";
|
|
42
|
+
readonly minLength: 1;
|
|
43
|
+
};
|
|
44
|
+
readonly uniqueItems: true;
|
|
45
|
+
};
|
|
46
|
+
readonly exclude: {
|
|
47
|
+
readonly default: readonly [];
|
|
48
|
+
readonly type: "array";
|
|
49
|
+
readonly items: {
|
|
50
|
+
readonly type: "string";
|
|
51
|
+
readonly minLength: 1;
|
|
52
|
+
};
|
|
53
|
+
readonly uniqueItems: true;
|
|
54
|
+
};
|
|
55
|
+
readonly excludeGenerated: {
|
|
56
|
+
readonly type: "boolean";
|
|
57
|
+
readonly default: true;
|
|
58
|
+
};
|
|
59
|
+
readonly frameworkOverlay: {
|
|
60
|
+
readonly type: "string";
|
|
61
|
+
readonly minLength: 1;
|
|
62
|
+
};
|
|
63
|
+
readonly layers: {
|
|
64
|
+
readonly type: "array";
|
|
65
|
+
readonly default: readonly [];
|
|
66
|
+
readonly items: {
|
|
67
|
+
readonly $ref: "#/$defs/layer";
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
readonly rules: {
|
|
71
|
+
readonly type: "array";
|
|
72
|
+
readonly default: ArkConfigRule[];
|
|
73
|
+
readonly items: {
|
|
74
|
+
readonly $ref: "#/$defs/rule";
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
readonly cyclePolicy: {
|
|
78
|
+
readonly type: "string";
|
|
79
|
+
readonly enum: readonly ["strict", "soft", "framework-soft", "off"];
|
|
80
|
+
readonly default: "strict";
|
|
81
|
+
};
|
|
82
|
+
readonly dynamicImportAllowlist: {
|
|
83
|
+
readonly default: readonly [];
|
|
84
|
+
readonly type: "array";
|
|
85
|
+
readonly items: {
|
|
86
|
+
readonly type: "string";
|
|
87
|
+
readonly minLength: 1;
|
|
88
|
+
};
|
|
89
|
+
readonly uniqueItems: true;
|
|
90
|
+
};
|
|
91
|
+
readonly safety: {
|
|
92
|
+
readonly $ref: "#/$defs/safety";
|
|
93
|
+
readonly default: {
|
|
94
|
+
readonly maxTsSuppressions: 0;
|
|
95
|
+
readonly maxAnyCasts: 0;
|
|
96
|
+
readonly allowInMemory: false;
|
|
97
|
+
readonly allowDisabledPeerIsolation: false;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
readonly $defs: {
|
|
102
|
+
readonly layer: {
|
|
103
|
+
readonly type: "object";
|
|
104
|
+
readonly additionalProperties: false;
|
|
105
|
+
readonly required: readonly ["name", "patterns"];
|
|
106
|
+
readonly properties: {
|
|
107
|
+
readonly name: {
|
|
108
|
+
readonly type: "string";
|
|
109
|
+
readonly minLength: 1;
|
|
110
|
+
};
|
|
111
|
+
readonly patterns: {
|
|
112
|
+
readonly minItems: 1;
|
|
113
|
+
readonly type: "array";
|
|
114
|
+
readonly items: {
|
|
115
|
+
readonly type: "string";
|
|
116
|
+
readonly minLength: 1;
|
|
117
|
+
};
|
|
118
|
+
readonly uniqueItems: true;
|
|
119
|
+
};
|
|
120
|
+
readonly exclude: {
|
|
121
|
+
readonly type: "array";
|
|
122
|
+
readonly items: {
|
|
123
|
+
readonly type: "string";
|
|
124
|
+
readonly minLength: 1;
|
|
125
|
+
};
|
|
126
|
+
readonly uniqueItems: true;
|
|
127
|
+
};
|
|
128
|
+
readonly intentPrefixes: {
|
|
129
|
+
readonly type: "array";
|
|
130
|
+
readonly items: {
|
|
131
|
+
readonly type: "string";
|
|
132
|
+
readonly minLength: 1;
|
|
133
|
+
};
|
|
134
|
+
readonly uniqueItems: true;
|
|
135
|
+
};
|
|
136
|
+
readonly description: {
|
|
137
|
+
readonly type: "string";
|
|
138
|
+
readonly minLength: 1;
|
|
139
|
+
};
|
|
140
|
+
readonly forbiddenGlobals: {
|
|
141
|
+
readonly type: "array";
|
|
142
|
+
readonly items: {
|
|
143
|
+
readonly type: "string";
|
|
144
|
+
readonly minLength: 1;
|
|
145
|
+
};
|
|
146
|
+
readonly uniqueItems: true;
|
|
147
|
+
};
|
|
148
|
+
readonly mayImportInfrastructure: {
|
|
149
|
+
readonly type: "boolean";
|
|
150
|
+
};
|
|
151
|
+
readonly optional: {
|
|
152
|
+
readonly type: "boolean";
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
readonly rule: {
|
|
157
|
+
readonly type: "object";
|
|
158
|
+
readonly additionalProperties: false;
|
|
159
|
+
readonly required: readonly ["from", "to", "allowed"];
|
|
160
|
+
readonly properties: {
|
|
161
|
+
readonly from: {
|
|
162
|
+
readonly type: "string";
|
|
163
|
+
readonly minLength: 1;
|
|
164
|
+
};
|
|
165
|
+
readonly to: {
|
|
166
|
+
readonly type: "string";
|
|
167
|
+
readonly minLength: 1;
|
|
168
|
+
};
|
|
169
|
+
readonly allowed: {
|
|
170
|
+
readonly type: "boolean";
|
|
171
|
+
};
|
|
172
|
+
readonly message: {
|
|
173
|
+
readonly type: "string";
|
|
174
|
+
readonly minLength: 1;
|
|
175
|
+
};
|
|
176
|
+
readonly peerIsolation: {
|
|
177
|
+
readonly type: "boolean";
|
|
178
|
+
};
|
|
179
|
+
readonly sliceFolders: {
|
|
180
|
+
readonly minItems: 1;
|
|
181
|
+
readonly type: "array";
|
|
182
|
+
readonly items: {
|
|
183
|
+
readonly type: "string";
|
|
184
|
+
readonly minLength: 1;
|
|
185
|
+
};
|
|
186
|
+
readonly uniqueItems: true;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
readonly safety: {
|
|
191
|
+
readonly type: "object";
|
|
192
|
+
readonly additionalProperties: false;
|
|
193
|
+
readonly properties: {
|
|
194
|
+
readonly maxTsSuppressions: {
|
|
195
|
+
readonly type: "integer";
|
|
196
|
+
readonly minimum: 0;
|
|
197
|
+
readonly default: 0;
|
|
198
|
+
};
|
|
199
|
+
readonly maxAnyCasts: {
|
|
200
|
+
readonly type: "integer";
|
|
201
|
+
readonly minimum: 0;
|
|
202
|
+
readonly default: 0;
|
|
203
|
+
};
|
|
204
|
+
readonly allowInMemory: {
|
|
205
|
+
readonly type: "boolean";
|
|
206
|
+
readonly default: false;
|
|
207
|
+
};
|
|
208
|
+
readonly allowDisabledPeerIsolation: {
|
|
209
|
+
readonly type: "boolean";
|
|
210
|
+
readonly default: false;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
declare function loadArkConfigContract(input: unknown, source?: string): ArkConfigLoadResult;
|
|
217
|
+
declare function parseArkConfigJson(json: string, source?: string): ArkConfigLoadResult;
|
|
3
218
|
|
|
4
219
|
/** ArkGate library version — single source of truth. */
|
|
5
|
-
declare const version = "3.
|
|
220
|
+
declare const version = "3.3.0";
|
|
6
221
|
|
|
7
222
|
/** Versioned public result contract shared by every ArkGate enforcement adapter. */
|
|
8
223
|
declare const ARK_ANALYSIS_RESULT_SCHEMA_VERSION: "1.1";
|
|
@@ -421,6 +636,85 @@ interface AICodeGateOptions<Context = AICodeGateContext> {
|
|
|
421
636
|
}
|
|
422
637
|
declare function createAICodeGate<Context = AICodeGateContext>(options?: AICodeGateOptions<Context>): AICodeGate<Context>;
|
|
423
638
|
|
|
639
|
+
declare const ARK_CHANGE_MAP_SCHEMA_VERSION: "1.0";
|
|
640
|
+
type ArchitectureChangeOperation = 'create' | 'update' | 'delete';
|
|
641
|
+
type ArchitectureChangeMapFile = {
|
|
642
|
+
path: string;
|
|
643
|
+
operation: ArchitectureChangeOperation;
|
|
644
|
+
layer: string;
|
|
645
|
+
};
|
|
646
|
+
type ArchitectureChangeMapDependency = {
|
|
647
|
+
from: string;
|
|
648
|
+
to: string;
|
|
649
|
+
};
|
|
650
|
+
type ArchitectureChangeMap = {
|
|
651
|
+
$schema: string;
|
|
652
|
+
schemaVersion: typeof ARK_CHANGE_MAP_SCHEMA_VERSION;
|
|
653
|
+
files: ArchitectureChangeMapFile[];
|
|
654
|
+
dependencies: ArchitectureChangeMapDependency[];
|
|
655
|
+
};
|
|
656
|
+
type ArchitectureChangeMapContract = {
|
|
657
|
+
map: ArchitectureChangeMap;
|
|
658
|
+
hash: string;
|
|
659
|
+
};
|
|
660
|
+
|
|
661
|
+
type ArchitectureDependency = {
|
|
662
|
+
from: string;
|
|
663
|
+
to: string;
|
|
664
|
+
};
|
|
665
|
+
type ArchitectureActualChange = {
|
|
666
|
+
path: string;
|
|
667
|
+
operation: ArchitectureChangeOperation;
|
|
668
|
+
};
|
|
669
|
+
type ArchitectureConvergenceClassification = 'satisfied' | 'missing' | 'contradictory' | 'unplanned';
|
|
670
|
+
type ArchitectureConvergenceFinding = {
|
|
671
|
+
id: string;
|
|
672
|
+
classification: ArchitectureConvergenceClassification;
|
|
673
|
+
subject: 'file' | 'dependency';
|
|
674
|
+
message: string;
|
|
675
|
+
nextAction?: string;
|
|
676
|
+
path?: string;
|
|
677
|
+
from?: string;
|
|
678
|
+
to?: string;
|
|
679
|
+
expectedOperation?: ArchitectureChangeOperation;
|
|
680
|
+
actualOperation?: ArchitectureChangeOperation | 'added' | 'removed';
|
|
681
|
+
};
|
|
682
|
+
type ArchitectureConvergenceResult = {
|
|
683
|
+
schemaVersion: '1.0';
|
|
684
|
+
readOnly: true;
|
|
685
|
+
changeMapHash: string;
|
|
686
|
+
structurallyConverged: boolean;
|
|
687
|
+
behavioralCompletion: 'not-evaluated';
|
|
688
|
+
summary: Record<ArchitectureConvergenceClassification, number>;
|
|
689
|
+
findings: ArchitectureConvergenceFinding[];
|
|
690
|
+
};
|
|
691
|
+
type AnalyzeArchitectureConvergenceInput = {
|
|
692
|
+
changeMap: ArchitectureChangeMapContract;
|
|
693
|
+
changes: readonly ArchitectureActualChange[];
|
|
694
|
+
baseDependencies: readonly ArchitectureDependency[];
|
|
695
|
+
candidateDependencies: readonly ArchitectureDependency[];
|
|
696
|
+
};
|
|
697
|
+
declare function analyzeArchitectureConvergence(input: AnalyzeArchitectureConvergenceInput): ArchitectureConvergenceResult;
|
|
698
|
+
|
|
699
|
+
type SemanticDependencyKind = 'import' | 'export' | 'dynamic-import' | 'require';
|
|
700
|
+
type SemanticDependency = {
|
|
701
|
+
specifier?: string;
|
|
702
|
+
kind: SemanticDependencyKind;
|
|
703
|
+
line: number;
|
|
704
|
+
typeOnly: boolean;
|
|
705
|
+
unresolved: boolean;
|
|
706
|
+
node: unknown;
|
|
707
|
+
};
|
|
708
|
+
type ForbiddenCapabilityUse = {
|
|
709
|
+
name: string;
|
|
710
|
+
line: number;
|
|
711
|
+
node: unknown;
|
|
712
|
+
};
|
|
713
|
+
/** Extract every dependency form whose specifier is statically knowable, plus unresolved calls. */
|
|
714
|
+
declare function extractSemanticDependencies(ts: any, sourceFile: any): SemanticDependency[];
|
|
715
|
+
/** Resolve forbidden ambient capabilities through symbols, aliases, globalThis, and static keys. */
|
|
716
|
+
declare function collectForbiddenCapabilityUses(ts: any, sourceFile: any, forbidden: readonly string[]): ForbiddenCapabilityUse[];
|
|
717
|
+
|
|
424
718
|
/**
|
|
425
719
|
* Stable, pure vocabulary for ArkGate's importable analysis engine.
|
|
426
720
|
*
|
|
@@ -521,84 +815,12 @@ declare function policyDeltaAcknowledgementMatches(acknowledgement: PolicyDeltaA
|
|
|
521
815
|
findingIds: readonly string[];
|
|
522
816
|
}): boolean;
|
|
523
817
|
|
|
524
|
-
|
|
525
|
-
type
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
};
|
|
531
|
-
type ArchitectureChangeMapDependency = {
|
|
532
|
-
from: string;
|
|
533
|
-
to: string;
|
|
534
|
-
};
|
|
535
|
-
type ArchitectureChangeMap = {
|
|
536
|
-
$schema: string;
|
|
537
|
-
schemaVersion: typeof ARK_CHANGE_MAP_SCHEMA_VERSION;
|
|
538
|
-
files: ArchitectureChangeMapFile[];
|
|
539
|
-
dependencies: ArchitectureChangeMapDependency[];
|
|
540
|
-
};
|
|
541
|
-
type ArchitectureChangeMapContract = {
|
|
542
|
-
map: ArchitectureChangeMap;
|
|
543
|
-
hash: string;
|
|
544
|
-
};
|
|
545
|
-
|
|
546
|
-
type ArchitectureDependency = {
|
|
547
|
-
from: string;
|
|
548
|
-
to: string;
|
|
549
|
-
};
|
|
550
|
-
type ArchitectureActualChange = {
|
|
551
|
-
path: string;
|
|
552
|
-
operation: ArchitectureChangeOperation;
|
|
553
|
-
};
|
|
554
|
-
type ArchitectureConvergenceClassification = 'satisfied' | 'missing' | 'contradictory' | 'unplanned';
|
|
555
|
-
type ArchitectureConvergenceFinding = {
|
|
556
|
-
id: string;
|
|
557
|
-
classification: ArchitectureConvergenceClassification;
|
|
558
|
-
subject: 'file' | 'dependency';
|
|
559
|
-
message: string;
|
|
560
|
-
nextAction?: string;
|
|
561
|
-
path?: string;
|
|
562
|
-
from?: string;
|
|
563
|
-
to?: string;
|
|
564
|
-
expectedOperation?: ArchitectureChangeOperation;
|
|
565
|
-
actualOperation?: ArchitectureChangeOperation | 'added' | 'removed';
|
|
566
|
-
};
|
|
567
|
-
type ArchitectureConvergenceResult = {
|
|
568
|
-
schemaVersion: '1.0';
|
|
569
|
-
readOnly: true;
|
|
570
|
-
changeMapHash: string;
|
|
571
|
-
structurallyConverged: boolean;
|
|
572
|
-
behavioralCompletion: 'not-evaluated';
|
|
573
|
-
summary: Record<ArchitectureConvergenceClassification, number>;
|
|
574
|
-
findings: ArchitectureConvergenceFinding[];
|
|
575
|
-
};
|
|
576
|
-
type AnalyzeArchitectureConvergenceInput = {
|
|
577
|
-
changeMap: ArchitectureChangeMapContract;
|
|
578
|
-
changes: readonly ArchitectureActualChange[];
|
|
579
|
-
baseDependencies: readonly ArchitectureDependency[];
|
|
580
|
-
candidateDependencies: readonly ArchitectureDependency[];
|
|
581
|
-
};
|
|
582
|
-
declare function analyzeArchitectureConvergence(input: AnalyzeArchitectureConvergenceInput): ArchitectureConvergenceResult;
|
|
583
|
-
|
|
584
|
-
type SemanticDependencyKind = 'import' | 'export' | 'dynamic-import' | 'require';
|
|
585
|
-
type SemanticDependency = {
|
|
586
|
-
specifier?: string;
|
|
587
|
-
kind: SemanticDependencyKind;
|
|
588
|
-
line: number;
|
|
589
|
-
typeOnly: boolean;
|
|
590
|
-
unresolved: boolean;
|
|
591
|
-
node: unknown;
|
|
592
|
-
};
|
|
593
|
-
type ForbiddenCapabilityUse = {
|
|
594
|
-
name: string;
|
|
595
|
-
line: number;
|
|
596
|
-
node: unknown;
|
|
597
|
-
};
|
|
598
|
-
/** Extract every dependency form whose specifier is statically knowable, plus unresolved calls. */
|
|
599
|
-
declare function extractSemanticDependencies(ts: any, sourceFile: any): SemanticDependency[];
|
|
600
|
-
/** Resolve forbidden ambient capabilities through symbols, aliases, globalThis, and static keys. */
|
|
601
|
-
declare function collectForbiddenCapabilityUses(ts: any, sourceFile: any, forbidden: readonly string[]): ForbiddenCapabilityUse[];
|
|
818
|
+
/**
|
|
819
|
+
* Public type vocabulary of the canonical analysis API (U02 pilot 2).
|
|
820
|
+
*
|
|
821
|
+
* Declarations only — the C02 entry point src/kernel/analysis.ts re-exports
|
|
822
|
+
* everything here, so consumer import paths never change.
|
|
823
|
+
*/
|
|
602
824
|
|
|
603
825
|
type AnalysisContract = ArkConfigLoadResult & {
|
|
604
826
|
policyHash: string;
|
|
@@ -704,21 +926,31 @@ type CollectAnalysisConfigWarningsInput = {
|
|
|
704
926
|
};
|
|
705
927
|
};
|
|
706
928
|
};
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* Contract loading, project/change analysis, and policy-delta analysis
|
|
932
|
+
* (U02 pilot 2). Reached through the src/kernel/analysis.ts facade; consumer
|
|
933
|
+
* import paths never change.
|
|
934
|
+
*/
|
|
935
|
+
|
|
707
936
|
declare function loadContract(input: unknown, source?: string): AnalysisContract;
|
|
708
937
|
declare function analyzePolicyDelta(input: AnalyzePolicyDeltaInput): PolicyDeltaAnalysis;
|
|
709
938
|
declare function analyzeProject(input: AnalyzeProjectInput): AnalysisResult;
|
|
710
939
|
declare function analyzeChange(input: AnalyzeChangeInput): AnalysisResult;
|
|
711
940
|
declare function explainViolation(violation: AnalysisViolation): string;
|
|
941
|
+
|
|
712
942
|
declare function detectArchitectureCycles(graph: ReadonlyMap<string, ReadonlySet<string>>): ArchitectureEngineViolation[];
|
|
713
943
|
/** Canonical graph and layer-policy evaluator shared by library, CLI, and MCP adapters. */
|
|
714
944
|
declare function evaluateArchitectureGraph(input: EvaluateArchitectureGraphInput): ArchitectureEngineResult;
|
|
945
|
+
|
|
715
946
|
/**
|
|
716
947
|
* Evaluate one create/update/delete set as a single in-memory candidate.
|
|
717
948
|
* The function never writes and returns hashes that bind a later host commit to
|
|
718
949
|
* the exact base, policy, compiler options, and candidate contents it checked.
|
|
719
950
|
*/
|
|
720
951
|
declare function preflightChange(input: AnalyzeChangeInput): ChangePreflightResult;
|
|
952
|
+
|
|
721
953
|
/** Canonical config diagnostics over repo-relative file paths. */
|
|
722
954
|
declare function collectAnalysisConfigWarnings(input: CollectAnalysisConfigWarningsInput): ArchitectureEngineViolation[];
|
|
723
955
|
|
|
724
|
-
export { type AICodeGate, type AICodeGateContext, type AICodeGateOptions, type AICodeGateResult, type AICodeGateViolation, type AIGateExtension, ANALYSIS_IR_SCHEMA_VERSION, ARK_ANALYSIS_RESULT_SCHEMA, ARK_ANALYSIS_RESULT_SCHEMA_VERSION, type AdapterDiagnostic, type AdapterResult, type AdapterSeverity, type AdapterViolationInput, type AnalysisCapabilityUse, type AnalysisCompilerOptions, type AnalysisContract, type AnalysisEvidence, type AnalysisFile, type AnalysisFileChange, type AnalysisFileInput, type AnalysisImportEdge, type AnalysisIr, type AnalysisResult, type AnalysisViolation, type AnalyzeArchitectureConvergenceInput, type AnalyzeChangeInput, type AnalyzePolicyDeltaInput, type AnalyzeProjectInput, type ArchitectureActualChange, type ArchitectureChangeMap, type ArchitectureChangeMapContract, type ArchitectureChangeMapDependency, type ArchitectureChangeMapFile, type ArchitectureChangeOperation, type ArchitectureConvergenceClassification, type ArchitectureConvergenceFinding, type ArchitectureConvergenceResult, type ArchitectureDependency, type ArchitectureEngineEdge, type ArchitectureEngineResult, type ArchitectureEngineViolation, type ArchitectureLayer, type ArchitectureLayerConfig, type ArchitectureProfile, type ArchitectureRule, type ArkCheckConfig, ArkConfig, ArkConfigLoadResult, type ChangePreflightResult, type CollectAnalysisConfigWarningsInput, type CreateArchitectureProfileFromArkConfigOptions, type CreateArchitectureProfileOptions, type CreateElevenLayerArkConfigOptions, type EvaluateArchitectureGraphInput, type ForbiddenCapabilityUse, POLICY_DELTA_SCHEMA_VERSION, type PolicyDelta, type PolicyDeltaAcknowledgement, type PolicyDeltaAnalysis, type PolicyDeltaClassification, type PolicyDeltaFinding, type PreparedChangeFile, type SemanticDependency, type SemanticDependencyKind, analyzeArchitectureConvergence, analyzeChange, analyzePolicyDelta, analyzeProject, classifyArkPolicyDelta, collectAnalysisConfigWarnings, collectForbiddenCapabilityUses, createAICodeGate, createAdapterResult, createArchitectureProfile, createArchitectureProfileFromArkConfig, createElevenLayerArkConfig, detectArchitectureCycles, deterministicHash, elevenLayerProfile, evaluateArchitectureGraph, explainViolation, extractSemanticDependencies, loadContract, policyDeltaAcknowledgementMatches, preflightChange, stableSerialize, toAdapterDiagnostic, version };
|
|
956
|
+
export { type AICodeGate, type AICodeGateContext, type AICodeGateOptions, type AICodeGateResult, type AICodeGateViolation, type AIGateExtension, ANALYSIS_IR_SCHEMA_VERSION, ARK_ANALYSIS_RESULT_SCHEMA, ARK_ANALYSIS_RESULT_SCHEMA_VERSION, ARK_CONFIG_SCHEMA, ARK_CONFIG_SCHEMA_VERSION, type AdapterDiagnostic, type AdapterResult, type AdapterSeverity, type AdapterViolationInput, type AnalysisCapabilityUse, type AnalysisCompilerOptions, type AnalysisContract, type AnalysisEvidence, type AnalysisFile, type AnalysisFileChange, type AnalysisFileInput, type AnalysisImportEdge, type AnalysisIr, type AnalysisResult, type AnalysisViolation, type AnalyzeArchitectureConvergenceInput, type AnalyzeChangeInput, type AnalyzePolicyDeltaInput, type AnalyzeProjectInput, type ArchitectureActualChange, type ArchitectureChangeMap, type ArchitectureChangeMapContract, type ArchitectureChangeMapDependency, type ArchitectureChangeMapFile, type ArchitectureChangeOperation, type ArchitectureConvergenceClassification, type ArchitectureConvergenceFinding, type ArchitectureConvergenceResult, type ArchitectureDependency, type ArchitectureEngineEdge, type ArchitectureEngineResult, type ArchitectureEngineViolation, type ArchitectureLayer, type ArchitectureLayerConfig, type ArchitectureProfile, type ArchitectureRule, type ArkCheckConfig, ArkConfig, ArkConfigLoadResult, type ChangePreflightResult, type CollectAnalysisConfigWarningsInput, type CreateArchitectureProfileFromArkConfigOptions, type CreateArchitectureProfileOptions, type CreateElevenLayerArkConfigOptions, type EvaluateArchitectureGraphInput, type ForbiddenCapabilityUse, POLICY_DELTA_SCHEMA_VERSION, type PolicyDelta, type PolicyDeltaAcknowledgement, type PolicyDeltaAnalysis, type PolicyDeltaClassification, type PolicyDeltaFinding, type PreparedChangeFile, type SemanticDependency, type SemanticDependencyKind, analyzeArchitectureConvergence, analyzeChange, analyzePolicyDelta, analyzeProject, classifyArkPolicyDelta, collectAnalysisConfigWarnings, collectForbiddenCapabilityUses, createAICodeGate, createAdapterResult, createArchitectureProfile, createArchitectureProfileFromArkConfig, createElevenLayerArkConfig, detectArchitectureCycles, deterministicHash, elevenLayerProfile, evaluateArchitectureGraph, explainViolation, extractSemanticDependencies, loadArkConfigContract, loadContract, parseArkConfigJson, policyDeltaAcknowledgementMatches, preflightChange, stableSerialize, toAdapterDiagnostic, version };
|