harness-everything 1.2.1 → 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 (55) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +31 -0
  4. package/benchmarks/results/live-host/agy-2026-11-26-516-read-only/README.md +12 -0
  5. package/benchmarks/results/live-host/agy-2026-11-26-516-read-only/capture.sanitized.jsonl +5 -0
  6. package/benchmarks/results/live-host/codex-2026-11-26-488-post-tool-use/README.md +25 -0
  7. package/benchmarks/results/live-host/codex-2026-11-26-488-post-tool-use/capture.sanitized.jsonl +10 -0
  8. package/ci/fixtures/468-dispatch/agy-quota-PROVENANCE.md +19 -0
  9. package/ci/fixtures/468-dispatch/agy-quota-direct-individual.stderr +2 -0
  10. package/ci/fixtures/468-dispatch/agy-quota-direct-third-party.stderr +2 -0
  11. package/ci/fixtures/468-dispatch/agy-quota-exec-individual.log +3 -0
  12. package/ci/mechanism-2am-observations-session-import.test.js +1 -0
  13. package/ci/mechanism-2w-platform-compatibility.test.js +1 -2
  14. package/ci/mechanism-34-observations.test.js +37 -1
  15. package/ci/mechanism-397-opencode-observations.test.js +4 -3
  16. package/ci/mechanism-468-dispatch-cli.test.js +1496 -4
  17. package/ci/mechanism-516-windows-verify-and-shell.test.js +74 -19
  18. package/ci/mechanism-548-bigint-identity.test.js +531 -0
  19. package/ci/mechanism-error-ledger-oracle.test.js +786 -3
  20. package/ci/mechanism-error-ledger-scan.test.js +981 -0
  21. package/ci/mechanism-report-writer.test.js +47 -1
  22. package/ci/mechanism-system-one-cycle.test.js +47 -2
  23. package/ci/openai-plugin-submission.test.js +26 -8
  24. package/docs/error-handling/details/c8-dispatch-cli.md +109 -13
  25. package/docs/openai-plugin.md +6 -10
  26. package/docs/platform-capabilities.md +15 -0
  27. package/docs/routing.md +2 -0
  28. package/error-ledger-bootstrap/SKILL.md +1 -1
  29. package/error-ledger-bootstrap/references/workflow.md +42 -7
  30. package/error-ledger-bootstrap/scripts/promote.js +8 -6
  31. package/error-ledger-bootstrap/scripts/scan.js +525 -12
  32. package/harness-everything/SKILL.md +1 -1
  33. package/harness-everything/scripts/kernel-router.js +3 -2
  34. package/hooks/scripts/state-persist.js +6 -1
  35. package/opencode-plugin/plugin.json +1 -1
  36. package/package.json +1 -1
  37. package/plugins/harness-everything/.antigravity-plugin/plugin.json +1 -1
  38. package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
  39. package/plugins/harness-everything/hooks/scripts/state-persist.js +6 -1
  40. package/plugins/harness-everything/plugin.json +1 -1
  41. package/plugins/harness-everything/skills/error-ledger-bootstrap/SKILL.md +1 -1
  42. package/plugins/harness-everything/skills/error-ledger-bootstrap/references/workflow.md +42 -7
  43. package/plugins/harness-everything/skills/error-ledger-bootstrap/scripts/promote.js +8 -6
  44. package/plugins/harness-everything/skills/error-ledger-bootstrap/scripts/scan.js +525 -12
  45. package/plugins/harness-everything/skills/harness-everything/SKILL.md +1 -1
  46. package/plugins/harness-everything/skills/harness-everything/scripts/kernel-router.js +3 -2
  47. package/sbom.cdx.json +7 -7
  48. package/scripts/build-openai-submission.js +8 -4
  49. package/scripts/dispatch.js +499 -87
  50. package/scripts/error-ledger-oracle.js +521 -27
  51. package/scripts/errors-sync.js +4 -3
  52. package/scripts/report-writer.js +4 -3
  53. package/submission/openai/README.md +9 -14
  54. package/submission/openai/listing.json +1 -1
  55. package/submission/openai/test-cases.json +1 -1
@@ -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;
@@ -19,22 +19,17 @@ dist/openai-submission/
19
19
  └── harness-everything-skills.manifest.json
