qfai 2.3.0 → 2.4.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/README.md +23 -3
- package/assets/init/.claude/settings.json +35 -1
- package/assets/init/.codex/hooks.json +24 -0
- package/assets/init/.github/instructions/code-review.instructions.md +1 -1
- package/assets/init/.qfai/assistant/agent/architecture-reviewer.md +2 -2
- package/assets/init/.qfai/assistant/agent/fullstack-engineer.md +32 -4
- package/assets/init/.qfai/assistant/agent/implementation-reviewer.md +4 -4
- package/assets/init/.qfai/assistant/agent/product-surface-reviewer.md +7 -3
- package/assets/init/.qfai/assistant/agent/requirements-reviewer.md +2 -2
- package/assets/init/.qfai/assistant/rule/agent-selection.md +1 -1
- package/assets/init/.qfai/assistant/rule/communication.md +1 -1
- package/assets/init/.qfai/assistant/rule/constitution.md +77 -242
- package/assets/init/.qfai/assistant/rule/drift-protocol.md +30 -164
- package/assets/init/.qfai/assistant/rule/references/asset-authoring.md +3 -2
- package/assets/init/.qfai/assistant/rule/references/gate-failure-autorepair.md +2 -2
- package/assets/init/.qfai/assistant/rule/references/placeholder-scan.md +2 -3
- package/assets/init/.qfai/assistant/rule/references/reviewer-findings.md +3 -3
- package/assets/init/.qfai/assistant/rule/references/worker-edit-boundary.md +12 -3
- package/assets/init/.qfai/assistant/rule/review-convergence.md +6 -6
- package/assets/init/.qfai/assistant/rule/shared-skill-delegation-baseline.md +6 -6
- package/assets/init/.qfai/assistant/rule/shared-skill-operating-baseline.md +17 -17
- package/assets/init/.qfai/assistant/rule/test-layers.md +1 -1
- package/assets/init/.qfai/assistant/rule/thinking.md +2 -2
- package/assets/init/.qfai/assistant/rule/ui-definition-protocol.md +5 -5
- package/assets/init/.qfai/assistant/rule/ui-procurement.md +1 -1
- package/assets/init/.qfai/assistant/rule/workflow.md +12 -12
- package/assets/init/.qfai/assistant/skill/qfai-configure/SKILL.md +12 -14
- package/assets/init/.qfai/assistant/skill/qfai-discussion/SKILL.md +2 -4
- package/assets/init/.qfai/assistant/skill/qfai-discussion/templates/03_Story-Workshop.md +1 -2
- package/assets/init/.qfai/assistant/skill/qfai-discussion/templates/uiux/50_review_input_bundle.md +4 -3
- package/assets/init/.qfai/assistant/skill/qfai-grill/SKILL.md +1 -3
- package/assets/init/.qfai/assistant/skill/qfai-grilling/SKILL.md +30 -43
- package/assets/init/.qfai/assistant/skill/qfai-grilling/references/confirmation-sheet.md +71 -0
- package/assets/init/.qfai/assistant/skill/qfai-grilling/references/delegated-session.md +18 -1
- package/assets/init/.qfai/assistant/skill/qfai-implement/SKILL.md +2 -4
- package/assets/init/.qfai/assistant/skill/qfai-implement/references/parallelization-policy.md +3 -3
- package/assets/init/.qfai/assistant/skill/qfai-implement/references/ui-affecting.md +35 -2
- package/assets/init/.qfai/assistant/skill/qfai-maintain/SKILL.md +2 -4
- package/assets/init/.qfai/assistant/skill/qfai-migration-v1-to-v2/SKILL.md +0 -2
- package/assets/init/.qfai/assistant/skill/qfai-migration-v1-to-v2/references/migration-guide.md +2 -3
- package/assets/init/.qfai/assistant/skill/qfai-prototyping/SKILL.md +5 -6
- package/assets/init/.qfai/assistant/skill/qfai-prototyping/references/generator-prompt.md +75 -4
- package/assets/init/.qfai/assistant/skill/qfai-prototyping/references/handoff.md +2 -1
- package/assets/init/.qfai/assistant/skill/qfai-prototyping/references/iteration-loop.md +58 -3
- package/assets/init/.qfai/assistant/skill/qfai-prototyping/references/review-payload-schema.md +11 -2
- package/assets/init/.qfai/assistant/skill/qfai-prototyping/references/reviewer-prompt.md +41 -10
- package/assets/init/.qfai/assistant/skill/qfai-run/SKILL.md +7 -8
- package/assets/init/.qfai/assistant/skill/qfai-run/references/extraction.md +12 -7
- package/assets/init/.qfai/assistant/skill/qfai-run/references/stage-points.md +1 -1
- package/assets/init/.qfai/assistant/skill/qfai-sdd/SKILL.md +10 -12
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/concrete-abstract-cycle.md +25 -27
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/contract-artifact-rules.md +8 -10
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/design-anti-patterns.md +36 -3
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/design-md-authoring.md +8 -9
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/requirements-decomposition.md +6 -6
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/sdd-execution-playbook.md +6 -6
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/sdd-phase-checklists.md +5 -5
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/sdd-pre-draft-grilling.md +5 -5
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/sdd-quality-gate.md +3 -3
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/sdd-triage.md +115 -199
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/spec-traceability-rules.md +25 -25
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/ui-contract-guide.md +23 -113
- package/assets/init/.qfai/assistant/skill/qfai-sdd/references/ui-design-contract-normalization.md +2 -2
- package/assets/init/.qfai/assistant/skill/qfai-sdd/templates/contracts/ui-contract.sample.yaml +8 -7
- package/assets/init/.qfai/assistant/skill/qfai-sdd/templates/spec/03_contract/tech.md +1 -0
- package/assets/init/.qfai/assistant/skill/qfai-sdd/templates/spec/decisions/page-NNNN.md +2 -2
- package/assets/init/.qfai/assistant/skill/qfai-sdd/templates/spec/decisions.md +59 -31
- package/assets/init/.qfai/assistant/skill/qfai-sdd/templates/spec/open-questions.md +15 -11
- package/assets/init/.qfai/assistant/skill/qfai-triage/SKILL.md +1 -3
- package/assets/init/.qfai/assistant/skill/qfai-verify/SKILL.md +2 -4
- package/assets/init/.qfai/assistant/skill/qfai-verify/references/verify-output-contract.md +1 -1
- package/assets/init/.qfai/assistant/skill/web-research/SKILL.md +1 -3
- package/assets/init/.qfai/assistant/step/common-design-md/STEP.md +9 -9
- package/assets/init/.qfai/assistant/step/common-gate-run/STEP.md +2 -2
- package/assets/init/.qfai/assistant/step/common-grilling-record/STEP.md +3 -3
- package/assets/init/.qfai/assistant/step/common-policy-check/STEP.md +1 -1
- package/assets/init/.qfai/assistant/step/common-review-cycle/STEP.md +6 -4
- package/assets/init/.qfai/assistant/step/discussion-interview/STEP.md +7 -7
- package/assets/init/.qfai/assistant/step/discussion-pack/STEP.md +43 -0
- package/assets/init/.qfai/assistant/step/implement-acceptance/STEP.md +1 -1
- package/assets/init/.qfai/assistant/step/implement-dep-bump/STEP.md +11 -13
- package/assets/init/.qfai/assistant/step/implement-procedure/STEP.md +1 -1
- package/assets/init/.qfai/assistant/step/implement-regression-fix/STEP.md +2 -2
- package/assets/init/.qfai/assistant/step/implement-scaffold/STEP.md +5 -5
- package/assets/init/.qfai/assistant/step/implement-tdd/STEP.md +7 -8
- package/assets/init/.qfai/assistant/step/maintain-edit/STEP.md +17 -17
- package/assets/init/.qfai/assistant/step/prototyping-grill/STEP.md +1 -1
- package/assets/init/.qfai/assistant/step/prototyping-loop/STEP.md +89 -12
- package/assets/init/.qfai/assistant/step/sdd-contract/STEP.md +16 -15
- package/assets/init/.qfai/assistant/step/sdd-cycle/STEP.md +7 -8
- package/assets/init/.qfai/assistant/step/sdd-flow/STEP.md +25 -4
- package/assets/init/.qfai/assistant/step/sdd-story/STEP.md +6 -6
- package/assets/init/.qfai/assistant/step/sdd-triage/STEP.md +66 -75
- package/assets/init/.qfai/assistant/step/triage-operate/STEP.md +29 -15
- package/assets/init/.qfai/assistant/step/verify-commit/STEP.md +2 -4
- package/assets/init/.qfai/assistant/step/verify-context/STEP.md +1 -1
- package/assets/init/root/.agents/rules/ai-readable-markdown.md +8 -1
- package/assets/init/root/.agents/rules/delegation-steering.md +69 -0
- package/assets/init/root/.agents/rules/grilling.md +72 -43
- package/assets/init/root/.agents/rules/minimal-implementation.md +5 -5
- package/assets/init/root/.agents/rules/reply-forms.md +191 -0
- package/assets/init/root/.agents/rules/session-feedback.md +104 -27
- package/assets/init/root/.agents/rules/user-questions.md +6 -1
- package/assets/init/root/.gitattributes +5 -6
- package/assets/init/root/AGENTS.md +4 -2
- package/assets/mdschema/story/03_contract/tech.mdschema.yml +1 -1
- package/assets/mdschema/story/decisions/page-NNNN.mdschema.yml +3 -3
- package/assets/mdschema/story/decisions.mdschema.yml +4 -4
- package/assets/mdschema/story/open-questions.mdschema.yml +3 -3
- package/assets/schemas/workflow/extraction.schema.json +0 -2
- package/dist/cli/index.cjs +3749 -3029
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.mjs +3718 -3006
- package/dist/cli/index.mjs.map +1 -1
- package/dist/hook/turn-end.cjs +1022 -0
- package/dist/hook/turn-end.cjs.map +1 -0
- package/dist/hook/turn-end.d.cts +2 -0
- package/dist/hook/turn-end.d.ts +2 -0
- package/dist/hook/turn-end.mjs +998 -0
- package/dist/hook/turn-end.mjs.map +1 -0
- package/dist/index.cjs +3626 -3577
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -3
- package/dist/index.d.ts +19 -3
- package/dist/index.mjs +3544 -3498
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/assets/init/.qfai/assistant/skill/qfai-sdd/templates/change-request.md +0 -52
package/dist/index.d.cts
CHANGED
|
@@ -189,6 +189,11 @@ type QfaiForbiddenIdentifier = {
|
|
|
189
189
|
sha256: string;
|
|
190
190
|
byteLength: number;
|
|
191
191
|
};
|
|
192
|
+
type DiagramBudget = {
|
|
193
|
+
nodes: number;
|
|
194
|
+
edges: number;
|
|
195
|
+
};
|
|
196
|
+
declare const DEFAULT_DIAGRAM_BUDGET: DiagramBudget;
|
|
192
197
|
type QfaiValidationConfig = {
|
|
193
198
|
failOn: FailOn;
|
|
194
199
|
/**
|
|
@@ -197,6 +202,12 @@ type QfaiValidationConfig = {
|
|
|
197
202
|
* (QFAI-STORY-016). Unset means no term is checked.
|
|
198
203
|
*/
|
|
199
204
|
staleTerms?: string[];
|
|
205
|
+
/**
|
|
206
|
+
* The largest node and edge counts a Mermaid diagram may have before
|
|
207
|
+
* `qfai validate` warns (QFAI-FLOW-006). A limit left unset is the default
|
|
208
|
+
* of `DEFAULT_DIAGRAM_BUDGET`.
|
|
209
|
+
*/
|
|
210
|
+
diagramBudget?: Partial<DiagramBudget>;
|
|
200
211
|
/** Hash-only identifiers checked against tracked names and current file bytes. */
|
|
201
212
|
forbiddenIdentifiers?: QfaiForbiddenIdentifier[];
|
|
202
213
|
testStrategy: {
|
|
@@ -339,6 +350,13 @@ declare const defaultConfig: QfaiConfig;
|
|
|
339
350
|
declare function getConfigPath(root: string): string;
|
|
340
351
|
declare function findConfigRoot(startDir: string): Promise<ConfigSearchResult>;
|
|
341
352
|
declare function loadConfig(root: string): Promise<ConfigLoadResult>;
|
|
353
|
+
/** The config issue an invalid `workflow.stopGate` raises. */
|
|
354
|
+
declare const STOP_GATE_MESSAGE = "workflow.stopGate must be true or false; an absent key means true.";
|
|
355
|
+
/**
|
|
356
|
+
* Whether the turn-end hook runs the project's turn-end checks, read from the parsed config
|
|
357
|
+
* document. `null` means the value is not a boolean, which the hook treats as `false`.
|
|
358
|
+
*/
|
|
359
|
+
declare function readStopGate(document: unknown): boolean | null;
|
|
342
360
|
declare const WORKFLOW_MODES: readonly ["active", "shadow", "off"];
|
|
343
361
|
/** The config issue an invalid `workflow.mode` raises. */
|
|
344
362
|
declare const WORKFLOW_MODE_MESSAGE = "workflow.mode must be active, shadow or off; an absent key means active.";
|
|
@@ -645,8 +663,6 @@ type ValidationOptions = {
|
|
|
645
663
|
profile?: ValidationProfile;
|
|
646
664
|
platform?: string;
|
|
647
665
|
flowIds?: readonly string[];
|
|
648
|
-
/** A rendered-text file the caller wrote (`--rendered`), compared with the UI contracts in every profile. */
|
|
649
|
-
renderedPath?: string;
|
|
650
666
|
/** Add the time of each finding family to the result (`--timings`). */
|
|
651
667
|
familyTimings?: boolean;
|
|
652
668
|
};
|
|
@@ -1081,4 +1097,4 @@ declare function prepareDocumentAnalysis(root: string, run?: GraphProcess, appro
|
|
|
1081
1097
|
/** Run one ordered spec-to-story migration step from the current project root. */
|
|
1082
1098
|
declare function runMigrationStep(step: number, argv: string[]): Promise<number>;
|
|
1083
1099
|
|
|
1084
|
-
export { ACCEPTED_DRIFT_MESSAGE, AC_GHERKIN_SECTION, ARCHETYPES, ATDD_TEST_KIND_DIRS, type AcceptedDrift, type ApproveExternalProcessing, type Archetype, type AtddTestKind, COLOR_KEYS, type ColorKey, type ConfigLoadResult, type ConfigPathKey, type ConfigSearchResult, DESIGN_MD_SAMPLE_MARKER, DISCUSSION_NON_UI_SURFACES, DISCUSSION_UI_BEARING_SURFACES, type DesignMd, type DesignMdColors, type DesignMdFonts, type DesignMdRadius, type DesignMdShadow, type DocumentPreparation, type ExternalProcessingRequest, FONT_KEYS, type FailOn, type FenceMaskOptions, type FontKey, ID_PREFIXES, type IdFormatPrefix, type IdPrefix, type InstalledOlderThanDeclared, type InvalidIdOccurrence, type Issue, type IssueCategory, type IssueLocation, type IssueSeverity, type OutputFormat, type ParseError, type ParseResult, type QfaiConfig, type QfaiForbiddenIdentifier, type QfaiOutputConfig, type QfaiPaths, type QfaiPrototypingConfig, type QfaiPrototypingExecutionConfig, type QfaiReportConfig, type QfaiUiuxAuditConfig, type QfaiUiuxConfig, type QfaiValidationConfig, RADIUS_KEYS, type RadiusKey, type ReportData, type RunSddPreflightOptions, SHADOW_KEYS, SKIPPED_WORKFLOWS_MESSAGE, type SddPreflightResult, type SddPreflightSource, type SddPreflightStatus, type ShadowKey, type TestFileExtensions, type TestLayerRoots, VISUAL_BROWSER_SURFACES, type ValidationCounts, type ValidationFamilyTiming, type ValidationFamilyTimings, type ValidationIssue, type ValidationOptions, type ValidationProfile, type ValidationResult, type ValidationTimings, type ValidationWaiverAction, type ValidationWaiverDowngradeTo, type ValidationWaiverEntry, type ValidationWaiverMatch, type ValidationWaiverScope, type ValidationWaiverSeverity, type ValidationWaiverSuppressed, type ValidationWaivers, WORKFLOW_MODE_MESSAGE, type WorkflowMode, atddAcceptanceLayerFilter, atddAcceptanceTestGlobs, atddTestKindDirs, classifyAgainstDeclaration, classifyToolLocation, compareInstalledToDeclared, countIssues, createReportData, createTestLayerRoots, defaultConfig, deriveAtddFilePattern, deriveTestFileExtensions, extractAcSpecNumber, extractAllIds, extractBrSpecNumber, extractCapSpecNumber, extractCaseSpecNumber, extractIds, extractInvalidIdOccurrences, extractInvalidIds, extractScSpecNumber, extractSpecNumber, extractUsSpecNumber, findConfigRoot, findDeclaringDir, findLinkingNodeModules, findPackageJsonUpward, formatReportJson, formatReportMarkdown, getConfigPath, isDiscussionUiBearingSurfaceType, isNonUiDiscussionSurface, isOlderVersion, isUnreplacedDesignMdSample, labelCheckTimings, lintSql, loadConfig, locateToolAgainstProject, lowestVersionOfRange, maskFencedCodeBlocks, orderUiuxParts, packageRootProbe, parseDesignMd, prepareDocumentAnalysis, prepareGraphIntegration, reachedThroughLinkedNodeModules, readAcceptedDrift, readDeclaredQfaiRange, readRejectedPrimaryUiContract, readSkippedWorkflows, readTestFileExtensions, readWorkflowMode, renderGraphPreparation, requiresVisualBrowserEvidence, resolvePath, resolveTestKind, resolveToolPackageDir, resolveToolVersion, resolvesThroughOwnNodeModules, runMigrationStep, runSddPreflight, validateContracts, validateDesignMd, validateProject, validateUiContractParse };
|
|
1100
|
+
export { ACCEPTED_DRIFT_MESSAGE, AC_GHERKIN_SECTION, ARCHETYPES, ATDD_TEST_KIND_DIRS, type AcceptedDrift, type ApproveExternalProcessing, type Archetype, type AtddTestKind, COLOR_KEYS, type ColorKey, type ConfigLoadResult, type ConfigPathKey, type ConfigSearchResult, DEFAULT_DIAGRAM_BUDGET, DESIGN_MD_SAMPLE_MARKER, DISCUSSION_NON_UI_SURFACES, DISCUSSION_UI_BEARING_SURFACES, type DesignMd, type DesignMdColors, type DesignMdFonts, type DesignMdRadius, type DesignMdShadow, type DiagramBudget, type DocumentPreparation, type ExternalProcessingRequest, FONT_KEYS, type FailOn, type FenceMaskOptions, type FontKey, ID_PREFIXES, type IdFormatPrefix, type IdPrefix, type InstalledOlderThanDeclared, type InvalidIdOccurrence, type Issue, type IssueCategory, type IssueLocation, type IssueSeverity, type OutputFormat, type ParseError, type ParseResult, type QfaiConfig, type QfaiForbiddenIdentifier, type QfaiOutputConfig, type QfaiPaths, type QfaiPrototypingConfig, type QfaiPrototypingExecutionConfig, type QfaiReportConfig, type QfaiUiuxAuditConfig, type QfaiUiuxConfig, type QfaiValidationConfig, RADIUS_KEYS, type RadiusKey, type ReportData, type RunSddPreflightOptions, SHADOW_KEYS, SKIPPED_WORKFLOWS_MESSAGE, STOP_GATE_MESSAGE, type SddPreflightResult, type SddPreflightSource, type SddPreflightStatus, type ShadowKey, type TestFileExtensions, type TestLayerRoots, VISUAL_BROWSER_SURFACES, type ValidationCounts, type ValidationFamilyTiming, type ValidationFamilyTimings, type ValidationIssue, type ValidationOptions, type ValidationProfile, type ValidationResult, type ValidationTimings, type ValidationWaiverAction, type ValidationWaiverDowngradeTo, type ValidationWaiverEntry, type ValidationWaiverMatch, type ValidationWaiverScope, type ValidationWaiverSeverity, type ValidationWaiverSuppressed, type ValidationWaivers, WORKFLOW_MODE_MESSAGE, type WorkflowMode, atddAcceptanceLayerFilter, atddAcceptanceTestGlobs, atddTestKindDirs, classifyAgainstDeclaration, classifyToolLocation, compareInstalledToDeclared, countIssues, createReportData, createTestLayerRoots, defaultConfig, deriveAtddFilePattern, deriveTestFileExtensions, extractAcSpecNumber, extractAllIds, extractBrSpecNumber, extractCapSpecNumber, extractCaseSpecNumber, extractIds, extractInvalidIdOccurrences, extractInvalidIds, extractScSpecNumber, extractSpecNumber, extractUsSpecNumber, findConfigRoot, findDeclaringDir, findLinkingNodeModules, findPackageJsonUpward, formatReportJson, formatReportMarkdown, getConfigPath, isDiscussionUiBearingSurfaceType, isNonUiDiscussionSurface, isOlderVersion, isUnreplacedDesignMdSample, labelCheckTimings, lintSql, loadConfig, locateToolAgainstProject, lowestVersionOfRange, maskFencedCodeBlocks, orderUiuxParts, packageRootProbe, parseDesignMd, prepareDocumentAnalysis, prepareGraphIntegration, reachedThroughLinkedNodeModules, readAcceptedDrift, readDeclaredQfaiRange, readRejectedPrimaryUiContract, readSkippedWorkflows, readStopGate, readTestFileExtensions, readWorkflowMode, renderGraphPreparation, requiresVisualBrowserEvidence, resolvePath, resolveTestKind, resolveToolPackageDir, resolveToolVersion, resolvesThroughOwnNodeModules, runMigrationStep, runSddPreflight, validateContracts, validateDesignMd, validateProject, validateUiContractParse };
|
package/dist/index.d.ts
CHANGED
|
@@ -189,6 +189,11 @@ type QfaiForbiddenIdentifier = {
|
|
|
189
189
|
sha256: string;
|
|
190
190
|
byteLength: number;
|
|
191
191
|
};
|
|
192
|
+
type DiagramBudget = {
|
|
193
|
+
nodes: number;
|
|
194
|
+
edges: number;
|
|
195
|
+
};
|
|
196
|
+
declare const DEFAULT_DIAGRAM_BUDGET: DiagramBudget;
|
|
192
197
|
type QfaiValidationConfig = {
|
|
193
198
|
failOn: FailOn;
|
|
194
199
|
/**
|
|
@@ -197,6 +202,12 @@ type QfaiValidationConfig = {
|
|
|
197
202
|
* (QFAI-STORY-016). Unset means no term is checked.
|
|
198
203
|
*/
|
|
199
204
|
staleTerms?: string[];
|
|
205
|
+
/**
|
|
206
|
+
* The largest node and edge counts a Mermaid diagram may have before
|
|
207
|
+
* `qfai validate` warns (QFAI-FLOW-006). A limit left unset is the default
|
|
208
|
+
* of `DEFAULT_DIAGRAM_BUDGET`.
|
|
209
|
+
*/
|
|
210
|
+
diagramBudget?: Partial<DiagramBudget>;
|
|
200
211
|
/** Hash-only identifiers checked against tracked names and current file bytes. */
|
|
201
212
|
forbiddenIdentifiers?: QfaiForbiddenIdentifier[];
|
|
202
213
|
testStrategy: {
|
|
@@ -339,6 +350,13 @@ declare const defaultConfig: QfaiConfig;
|
|
|
339
350
|
declare function getConfigPath(root: string): string;
|
|
340
351
|
declare function findConfigRoot(startDir: string): Promise<ConfigSearchResult>;
|
|
341
352
|
declare function loadConfig(root: string): Promise<ConfigLoadResult>;
|
|
353
|
+
/** The config issue an invalid `workflow.stopGate` raises. */
|
|
354
|
+
declare const STOP_GATE_MESSAGE = "workflow.stopGate must be true or false; an absent key means true.";
|
|
355
|
+
/**
|
|
356
|
+
* Whether the turn-end hook runs the project's turn-end checks, read from the parsed config
|
|
357
|
+
* document. `null` means the value is not a boolean, which the hook treats as `false`.
|
|
358
|
+
*/
|
|
359
|
+
declare function readStopGate(document: unknown): boolean | null;
|
|
342
360
|
declare const WORKFLOW_MODES: readonly ["active", "shadow", "off"];
|
|
343
361
|
/** The config issue an invalid `workflow.mode` raises. */
|
|
344
362
|
declare const WORKFLOW_MODE_MESSAGE = "workflow.mode must be active, shadow or off; an absent key means active.";
|
|
@@ -645,8 +663,6 @@ type ValidationOptions = {
|
|
|
645
663
|
profile?: ValidationProfile;
|
|
646
664
|
platform?: string;
|
|
647
665
|
flowIds?: readonly string[];
|
|
648
|
-
/** A rendered-text file the caller wrote (`--rendered`), compared with the UI contracts in every profile. */
|
|
649
|
-
renderedPath?: string;
|
|
650
666
|
/** Add the time of each finding family to the result (`--timings`). */
|
|
651
667
|
familyTimings?: boolean;
|
|
652
668
|
};
|
|
@@ -1081,4 +1097,4 @@ declare function prepareDocumentAnalysis(root: string, run?: GraphProcess, appro
|
|
|
1081
1097
|
/** Run one ordered spec-to-story migration step from the current project root. */
|
|
1082
1098
|
declare function runMigrationStep(step: number, argv: string[]): Promise<number>;
|
|
1083
1099
|
|
|
1084
|
-
export { ACCEPTED_DRIFT_MESSAGE, AC_GHERKIN_SECTION, ARCHETYPES, ATDD_TEST_KIND_DIRS, type AcceptedDrift, type ApproveExternalProcessing, type Archetype, type AtddTestKind, COLOR_KEYS, type ColorKey, type ConfigLoadResult, type ConfigPathKey, type ConfigSearchResult, DESIGN_MD_SAMPLE_MARKER, DISCUSSION_NON_UI_SURFACES, DISCUSSION_UI_BEARING_SURFACES, type DesignMd, type DesignMdColors, type DesignMdFonts, type DesignMdRadius, type DesignMdShadow, type DocumentPreparation, type ExternalProcessingRequest, FONT_KEYS, type FailOn, type FenceMaskOptions, type FontKey, ID_PREFIXES, type IdFormatPrefix, type IdPrefix, type InstalledOlderThanDeclared, type InvalidIdOccurrence, type Issue, type IssueCategory, type IssueLocation, type IssueSeverity, type OutputFormat, type ParseError, type ParseResult, type QfaiConfig, type QfaiForbiddenIdentifier, type QfaiOutputConfig, type QfaiPaths, type QfaiPrototypingConfig, type QfaiPrototypingExecutionConfig, type QfaiReportConfig, type QfaiUiuxAuditConfig, type QfaiUiuxConfig, type QfaiValidationConfig, RADIUS_KEYS, type RadiusKey, type ReportData, type RunSddPreflightOptions, SHADOW_KEYS, SKIPPED_WORKFLOWS_MESSAGE, type SddPreflightResult, type SddPreflightSource, type SddPreflightStatus, type ShadowKey, type TestFileExtensions, type TestLayerRoots, VISUAL_BROWSER_SURFACES, type ValidationCounts, type ValidationFamilyTiming, type ValidationFamilyTimings, type ValidationIssue, type ValidationOptions, type ValidationProfile, type ValidationResult, type ValidationTimings, type ValidationWaiverAction, type ValidationWaiverDowngradeTo, type ValidationWaiverEntry, type ValidationWaiverMatch, type ValidationWaiverScope, type ValidationWaiverSeverity, type ValidationWaiverSuppressed, type ValidationWaivers, WORKFLOW_MODE_MESSAGE, type WorkflowMode, atddAcceptanceLayerFilter, atddAcceptanceTestGlobs, atddTestKindDirs, classifyAgainstDeclaration, classifyToolLocation, compareInstalledToDeclared, countIssues, createReportData, createTestLayerRoots, defaultConfig, deriveAtddFilePattern, deriveTestFileExtensions, extractAcSpecNumber, extractAllIds, extractBrSpecNumber, extractCapSpecNumber, extractCaseSpecNumber, extractIds, extractInvalidIdOccurrences, extractInvalidIds, extractScSpecNumber, extractSpecNumber, extractUsSpecNumber, findConfigRoot, findDeclaringDir, findLinkingNodeModules, findPackageJsonUpward, formatReportJson, formatReportMarkdown, getConfigPath, isDiscussionUiBearingSurfaceType, isNonUiDiscussionSurface, isOlderVersion, isUnreplacedDesignMdSample, labelCheckTimings, lintSql, loadConfig, locateToolAgainstProject, lowestVersionOfRange, maskFencedCodeBlocks, orderUiuxParts, packageRootProbe, parseDesignMd, prepareDocumentAnalysis, prepareGraphIntegration, reachedThroughLinkedNodeModules, readAcceptedDrift, readDeclaredQfaiRange, readRejectedPrimaryUiContract, readSkippedWorkflows, readTestFileExtensions, readWorkflowMode, renderGraphPreparation, requiresVisualBrowserEvidence, resolvePath, resolveTestKind, resolveToolPackageDir, resolveToolVersion, resolvesThroughOwnNodeModules, runMigrationStep, runSddPreflight, validateContracts, validateDesignMd, validateProject, validateUiContractParse };
|
|
1100
|
+
export { ACCEPTED_DRIFT_MESSAGE, AC_GHERKIN_SECTION, ARCHETYPES, ATDD_TEST_KIND_DIRS, type AcceptedDrift, type ApproveExternalProcessing, type Archetype, type AtddTestKind, COLOR_KEYS, type ColorKey, type ConfigLoadResult, type ConfigPathKey, type ConfigSearchResult, DEFAULT_DIAGRAM_BUDGET, DESIGN_MD_SAMPLE_MARKER, DISCUSSION_NON_UI_SURFACES, DISCUSSION_UI_BEARING_SURFACES, type DesignMd, type DesignMdColors, type DesignMdFonts, type DesignMdRadius, type DesignMdShadow, type DiagramBudget, type DocumentPreparation, type ExternalProcessingRequest, FONT_KEYS, type FailOn, type FenceMaskOptions, type FontKey, ID_PREFIXES, type IdFormatPrefix, type IdPrefix, type InstalledOlderThanDeclared, type InvalidIdOccurrence, type Issue, type IssueCategory, type IssueLocation, type IssueSeverity, type OutputFormat, type ParseError, type ParseResult, type QfaiConfig, type QfaiForbiddenIdentifier, type QfaiOutputConfig, type QfaiPaths, type QfaiPrototypingConfig, type QfaiPrototypingExecutionConfig, type QfaiReportConfig, type QfaiUiuxAuditConfig, type QfaiUiuxConfig, type QfaiValidationConfig, RADIUS_KEYS, type RadiusKey, type ReportData, type RunSddPreflightOptions, SHADOW_KEYS, SKIPPED_WORKFLOWS_MESSAGE, STOP_GATE_MESSAGE, type SddPreflightResult, type SddPreflightSource, type SddPreflightStatus, type ShadowKey, type TestFileExtensions, type TestLayerRoots, VISUAL_BROWSER_SURFACES, type ValidationCounts, type ValidationFamilyTiming, type ValidationFamilyTimings, type ValidationIssue, type ValidationOptions, type ValidationProfile, type ValidationResult, type ValidationTimings, type ValidationWaiverAction, type ValidationWaiverDowngradeTo, type ValidationWaiverEntry, type ValidationWaiverMatch, type ValidationWaiverScope, type ValidationWaiverSeverity, type ValidationWaiverSuppressed, type ValidationWaivers, WORKFLOW_MODE_MESSAGE, type WorkflowMode, atddAcceptanceLayerFilter, atddAcceptanceTestGlobs, atddTestKindDirs, classifyAgainstDeclaration, classifyToolLocation, compareInstalledToDeclared, countIssues, createReportData, createTestLayerRoots, defaultConfig, deriveAtddFilePattern, deriveTestFileExtensions, extractAcSpecNumber, extractAllIds, extractBrSpecNumber, extractCapSpecNumber, extractCaseSpecNumber, extractIds, extractInvalidIdOccurrences, extractInvalidIds, extractScSpecNumber, extractSpecNumber, extractUsSpecNumber, findConfigRoot, findDeclaringDir, findLinkingNodeModules, findPackageJsonUpward, formatReportJson, formatReportMarkdown, getConfigPath, isDiscussionUiBearingSurfaceType, isNonUiDiscussionSurface, isOlderVersion, isUnreplacedDesignMdSample, labelCheckTimings, lintSql, loadConfig, locateToolAgainstProject, lowestVersionOfRange, maskFencedCodeBlocks, orderUiuxParts, packageRootProbe, parseDesignMd, prepareDocumentAnalysis, prepareGraphIntegration, reachedThroughLinkedNodeModules, readAcceptedDrift, readDeclaredQfaiRange, readRejectedPrimaryUiContract, readSkippedWorkflows, readStopGate, readTestFileExtensions, readWorkflowMode, renderGraphPreparation, requiresVisualBrowserEvidence, resolvePath, resolveTestKind, resolveToolPackageDir, resolveToolVersion, resolvesThroughOwnNodeModules, runMigrationStep, runSddPreflight, validateContracts, validateDesignMd, validateProject, validateUiContractParse };
|