@specatlas/core 0.1.26 → 0.1.28
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.d.ts +177 -3
- package/dist/index.js +833 -224
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -44,8 +44,41 @@ interface Scenario {
|
|
|
44
44
|
reqId: string;
|
|
45
45
|
when: string[];
|
|
46
46
|
then: string[];
|
|
47
|
+
contracts?: string[];
|
|
47
48
|
line: number;
|
|
48
49
|
}
|
|
50
|
+
type ContractFormat = 'openapi' | 'graphql' | 'protobuf' | 'unsupported';
|
|
51
|
+
interface ContractOperation {
|
|
52
|
+
id: string;
|
|
53
|
+
kind: ContractFormat;
|
|
54
|
+
file: string;
|
|
55
|
+
line: number;
|
|
56
|
+
}
|
|
57
|
+
interface ContractFile {
|
|
58
|
+
path: string;
|
|
59
|
+
format: ContractFormat;
|
|
60
|
+
operations: ContractOperation[];
|
|
61
|
+
}
|
|
62
|
+
interface ContractsState {
|
|
63
|
+
files: ContractFile[];
|
|
64
|
+
operations: ContractOperation[];
|
|
65
|
+
findings: Diagnostic[];
|
|
66
|
+
}
|
|
67
|
+
interface LinkEntry {
|
|
68
|
+
name: string;
|
|
69
|
+
path: string;
|
|
70
|
+
}
|
|
71
|
+
interface LinkStatus extends LinkEntry {
|
|
72
|
+
available: boolean;
|
|
73
|
+
requirements: number;
|
|
74
|
+
domains: string[];
|
|
75
|
+
error?: string;
|
|
76
|
+
}
|
|
77
|
+
interface LinksState {
|
|
78
|
+
entries: LinkStatus[];
|
|
79
|
+
specs: SpecRef[];
|
|
80
|
+
unavailable: string[];
|
|
81
|
+
}
|
|
49
82
|
interface Requirement {
|
|
50
83
|
id: string;
|
|
51
84
|
title: string;
|
|
@@ -195,6 +228,17 @@ interface MockupManifest {
|
|
|
195
228
|
tokens?: string;
|
|
196
229
|
screens: MockupScreen[];
|
|
197
230
|
}
|
|
231
|
+
interface ClarifyItem {
|
|
232
|
+
text: string;
|
|
233
|
+
line: number;
|
|
234
|
+
answer?: string;
|
|
235
|
+
}
|
|
236
|
+
interface ClarifyFile {
|
|
237
|
+
path: string;
|
|
238
|
+
open: ClarifyItem[];
|
|
239
|
+
resolved: ClarifyItem[];
|
|
240
|
+
diagnostics: Diagnostic[];
|
|
241
|
+
}
|
|
198
242
|
interface Change {
|
|
199
243
|
slug: string;
|
|
200
244
|
dir: string;
|
|
@@ -204,6 +248,10 @@ interface Change {
|
|
|
204
248
|
verify?: VerifyFile;
|
|
205
249
|
fix?: VerifyFile;
|
|
206
250
|
fixCovers?: string[];
|
|
251
|
+
clarify?: ClarifyFile;
|
|
252
|
+
clarifyPath?: string;
|
|
253
|
+
docsPaths?: string[];
|
|
254
|
+
contracts?: ContractsState;
|
|
207
255
|
planPath?: string;
|
|
208
256
|
reviewPath?: string;
|
|
209
257
|
presentationPath?: string;
|
|
@@ -220,7 +268,8 @@ interface Workspace {
|
|
|
220
268
|
sddDir: string;
|
|
221
269
|
specs: SpecRef[];
|
|
222
270
|
changes: Change[];
|
|
223
|
-
archived
|
|
271
|
+
archived: Change[];
|
|
272
|
+
links?: LinksState;
|
|
224
273
|
diagnostics: Diagnostic[];
|
|
225
274
|
}
|
|
226
275
|
|
|
@@ -295,6 +344,27 @@ declare const atlasConfigSchema: z.ZodObject<{
|
|
|
295
344
|
}, {
|
|
296
345
|
mode?: "off" | "advisory" | "blocking" | undefined;
|
|
297
346
|
}>>;
|
|
347
|
+
clarify: z.ZodDefault<z.ZodObject<{
|
|
348
|
+
mode: z.ZodDefault<z.ZodEnum<["off", "advisory", "blocking"]>>;
|
|
349
|
+
}, "strip", z.ZodTypeAny, {
|
|
350
|
+
mode: "off" | "advisory" | "blocking";
|
|
351
|
+
}, {
|
|
352
|
+
mode?: "off" | "advisory" | "blocking" | undefined;
|
|
353
|
+
}>>;
|
|
354
|
+
docs: z.ZodDefault<z.ZodObject<{
|
|
355
|
+
mode: z.ZodDefault<z.ZodEnum<["off", "advisory", "blocking"]>>;
|
|
356
|
+
}, "strip", z.ZodTypeAny, {
|
|
357
|
+
mode: "off" | "advisory" | "blocking";
|
|
358
|
+
}, {
|
|
359
|
+
mode?: "off" | "advisory" | "blocking" | undefined;
|
|
360
|
+
}>>;
|
|
361
|
+
contracts: z.ZodDefault<z.ZodObject<{
|
|
362
|
+
mode: z.ZodDefault<z.ZodEnum<["off", "advisory", "blocking"]>>;
|
|
363
|
+
}, "strip", z.ZodTypeAny, {
|
|
364
|
+
mode: "off" | "advisory" | "blocking";
|
|
365
|
+
}, {
|
|
366
|
+
mode?: "off" | "advisory" | "blocking" | undefined;
|
|
367
|
+
}>>;
|
|
298
368
|
mockup: z.ZodDefault<z.ZodObject<{
|
|
299
369
|
require_approval: z.ZodDefault<z.ZodBoolean>;
|
|
300
370
|
compare_in_verify: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -319,6 +389,15 @@ declare const atlasConfigSchema: z.ZodObject<{
|
|
|
319
389
|
review: {
|
|
320
390
|
mode: "off" | "advisory" | "blocking";
|
|
321
391
|
};
|
|
392
|
+
clarify: {
|
|
393
|
+
mode: "off" | "advisory" | "blocking";
|
|
394
|
+
};
|
|
395
|
+
docs: {
|
|
396
|
+
mode: "off" | "advisory" | "blocking";
|
|
397
|
+
};
|
|
398
|
+
contracts: {
|
|
399
|
+
mode: "off" | "advisory" | "blocking";
|
|
400
|
+
};
|
|
322
401
|
mockup: {
|
|
323
402
|
require_approval: boolean;
|
|
324
403
|
compare_in_verify: boolean;
|
|
@@ -337,6 +416,15 @@ declare const atlasConfigSchema: z.ZodObject<{
|
|
|
337
416
|
review?: {
|
|
338
417
|
mode?: "off" | "advisory" | "blocking" | undefined;
|
|
339
418
|
} | undefined;
|
|
419
|
+
clarify?: {
|
|
420
|
+
mode?: "off" | "advisory" | "blocking" | undefined;
|
|
421
|
+
} | undefined;
|
|
422
|
+
docs?: {
|
|
423
|
+
mode?: "off" | "advisory" | "blocking" | undefined;
|
|
424
|
+
} | undefined;
|
|
425
|
+
contracts?: {
|
|
426
|
+
mode?: "off" | "advisory" | "blocking" | undefined;
|
|
427
|
+
} | undefined;
|
|
340
428
|
mockup?: {
|
|
341
429
|
require_approval?: boolean | undefined;
|
|
342
430
|
compare_in_verify?: boolean | undefined;
|
|
@@ -452,6 +540,15 @@ declare const atlasConfigSchema: z.ZodObject<{
|
|
|
452
540
|
review: {
|
|
453
541
|
mode: "off" | "advisory" | "blocking";
|
|
454
542
|
};
|
|
543
|
+
clarify: {
|
|
544
|
+
mode: "off" | "advisory" | "blocking";
|
|
545
|
+
};
|
|
546
|
+
docs: {
|
|
547
|
+
mode: "off" | "advisory" | "blocking";
|
|
548
|
+
};
|
|
549
|
+
contracts: {
|
|
550
|
+
mode: "off" | "advisory" | "blocking";
|
|
551
|
+
};
|
|
455
552
|
mockup: {
|
|
456
553
|
require_approval: boolean;
|
|
457
554
|
compare_in_verify: boolean;
|
|
@@ -515,6 +612,15 @@ declare const atlasConfigSchema: z.ZodObject<{
|
|
|
515
612
|
review?: {
|
|
516
613
|
mode?: "off" | "advisory" | "blocking" | undefined;
|
|
517
614
|
} | undefined;
|
|
615
|
+
clarify?: {
|
|
616
|
+
mode?: "off" | "advisory" | "blocking" | undefined;
|
|
617
|
+
} | undefined;
|
|
618
|
+
docs?: {
|
|
619
|
+
mode?: "off" | "advisory" | "blocking" | undefined;
|
|
620
|
+
} | undefined;
|
|
621
|
+
contracts?: {
|
|
622
|
+
mode?: "off" | "advisory" | "blocking" | undefined;
|
|
623
|
+
} | undefined;
|
|
518
624
|
mockup?: {
|
|
519
625
|
require_approval?: boolean | undefined;
|
|
520
626
|
compare_in_verify?: boolean | undefined;
|
|
@@ -803,6 +909,8 @@ declare function parseApprovals(raw: string, filePath: string): {
|
|
|
803
909
|
diagnostics: Diagnostic[];
|
|
804
910
|
};
|
|
805
911
|
|
|
912
|
+
declare function parseClarify(content: string, filePath: string): ClarifyFile;
|
|
913
|
+
|
|
806
914
|
interface GlossaryTerm {
|
|
807
915
|
term: string;
|
|
808
916
|
definition: string;
|
|
@@ -830,6 +938,8 @@ interface ImpactReport {
|
|
|
830
938
|
target: string;
|
|
831
939
|
kind: 'requirement' | 'file';
|
|
832
940
|
exists: boolean;
|
|
941
|
+
external?: boolean;
|
|
942
|
+
origin?: string;
|
|
833
943
|
scenarios: string[];
|
|
834
944
|
tasks: ImpactTask[];
|
|
835
945
|
requirements: string[];
|
|
@@ -880,6 +990,10 @@ interface TraceInput {
|
|
|
880
990
|
specs: SpecRef[];
|
|
881
991
|
change: Change;
|
|
882
992
|
requireEvidence: boolean;
|
|
993
|
+
linked?: {
|
|
994
|
+
ids: string[];
|
|
995
|
+
unavailable: string[];
|
|
996
|
+
};
|
|
883
997
|
}
|
|
884
998
|
declare function buildTraceGraph(input: TraceInput): TraceGraph;
|
|
885
999
|
declare function checkTrace(input: TraceInput): TraceResult;
|
|
@@ -910,7 +1024,7 @@ declare function planWaves(tasks: TasksFile, opts?: {
|
|
|
910
1024
|
}): WavePlan;
|
|
911
1025
|
declare function planBlock(block: TaskBlock, maxParallel: number): BlockWavePlan;
|
|
912
1026
|
|
|
913
|
-
type ChangeState = 'draft' | 'spec_draft' | 'awaiting_mockups' | 'awaiting_approval' | 'approved' | 'planned' | 'building' | 'built' | 'verified' | 'ready' | 'archived';
|
|
1027
|
+
type ChangeState = 'draft' | 'spec_draft' | 'awaiting_mockups' | 'awaiting_approval' | 'approved' | 'planned' | 'building' | 'built' | 'verified' | 'reviewed' | 'ready' | 'archived';
|
|
914
1028
|
interface NextAction {
|
|
915
1029
|
command: string;
|
|
916
1030
|
description: string;
|
|
@@ -946,6 +1060,9 @@ interface DeriveInput {
|
|
|
946
1060
|
specContent?: string;
|
|
947
1061
|
}
|
|
948
1062
|
declare function requiresMockups(meta: ChangeMeta | undefined, cfg: AtlasConfig): boolean;
|
|
1063
|
+
declare function docsReady(change: Change): boolean;
|
|
1064
|
+
declare function clarifyAdvisory(change: Change, cfg: AtlasConfig): Diagnostic[];
|
|
1065
|
+
declare function docsAdvisory(change: Change, cfg: AtlasConfig): Diagnostic[];
|
|
949
1066
|
declare function deriveState(input: DeriveInput): DerivedState;
|
|
950
1067
|
declare function stateLabel(state: ChangeState): string;
|
|
951
1068
|
|
|
@@ -1125,6 +1242,8 @@ interface TemplateSet {
|
|
|
1125
1242
|
tasks: string;
|
|
1126
1243
|
verify: string;
|
|
1127
1244
|
fix: string;
|
|
1245
|
+
docTecnica: string;
|
|
1246
|
+
docManual: string;
|
|
1128
1247
|
}
|
|
1129
1248
|
declare function templatesFor(language: Language): TemplateSet;
|
|
1130
1249
|
declare function renderTemplate(template: string, vars: Record<string, string>): string;
|
|
@@ -1829,6 +1948,61 @@ interface WriteLivingFixResult {
|
|
|
1829
1948
|
}
|
|
1830
1949
|
declare function writeLivingFix(root: string, input: WriteLivingFixInput): Promise<WriteLivingFixResult>;
|
|
1831
1950
|
|
|
1951
|
+
declare const CONTRACTS_DIR = "contracts";
|
|
1952
|
+
declare function formatOf(file: string, content: string): ContractFormat;
|
|
1953
|
+
declare function parseContract(file: string, content: string): ContractFile & {
|
|
1954
|
+
findings: Diagnostic[];
|
|
1955
|
+
};
|
|
1956
|
+
declare function loadContracts(changeDir: string): Promise<ContractsState>;
|
|
1957
|
+
declare function contractCoverage(change: Change, mode: AtlasConfig['gates']['contracts']['mode']): Diagnostic[];
|
|
1958
|
+
declare function contractsAdvisory(change: Change, cfg: AtlasConfig): Diagnostic[];
|
|
1959
|
+
|
|
1960
|
+
declare const LINKS_FILE = "links.yaml";
|
|
1961
|
+
declare function resolveLinkPath(root: string, linkPath: string): string;
|
|
1962
|
+
declare function loadLinks(root: string): Promise<LinksState>;
|
|
1963
|
+
interface AddLinkResult {
|
|
1964
|
+
entry?: LinkEntry;
|
|
1965
|
+
diagnostics: Diagnostic[];
|
|
1966
|
+
}
|
|
1967
|
+
declare function addLink(root: string, opts: {
|
|
1968
|
+
path: string;
|
|
1969
|
+
name?: string;
|
|
1970
|
+
}): Promise<AddLinkResult>;
|
|
1971
|
+
interface RemoveLinkResult {
|
|
1972
|
+
removed?: string;
|
|
1973
|
+
diagnostics: Diagnostic[];
|
|
1974
|
+
}
|
|
1975
|
+
declare function removeLink(root: string, ref: string): Promise<RemoveLinkResult>;
|
|
1976
|
+
declare function linkedRequirementIds(state: LinksState | undefined): string[];
|
|
1977
|
+
declare function linkedTraceInput(workspace: {
|
|
1978
|
+
links?: LinksState;
|
|
1979
|
+
}): {
|
|
1980
|
+
ids: string[];
|
|
1981
|
+
unavailable: string[];
|
|
1982
|
+
} | undefined;
|
|
1983
|
+
declare function ensureLinksFile(root: string): Promise<void>;
|
|
1984
|
+
|
|
1985
|
+
type DocsTipo = 'tecnica' | 'manual' | 'all';
|
|
1986
|
+
declare const DOCS_MARKER_START = "<!-- specatlas:generado:inicio -->";
|
|
1987
|
+
declare const DOCS_MARKER_END = "<!-- specatlas:generado:fin -->";
|
|
1988
|
+
interface GenerateDocsOptions {
|
|
1989
|
+
root: string;
|
|
1990
|
+
slug: string;
|
|
1991
|
+
tipo?: DocsTipo;
|
|
1992
|
+
now?: Date;
|
|
1993
|
+
}
|
|
1994
|
+
interface GeneratedDoc {
|
|
1995
|
+
tipo: 'tecnica' | 'manual';
|
|
1996
|
+
path: string;
|
|
1997
|
+
created: boolean;
|
|
1998
|
+
}
|
|
1999
|
+
interface GenerateDocsResult {
|
|
2000
|
+
slug: string;
|
|
2001
|
+
files: GeneratedDoc[];
|
|
2002
|
+
diagnostics: Diagnostic[];
|
|
2003
|
+
}
|
|
2004
|
+
declare function generateDocs(opts: GenerateDocsOptions): Promise<GenerateDocsResult>;
|
|
2005
|
+
|
|
1832
2006
|
declare const SARIF_SCHEMA = "https://json.schemastore.org/sarif-2.1.0.json";
|
|
1833
2007
|
declare const SARIF_VERSION = "2.1.0";
|
|
1834
2008
|
declare const TOOL_NAME = "SpecAtlas";
|
|
@@ -1928,4 +2102,4 @@ declare function livingRequirementsMap(specs: Array<{
|
|
|
1928
2102
|
}>): Map<string, Requirement>;
|
|
1929
2103
|
declare function runCiGate(opts: CiOptions): Promise<CiResult>;
|
|
1930
2104
|
|
|
1931
|
-
export { type AdoptDomain, type AdoptOptions, type AdoptResult, type AgingBucket, type AnalyzeOptions, type AnalyzePackSummary, type AnalyzeResult, type Approval, type ApprovalStatus, type ApprovalsFile, type ApprovalsIndex, type ApproveFromGithubOptions, type ApproveFromGithubResult, type ArchiveOptions, type ArchiveResult, type AtlasConfig, type AttentionItem, BACKUP_DIRNAME, BACKUP_POINTER, BLOCK_HEAD_RE, BUILTIN_PACKS, type BlockWavePlan, CONFIG_FILE, CORE_VERSION, type CaptureResult, type Change, type ChangeMeta, type ChangeMetrics, type ChangeState, type CiCheck, type CiExtraCheck, type CiOptions, type CiResult, type Delta, type DeltaOp, type DeriveInput, type DerivedState, type DetectionResult, type Diagnostic, type DoctorReport, type Domain, type Evidence, type EvidenceMethod, type EvidenceResult, type ExecOptions, type ExecResult, type FoldOutcome, type FrontmatterResult, type GhRunner, type GitHubRepo, type GlossaryTerm, type ImpactEvidence, type ImpactReport, type ImpactTask, type InitOptions, type InitResult, type IssueBodyInput, LIVING_FIXES_DIR, type Lane, type Language, type LinkedIssue, type LintOptions, type LivingFix, type LoadedConfig, type MigrationSpec, type MockupCheckResult, type MockupManifest, type MockupPlan, type MockupPlanScreen, type MockupScreen, type MoveOps, type NewChangeOptions, type NewChangeResult, type NextAction, type Override, type Pack, type PackCheck, type PackCheckResult, type PackCheckType, type PackEvaluation, type ParsedGlossary, type PresentOptions, type PresentResult, type ProfileMatch, REQ_HEAD_RE, REQ_ID_RE, RULE_ID_RE, RULE_RE, RUN_EVENT_TYPES, type RecordEvidenceOptions, type RecordEvidenceResult, type Rename, type Requirement, type RiskLevel, type Rule, type RunEvent, type RunEventType, type RunRecord, type RunState, type RunStatus, SARIF_SCHEMA, SARIF_VERSION, SCENARIO_HEAD_RE, SCENARIO_ID_RE, SCHEMA_MIGRATIONS, SCHEMA_VERSION, SDD_DIR, SLUG_RE, type SarifLocation, type SarifOptions, type SarifReport, type SarifResult, type SarifRule, type Scenario, type Severity, type SignApprovalOptions, type SignApprovalResult, type SpecFile, type SpecRef, type StackProfile, type SyncGithubOptions, type SyncGithubResult, TASK_ID_RE, TASK_LINE_RE, TOOL_NAME, TOOL_URL, type Task, type TaskBlock, type TasksFile, type TemplateSet, type TraceEdge, type TraceFinding, type TraceGraph, type TraceInput, type TraceNode, type TraceResult, type UpgradeAdvisory, type UpgradeApplyReport, type UpgradeBackupInfo, type UpgradeIssue, type UpgradeItem, type UpgradePlan, type UpgradeRollbackReport, type VerifyFile, type WalkEntry, type WavePlan, type Workspace, type WorkspaceMetrics, type WriteLivingFixInput, type WriteLivingFixResult, adoptWorkspace, appendRunEvent, applyUpgrade, approvalsSchema, approveFromGithub, archiveChange, artifactHash, atlasConfigSchema, buildTraceGraph, canonicalizeMarkdown, captureMockups, changeMarker, changeMetaSchema, changeMetaYaml, checkMockups, checkTrace, collectMetrics, collectVersionedArtifacts, commentIssue, compareTaskIds, computeInputsHash, configToYaml, copyFile, countBySeverity, createChange, createIssue, createRun, defaultConfig, deriveState, detectProfiles, detectRepo, detectionToYaml, diag, editIssue, emitFrontmatter, ensureDir, ensureSddDirs, esc, evaluatePacks, evidenceSummary, exists, findLinkedIssue, findWorkspaceRoot, firstToken, foldDelta, generatePresentation, generateRunId, getNumber, getString, ghAuthStatus, ghAvailable, hasErrors, hasShellMetacharacters, impactOfFile, impactOfRequirement, indexMarkdown, initWorkspace, inline, isCommandAllowed, isDirectory, issueBody, issueLabels, laneOrDefault, lintDelta, lintMockupHtml, lintMockupManifest, lintPlan, lintRequirement, lintSpec, lintTasks, lintVerify, listChangeSlugs, listDir, listDirs, listRuns, livingRequirementsMap, loadActiveProfile, loadApprovals, loadChange, loadConfig, loadDetectedBest, loadLivingFixes, loadProfileFile, loadProfilesFromDir, loadProjectPacks, loadSpecs, loadWorkspace, localCompact, localDate, localMonth, localOffset, localStamp, matchGlob, mockupManifestSchema, mockupsDir, mockupsReady, moveDirectory, packFindings, parseApprovals, parseChangeMeta, parseConfig, parseDelta, parseFixCovers, parseFrontmatter, parseGitHubRemote, parseGlossary, parseIssueUrl, parseLivingFix, parseRequirementBlocks, parseSpecFile, parseTasksFile, parseVerifyFile, patchChangeMeta, planBlock, planMockups, planUpgrade, planWaves, profileSchema, readArtifactVersion, readMockupManifest, readRun, readText, readTextIfExists, recordEvidence, regenerateIndex, renderMarkdown, renderRequirement, renderTemplate, requiresMockups, resolvePacks, rollbackUpgrade, ruleDescription, runAnalyze, runCiGate, runDoctor, runProcess, sarifLevel, setMockupRequirement, sha256, shortHash, signApproval, specHashOf, splitCommand, stampSchemaVersion, stateLabel, syncGithubIssue, templatesFor, toPosix, toSarifReport, toSarifText, tokensFile, updateMockupScreenshots, updateRunStatus, upgradeAdvisory, verifyApproval, walkFiles, writeConfig, writeLivingFix, writeMockupManifest, writeMockupPlan, writeText };
|
|
2105
|
+
export { type AddLinkResult, type AdoptDomain, type AdoptOptions, type AdoptResult, type AgingBucket, type AnalyzeOptions, type AnalyzePackSummary, type AnalyzeResult, type Approval, type ApprovalStatus, type ApprovalsFile, type ApprovalsIndex, type ApproveFromGithubOptions, type ApproveFromGithubResult, type ArchiveOptions, type ArchiveResult, type AtlasConfig, type AttentionItem, BACKUP_DIRNAME, BACKUP_POINTER, BLOCK_HEAD_RE, BUILTIN_PACKS, type BlockWavePlan, CONFIG_FILE, CONTRACTS_DIR, CORE_VERSION, type CaptureResult, type Change, type ChangeMeta, type ChangeMetrics, type ChangeState, type CiCheck, type CiExtraCheck, type CiOptions, type CiResult, type ClarifyFile, type ClarifyItem, type ContractFile, type ContractFormat, type ContractOperation, type ContractsState, DOCS_MARKER_END, DOCS_MARKER_START, type Delta, type DeltaOp, type DeriveInput, type DerivedState, type DetectionResult, type Diagnostic, type DocsTipo, type DoctorReport, type Domain, type Evidence, type EvidenceMethod, type EvidenceResult, type ExecOptions, type ExecResult, type FoldOutcome, type FrontmatterResult, type GenerateDocsOptions, type GenerateDocsResult, type GeneratedDoc, type GhRunner, type GitHubRepo, type GlossaryTerm, type ImpactEvidence, type ImpactReport, type ImpactTask, type InitOptions, type InitResult, type IssueBodyInput, LINKS_FILE, LIVING_FIXES_DIR, type Lane, type Language, type LinkEntry, type LinkStatus, type LinkedIssue, type LinksState, type LintOptions, type LivingFix, type LoadedConfig, type MigrationSpec, type MockupCheckResult, type MockupManifest, type MockupPlan, type MockupPlanScreen, type MockupScreen, type MoveOps, type NewChangeOptions, type NewChangeResult, type NextAction, type Override, type Pack, type PackCheck, type PackCheckResult, type PackCheckType, type PackEvaluation, type ParsedGlossary, type PresentOptions, type PresentResult, type ProfileMatch, REQ_HEAD_RE, REQ_ID_RE, RULE_ID_RE, RULE_RE, RUN_EVENT_TYPES, type RecordEvidenceOptions, type RecordEvidenceResult, type RemoveLinkResult, type Rename, type Requirement, type RiskLevel, type Rule, type RunEvent, type RunEventType, type RunRecord, type RunState, type RunStatus, SARIF_SCHEMA, SARIF_VERSION, SCENARIO_HEAD_RE, SCENARIO_ID_RE, SCHEMA_MIGRATIONS, SCHEMA_VERSION, SDD_DIR, SLUG_RE, type SarifLocation, type SarifOptions, type SarifReport, type SarifResult, type SarifRule, type Scenario, type Severity, type SignApprovalOptions, type SignApprovalResult, type SpecFile, type SpecRef, type StackProfile, type SyncGithubOptions, type SyncGithubResult, TASK_ID_RE, TASK_LINE_RE, TOOL_NAME, TOOL_URL, type Task, type TaskBlock, type TasksFile, type TemplateSet, type TraceEdge, type TraceFinding, type TraceGraph, type TraceInput, type TraceNode, type TraceResult, type UpgradeAdvisory, type UpgradeApplyReport, type UpgradeBackupInfo, type UpgradeIssue, type UpgradeItem, type UpgradePlan, type UpgradeRollbackReport, type VerifyFile, type WalkEntry, type WavePlan, type Workspace, type WorkspaceMetrics, type WriteLivingFixInput, type WriteLivingFixResult, addLink, adoptWorkspace, appendRunEvent, applyUpgrade, approvalsSchema, approveFromGithub, archiveChange, artifactHash, atlasConfigSchema, buildTraceGraph, canonicalizeMarkdown, captureMockups, changeMarker, changeMetaSchema, changeMetaYaml, checkMockups, checkTrace, clarifyAdvisory, collectMetrics, collectVersionedArtifacts, commentIssue, compareTaskIds, computeInputsHash, configToYaml, contractCoverage, contractsAdvisory, copyFile, countBySeverity, createChange, createIssue, createRun, defaultConfig, deriveState, detectProfiles, detectRepo, detectionToYaml, diag, docsAdvisory, docsReady, editIssue, emitFrontmatter, ensureDir, ensureLinksFile, ensureSddDirs, esc, evaluatePacks, evidenceSummary, exists, findLinkedIssue, findWorkspaceRoot, firstToken, foldDelta, formatOf, generateDocs, generatePresentation, generateRunId, getNumber, getString, ghAuthStatus, ghAvailable, hasErrors, hasShellMetacharacters, impactOfFile, impactOfRequirement, indexMarkdown, initWorkspace, inline, isCommandAllowed, isDirectory, issueBody, issueLabels, laneOrDefault, linkedRequirementIds, linkedTraceInput, lintDelta, lintMockupHtml, lintMockupManifest, lintPlan, lintRequirement, lintSpec, lintTasks, lintVerify, listChangeSlugs, listDir, listDirs, listRuns, livingRequirementsMap, loadActiveProfile, loadApprovals, loadChange, loadConfig, loadContracts, loadDetectedBest, loadLinks, loadLivingFixes, loadProfileFile, loadProfilesFromDir, loadProjectPacks, loadSpecs, loadWorkspace, localCompact, localDate, localMonth, localOffset, localStamp, matchGlob, mockupManifestSchema, mockupsDir, mockupsReady, moveDirectory, packFindings, parseApprovals, parseChangeMeta, parseClarify, parseConfig, parseContract, parseDelta, parseFixCovers, parseFrontmatter, parseGitHubRemote, parseGlossary, parseIssueUrl, parseLivingFix, parseRequirementBlocks, parseSpecFile, parseTasksFile, parseVerifyFile, patchChangeMeta, planBlock, planMockups, planUpgrade, planWaves, profileSchema, readArtifactVersion, readMockupManifest, readRun, readText, readTextIfExists, recordEvidence, regenerateIndex, removeLink, renderMarkdown, renderRequirement, renderTemplate, requiresMockups, resolveLinkPath, resolvePacks, rollbackUpgrade, ruleDescription, runAnalyze, runCiGate, runDoctor, runProcess, sarifLevel, setMockupRequirement, sha256, shortHash, signApproval, specHashOf, splitCommand, stampSchemaVersion, stateLabel, syncGithubIssue, templatesFor, toPosix, toSarifReport, toSarifText, tokensFile, updateMockupScreenshots, updateRunStatus, upgradeAdvisory, verifyApproval, walkFiles, writeConfig, writeLivingFix, writeMockupManifest, writeMockupPlan, writeText };
|