harness-everything 1.2.2 → 1.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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +23 -0
- package/ci/fixtures/468-dispatch/agy-quota-PROVENANCE.md +19 -0
- package/ci/fixtures/468-dispatch/agy-quota-direct-individual.stderr +2 -0
- package/ci/fixtures/468-dispatch/agy-quota-direct-third-party.stderr +2 -0
- package/ci/fixtures/468-dispatch/agy-quota-exec-individual.log +3 -0
- package/ci/mechanism-468-dispatch-cli.test.js +1496 -4
- package/ci/mechanism-548-bigint-identity.test.js +531 -0
- package/ci/mechanism-error-ledger-oracle.test.js +786 -3
- package/ci/mechanism-error-ledger-scan.test.js +981 -0
- package/ci/mechanism-report-writer.test.js +45 -0
- package/docs/error-handling/details/c8-dispatch-cli.md +109 -13
- package/error-ledger-bootstrap/SKILL.md +1 -1
- package/error-ledger-bootstrap/references/workflow.md +42 -7
- package/error-ledger-bootstrap/scripts/promote.js +8 -6
- package/error-ledger-bootstrap/scripts/scan.js +525 -12
- package/opencode-plugin/plugin.json +1 -1
- package/package.json +1 -1
- package/plugins/harness-everything/.antigravity-plugin/plugin.json +1 -1
- package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
- package/plugins/harness-everything/plugin.json +1 -1
- package/plugins/harness-everything/skills/error-ledger-bootstrap/SKILL.md +1 -1
- package/plugins/harness-everything/skills/error-ledger-bootstrap/references/workflow.md +42 -7
- package/plugins/harness-everything/skills/error-ledger-bootstrap/scripts/promote.js +8 -6
- package/plugins/harness-everything/skills/error-ledger-bootstrap/scripts/scan.js +525 -12
- package/sbom.cdx.json +7 -7
- package/scripts/dispatch.js +499 -87
- package/scripts/error-ledger-oracle.js +521 -27
- package/scripts/errors-sync.js +4 -3
- package/scripts/report-writer.js +4 -3
package/scripts/report-writer.js
CHANGED
|
@@ -134,7 +134,7 @@ function extractCodexBody(raw, expectedStatus) {
|
|
|
134
134
|
// Live codex -o output (2026-11-21) puts one blank line between STATUS and the host label.
|
|
135
135
|
while (strippedLabel && terminalIndex > 0 && lines[terminalIndex].value.trim() === '') terminalIndex -= 1;
|
|
136
136
|
if (statusIndex !== terminalIndex) error('raw STATUS must be terminal or immediately before the host label');
|
|
137
|
-
if (controls[0].value !== expectedStatus) error('raw terminal STATUS does not match the requested status');
|
|
137
|
+
if (controls[0].value.replace(/[ \t]+$/, '') !== expectedStatus) error('raw terminal STATUS does not match the requested status');
|
|
138
138
|
if (strippedLabel && !controls[0].eol) error('host label must be on a line after STATUS');
|
|
139
139
|
bodyEnd = controls[0].start;
|
|
140
140
|
}
|
|
@@ -149,9 +149,10 @@ function assertDistinctFiles(input, output) {
|
|
|
149
149
|
const outputPath = path.resolve(output);
|
|
150
150
|
if (inputPath === outputPath) error('output aliases an input file');
|
|
151
151
|
|
|
152
|
-
|
|
152
|
+
// Keep 64-bit device/file IDs exact (Windows IDs can exceed Number's safe integer range).
|
|
153
|
+
const inputStat = fs.statSync(inputPath, { bigint: true });
|
|
153
154
|
try {
|
|
154
|
-
const outputStat = fs.statSync(outputPath);
|
|
155
|
+
const outputStat = fs.statSync(outputPath, { bigint: true });
|
|
155
156
|
if (inputStat.dev === outputStat.dev && inputStat.ino === outputStat.ino) error('output aliases an input file');
|
|
156
157
|
} catch (cause) {
|
|
157
158
|
if (cause.code !== 'ENOENT') throw cause;
|