audit-tools 0.35.6 → 0.35.7
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/audit/cli/confirmIntentStep.d.ts.map +1 -1
- package/dist/audit/cli/confirmIntentStep.js +38 -0
- package/dist/audit/cli/confirmIntentStep.js.map +1 -1
- package/dist/audit/cli/nextStepHelpers.d.ts.map +1 -1
- package/dist/audit/cli/nextStepHelpers.js +1 -0
- package/dist/audit/cli/nextStepHelpers.js.map +1 -1
- package/dist/audit/extractors/docsDigest.d.ts +13 -0
- package/dist/audit/extractors/docsDigest.d.ts.map +1 -0
- package/dist/audit/extractors/docsDigest.js +112 -0
- package/dist/audit/extractors/docsDigest.js.map +1 -0
- package/dist/audit/io/artifacts.d.ts +3 -0
- package/dist/audit/io/artifacts.d.ts.map +1 -1
- package/dist/audit/io/artifacts.js +1 -0
- package/dist/audit/io/artifacts.js.map +1 -1
- package/dist/audit/orchestrator/dependencyMap.d.ts +1 -0
- package/dist/audit/orchestrator/dependencyMap.d.ts.map +1 -1
- package/dist/audit/orchestrator/dependencyMap.js +9 -0
- package/dist/audit/orchestrator/dependencyMap.js.map +1 -1
- package/dist/audit/orchestrator/executorRunners.d.ts.map +1 -1
- package/dist/audit/orchestrator/executorRunners.js +2 -1
- package/dist/audit/orchestrator/executorRunners.js.map +1 -1
- package/dist/audit/orchestrator/executors.d.ts.map +1 -1
- package/dist/audit/orchestrator/executors.js +5 -0
- package/dist/audit/orchestrator/executors.js.map +1 -1
- package/dist/audit/orchestrator/intentCheckpointExecutor.d.ts +8 -0
- package/dist/audit/orchestrator/intentCheckpointExecutor.d.ts.map +1 -1
- package/dist/audit/orchestrator/intentCheckpointExecutor.js +53 -6
- package/dist/audit/orchestrator/intentCheckpointExecutor.js.map +1 -1
- package/dist/audit/orchestrator/nextStep.d.ts.map +1 -1
- package/dist/audit/orchestrator/nextStep.js +5 -0
- package/dist/audit/orchestrator/nextStep.js.map +1 -1
- package/dist/audit/orchestrator/state.d.ts.map +1 -1
- package/dist/audit/orchestrator/state.js +4 -0
- package/dist/audit/orchestrator/state.js.map +1 -1
- package/dist/audit/orchestrator/structureExecutors.d.ts +7 -0
- package/dist/audit/orchestrator/structureExecutors.d.ts.map +1 -1
- package/dist/audit/orchestrator/structureExecutors.js +26 -0
- package/dist/audit/orchestrator/structureExecutors.js.map +1 -1
- package/dist/audit/types/docsDigest.d.ts +32 -0
- package/dist/audit/types/docsDigest.d.ts.map +1 -0
- package/dist/audit/types/docsDigest.js +2 -0
- package/dist/audit/types/docsDigest.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deterministic docs digest (change 3, scope-confirmation context): a bounded
|
|
3
|
+
* telos extraction over the repo's prose docs, rendered into the confirm-intent
|
|
4
|
+
* prompt so the scope decider sees the repo's STATED purpose instead of
|
|
5
|
+
* inferring it from path heuristics. Pure extraction — no LLM pass; the digest
|
|
6
|
+
* is a leaf-consumer artifact (nothing downstream depends on it, and it must
|
|
7
|
+
* never gain an edge into `intent_checkpoint.json`, which is a durable
|
|
8
|
+
* host-input leaf whose revision mirrors the intent baseline).
|
|
9
|
+
*/
|
|
10
|
+
export interface DocsDigestEntry {
|
|
11
|
+
/** Repo-relative posix path of the doc file. */
|
|
12
|
+
path: string;
|
|
13
|
+
/** First markdown ATX heading, or the file name when the doc has none. */
|
|
14
|
+
title: string;
|
|
15
|
+
/** Leading text of the doc, newline-normalized, capped (see extractor). */
|
|
16
|
+
excerpt: string;
|
|
17
|
+
}
|
|
18
|
+
export interface DocsDigest {
|
|
19
|
+
generated_at: string;
|
|
20
|
+
/**
|
|
21
|
+
* Digested docs, selection-ordered: shallowest path depth first, then
|
|
22
|
+
* path-sorted (locale collation) — so root-level docs lead deterministically.
|
|
23
|
+
*/
|
|
24
|
+
docs: DocsDigestEntry[];
|
|
25
|
+
/**
|
|
26
|
+
* Doc-universe files beyond the selection cap (path-sorted). Present only
|
|
27
|
+
* when non-empty, so the render can say what was not digested rather than
|
|
28
|
+
* implying full coverage.
|
|
29
|
+
*/
|
|
30
|
+
omitted_paths?: string[];
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=docsDigest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docsDigest.d.ts","sourceRoot":"","sources":["../../../src/audit/types/docsDigest.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,WAAW,eAAe;IAC9B,gDAAgD;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,0EAA0E;IAC1E,KAAK,EAAE,MAAM,CAAC;IACd,2EAA2E;IAC3E,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,UAAU;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docsDigest.js","sourceRoot":"","sources":["../../../src/audit/types/docsDigest.ts"],"names":[],"mappings":""}
|