vigiles 12.1.0 → 12.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/README.md +128 -154
- package/action.yml +73 -0
- package/dist/adapters/claude-code/run-scripts.d.ts +41 -0
- package/dist/adapters/claude-code/run-scripts.js +26 -0
- package/dist/audit-report.d.ts +11 -0
- package/dist/audit-report.js +1 -0
- package/dist/audit-report.template.html +36 -26
- package/dist/cli-commands.d.ts +1 -1
- package/dist/cli-commands.js +0 -1
- package/dist/cli.js +111 -139
- package/dist/eval.d.ts +15 -0
- package/dist/eval.js +60 -0
- package/dist/observe.d.ts +109 -0
- package/dist/observe.js +164 -0
- package/dist/scaffold-test.js +3 -2
- package/package.json +2 -2
- package/skills/debug-my-harness/SKILL.md +56 -0
- package/dist/core/hook-spec.d.ts +0 -74
- package/dist/core/hook-spec.js +0 -130
package/dist/audit-report.d.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { type AuditScore } from "./audit-score.js";
|
|
15
15
|
import { type Recommendation } from "./optimize.js";
|
|
16
|
+
import type { LedgerSummary } from "./observe.js";
|
|
16
17
|
import type { AdoptabilityResult } from "./adoptability.js";
|
|
17
18
|
import type { ScanReport, MarketplaceInfo } from "./scan.js";
|
|
18
19
|
import type { PluginScore } from "./leaderboard.js";
|
|
@@ -95,10 +96,20 @@ export interface AuditReport {
|
|
|
95
96
|
* at least one adoptable surface. Additive/optional — schema version unchanged.
|
|
96
97
|
*/
|
|
97
98
|
readonly adoptable?: Adoptable;
|
|
99
|
+
/**
|
|
100
|
+
* The flight-recorder summary — what the harness actually DID in real sessions
|
|
101
|
+
* (hook/agent decisions, counts, recent denials), read off `.vigiles/runs.jsonl`.
|
|
102
|
+
* Present only when the local ledger has records. Additive/optional — schema
|
|
103
|
+
* version unchanged. The CLI reads + summarizes the ledger and passes it in, so
|
|
104
|
+
* the pure builder stays fs-free.
|
|
105
|
+
*/
|
|
106
|
+
readonly observations?: LedgerSummary;
|
|
98
107
|
}
|
|
99
108
|
export interface BuildAuditReportOptions {
|
|
100
109
|
readonly harness: string;
|
|
101
110
|
readonly vigilesVersion: string;
|
|
111
|
+
/** The flight-recorder summary from the local ledger (omit when empty). */
|
|
112
|
+
readonly observations?: LedgerSummary;
|
|
102
113
|
/**
|
|
103
114
|
* The repo-relative paths of surfaces that exist but have no `.spec.ts` yet,
|
|
104
115
|
* computed by the CLI's layout-aware `discoverAdoptableSurfaces` (so the pure
|
package/dist/audit-report.js
CHANGED
|
@@ -70,6 +70,7 @@ function buildAuditReport(report, opts) {
|
|
|
70
70
|
untested: report.untested,
|
|
71
71
|
},
|
|
72
72
|
...(adoptable ? { adoptable } : {}),
|
|
73
|
+
...(opts.observations ? { observations: opts.observations } : {}),
|
|
73
74
|
};
|
|
74
75
|
}
|
|
75
76
|
/** Assemble the versioned {@link LeaderboardReport} — pure, no clock. */
|