artifact-graph 1.2.0 → 1.2.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/CHANGELOG.md +6 -0
- package/README.md +22 -9
- package/README.zh-CN.md +74 -145
- package/dist/cli.js +3911 -441
- package/dist/index.cjs +3593 -416
- package/dist/index.d.cts +278 -6
- package/dist/index.d.ts +278 -6
- package/dist/index.js +3582 -405
- package/package.json +2 -2
- package/schemas/project-artifact-profiles.schema.json +6 -6
- package/schemas/review-result.schema.json +106 -76
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import matter from 'gray-matter';
|
|
1
2
|
export { dirname, extname } from 'node:path';
|
|
2
3
|
import * as skill_family_harness_node from 'skill-family-harness-node';
|
|
3
4
|
import { FoundationFileSetResult, FoundationFileSetOutcome, FoundationFileSetValidation, FoundationFileSetPathResult, FoundationFileSetErrorKind, FoundationFileSetApplyRequest, FoundationFilesystemRootBinding, FoundationStateStoreRecoveryObservation } from 'skill-family-harness-node';
|
|
@@ -562,7 +563,7 @@ declare const VERSION_INDEX_SCHEMA_VERSION = "1.0";
|
|
|
562
563
|
declare const VERSION_LOCK_SCHEMA_VERSION = "1.0";
|
|
563
564
|
type VersionSourceKind = 'artifact' | 'code' | 'test';
|
|
564
565
|
type VersionEdgeKind = 'references' | 'covers' | 'depends_on' | 'implements' | 'verifies';
|
|
565
|
-
type VersionLockStatus = 'fresh' | 'target_not_found' | 'artifact_changed' | 'source_changed' | 'verified_by_changed' | 'missing_lock' | 'orphan_lock';
|
|
566
|
+
type VersionLockStatus = 'fresh' | 'target_not_found' | 'artifact_changed' | 'source_changed' | 'verified_by_changed' | 'missing_lock' | 'orphan_lock' | 'invalid_test_shell';
|
|
566
567
|
interface VersionedNode {
|
|
567
568
|
uid: string;
|
|
568
569
|
type: string;
|
|
@@ -876,7 +877,92 @@ interface PreparedManagedHookBlock {
|
|
|
876
877
|
}
|
|
877
878
|
declare function prepareManagedHookBlock(options: ManagedHookBlockOptions): Promise<PreparedManagedHookBlock>;
|
|
878
879
|
declare function applyPreparedManagedHookBlocks(prepared: readonly PreparedManagedHookBlock[]): Promise<HookInstallResult[]>;
|
|
880
|
+
interface UninstallManagedHookBlockOptions {
|
|
881
|
+
hookPath: string;
|
|
882
|
+
markerId?: string;
|
|
883
|
+
}
|
|
879
884
|
declare function installManagedHookBlock(options: ManagedHookBlockOptions): Promise<HookInstallResult>;
|
|
885
|
+
declare function uninstallManagedHookBlock(options: UninstallManagedHookBlockOptions): Promise<HookInstallResult>;
|
|
886
|
+
|
|
887
|
+
declare const DEFAULT_INBOX_RELATIVE_PATH = ".artifact-inbox/ideas.jsonl";
|
|
888
|
+
type InboxIdeaStatus = 'captured';
|
|
889
|
+
type InboxMatchKind = 'inbox-idea' | 'user-story' | 'artifact';
|
|
890
|
+
interface InboxIdea {
|
|
891
|
+
id: string;
|
|
892
|
+
text: string;
|
|
893
|
+
context?: string;
|
|
894
|
+
tags?: string[];
|
|
895
|
+
source: string;
|
|
896
|
+
createdAt: string;
|
|
897
|
+
status: InboxIdeaStatus;
|
|
898
|
+
}
|
|
899
|
+
interface InboxMatchCandidate {
|
|
900
|
+
kind: InboxMatchKind;
|
|
901
|
+
id: string;
|
|
902
|
+
title: string;
|
|
903
|
+
path: string;
|
|
904
|
+
status?: string;
|
|
905
|
+
score: number;
|
|
906
|
+
matchedTerms: string[];
|
|
907
|
+
}
|
|
908
|
+
interface AddInboxIdeaOptions {
|
|
909
|
+
root?: string;
|
|
910
|
+
inboxPath?: string;
|
|
911
|
+
text: string;
|
|
912
|
+
context?: string;
|
|
913
|
+
tags?: string[];
|
|
914
|
+
source?: string;
|
|
915
|
+
createdAt?: string;
|
|
916
|
+
limit?: number;
|
|
917
|
+
minScore?: number;
|
|
918
|
+
}
|
|
919
|
+
interface AddInboxIdeaResult {
|
|
920
|
+
ok: true;
|
|
921
|
+
idea: InboxIdea;
|
|
922
|
+
inboxPath: string;
|
|
923
|
+
related: InboxMatchCandidate[];
|
|
924
|
+
scaffoldTriggered: false;
|
|
925
|
+
note: string;
|
|
926
|
+
}
|
|
927
|
+
interface ListInboxIdeasOptions {
|
|
928
|
+
root?: string;
|
|
929
|
+
inboxPath?: string;
|
|
930
|
+
status?: string;
|
|
931
|
+
tag?: string;
|
|
932
|
+
limit?: number;
|
|
933
|
+
}
|
|
934
|
+
interface ListInboxIdeasResult {
|
|
935
|
+
ok: true;
|
|
936
|
+
inboxPath: string;
|
|
937
|
+
total: number;
|
|
938
|
+
ideas: InboxIdea[];
|
|
939
|
+
}
|
|
940
|
+
interface MatchInboxIdeaOptions {
|
|
941
|
+
root?: string;
|
|
942
|
+
inboxPath?: string;
|
|
943
|
+
query: string;
|
|
944
|
+
context?: string;
|
|
945
|
+
limit?: number;
|
|
946
|
+
minScore?: number;
|
|
947
|
+
excludeIdeaId?: string;
|
|
948
|
+
}
|
|
949
|
+
interface MatchInboxIdeaResult {
|
|
950
|
+
ok: true;
|
|
951
|
+
query: string;
|
|
952
|
+
scannedSources: number;
|
|
953
|
+
related: InboxMatchCandidate[];
|
|
954
|
+
scaffoldTriggered: false;
|
|
955
|
+
note: string;
|
|
956
|
+
}
|
|
957
|
+
declare function resolveInboxFilePath(root?: string, inboxPath?: string): string;
|
|
958
|
+
declare function readInboxIdeasFile(inboxFilePath: string): Promise<InboxIdea[]>;
|
|
959
|
+
declare function addInboxIdea(options: AddInboxIdeaOptions): Promise<AddInboxIdeaResult>;
|
|
960
|
+
declare function listInboxIdeas(options?: ListInboxIdeasOptions): Promise<ListInboxIdeasResult>;
|
|
961
|
+
declare function matchInboxIdea(options: MatchInboxIdeaOptions): Promise<MatchInboxIdeaResult>;
|
|
962
|
+
declare function extractInformativeTerms(text: string): Set<string>;
|
|
963
|
+
declare function renderInboxAddMarkdown(result: AddInboxIdeaResult): string;
|
|
964
|
+
declare function renderInboxListMarkdown(result: ListInboxIdeasResult): string;
|
|
965
|
+
declare function renderInboxMatchMarkdown(result: MatchInboxIdeaResult): string;
|
|
880
966
|
|
|
881
967
|
declare const GRAPH_PROVIDER_ID = "artifact-graph";
|
|
882
968
|
declare const GRAPH_PROVIDER_ENTRY = "check-professional";
|
|
@@ -951,13 +1037,29 @@ interface ValidationError {
|
|
|
951
1037
|
path: string;
|
|
952
1038
|
message: string;
|
|
953
1039
|
}
|
|
1040
|
+
interface ValidateReviewResultOptions {
|
|
1041
|
+
/**
|
|
1042
|
+
* 被审目标路径到期望内容 SHA-256 摘要(sha256:<64位十六进制> 或 64 位十六进制)的映射。
|
|
1043
|
+
* 传入时强制核对审阅结果中记录的目标摘要与审阅文件范围,拦截旧快照混入与条目串单;
|
|
1044
|
+
* 省略时保持纯协议结构与身份独立性校验。
|
|
1045
|
+
*/
|
|
1046
|
+
expectedTargetDigests?: Record<string, string>;
|
|
1047
|
+
/**
|
|
1048
|
+
* 为 true(默认)时,若审阅结果绑定了 expectedTargetDigests 之外的其他目标路径,
|
|
1049
|
+
* 或 review.files 未覆盖期望目标,均判定为串单阻断。
|
|
1050
|
+
*/
|
|
1051
|
+
strictScopeMatch?: boolean;
|
|
1052
|
+
}
|
|
954
1053
|
/**
|
|
955
|
-
*
|
|
1054
|
+
* 校验审阅结果对象是否符合 Review Result Protocol v1.0 契约;
|
|
1055
|
+
* 当提供 options.expectedTargetDigests 时,同步核对目标文件摘要防止串单。
|
|
956
1056
|
*
|
|
957
|
-
* @param input -
|
|
958
|
-
* @
|
|
1057
|
+
* @param input - 待校验的已解析 JSON 对象(非原始字符串)。
|
|
1058
|
+
* @param options - 可选的目标摘要防串单核对配置。
|
|
1059
|
+
* @returns 校验错误数组;空数组表示通过。
|
|
959
1060
|
*/
|
|
960
|
-
declare function validateReviewResult(input: unknown): ValidationError[];
|
|
1061
|
+
declare function validateReviewResult(input: unknown, options?: ValidateReviewResultOptions): ValidationError[];
|
|
1062
|
+
declare function normalizeSha256Digest(raw: unknown): string | undefined;
|
|
961
1063
|
|
|
962
1064
|
/**
|
|
963
1065
|
* Review Result Protocol v1.0 — TypeScript types.
|
|
@@ -1032,6 +1134,7 @@ interface ReviewMetrics {
|
|
|
1032
1134
|
interface ReviewData {
|
|
1033
1135
|
source_files?: string[];
|
|
1034
1136
|
files?: string[];
|
|
1137
|
+
target_digests?: Record<string, string>;
|
|
1035
1138
|
batches?: BatchDefinition[];
|
|
1036
1139
|
metrics?: ReviewMetrics;
|
|
1037
1140
|
findings?: Finding[];
|
|
@@ -1865,8 +1968,166 @@ declare function markdownRecordHeadings(raw: string, type: string): Array<{
|
|
|
1865
1968
|
declare function locateSoftwareRecord(raw: string, node: ArtifactNode, nodesInFile: ArtifactNode[]): RecordBoundaryResult;
|
|
1866
1969
|
declare function replaceSoftwareHeader(raw: string, header: string): string;
|
|
1867
1970
|
|
|
1971
|
+
declare const PORTFOLIO_ALLOCATIONS_PATH = "artifacts/portfolio-allocations.json";
|
|
1972
|
+
declare const UPSTREAM_BINDINGS_PATH = "artifacts/upstream-bindings.json";
|
|
1973
|
+
type BidirectionalAlignmentSeverity = 'error' | 'warning' | 'info';
|
|
1974
|
+
type PortfolioDisposition = 'allocated' | 'deferred' | 'merged' | 'abandoned';
|
|
1975
|
+
type PortfolioSatisfactionStatus = 'not_applicable' | 'partially_allocated' | 'allocated_in_progress' | 'traceability_locked' | 'verified_satisfied';
|
|
1976
|
+
interface PortfolioAllocationEntry {
|
|
1977
|
+
targetRepo: string;
|
|
1978
|
+
targetUid: string;
|
|
1979
|
+
targetPath: string;
|
|
1980
|
+
targetDigest: string;
|
|
1981
|
+
coverageRole?: string;
|
|
1982
|
+
readonlyTarget?: boolean;
|
|
1983
|
+
verifiedReceiptPath?: string;
|
|
1984
|
+
allocationStatus?: 'active' | 'absorbed' | string;
|
|
1985
|
+
absorbedBy?: string;
|
|
1986
|
+
}
|
|
1987
|
+
interface PortfolioAllocationItem {
|
|
1988
|
+
sourceUid: string;
|
|
1989
|
+
sourcePath: string;
|
|
1990
|
+
sourceDigest: string;
|
|
1991
|
+
title?: string;
|
|
1992
|
+
disposition: PortfolioDisposition | string;
|
|
1993
|
+
dispositionNote?: string;
|
|
1994
|
+
mergedInto?: string | null;
|
|
1995
|
+
remainingScope?: string[];
|
|
1996
|
+
allocations?: PortfolioAllocationEntry[];
|
|
1997
|
+
}
|
|
1998
|
+
interface PortfolioAllocationsFile {
|
|
1999
|
+
schemaVersion: '1.0';
|
|
2000
|
+
portfolioId?: string;
|
|
2001
|
+
title?: string;
|
|
2002
|
+
items: PortfolioAllocationItem[];
|
|
2003
|
+
}
|
|
2004
|
+
interface UpstreamBindingEntry {
|
|
2005
|
+
localUid: string;
|
|
2006
|
+
localPath: string;
|
|
2007
|
+
localDigest: string;
|
|
2008
|
+
upstreamUid: string;
|
|
2009
|
+
upstreamPath: string;
|
|
2010
|
+
upstreamDigest: string;
|
|
2011
|
+
}
|
|
2012
|
+
interface UpstreamBindingsFile {
|
|
2013
|
+
schemaVersion: '1.0';
|
|
2014
|
+
upstreamPortfolio: string;
|
|
2015
|
+
bindings: UpstreamBindingEntry[];
|
|
2016
|
+
}
|
|
2017
|
+
interface BidirectionalAlignmentIssue {
|
|
2018
|
+
code: string;
|
|
2019
|
+
layer: 'intra-repo' | 'portfolio' | 'child-upstream';
|
|
2020
|
+
severity: BidirectionalAlignmentSeverity;
|
|
2021
|
+
message: string;
|
|
2022
|
+
remediation: string[];
|
|
2023
|
+
file?: string;
|
|
2024
|
+
uid?: string;
|
|
2025
|
+
targetRepo?: string;
|
|
2026
|
+
targetUid?: string;
|
|
2027
|
+
edgeId?: string;
|
|
2028
|
+
expectedDigest?: string;
|
|
2029
|
+
actualDigest?: string;
|
|
2030
|
+
}
|
|
2031
|
+
interface PortfolioAllocationCheckDetail {
|
|
2032
|
+
targetRepo: string;
|
|
2033
|
+
targetUid: string;
|
|
2034
|
+
targetPath: string;
|
|
2035
|
+
readonlyTarget: boolean;
|
|
2036
|
+
allocationStatus?: string;
|
|
2037
|
+
absorbedBy?: string;
|
|
2038
|
+
targetRepoReachable: boolean;
|
|
2039
|
+
satisfied: boolean;
|
|
2040
|
+
traceabilityLocked?: boolean;
|
|
2041
|
+
hasFreshImplementsLock: boolean;
|
|
2042
|
+
hasFreshVerifiesLock: boolean;
|
|
2043
|
+
verifiedReceiptValid?: boolean;
|
|
2044
|
+
executionReceiptValid?: boolean;
|
|
2045
|
+
}
|
|
2046
|
+
interface PortfolioItemEvaluation {
|
|
2047
|
+
sourceUid: string;
|
|
2048
|
+
sourcePath: string;
|
|
2049
|
+
title?: string;
|
|
2050
|
+
disposition: string;
|
|
2051
|
+
computedSatisfaction: PortfolioSatisfactionStatus;
|
|
2052
|
+
remainingScope: string[];
|
|
2053
|
+
allocationsCount: number;
|
|
2054
|
+
verifiedAllocationsCount: number;
|
|
2055
|
+
traceabilityLockedAllocationsCount: number;
|
|
2056
|
+
issues: BidirectionalAlignmentIssue[];
|
|
2057
|
+
allocations: PortfolioAllocationCheckDetail[];
|
|
2058
|
+
}
|
|
2059
|
+
interface BidirectionalAlignmentAuditResult {
|
|
2060
|
+
schemaVersion: '1.0';
|
|
2061
|
+
root: string;
|
|
2062
|
+
ok: boolean;
|
|
2063
|
+
strict: boolean;
|
|
2064
|
+
modes: {
|
|
2065
|
+
intraRepo: boolean;
|
|
2066
|
+
portfolio: boolean;
|
|
2067
|
+
childProject: boolean;
|
|
2068
|
+
};
|
|
2069
|
+
intraRepo: {
|
|
2070
|
+
graphErrorCount: number;
|
|
2071
|
+
totalLocks: number;
|
|
2072
|
+
freshLocks: number;
|
|
2073
|
+
implementsLocksCount: number;
|
|
2074
|
+
verifiesLocksCount: number;
|
|
2075
|
+
implementationSurfaceChecked: boolean;
|
|
2076
|
+
matchedEntries: string[];
|
|
2077
|
+
unclaimedEntries: string[];
|
|
2078
|
+
};
|
|
2079
|
+
portfolio?: {
|
|
2080
|
+
filePath: string;
|
|
2081
|
+
portfolioId?: string;
|
|
2082
|
+
title?: string;
|
|
2083
|
+
totalItems: number;
|
|
2084
|
+
satisfactionSummary: Record<PortfolioSatisfactionStatus, number>;
|
|
2085
|
+
items: PortfolioItemEvaluation[];
|
|
2086
|
+
};
|
|
2087
|
+
childProject?: {
|
|
2088
|
+
filePath: string;
|
|
2089
|
+
upstreamPortfolio: string;
|
|
2090
|
+
resolvedPortfolioRoot?: string;
|
|
2091
|
+
upstreamReachable: boolean;
|
|
2092
|
+
totalBindings: number;
|
|
2093
|
+
matchedBindings: number;
|
|
2094
|
+
};
|
|
2095
|
+
issues: BidirectionalAlignmentIssue[];
|
|
2096
|
+
summary: {
|
|
2097
|
+
totalIssues: number;
|
|
2098
|
+
errorCount: number;
|
|
2099
|
+
warningCount: number;
|
|
2100
|
+
};
|
|
2101
|
+
}
|
|
2102
|
+
interface AlignmentAuditOptions {
|
|
2103
|
+
portfolioRoot?: string;
|
|
2104
|
+
strict?: boolean;
|
|
2105
|
+
}
|
|
2106
|
+
interface AlignmentLockOptions {
|
|
2107
|
+
portfolioRoot?: string;
|
|
2108
|
+
}
|
|
2109
|
+
interface RefreshBidirectionalAlignmentResult {
|
|
2110
|
+
schemaVersion: '1.0';
|
|
2111
|
+
root: string;
|
|
2112
|
+
ok: boolean;
|
|
2113
|
+
updatedFiles: string[];
|
|
2114
|
+
refreshedAllocations: number;
|
|
2115
|
+
refreshedBindings: number;
|
|
2116
|
+
skipped: Array<{
|
|
2117
|
+
scope: 'portfolio' | 'child-upstream';
|
|
2118
|
+
uid: string;
|
|
2119
|
+
reason: string;
|
|
2120
|
+
}>;
|
|
2121
|
+
issues: BidirectionalAlignmentIssue[];
|
|
2122
|
+
}
|
|
2123
|
+
declare function auditBidirectionalAlignment(root: string, opts?: AlignmentAuditOptions): Promise<BidirectionalAlignmentAuditResult>;
|
|
2124
|
+
declare function refreshBidirectionalAlignmentLocks(root: string, opts?: AlignmentLockOptions): Promise<RefreshBidirectionalAlignmentResult>;
|
|
2125
|
+
declare function renderBidirectionalAlignmentAuditMarkdown(result: BidirectionalAlignmentAuditResult): string;
|
|
2126
|
+
declare function renderBidirectionalAlignmentLockMarkdown(result: RefreshBidirectionalAlignmentResult): string;
|
|
2127
|
+
|
|
1868
2128
|
/** Diagnostics captured by the last successful loadConfig for this schema object. */
|
|
1869
2129
|
declare function getConfigDiagnostics(schema: ArtifactSchema): ConfigDocumentDiagnosis | undefined;
|
|
2130
|
+
declare function parseSafeFrontmatter(raw: string): matter.GrayMatterFile<string>;
|
|
1870
2131
|
interface ArtifactNode {
|
|
1871
2132
|
uid: string;
|
|
1872
2133
|
type: string;
|
|
@@ -1957,6 +2218,12 @@ interface E2eWaiver {
|
|
|
1957
2218
|
id: string;
|
|
1958
2219
|
reason: string;
|
|
1959
2220
|
}
|
|
2221
|
+
/** Optional declaration of public code/skill entry surface for bidirectional alignment checks. */
|
|
2222
|
+
interface ImplementationSurfaceConfig {
|
|
2223
|
+
entryGlobs?: string[];
|
|
2224
|
+
excludeGlobs?: string[];
|
|
2225
|
+
requireCodeLocks?: boolean;
|
|
2226
|
+
}
|
|
1960
2227
|
interface ArtifactSchema {
|
|
1961
2228
|
types: Record<string, ArtifactTypeSchema>;
|
|
1962
2229
|
idPatterns: Record<string, string>;
|
|
@@ -1978,6 +2245,10 @@ interface ArtifactSchema {
|
|
|
1978
2245
|
/** When false, skip universal baseline injection. Default: true. */
|
|
1979
2246
|
universal_baseline?: boolean;
|
|
1980
2247
|
};
|
|
2248
|
+
/** Optional implementation surface globs and code-lock enforcement policy. */
|
|
2249
|
+
implementationSurface?: ImplementationSurfaceConfig;
|
|
2250
|
+
/** Optional declarative workspace settings for external workbench tools (e.g. skill-family-studio). */
|
|
2251
|
+
studio?: Record<string, unknown>;
|
|
1981
2252
|
/** E2E coverage proof configuration */
|
|
1982
2253
|
e2e?: {
|
|
1983
2254
|
/** Minimum executable_ref coverage rate (0-1) for warning */
|
|
@@ -2114,6 +2385,7 @@ interface ContextOptions {
|
|
|
2114
2385
|
}
|
|
2115
2386
|
declare const DEFAULT_SCHEMA: ArtifactSchema;
|
|
2116
2387
|
declare function loadConfig(root: string): Promise<ArtifactSchema>;
|
|
2388
|
+
declare const SPECIALIZED_PARSER_TYPES: Set<string>;
|
|
2117
2389
|
declare function buildGraph(nodes: Omit<ArtifactNode, 'uid'>[], edges: ArtifactEdge[], diagnostics?: ValidationIssue[], root?: string): ArtifactGraph;
|
|
2118
2390
|
interface ScanArtifactsOptions {
|
|
2119
2391
|
/**
|
|
@@ -2252,4 +2524,4 @@ declare function discoverTargets(graph: ArtifactGraph, options?: DiscoverOptions
|
|
|
2252
2524
|
declare function resolveArtifactContext(graph: ArtifactGraph, opts: ContextOptions): ContextManifest;
|
|
2253
2525
|
declare function formatContextMarkdown(manifest: ContextManifest): string;
|
|
2254
2526
|
|
|
2255
|
-
export { ALWAYS_PRESENT_ITEMS as ALWAYS_PRESENT, type ArtifactChainDoctorReport, type ArtifactEdge, type ArtifactEdgeRule, type ArtifactExtraFieldSchema, type ArtifactGraph, type ArtifactGraphCliCandidate, type ArtifactGraphCliResolution, type ArtifactGraphCliSource, type ArtifactNode, type ArtifactSchema, type ArtifactTarget, type ArtifactTypeMetadata, type ArtifactTypeRole, type ArtifactTypeSchema, BASELINE_CONSTRAINTS, BASELINE_CONSTRAINTS_COUNT, BASELINE_ITEMS_COUNT, type BatchDefinition, type ByteRange, CONTRACTS_PACKAGE_NAME, CONTRACT_ERROR_CODES, type CanonicalIR, type CheckProfessionalOptions, type CheckProfessionalResult, type CollectChangedPathsOptions, type ConfigDiagnostic, type ConfigDocumentDiagnosis, type ContextItem, type ContextManifest, type ContextMode, type ContextOptions, type ContextTier, ContractCatalog, type ContractCatalogEntry, type ContractDefinition, ContractError, type ContractErrorCode, type ContractIdentity, ContractRegistry, type ContractRegistryEntry, type ContractSchema, type CoverageBoundaryReport, DEFAULT_MAX_CHARS, DEFAULT_SCHEMA, type DeclaredVerificationReference, type DiscoverOptions, E2E_NORMALIZER_CONFIG, type E2eCoverageStats, type E2eCoverageThresholds, type E2eRegistry, type E2eRegistryBatch, type E2eRunnerConfig, type E2eWaiver, type Evidence, type EvidenceObject, type ExecutorType, type ExternalEntryInfo, FILE_SET_RESULT_OBJECT, FOUNDATION_PACKAGE_NAME, type FileSnapshot, type Finding, type FindingLocation, type FindingSeverity, type FindingStatus, type FoundationModule, GRAPH_DOMAIN_CODES, GRAPH_PROVIDER_ENTRY, GRAPH_PROVIDER_ID, type GitChangeMode, type GitChangeResult, type GitHookName, type GraphDomainCode, type HookInstallResult, type ImpactEdgeRef, type ImpactMode, type ImpactNodeRef, type ImpactOptions, type ImpactReport, type ImplementationBlueprintDraft, type ImplementationPacket, type LegacyFieldMapping, type LoadContractOptions, MIN_PROMPT_CHARS, type ManagedHookBlockOptions, type MissingDetail, type NodeTimeView, type NormalizationResult, type NormalizerConfig, PROFESSIONAL_CONCLUSION_OBJECT, type PacketAuditEntry, type PacketAuditSummary, type PacketCategory, type PacketItem, type PacketOmittedItem, type PacketOptions, type PacketPromptError, type PacketPromptOptions, type PacketTarget, type PacketTargetType, type PacketValidationIssue, type PacketValidationResult, type PartialSupersedeAnnotation, type PolicyCompatibilityResult, type PreparedManagedHookBlock, type Producer, type ProfessionalConclusion, type ProjectConfigDiagnosis, type ProjectPolicy, type PromptValidationIssue, type PromptValidationResult, type ProofReadResult, type ProofReadStatus, type QueryOptions, RESTRUCTURE_MAX_OPERATIONS, RESTRUCTURE_MAX_TOTAL_BYTES, RESTRUCTURE_PLAN_SCHEMA_VERSION, RESTRUCTURE_QUALIFIED_ARCH, RESTRUCTURE_QUALIFIED_FILESYSTEM, RESTRUCTURE_QUALIFIED_PLATFORM, RESTRUCTURE_RECOVERY_JOURNAL_REL_PATH, RESTRUCTURE_RECOVERY_REL_PATH, RESTRUCTURE_RECOVERY_ROOT_MODE, RESTRUCTURE_VALIDATION_TIMEOUT_MS, type ReadProofOptions, type RecordBoundaryResult, type RelationSemanticsSpec, type RepairData, type RepairValidation, type ResolveArtifactGraphCliOptions, type RestructureApplyInput, type RestructureBoundaryLimits, type RestructureCandidate, type RestructureFileSetApplyOptions, type RestructureFinding, type RestructureInspection, type RestructureMaintenanceOptions, type RestructureMapping, type RestructureMechanismProjection, type RestructureMechanismQualification, type RestructureMechanismRootOptions, type RestructureOperationBoundary, type RestructurePlan, type RestructurePlanDocument, type RestructurePlanOperation, type RestructurePruneInput, type RestructureRecoveryInput, type RestructureRequest, type RestructureResult, type RestructureValidationCallback, type ReviewData, type ReviewDecision, type ReviewMetrics, type ReviewOrderStep, type ReviewResult, type ReviewStatus, type RiskChecklistItem, type ScanArtifactsOptions, type SchemaValidationResult, TARGET_ARTIFACT_TYPES, type TargetArtifactType, type TimeBucket, type TimeView, type TraceVersionResult, VALID_PACKET_TARGET_TYPES, VERSION_INDEX_SCHEMA_VERSION, VERSION_LOCK_PATH, VERSION_LOCK_SCHEMA_VERSION, type ValidationError, type ValidationIssue, type VersionEdgeKind, type VersionIndex, type VersionLockAuditMarkdownOptions, type VersionLockAuditResult, type VersionLockBootstrapOptions, type VersionLockEntry, type VersionLockFile, type VersionLockIssue, type VersionLockIssueSeverity, type VersionLockRef, type VersionLockRefreshOptions, type VersionLockRefreshResult, type VersionLockSourceRef, type VersionLockStatus, type VersionLockUpdateOptions, type VersionSourceKind, type VersionedEdge, type VersionedNode, type ViewExcludedNode, type ViewSelection, applyPreparedManagedHookBlocks, applyRestructure, applyRestructureFileSet, assemblePacket, auditPackets, auditVersionLock, bootstrapVersionLock, buildFileSetApplyRequest, buildGraph, buildVersionIndex, candidateByteDigest, collectChangedPaths, computeCoverageBoundary, computeE2eCoverageStats, computeImpact, computeRevisionDigest, createModeForUmask, createRestructureRootBinding, createRestructureValidationCallback, diagnoseConfigDocument, diagnoseProjectConfig, digestRestructureValue, discoverAndAuditPackets, discoverTargets, doctorArtifactChain, ensureRestructureMechanismRoot, filterGraphByView, formatContextMarkdown, gateRestructureOperationPlan, generateE2eRegistry, getArtifactTypeMetadata, getConfigDiagnostics, getExternalEntryInfo, getTargetArtifactTypes, inspectRestructure, installManagedHookBlock, isOfficialNamespace, isPacketTargetType, isPacketTargetTypeDynamic, isTargetArtifactType, isVersionLockIssueBlocking, loadConfig, loadContract, loadContractCatalog, loadContractsFromDirectory, loadFoundationModule, locateSoftwareRecord, markdownRecordHeadings, matchesConfiguredArtifactPath, nextId, normalizeE2eLegacyArtifact, normalizeToCanonical, observeRestructureJournal, parseTargetSelector, parseTargetsFile, planRestructure, planningUmask, prepareManagedHookBlock, projectRestructureFileSetResult, pruneRestructureFileSet, pruneRestructureRecovery, qualifyRestructureMechanism, queryGraph, recoverRestructure, recoverRestructureFileSet, refreshVersionLock, renderCoverageBoundaryMarkdown, renderDoctorMarkdown, renderImpactMarkdown, renderMermaid, renderPacketMarkdown, renderPacketPrompt, renderTraceVersionMarkdown, renderVersionLockAuditMarkdown, renderVersionLockRefreshMarkdown, replaceSoftwareHeader, resolveArtifactContext, resolveArtifactGraphCli, resolveArtifactTypeName, resolveCliTarget, resolveGitHookPath, resolveMatrixEdges, resolveNodeTimeView, resolveRealRoot, restructureBoundaryFindings, runCheckProfessional, runReadProof, scanArtifacts, traceVersion, updateVersionLock, validateContractAgainstSchema, validateExecutableTraceability, validateGraph, validateNamespaceAuthority, validatePacket, validatePacketMarkdown, validatePacketPrompt, validatePolicyCompatibility, validateReviewResult, validateScenarioPrdLinkIndex, validateScenarioPrdLinks, verifyDigest, verifyMechanismResult, versionLockIssueSeverity, writeGraphCache };
|
|
2527
|
+
export { ALWAYS_PRESENT_ITEMS as ALWAYS_PRESENT, type AddInboxIdeaOptions, type AddInboxIdeaResult, type AlignmentAuditOptions, type AlignmentLockOptions, type ArtifactChainDoctorReport, type ArtifactEdge, type ArtifactEdgeRule, type ArtifactExtraFieldSchema, type ArtifactGraph, type ArtifactGraphCliCandidate, type ArtifactGraphCliResolution, type ArtifactGraphCliSource, type ArtifactNode, type ArtifactSchema, type ArtifactTarget, type ArtifactTypeMetadata, type ArtifactTypeRole, type ArtifactTypeSchema, BASELINE_CONSTRAINTS, BASELINE_CONSTRAINTS_COUNT, BASELINE_ITEMS_COUNT, type BatchDefinition, type BidirectionalAlignmentAuditResult, type BidirectionalAlignmentIssue, type BidirectionalAlignmentSeverity, type ByteRange, CONTRACTS_PACKAGE_NAME, CONTRACT_ERROR_CODES, type CanonicalIR, type CheckProfessionalOptions, type CheckProfessionalResult, type CollectChangedPathsOptions, type ConfigDiagnostic, type ConfigDocumentDiagnosis, type ContextItem, type ContextManifest, type ContextMode, type ContextOptions, type ContextTier, ContractCatalog, type ContractCatalogEntry, type ContractDefinition, ContractError, type ContractErrorCode, type ContractIdentity, ContractRegistry, type ContractRegistryEntry, type ContractSchema, type CoverageBoundaryReport, DEFAULT_INBOX_RELATIVE_PATH, DEFAULT_MAX_CHARS, DEFAULT_SCHEMA, type DeclaredVerificationReference, type DiscoverOptions, E2E_NORMALIZER_CONFIG, type E2eCoverageStats, type E2eCoverageThresholds, type E2eRegistry, type E2eRegistryBatch, type E2eRunnerConfig, type E2eWaiver, type Evidence, type EvidenceObject, type ExecutorType, type ExternalEntryInfo, FILE_SET_RESULT_OBJECT, FOUNDATION_PACKAGE_NAME, type FileSnapshot, type Finding, type FindingLocation, type FindingSeverity, type FindingStatus, type FoundationModule, GRAPH_DOMAIN_CODES, GRAPH_PROVIDER_ENTRY, GRAPH_PROVIDER_ID, type GitChangeMode, type GitChangeResult, type GitHookName, type GraphDomainCode, type HookInstallResult, type ImpactEdgeRef, type ImpactMode, type ImpactNodeRef, type ImpactOptions, type ImpactReport, type ImplementationBlueprintDraft, type ImplementationPacket, type ImplementationSurfaceConfig, type InboxIdea, type InboxIdeaStatus, type InboxMatchCandidate, type InboxMatchKind, type LegacyFieldMapping, type ListInboxIdeasOptions, type ListInboxIdeasResult, type LoadContractOptions, MIN_PROMPT_CHARS, type ManagedHookBlockOptions, type MatchInboxIdeaOptions, type MatchInboxIdeaResult, type MissingDetail, type NodeTimeView, type NormalizationResult, type NormalizerConfig, PORTFOLIO_ALLOCATIONS_PATH, PROFESSIONAL_CONCLUSION_OBJECT, type PacketAuditEntry, type PacketAuditSummary, type PacketCategory, type PacketItem, type PacketOmittedItem, type PacketOptions, type PacketPromptError, type PacketPromptOptions, type PacketTarget, type PacketTargetType, type PacketValidationIssue, type PacketValidationResult, type PartialSupersedeAnnotation, type PolicyCompatibilityResult, type PortfolioAllocationCheckDetail, type PortfolioAllocationEntry, type PortfolioAllocationItem, type PortfolioAllocationsFile, type PortfolioDisposition, type PortfolioItemEvaluation, type PortfolioSatisfactionStatus, type PreparedManagedHookBlock, type Producer, type ProfessionalConclusion, type ProjectConfigDiagnosis, type ProjectPolicy, type PromptValidationIssue, type PromptValidationResult, type ProofReadResult, type ProofReadStatus, type QueryOptions, RESTRUCTURE_MAX_OPERATIONS, RESTRUCTURE_MAX_TOTAL_BYTES, RESTRUCTURE_PLAN_SCHEMA_VERSION, RESTRUCTURE_QUALIFIED_ARCH, RESTRUCTURE_QUALIFIED_FILESYSTEM, RESTRUCTURE_QUALIFIED_PLATFORM, RESTRUCTURE_RECOVERY_JOURNAL_REL_PATH, RESTRUCTURE_RECOVERY_REL_PATH, RESTRUCTURE_RECOVERY_ROOT_MODE, RESTRUCTURE_VALIDATION_TIMEOUT_MS, type ReadProofOptions, type RecordBoundaryResult, type RefreshBidirectionalAlignmentResult, type RelationSemanticsSpec, type RepairData, type RepairValidation, type ResolveArtifactGraphCliOptions, type RestructureApplyInput, type RestructureBoundaryLimits, type RestructureCandidate, type RestructureFileSetApplyOptions, type RestructureFinding, type RestructureInspection, type RestructureMaintenanceOptions, type RestructureMapping, type RestructureMechanismProjection, type RestructureMechanismQualification, type RestructureMechanismRootOptions, type RestructureOperationBoundary, type RestructurePlan, type RestructurePlanDocument, type RestructurePlanOperation, type RestructurePruneInput, type RestructureRecoveryInput, type RestructureRequest, type RestructureResult, type RestructureValidationCallback, type ReviewData, type ReviewDecision, type ReviewMetrics, type ReviewOrderStep, type ReviewResult, type ReviewStatus, type RiskChecklistItem, SPECIALIZED_PARSER_TYPES, type ScanArtifactsOptions, type SchemaValidationResult, TARGET_ARTIFACT_TYPES, type TargetArtifactType, type TimeBucket, type TimeView, type TraceVersionResult, UPSTREAM_BINDINGS_PATH, type UninstallManagedHookBlockOptions, type UpstreamBindingEntry, type UpstreamBindingsFile, VALID_PACKET_TARGET_TYPES, VERSION_INDEX_SCHEMA_VERSION, VERSION_LOCK_PATH, VERSION_LOCK_SCHEMA_VERSION, type ValidateReviewResultOptions, type ValidationError, type ValidationIssue, type VersionEdgeKind, type VersionIndex, type VersionLockAuditMarkdownOptions, type VersionLockAuditResult, type VersionLockBootstrapOptions, type VersionLockEntry, type VersionLockFile, type VersionLockIssue, type VersionLockIssueSeverity, type VersionLockRef, type VersionLockRefreshOptions, type VersionLockRefreshResult, type VersionLockSourceRef, type VersionLockStatus, type VersionLockUpdateOptions, type VersionSourceKind, type VersionedEdge, type VersionedNode, type ViewExcludedNode, type ViewSelection, addInboxIdea, applyPreparedManagedHookBlocks, applyRestructure, applyRestructureFileSet, assemblePacket, auditBidirectionalAlignment, auditPackets, auditVersionLock, bootstrapVersionLock, buildFileSetApplyRequest, buildGraph, buildVersionIndex, candidateByteDigest, collectChangedPaths, computeCoverageBoundary, computeE2eCoverageStats, computeImpact, computeRevisionDigest, createModeForUmask, createRestructureRootBinding, createRestructureValidationCallback, diagnoseConfigDocument, diagnoseProjectConfig, digestRestructureValue, discoverAndAuditPackets, discoverTargets, doctorArtifactChain, ensureRestructureMechanismRoot, extractInformativeTerms, filterGraphByView, formatContextMarkdown, gateRestructureOperationPlan, generateE2eRegistry, getArtifactTypeMetadata, getConfigDiagnostics, getExternalEntryInfo, getTargetArtifactTypes, inspectRestructure, installManagedHookBlock, isOfficialNamespace, isPacketTargetType, isPacketTargetTypeDynamic, isTargetArtifactType, isVersionLockIssueBlocking, listInboxIdeas, loadConfig, loadContract, loadContractCatalog, loadContractsFromDirectory, loadFoundationModule, locateSoftwareRecord, markdownRecordHeadings, matchInboxIdea, matchesConfiguredArtifactPath, nextId, normalizeE2eLegacyArtifact, normalizeSha256Digest, normalizeToCanonical, observeRestructureJournal, parseSafeFrontmatter, parseTargetSelector, parseTargetsFile, planRestructure, planningUmask, prepareManagedHookBlock, projectRestructureFileSetResult, pruneRestructureFileSet, pruneRestructureRecovery, qualifyRestructureMechanism, queryGraph, readInboxIdeasFile, recoverRestructure, recoverRestructureFileSet, refreshBidirectionalAlignmentLocks, refreshVersionLock, renderBidirectionalAlignmentAuditMarkdown, renderBidirectionalAlignmentLockMarkdown, renderCoverageBoundaryMarkdown, renderDoctorMarkdown, renderImpactMarkdown, renderInboxAddMarkdown, renderInboxListMarkdown, renderInboxMatchMarkdown, renderMermaid, renderPacketMarkdown, renderPacketPrompt, renderTraceVersionMarkdown, renderVersionLockAuditMarkdown, renderVersionLockRefreshMarkdown, replaceSoftwareHeader, resolveArtifactContext, resolveArtifactGraphCli, resolveArtifactTypeName, resolveCliTarget, resolveGitHookPath, resolveInboxFilePath, resolveMatrixEdges, resolveNodeTimeView, resolveRealRoot, restructureBoundaryFindings, runCheckProfessional, runReadProof, scanArtifacts, traceVersion, uninstallManagedHookBlock, updateVersionLock, validateContractAgainstSchema, validateExecutableTraceability, validateGraph, validateNamespaceAuthority, validatePacket, validatePacketMarkdown, validatePacketPrompt, validatePolicyCompatibility, validateReviewResult, validateScenarioPrdLinkIndex, validateScenarioPrdLinks, verifyDigest, verifyMechanismResult, versionLockIssueSeverity, writeGraphCache };
|