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.
Files changed (31) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +23 -0
  4. package/ci/fixtures/468-dispatch/agy-quota-PROVENANCE.md +19 -0
  5. package/ci/fixtures/468-dispatch/agy-quota-direct-individual.stderr +2 -0
  6. package/ci/fixtures/468-dispatch/agy-quota-direct-third-party.stderr +2 -0
  7. package/ci/fixtures/468-dispatch/agy-quota-exec-individual.log +3 -0
  8. package/ci/mechanism-468-dispatch-cli.test.js +1496 -4
  9. package/ci/mechanism-548-bigint-identity.test.js +531 -0
  10. package/ci/mechanism-error-ledger-oracle.test.js +786 -3
  11. package/ci/mechanism-error-ledger-scan.test.js +981 -0
  12. package/ci/mechanism-report-writer.test.js +45 -0
  13. package/docs/error-handling/details/c8-dispatch-cli.md +109 -13
  14. package/error-ledger-bootstrap/SKILL.md +1 -1
  15. package/error-ledger-bootstrap/references/workflow.md +42 -7
  16. package/error-ledger-bootstrap/scripts/promote.js +8 -6
  17. package/error-ledger-bootstrap/scripts/scan.js +525 -12
  18. package/opencode-plugin/plugin.json +1 -1
  19. package/package.json +1 -1
  20. package/plugins/harness-everything/.antigravity-plugin/plugin.json +1 -1
  21. package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
  22. package/plugins/harness-everything/plugin.json +1 -1
  23. package/plugins/harness-everything/skills/error-ledger-bootstrap/SKILL.md +1 -1
  24. package/plugins/harness-everything/skills/error-ledger-bootstrap/references/workflow.md +42 -7
  25. package/plugins/harness-everything/skills/error-ledger-bootstrap/scripts/promote.js +8 -6
  26. package/plugins/harness-everything/skills/error-ledger-bootstrap/scripts/scan.js +525 -12
  27. package/sbom.cdx.json +7 -7
  28. package/scripts/dispatch.js +499 -87
  29. package/scripts/error-ledger-oracle.js +521 -27
  30. package/scripts/errors-sync.js +4 -3
  31. package/scripts/report-writer.js +4 -3
@@ -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
- const inputStat = fs.statSync(inputPath);
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;