20
20
  ```
21
21
 
22
- The ZIP contains exactly the synchronized `plugins/harness-everything/skills/` tree under `skills/`. It does not contain the local `.codex-plugin` lifecycle hooks, MCP definitions, or app wrappers. The manifest records every file path, byte count, content hash, and final bundle SHA-256. Rebuilding the same revision must produce the same bundle hash.
22
+ The ZIP contains a portable root `plugin.json` and the synchronized skill tree under `skills/`. The builder takes the identity and listing interface from the local portable manifest. The archive excludes the local hook configuration, MCP definitions, and app wrappers. The manifest records every file path, byte count, content hash, and final bundle SHA-256. Rebuilding the same revision must produce the same bundle hash.
23
23
 
24
24
  ## Official portal workflow
25
25
 
26
- 1. Select **Create plugin**.
27
- 2. Choose **Skills only**.
28
- 3. Provide the listing metadata from `listing.json`.
29
- 4. Upload the final `harness-everything-skills.zip` bundle.
30
- 5. Provide the starter prompts and exactly five positive plus three negative reviewer cases from `test-cases.json`.
31
- 6. Select the verified developer/business identity, production logo, availability, and policy attestations.
32
- 7. Confirm the submitter has **Apps Management: Write** access.
33
- 8. Submit for review and publish only after approval.
26
+ 1. Select the publishing organization and project. Organization owners can submit. Other members need **Apps Management: Write**. Complete individual or business identity verification.
27
+ 2. In the OpenAI Platform Plugins page, select **Upload new or existing plugin**, choose the verified developer identity, and upload `harness-everything-skills.zip`.
28
+ 3. Review the imported listing in **Metadata & Skills**. Resolve scan findings and complete the requested listing, logo, and availability fields using `listing.json`.
29
+ 4. Run the smoke cases in `test-cases.json` against the prepared plugin in a fresh host session. The documented five-positive and three-negative app review requirement applies to initial MCP app review. Harness uses these cases for its own Skills-only smoke test.
30
+ 5. Submit for review when the portal is ready. After approval, publish and confirm that a fresh eligible account can find and install the public listing.
34
31
 
35
- Official documentation: [Submit a plugin](https://developers.openai.com/plugins/deploy/submission).
36
-
37
- The review cases follow the documented shape. Each positive case includes a prompt, expected skill/workflow behavior, expected result shape, and fixture/account data. Each negative case includes a prompt/scenario, expected refusal/clarification/safe fallback, and a reason not to complete.
32
+ See [Submit a plugin](https://developers.openai.com/plugins/deploy/submission) and the [submission error reference](https://developers.openai.com/plugins/deploy/submission-errors).
38
33
 
39
34
  ## Public submission boundary
40
35
 
@@ -53,7 +48,7 @@ CI cannot complete these portal operations:
53
48
  - run reviewer cases in the final host environment;
54
49
  - submit, receive approval, or publish to the public directory.
55
50
 
56
- The repository therefore claims a reproducible, review-ready submission artifact only. It does not claim public-directory approval, managed-workspace import success, or live host execution until those external artifacts are preserved.
51
+ The repository checks establish package evidence. Keep the ZIP digest and source revision with the portal scan or submission result, then retain the approval and the fresh-account install result when available.
57
52
 
58
53
  ## Repository checks
59
54
 
@@ -64,4 +59,4 @@ npm run test:plugin:openai
64
59
  npm run test:plugin:submission
65
60
  ```
66
61
 
67
- The checks verify listing/manifest alignment, official-source metadata, public support/privacy/terms URLs, exactly five positive and three negative review cases, deterministic bundle generation, and exact file parity between the generated bundle manifest and the packaged skill tree.
62
+ The checks verify listing metadata, public URLs, and the project smoke cases. They also verify deterministic bundle generation, ZIP entry names and hashes, and that the public manifest omits local hook settings.
@@ -18,7 +18,7 @@
18
18
  "Route this software task with Harness and use only the skills that help.",
19
19
  "Review this change and verify it with objective evidence before claiming completion."
20
20
  ],
21
- "release_notes": "Initial public skills-only submission of Harness Everything. Includes 26 reusable engineering skills plus invariant-first routing and verification guidance. No remote MCP server, hosted backend, authentication, or external account is required by the plugin package.",
21
+ "release_notes": "Initial public skills-only submission of Harness Everything. Includes reusable engineering skills plus invariant-first routing and verification guidance. No remote MCP server, hosted backend, authentication, or external account is required by the plugin package.",
22
22
  "availability": {
23
23
  "selection": "manual_in_portal",
24
24
  "guidance": "Select only countries or regions where the publisher, support process, privacy notice, and terms are ready for users."
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "format": "harness-openai-plugin-review-tests-v1",
3
- "note": "Reviewer-facing cases for manual entry in the OpenAI plugin submission portal.",
3
+ "note": "Harness smoke cases for testing the Skills-only plugin in a fresh host session.",
4
4
  "positive": [
5
5
  {
6
6
  "id": "bugfix-with-tests",