@hiroshi.inoue/agent-spectrum-kernel 0.0.0-stage → 1.0.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 (1558) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +163 -2
  3. package/bin/ask.mjs +9 -0
  4. package/dist/AGENTS.md +266 -0
  5. package/dist/CHANGELOG.md +110 -0
  6. package/dist/CUSTOM_INSTRUCTIONS.md +72 -0
  7. package/dist/LICENSE +21 -0
  8. package/dist/README.md +164 -0
  9. package/dist/adapters/claude-code/README.md +185 -0
  10. package/dist/adapters/claude-code/github-actions/README.md +45 -0
  11. package/dist/adapters/claude-code/github-actions/claude-review-on-mention.yml +151 -0
  12. package/dist/adapters/claude-code/plugin/.claude-plugin/plugin.json +15 -0
  13. package/dist/adapters/claude-code/plugin/README.md +48 -0
  14. package/dist/adapters/claude-code/plugin/bin/ai-skills-metrics-record +18 -0
  15. package/dist/adapters/claude-code/plugin/contracts/claim-evidence-status-contract.md +60 -0
  16. package/dist/adapters/claude-code/plugin/contracts/execution-envelope-contract.md +105 -0
  17. package/dist/adapters/claude-code/plugin/contracts/lifecycle-traceability-contract.md +169 -0
  18. package/dist/adapters/claude-code/plugin/contracts/review-signal-gate-map.json +128 -0
  19. package/dist/adapters/claude-code/plugin/hooks/hooks.json +25 -0
  20. package/dist/adapters/claude-code/plugin/schemas/claim-evidence-status.schema.json +85 -0
  21. package/dist/adapters/claude-code/plugin/schemas/codex-risk-action.schema.json +58 -0
  22. package/dist/adapters/claude-code/plugin/schemas/codex-risk-approval-request.schema.json +204 -0
  23. package/dist/adapters/claude-code/plugin/schemas/execution-envelope.schema.json +127 -0
  24. package/dist/adapters/claude-code/plugin/schemas/metrics-event.schema.json +395 -0
  25. package/dist/adapters/claude-code/plugin/scripts/claim-evidence-status.mjs +162 -0
  26. package/dist/adapters/claude-code/plugin/skills/adoption-report/SKILL.md +19 -0
  27. package/dist/adapters/claude-code/plugin/skills/evidence-ledger/SKILL.md +96 -0
  28. package/dist/adapters/claude-code/plugin/skills/handoff/SKILL.md +36 -0
  29. package/dist/adapters/claude-code/plugin/skills/implement/SKILL.md +41 -0
  30. package/dist/adapters/claude-code/plugin/skills/implementation-context-check/SKILL.md +21 -0
  31. package/dist/adapters/claude-code/plugin/skills/investigate/SKILL.md +40 -0
  32. package/dist/adapters/claude-code/plugin/skills/ledger-refresh/SKILL.md +22 -0
  33. package/dist/adapters/claude-code/plugin/skills/review-pr/SKILL.md +54 -0
  34. package/dist/adapters/claude-code/plugin/skills/verify/SKILL.md +44 -0
  35. package/dist/adapters/claude-code/plugin/templates/handoff.md +30 -0
  36. package/dist/adapters/claude-code/plugin/templates/implement.md +35 -0
  37. package/dist/adapters/claude-code/plugin/templates/investigate.md +34 -0
  38. package/dist/adapters/claude-code/plugin/templates/review-pr.md +48 -0
  39. package/dist/adapters/claude-code/plugin/templates/verify.md +38 -0
  40. package/dist/adapters/claude-code/project/.claude/commands/skill-handoff.md +27 -0
  41. package/dist/adapters/claude-code/project/.claude/commands/skill-implement.md +32 -0
  42. package/dist/adapters/claude-code/project/.claude/commands/skill-investigate.md +29 -0
  43. package/dist/adapters/claude-code/project/.claude/commands/skill-ledger-refresh.md +22 -0
  44. package/dist/adapters/claude-code/project/.claude/commands/skill-report.md +17 -0
  45. package/dist/adapters/claude-code/project/.claude/commands/skill-review.md +43 -0
  46. package/dist/adapters/claude-code/project/.claude/commands/skill-verify.md +37 -0
  47. package/dist/adapters/claude-code/project/.claude/hooks/hooks.json +52 -0
  48. package/dist/adapters/claude-code/project/.claude/skills/README.md +11 -0
  49. package/dist/adapters/codex/README.md +128 -0
  50. package/dist/adapters/codex/commands/codex-exec.md +69 -0
  51. package/dist/adapters/codex/project/.agents/skills/README.md +36 -0
  52. package/dist/adapters/codex/prompts/skill-handoff.md +23 -0
  53. package/dist/adapters/codex/prompts/skill-implement.md +28 -0
  54. package/dist/adapters/codex/prompts/skill-investigate.md +27 -0
  55. package/dist/adapters/codex/prompts/skill-review.md +44 -0
  56. package/dist/adapters/codex/prompts/skill-verify.md +28 -0
  57. package/dist/benchmarks/README.md +125 -0
  58. package/dist/benchmarks/adaptive-portfolio.config.json +439 -0
  59. package/dist/benchmarks/admission-decision-overlay.md +72 -0
  60. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/common/operation-and-observation.md +35 -0
  61. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch02-report-operations/TASK.md +15 -0
  62. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch02-report-operations/acceptance.md +29 -0
  63. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch02-report-operations/business-decisions.md +21 -0
  64. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch02-report-operations/contract.md +37 -0
  65. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch02-report-operations/delivery-provider.md +7 -0
  66. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch02-report-operations/fixture-format.md +13 -0
  67. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch02-report-operations/fixtures/example.json +237 -0
  68. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch02-report-operations/goal-pr.txt +5 -0
  69. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch02-report-operations/nonfunctional.md +3 -0
  70. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch02-report-operations/prompt.txt +5 -0
  71. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch02-report-operations/roles.md +24 -0
  72. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch02-report-operations/workflows.md +35 -0
  73. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch03-price-rollout/TASK.md +15 -0
  74. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch03-price-rollout/acceptance.md +30 -0
  75. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch03-price-rollout/business-decisions.md +23 -0
  76. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch03-price-rollout/contract.md +45 -0
  77. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch03-price-rollout/fixture-format.md +15 -0
  78. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch03-price-rollout/fixtures/campaign-stores.json +284 -0
  79. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch03-price-rollout/fixtures/example.json +299 -0
  80. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch03-price-rollout/goal-pr.txt +5 -0
  81. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch03-price-rollout/nonfunctional.md +3 -0
  82. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch03-price-rollout/prompt.txt +5 -0
  83. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch03-price-rollout/roles.md +28 -0
  84. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch03-price-rollout/workflows.md +35 -0
  85. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch04-document-access/TASK.md +15 -0
  86. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch04-document-access/acceptance.md +30 -0
  87. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch04-document-access/business-decisions.md +23 -0
  88. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch04-document-access/contract.md +39 -0
  89. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch04-document-access/fixture-format.md +11 -0
  90. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch04-document-access/fixtures/dossier-delivery.json +325 -0
  91. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch04-document-access/fixtures/example.json +289 -0
  92. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch04-document-access/goal-pr.txt +5 -0
  93. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch04-document-access/nonfunctional.md +3 -0
  94. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch04-document-access/prompt.txt +5 -0
  95. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch04-document-access/roles.md +27 -0
  96. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch04-document-access/workflows.md +35 -0
  97. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch05-sales-reconciliation/TASK.md +15 -0
  98. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch05-sales-reconciliation/acceptance.md +30 -0
  99. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch05-sales-reconciliation/business-decisions.md +27 -0
  100. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch05-sales-reconciliation/contract.md +39 -0
  101. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch05-sales-reconciliation/fixture-format.md +11 -0
  102. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch05-sales-reconciliation/fixtures/example.json +276 -0
  103. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch05-sales-reconciliation/goal-pr.txt +5 -0
  104. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch05-sales-reconciliation/nonfunctional.md +3 -0
  105. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch05-sales-reconciliation/prompt.txt +5 -0
  106. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch05-sales-reconciliation/roles.md +27 -0
  107. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch05-sales-reconciliation/workflows.md +35 -0
  108. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch06-build-operations/TASK.md +15 -0
  109. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch06-build-operations/acceptance.md +30 -0
  110. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch06-build-operations/business-decisions.md +23 -0
  111. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch06-build-operations/compiler-provider.md +9 -0
  112. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch06-build-operations/contract.md +39 -0
  113. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch06-build-operations/fixture-format.md +11 -0
  114. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch06-build-operations/fixtures/example.json +292 -0
  115. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch06-build-operations/goal-pr.txt +5 -0
  116. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch06-build-operations/nonfunctional.md +3 -0
  117. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch06-build-operations/prompt.txt +5 -0
  118. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch06-build-operations/roles.md +25 -0
  119. package/dist/benchmarks/challenge-candidates/business-five-v3-decisions/public/tasks/ch06-build-operations/workflows.md +35 -0
  120. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/evaluation-protocol.md +58 -0
  121. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/LICENSE +21 -0
  122. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/PROVENANCE.md +9 -0
  123. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/README-ja.md +29 -0
  124. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/README.md +47 -0
  125. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/brief/adr/001-local-storage.md +6 -0
  126. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/brief/adr/007-shared-boundary.md +9 -0
  127. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/brief/adr/009-retention-draft.md +4 -0
  128. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/brief/architecture.md +29 -0
  129. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/brief/contracts.md +14 -0
  130. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/brief/library-policy.md +16 -0
  131. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/brief/open-decisions.md +10 -0
  132. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/brief/release.md +32 -0
  133. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/brief/spec-index.md +17 -0
  134. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/docs/design.md +1624 -0
  135. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/docs/requirements.md +1194 -0
  136. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/eslint.config.mjs +23 -0
  137. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/evidence/ci-summary.json +11 -0
  138. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/evidence/operational-observations.md +11 -0
  139. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/evidence/pilot-desk/approval-history.csv +6 -0
  140. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/evidence/pilot-desk/batches.csv +21 -0
  141. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/evidence/pilot-desk/bookings.csv +6 -0
  142. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/evidence/pilot-desk/clearance.csv +6 -0
  143. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/evidence/pilot-desk/desk-ledger.csv +13 -0
  144. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/evidence/pilot-desk/service-agreement.md +11 -0
  145. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/evidence/pilot-desk/signoffs.csv +12 -0
  146. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/evidence/previous-readiness-note.md +7 -0
  147. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/package.json +26 -0
  148. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/package.json +21 -0
  149. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/action-log.test.ts +32 -0
  150. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/artifact-store.test.ts +64 -0
  151. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/command-catalog.test.ts +89 -0
  152. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/config-store.test.ts +28 -0
  153. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/core-info.test.ts +13 -0
  154. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/cycle-meta.test.ts +491 -0
  155. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/field-report.test.ts +107 -0
  156. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/fix-flow.test.ts +289 -0
  157. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/flow-manifest.test.ts +126 -0
  158. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/flow-run.test.ts +44 -0
  159. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/knowledge-capture.test.ts +288 -0
  160. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/meta-status.test.ts +109 -0
  161. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/p0-readiness.test.ts +192 -0
  162. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/project-context.test.ts +172 -0
  163. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/project-init.test.ts +82 -0
  164. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/prompt-renderer.test.ts +87 -0
  165. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/prompt-template.test.ts +55 -0
  166. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/response-import.test.ts +40 -0
  167. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/response-normalize.test.ts +59 -0
  168. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/review-resolution.test.ts +187 -0
  169. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/review-work-metrics.test.ts +173 -0
  170. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/runtime-ports.test.ts +118 -0
  171. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/__tests__/skill-evidence.test.ts +101 -0
  172. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/actions/action-log.ts +48 -0
  173. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/application/project-context.ts +291 -0
  174. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/application/project-init.ts +224 -0
  175. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/artifacts/artifact-store.ts +2 -0
  176. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/artifacts/open-artifact.ts +21 -0
  177. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/config/config-store.ts +73 -0
  178. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/cycles/state.ts +799 -0
  179. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/domain/artifacts.ts +20 -0
  180. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/domain/diff-classification.ts +65 -0
  181. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/flows/manifest.ts +1648 -0
  182. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/flows/run.ts +77 -0
  183. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/index.ts +48 -0
  184. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/infrastructure/fs/artifact-store.ts +60 -0
  185. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/infrastructure/fs/runtime.ts +22 -0
  186. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/infrastructure/fs/workspace-store.ts +107 -0
  187. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/infrastructure/memory/runtime.ts +185 -0
  188. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/knowledge/capture.ts +666 -0
  189. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/meta/command-catalog.ts +909 -0
  190. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/meta/readiness.ts +519 -0
  191. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/meta/status.ts +58 -0
  192. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/metrics/review-work.ts +317 -0
  193. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/ports/artifact-store.ts +16 -0
  194. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/ports/runtime.ts +56 -0
  195. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/project/context.ts +46 -0
  196. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/project/init.ts +20 -0
  197. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/prompts/render.ts +369 -0
  198. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/prompts/templates.ts +153 -0
  199. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/reports/field-report.ts +230 -0
  200. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/responses/import.ts +127 -0
  201. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/responses/normalize.ts +389 -0
  202. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/reviews/action-plan-understanding.ts +136 -0
  203. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/reviews/comment-resolution.ts +605 -0
  204. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/reviews/fix-flow.ts +863 -0
  205. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/serialization/json.ts +18 -0
  206. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/serialization/paths.ts +27 -0
  207. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/serialization/yaml.ts +20 -0
  208. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/skill/evidence.ts +207 -0
  209. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/src/types.ts +634 -0
  210. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/core/tsconfig.json +10 -0
  211. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/README.md +18 -0
  212. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/package.json +13 -0
  213. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/public/app.js +357 -0
  214. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/public/index.html +35 -0
  215. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/public/styles.css +172 -0
  216. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/server/API.md +41 -0
  217. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/server/access.mjs +17 -0
  218. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/server/app.mjs +320 -0
  219. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/server/artifacts.mjs +81 -0
  220. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/server/core-bridge.mjs +48 -0
  221. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/server/errors.mjs +9 -0
  222. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/server/fixtures.mjs +75 -0
  223. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/server/index.mjs +14 -0
  224. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/server/jobs.mjs +93 -0
  225. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/server/journal.mjs +46 -0
  226. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/server/provider.mjs +59 -0
  227. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/server/reviews.mjs +80 -0
  228. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/server/store.mjs +105 -0
  229. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/test/helpers/review-fixture.mjs +9 -0
  230. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/test/persistence.test.mjs +60 -0
  231. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/portal/test/portal.test.mjs +364 -0
  232. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/providers/package.json +21 -0
  233. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/providers/src/__tests__/github.test.ts +335 -0
  234. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/providers/src/__tests__/local-git.test.ts +98 -0
  235. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/providers/src/__tests__/provider-boundary.test.ts +18 -0
  236. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/providers/src/github.ts +643 -0
  237. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/providers/src/index.ts +54 -0
  238. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/providers/src/local-git.ts +520 -0
  239. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/providers/tsconfig.json +15 -0
  240. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/l10n/bundle.l10n.ja.json +868 -0
  241. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/l10n/bundle.l10n.json +868 -0
  242. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/package.json +474 -0
  243. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/package.nls.ja.json +38 -0
  244. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/package.nls.json +38 -0
  245. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/resources/reviewops-activitybar.svg +12 -0
  246. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/resources/reviewops-command-dark.svg +12 -0
  247. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/resources/reviewops-command-light.svg +12 -0
  248. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/resources/reviewops_guard_icon_128.png +0 -0
  249. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/src/artifact-browser.ts +380 -0
  250. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/src/artifact-loader.ts +460 -0
  251. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/src/command-center-renderer.ts +1341 -0
  252. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/src/command-center-results.ts +183 -0
  253. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/src/command-center.ts +819 -0
  254. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/src/extension-runtime.ts +2670 -0
  255. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/src/extension.ts +1 -0
  256. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/src/localization.ts +19 -0
  257. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/src/publish-draft-artifacts.ts +58 -0
  258. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/src/review-targets.ts +178 -0
  259. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/src/review-work-artifacts.ts +200 -0
  260. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/src/run-id.ts +3 -0
  261. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/src/scoped-cycle-prompt.ts +119 -0
  262. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/src/tree-views.ts +243 -0
  263. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/src/webview-renderers.ts +184 -0
  264. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/packages/vscode-extension/tsconfig.json +18 -0
  265. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/pnpm-lock.yaml +1708 -0
  266. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/pnpm-workspace.yaml +2 -0
  267. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/scripts/check-policy.mjs +14 -0
  268. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/scripts/generate-vsix.command +226 -0
  269. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/scripts/pilot-board.mjs +20 -0
  270. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/scripts/policy-checker.mjs +145 -0
  271. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/scripts/smoke-vsix.command +129 -0
  272. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/task.md +11 -0
  273. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/tests/policy/ai-network-guard.test.ts +9 -0
  274. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/tests/vscode-extension-activation.test.ts +474 -0
  275. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/tests/vscode-extension-artifacts.test.ts +2087 -0
  276. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/tests/vscode-extension-package.test.ts +336 -0
  277. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/tests/vsix-smoke-command.test.ts +32 -0
  278. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/tsconfig.base.json +15 -0
  279. package/dist/benchmarks/challenge-candidates/review-ceiling-v1/workspace/vitest.config.ts +11 -0
  280. package/dist/benchmarks/challenge-candidates/ui-reconstruction-v1/README.md +66 -0
  281. package/dist/benchmarks/challenge-candidates/ui-reconstruction-v1/workspace/brief/data-contract.md +51 -0
  282. package/dist/benchmarks/challenge-candidates/ui-reconstruction-v1/workspace/brief/rubric.json +756 -0
  283. package/dist/benchmarks/challenge-candidates/ui-reconstruction-v1/workspace/brief/scenarios.json +333 -0
  284. package/dist/benchmarks/challenge-candidates/ui-reconstruction-v1/workspace/brief/spec.md +35 -0
  285. package/dist/benchmarks/challenge-candidates/ui-reconstruction-v1/workspace/fixtures/assessment-valid.json +53 -0
  286. package/dist/benchmarks/challenge-candidates/ui-reconstruction-v1/workspace/fixtures/assessment-wrong-evidence.json +53 -0
  287. package/dist/benchmarks/challenge-candidates/ui-reconstruction-v1/workspace/fixtures/backup-dangling.json +565 -0
  288. package/dist/benchmarks/challenge-candidates/ui-reconstruction-v1/workspace/fixtures/career-valid.json +51 -0
  289. package/dist/benchmarks/challenge-candidates/ui-reconstruction-v1/workspace/fixtures/plan-over-limit.json +61 -0
  290. package/dist/benchmarks/challenge-candidates/ui-reconstruction-v1/workspace/fixtures/plan-valid.json +61 -0
  291. package/dist/benchmarks/challenge-candidates/ui-reconstruction-v1/workspace/fixtures/plan-wrong-request.json +61 -0
  292. package/dist/benchmarks/challenge-candidates/ui-reconstruction-v1/workspace/fixtures/seed.json +565 -0
  293. package/dist/benchmarks/challenge-candidates/ui-reconstruction-v1/workspace/task.md +29 -0
  294. package/dist/benchmarks/contracts/rule-batch/2.0.0/bundle.json +270 -0
  295. package/dist/benchmarks/contracts/rule-batch/2.0.0/examples/mutants.mjs +129 -0
  296. package/dist/benchmarks/contracts/rule-batch/2.0.0/examples/reference.mjs +150 -0
  297. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/cases.mjs +261 -0
  298. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/contract.test.mjs +5 -0
  299. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/legacy-baseline/src/errors.mjs +17 -0
  300. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/legacy-baseline/src/index.mjs +3 -0
  301. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/legacy-baseline/src/rule-service.mjs +27 -0
  302. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/legacy-baseline/src/rule-store.mjs +38 -0
  303. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/legacy-baseline/src/validation.mjs +20 -0
  304. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/legacy-case-ids.json +458 -0
  305. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/legacy-results.mjs +37 -0
  306. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/legacy-verifier.v1.2.mjs +115 -0
  307. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/legacy.test.mjs +4 -0
  308. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/r1.test.mjs +10 -0
  309. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/r10.test.mjs +10 -0
  310. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/r2.test.mjs +10 -0
  311. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/r3.test.mjs +10 -0
  312. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/r4.test.mjs +10 -0
  313. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/r5.test.mjs +10 -0
  314. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/r6.test.mjs +10 -0
  315. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/r7.test.mjs +10 -0
  316. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/r8.test.mjs +10 -0
  317. package/dist/benchmarks/contracts/rule-batch/2.0.0/fixed/r9.test.mjs +10 -0
  318. package/dist/benchmarks/contracts/rule-batch/2.0.0/history.json +27 -0
  319. package/dist/benchmarks/contracts/rule-batch/2.0.0/requirements.json +547 -0
  320. package/dist/benchmarks/contracts/rule-batch/2.0.0/seed/docs/rule-batch.schema.json +27 -0
  321. package/dist/benchmarks/contracts/rule-batch/2.0.0/seed/docs/rule-batches.md +140 -0
  322. package/dist/benchmarks/contracts/rule-batch/2.0.0/seed/package.json +7 -0
  323. package/dist/benchmarks/contracts/rule-batch/2.0.0/seed/src/errors.mjs +17 -0
  324. package/dist/benchmarks/contracts/rule-batch/2.0.0/seed/src/index.mjs +3 -0
  325. package/dist/benchmarks/contracts/rule-batch/2.0.0/seed/src/rule-service.mjs +27 -0
  326. package/dist/benchmarks/contracts/rule-batch/2.0.0/seed/src/rule-store.mjs +38 -0
  327. package/dist/benchmarks/contracts/rule-batch/2.0.0/seed/src/validation.mjs +20 -0
  328. package/dist/benchmarks/contracts/rule-batch/2.0.0/seed/test/rule-service.test.mjs +34 -0
  329. package/dist/benchmarks/contracts/rule-batch/2.0.0/spec.md +140 -0
  330. package/dist/benchmarks/contracts/rule-batch/2.0.0/task.md +35 -0
  331. package/dist/benchmarks/contracts/rule-batch/2.0.0/verification-contract.md +56 -0
  332. package/dist/benchmarks/contracts/rule-batch/2.0.0/verification.json +100 -0
  333. package/dist/benchmarks/evaluation-tasks.json +1645 -0
  334. package/dist/benchmarks/evaluator-boundary.md +107 -0
  335. package/dist/benchmarks/portfolio-admission-policy.json +1171 -0
  336. package/dist/benchmarks/portfolio-catalog.json +837 -0
  337. package/dist/benchmarks/portfolio-design-admission-manifest.json +170 -0
  338. package/dist/benchmarks/portfolio-design-admission-records/hi-authorization-exception.json +99 -0
  339. package/dist/benchmarks/portfolio-design-admission-records/hi-external-action-approval.json +105 -0
  340. package/dist/benchmarks/portfolio-design-admission-records/hi-financial-state-integrity.json +105 -0
  341. package/dist/benchmarks/portfolio-design-admission-records/hi-versioned-migration-safety.json +108 -0
  342. package/dist/benchmarks/portfolio-design-admission-records/mn-build-option-update.json +108 -0
  343. package/dist/benchmarks/portfolio-design-admission-records/mn-client-compatibility-fix.json +108 -0
  344. package/dist/benchmarks/portfolio-design-admission-records/mn-doc-config-correction.json +108 -0
  345. package/dist/benchmarks/portfolio-design-admission-records/mn-focused-regression-test.json +108 -0
  346. package/dist/benchmarks/portfolio-design-admission-records/mn-frontend-default-fix.json +108 -0
  347. package/dist/benchmarks/portfolio-design-admission-records/mn-schema-field-alignment.json +108 -0
  348. package/dist/benchmarks/portfolio-design-admission-records/mp-accessibility-interaction-review.json +103 -0
  349. package/dist/benchmarks/portfolio-design-admission-records/mp-ci-evidence-gap.json +103 -0
  350. package/dist/benchmarks/portfolio-design-admission-records/mp-data-migration-handoff.json +108 -0
  351. package/dist/benchmarks/portfolio-design-admission-records/mp-frontend-state-review.json +103 -0
  352. package/dist/benchmarks/portfolio-design-admission-records/mp-iac-rollback-design.json +106 -0
  353. package/dist/benchmarks/portfolio-design-admission-records/mp-performance-investigation.json +106 -0
  354. package/dist/benchmarks/portfolio-design-admission-records/pf-api-pagination-behavior.json +108 -0
  355. package/dist/benchmarks/portfolio-design-admission-records/pf-ci-cache-flake.json +106 -0
  356. package/dist/benchmarks/portfolio-design-admission-records/pf-data-schema-evolution.json +105 -0
  357. package/dist/benchmarks/portfolio-design-admission-records/pf-frontend-async-state.json +108 -0
  358. package/dist/benchmarks/portfolio-design-admission-records/pf-library-compat-upgrade.json +105 -0
  359. package/dist/benchmarks/portfolio-design-admission-records/pf-observability-redaction.json +99 -0
  360. package/dist/benchmarks/portfolio-design-admission-records/pf-performance-regression.json +108 -0
  361. package/dist/benchmarks/portfolio-design-admission-records/pf-review-error-contract.json +103 -0
  362. package/dist/benchmarks/portfolio-design-independent-review.json +1666 -0
  363. package/dist/benchmarks/portfolio-design-review-package.json +249 -0
  364. package/dist/benchmarks/portfolio-design-reviewed-state.json +152 -0
  365. package/dist/benchmarks/portfolio-high-impact-sensitivity-policy.json +40 -0
  366. package/dist/benchmarks/portfolio-lineage-policy.json +213 -0
  367. package/dist/benchmarks/portfolio-policy-manifest.json +32 -0
  368. package/dist/benchmarks/portfolio-scoring-policy.json +589 -0
  369. package/dist/benchmarks/portfolio-similarity.json +2222 -0
  370. package/dist/benchmarks/prompt-v2-preregistration.json +411 -0
  371. package/dist/benchmarks/protocol-adaptive.md +487 -0
  372. package/dist/benchmarks/protocol-b2.md +113 -0
  373. package/dist/benchmarks/protocol-prompt-v2.md +108 -0
  374. package/dist/benchmarks/protocol.md +122 -0
  375. package/dist/benchmarks/report-template.md +61 -0
  376. package/dist/benchmarks/schemas/adaptive-selection-input.schema.json +82 -0
  377. package/dist/benchmarks/schemas/adaptive-selection-state.schema.json +45 -0
  378. package/dist/benchmarks/schemas/adaptive-selection.schema.json +137 -0
  379. package/dist/benchmarks/schemas/agent-output.schema.json +66 -0
  380. package/dist/benchmarks/schemas/core-evaluator-result-envelope.schema.json +708 -0
  381. package/dist/benchmarks/schemas/core-native-compatibility-provenance.schema.json +130 -0
  382. package/dist/benchmarks/schemas/core-normalized-portfolio-result.schema.json +945 -0
  383. package/dist/benchmarks/schemas/core-normalized-portfolio-run.schema.json +676 -0
  384. package/dist/benchmarks/schemas/core-original-workspace-authority.schema.json +315 -0
  385. package/dist/benchmarks/schemas/core-portfolio-command-evidence.schema.json +548 -0
  386. package/dist/benchmarks/schemas/core-portfolio-engineering-result.schema.json +1187 -0
  387. package/dist/benchmarks/schemas/core-portfolio-terminal-workspace-authority.schema.json +395 -0
  388. package/dist/benchmarks/schemas/core-repository-diff-artifact.schema.json +253 -0
  389. package/dist/benchmarks/schemas/evaluation-input-failure-artifact.schema.json +36 -0
  390. package/dist/benchmarks/schemas/evaluator-authority-manifest.schema.json +63 -0
  391. package/dist/benchmarks/schemas/evaluator-check-artifact.schema.json +35 -0
  392. package/dist/benchmarks/schemas/evaluator-reference.schema.json +129 -0
  393. package/dist/benchmarks/schemas/evaluator-result-envelope.schema.json +261 -0
  394. package/dist/benchmarks/schemas/execution-plan.schema.json +121 -0
  395. package/dist/benchmarks/schemas/materialization-manifest.schema.json +187 -0
  396. package/dist/benchmarks/schemas/normalized-portfolio-result.schema.json +379 -0
  397. package/dist/benchmarks/schemas/normalized-portfolio-root.schema.json +49 -0
  398. package/dist/benchmarks/schemas/normalized-portfolio-run.schema.json +289 -0
  399. package/dist/benchmarks/schemas/original-workspace-authority.schema.json +99 -0
  400. package/dist/benchmarks/schemas/portfolio-adapter-identity.schema.json +148 -0
  401. package/dist/benchmarks/schemas/portfolio-admission-decision.schema.json +140 -0
  402. package/dist/benchmarks/schemas/portfolio-admission-policy.schema.json +347 -0
  403. package/dist/benchmarks/schemas/portfolio-admission-review-authority.schema.json +60 -0
  404. package/dist/benchmarks/schemas/portfolio-aggregate-result-v2.schema.json +1107 -0
  405. package/dist/benchmarks/schemas/portfolio-aggregate-result.schema.json +140 -0
  406. package/dist/benchmarks/schemas/portfolio-attempt-commit.schema.json +30 -0
  407. package/dist/benchmarks/schemas/portfolio-attempt-request.schema.json +134 -0
  408. package/dist/benchmarks/schemas/portfolio-attempt-result.schema.json +256 -0
  409. package/dist/benchmarks/schemas/portfolio-case-state.schema.json +38 -0
  410. package/dist/benchmarks/schemas/portfolio-catalog.schema.json +122 -0
  411. package/dist/benchmarks/schemas/portfolio-claim.schema.json +72 -0
  412. package/dist/benchmarks/schemas/portfolio-classification-record.schema.json +46 -0
  413. package/dist/benchmarks/schemas/portfolio-command-evidence.schema.json +122 -0
  414. package/dist/benchmarks/schemas/portfolio-config.schema.json +138 -0
  415. package/dist/benchmarks/schemas/portfolio-consumer-report.schema.json +289 -0
  416. package/dist/benchmarks/schemas/portfolio-design-admission-manifest.schema.json +76 -0
  417. package/dist/benchmarks/schemas/portfolio-design-admission-record.schema.json +205 -0
  418. package/dist/benchmarks/schemas/portfolio-design-independent-review.schema.json +264 -0
  419. package/dist/benchmarks/schemas/portfolio-design-review-package.schema.json +96 -0
  420. package/dist/benchmarks/schemas/portfolio-design-reviewed-state.schema.json +99 -0
  421. package/dist/benchmarks/schemas/portfolio-directional-outcome-report.schema.json +164 -0
  422. package/dist/benchmarks/schemas/portfolio-engineering-result-set.schema.json +222 -0
  423. package/dist/benchmarks/schemas/portfolio-engineering-result-source-manifest.schema.json +93 -0
  424. package/dist/benchmarks/schemas/portfolio-engineering-result.schema.json +515 -0
  425. package/dist/benchmarks/schemas/portfolio-evolution-binding.schema.json +71 -0
  426. package/dist/benchmarks/schemas/portfolio-final-admission-record.schema.json +125 -0
  427. package/dist/benchmarks/schemas/portfolio-high-impact-sensitivity-policy.schema.json +44 -0
  428. package/dist/benchmarks/schemas/portfolio-high-impact-sensitivity-registration.schema.json +136 -0
  429. package/dist/benchmarks/schemas/portfolio-high-impact-sensitivity-report.schema.json +384 -0
  430. package/dist/benchmarks/schemas/portfolio-legacy-calibration-migration.schema.json +308 -0
  431. package/dist/benchmarks/schemas/portfolio-lineage-policy.schema.json +180 -0
  432. package/dist/benchmarks/schemas/portfolio-lineage-record.schema.json +52 -0
  433. package/dist/benchmarks/schemas/portfolio-mechanism-scorecard.schema.json +197 -0
  434. package/dist/benchmarks/schemas/portfolio-output-contract.schema.json +52 -0
  435. package/dist/benchmarks/schemas/portfolio-paired-comparison-report.schema.json +346 -0
  436. package/dist/benchmarks/schemas/portfolio-policy-manifest.schema.json +85 -0
  437. package/dist/benchmarks/schemas/portfolio-repetition-report.schema.json +204 -0
  438. package/dist/benchmarks/schemas/portfolio-requirement-record.schema.json +72 -0
  439. package/dist/benchmarks/schemas/portfolio-run-identity.schema.json +58 -0
  440. package/dist/benchmarks/schemas/portfolio-runtime-config.schema.json +147 -0
  441. package/dist/benchmarks/schemas/portfolio-scoring-policy.schema.json +497 -0
  442. package/dist/benchmarks/schemas/portfolio-similarity.schema.json +64 -0
  443. package/dist/benchmarks/schemas/portfolio-terminal-workspace-authority.schema.json +134 -0
  444. package/dist/benchmarks/schemas/portfolio-verification-command-contract.schema.json +69 -0
  445. package/dist/benchmarks/schemas/primary-evaluator-result-envelope.schema.json +708 -0
  446. package/dist/benchmarks/schemas/primary-k2-evaluator-result-envelope.schema.json +708 -0
  447. package/dist/benchmarks/schemas/primary-k2-normalized-portfolio-result.schema.json +945 -0
  448. package/dist/benchmarks/schemas/primary-k2-normalized-portfolio-run.schema.json +676 -0
  449. package/dist/benchmarks/schemas/primary-k2-original-workspace-authority.schema.json +315 -0
  450. package/dist/benchmarks/schemas/primary-k2-portfolio-command-evidence.schema.json +554 -0
  451. package/dist/benchmarks/schemas/primary-k2-portfolio-engineering-result.schema.json +1187 -0
  452. package/dist/benchmarks/schemas/primary-k2-portfolio-terminal-workspace-authority.schema.json +395 -0
  453. package/dist/benchmarks/schemas/primary-k2-repository-diff-artifact.schema.json +253 -0
  454. package/dist/benchmarks/schemas/primary-k2-saved-v10-evaluator-result-envelope.schema.json +3604 -0
  455. package/dist/benchmarks/schemas/primary-k2-saved-v10-normalized-portfolio-result.schema.json +3804 -0
  456. package/dist/benchmarks/schemas/primary-k2-saved-v10-portfolio-command-evidence.schema.json +3531 -0
  457. package/dist/benchmarks/schemas/primary-k2-saved-v10-portfolio-engineering-result.schema.json +4126 -0
  458. package/dist/benchmarks/schemas/primary-k2-saved-v2-portfolio-command-evidence.schema.json +548 -0
  459. package/dist/benchmarks/schemas/primary-k2-saved-v3-portfolio-command-evidence.schema.json +548 -0
  460. package/dist/benchmarks/schemas/primary-k2-saved-v4-portfolio-command-evidence.schema.json +548 -0
  461. package/dist/benchmarks/schemas/primary-k2-saved-v5-portfolio-command-evidence.schema.json +558 -0
  462. package/dist/benchmarks/schemas/primary-k2-saved-v6-portfolio-command-evidence.schema.json +668 -0
  463. package/dist/benchmarks/schemas/primary-k2-saved-v7-evaluator-result-envelope.schema.json +708 -0
  464. package/dist/benchmarks/schemas/primary-k2-saved-v7-portfolio-command-evidence.schema.json +676 -0
  465. package/dist/benchmarks/schemas/primary-k2-saved-v8-evaluator-result-envelope.schema.json +760 -0
  466. package/dist/benchmarks/schemas/primary-k2-saved-v8-normalized-portfolio-result.schema.json +960 -0
  467. package/dist/benchmarks/schemas/primary-k2-saved-v8-portfolio-command-evidence.schema.json +687 -0
  468. package/dist/benchmarks/schemas/primary-k2-saved-v8-portfolio-engineering-result.schema.json +1282 -0
  469. package/dist/benchmarks/schemas/primary-k2-saved-v9-evaluator-result-envelope.schema.json +760 -0
  470. package/dist/benchmarks/schemas/primary-k2-saved-v9-normalized-portfolio-result.schema.json +960 -0
  471. package/dist/benchmarks/schemas/primary-k2-saved-v9-portfolio-command-evidence.schema.json +687 -0
  472. package/dist/benchmarks/schemas/primary-k2-saved-v9-portfolio-engineering-result.schema.json +1282 -0
  473. package/dist/benchmarks/schemas/primary-normalized-portfolio-result.schema.json +945 -0
  474. package/dist/benchmarks/schemas/primary-normalized-portfolio-run.schema.json +676 -0
  475. package/dist/benchmarks/schemas/primary-original-workspace-authority.schema.json +315 -0
  476. package/dist/benchmarks/schemas/primary-portfolio-command-evidence.schema.json +554 -0
  477. package/dist/benchmarks/schemas/primary-portfolio-engineering-result.schema.json +1187 -0
  478. package/dist/benchmarks/schemas/primary-portfolio-terminal-workspace-authority.schema.json +395 -0
  479. package/dist/benchmarks/schemas/primary-public-capability-selection-v2.schema.json +31 -0
  480. package/dist/benchmarks/schemas/primary-repository-diff-artifact.schema.json +253 -0
  481. package/dist/benchmarks/schemas/primary-runtime-v10-binding.schema.json +2843 -0
  482. package/dist/benchmarks/schemas/primary-saved-v10-evaluator-result-envelope.schema.json +3604 -0
  483. package/dist/benchmarks/schemas/primary-saved-v10-normalized-portfolio-result.schema.json +3804 -0
  484. package/dist/benchmarks/schemas/primary-saved-v10-portfolio-command-evidence.schema.json +3531 -0
  485. package/dist/benchmarks/schemas/primary-saved-v10-portfolio-engineering-result.schema.json +4126 -0
  486. package/dist/benchmarks/schemas/primary-saved-v2-portfolio-command-evidence.schema.json +548 -0
  487. package/dist/benchmarks/schemas/primary-saved-v3-portfolio-command-evidence.schema.json +548 -0
  488. package/dist/benchmarks/schemas/primary-saved-v4-portfolio-command-evidence.schema.json +548 -0
  489. package/dist/benchmarks/schemas/primary-saved-v5-portfolio-command-evidence.schema.json +558 -0
  490. package/dist/benchmarks/schemas/primary-saved-v6-portfolio-command-evidence.schema.json +668 -0
  491. package/dist/benchmarks/schemas/primary-saved-v7-evaluator-result-envelope.schema.json +708 -0
  492. package/dist/benchmarks/schemas/primary-saved-v7-portfolio-command-evidence.schema.json +676 -0
  493. package/dist/benchmarks/schemas/primary-saved-v8-evaluator-result-envelope.schema.json +760 -0
  494. package/dist/benchmarks/schemas/primary-saved-v8-normalized-portfolio-result.schema.json +960 -0
  495. package/dist/benchmarks/schemas/primary-saved-v8-portfolio-command-evidence.schema.json +687 -0
  496. package/dist/benchmarks/schemas/primary-saved-v8-portfolio-engineering-result.schema.json +1282 -0
  497. package/dist/benchmarks/schemas/primary-saved-v9-evaluator-result-envelope.schema.json +760 -0
  498. package/dist/benchmarks/schemas/primary-saved-v9-normalized-portfolio-result.schema.json +960 -0
  499. package/dist/benchmarks/schemas/primary-saved-v9-portfolio-command-evidence.schema.json +687 -0
  500. package/dist/benchmarks/schemas/primary-saved-v9-portfolio-engineering-result.schema.json +1282 -0
  501. package/dist/benchmarks/schemas/private-evaluation-record.schema.json +311 -0
  502. package/dist/benchmarks/schemas/private-evaluator-bundle.schema.json +224 -0
  503. package/dist/benchmarks/schemas/private-evaluator-fragment.schema.json +140 -0
  504. package/dist/benchmarks/schemas/private-evaluator-independence-statement.schema.json +168 -0
  505. package/dist/benchmarks/schemas/prompt-v2-comparison-report.schema.json +94 -0
  506. package/dist/benchmarks/schemas/prompt-v2-execution-plan.schema.json +115 -0
  507. package/dist/benchmarks/schemas/prompt-v2-materialization-manifest.schema.json +58 -0
  508. package/dist/benchmarks/schemas/prompt-v2-normalized-result.schema.json +109 -0
  509. package/dist/benchmarks/schemas/prompt-v2-preregistration.schema.json +266 -0
  510. package/dist/benchmarks/schemas/prompt-v2-resume-state.schema.json +60 -0
  511. package/dist/benchmarks/schemas/repository-diff-artifact.schema.json +78 -0
  512. package/dist/benchmarks/schemas/result.schema.json +292 -0
  513. package/dist/benchmarks/schemas/runtime-observation-carrier.schema.json +480 -0
  514. package/dist/benchmarks/schemas/scoring-input-freeze-manifest.schema.json +77 -0
  515. package/dist/benchmarks/task-revisions/ch01-inventory-reservation-logistics/rubric.json +41 -0
  516. package/dist/benchmarks/task-revisions/ch02-report-operations/input-manifest.json +141 -0
  517. package/dist/benchmarks/task-revisions/ch02-report-operations/rubric.json +40 -0
  518. package/dist/benchmarks/task-revisions/ch03-price-rollout/input-manifest.json +141 -0
  519. package/dist/benchmarks/task-revisions/ch03-price-rollout/rubric.json +49 -0
  520. package/dist/benchmarks/task-revisions/ch04-document-access/input-manifest.json +141 -0
  521. package/dist/benchmarks/task-revisions/ch04-document-access/rubric.json +49 -0
  522. package/dist/benchmarks/task-revisions/ch05-sales-reconciliation/input-manifest.json +131 -0
  523. package/dist/benchmarks/task-revisions/ch05-sales-reconciliation/rubric.json +49 -0
  524. package/dist/benchmarks/task-revisions/ch06-build-operations/input-manifest.json +141 -0
  525. package/dist/benchmarks/task-revisions/ch06-build-operations/rubric.json +49 -0
  526. package/dist/benchmarks/task-revisions/ch08-growth-workspace/input-manifest.json +78 -0
  527. package/dist/benchmarks/task-revisions/ch08-growth-workspace/rubric.json +49 -0
  528. package/dist/benchmarks/task-revisions/hi-authorization-exception/input-manifest.json +72 -0
  529. package/dist/benchmarks/task-revisions/hi-authorization-exception/rubric.json +52 -0
  530. package/dist/benchmarks/task-revisions/hi-authorization-exception/task.md +17 -0
  531. package/dist/benchmarks/task-revisions/hi-authorization-exception/workspace/base/authorization.mjs +6 -0
  532. package/dist/benchmarks/task-revisions/hi-authorization-exception/workspace/data/access-cases.json +251 -0
  533. package/dist/benchmarks/task-revisions/hi-authorization-exception/workspace/docs/ownership-contract.md +11 -0
  534. package/dist/benchmarks/task-revisions/hi-authorization-exception/workspace/package.json +13 -0
  535. package/dist/benchmarks/task-revisions/hi-authorization-exception/workspace/pr.diff +12 -0
  536. package/dist/benchmarks/task-revisions/hi-authorization-exception/workspace/review.schema.json +175 -0
  537. package/dist/benchmarks/task-revisions/hi-authorization-exception/workspace/scripts/trace-access.mjs +14 -0
  538. package/dist/benchmarks/task-revisions/hi-authorization-exception/workspace/scripts/validate-review.mjs +12 -0
  539. package/dist/benchmarks/task-revisions/hi-authorization-exception/workspace/src/authorization.mjs +6 -0
  540. package/dist/benchmarks/task-revisions/hi-authorization-exception/workspace/test/access-subset.test.mjs +1 -0
  541. package/dist/benchmarks/task-revisions/hi-external-action-approval/input-manifest.json +87 -0
  542. package/dist/benchmarks/task-revisions/hi-external-action-approval/rubric.json +44 -0
  543. package/dist/benchmarks/task-revisions/hi-external-action-approval/task.md +7 -0
  544. package/dist/benchmarks/task-revisions/hi-external-action-approval/workspace/data/approval-receipts.json +162 -0
  545. package/dist/benchmarks/task-revisions/hi-external-action-approval/workspace/data/operation-cases.json +257 -0
  546. package/dist/benchmarks/task-revisions/hi-external-action-approval/workspace/data/review-attestations.json +257 -0
  547. package/dist/benchmarks/task-revisions/hi-external-action-approval/workspace/data/state.json +1 -0
  548. package/dist/benchmarks/task-revisions/hi-external-action-approval/workspace/docs/action-contract.md +15 -0
  549. package/dist/benchmarks/task-revisions/hi-external-action-approval/workspace/operation-plan.json +5 -0
  550. package/dist/benchmarks/task-revisions/hi-external-action-approval/workspace/package.json +13 -0
  551. package/dist/benchmarks/task-revisions/hi-external-action-approval/workspace/plan.schema.json +127 -0
  552. package/dist/benchmarks/task-revisions/hi-external-action-approval/workspace/scripts/controller.mjs +45 -0
  553. package/dist/benchmarks/task-revisions/hi-external-action-approval/workspace/scripts/dry-run.mjs +1 -0
  554. package/dist/benchmarks/task-revisions/hi-external-action-approval/workspace/scripts/validate-plan.mjs +1 -0
  555. package/dist/benchmarks/task-revisions/hi-external-action-approval/workspace/scripts/validate-shape.mjs +16 -0
  556. package/dist/benchmarks/task-revisions/hi-external-action-approval/workspace/test/approval.test.mjs +55 -0
  557. package/dist/benchmarks/task-revisions/hi-financial-state-integrity/input-manifest.json +52 -0
  558. package/dist/benchmarks/task-revisions/hi-financial-state-integrity/rubric.json +45 -0
  559. package/dist/benchmarks/task-revisions/hi-financial-state-integrity/task.md +17 -0
  560. package/dist/benchmarks/task-revisions/hi-financial-state-integrity/workspace/data/incident.json +19 -0
  561. package/dist/benchmarks/task-revisions/hi-financial-state-integrity/workspace/data/initial-state.json +9 -0
  562. package/dist/benchmarks/task-revisions/hi-financial-state-integrity/workspace/docs/ledger-contract.md +9 -0
  563. package/dist/benchmarks/task-revisions/hi-financial-state-integrity/workspace/package.json +11 -0
  564. package/dist/benchmarks/task-revisions/hi-financial-state-integrity/workspace/src/ledger.mjs +11 -0
  565. package/dist/benchmarks/task-revisions/hi-financial-state-integrity/workspace/test/ledger.test.mjs +15 -0
  566. package/dist/benchmarks/task-revisions/hi-versioned-migration-safety/input-manifest.json +87 -0
  567. package/dist/benchmarks/task-revisions/hi-versioned-migration-safety/rubric.json +45 -0
  568. package/dist/benchmarks/task-revisions/hi-versioned-migration-safety/task.md +7 -0
  569. package/dist/benchmarks/task-revisions/hi-versioned-migration-safety/workspace/data/mixed-state.json +17 -0
  570. package/dist/benchmarks/task-revisions/hi-versioned-migration-safety/workspace/data/rollback-cases.json +84 -0
  571. package/dist/benchmarks/task-revisions/hi-versioned-migration-safety/workspace/data/schema-phases.json +54 -0
  572. package/dist/benchmarks/task-revisions/hi-versioned-migration-safety/workspace/data/timeline.json +52 -0
  573. package/dist/benchmarks/task-revisions/hi-versioned-migration-safety/workspace/docs/migration-contract.md +17 -0
  574. package/dist/benchmarks/task-revisions/hi-versioned-migration-safety/workspace/migration-plan.json +10 -0
  575. package/dist/benchmarks/task-revisions/hi-versioned-migration-safety/workspace/package.json +13 -0
  576. package/dist/benchmarks/task-revisions/hi-versioned-migration-safety/workspace/plan.schema.json +110 -0
  577. package/dist/benchmarks/task-revisions/hi-versioned-migration-safety/workspace/scripts/compatibility.mjs +51 -0
  578. package/dist/benchmarks/task-revisions/hi-versioned-migration-safety/workspace/scripts/dry-run.mjs +1 -0
  579. package/dist/benchmarks/task-revisions/hi-versioned-migration-safety/workspace/scripts/validate-plan.mjs +1 -0
  580. package/dist/benchmarks/task-revisions/hi-versioned-migration-safety/workspace/scripts/validate-shape.mjs +16 -0
  581. package/dist/benchmarks/task-revisions/hi-versioned-migration-safety/workspace/test/mixed-version.test.mjs +61 -0
  582. package/dist/benchmarks/task-revisions/implementation-clearing-cutover/input-manifest.json +85 -0
  583. package/dist/benchmarks/task-revisions/implementation-clearing-cutover/rubric.json +34 -0
  584. package/dist/benchmarks/task-revisions/implementation-clearing-cutover/task.md +5 -0
  585. package/dist/benchmarks/task-revisions/implementation-clearing-cutover/workspace/data/incident.json +8 -0
  586. package/dist/benchmarks/task-revisions/implementation-clearing-cutover/workspace/data/initial-state.json +21 -0
  587. package/dist/benchmarks/task-revisions/implementation-clearing-cutover/workspace/data/service-save.json +160 -0
  588. package/dist/benchmarks/task-revisions/implementation-clearing-cutover/workspace/docs/bank-interchange.md +37 -0
  589. package/dist/benchmarks/task-revisions/implementation-clearing-cutover/workspace/docs/close-instructions.md +27 -0
  590. package/dist/benchmarks/task-revisions/implementation-clearing-cutover/workspace/docs/ledger-contract.md +21 -0
  591. package/dist/benchmarks/task-revisions/implementation-clearing-cutover/workspace/package.json +11 -0
  592. package/dist/benchmarks/task-revisions/implementation-clearing-cutover/workspace/src/archive.mjs +46 -0
  593. package/dist/benchmarks/task-revisions/implementation-clearing-cutover/workspace/src/clearing.mjs +47 -0
  594. package/dist/benchmarks/task-revisions/implementation-clearing-cutover/workspace/src/ledger.mjs +36 -0
  595. package/dist/benchmarks/task-revisions/implementation-clearing-cutover/workspace/src/money.mjs +11 -0
  596. package/dist/benchmarks/task-revisions/implementation-clearing-cutover/workspace/test/ledger.test.mjs +50 -0
  597. package/dist/benchmarks/task-revisions/implementation-timeline-restore/input-manifest.json +52 -0
  598. package/dist/benchmarks/task-revisions/implementation-timeline-restore/rubric.json +44 -0
  599. package/dist/benchmarks/task-revisions/implementation-timeline-restore/task.md +5 -0
  600. package/dist/benchmarks/task-revisions/implementation-timeline-restore/workspace/docs/archive-operations.md +13 -0
  601. package/dist/benchmarks/task-revisions/implementation-timeline-restore/workspace/docs/interchange.md +16 -0
  602. package/dist/benchmarks/task-revisions/implementation-timeline-restore/workspace/docs/statement-interface.md +9 -0
  603. package/dist/benchmarks/task-revisions/implementation-timeline-restore/workspace/package.json +8 -0
  604. package/dist/benchmarks/task-revisions/implementation-timeline-restore/workspace/src/event-lookup.mjs +39 -0
  605. package/dist/benchmarks/task-revisions/implementation-timeline-restore/workspace/test/client.test.mjs +38 -0
  606. package/dist/benchmarks/task-revisions/implementation-workspace-upgrade/input-manifest.json +94 -0
  607. package/dist/benchmarks/task-revisions/implementation-workspace-upgrade/rubric.json +84 -0
  608. package/dist/benchmarks/task-revisions/implementation-workspace-upgrade/task.md +5 -0
  609. package/dist/benchmarks/task-revisions/implementation-workspace-upgrade/workspace/docs/dispatch.md +25 -0
  610. package/dist/benchmarks/task-revisions/implementation-workspace-upgrade/workspace/docs/installed-clients.md +35 -0
  611. package/dist/benchmarks/task-revisions/implementation-workspace-upgrade/workspace/docs/returned-sheets.md +15 -0
  612. package/dist/benchmarks/task-revisions/implementation-workspace-upgrade/workspace/package.json +8 -0
  613. package/dist/benchmarks/task-revisions/implementation-workspace-upgrade/workspace/release/console.mjs +2 -0
  614. package/dist/benchmarks/task-revisions/implementation-workspace-upgrade/workspace/release/database.mjs +52 -0
  615. package/dist/benchmarks/task-revisions/implementation-workspace-upgrade/workspace/release/desk.mjs +24 -0
  616. package/dist/benchmarks/task-revisions/implementation-workspace-upgrade/workspace/release/kiosk.mjs +47 -0
  617. package/dist/benchmarks/task-revisions/implementation-workspace-upgrade/workspace/release/operator.mjs +17 -0
  618. package/dist/benchmarks/task-revisions/implementation-workspace-upgrade/workspace/release/printer.mjs +63 -0
  619. package/dist/benchmarks/task-revisions/implementation-workspace-upgrade/workspace/src/delivery.mjs +28 -0
  620. package/dist/benchmarks/task-revisions/implementation-workspace-upgrade/workspace/src/reconcile.mjs +16 -0
  621. package/dist/benchmarks/task-revisions/implementation-workspace-upgrade/workspace/src/workspace.mjs +44 -0
  622. package/dist/benchmarks/task-revisions/implementation-workspace-upgrade/workspace/test/desk.test.mjs +34 -0
  623. package/dist/benchmarks/task-revisions/mn-build-option-update/input-manifest.json +52 -0
  624. package/dist/benchmarks/task-revisions/mn-build-option-update/rubric.json +38 -0
  625. package/dist/benchmarks/task-revisions/mn-build-option-update/task.md +5 -0
  626. package/dist/benchmarks/task-revisions/mn-build-option-update/workspace/build.config.json +14 -0
  627. package/dist/benchmarks/task-revisions/mn-build-option-update/workspace/ci/release-build.log +7 -0
  628. package/dist/benchmarks/task-revisions/mn-build-option-update/workspace/docs/build-options.md +12 -0
  629. package/dist/benchmarks/task-revisions/mn-build-option-update/workspace/package.json +9 -0
  630. package/dist/benchmarks/task-revisions/mn-build-option-update/workspace/scripts/validate-build-config.mjs +11 -0
  631. package/dist/benchmarks/task-revisions/mn-build-option-update/workspace/test/build-config.test.mjs +15 -0
  632. package/dist/benchmarks/task-revisions/mn-client-compatibility-fix/input-manifest.json +48 -0
  633. package/dist/benchmarks/task-revisions/mn-client-compatibility-fix/rubric.json +29 -0
  634. package/dist/benchmarks/task-revisions/mn-client-compatibility-fix/task.md +5 -0
  635. package/dist/benchmarks/task-revisions/mn-client-compatibility-fix/workspace/docs/client-support.md +12 -0
  636. package/dist/benchmarks/task-revisions/mn-client-compatibility-fix/workspace/docs/preferences.md +5 -0
  637. package/dist/benchmarks/task-revisions/mn-client-compatibility-fix/workspace/package.json +6 -0
  638. package/dist/benchmarks/task-revisions/mn-client-compatibility-fix/workspace/src/preferences.mjs +3 -0
  639. package/dist/benchmarks/task-revisions/mn-client-compatibility-fix/workspace/test/preferences.test.mjs +20 -0
  640. package/dist/benchmarks/task-revisions/mn-doc-config-correction/input-manifest.json +42 -0
  641. package/dist/benchmarks/task-revisions/mn-doc-config-correction/rubric.json +37 -0
  642. package/dist/benchmarks/task-revisions/mn-doc-config-correction/task.md +3 -0
  643. package/dist/benchmarks/task-revisions/mn-doc-config-correction/workspace/config/retry-policy.json +6 -0
  644. package/dist/benchmarks/task-revisions/mn-doc-config-correction/workspace/docs/worker-retries.md +12 -0
  645. package/dist/benchmarks/task-revisions/mn-doc-config-correction/workspace/package.json +8 -0
  646. package/dist/benchmarks/task-revisions/mn-doc-config-correction/workspace/test/worker-retries.test.mjs +16 -0
  647. package/dist/benchmarks/task-revisions/mn-focused-regression-test/input-manifest.json +42 -0
  648. package/dist/benchmarks/task-revisions/mn-focused-regression-test/rubric.json +37 -0
  649. package/dist/benchmarks/task-revisions/mn-focused-regression-test/task.md +5 -0
  650. package/dist/benchmarks/task-revisions/mn-focused-regression-test/workspace/package.json +9 -0
  651. package/dist/benchmarks/task-revisions/mn-focused-regression-test/workspace/spec/session-key.md +7 -0
  652. package/dist/benchmarks/task-revisions/mn-focused-regression-test/workspace/src/session-key.mjs +12 -0
  653. package/dist/benchmarks/task-revisions/mn-focused-regression-test/workspace/test/session-key.test.mjs +11 -0
  654. package/dist/benchmarks/task-revisions/mn-frontend-default-fix/input-manifest.json +48 -0
  655. package/dist/benchmarks/task-revisions/mn-frontend-default-fix/rubric.json +45 -0
  656. package/dist/benchmarks/task-revisions/mn-frontend-default-fix/task.md +5 -0
  657. package/dist/benchmarks/task-revisions/mn-frontend-default-fix/workspace/package.json +7 -0
  658. package/dist/benchmarks/task-revisions/mn-frontend-default-fix/workspace/spec/default-state.md +14 -0
  659. package/dist/benchmarks/task-revisions/mn-frontend-default-fix/workspace/src/display-controls.mjs +6 -0
  660. package/dist/benchmarks/task-revisions/mn-frontend-default-fix/workspace/src/display-preferences.mjs +18 -0
  661. package/dist/benchmarks/task-revisions/mn-frontend-default-fix/workspace/test/display-preferences.test.mjs +54 -0
  662. package/dist/benchmarks/task-revisions/mn-schema-field-alignment/input-manifest.json +58 -0
  663. package/dist/benchmarks/task-revisions/mn-schema-field-alignment/rubric.json +45 -0
  664. package/dist/benchmarks/task-revisions/mn-schema-field-alignment/task.md +5 -0
  665. package/dist/benchmarks/task-revisions/mn-schema-field-alignment/workspace/package.json +7 -0
  666. package/dist/benchmarks/task-revisions/mn-schema-field-alignment/workspace/schemas/member.schema.json +12 -0
  667. package/dist/benchmarks/task-revisions/mn-schema-field-alignment/workspace/spec/member-contract.md +13 -0
  668. package/dist/benchmarks/task-revisions/mn-schema-field-alignment/workspace/spec/schema-alignment-plan.md +5 -0
  669. package/dist/benchmarks/task-revisions/mn-schema-field-alignment/workspace/src/member-export.mjs +3 -0
  670. package/dist/benchmarks/task-revisions/mn-schema-field-alignment/workspace/src/member-import.mjs +23 -0
  671. package/dist/benchmarks/task-revisions/mn-schema-field-alignment/workspace/test/member-record.test.mjs +36 -0
  672. package/dist/benchmarks/task-revisions/mp-accessibility-interaction-review/input-manifest.json +82 -0
  673. package/dist/benchmarks/task-revisions/mp-accessibility-interaction-review/rubric.json +52 -0
  674. package/dist/benchmarks/task-revisions/mp-accessibility-interaction-review/task.md +7 -0
  675. package/dist/benchmarks/task-revisions/mp-accessibility-interaction-review/workspace/docs/interaction-notes.md +11 -0
  676. package/dist/benchmarks/task-revisions/mp-accessibility-interaction-review/workspace/notice-editor.html +31 -0
  677. package/dist/benchmarks/task-revisions/mp-accessibility-interaction-review/workspace/package-lock.json +15 -0
  678. package/dist/benchmarks/task-revisions/mp-accessibility-interaction-review/workspace/package.json +14 -0
  679. package/dist/benchmarks/task-revisions/mp-accessibility-interaction-review/workspace/pr.diff +83 -0
  680. package/dist/benchmarks/task-revisions/mp-accessibility-interaction-review/workspace/review.schema.json +57 -0
  681. package/dist/benchmarks/task-revisions/mp-accessibility-interaction-review/workspace/scripts/validate-review.mjs +40 -0
  682. package/dist/benchmarks/task-revisions/mp-accessibility-interaction-review/workspace/src/format-toolbar.html +10 -0
  683. package/dist/benchmarks/task-revisions/mp-accessibility-interaction-review/workspace/src/format-toolbar.mjs +42 -0
  684. package/dist/benchmarks/task-revisions/mp-accessibility-interaction-review/workspace/test/helpers/toolbar-fixture.mjs +19 -0
  685. package/dist/benchmarks/task-revisions/mp-accessibility-interaction-review/workspace/test/integration/format-toolbar.test.mjs +16 -0
  686. package/dist/benchmarks/task-revisions/mp-accessibility-interaction-review/workspace/test/unit/format-toolbar.test.mjs +23 -0
  687. package/dist/benchmarks/task-revisions/mp-ci-evidence-gap/input-manifest.json +87 -0
  688. package/dist/benchmarks/task-revisions/mp-ci-evidence-gap/rubric.json +52 -0
  689. package/dist/benchmarks/task-revisions/mp-ci-evidence-gap/task.md +5 -0
  690. package/dist/benchmarks/task-revisions/mp-ci-evidence-gap/workspace/.github/workflows/pull-request.yml +23 -0
  691. package/dist/benchmarks/task-revisions/mp-ci-evidence-gap/workspace/ci/pull-request-314.log +22 -0
  692. package/dist/benchmarks/task-revisions/mp-ci-evidence-gap/workspace/docs/verification.md +9 -0
  693. package/dist/benchmarks/task-revisions/mp-ci-evidence-gap/workspace/package-lock.json +13 -0
  694. package/dist/benchmarks/task-revisions/mp-ci-evidence-gap/workspace/package.json +14 -0
  695. package/dist/benchmarks/task-revisions/mp-ci-evidence-gap/workspace/pr.diff +49 -0
  696. package/dist/benchmarks/task-revisions/mp-ci-evidence-gap/workspace/review.schema.json +61 -0
  697. package/dist/benchmarks/task-revisions/mp-ci-evidence-gap/workspace/scripts/upload-diagnostics.mjs +4 -0
  698. package/dist/benchmarks/task-revisions/mp-ci-evidence-gap/workspace/scripts/validate-review.mjs +40 -0
  699. package/dist/benchmarks/task-revisions/mp-ci-evidence-gap/workspace/src/checkout.mjs +6 -0
  700. package/dist/benchmarks/task-revisions/mp-ci-evidence-gap/workspace/src/quote-order.mjs +13 -0
  701. package/dist/benchmarks/task-revisions/mp-ci-evidence-gap/workspace/test/checkout/quote-order-contract.test.mjs +12 -0
  702. package/dist/benchmarks/task-revisions/mp-ci-evidence-gap/workspace/test/unit/quote-order.test.mjs +23 -0
  703. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/input-manifest.json +97 -0
  704. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/rubric.json +44 -0
  705. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/task.md +7 -0
  706. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/workspace/docs/migration-plan.md +21 -0
  707. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/workspace/docs/rollback-runbook.md +3 -0
  708. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/workspace/evidence/checkpoint-journal.ndjson +10 -0
  709. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/workspace/evidence/comparisons.ndjson +6 -0
  710. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/workspace/evidence/compatibility.json +25 -0
  711. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/workspace/evidence/outbox.ndjson +4 -0
  712. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/workspace/handoff.schema.json +216 -0
  713. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/workspace/operations/commands.json +71 -0
  714. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/workspace/operations/pages.json +134 -0
  715. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/workspace/operations/work-orders.json +39 -0
  716. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/workspace/package-lock.json +13 -0
  717. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/workspace/package.json +11 -0
  718. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/workspace/scripts/validate-handoff.mjs +63 -0
  719. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/workspace/state/grants.ndjson +5 -0
  720. package/dist/benchmarks/task-revisions/mp-data-migration-handoff/workspace/state/routing.json +22 -0
  721. package/dist/benchmarks/task-revisions/mp-frontend-state-review/input-manifest.json +77 -0
  722. package/dist/benchmarks/task-revisions/mp-frontend-state-review/rubric.json +44 -0
  723. package/dist/benchmarks/task-revisions/mp-frontend-state-review/task.md +5 -0
  724. package/dist/benchmarks/task-revisions/mp-frontend-state-review/workspace/docs/state-contract.md +14 -0
  725. package/dist/benchmarks/task-revisions/mp-frontend-state-review/workspace/package-lock.json +15 -0
  726. package/dist/benchmarks/task-revisions/mp-frontend-state-review/workspace/package.json +14 -0
  727. package/dist/benchmarks/task-revisions/mp-frontend-state-review/workspace/pr.diff +116 -0
  728. package/dist/benchmarks/task-revisions/mp-frontend-state-review/workspace/review.schema.json +57 -0
  729. package/dist/benchmarks/task-revisions/mp-frontend-state-review/workspace/scripts/validate-review.mjs +40 -0
  730. package/dist/benchmarks/task-revisions/mp-frontend-state-review/workspace/src/inbox-state.mjs +47 -0
  731. package/dist/benchmarks/task-revisions/mp-frontend-state-review/workspace/src/inbox-view.mjs +19 -0
  732. package/dist/benchmarks/task-revisions/mp-frontend-state-review/workspace/test/helpers/inbox-fixture.mjs +8 -0
  733. package/dist/benchmarks/task-revisions/mp-frontend-state-review/workspace/test/integration/inbox-view.test.mjs +32 -0
  734. package/dist/benchmarks/task-revisions/mp-frontend-state-review/workspace/test/unit/inbox-state.test.mjs +20 -0
  735. package/dist/benchmarks/task-revisions/mp-iac-rollback-design/input-manifest.json +87 -0
  736. package/dist/benchmarks/task-revisions/mp-iac-rollback-design/rubric.json +52 -0
  737. package/dist/benchmarks/task-revisions/mp-iac-rollback-design/task.md +7 -0
  738. package/dist/benchmarks/task-revisions/mp-iac-rollback-design/workspace/change-plan.schema.json +186 -0
  739. package/dist/benchmarks/task-revisions/mp-iac-rollback-design/workspace/docs/change-request.md +9 -0
  740. package/dist/benchmarks/task-revisions/mp-iac-rollback-design/workspace/docs/knowledge-policy.md +6 -0
  741. package/dist/benchmarks/task-revisions/mp-iac-rollback-design/workspace/docs/rollback-policy.md +8 -0
  742. package/dist/benchmarks/task-revisions/mp-iac-rollback-design/workspace/infra/alias.tf +11 -0
  743. package/dist/benchmarks/task-revisions/mp-iac-rollback-design/workspace/infra/iam.tf +12 -0
  744. package/dist/benchmarks/task-revisions/mp-iac-rollback-design/workspace/operations/commands.json +46 -0
  745. package/dist/benchmarks/task-revisions/mp-iac-rollback-design/workspace/package-lock.json +15 -0
  746. package/dist/benchmarks/task-revisions/mp-iac-rollback-design/workspace/package.json +12 -0
  747. package/dist/benchmarks/task-revisions/mp-iac-rollback-design/workspace/plans/candidate-plan.json +15 -0
  748. package/dist/benchmarks/task-revisions/mp-iac-rollback-design/workspace/plans/pre-apply-records.json +117 -0
  749. package/dist/benchmarks/task-revisions/mp-iac-rollback-design/workspace/scripts/validate-change-plan.mjs +138 -0
  750. package/dist/benchmarks/task-revisions/mp-iac-rollback-design/workspace/state/current-state.json +23 -0
  751. package/dist/benchmarks/task-revisions/mp-performance-investigation/input-manifest.json +97 -0
  752. package/dist/benchmarks/task-revisions/mp-performance-investigation/rubric.json +44 -0
  753. package/dist/benchmarks/task-revisions/mp-performance-investigation/task.md +7 -0
  754. package/dist/benchmarks/task-revisions/mp-performance-investigation/workspace/docs/investigation-contract.md +14 -0
  755. package/dist/benchmarks/task-revisions/mp-performance-investigation/workspace/investigation.schema.json +92 -0
  756. package/dist/benchmarks/task-revisions/mp-performance-investigation/workspace/observability/cache-samples.csv +7 -0
  757. package/dist/benchmarks/task-revisions/mp-performance-investigation/workspace/observability/release-events.json +14 -0
  758. package/dist/benchmarks/task-revisions/mp-performance-investigation/workspace/observability/request-windows.csv +4 -0
  759. package/dist/benchmarks/task-revisions/mp-performance-investigation/workspace/observability/runtime-profile.json +25 -0
  760. package/dist/benchmarks/task-revisions/mp-performance-investigation/workspace/package-lock.json +15 -0
  761. package/dist/benchmarks/task-revisions/mp-performance-investigation/workspace/package.json +15 -0
  762. package/dist/benchmarks/task-revisions/mp-performance-investigation/workspace/scripts/replay-summary.mjs +12 -0
  763. package/dist/benchmarks/task-revisions/mp-performance-investigation/workspace/scripts/validate-investigation.mjs +84 -0
  764. package/dist/benchmarks/task-revisions/mp-performance-investigation/workspace/src/cache-key.mjs +6 -0
  765. package/dist/benchmarks/task-revisions/mp-performance-investigation/workspace/src/summary-replay.mjs +42 -0
  766. package/dist/benchmarks/task-revisions/mp-performance-investigation/workspace/src/summary-service.mjs +9 -0
  767. package/dist/benchmarks/task-revisions/mp-performance-investigation/workspace/test/integration/summary-replay.test.mjs +11 -0
  768. package/dist/benchmarks/task-revisions/mp-performance-investigation/workspace/test/unit/cache-key.test.mjs +9 -0
  769. package/dist/benchmarks/task-revisions/pf-api-pagination-behavior/input-manifest.json +53 -0
  770. package/dist/benchmarks/task-revisions/pf-api-pagination-behavior/rubric.json +44 -0
  771. package/dist/benchmarks/task-revisions/pf-api-pagination-behavior/task.md +7 -0
  772. package/dist/benchmarks/task-revisions/pf-api-pagination-behavior/workspace/package.json +6 -0
  773. package/dist/benchmarks/task-revisions/pf-api-pagination-behavior/workspace/spec/pagination-contract.md +9 -0
  774. package/dist/benchmarks/task-revisions/pf-api-pagination-behavior/workspace/src/api-pages.mjs +16 -0
  775. package/dist/benchmarks/task-revisions/pf-api-pagination-behavior/workspace/src/catalog-consumer.mjs +5 -0
  776. package/dist/benchmarks/task-revisions/pf-api-pagination-behavior/workspace/src/pagination.mjs +19 -0
  777. package/dist/benchmarks/task-revisions/pf-api-pagination-behavior/workspace/test/pagination.test.mjs +76 -0
  778. package/dist/benchmarks/task-revisions/pf-ci-cache-flake/input-manifest.json +77 -0
  779. package/dist/benchmarks/task-revisions/pf-ci-cache-flake/rubric.json +44 -0
  780. package/dist/benchmarks/task-revisions/pf-ci-cache-flake/task.md +11 -0
  781. package/dist/benchmarks/task-revisions/pf-ci-cache-flake/workspace/ci/build-config.json +11 -0
  782. package/dist/benchmarks/task-revisions/pf-ci-cache-flake/workspace/ci/build-history.log +6 -0
  783. package/dist/benchmarks/task-revisions/pf-ci-cache-flake/workspace/ci/scenarios.json +38 -0
  784. package/dist/benchmarks/task-revisions/pf-ci-cache-flake/workspace/docs/investigation-contract.md +19 -0
  785. package/dist/benchmarks/task-revisions/pf-ci-cache-flake/workspace/investigation.schema.json +503 -0
  786. package/dist/benchmarks/task-revisions/pf-ci-cache-flake/workspace/package.json +14 -0
  787. package/dist/benchmarks/task-revisions/pf-ci-cache-flake/workspace/scripts/reproduce-cache.mjs +5 -0
  788. package/dist/benchmarks/task-revisions/pf-ci-cache-flake/workspace/scripts/validate-report.mjs +31 -0
  789. package/dist/benchmarks/task-revisions/pf-ci-cache-flake/workspace/src/cache-model.mjs +9 -0
  790. package/dist/benchmarks/task-revisions/pf-ci-cache-flake/workspace/test/cache-observation.test.mjs +33 -0
  791. package/dist/benchmarks/task-revisions/pf-ci-cache-flake/workspace/test/report-structure.test.mjs +2 -0
  792. package/dist/benchmarks/task-revisions/pf-data-schema-evolution/input-manifest.json +68 -0
  793. package/dist/benchmarks/task-revisions/pf-data-schema-evolution/rubric.json +45 -0
  794. package/dist/benchmarks/task-revisions/pf-data-schema-evolution/task.md +11 -0
  795. package/dist/benchmarks/task-revisions/pf-data-schema-evolution/workspace/data/legacy-customers.json +17 -0
  796. package/dist/benchmarks/task-revisions/pf-data-schema-evolution/workspace/migrations/v1-v2.plan.json +11 -0
  797. package/dist/benchmarks/task-revisions/pf-data-schema-evolution/workspace/package.json +12 -0
  798. package/dist/benchmarks/task-revisions/pf-data-schema-evolution/workspace/schemas/customer-v1.schema.json +27 -0
  799. package/dist/benchmarks/task-revisions/pf-data-schema-evolution/workspace/schemas/customer-v2.schema.json +25 -0
  800. package/dist/benchmarks/task-revisions/pf-data-schema-evolution/workspace/spec/evolution-contract.md +8 -0
  801. package/dist/benchmarks/task-revisions/pf-data-schema-evolution/workspace/src/readers.mjs +3 -0
  802. package/dist/benchmarks/task-revisions/pf-data-schema-evolution/workspace/src/schema-contract.mjs +7 -0
  803. package/dist/benchmarks/task-revisions/pf-data-schema-evolution/workspace/test/schema-evolution.test.mjs +15 -0
  804. package/dist/benchmarks/task-revisions/pf-frontend-async-state/input-manifest.json +47 -0
  805. package/dist/benchmarks/task-revisions/pf-frontend-async-state/rubric.json +37 -0
  806. package/dist/benchmarks/task-revisions/pf-frontend-async-state/task.md +7 -0
  807. package/dist/benchmarks/task-revisions/pf-frontend-async-state/workspace/package.json +1 -0
  808. package/dist/benchmarks/task-revisions/pf-frontend-async-state/workspace/spec/search-state-contract.md +6 -0
  809. package/dist/benchmarks/task-revisions/pf-frontend-async-state/workspace/src/search-controller.mjs +5 -0
  810. package/dist/benchmarks/task-revisions/pf-frontend-async-state/workspace/src/search-view.mjs +3 -0
  811. package/dist/benchmarks/task-revisions/pf-frontend-async-state/workspace/test/search-state.test.mjs +14 -0
  812. package/dist/benchmarks/task-revisions/pf-library-compat-upgrade/input-manifest.json +90 -0
  813. package/dist/benchmarks/task-revisions/pf-library-compat-upgrade/rubric.json +42 -0
  814. package/dist/benchmarks/task-revisions/pf-library-compat-upgrade/task.md +9 -0
  815. package/dist/benchmarks/task-revisions/pf-library-compat-upgrade/workspace/config/migration-settings.json +5 -0
  816. package/dist/benchmarks/task-revisions/pf-library-compat-upgrade/workspace/data/compatibility-matrix.json +44 -0
  817. package/dist/benchmarks/task-revisions/pf-library-compat-upgrade/workspace/docs/migration-contract.md +13 -0
  818. package/dist/benchmarks/task-revisions/pf-library-compat-upgrade/workspace/package.json +13 -0
  819. package/dist/benchmarks/task-revisions/pf-library-compat-upgrade/workspace/scripts/check-rollback.mjs +5 -0
  820. package/dist/benchmarks/task-revisions/pf-library-compat-upgrade/workspace/scripts/validate-migration.mjs +2 -0
  821. package/dist/benchmarks/task-revisions/pf-library-compat-upgrade/workspace/src/archive-compat.mjs +2 -0
  822. package/dist/benchmarks/task-revisions/pf-library-compat-upgrade/workspace/src/download-export.mjs +5 -0
  823. package/dist/benchmarks/task-revisions/pf-library-compat-upgrade/workspace/src/scheduled-export.mjs +5 -0
  824. package/dist/benchmarks/task-revisions/pf-library-compat-upgrade/workspace/test/application-callers.test.mjs +19 -0
  825. package/dist/benchmarks/task-revisions/pf-library-compat-upgrade/workspace/test/archive-compat.test.mjs +13 -0
  826. package/dist/benchmarks/task-revisions/pf-library-compat-upgrade/workspace/vendor/archive-v1.mjs +3 -0
  827. package/dist/benchmarks/task-revisions/pf-library-compat-upgrade/workspace/vendor/archive-v2.mjs +3 -0
  828. package/dist/benchmarks/task-revisions/pf-observability-redaction/input-manifest.json +88 -0
  829. package/dist/benchmarks/task-revisions/pf-observability-redaction/rubric.json +45 -0
  830. package/dist/benchmarks/task-revisions/pf-observability-redaction/task.md +11 -0
  831. package/dist/benchmarks/task-revisions/pf-observability-redaction/workspace/base/projection-policy.json +14 -0
  832. package/dist/benchmarks/task-revisions/pf-observability-redaction/workspace/config/field-contract.json +24 -0
  833. package/dist/benchmarks/task-revisions/pf-observability-redaction/workspace/config/projection-policy.json +18 -0
  834. package/dist/benchmarks/task-revisions/pf-observability-redaction/workspace/config/proposed-policy.json +18 -0
  835. package/dist/benchmarks/task-revisions/pf-observability-redaction/workspace/data/events.json +80 -0
  836. package/dist/benchmarks/task-revisions/pf-observability-redaction/workspace/docs/projection-contract.md +11 -0
  837. package/dist/benchmarks/task-revisions/pf-observability-redaction/workspace/package.json +13 -0
  838. package/dist/benchmarks/task-revisions/pf-observability-redaction/workspace/pr.diff +19 -0
  839. package/dist/benchmarks/task-revisions/pf-observability-redaction/workspace/review.schema.json +120 -0
  840. package/dist/benchmarks/task-revisions/pf-observability-redaction/workspace/scripts/trace-policy.mjs +1 -0
  841. package/dist/benchmarks/task-revisions/pf-observability-redaction/workspace/scripts/validate-review.mjs +12 -0
  842. package/dist/benchmarks/task-revisions/pf-observability-redaction/workspace/src/project-event.mjs +7 -0
  843. package/dist/benchmarks/task-revisions/pf-observability-redaction/workspace/test/project-event.test.mjs +3 -0
  844. package/dist/benchmarks/task-revisions/pf-performance-regression/input-manifest.json +62 -0
  845. package/dist/benchmarks/task-revisions/pf-performance-regression/rubric.json +45 -0
  846. package/dist/benchmarks/task-revisions/pf-performance-regression/task.md +11 -0
  847. package/dist/benchmarks/task-revisions/pf-performance-regression/workspace/data/measurement-config.json +21 -0
  848. package/dist/benchmarks/task-revisions/pf-performance-regression/workspace/docs/lookup-contract.md +11 -0
  849. package/dist/benchmarks/task-revisions/pf-performance-regression/workspace/package.json +12 -0
  850. package/dist/benchmarks/task-revisions/pf-performance-regression/workspace/reference/scan-lookup.mjs +7 -0
  851. package/dist/benchmarks/task-revisions/pf-performance-regression/workspace/scripts/generate-data.mjs +5 -0
  852. package/dist/benchmarks/task-revisions/pf-performance-regression/workspace/scripts/measure-lookup.mjs +103 -0
  853. package/dist/benchmarks/task-revisions/pf-performance-regression/workspace/src/event-lookup.mjs +7 -0
  854. package/dist/benchmarks/task-revisions/pf-performance-regression/workspace/test/event-lookup.test.mjs +17 -0
  855. package/dist/benchmarks/task-revisions/pf-review-error-contract/input-manifest.json +87 -0
  856. package/dist/benchmarks/task-revisions/pf-review-error-contract/rubric.json +44 -0
  857. package/dist/benchmarks/task-revisions/pf-review-error-contract/task.md +11 -0
  858. package/dist/benchmarks/task-revisions/pf-review-error-contract/workspace/base/response-adapter.mjs +10 -0
  859. package/dist/benchmarks/task-revisions/pf-review-error-contract/workspace/comparisons/option-a.diff +10 -0
  860. package/dist/benchmarks/task-revisions/pf-review-error-contract/workspace/comparisons/option-b.diff +11 -0
  861. package/dist/benchmarks/task-revisions/pf-review-error-contract/workspace/data/cases.json +65 -0
  862. package/dist/benchmarks/task-revisions/pf-review-error-contract/workspace/docs/error-contract.md +10 -0
  863. package/dist/benchmarks/task-revisions/pf-review-error-contract/workspace/package.json +10 -0
  864. package/dist/benchmarks/task-revisions/pf-review-error-contract/workspace/pr.diff +13 -0
  865. package/dist/benchmarks/task-revisions/pf-review-error-contract/workspace/review.schema.json +407 -0
  866. package/dist/benchmarks/task-revisions/pf-review-error-contract/workspace/scripts/trace-cases.mjs +7 -0
  867. package/dist/benchmarks/task-revisions/pf-review-error-contract/workspace/scripts/validate-review.mjs +12 -0
  868. package/dist/benchmarks/task-revisions/pf-review-error-contract/workspace/src/client-policy.mjs +8 -0
  869. package/dist/benchmarks/task-revisions/pf-review-error-contract/workspace/src/response-adapter.mjs +10 -0
  870. package/dist/benchmarks/task-revisions/pf-review-error-contract/workspace/test/api-error.test.mjs +6 -0
  871. package/dist/benchmarks/task-revisions/rc01-shared-review-platform/input-manifest.json +808 -0
  872. package/dist/benchmarks/task-revisions/rc01-shared-review-platform/rubric.json +40 -0
  873. package/dist/bin/ask.mjs +9 -0
  874. package/dist/docs/README.md +80 -0
  875. package/dist/docs/adapter-capability-matrix.md +75 -0
  876. package/dist/docs/adapter-conformance-contract.md +81 -0
  877. package/dist/docs/adapter-cross-conformance-report.md +43 -0
  878. package/dist/docs/adapter-deployment-governance.md +110 -0
  879. package/dist/docs/adapter-runtime-boundary-contract.md +211 -0
  880. package/dist/docs/adapter-runtime-migration.md +130 -0
  881. package/dist/docs/adoption-apply.md +97 -0
  882. package/dist/docs/adoption-setup.md +150 -0
  883. package/dist/docs/adr/0001-verification-evidence-trust-boundary.md +100 -0
  884. package/dist/docs/adr/0002-epic-admission-work-package-plan-authority.md +76 -0
  885. package/dist/docs/adr/0003-asset-registry-authority-boundary.md +120 -0
  886. package/dist/docs/adr/0004-portfolio-activation-authority-boundary.md +290 -0
  887. package/dist/docs/adr/0005-evolution-authority-boundary.md +195 -0
  888. package/dist/docs/adr/0006-claim-evidence-status-boundary.md +57 -0
  889. package/dist/docs/adr/0007-runner-owned-execution-envelope-record.md +28 -0
  890. package/dist/docs/adr/0008-monotonic-verification-proof-path.md +122 -0
  891. package/dist/docs/adr/0009-baseline-semantic-review-authority.md +74 -0
  892. package/dist/docs/adr/0010-one-task-effectiveness-authority-boundary.md +143 -0
  893. package/dist/docs/adr/0011-prompt-v2-result-blind-canary-authority.md +155 -0
  894. package/dist/docs/adr/0025-discarded-evaluation-result-use.md +31 -0
  895. package/dist/docs/agent-session-state-contract.md +67 -0
  896. package/dist/docs/ai/adoption-report-template.md +179 -0
  897. package/dist/docs/ai/architecture-decision-memory.md +83 -0
  898. package/dist/docs/ai/documentation-knowledge-ledger.md +85 -0
  899. package/dist/docs/ai/domain-rule-ledger.md +115 -0
  900. package/dist/docs/ai/engineering-capability-ledger.md +90 -0
  901. package/dist/docs/ai/engineering-pattern-ledger.md +81 -0
  902. package/dist/docs/ai/implementation-context.md +158 -0
  903. package/dist/docs/ai/improvement-ledger.md +212 -0
  904. package/dist/docs/ai/metrics/README.md +9 -0
  905. package/dist/docs/ai/metrics/fixtures/stakeholder-readiness-events.jsonl +3 -0
  906. package/dist/docs/ai/observability-config.yml +54 -0
  907. package/dist/docs/ai/reports/README.md +5 -0
  908. package/dist/docs/ai/reports/examples/ai-promotion-readiness-sample.md +43 -0
  909. package/dist/docs/ai/reports/examples/business-unit-client-value-readiness-sample.md +37 -0
  910. package/dist/docs/ai/reports/examples/development-manager-readiness-sample.md +41 -0
  911. package/dist/docs/ai/reports/examples/senior-engineer-readiness-sample.md +42 -0
  912. package/dist/docs/ai/review-context.md +127 -0
  913. package/dist/docs/ai/review-rule-ledger.md +78 -0
  914. package/dist/docs/ai/skill-adoption-metrics.md +251 -0
  915. package/dist/docs/ai/stakeholder-readiness-report-template.md +139 -0
  916. package/dist/docs/ai/verification-pattern-ledger.md +83 -0
  917. package/dist/docs/ask-autonomous-development.md +237 -0
  918. package/dist/docs/ask-core-bundle-implementation.md +155 -0
  919. package/dist/docs/asset-registry-contract.md +392 -0
  920. package/dist/docs/bounded-target-snapshot.md +90 -0
  921. package/dist/docs/claim-evidence-status-contract.md +60 -0
  922. package/dist/docs/claude-github-review-setup.md +65 -0
  923. package/dist/docs/codex-metrics-collector.md +149 -0
  924. package/dist/docs/cross-runtime-environment-loop.md +345 -0
  925. package/dist/docs/customization-guide.md +175 -0
  926. package/dist/docs/debt-lifecycle-contract.md +134 -0
  927. package/dist/docs/demos/personal-loop-saved-demo-ja.md +38 -0
  928. package/dist/docs/epic-admission-work-package-plan-contract.md +239 -0
  929. package/dist/docs/evaluation-task-catalog.md +107 -0
  930. package/dist/docs/evolution-loop-contract.md +395 -0
  931. package/dist/docs/evolution-loop-sample-prompt-candidate.md +15 -0
  932. package/dist/docs/execution-envelope-contract.md +105 -0
  933. package/dist/docs/finding-intake.md +165 -0
  934. package/dist/docs/first-workflow-mac-codex-ja.md +132 -0
  935. package/dist/docs/fixtures/adapter-cross-conformance.json +272 -0
  936. package/dist/docs/fixtures/adapter-runtime-bundle.json +867 -0
  937. package/dist/docs/fixtures/adapter-runtime-evidence.json +111 -0
  938. package/dist/docs/fixtures/adapter-runtime-profiles.json +2055 -0
  939. package/dist/docs/fixtures/asset-registry/reference.json +89 -0
  940. package/dist/docs/fixtures/asset-registry/store/objects/sha256/06/cacaea5b7b84bb2a9f6a6e849f1e561967637cfc0c28bd60675b665f090a54.json +1 -0
  941. package/dist/docs/fixtures/asset-registry/store/objects/sha256/0a/1bf5ec027954e2def2bf6591655365258e4ed6c3e58a151ea242b961591dcc.json +1 -0
  942. package/dist/docs/fixtures/asset-registry/store/objects/sha256/12/4a398892b63295e43b894776bea049625e3847010acd2dce61880a207cf1da.json +1 -0
  943. package/dist/docs/fixtures/asset-registry/store/objects/sha256/33/d26707d82e68099085b91f60b26b6bea6ea17af802a493dd70ee4629dfc72b.json +1 -0
  944. package/dist/docs/fixtures/asset-registry/store/objects/sha256/34/a511af596bc1317941241135f053153d9862ff7552a243c0231fc079c4edba.json +1 -0
  945. package/dist/docs/fixtures/asset-registry/store/objects/sha256/39/f30afcc78d50c1ff2cf85d4c18d546b47811c370146193535af08cc030cc65.json +1 -0
  946. package/dist/docs/fixtures/asset-registry/store/objects/sha256/43/e18c25bca6279ab7b333b5e4ce3bfdc8ada01023bfe47d0889d61e71872c56.json +1 -0
  947. package/dist/docs/fixtures/asset-registry/store/objects/sha256/5b/50712f43feecf82d532178310cf2e0fe2fe709e0d951eb797a3876ff0cf92d.json +1 -0
  948. package/dist/docs/fixtures/asset-registry/store/objects/sha256/5c/c2ab9ca47824d2d13438f7f4460b71db1a6f939cfce1b0f84291e3e5935be5.json +1 -0
  949. package/dist/docs/fixtures/asset-registry/store/objects/sha256/62/1237eed65b92d996a11b259d7ef8854357c9fd1e7170071d59c4f50f4e7b3e.json +1 -0
  950. package/dist/docs/fixtures/asset-registry/store/objects/sha256/9b/fd6af3c3768f8760fb1fe8b8ab98e6d4753d4802e38f7604b446dc7b14a95a.json +1 -0
  951. package/dist/docs/fixtures/asset-registry/store/objects/sha256/be/c5d5f8f9ee2f8fdab1902f73888b251eb9e62e55bef3529542ab0deb8a48e2.json +1 -0
  952. package/dist/docs/fixtures/asset-registry/store/objects/sha256/c6/19c6c426da2f6fac9185c2426908ea83ff1598e5e9af7add61f509678a5853.json +1 -0
  953. package/dist/docs/fixtures/asset-registry/store/objects/sha256/d6/e6ac3acac3ee396987fd0333b6193c809156c88eb343b43c9e0b0c72fbe1c5.json +1 -0
  954. package/dist/docs/fixtures/asset-registry/store/objects/sha256/d9/6f3131c5d6556d2fa74665befef66c0d279dd1177dc6d41f232f2844eafba6.json +1 -0
  955. package/dist/docs/fixtures/asset-registry/store/objects/sha256/f4/6abf273daaaf13cc96c10e54d2de72ba8cd269a58d1ea047331c38ba13dc18.json +1 -0
  956. package/dist/docs/fixtures/claude-fixed-entry-route-baseline.json +36 -0
  957. package/dist/docs/fixtures/claude-pre-fixed-commands/skill-handoff.md +32 -0
  958. package/dist/docs/fixtures/claude-pre-fixed-commands/skill-implement.md +30 -0
  959. package/dist/docs/fixtures/claude-pre-fixed-commands/skill-investigate.md +25 -0
  960. package/dist/docs/fixtures/claude-pre-fixed-commands/skill-review.md +54 -0
  961. package/dist/docs/fixtures/claude-pre-fixed-commands/skill-verify.md +36 -0
  962. package/dist/docs/fixtures/codex-compact-route-baseline.json +42 -0
  963. package/dist/docs/fixtures/codex-pre-compact-prompts/skill-handoff.md +43 -0
  964. package/dist/docs/fixtures/codex-pre-compact-prompts/skill-implement.md +55 -0
  965. package/dist/docs/fixtures/codex-pre-compact-prompts/skill-investigate.md +55 -0
  966. package/dist/docs/fixtures/codex-pre-compact-prompts/skill-review.md +68 -0
  967. package/dist/docs/fixtures/codex-pre-compact-prompts/skill-verify.md +55 -0
  968. package/dist/docs/fixtures/epic-admission-policy.json +50 -0
  969. package/dist/docs/fixtures/epic-admission-work-package-plan-cases.json +766 -0
  970. package/dist/docs/fixtures/evolution-loop/reference.json +551 -0
  971. package/dist/docs/fixtures/first-workflow-315/bypass-input-ja.md +2 -0
  972. package/dist/docs/fixtures/first-workflow-315/implementation-input-ja.md +15 -0
  973. package/dist/docs/fixtures/issue-275-slice-1-epic-admission-decision.json +86 -0
  974. package/dist/docs/fixtures/issue-275-slice-1-work-package-plan-r1.json +1053 -0
  975. package/dist/docs/fixtures/issue-275-slice-1-work-package-plan-r2.json +1078 -0
  976. package/dist/docs/fixtures/issue-275-slice-1-work-package-plan-validation-context-r1.json +81 -0
  977. package/dist/docs/fixtures/issue-275-slice-1-work-package-plan-validation-context-r2.json +117 -0
  978. package/dist/docs/fixtures/issue-275-slice-1-work-package-plan-validation-context.json +117 -0
  979. package/dist/docs/fixtures/issue-275-slice-1-work-package-plan.json +1126 -0
  980. package/dist/docs/fixtures/kernel-principles-source-5f36081.md +266 -0
  981. package/dist/docs/fixtures/lifecycle-artifact-chains.json +108 -0
  982. package/dist/docs/fixtures/lifecycle-traceability-chains.json +356 -0
  983. package/dist/docs/fixtures/portfolio-manager/reference.json +70 -0
  984. package/dist/docs/fixtures/pragmatic-evaluation/notes-template.json +39 -0
  985. package/dist/docs/fixtures/prompt-v2-preregistration/binding.json +170 -0
  986. package/dist/docs/fixtures/prompt-v2-preregistration/reference.json +397 -0
  987. package/dist/docs/fixtures/prompt-v2-preregistration/rendered/claude_code/skill-handoff.md +32 -0
  988. package/dist/docs/fixtures/prompt-v2-preregistration/rendered/claude_code/skill-implement.md +38 -0
  989. package/dist/docs/fixtures/prompt-v2-preregistration/rendered/claude_code/skill-investigate.md +35 -0
  990. package/dist/docs/fixtures/prompt-v2-preregistration/rendered/claude_code/skill-review.md +49 -0
  991. package/dist/docs/fixtures/prompt-v2-preregistration/rendered/claude_code/skill-verify.md +43 -0
  992. package/dist/docs/fixtures/prompt-v2-preregistration/rendered/codex/skill-handoff.md +29 -0
  993. package/dist/docs/fixtures/prompt-v2-preregistration/rendered/codex/skill-implement.md +34 -0
  994. package/dist/docs/fixtures/prompt-v2-preregistration/rendered/codex/skill-investigate.md +33 -0
  995. package/dist/docs/fixtures/prompt-v2-preregistration/rendered/codex/skill-review.md +50 -0
  996. package/dist/docs/fixtures/prompt-v2-preregistration/rendered/codex/skill-verify.md +34 -0
  997. package/dist/docs/fixtures/prompt-v2-preregistration/rendered/reference.json +94 -0
  998. package/dist/docs/fixtures/release-evidence-gate/current-main-756c72-claim-matrix.json +74 -0
  999. package/dist/docs/fixtures/release-evidence-gate/current-main-756c72-evidence.json +30 -0
  1000. package/dist/docs/fixtures/release-evidence-gate/current-main-d4ad39-claim-matrix.json +389 -0
  1001. package/dist/docs/fixtures/release-evidence-gate/current-main-d4ad39-evidence.json +1024 -0
  1002. package/dist/docs/fixtures/release-evidence-gate/current-main-d4ad39-independent-review.md +95 -0
  1003. package/dist/docs/fixtures/release-evidence-gate/current-main-d4ad39-observations.json +87 -0
  1004. package/dist/docs/fixtures/release-evidence-gate/mac-install-recovery-candidate.json +232 -0
  1005. package/dist/docs/fixtures/release-evidence-gate/mac-install-recovery-review.md +112 -0
  1006. package/dist/docs/fixtures/review-route-cases.json +830 -0
  1007. package/dist/docs/fixtures/skill-effectiveness-outcome-cases.json +549 -0
  1008. package/dist/docs/fixtures/sufficient-change-scope/stage-1.md +51 -0
  1009. package/dist/docs/fixtures/sufficient-change-scope/stage-2.md +30 -0
  1010. package/dist/docs/fixtures/ui-ux-design/README.md +36 -0
  1011. package/dist/docs/fixtures/ui-ux-design/fixture-state.mjs +140 -0
  1012. package/dist/docs/fixtures/ui-ux-design/fixture-state.test.mjs +171 -0
  1013. package/dist/docs/fixtures/ui-ux-design/fixture.mjs +154 -0
  1014. package/dist/docs/fixtures/verification-proof-formal-baseline.md +14 -0
  1015. package/dist/docs/fixtures/verification-proof-policy-cases.json +906 -0
  1016. package/dist/docs/glossary-ja.md +433 -0
  1017. package/dist/docs/instruction-improvement-continuity.md +237 -0
  1018. package/dist/docs/instruction-improvement-delivery.md +130 -0
  1019. package/dist/docs/instruction-improvement-learning-context.md +118 -0
  1020. package/dist/docs/instruction-improvement-readiness.md +116 -0
  1021. package/dist/docs/instruction-loop-failed-preparation.md +45 -0
  1022. package/dist/docs/instruction-loop-fixed-reference-scoring.md +57 -0
  1023. package/dist/docs/instruction-loop-host-authoring.md +83 -0
  1024. package/dist/docs/instruction-loop-reference-evidence.md +185 -0
  1025. package/dist/docs/instruction-loop-retained-authoring.md +115 -0
  1026. package/dist/docs/instruction-loop-source-application.md +110 -0
  1027. package/dist/docs/instruction-loop-source-validation.md +65 -0
  1028. package/dist/docs/instruction-loop-standard-execution.md +101 -0
  1029. package/dist/docs/kernel-principles-candidate-v2.md +124 -0
  1030. package/dist/docs/kernel-principles-comparison.md +135 -0
  1031. package/dist/docs/kernel-principles-v2-adoption.md +118 -0
  1032. package/dist/docs/kernel-standalone-design-proposal.md +198 -0
  1033. package/dist/docs/kernel-standalone-instruction-draft.md +206 -0
  1034. package/dist/docs/lifecycle-artifact-contract.md +274 -0
  1035. package/dist/docs/lifecycle-traceability-contract.md +169 -0
  1036. package/dist/docs/local-codex-admission.md +177 -0
  1037. package/dist/docs/local-codex-connection.md +60 -0
  1038. package/dist/docs/local-codex-read-policy.md +210 -0
  1039. package/dist/docs/local-codex-single-sandbox-design.md +73 -0
  1040. package/dist/docs/local-eval-distribution.md +222 -0
  1041. package/dist/docs/local-full-static-preparation.md +137 -0
  1042. package/dist/docs/local-three-arm-comparison.md +142 -0
  1043. package/dist/docs/local-three-arm-qualification.md +89 -0
  1044. package/dist/docs/mac-ask-full-reference-supplement.json +249 -0
  1045. package/dist/docs/mac-ask-full-static-inventory.json +1488 -0
  1046. package/dist/docs/mac-kernel-value-screening.md +253 -0
  1047. package/dist/docs/measured-review-adoption.md +88 -0
  1048. package/dist/docs/metrics-event-contract.md +252 -0
  1049. package/dist/docs/npm-distribution-ja.md +133 -0
  1050. package/dist/docs/npm-distribution.md +300 -0
  1051. package/dist/docs/npm-loop-spec-example.mjs +34 -0
  1052. package/dist/docs/observability-runtime-contract.md +164 -0
  1053. package/dist/docs/operation-automation-contract.md +89 -0
  1054. package/dist/docs/personal-evolution-bridge.md +33 -0
  1055. package/dist/docs/personal-evolution-cli.md +238 -0
  1056. package/dist/docs/personal-evolution-codex-generation.md +166 -0
  1057. package/dist/docs/personal-evolution-driver.md +15 -0
  1058. package/dist/docs/personal-evolution-generation-connector.md +139 -0
  1059. package/dist/docs/personal-evolution-generation-status.md +86 -0
  1060. package/dist/docs/personal-evolution-generation.md +31 -0
  1061. package/dist/docs/personal-evolution-primary-loop.md +241 -0
  1062. package/dist/docs/personal-evolution-primary-pair-contract.md +72 -0
  1063. package/dist/docs/personal-evolution-saved-results.md +31 -0
  1064. package/dist/docs/personal-evolution-source-reviewer.md +84 -0
  1065. package/dist/docs/personal-evolution-unattended.md +169 -0
  1066. package/dist/docs/personal-loop-quickstart-ja.md +79 -0
  1067. package/dist/docs/personal-v1-release-preparation-ja.md +41 -0
  1068. package/dist/docs/portfolio-manager-contract.md +596 -0
  1069. package/dist/docs/practical-challenge-evaluation.md +273 -0
  1070. package/dist/docs/practical-evaluation-recovery.md +487 -0
  1071. package/dist/docs/practical-grade-supplement.md +193 -0
  1072. package/dist/docs/practical-partial-grading.md +121 -0
  1073. package/dist/docs/practical-quality-observations.md +69 -0
  1074. package/dist/docs/practical-retained-grade-report.md +106 -0
  1075. package/dist/docs/pragmatic-evaluation.md +149 -0
  1076. package/dist/docs/primary-24-practical-review.md +281 -0
  1077. package/dist/docs/primary-24-practical-revision.md +256 -0
  1078. package/dist/docs/primary-24-private-v2.md +28 -0
  1079. package/dist/docs/primary-24-task-assembly.md +276 -0
  1080. package/dist/docs/primary-24-unsafe-action-v8.md +28 -0
  1081. package/dist/docs/primary-evaluation-correctness-v7.md +188 -0
  1082. package/dist/docs/primary-principles-v2-connection.md +88 -0
  1083. package/dist/docs/project-overlay-template.md +152 -0
  1084. package/dist/docs/prompt-recipes-ja.md +955 -0
  1085. package/dist/docs/prompt-v2-execution-handoff.md +81 -0
  1086. package/dist/docs/quality-rubric.md +145 -0
  1087. package/dist/docs/quickstart-ja.md +388 -0
  1088. package/dist/docs/quickstart-mac-codex-ja.md +160 -0
  1089. package/dist/docs/references.md +18 -0
  1090. package/dist/docs/release-evidence-gate-contract.md +198 -0
  1091. package/dist/docs/release-package-2026-10.md +129 -0
  1092. package/dist/docs/review-finding-contract.md +54 -0
  1093. package/dist/docs/review-rule-lifecycle.md +205 -0
  1094. package/dist/docs/routing-model.md +274 -0
  1095. package/dist/docs/rule-batch-prospective-comparison.md +88 -0
  1096. package/dist/docs/skill-effectiveness-evaluation-contract.md +146 -0
  1097. package/dist/docs/skill-matrix.md +190 -0
  1098. package/dist/docs/stack-implementation-overlay-contract.md +122 -0
  1099. package/dist/docs/sufficient-change-scope-evaluation.md +120 -0
  1100. package/dist/docs/supervised-instruction-loop.md +464 -0
  1101. package/dist/docs/unattended-user-comparison-contract.md +90 -0
  1102. package/dist/docs/usage-ja.md +501 -0
  1103. package/dist/docs/user-comparison-contract.md +75 -0
  1104. package/dist/docs/user-repository-comparison-mac-codex-ja.md +571 -0
  1105. package/dist/docs/validation-report.md +756 -0
  1106. package/dist/docs/verification-evidence-contract.md +175 -0
  1107. package/dist/docs/verification-proof-policy-contract.md +177 -0
  1108. package/dist/docs/verification-reuse-completion-contract.md +129 -0
  1109. package/dist/docs/verification-reuse-measurement.md +130 -0
  1110. package/dist/docs/workflow-examples.md +539 -0
  1111. package/dist/examples/01-small-change.md +32 -0
  1112. package/dist/examples/02-new-feature.md +53 -0
  1113. package/dist/examples/03-bug-fix.md +39 -0
  1114. package/dist/examples/04-design-grill.md +40 -0
  1115. package/dist/examples/05-pr-review.md +43 -0
  1116. package/dist/examples/06-handoff-to-agent.md +49 -0
  1117. package/dist/examples/07-mr-readme.md +32 -0
  1118. package/dist/examples/08-code-health-review.md +50 -0
  1119. package/dist/examples/09-improvement-ledger-update.md +90 -0
  1120. package/dist/examples/10-safe-refactor.md +76 -0
  1121. package/dist/examples/11-prevention-rule-feedback.md +104 -0
  1122. package/dist/examples/12-claude-adapter-adoption.md +36 -0
  1123. package/dist/manifest.json +804 -0
  1124. package/dist/npm-runtime-inventory.json +7774 -0
  1125. package/dist/package.json +38 -0
  1126. package/dist/products/ask-core-bundle/AGENTS.md +195 -0
  1127. package/dist/products/ask-core-bundle/capabilities.json +65 -0
  1128. package/dist/products/ask-core-bundle/manifest.json +2738 -0
  1129. package/dist/schemas/adapter-runtime-event.schema.json +169 -0
  1130. package/dist/schemas/adapter-runtime-evidence.schema.json +60 -0
  1131. package/dist/schemas/adapter-runtime-profile.schema.json +281 -0
  1132. package/dist/schemas/adoption-apply-result.schema.json +215 -0
  1133. package/dist/schemas/adoption-plan.schema.json +366 -0
  1134. package/dist/schemas/adoption-report.schema.json +252 -0
  1135. package/dist/schemas/architecture-decision-memory-entry.schema.json +56 -0
  1136. package/dist/schemas/asset-content.schema.json +107 -0
  1137. package/dist/schemas/asset-lifecycle-authority-context.schema.json +69 -0
  1138. package/dist/schemas/asset-record.schema.json +362 -0
  1139. package/dist/schemas/asset-registry-snapshot.schema.json +59 -0
  1140. package/dist/schemas/claim-evidence-status.schema.json +85 -0
  1141. package/dist/schemas/codex-risk-action.schema.json +58 -0
  1142. package/dist/schemas/codex-risk-approval-request.schema.json +204 -0
  1143. package/dist/schemas/codex-risk-approval.schema.json +15 -0
  1144. package/dist/schemas/codex-runner-result.schema.json +41 -0
  1145. package/dist/schemas/compact-profile-control-map.json +154 -0
  1146. package/dist/schemas/context-rollover.schema.json +726 -0
  1147. package/dist/schemas/documentation-knowledge-ledger-entry.schema.json +49 -0
  1148. package/dist/schemas/domain-rule-ledger-entry.schema.json +93 -0
  1149. package/dist/schemas/effectiveness-decision-vocabulary.schema.json +24 -0
  1150. package/dist/schemas/engineering-capability-ledger-entry.schema.json +50 -0
  1151. package/dist/schemas/engineering-pattern-ledger-entry.schema.json +48 -0
  1152. package/dist/schemas/epic-admission-decision.schema.json +196 -0
  1153. package/dist/schemas/epic-admission-policy.schema.json +153 -0
  1154. package/dist/schemas/evolution-action-proposal.schema.json +183 -0
  1155. package/dist/schemas/evolution-application-receipt.schema.json +263 -0
  1156. package/dist/schemas/evolution-candidate.schema.json +269 -0
  1157. package/dist/schemas/evolution-experiment.schema.json +368 -0
  1158. package/dist/schemas/evolution-human-decision.schema.json +79 -0
  1159. package/dist/schemas/evolution-recommendation.schema.json +211 -0
  1160. package/dist/schemas/execution-envelope-record.schema.json +127 -0
  1161. package/dist/schemas/execution-envelope.schema.json +127 -0
  1162. package/dist/schemas/fixed-entry-profile-registry.json +44 -0
  1163. package/dist/schemas/improvement-ledger-entry.schema.json +98 -0
  1164. package/dist/schemas/instruction-asset-package.schema.json +343 -0
  1165. package/dist/schemas/metrics-event.schema.json +395 -0
  1166. package/dist/schemas/normalized-event-schema-registry.json +13 -0
  1167. package/dist/schemas/portfolio-authority-context.schema.json +151 -0
  1168. package/dist/schemas/portfolio-lock.schema.json +99 -0
  1169. package/dist/schemas/portfolio-manifest.schema.json +414 -0
  1170. package/dist/schemas/portfolio-selection-context.schema.json +101 -0
  1171. package/dist/schemas/portfolio-selection.schema.json +266 -0
  1172. package/dist/schemas/release-assessment.schema.json +64 -0
  1173. package/dist/schemas/release-claim-matrix.schema.json +89 -0
  1174. package/dist/schemas/release-evidence-catalog.schema.json +154 -0
  1175. package/dist/schemas/repository-snapshot.schema.json +244 -0
  1176. package/dist/schemas/review-finding.schema.json +110 -0
  1177. package/dist/schemas/review-rule-ledger-entry.schema.json +52 -0
  1178. package/dist/schemas/review-signal-gate-map.json +128 -0
  1179. package/dist/schemas/rollover-evaluation.schema.json +397 -0
  1180. package/dist/schemas/session-checkpoint.schema.json +206 -0
  1181. package/dist/schemas/skill-effectiveness-outcome.schema.json +490 -0
  1182. package/dist/schemas/verification-completion-policy.schema.json +79 -0
  1183. package/dist/schemas/verification-evidence-transfer.schema.json +67 -0
  1184. package/dist/schemas/verification-evidence.schema.json +352 -0
  1185. package/dist/schemas/verification-pattern-ledger-entry.schema.json +52 -0
  1186. package/dist/schemas/verification-proof-policy.schema.json +326 -0
  1187. package/dist/schemas/verification-reuse-measurement.schema.json +370 -0
  1188. package/dist/schemas/verification-reuse-plan.schema.json +239 -0
  1189. package/dist/schemas/verification-scoped-reuse.schema.json +484 -0
  1190. package/dist/schemas/work-package-plan-validation-context.schema.json +244 -0
  1191. package/dist/schemas/work-package-plan.schema.json +495 -0
  1192. package/dist/scripts/adapter-cross-conformance.mjs +431 -0
  1193. package/dist/scripts/adapter-runtime-bundle.mjs +452 -0
  1194. package/dist/scripts/adapter-runtime-event.mjs +233 -0
  1195. package/dist/scripts/adapter-runtime-inventory.mjs +69 -0
  1196. package/dist/scripts/adapter-runtime-smoke.mjs +372 -0
  1197. package/dist/scripts/ai-ledger-refresh.mjs +387 -0
  1198. package/dist/scripts/ai-metrics-record.mjs +1318 -0
  1199. package/dist/scripts/ai-metrics-summarize.mjs +1085 -0
  1200. package/dist/scripts/ask-benchmark-admission-decision.mjs +675 -0
  1201. package/dist/scripts/ask-benchmark-atomic-publication.mjs +85 -0
  1202. package/dist/scripts/ask-benchmark-calibration-source.mjs +49 -0
  1203. package/dist/scripts/ask-benchmark-command-evidence.mjs +1048 -0
  1204. package/dist/scripts/ask-benchmark-design-admission.mjs +524 -0
  1205. package/dist/scripts/ask-benchmark-design-review.mjs +387 -0
  1206. package/dist/scripts/ask-benchmark-duplicate-key-json.mjs +133 -0
  1207. package/dist/scripts/ask-benchmark-evaluator-boundary.mjs +3869 -0
  1208. package/dist/scripts/ask-benchmark-execution.mjs +2442 -0
  1209. package/dist/scripts/ask-benchmark-materialize.mjs +582 -0
  1210. package/dist/scripts/ask-benchmark-mn-build-option-update.mjs +506 -0
  1211. package/dist/scripts/ask-benchmark-mn-client-probe-v2.mjs +185 -0
  1212. package/dist/scripts/ask-benchmark-mn-focused-probe-v2.mjs +318 -0
  1213. package/dist/scripts/ask-benchmark-mn-focused-regression-test.mjs +168 -0
  1214. package/dist/scripts/ask-benchmark-mp-ci-evidence-gap.mjs +167 -0
  1215. package/dist/scripts/ask-benchmark-normalized-results.mjs +884 -0
  1216. package/dist/scripts/ask-benchmark-pf-performance-probe.mjs +342 -0
  1217. package/dist/scripts/ask-benchmark-pf-performance-source.mjs +248 -0
  1218. package/dist/scripts/ask-benchmark-plan.mjs +284 -0
  1219. package/dist/scripts/ask-benchmark-portfolio-aggregate-result-v2.mjs +929 -0
  1220. package/dist/scripts/ask-benchmark-portfolio-aggregate-result.mjs +354 -0
  1221. package/dist/scripts/ask-benchmark-portfolio-catalog.mjs +378 -0
  1222. package/dist/scripts/ask-benchmark-portfolio-consumer-report.mjs +193 -0
  1223. package/dist/scripts/ask-benchmark-portfolio-directional-outcome-report.mjs +274 -0
  1224. package/dist/scripts/ask-benchmark-portfolio-evolution-evidence.mjs +169 -0
  1225. package/dist/scripts/ask-benchmark-portfolio-high-impact-sensitivity.mjs +209 -0
  1226. package/dist/scripts/ask-benchmark-portfolio-legacy-calibration-migration.mjs +383 -0
  1227. package/dist/scripts/ask-benchmark-portfolio-mechanism-scorecard.mjs +382 -0
  1228. package/dist/scripts/ask-benchmark-portfolio-paired-comparison-report.mjs +460 -0
  1229. package/dist/scripts/ask-benchmark-portfolio-policy.mjs +1809 -0
  1230. package/dist/scripts/ask-benchmark-portfolio-repetition-report.mjs +314 -0
  1231. package/dist/scripts/ask-benchmark-portfolio-result-set.mjs +664 -0
  1232. package/dist/scripts/ask-benchmark-portfolio-score.mjs +541 -0
  1233. package/dist/scripts/ask-benchmark-private-evaluator-runner.mjs +615 -0
  1234. package/dist/scripts/ask-benchmark-prompt-successor-bridge.mjs +234 -0
  1235. package/dist/scripts/ask-benchmark-prompt-successor-check.mjs +68 -0
  1236. package/dist/scripts/ask-benchmark-prompt-successor-collection.mjs +113 -0
  1237. package/dist/scripts/ask-benchmark-prompt-successor-control.mjs +115 -0
  1238. package/dist/scripts/ask-benchmark-prompt-successor-delivery.mjs +270 -0
  1239. package/dist/scripts/ask-benchmark-prompt-successor-measured-authority.mjs +249 -0
  1240. package/dist/scripts/ask-benchmark-prompt-successor-measured-execution.mjs +733 -0
  1241. package/dist/scripts/ask-benchmark-prompt-successor-native.mjs +137 -0
  1242. package/dist/scripts/ask-benchmark-prompt-successor-provenance.mjs +191 -0
  1243. package/dist/scripts/ask-benchmark-prompt-successor-report.mjs +256 -0
  1244. package/dist/scripts/ask-benchmark-prompt-successor-repository.mjs +107 -0
  1245. package/dist/scripts/ask-benchmark-prompt-successor-scoring-inputs.mjs +218 -0
  1246. package/dist/scripts/ask-benchmark-prompt-successor-usage.mjs +174 -0
  1247. package/dist/scripts/ask-benchmark-prompt-successor.mjs +263 -0
  1248. package/dist/scripts/ask-benchmark-prompt-v2.mjs +1332 -0
  1249. package/dist/scripts/ask-benchmark-runtime-observation.mjs +235 -0
  1250. package/dist/scripts/ask-benchmark-schema.mjs +29 -0
  1251. package/dist/scripts/ask-benchmark-scoring-contract.mjs +802 -0
  1252. package/dist/scripts/ask-benchmark-selection.mjs +387 -0
  1253. package/dist/scripts/ask-benchmark-source-session.mjs +70 -0
  1254. package/dist/scripts/ask-benchmark-stable-file.mjs +89 -0
  1255. package/dist/scripts/ask-benchmark-terminal-candidate.mjs +432 -0
  1256. package/dist/scripts/ask-benchmark-terminal-workspace.mjs +427 -0
  1257. package/dist/scripts/ask-comparison-conditions.mjs +8 -0
  1258. package/dist/scripts/ask-core-bundle-product.mjs +93 -0
  1259. package/dist/scripts/ask-core-capabilities.mjs +40 -0
  1260. package/dist/scripts/ask-core-capture-producer.mjs +298 -0
  1261. package/dist/scripts/ask-core-codex-native-contract.mjs +61 -0
  1262. package/dist/scripts/ask-core-connected-normalizer.mjs +173 -0
  1263. package/dist/scripts/ask-core-controller-attribution.mjs +74 -0
  1264. package/dist/scripts/ask-core-controller-records.mjs +49 -0
  1265. package/dist/scripts/ask-core-grading-authority.mjs +161 -0
  1266. package/dist/scripts/ask-core-native-authority.mjs +42 -0
  1267. package/dist/scripts/ask-core-native-compatibility-provenance.mjs +77 -0
  1268. package/dist/scripts/ask-core-native-connection.mjs +76 -0
  1269. package/dist/scripts/ask-core-native-files.mjs +16 -0
  1270. package/dist/scripts/ask-core-native-preparation.mjs +61 -0
  1271. package/dist/scripts/ask-core-native-receiver.mjs +91 -0
  1272. package/dist/scripts/ask-core-producer-scope.mjs +38 -0
  1273. package/dist/scripts/ask-core-runner-contract.mjs +65 -0
  1274. package/dist/scripts/ask-core-scored-replay.mjs +12 -0
  1275. package/dist/scripts/ask-core-task-admission.mjs +53 -0
  1276. package/dist/scripts/ask-doctor.mjs +1037 -0
  1277. package/dist/scripts/ask-local-codex-boundaries.mjs +141 -0
  1278. package/dist/scripts/ask-local-codex-time-budget.mjs +119 -0
  1279. package/dist/scripts/ask-local-codex-time-policy.mjs +4 -0
  1280. package/dist/scripts/ask-local-codex-timing.mjs +46 -0
  1281. package/dist/scripts/ask-local-codex.mjs +653 -0
  1282. package/dist/scripts/ask-local-eval.mjs +101 -0
  1283. package/dist/scripts/ask-package-cli.mjs +64 -0
  1284. package/dist/scripts/ask-package-environment.mjs +10 -0
  1285. package/dist/scripts/ask-package-loop-prepare.mjs +87 -0
  1286. package/dist/scripts/ask-package-workspace.mjs +55 -0
  1287. package/dist/scripts/ask-personal-evolution-alignment.mjs +126 -0
  1288. package/dist/scripts/ask-personal-evolution-codex-generation.mjs +224 -0
  1289. package/dist/scripts/ask-personal-evolution-driver.mjs +139 -0
  1290. package/dist/scripts/ask-personal-evolution-generation-connector.mjs +316 -0
  1291. package/dist/scripts/ask-personal-evolution-generation.mjs +122 -0
  1292. package/dist/scripts/ask-personal-evolution-observation.mjs +71 -0
  1293. package/dist/scripts/ask-personal-evolution-primary-pair.mjs +474 -0
  1294. package/dist/scripts/ask-personal-evolution-saved-results.mjs +112 -0
  1295. package/dist/scripts/ask-personal-evolution-source-reviewer.mjs +139 -0
  1296. package/dist/scripts/ask-personal-evolution-unattended.mjs +206 -0
  1297. package/dist/scripts/ask-personal-evolution.mjs +142 -0
  1298. package/dist/scripts/ask-personal-prompt-adoption-materialization.mjs +126 -0
  1299. package/dist/scripts/ask-personal-prompt-materialization.mjs +104 -0
  1300. package/dist/scripts/ask-personal-prompt-repetition-binding.mjs +16 -0
  1301. package/dist/scripts/ask-personal-prompt-repetition-evaluation.mjs +163 -0
  1302. package/dist/scripts/ask-personal-prompt-repetition-statistics.mjs +53 -0
  1303. package/dist/scripts/ask-personal-prompt-target-lock.mjs +34 -0
  1304. package/dist/scripts/ask-pragmatic-evaluation-report.mjs +120 -0
  1305. package/dist/scripts/ask-preparation-git-diagnostic.mjs +14 -0
  1306. package/dist/scripts/ask-primary-client-focused-controller.mjs +119 -0
  1307. package/dist/scripts/ask-primary-discovery-grammar-v9.mjs +105 -0
  1308. package/dist/scripts/ask-primary-engineering-safety.mjs +147 -0
  1309. package/dist/scripts/ask-primary-evaluation-batch.mjs +318 -0
  1310. package/dist/scripts/ask-primary-evaluation-grading.mjs +451 -0
  1311. package/dist/scripts/ask-primary-evaluation-private-grading.mjs +270 -0
  1312. package/dist/scripts/ask-primary-evaluation-producer.mjs +549 -0
  1313. package/dist/scripts/ask-primary-evaluation-profile.mjs +29 -0
  1314. package/dist/scripts/ask-primary-evaluation-scope.mjs +531 -0
  1315. package/dist/scripts/ask-primary-evaluation-start.mjs +34 -0
  1316. package/dist/scripts/ask-primary-execution-input.mjs +299 -0
  1317. package/dist/scripts/ask-primary-fixture-recipe.mjs +102 -0
  1318. package/dist/scripts/ask-primary-fixture-registry.mjs +3 -0
  1319. package/dist/scripts/ask-primary-metadata-task-contract.mjs +31 -0
  1320. package/dist/scripts/ask-primary-native-probe-lifetime.mjs +233 -0
  1321. package/dist/scripts/ask-primary-public-catalog-registry.mjs +13 -0
  1322. package/dist/scripts/ask-primary-runtime-collection-support.mjs +5 -0
  1323. package/dist/scripts/ask-primary-runtime-lineage.mjs +420 -0
  1324. package/dist/scripts/ask-primary-runtime-v10.mjs +59 -0
  1325. package/dist/scripts/ask-primary-scoring-version.mjs +269 -0
  1326. package/dist/scripts/ask-primary-unsafe-action-contract.mjs +86 -0
  1327. package/dist/scripts/ask-review-target-requirement.mjs +118 -0
  1328. package/dist/scripts/ask-rule-batch-bundle.mjs +191 -0
  1329. package/dist/scripts/ask-sensors.mjs +978 -0
  1330. package/dist/scripts/ask-setup-apply-state.mjs +359 -0
  1331. package/dist/scripts/ask-setup-apply.mjs +257 -0
  1332. package/dist/scripts/ask-setup-diagnostics.mjs +45 -0
  1333. package/dist/scripts/ask-setup-doctor-inputs.mjs +78 -0
  1334. package/dist/scripts/ask-setup-git.mjs +130 -0
  1335. package/dist/scripts/ask-setup-inputs.mjs +181 -0
  1336. package/dist/scripts/ask-setup.mjs +762 -0
  1337. package/dist/scripts/ask-shared.mjs +627 -0
  1338. package/dist/scripts/ask-synthetic-json-pilot.mjs +561 -0
  1339. package/dist/scripts/ask-user-comparison-logs.mjs +74 -0
  1340. package/dist/scripts/ask-user-comparison-prepare.mjs +846 -0
  1341. package/dist/scripts/ask-user-comparison-state.mjs +329 -0
  1342. package/dist/scripts/ask-user-comparison-test-reporter.mjs +22 -0
  1343. package/dist/scripts/ask-user-comparison.mjs +1087 -0
  1344. package/dist/scripts/asset-registry.mjs +1002 -0
  1345. package/dist/scripts/claim-evidence-status.mjs +162 -0
  1346. package/dist/scripts/claude-fixed-entry-profile.mjs +218 -0
  1347. package/dist/scripts/claude-native-runtime.mjs +108 -0
  1348. package/dist/scripts/claude-plugin-fixed-entries.mjs +53 -0
  1349. package/dist/scripts/codex-exec-runner.mjs +1479 -0
  1350. package/dist/scripts/codex-metrics-collector.mjs +188 -0
  1351. package/dist/scripts/codex-risk-approval.mjs +477 -0
  1352. package/dist/scripts/codex-risk-workspace.mjs +585 -0
  1353. package/dist/scripts/codex-runtime-profile.mjs +153 -0
  1354. package/dist/scripts/content-addressed-store.mjs +379 -0
  1355. package/dist/scripts/environment-evaluation.mjs +69 -0
  1356. package/dist/scripts/environment-evolution-binding.mjs +66 -0
  1357. package/dist/scripts/environment-saved-results.mjs +122 -0
  1358. package/dist/scripts/environment-target-owner.mjs +103 -0
  1359. package/dist/scripts/environment-target.mjs +260 -0
  1360. package/dist/scripts/epic-admission-work-package-plan.mjs +2009 -0
  1361. package/dist/scripts/evaluation-task-catalog.mjs +268 -0
  1362. package/dist/scripts/evaluation-task-inputs.mjs +166 -0
  1363. package/dist/scripts/evaluation-task-scoring.mjs +237 -0
  1364. package/dist/scripts/evolution-loop.mjs +1773 -0
  1365. package/dist/scripts/execution-envelope.mjs +293 -0
  1366. package/dist/scripts/finding-intake.mjs +114 -0
  1367. package/dist/scripts/fixed-entry-profile.mjs +239 -0
  1368. package/dist/scripts/fixtures/ask-core-receiver-child.mjs +35 -0
  1369. package/dist/scripts/fixtures/instruction-loop/fake-codex.py +6 -0
  1370. package/dist/scripts/generate-ask-core-bundle.mjs +41 -0
  1371. package/dist/scripts/generate-ask-core-grading-schemas.mjs +9 -0
  1372. package/dist/scripts/generate-ask-primary-grading-schemas.mjs +226 -0
  1373. package/dist/scripts/install-ask-core-bundle.mjs +117 -0
  1374. package/dist/scripts/install-claude-adapter.mjs +1444 -0
  1375. package/dist/scripts/install-codex-adapter.mjs +1578 -0
  1376. package/dist/scripts/install-kernel.mjs +408 -0
  1377. package/dist/scripts/installer-lifecycle.mjs +698 -0
  1378. package/dist/scripts/instruction-asset-package.mjs +252 -0
  1379. package/dist/scripts/instruction-composition.mjs +62 -0
  1380. package/dist/scripts/instruction-environment-authoring.mjs +265 -0
  1381. package/dist/scripts/instruction-environment-cli.mjs +129 -0
  1382. package/dist/scripts/instruction-environment-compiler.mjs +92 -0
  1383. package/dist/scripts/instruction-environment.mjs +148 -0
  1384. package/dist/scripts/instruction-evaluation-recovery.mjs +86 -0
  1385. package/dist/scripts/instruction-loop-artifact.mjs +6 -0
  1386. package/dist/scripts/instruction-loop-assets.mjs +67 -0
  1387. package/dist/scripts/instruction-loop-case-selection.mjs +31 -0
  1388. package/dist/scripts/instruction-loop-command-runtime.mjs +108 -0
  1389. package/dist/scripts/instruction-loop-component-candidate.mjs +116 -0
  1390. package/dist/scripts/instruction-loop-component-continuation.mjs +61 -0
  1391. package/dist/scripts/instruction-loop-component-runtime.mjs +151 -0
  1392. package/dist/scripts/instruction-loop-environment-approval.mjs +51 -0
  1393. package/dist/scripts/instruction-loop-failed-preparation.mjs +243 -0
  1394. package/dist/scripts/instruction-loop-feedback.mjs +226 -0
  1395. package/dist/scripts/instruction-loop-fixed-scoring.mjs +39 -0
  1396. package/dist/scripts/instruction-loop-fixed-scoring.py +98 -0
  1397. package/dist/scripts/instruction-loop-full-candidate.mjs +351 -0
  1398. package/dist/scripts/instruction-loop-host-authoring.mjs +66 -0
  1399. package/dist/scripts/instruction-loop-host-scoring.mjs +110 -0
  1400. package/dist/scripts/instruction-loop-measured-adoption.mjs +106 -0
  1401. package/dist/scripts/instruction-loop-native-configuration.mjs +150 -0
  1402. package/dist/scripts/instruction-loop-native-host.mjs +229 -0
  1403. package/dist/scripts/instruction-loop-native-prepare.py +107 -0
  1404. package/dist/scripts/instruction-loop-native-public-inputs.mjs +52 -0
  1405. package/dist/scripts/instruction-loop-native-worker.mjs +10 -0
  1406. package/dist/scripts/instruction-loop-normal-owner-worker.mjs +97 -0
  1407. package/dist/scripts/instruction-loop-operation.mjs +108 -0
  1408. package/dist/scripts/instruction-loop-practical-runtime.mjs +188 -0
  1409. package/dist/scripts/instruction-loop-provider-policy.mjs +23 -0
  1410. package/dist/scripts/instruction-loop-reference-evidence.mjs +95 -0
  1411. package/dist/scripts/instruction-loop-reference-preparation.mjs +138 -0
  1412. package/dist/scripts/instruction-loop-reference-report.mjs +84 -0
  1413. package/dist/scripts/instruction-loop-reference-scoring-runtime.mjs +48 -0
  1414. package/dist/scripts/instruction-loop-result-disposition.mjs +26 -0
  1415. package/dist/scripts/instruction-loop-retained-authoring.mjs +125 -0
  1416. package/dist/scripts/instruction-loop-runtime.mjs +8 -0
  1417. package/dist/scripts/instruction-loop-source-application.mjs +106 -0
  1418. package/dist/scripts/instruction-loop-source-binding.mjs +37 -0
  1419. package/dist/scripts/instruction-projection-paths.mjs +16 -0
  1420. package/dist/scripts/instruction-run-journal.mjs +45 -0
  1421. package/dist/scripts/instruction-source-version.mjs +104 -0
  1422. package/dist/scripts/json-schema-validation.mjs +419 -0
  1423. package/dist/scripts/kernel-principles-candidate-v2.mjs +71 -0
  1424. package/dist/scripts/kernel-principles-v2-catalog24.mjs +86 -0
  1425. package/dist/scripts/kernel-principles-v2.mjs +122 -0
  1426. package/dist/scripts/kernel-principles.mjs +81 -0
  1427. package/dist/scripts/local-codex-probe-worker.mjs +143 -0
  1428. package/dist/scripts/observability-paths.mjs +31 -0
  1429. package/dist/scripts/portfolio-manager.mjs +1870 -0
  1430. package/dist/scripts/practical-challenge-evaluation.mjs +194 -0
  1431. package/dist/scripts/practical-challenge-worker.mjs +126 -0
  1432. package/dist/scripts/practical-codex-adapter.mjs +107 -0
  1433. package/dist/scripts/practical-evaluation-assessor.mjs +92 -0
  1434. package/dist/scripts/practical-evaluation-cli.mjs +134 -0
  1435. package/dist/scripts/practical-evaluation-runner.mjs +261 -0
  1436. package/dist/scripts/practical-evaluation-worker.mjs +193 -0
  1437. package/dist/scripts/practical-grade-report-revision.mjs +12 -0
  1438. package/dist/scripts/practical-grade-source-binding.mjs +53 -0
  1439. package/dist/scripts/practical-grade-supplement.mjs +457 -0
  1440. package/dist/scripts/practical-host-reporting-policy.mjs +85 -0
  1441. package/dist/scripts/practical-initialization-clearance.mjs +143 -0
  1442. package/dist/scripts/practical-initialization-recovery-cli.mjs +44 -0
  1443. package/dist/scripts/practical-isolated-grade-continuation-cli.mjs +19 -0
  1444. package/dist/scripts/practical-isolated-grade-continuation.mjs +179 -0
  1445. package/dist/scripts/practical-primary-grading.mjs +130 -0
  1446. package/dist/scripts/practical-quality-observation.mjs +61 -0
  1447. package/dist/scripts/practical-reporting-grader.mjs +160 -0
  1448. package/dist/scripts/practical-reporting-policy.mjs +126 -0
  1449. package/dist/scripts/practical-retained-grade-report-cli.mjs +19 -0
  1450. package/dist/scripts/practical-retained-grade-report.mjs +80 -0
  1451. package/dist/scripts/practical-saved-command-observation.mjs +159 -0
  1452. package/dist/scripts/practical-session-usage.mjs +73 -0
  1453. package/dist/scripts/prepare-historical-full-test-root.mjs +155 -0
  1454. package/dist/scripts/prompt-v2-historical-renderer.mjs +61 -0
  1455. package/dist/scripts/prompt-v2-preregistration-samples.mjs +1410 -0
  1456. package/dist/scripts/release-evidence-gate.mjs +421 -0
  1457. package/dist/scripts/retained-instruction-comparison.mjs +154 -0
  1458. package/dist/scripts/retained-instruction-layout.mjs +103 -0
  1459. package/dist/scripts/review-route-contract.mjs +135 -0
  1460. package/dist/scripts/review-rule-lifecycle.mjs +171 -0
  1461. package/dist/scripts/saved-instruction-pair-evidence.mjs +37 -0
  1462. package/dist/scripts/skill-assets.mjs +48 -0
  1463. package/dist/scripts/skill-effectiveness-outcome.mjs +501 -0
  1464. package/dist/scripts/skill-usage-evidence.mjs +80 -0
  1465. package/dist/scripts/supervised-instruction-loop-cli.mjs +180 -0
  1466. package/dist/scripts/supervised-instruction-loop.mjs +392 -0
  1467. package/dist/scripts/verification-decision-core.mjs +248 -0
  1468. package/dist/scripts/verification-evidence.mjs +754 -0
  1469. package/dist/scripts/verification-host-provider.mjs +61 -0
  1470. package/dist/scripts/verification-proof-policy.mjs +318 -0
  1471. package/dist/scripts/verification-reuse-completion.mjs +338 -0
  1472. package/dist/scripts/verification-review-dispatch.mjs +144 -0
  1473. package/dist/scripts/verification-scoped-reuse.mjs +993 -0
  1474. package/dist/skills/adr-review/SKILL.md +108 -0
  1475. package/dist/skills/angular-implementation-architecture/SKILL.md +187 -0
  1476. package/dist/skills/application-boundary-architecture/SKILL.md +412 -0
  1477. package/dist/skills/architecture-decision-memory/SKILL.md +102 -0
  1478. package/dist/skills/code-visualization/SKILL.md +24 -0
  1479. package/dist/skills/code-visualization/references/examples/pr497.json +328 -0
  1480. package/dist/skills/code-visualization/references/examples/skill-assets.json +257 -0
  1481. package/dist/skills/code-visualization/references/guide-input.md +48 -0
  1482. package/dist/skills/code-visualization/references/render-guide.mjs +238 -0
  1483. package/dist/skills/code-visualization/references/scene-model.mjs +96 -0
  1484. package/dist/skills/code-visualization/references/visual-player.js +346 -0
  1485. package/dist/skills/code-visualization/references/visual-surface.css +15 -0
  1486. package/dist/skills/controlled-implementation/SKILL.md +195 -0
  1487. package/dist/skills/documentation-knowledge-compiler/SKILL.md +100 -0
  1488. package/dist/skills/domain-rule-ledger/SKILL.md +109 -0
  1489. package/dist/skills/doubt-driven-development/SKILL.md +101 -0
  1490. package/dist/skills/engineering-capability-evaluation/SKILL.md +103 -0
  1491. package/dist/skills/engineering-pattern-ledger/SKILL.md +110 -0
  1492. package/dist/skills/evidence-ledger/SKILL.md +96 -0
  1493. package/dist/skills/grill-design/SKILL.md +92 -0
  1494. package/dist/skills/grill-with-docs/SKILL.md +89 -0
  1495. package/dist/skills/handoff-generation/SKILL.md +99 -0
  1496. package/dist/skills/implementation-context-generation/SKILL.md +185 -0
  1497. package/dist/skills/improvement-ledger/SKILL.md +206 -0
  1498. package/dist/skills/mr-readme-generation/SKILL.md +201 -0
  1499. package/dist/skills/next-best-change-finder/SKILL.md +112 -0
  1500. package/dist/skills/operating-mode-router/SKILL.md +141 -0
  1501. package/dist/skills/planning-with-files/SKILL.md +81 -0
  1502. package/dist/skills/project-adoption-pack-generation/SKILL.md +113 -0
  1503. package/dist/skills/refactor-implementation/SKILL.md +142 -0
  1504. package/dist/skills/release-readiness-gate/SKILL.md +161 -0
  1505. package/dist/skills/repository-orientation/SKILL.md +94 -0
  1506. package/dist/skills/requirement-grill/SKILL.md +137 -0
  1507. package/dist/skills/review-adversarial-risk/SKILL.md +117 -0
  1508. package/dist/skills/review-ai-quality/SKILL.md +127 -0
  1509. package/dist/skills/review-architecture-impact/SKILL.md +144 -0
  1510. package/dist/skills/review-automated-gate/SKILL.md +84 -0
  1511. package/dist/skills/review-code-health/SKILL.md +140 -0
  1512. package/dist/skills/review-context-generation/SKILL.md +175 -0
  1513. package/dist/skills/review-domain-impact/SKILL.md +182 -0
  1514. package/dist/skills/review-final-merge-gate/SKILL.md +120 -0
  1515. package/dist/skills/review-finding-compiler/SKILL.md +96 -0
  1516. package/dist/skills/review-output-quality/SKILL.md +167 -0
  1517. package/dist/skills/review-router/SKILL.md +161 -0
  1518. package/dist/skills/review-to-rule-compiler/SKILL.md +91 -0
  1519. package/dist/skills/risk-gate/SKILL.md +94 -0
  1520. package/dist/skills/scope-control/SKILL.md +97 -0
  1521. package/dist/skills/skill-adoption-metrics/SKILL.md +210 -0
  1522. package/dist/skills/skill-effectiveness-evaluation/SKILL.md +248 -0
  1523. package/dist/skills/skill-effectiveness-evaluation/references/practical-evaluation.md +204 -0
  1524. package/dist/skills/skill-router/SKILL.md +205 -0
  1525. package/dist/skills/spec-driven-development/SKILL.md +136 -0
  1526. package/dist/skills/spec-driven-development/references/context-retrieval.md +40 -0
  1527. package/dist/skills/spec-driven-development/references/decision-led-test-strategy.md +46 -0
  1528. package/dist/skills/spec-driven-development/references/examples/domain-context.md +20 -0
  1529. package/dist/skills/spec-driven-development/references/examples/javascript/reservation.cases.mjs +26 -0
  1530. package/dist/skills/spec-driven-development/references/examples/javascript/reservation.mjs +11 -0
  1531. package/dist/skills/spec-driven-development/references/examples/javascript/reservation.test.mjs +65 -0
  1532. package/dist/skills/spec-driven-development/references/examples/javascript/scenario-observer.mjs +47 -0
  1533. package/dist/skills/spec-driven-development/references/examples/javascript/scenario-player.html +109 -0
  1534. package/dist/skills/spec-driven-development/references/examples/javascript/scenario-review.mjs +166 -0
  1535. package/dist/skills/spec-driven-development/references/examples/python/reservation.py +10 -0
  1536. package/dist/skills/spec-driven-development/references/examples/python/test_reservation.py +40 -0
  1537. package/dist/skills/spec-driven-development/references/examples/quote-reissue/confirmed-quote.mjs +16 -0
  1538. package/dist/skills/spec-driven-development/references/examples/quote-reissue/confirmed-quote.test.mjs +19 -0
  1539. package/dist/skills/spec-driven-development/references/examples/quote-reissue/decision-record.md +25 -0
  1540. package/dist/skills/spec-driven-development/references/examples/quote-reissue/quote-reissue.mjs +28 -0
  1541. package/dist/skills/spec-driven-development/references/examples/quote-reissue/quote-reissue.test.mjs +69 -0
  1542. package/dist/skills/spec-driven-development/references/executable-spec-workflow.md +52 -0
  1543. package/dist/skills/spec-driven-development/references/project-templates.md +92 -0
  1544. package/dist/skills/spec-driven-development/references/quote-reissue-decision.md +35 -0
  1545. package/dist/skills/spec-driven-development/references/scenario-visual-review.md +92 -0
  1546. package/dist/skills/spec-driven-development/references/spec-index.md +51 -0
  1547. package/dist/skills/spec-driven-development/references/spec-writing-conventions.md +52 -0
  1548. package/dist/skills/spec-driven-development/references/verification-selection.md +44 -0
  1549. package/dist/skills/test-first-verification/SKILL.md +170 -0
  1550. package/dist/skills/ui-ux-design/SKILL.md +98 -0
  1551. package/dist/skills/ui-ux-design/references/anti-patterns.md +51 -0
  1552. package/dist/skills/ui-ux-design/references/decision-patterns.md +213 -0
  1553. package/dist/skills/ui-ux-design/references/principles.md +55 -0
  1554. package/dist/skills/ui-ux-design/references/ui-capability-contract.md +70 -0
  1555. package/dist/skills/ui-ux-design/references/working-state.md +52 -0
  1556. package/dist/skills/verification-pattern-ledger/SKILL.md +96 -0
  1557. package/dist/skills/work-package-compiler/SKILL.md +129 -0
  1558. package/package.json +36 -4
@@ -0,0 +1,4126 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "Primary grading compatibility profile: Adaptive ASK per-attempt raw engineering result (explicit finite unsafe-action observations v8) (explicit finite discovery processing v9) (V10 unqualified closed-input preparation)",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "schema_version",
8
+ "schema_path",
9
+ "program",
10
+ "scoring_status",
11
+ "scoring_reason",
12
+ "scoring_input_freeze_manifest_source_digest",
13
+ "scoring_input_freeze_manifest_digest",
14
+ "catalog_digest",
15
+ "policy_manifest_digest",
16
+ "scoring_policy_digest",
17
+ "admission_record_digest",
18
+ "effective_admission_mode",
19
+ "effective_admission_status",
20
+ "frozen_admission_record_digest",
21
+ "requirement_authority_digest",
22
+ "admission_decision_digest",
23
+ "admission_decision_revision",
24
+ "requirement_record_digest",
25
+ "requirement_set_digest",
26
+ "output_contract_digest",
27
+ "evaluator_public_reference_digest",
28
+ "evaluation_id",
29
+ "evaluation_digest",
30
+ "evaluation_status",
31
+ "evaluator_bundle_id",
32
+ "evaluator_bundle_digest",
33
+ "evaluator_revision",
34
+ "normalized_result_id",
35
+ "normalized_result_digest",
36
+ "normalized_outcome",
37
+ "source_snapshot_digest",
38
+ "run_instance_id",
39
+ "plan_id",
40
+ "plan_digest",
41
+ "fixture_id",
42
+ "fixture_input_digest",
43
+ "suite",
44
+ "task_class",
45
+ "case_id",
46
+ "attempt",
47
+ "adapter",
48
+ "condition",
49
+ "repetition",
50
+ "requirement_score",
51
+ "blockers",
52
+ "false_positives",
53
+ "scope_deviations",
54
+ "correctness_observations",
55
+ "unsafe_actions",
56
+ "safety_blocker",
57
+ "mechanism_observations",
58
+ "overhead_telemetry",
59
+ "boundaries",
60
+ "privacy",
61
+ "engineering_result_id",
62
+ "engineering_result_digest",
63
+ "primary_runtime_binding"
64
+ ],
65
+ "properties": {
66
+ "schema_version": {
67
+ "const": "1.0.0"
68
+ },
69
+ "schema_path": {
70
+ "const": "benchmarks/schemas/portfolio-engineering-result.schema.json"
71
+ },
72
+ "program": {
73
+ "const": "adaptive_ask_portfolio_engineering_result"
74
+ },
75
+ "scoring_status": {
76
+ "enum": [
77
+ "complete",
78
+ "not_scoring_ready"
79
+ ]
80
+ },
81
+ "scoring_reason": {
82
+ "enum": [
83
+ "completed_evaluation_scoring_ready",
84
+ "evaluation_invalid_input",
85
+ "evaluator_unavailable",
86
+ "evaluator_failed",
87
+ "manual_review_required",
88
+ "normalized_execution_failed",
89
+ "normalized_execution_unavailable",
90
+ "normalized_execution_interrupted",
91
+ "normalized_execution_invalid",
92
+ "admission_not_admitted"
93
+ ]
94
+ },
95
+ "scoring_input_freeze_manifest_source_digest": {
96
+ "$ref": "#/$defs/digest"
97
+ },
98
+ "scoring_input_freeze_manifest_digest": {
99
+ "$ref": "#/$defs/digest"
100
+ },
101
+ "catalog_digest": {
102
+ "$ref": "#/$defs/digest"
103
+ },
104
+ "policy_manifest_digest": {
105
+ "$ref": "#/$defs/digest"
106
+ },
107
+ "scoring_policy_digest": {
108
+ "$ref": "#/$defs/digest"
109
+ },
110
+ "admission_record_digest": {
111
+ "$ref": "#/$defs/digest"
112
+ },
113
+ "effective_admission_mode": {
114
+ "enum": [
115
+ "legacy_admitted_record",
116
+ "admitted_overlay",
117
+ "not_admitted"
118
+ ]
119
+ },
120
+ "effective_admission_status": {
121
+ "enum": [
122
+ "admitted",
123
+ "admission_pending",
124
+ "changes_requested",
125
+ "rejected"
126
+ ]
127
+ },
128
+ "frozen_admission_record_digest": {
129
+ "$ref": "#/$defs/digest"
130
+ },
131
+ "requirement_authority_digest": {
132
+ "$ref": "#/$defs/digest"
133
+ },
134
+ "admission_decision_digest": {
135
+ "oneOf": [
136
+ {
137
+ "type": "null"
138
+ },
139
+ {
140
+ "$ref": "#/$defs/digest"
141
+ }
142
+ ]
143
+ },
144
+ "admission_decision_revision": {
145
+ "type": [
146
+ "integer",
147
+ "null"
148
+ ],
149
+ "minimum": 1
150
+ },
151
+ "requirement_record_digest": {
152
+ "$ref": "#/$defs/digest"
153
+ },
154
+ "requirement_set_digest": {
155
+ "$ref": "#/$defs/digest"
156
+ },
157
+ "output_contract_digest": {
158
+ "$ref": "#/$defs/digest"
159
+ },
160
+ "evaluator_public_reference_digest": {
161
+ "$ref": "#/$defs/digest"
162
+ },
163
+ "evaluation_id": {
164
+ "type": "string",
165
+ "pattern": "^evaluation-[a-f0-9]{32}$"
166
+ },
167
+ "evaluation_digest": {
168
+ "$ref": "#/$defs/digest"
169
+ },
170
+ "evaluation_status": {
171
+ "enum": [
172
+ "completed",
173
+ "invalid_input",
174
+ "evaluator_unavailable",
175
+ "evaluator_failed",
176
+ "manual_review_required"
177
+ ]
178
+ },
179
+ "evaluator_bundle_id": {
180
+ "type": "string",
181
+ "pattern": "^evaluator-[a-f0-9]{64}$"
182
+ },
183
+ "evaluator_bundle_digest": {
184
+ "$ref": "#/$defs/digest"
185
+ },
186
+ "evaluator_revision": {
187
+ "type": "string",
188
+ "pattern": "^[a-f0-9]{40}$"
189
+ },
190
+ "normalized_result_id": {
191
+ "type": "string",
192
+ "pattern": "^normalized-[a-f0-9]{32}$"
193
+ },
194
+ "normalized_result_digest": {
195
+ "$ref": "#/$defs/digest"
196
+ },
197
+ "normalized_outcome": {
198
+ "enum": [
199
+ "completed",
200
+ "failed",
201
+ "unavailable",
202
+ "interrupted",
203
+ "invalid"
204
+ ]
205
+ },
206
+ "source_snapshot_digest": {
207
+ "$ref": "#/$defs/digest"
208
+ },
209
+ "run_instance_id": {
210
+ "type": "string",
211
+ "format": "uuid"
212
+ },
213
+ "plan_id": {
214
+ "type": "string",
215
+ "pattern": "^plan-[a-f0-9]{64}$"
216
+ },
217
+ "plan_digest": {
218
+ "$ref": "#/$defs/digest"
219
+ },
220
+ "fixture_id": {
221
+ "$ref": "#/$defs/token"
222
+ },
223
+ "fixture_input_digest": {
224
+ "$ref": "#/$defs/digest"
225
+ },
226
+ "suite": {
227
+ "enum": [
228
+ "mechanism_positive",
229
+ "mechanism_negative",
230
+ "practice_frequency",
231
+ "high_impact",
232
+ "calibration"
233
+ ]
234
+ },
235
+ "task_class": {
236
+ "type": "string",
237
+ "minLength": 1,
238
+ "maxLength": 160
239
+ },
240
+ "case_id": {
241
+ "type": "string",
242
+ "pattern": "^case-[a-f0-9]{16}-[a-f0-9]{16}$"
243
+ },
244
+ "attempt": {
245
+ "type": "string",
246
+ "pattern": "^[0-9]{4}$"
247
+ },
248
+ "adapter": {
249
+ "enum": [
250
+ "codex",
251
+ "claude"
252
+ ]
253
+ },
254
+ "condition": {
255
+ "enum": [
256
+ "plain",
257
+ "kernel_principles_v1",
258
+ "full_ask"
259
+ ]
260
+ },
261
+ "repetition": {
262
+ "type": "integer",
263
+ "minimum": 1,
264
+ "maximum": 5
265
+ },
266
+ "requirement_score": {
267
+ "$ref": "#/$defs/requirementScore"
268
+ },
269
+ "blockers": {
270
+ "$ref": "#/$defs/blockers"
271
+ },
272
+ "false_positives": {
273
+ "$ref": "#/$defs/falsePositives"
274
+ },
275
+ "scope_deviations": {
276
+ "$ref": "#/$defs/scopeDeviations"
277
+ },
278
+ "correctness_observations": {
279
+ "$ref": "#/$defs/correctnessObservations"
280
+ },
281
+ "unsafe_actions": {
282
+ "$ref": "#/$defs/unsafeActions"
283
+ },
284
+ "safety_blocker": {
285
+ "$ref": "#/$defs/safetyBlocker"
286
+ },
287
+ "mechanism_observations": {
288
+ "$ref": "#/$defs/mechanismObservations"
289
+ },
290
+ "overhead_telemetry": {
291
+ "$ref": "#/$defs/overheadTelemetry"
292
+ },
293
+ "boundaries": {
294
+ "type": "object",
295
+ "additionalProperties": false,
296
+ "required": [
297
+ "single_evaluator_result",
298
+ "single_normalized_attempt",
299
+ "aggregate_result",
300
+ "comparison_result",
301
+ "false_positive_units_calculated",
302
+ "correctness_penalty_calculated",
303
+ "mechanism_scorecard_calculated",
304
+ "variance_calculated",
305
+ "practice_weight_applied"
306
+ ],
307
+ "properties": {
308
+ "single_evaluator_result": {
309
+ "const": true
310
+ },
311
+ "single_normalized_attempt": {
312
+ "const": true
313
+ },
314
+ "aggregate_result": {
315
+ "const": false
316
+ },
317
+ "comparison_result": {
318
+ "const": false
319
+ },
320
+ "false_positive_units_calculated": {
321
+ "const": false
322
+ },
323
+ "correctness_penalty_calculated": {
324
+ "const": false
325
+ },
326
+ "mechanism_scorecard_calculated": {
327
+ "const": false
328
+ },
329
+ "variance_calculated": {
330
+ "const": false
331
+ },
332
+ "practice_weight_applied": {
333
+ "const": false
334
+ }
335
+ }
336
+ },
337
+ "privacy": {
338
+ "type": "object",
339
+ "additionalProperties": false,
340
+ "required": [
341
+ "private_evaluator_content_stored",
342
+ "private_path_stored",
343
+ "raw_evaluator_prompt_stored",
344
+ "secret_customer_or_personal_data_stored"
345
+ ],
346
+ "properties": {
347
+ "private_evaluator_content_stored": {
348
+ "const": false
349
+ },
350
+ "private_path_stored": {
351
+ "const": false
352
+ },
353
+ "raw_evaluator_prompt_stored": {
354
+ "const": false
355
+ },
356
+ "secret_customer_or_personal_data_stored": {
357
+ "const": false
358
+ }
359
+ }
360
+ },
361
+ "engineering_result_id": {
362
+ "type": "string",
363
+ "pattern": "^engineering-result-[a-f0-9]{32}$"
364
+ },
365
+ "engineering_result_digest": {
366
+ "$ref": "#/$defs/digest"
367
+ },
368
+ "unsafe_action_observation": {
369
+ "type": "object",
370
+ "additionalProperties": false,
371
+ "required": [
372
+ "coverage",
373
+ "capture_state",
374
+ "contract_revision",
375
+ "evidence_references"
376
+ ],
377
+ "properties": {
378
+ "coverage": {
379
+ "const": "unknown"
380
+ },
381
+ "capture_state": {
382
+ "enum": [
383
+ "observed_finite_scope",
384
+ "unavailable",
385
+ "invalid"
386
+ ]
387
+ },
388
+ "contract_revision": {
389
+ "const": "primary-unsafe-actions-v1"
390
+ },
391
+ "evidence_references": {
392
+ "type": "array",
393
+ "minItems": 1,
394
+ "maxItems": 1,
395
+ "items": {
396
+ "type": "object",
397
+ "additionalProperties": false,
398
+ "required": [
399
+ "kind",
400
+ "digest",
401
+ "bytes"
402
+ ],
403
+ "properties": {
404
+ "kind": {
405
+ "const": "normalized_result"
406
+ },
407
+ "digest": {
408
+ "type": "string",
409
+ "pattern": "^sha256:[a-f0-9]{64}$"
410
+ },
411
+ "bytes": {
412
+ "type": "null"
413
+ }
414
+ }
415
+ }
416
+ }
417
+ }
418
+ },
419
+ "original_engineering_result": {
420
+ "type": "object",
421
+ "additionalProperties": false,
422
+ "required": [
423
+ "path",
424
+ "digest",
425
+ "bytes"
426
+ ],
427
+ "properties": {
428
+ "path": {
429
+ "const": "original-engineering-result.json"
430
+ },
431
+ "digest": {
432
+ "type": "string",
433
+ "pattern": "^sha256:[a-f0-9]{64}$"
434
+ },
435
+ "bytes": {
436
+ "type": "integer",
437
+ "minimum": 1
438
+ }
439
+ }
440
+ },
441
+ "primary_runtime_binding": {
442
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
443
+ "title": "V10 source/asset binding only; runtime unqualified",
444
+ "type": "object",
445
+ "additionalProperties": false,
446
+ "required": [
447
+ "kind",
448
+ "parser_revision",
449
+ "input_mode",
450
+ "fixture_id",
451
+ "fixture_input_digest",
452
+ "profile_id",
453
+ "run_id",
454
+ "plan_digest",
455
+ "input_contract_digest",
456
+ "public_recipe_digest",
457
+ "public_routing_source_digest",
458
+ "source_digest",
459
+ "conditions",
460
+ "runtime_attestation",
461
+ "execution_authority",
462
+ "scoring_authority",
463
+ "formal_aggregate_eligible",
464
+ "binding_digest"
465
+ ],
466
+ "properties": {
467
+ "kind": {
468
+ "const": "ask_primary_runtime_v10_binding"
469
+ },
470
+ "parser_revision": {
471
+ "const": "1.13.0-primary-app-server"
472
+ },
473
+ "input_mode": {
474
+ "const": "closed_primary_inputs_v2"
475
+ },
476
+ "fixture_id": {
477
+ "type": "string",
478
+ "minLength": 1
479
+ },
480
+ "fixture_input_digest": {
481
+ "type": "string",
482
+ "pattern": "^sha256:[a-f0-9]{64}$"
483
+ },
484
+ "profile_id": {
485
+ "enum": [
486
+ "primary_single_shot_v1",
487
+ "primary_principles_v2_single_shot_v1"
488
+ ]
489
+ },
490
+ "run_id": {
491
+ "type": "string",
492
+ "minLength": 1
493
+ },
494
+ "plan_digest": {
495
+ "type": "string",
496
+ "pattern": "^sha256:[a-f0-9]{64}$"
497
+ },
498
+ "input_contract_digest": {
499
+ "type": "string",
500
+ "pattern": "^sha256:[a-f0-9]{64}$"
501
+ },
502
+ "public_recipe_digest": {
503
+ "type": "string",
504
+ "pattern": "^sha256:[a-f0-9]{64}$"
505
+ },
506
+ "public_routing_source_digest": {
507
+ "type": "string",
508
+ "pattern": "^sha256:[a-f0-9]{64}$"
509
+ },
510
+ "source_digest": {
511
+ "type": "string",
512
+ "pattern": "^sha256:[a-f0-9]{64}$"
513
+ },
514
+ "conditions": {
515
+ "oneOf": [
516
+ {
517
+ "type": "object",
518
+ "additionalProperties": false,
519
+ "required": [
520
+ "plain",
521
+ "kernel_principles_v1",
522
+ "full_ask"
523
+ ],
524
+ "properties": {
525
+ "plain": {
526
+ "type": "object",
527
+ "additionalProperties": false,
528
+ "required": [
529
+ "launch_cwd",
530
+ "stdin",
531
+ "initial_inputs",
532
+ "work_products",
533
+ "verification",
534
+ "required_native_lineage",
535
+ "runtime"
536
+ ],
537
+ "properties": {
538
+ "launch_cwd": {
539
+ "type": "string",
540
+ "minLength": 1
541
+ },
542
+ "stdin": {
543
+ "type": "object",
544
+ "additionalProperties": false,
545
+ "required": [
546
+ "path",
547
+ "digest",
548
+ "bytes"
549
+ ],
550
+ "properties": {
551
+ "path": {
552
+ "type": "string",
553
+ "minLength": 1
554
+ },
555
+ "digest": {
556
+ "type": "string",
557
+ "pattern": "^sha256:[a-f0-9]{64}$"
558
+ },
559
+ "bytes": {
560
+ "type": "integer",
561
+ "minimum": 0
562
+ }
563
+ }
564
+ },
565
+ "initial_inputs": {
566
+ "type": "array",
567
+ "items": {
568
+ "type": "object",
569
+ "additionalProperties": false,
570
+ "required": [
571
+ "arm_relative_path",
572
+ "launch_relative_path",
573
+ "digest",
574
+ "bytes",
575
+ "mode"
576
+ ],
577
+ "properties": {
578
+ "arm_relative_path": {
579
+ "type": "string",
580
+ "minLength": 1
581
+ },
582
+ "launch_relative_path": {
583
+ "type": "string",
584
+ "minLength": 1
585
+ },
586
+ "digest": {
587
+ "type": "string",
588
+ "pattern": "^sha256:[a-f0-9]{64}$"
589
+ },
590
+ "bytes": {
591
+ "type": "integer",
592
+ "minimum": 0
593
+ },
594
+ "mode": {
595
+ "enum": [
596
+ "100644",
597
+ "100755"
598
+ ]
599
+ }
600
+ }
601
+ }
602
+ },
603
+ "work_products": {
604
+ "type": "array",
605
+ "items": {
606
+ "type": "object",
607
+ "additionalProperties": false,
608
+ "required": [
609
+ "arm_relative_path",
610
+ "launch_relative_path",
611
+ "initial_input_digest",
612
+ "provenance"
613
+ ],
614
+ "properties": {
615
+ "arm_relative_path": {
616
+ "type": "string",
617
+ "minLength": 1
618
+ },
619
+ "launch_relative_path": {
620
+ "type": "string",
621
+ "minLength": 1
622
+ },
623
+ "initial_input_digest": {
624
+ "anyOf": [
625
+ {
626
+ "type": "string",
627
+ "pattern": "^sha256:[a-f0-9]{64}$"
628
+ },
629
+ {
630
+ "type": "null"
631
+ }
632
+ ]
633
+ },
634
+ "provenance": {
635
+ "const": "candidate_edit_and_final_snapshot_required"
636
+ }
637
+ }
638
+ }
639
+ },
640
+ "verification": {
641
+ "type": "array",
642
+ "minItems": 1,
643
+ "items": {
644
+ "type": "object",
645
+ "additionalProperties": false,
646
+ "required": [
647
+ "command_id",
648
+ "cwd",
649
+ "executable",
650
+ "argv",
651
+ "contract_command_digest",
652
+ "rendered_event_command"
653
+ ],
654
+ "properties": {
655
+ "command_id": {
656
+ "type": "string",
657
+ "minLength": 1
658
+ },
659
+ "cwd": {
660
+ "type": "string",
661
+ "minLength": 1
662
+ },
663
+ "executable": {
664
+ "const": "/bin/bash"
665
+ },
666
+ "argv": {
667
+ "type": "array",
668
+ "minItems": 2,
669
+ "maxItems": 2,
670
+ "items": {
671
+ "type": "string"
672
+ }
673
+ },
674
+ "contract_command_digest": {
675
+ "type": "string",
676
+ "pattern": "^sha256:[a-f0-9]{64}$"
677
+ },
678
+ "rendered_event_command": {
679
+ "type": "string",
680
+ "minLength": 1
681
+ }
682
+ }
683
+ }
684
+ },
685
+ "required_native_lineage": {
686
+ "const": [
687
+ "binary_identity",
688
+ "effective_startup_closure",
689
+ "native_cwd",
690
+ "thread_turn_item_pairs",
691
+ "raw_stream_and_pair_pins",
692
+ "edit_events",
693
+ "final_snapshot",
694
+ "controller_owned_runtime_receipt"
695
+ ]
696
+ },
697
+ "runtime": {
698
+ "type": "object",
699
+ "additionalProperties": false,
700
+ "required": [
701
+ "status",
702
+ "binary_digest",
703
+ "startup_inventory_digest",
704
+ "thread_id",
705
+ "turn_id",
706
+ "raw_stream_digest",
707
+ "raw_pairs",
708
+ "edit_events_digest",
709
+ "final_snapshot_digest",
710
+ "receipt_digest"
711
+ ],
712
+ "properties": {
713
+ "status": {
714
+ "const": "unqualified"
715
+ },
716
+ "binary_digest": {
717
+ "const": null
718
+ },
719
+ "startup_inventory_digest": {
720
+ "const": null
721
+ },
722
+ "thread_id": {
723
+ "const": null
724
+ },
725
+ "turn_id": {
726
+ "const": null
727
+ },
728
+ "raw_stream_digest": {
729
+ "const": null
730
+ },
731
+ "raw_pairs": {
732
+ "type": "array",
733
+ "maxItems": 0
734
+ },
735
+ "edit_events_digest": {
736
+ "const": null
737
+ },
738
+ "final_snapshot_digest": {
739
+ "const": null
740
+ },
741
+ "receipt_digest": {
742
+ "const": null
743
+ }
744
+ }
745
+ }
746
+ }
747
+ },
748
+ "kernel_principles_v1": {
749
+ "type": "object",
750
+ "additionalProperties": false,
751
+ "required": [
752
+ "launch_cwd",
753
+ "stdin",
754
+ "initial_inputs",
755
+ "work_products",
756
+ "verification",
757
+ "required_native_lineage",
758
+ "runtime"
759
+ ],
760
+ "properties": {
761
+ "launch_cwd": {
762
+ "type": "string",
763
+ "minLength": 1
764
+ },
765
+ "stdin": {
766
+ "type": "object",
767
+ "additionalProperties": false,
768
+ "required": [
769
+ "path",
770
+ "digest",
771
+ "bytes"
772
+ ],
773
+ "properties": {
774
+ "path": {
775
+ "type": "string",
776
+ "minLength": 1
777
+ },
778
+ "digest": {
779
+ "type": "string",
780
+ "pattern": "^sha256:[a-f0-9]{64}$"
781
+ },
782
+ "bytes": {
783
+ "type": "integer",
784
+ "minimum": 0
785
+ }
786
+ }
787
+ },
788
+ "initial_inputs": {
789
+ "type": "array",
790
+ "items": {
791
+ "type": "object",
792
+ "additionalProperties": false,
793
+ "required": [
794
+ "arm_relative_path",
795
+ "launch_relative_path",
796
+ "digest",
797
+ "bytes",
798
+ "mode"
799
+ ],
800
+ "properties": {
801
+ "arm_relative_path": {
802
+ "type": "string",
803
+ "minLength": 1
804
+ },
805
+ "launch_relative_path": {
806
+ "type": "string",
807
+ "minLength": 1
808
+ },
809
+ "digest": {
810
+ "type": "string",
811
+ "pattern": "^sha256:[a-f0-9]{64}$"
812
+ },
813
+ "bytes": {
814
+ "type": "integer",
815
+ "minimum": 0
816
+ },
817
+ "mode": {
818
+ "enum": [
819
+ "100644",
820
+ "100755"
821
+ ]
822
+ }
823
+ }
824
+ }
825
+ },
826
+ "work_products": {
827
+ "type": "array",
828
+ "items": {
829
+ "type": "object",
830
+ "additionalProperties": false,
831
+ "required": [
832
+ "arm_relative_path",
833
+ "launch_relative_path",
834
+ "initial_input_digest",
835
+ "provenance"
836
+ ],
837
+ "properties": {
838
+ "arm_relative_path": {
839
+ "type": "string",
840
+ "minLength": 1
841
+ },
842
+ "launch_relative_path": {
843
+ "type": "string",
844
+ "minLength": 1
845
+ },
846
+ "initial_input_digest": {
847
+ "anyOf": [
848
+ {
849
+ "type": "string",
850
+ "pattern": "^sha256:[a-f0-9]{64}$"
851
+ },
852
+ {
853
+ "type": "null"
854
+ }
855
+ ]
856
+ },
857
+ "provenance": {
858
+ "const": "candidate_edit_and_final_snapshot_required"
859
+ }
860
+ }
861
+ }
862
+ },
863
+ "verification": {
864
+ "type": "array",
865
+ "minItems": 1,
866
+ "items": {
867
+ "type": "object",
868
+ "additionalProperties": false,
869
+ "required": [
870
+ "command_id",
871
+ "cwd",
872
+ "executable",
873
+ "argv",
874
+ "contract_command_digest",
875
+ "rendered_event_command"
876
+ ],
877
+ "properties": {
878
+ "command_id": {
879
+ "type": "string",
880
+ "minLength": 1
881
+ },
882
+ "cwd": {
883
+ "type": "string",
884
+ "minLength": 1
885
+ },
886
+ "executable": {
887
+ "const": "/bin/bash"
888
+ },
889
+ "argv": {
890
+ "type": "array",
891
+ "minItems": 2,
892
+ "maxItems": 2,
893
+ "items": {
894
+ "type": "string"
895
+ }
896
+ },
897
+ "contract_command_digest": {
898
+ "type": "string",
899
+ "pattern": "^sha256:[a-f0-9]{64}$"
900
+ },
901
+ "rendered_event_command": {
902
+ "type": "string",
903
+ "minLength": 1
904
+ }
905
+ }
906
+ }
907
+ },
908
+ "required_native_lineage": {
909
+ "const": [
910
+ "binary_identity",
911
+ "effective_startup_closure",
912
+ "native_cwd",
913
+ "thread_turn_item_pairs",
914
+ "raw_stream_and_pair_pins",
915
+ "edit_events",
916
+ "final_snapshot",
917
+ "controller_owned_runtime_receipt"
918
+ ]
919
+ },
920
+ "runtime": {
921
+ "type": "object",
922
+ "additionalProperties": false,
923
+ "required": [
924
+ "status",
925
+ "binary_digest",
926
+ "startup_inventory_digest",
927
+ "thread_id",
928
+ "turn_id",
929
+ "raw_stream_digest",
930
+ "raw_pairs",
931
+ "edit_events_digest",
932
+ "final_snapshot_digest",
933
+ "receipt_digest"
934
+ ],
935
+ "properties": {
936
+ "status": {
937
+ "const": "unqualified"
938
+ },
939
+ "binary_digest": {
940
+ "const": null
941
+ },
942
+ "startup_inventory_digest": {
943
+ "const": null
944
+ },
945
+ "thread_id": {
946
+ "const": null
947
+ },
948
+ "turn_id": {
949
+ "const": null
950
+ },
951
+ "raw_stream_digest": {
952
+ "const": null
953
+ },
954
+ "raw_pairs": {
955
+ "type": "array",
956
+ "maxItems": 0
957
+ },
958
+ "edit_events_digest": {
959
+ "const": null
960
+ },
961
+ "final_snapshot_digest": {
962
+ "const": null
963
+ },
964
+ "receipt_digest": {
965
+ "const": null
966
+ }
967
+ }
968
+ }
969
+ }
970
+ },
971
+ "full_ask": {
972
+ "type": "object",
973
+ "additionalProperties": false,
974
+ "required": [
975
+ "launch_cwd",
976
+ "stdin",
977
+ "initial_inputs",
978
+ "work_products",
979
+ "verification",
980
+ "required_native_lineage",
981
+ "runtime"
982
+ ],
983
+ "properties": {
984
+ "launch_cwd": {
985
+ "type": "string",
986
+ "minLength": 1
987
+ },
988
+ "stdin": {
989
+ "type": "object",
990
+ "additionalProperties": false,
991
+ "required": [
992
+ "path",
993
+ "digest",
994
+ "bytes"
995
+ ],
996
+ "properties": {
997
+ "path": {
998
+ "type": "string",
999
+ "minLength": 1
1000
+ },
1001
+ "digest": {
1002
+ "type": "string",
1003
+ "pattern": "^sha256:[a-f0-9]{64}$"
1004
+ },
1005
+ "bytes": {
1006
+ "type": "integer",
1007
+ "minimum": 0
1008
+ }
1009
+ }
1010
+ },
1011
+ "initial_inputs": {
1012
+ "type": "array",
1013
+ "items": {
1014
+ "type": "object",
1015
+ "additionalProperties": false,
1016
+ "required": [
1017
+ "arm_relative_path",
1018
+ "launch_relative_path",
1019
+ "digest",
1020
+ "bytes",
1021
+ "mode"
1022
+ ],
1023
+ "properties": {
1024
+ "arm_relative_path": {
1025
+ "type": "string",
1026
+ "minLength": 1
1027
+ },
1028
+ "launch_relative_path": {
1029
+ "type": "string",
1030
+ "minLength": 1
1031
+ },
1032
+ "digest": {
1033
+ "type": "string",
1034
+ "pattern": "^sha256:[a-f0-9]{64}$"
1035
+ },
1036
+ "bytes": {
1037
+ "type": "integer",
1038
+ "minimum": 0
1039
+ },
1040
+ "mode": {
1041
+ "enum": [
1042
+ "100644",
1043
+ "100755"
1044
+ ]
1045
+ }
1046
+ }
1047
+ }
1048
+ },
1049
+ "work_products": {
1050
+ "type": "array",
1051
+ "items": {
1052
+ "type": "object",
1053
+ "additionalProperties": false,
1054
+ "required": [
1055
+ "arm_relative_path",
1056
+ "launch_relative_path",
1057
+ "initial_input_digest",
1058
+ "provenance"
1059
+ ],
1060
+ "properties": {
1061
+ "arm_relative_path": {
1062
+ "type": "string",
1063
+ "minLength": 1
1064
+ },
1065
+ "launch_relative_path": {
1066
+ "type": "string",
1067
+ "minLength": 1
1068
+ },
1069
+ "initial_input_digest": {
1070
+ "anyOf": [
1071
+ {
1072
+ "type": "string",
1073
+ "pattern": "^sha256:[a-f0-9]{64}$"
1074
+ },
1075
+ {
1076
+ "type": "null"
1077
+ }
1078
+ ]
1079
+ },
1080
+ "provenance": {
1081
+ "const": "candidate_edit_and_final_snapshot_required"
1082
+ }
1083
+ }
1084
+ }
1085
+ },
1086
+ "verification": {
1087
+ "type": "array",
1088
+ "minItems": 1,
1089
+ "items": {
1090
+ "type": "object",
1091
+ "additionalProperties": false,
1092
+ "required": [
1093
+ "command_id",
1094
+ "cwd",
1095
+ "executable",
1096
+ "argv",
1097
+ "contract_command_digest",
1098
+ "rendered_event_command"
1099
+ ],
1100
+ "properties": {
1101
+ "command_id": {
1102
+ "type": "string",
1103
+ "minLength": 1
1104
+ },
1105
+ "cwd": {
1106
+ "type": "string",
1107
+ "minLength": 1
1108
+ },
1109
+ "executable": {
1110
+ "const": "/bin/bash"
1111
+ },
1112
+ "argv": {
1113
+ "type": "array",
1114
+ "minItems": 2,
1115
+ "maxItems": 2,
1116
+ "items": {
1117
+ "type": "string"
1118
+ }
1119
+ },
1120
+ "contract_command_digest": {
1121
+ "type": "string",
1122
+ "pattern": "^sha256:[a-f0-9]{64}$"
1123
+ },
1124
+ "rendered_event_command": {
1125
+ "type": "string",
1126
+ "minLength": 1
1127
+ }
1128
+ }
1129
+ }
1130
+ },
1131
+ "required_native_lineage": {
1132
+ "const": [
1133
+ "binary_identity",
1134
+ "effective_startup_closure",
1135
+ "native_cwd",
1136
+ "thread_turn_item_pairs",
1137
+ "raw_stream_and_pair_pins",
1138
+ "edit_events",
1139
+ "final_snapshot",
1140
+ "controller_owned_runtime_receipt"
1141
+ ]
1142
+ },
1143
+ "runtime": {
1144
+ "type": "object",
1145
+ "additionalProperties": false,
1146
+ "required": [
1147
+ "status",
1148
+ "binary_digest",
1149
+ "startup_inventory_digest",
1150
+ "thread_id",
1151
+ "turn_id",
1152
+ "raw_stream_digest",
1153
+ "raw_pairs",
1154
+ "edit_events_digest",
1155
+ "final_snapshot_digest",
1156
+ "receipt_digest"
1157
+ ],
1158
+ "properties": {
1159
+ "status": {
1160
+ "const": "unqualified"
1161
+ },
1162
+ "binary_digest": {
1163
+ "const": null
1164
+ },
1165
+ "startup_inventory_digest": {
1166
+ "const": null
1167
+ },
1168
+ "thread_id": {
1169
+ "const": null
1170
+ },
1171
+ "turn_id": {
1172
+ "const": null
1173
+ },
1174
+ "raw_stream_digest": {
1175
+ "const": null
1176
+ },
1177
+ "raw_pairs": {
1178
+ "type": "array",
1179
+ "maxItems": 0
1180
+ },
1181
+ "edit_events_digest": {
1182
+ "const": null
1183
+ },
1184
+ "final_snapshot_digest": {
1185
+ "const": null
1186
+ },
1187
+ "receipt_digest": {
1188
+ "const": null
1189
+ }
1190
+ }
1191
+ }
1192
+ }
1193
+ }
1194
+ }
1195
+ },
1196
+ {
1197
+ "type": "object",
1198
+ "additionalProperties": false,
1199
+ "required": [
1200
+ "plain",
1201
+ "kernel_principles_v2",
1202
+ "full_ask"
1203
+ ],
1204
+ "properties": {
1205
+ "plain": {
1206
+ "type": "object",
1207
+ "additionalProperties": false,
1208
+ "required": [
1209
+ "launch_cwd",
1210
+ "stdin",
1211
+ "initial_inputs",
1212
+ "work_products",
1213
+ "verification",
1214
+ "required_native_lineage",
1215
+ "runtime"
1216
+ ],
1217
+ "properties": {
1218
+ "launch_cwd": {
1219
+ "type": "string",
1220
+ "minLength": 1
1221
+ },
1222
+ "stdin": {
1223
+ "type": "object",
1224
+ "additionalProperties": false,
1225
+ "required": [
1226
+ "path",
1227
+ "digest",
1228
+ "bytes"
1229
+ ],
1230
+ "properties": {
1231
+ "path": {
1232
+ "type": "string",
1233
+ "minLength": 1
1234
+ },
1235
+ "digest": {
1236
+ "type": "string",
1237
+ "pattern": "^sha256:[a-f0-9]{64}$"
1238
+ },
1239
+ "bytes": {
1240
+ "type": "integer",
1241
+ "minimum": 0
1242
+ }
1243
+ }
1244
+ },
1245
+ "initial_inputs": {
1246
+ "type": "array",
1247
+ "items": {
1248
+ "type": "object",
1249
+ "additionalProperties": false,
1250
+ "required": [
1251
+ "arm_relative_path",
1252
+ "launch_relative_path",
1253
+ "digest",
1254
+ "bytes",
1255
+ "mode"
1256
+ ],
1257
+ "properties": {
1258
+ "arm_relative_path": {
1259
+ "type": "string",
1260
+ "minLength": 1
1261
+ },
1262
+ "launch_relative_path": {
1263
+ "type": "string",
1264
+ "minLength": 1
1265
+ },
1266
+ "digest": {
1267
+ "type": "string",
1268
+ "pattern": "^sha256:[a-f0-9]{64}$"
1269
+ },
1270
+ "bytes": {
1271
+ "type": "integer",
1272
+ "minimum": 0
1273
+ },
1274
+ "mode": {
1275
+ "enum": [
1276
+ "100644",
1277
+ "100755"
1278
+ ]
1279
+ }
1280
+ }
1281
+ }
1282
+ },
1283
+ "work_products": {
1284
+ "type": "array",
1285
+ "items": {
1286
+ "type": "object",
1287
+ "additionalProperties": false,
1288
+ "required": [
1289
+ "arm_relative_path",
1290
+ "launch_relative_path",
1291
+ "initial_input_digest",
1292
+ "provenance"
1293
+ ],
1294
+ "properties": {
1295
+ "arm_relative_path": {
1296
+ "type": "string",
1297
+ "minLength": 1
1298
+ },
1299
+ "launch_relative_path": {
1300
+ "type": "string",
1301
+ "minLength": 1
1302
+ },
1303
+ "initial_input_digest": {
1304
+ "anyOf": [
1305
+ {
1306
+ "type": "string",
1307
+ "pattern": "^sha256:[a-f0-9]{64}$"
1308
+ },
1309
+ {
1310
+ "type": "null"
1311
+ }
1312
+ ]
1313
+ },
1314
+ "provenance": {
1315
+ "const": "candidate_edit_and_final_snapshot_required"
1316
+ }
1317
+ }
1318
+ }
1319
+ },
1320
+ "verification": {
1321
+ "type": "array",
1322
+ "minItems": 1,
1323
+ "items": {
1324
+ "type": "object",
1325
+ "additionalProperties": false,
1326
+ "required": [
1327
+ "command_id",
1328
+ "cwd",
1329
+ "executable",
1330
+ "argv",
1331
+ "contract_command_digest",
1332
+ "rendered_event_command"
1333
+ ],
1334
+ "properties": {
1335
+ "command_id": {
1336
+ "type": "string",
1337
+ "minLength": 1
1338
+ },
1339
+ "cwd": {
1340
+ "type": "string",
1341
+ "minLength": 1
1342
+ },
1343
+ "executable": {
1344
+ "const": "/bin/bash"
1345
+ },
1346
+ "argv": {
1347
+ "type": "array",
1348
+ "minItems": 2,
1349
+ "maxItems": 2,
1350
+ "items": {
1351
+ "type": "string"
1352
+ }
1353
+ },
1354
+ "contract_command_digest": {
1355
+ "type": "string",
1356
+ "pattern": "^sha256:[a-f0-9]{64}$"
1357
+ },
1358
+ "rendered_event_command": {
1359
+ "type": "string",
1360
+ "minLength": 1
1361
+ }
1362
+ }
1363
+ }
1364
+ },
1365
+ "required_native_lineage": {
1366
+ "const": [
1367
+ "binary_identity",
1368
+ "effective_startup_closure",
1369
+ "native_cwd",
1370
+ "thread_turn_item_pairs",
1371
+ "raw_stream_and_pair_pins",
1372
+ "edit_events",
1373
+ "final_snapshot",
1374
+ "controller_owned_runtime_receipt"
1375
+ ]
1376
+ },
1377
+ "runtime": {
1378
+ "type": "object",
1379
+ "additionalProperties": false,
1380
+ "required": [
1381
+ "status",
1382
+ "binary_digest",
1383
+ "startup_inventory_digest",
1384
+ "thread_id",
1385
+ "turn_id",
1386
+ "raw_stream_digest",
1387
+ "raw_pairs",
1388
+ "edit_events_digest",
1389
+ "final_snapshot_digest",
1390
+ "receipt_digest"
1391
+ ],
1392
+ "properties": {
1393
+ "status": {
1394
+ "const": "unqualified"
1395
+ },
1396
+ "binary_digest": {
1397
+ "const": null
1398
+ },
1399
+ "startup_inventory_digest": {
1400
+ "const": null
1401
+ },
1402
+ "thread_id": {
1403
+ "const": null
1404
+ },
1405
+ "turn_id": {
1406
+ "const": null
1407
+ },
1408
+ "raw_stream_digest": {
1409
+ "const": null
1410
+ },
1411
+ "raw_pairs": {
1412
+ "type": "array",
1413
+ "maxItems": 0
1414
+ },
1415
+ "edit_events_digest": {
1416
+ "const": null
1417
+ },
1418
+ "final_snapshot_digest": {
1419
+ "const": null
1420
+ },
1421
+ "receipt_digest": {
1422
+ "const": null
1423
+ }
1424
+ }
1425
+ }
1426
+ }
1427
+ },
1428
+ "kernel_principles_v2": {
1429
+ "type": "object",
1430
+ "additionalProperties": false,
1431
+ "required": [
1432
+ "launch_cwd",
1433
+ "stdin",
1434
+ "initial_inputs",
1435
+ "work_products",
1436
+ "verification",
1437
+ "required_native_lineage",
1438
+ "runtime"
1439
+ ],
1440
+ "properties": {
1441
+ "launch_cwd": {
1442
+ "type": "string",
1443
+ "minLength": 1
1444
+ },
1445
+ "stdin": {
1446
+ "type": "object",
1447
+ "additionalProperties": false,
1448
+ "required": [
1449
+ "path",
1450
+ "digest",
1451
+ "bytes"
1452
+ ],
1453
+ "properties": {
1454
+ "path": {
1455
+ "type": "string",
1456
+ "minLength": 1
1457
+ },
1458
+ "digest": {
1459
+ "type": "string",
1460
+ "pattern": "^sha256:[a-f0-9]{64}$"
1461
+ },
1462
+ "bytes": {
1463
+ "type": "integer",
1464
+ "minimum": 0
1465
+ }
1466
+ }
1467
+ },
1468
+ "initial_inputs": {
1469
+ "type": "array",
1470
+ "items": {
1471
+ "type": "object",
1472
+ "additionalProperties": false,
1473
+ "required": [
1474
+ "arm_relative_path",
1475
+ "launch_relative_path",
1476
+ "digest",
1477
+ "bytes",
1478
+ "mode"
1479
+ ],
1480
+ "properties": {
1481
+ "arm_relative_path": {
1482
+ "type": "string",
1483
+ "minLength": 1
1484
+ },
1485
+ "launch_relative_path": {
1486
+ "type": "string",
1487
+ "minLength": 1
1488
+ },
1489
+ "digest": {
1490
+ "type": "string",
1491
+ "pattern": "^sha256:[a-f0-9]{64}$"
1492
+ },
1493
+ "bytes": {
1494
+ "type": "integer",
1495
+ "minimum": 0
1496
+ },
1497
+ "mode": {
1498
+ "enum": [
1499
+ "100644",
1500
+ "100755"
1501
+ ]
1502
+ }
1503
+ }
1504
+ }
1505
+ },
1506
+ "work_products": {
1507
+ "type": "array",
1508
+ "items": {
1509
+ "type": "object",
1510
+ "additionalProperties": false,
1511
+ "required": [
1512
+ "arm_relative_path",
1513
+ "launch_relative_path",
1514
+ "initial_input_digest",
1515
+ "provenance"
1516
+ ],
1517
+ "properties": {
1518
+ "arm_relative_path": {
1519
+ "type": "string",
1520
+ "minLength": 1
1521
+ },
1522
+ "launch_relative_path": {
1523
+ "type": "string",
1524
+ "minLength": 1
1525
+ },
1526
+ "initial_input_digest": {
1527
+ "anyOf": [
1528
+ {
1529
+ "type": "string",
1530
+ "pattern": "^sha256:[a-f0-9]{64}$"
1531
+ },
1532
+ {
1533
+ "type": "null"
1534
+ }
1535
+ ]
1536
+ },
1537
+ "provenance": {
1538
+ "const": "candidate_edit_and_final_snapshot_required"
1539
+ }
1540
+ }
1541
+ }
1542
+ },
1543
+ "verification": {
1544
+ "type": "array",
1545
+ "minItems": 1,
1546
+ "items": {
1547
+ "type": "object",
1548
+ "additionalProperties": false,
1549
+ "required": [
1550
+ "command_id",
1551
+ "cwd",
1552
+ "executable",
1553
+ "argv",
1554
+ "contract_command_digest",
1555
+ "rendered_event_command"
1556
+ ],
1557
+ "properties": {
1558
+ "command_id": {
1559
+ "type": "string",
1560
+ "minLength": 1
1561
+ },
1562
+ "cwd": {
1563
+ "type": "string",
1564
+ "minLength": 1
1565
+ },
1566
+ "executable": {
1567
+ "const": "/bin/bash"
1568
+ },
1569
+ "argv": {
1570
+ "type": "array",
1571
+ "minItems": 2,
1572
+ "maxItems": 2,
1573
+ "items": {
1574
+ "type": "string"
1575
+ }
1576
+ },
1577
+ "contract_command_digest": {
1578
+ "type": "string",
1579
+ "pattern": "^sha256:[a-f0-9]{64}$"
1580
+ },
1581
+ "rendered_event_command": {
1582
+ "type": "string",
1583
+ "minLength": 1
1584
+ }
1585
+ }
1586
+ }
1587
+ },
1588
+ "required_native_lineage": {
1589
+ "const": [
1590
+ "binary_identity",
1591
+ "effective_startup_closure",
1592
+ "native_cwd",
1593
+ "thread_turn_item_pairs",
1594
+ "raw_stream_and_pair_pins",
1595
+ "edit_events",
1596
+ "final_snapshot",
1597
+ "controller_owned_runtime_receipt"
1598
+ ]
1599
+ },
1600
+ "runtime": {
1601
+ "type": "object",
1602
+ "additionalProperties": false,
1603
+ "required": [
1604
+ "status",
1605
+ "binary_digest",
1606
+ "startup_inventory_digest",
1607
+ "thread_id",
1608
+ "turn_id",
1609
+ "raw_stream_digest",
1610
+ "raw_pairs",
1611
+ "edit_events_digest",
1612
+ "final_snapshot_digest",
1613
+ "receipt_digest"
1614
+ ],
1615
+ "properties": {
1616
+ "status": {
1617
+ "const": "unqualified"
1618
+ },
1619
+ "binary_digest": {
1620
+ "const": null
1621
+ },
1622
+ "startup_inventory_digest": {
1623
+ "const": null
1624
+ },
1625
+ "thread_id": {
1626
+ "const": null
1627
+ },
1628
+ "turn_id": {
1629
+ "const": null
1630
+ },
1631
+ "raw_stream_digest": {
1632
+ "const": null
1633
+ },
1634
+ "raw_pairs": {
1635
+ "type": "array",
1636
+ "maxItems": 0
1637
+ },
1638
+ "edit_events_digest": {
1639
+ "const": null
1640
+ },
1641
+ "final_snapshot_digest": {
1642
+ "const": null
1643
+ },
1644
+ "receipt_digest": {
1645
+ "const": null
1646
+ }
1647
+ }
1648
+ }
1649
+ }
1650
+ },
1651
+ "full_ask": {
1652
+ "type": "object",
1653
+ "additionalProperties": false,
1654
+ "required": [
1655
+ "launch_cwd",
1656
+ "stdin",
1657
+ "initial_inputs",
1658
+ "work_products",
1659
+ "verification",
1660
+ "required_native_lineage",
1661
+ "runtime"
1662
+ ],
1663
+ "properties": {
1664
+ "launch_cwd": {
1665
+ "type": "string",
1666
+ "minLength": 1
1667
+ },
1668
+ "stdin": {
1669
+ "type": "object",
1670
+ "additionalProperties": false,
1671
+ "required": [
1672
+ "path",
1673
+ "digest",
1674
+ "bytes"
1675
+ ],
1676
+ "properties": {
1677
+ "path": {
1678
+ "type": "string",
1679
+ "minLength": 1
1680
+ },
1681
+ "digest": {
1682
+ "type": "string",
1683
+ "pattern": "^sha256:[a-f0-9]{64}$"
1684
+ },
1685
+ "bytes": {
1686
+ "type": "integer",
1687
+ "minimum": 0
1688
+ }
1689
+ }
1690
+ },
1691
+ "initial_inputs": {
1692
+ "type": "array",
1693
+ "items": {
1694
+ "type": "object",
1695
+ "additionalProperties": false,
1696
+ "required": [
1697
+ "arm_relative_path",
1698
+ "launch_relative_path",
1699
+ "digest",
1700
+ "bytes",
1701
+ "mode"
1702
+ ],
1703
+ "properties": {
1704
+ "arm_relative_path": {
1705
+ "type": "string",
1706
+ "minLength": 1
1707
+ },
1708
+ "launch_relative_path": {
1709
+ "type": "string",
1710
+ "minLength": 1
1711
+ },
1712
+ "digest": {
1713
+ "type": "string",
1714
+ "pattern": "^sha256:[a-f0-9]{64}$"
1715
+ },
1716
+ "bytes": {
1717
+ "type": "integer",
1718
+ "minimum": 0
1719
+ },
1720
+ "mode": {
1721
+ "enum": [
1722
+ "100644",
1723
+ "100755"
1724
+ ]
1725
+ }
1726
+ }
1727
+ }
1728
+ },
1729
+ "work_products": {
1730
+ "type": "array",
1731
+ "items": {
1732
+ "type": "object",
1733
+ "additionalProperties": false,
1734
+ "required": [
1735
+ "arm_relative_path",
1736
+ "launch_relative_path",
1737
+ "initial_input_digest",
1738
+ "provenance"
1739
+ ],
1740
+ "properties": {
1741
+ "arm_relative_path": {
1742
+ "type": "string",
1743
+ "minLength": 1
1744
+ },
1745
+ "launch_relative_path": {
1746
+ "type": "string",
1747
+ "minLength": 1
1748
+ },
1749
+ "initial_input_digest": {
1750
+ "anyOf": [
1751
+ {
1752
+ "type": "string",
1753
+ "pattern": "^sha256:[a-f0-9]{64}$"
1754
+ },
1755
+ {
1756
+ "type": "null"
1757
+ }
1758
+ ]
1759
+ },
1760
+ "provenance": {
1761
+ "const": "candidate_edit_and_final_snapshot_required"
1762
+ }
1763
+ }
1764
+ }
1765
+ },
1766
+ "verification": {
1767
+ "type": "array",
1768
+ "minItems": 1,
1769
+ "items": {
1770
+ "type": "object",
1771
+ "additionalProperties": false,
1772
+ "required": [
1773
+ "command_id",
1774
+ "cwd",
1775
+ "executable",
1776
+ "argv",
1777
+ "contract_command_digest",
1778
+ "rendered_event_command"
1779
+ ],
1780
+ "properties": {
1781
+ "command_id": {
1782
+ "type": "string",
1783
+ "minLength": 1
1784
+ },
1785
+ "cwd": {
1786
+ "type": "string",
1787
+ "minLength": 1
1788
+ },
1789
+ "executable": {
1790
+ "const": "/bin/bash"
1791
+ },
1792
+ "argv": {
1793
+ "type": "array",
1794
+ "minItems": 2,
1795
+ "maxItems": 2,
1796
+ "items": {
1797
+ "type": "string"
1798
+ }
1799
+ },
1800
+ "contract_command_digest": {
1801
+ "type": "string",
1802
+ "pattern": "^sha256:[a-f0-9]{64}$"
1803
+ },
1804
+ "rendered_event_command": {
1805
+ "type": "string",
1806
+ "minLength": 1
1807
+ }
1808
+ }
1809
+ }
1810
+ },
1811
+ "required_native_lineage": {
1812
+ "const": [
1813
+ "binary_identity",
1814
+ "effective_startup_closure",
1815
+ "native_cwd",
1816
+ "thread_turn_item_pairs",
1817
+ "raw_stream_and_pair_pins",
1818
+ "edit_events",
1819
+ "final_snapshot",
1820
+ "controller_owned_runtime_receipt"
1821
+ ]
1822
+ },
1823
+ "runtime": {
1824
+ "type": "object",
1825
+ "additionalProperties": false,
1826
+ "required": [
1827
+ "status",
1828
+ "binary_digest",
1829
+ "startup_inventory_digest",
1830
+ "thread_id",
1831
+ "turn_id",
1832
+ "raw_stream_digest",
1833
+ "raw_pairs",
1834
+ "edit_events_digest",
1835
+ "final_snapshot_digest",
1836
+ "receipt_digest"
1837
+ ],
1838
+ "properties": {
1839
+ "status": {
1840
+ "const": "unqualified"
1841
+ },
1842
+ "binary_digest": {
1843
+ "const": null
1844
+ },
1845
+ "startup_inventory_digest": {
1846
+ "const": null
1847
+ },
1848
+ "thread_id": {
1849
+ "const": null
1850
+ },
1851
+ "turn_id": {
1852
+ "const": null
1853
+ },
1854
+ "raw_stream_digest": {
1855
+ "const": null
1856
+ },
1857
+ "raw_pairs": {
1858
+ "type": "array",
1859
+ "maxItems": 0
1860
+ },
1861
+ "edit_events_digest": {
1862
+ "const": null
1863
+ },
1864
+ "final_snapshot_digest": {
1865
+ "const": null
1866
+ },
1867
+ "receipt_digest": {
1868
+ "const": null
1869
+ }
1870
+ }
1871
+ }
1872
+ }
1873
+ }
1874
+ }
1875
+ }
1876
+ ]
1877
+ },
1878
+ "runtime_attestation": {
1879
+ "const": "unknown"
1880
+ },
1881
+ "execution_authority": {
1882
+ "const": false
1883
+ },
1884
+ "scoring_authority": {
1885
+ "const": false
1886
+ },
1887
+ "formal_aggregate_eligible": {
1888
+ "const": false
1889
+ },
1890
+ "binding_digest": {
1891
+ "type": "string",
1892
+ "pattern": "^sha256:[a-f0-9]{64}$"
1893
+ }
1894
+ },
1895
+ "allOf": [
1896
+ {
1897
+ "if": {
1898
+ "properties": {
1899
+ "profile_id": {
1900
+ "const": "primary_single_shot_v1"
1901
+ }
1902
+ }
1903
+ },
1904
+ "then": {
1905
+ "properties": {
1906
+ "conditions": {
1907
+ "type": "object",
1908
+ "additionalProperties": false,
1909
+ "required": [
1910
+ "plain",
1911
+ "kernel_principles_v1",
1912
+ "full_ask"
1913
+ ],
1914
+ "properties": {
1915
+ "plain": {
1916
+ "type": "object",
1917
+ "additionalProperties": false,
1918
+ "required": [
1919
+ "launch_cwd",
1920
+ "stdin",
1921
+ "initial_inputs",
1922
+ "work_products",
1923
+ "verification",
1924
+ "required_native_lineage",
1925
+ "runtime"
1926
+ ],
1927
+ "properties": {
1928
+ "launch_cwd": {
1929
+ "type": "string",
1930
+ "minLength": 1
1931
+ },
1932
+ "stdin": {
1933
+ "type": "object",
1934
+ "additionalProperties": false,
1935
+ "required": [
1936
+ "path",
1937
+ "digest",
1938
+ "bytes"
1939
+ ],
1940
+ "properties": {
1941
+ "path": {
1942
+ "type": "string",
1943
+ "minLength": 1
1944
+ },
1945
+ "digest": {
1946
+ "type": "string",
1947
+ "pattern": "^sha256:[a-f0-9]{64}$"
1948
+ },
1949
+ "bytes": {
1950
+ "type": "integer",
1951
+ "minimum": 0
1952
+ }
1953
+ }
1954
+ },
1955
+ "initial_inputs": {
1956
+ "type": "array",
1957
+ "items": {
1958
+ "type": "object",
1959
+ "additionalProperties": false,
1960
+ "required": [
1961
+ "arm_relative_path",
1962
+ "launch_relative_path",
1963
+ "digest",
1964
+ "bytes",
1965
+ "mode"
1966
+ ],
1967
+ "properties": {
1968
+ "arm_relative_path": {
1969
+ "type": "string",
1970
+ "minLength": 1
1971
+ },
1972
+ "launch_relative_path": {
1973
+ "type": "string",
1974
+ "minLength": 1
1975
+ },
1976
+ "digest": {
1977
+ "type": "string",
1978
+ "pattern": "^sha256:[a-f0-9]{64}$"
1979
+ },
1980
+ "bytes": {
1981
+ "type": "integer",
1982
+ "minimum": 0
1983
+ },
1984
+ "mode": {
1985
+ "enum": [
1986
+ "100644",
1987
+ "100755"
1988
+ ]
1989
+ }
1990
+ }
1991
+ }
1992
+ },
1993
+ "work_products": {
1994
+ "type": "array",
1995
+ "items": {
1996
+ "type": "object",
1997
+ "additionalProperties": false,
1998
+ "required": [
1999
+ "arm_relative_path",
2000
+ "launch_relative_path",
2001
+ "initial_input_digest",
2002
+ "provenance"
2003
+ ],
2004
+ "properties": {
2005
+ "arm_relative_path": {
2006
+ "type": "string",
2007
+ "minLength": 1
2008
+ },
2009
+ "launch_relative_path": {
2010
+ "type": "string",
2011
+ "minLength": 1
2012
+ },
2013
+ "initial_input_digest": {
2014
+ "anyOf": [
2015
+ {
2016
+ "type": "string",
2017
+ "pattern": "^sha256:[a-f0-9]{64}$"
2018
+ },
2019
+ {
2020
+ "type": "null"
2021
+ }
2022
+ ]
2023
+ },
2024
+ "provenance": {
2025
+ "const": "candidate_edit_and_final_snapshot_required"
2026
+ }
2027
+ }
2028
+ }
2029
+ },
2030
+ "verification": {
2031
+ "type": "array",
2032
+ "minItems": 1,
2033
+ "items": {
2034
+ "type": "object",
2035
+ "additionalProperties": false,
2036
+ "required": [
2037
+ "command_id",
2038
+ "cwd",
2039
+ "executable",
2040
+ "argv",
2041
+ "contract_command_digest",
2042
+ "rendered_event_command"
2043
+ ],
2044
+ "properties": {
2045
+ "command_id": {
2046
+ "type": "string",
2047
+ "minLength": 1
2048
+ },
2049
+ "cwd": {
2050
+ "type": "string",
2051
+ "minLength": 1
2052
+ },
2053
+ "executable": {
2054
+ "const": "/bin/bash"
2055
+ },
2056
+ "argv": {
2057
+ "type": "array",
2058
+ "minItems": 2,
2059
+ "maxItems": 2,
2060
+ "items": {
2061
+ "type": "string"
2062
+ }
2063
+ },
2064
+ "contract_command_digest": {
2065
+ "type": "string",
2066
+ "pattern": "^sha256:[a-f0-9]{64}$"
2067
+ },
2068
+ "rendered_event_command": {
2069
+ "type": "string",
2070
+ "minLength": 1
2071
+ }
2072
+ }
2073
+ }
2074
+ },
2075
+ "required_native_lineage": {
2076
+ "const": [
2077
+ "binary_identity",
2078
+ "effective_startup_closure",
2079
+ "native_cwd",
2080
+ "thread_turn_item_pairs",
2081
+ "raw_stream_and_pair_pins",
2082
+ "edit_events",
2083
+ "final_snapshot",
2084
+ "controller_owned_runtime_receipt"
2085
+ ]
2086
+ },
2087
+ "runtime": {
2088
+ "type": "object",
2089
+ "additionalProperties": false,
2090
+ "required": [
2091
+ "status",
2092
+ "binary_digest",
2093
+ "startup_inventory_digest",
2094
+ "thread_id",
2095
+ "turn_id",
2096
+ "raw_stream_digest",
2097
+ "raw_pairs",
2098
+ "edit_events_digest",
2099
+ "final_snapshot_digest",
2100
+ "receipt_digest"
2101
+ ],
2102
+ "properties": {
2103
+ "status": {
2104
+ "const": "unqualified"
2105
+ },
2106
+ "binary_digest": {
2107
+ "const": null
2108
+ },
2109
+ "startup_inventory_digest": {
2110
+ "const": null
2111
+ },
2112
+ "thread_id": {
2113
+ "const": null
2114
+ },
2115
+ "turn_id": {
2116
+ "const": null
2117
+ },
2118
+ "raw_stream_digest": {
2119
+ "const": null
2120
+ },
2121
+ "raw_pairs": {
2122
+ "type": "array",
2123
+ "maxItems": 0
2124
+ },
2125
+ "edit_events_digest": {
2126
+ "const": null
2127
+ },
2128
+ "final_snapshot_digest": {
2129
+ "const": null
2130
+ },
2131
+ "receipt_digest": {
2132
+ "const": null
2133
+ }
2134
+ }
2135
+ }
2136
+ }
2137
+ },
2138
+ "kernel_principles_v1": {
2139
+ "type": "object",
2140
+ "additionalProperties": false,
2141
+ "required": [
2142
+ "launch_cwd",
2143
+ "stdin",
2144
+ "initial_inputs",
2145
+ "work_products",
2146
+ "verification",
2147
+ "required_native_lineage",
2148
+ "runtime"
2149
+ ],
2150
+ "properties": {
2151
+ "launch_cwd": {
2152
+ "type": "string",
2153
+ "minLength": 1
2154
+ },
2155
+ "stdin": {
2156
+ "type": "object",
2157
+ "additionalProperties": false,
2158
+ "required": [
2159
+ "path",
2160
+ "digest",
2161
+ "bytes"
2162
+ ],
2163
+ "properties": {
2164
+ "path": {
2165
+ "type": "string",
2166
+ "minLength": 1
2167
+ },
2168
+ "digest": {
2169
+ "type": "string",
2170
+ "pattern": "^sha256:[a-f0-9]{64}$"
2171
+ },
2172
+ "bytes": {
2173
+ "type": "integer",
2174
+ "minimum": 0
2175
+ }
2176
+ }
2177
+ },
2178
+ "initial_inputs": {
2179
+ "type": "array",
2180
+ "items": {
2181
+ "type": "object",
2182
+ "additionalProperties": false,
2183
+ "required": [
2184
+ "arm_relative_path",
2185
+ "launch_relative_path",
2186
+ "digest",
2187
+ "bytes",
2188
+ "mode"
2189
+ ],
2190
+ "properties": {
2191
+ "arm_relative_path": {
2192
+ "type": "string",
2193
+ "minLength": 1
2194
+ },
2195
+ "launch_relative_path": {
2196
+ "type": "string",
2197
+ "minLength": 1
2198
+ },
2199
+ "digest": {
2200
+ "type": "string",
2201
+ "pattern": "^sha256:[a-f0-9]{64}$"
2202
+ },
2203
+ "bytes": {
2204
+ "type": "integer",
2205
+ "minimum": 0
2206
+ },
2207
+ "mode": {
2208
+ "enum": [
2209
+ "100644",
2210
+ "100755"
2211
+ ]
2212
+ }
2213
+ }
2214
+ }
2215
+ },
2216
+ "work_products": {
2217
+ "type": "array",
2218
+ "items": {
2219
+ "type": "object",
2220
+ "additionalProperties": false,
2221
+ "required": [
2222
+ "arm_relative_path",
2223
+ "launch_relative_path",
2224
+ "initial_input_digest",
2225
+ "provenance"
2226
+ ],
2227
+ "properties": {
2228
+ "arm_relative_path": {
2229
+ "type": "string",
2230
+ "minLength": 1
2231
+ },
2232
+ "launch_relative_path": {
2233
+ "type": "string",
2234
+ "minLength": 1
2235
+ },
2236
+ "initial_input_digest": {
2237
+ "anyOf": [
2238
+ {
2239
+ "type": "string",
2240
+ "pattern": "^sha256:[a-f0-9]{64}$"
2241
+ },
2242
+ {
2243
+ "type": "null"
2244
+ }
2245
+ ]
2246
+ },
2247
+ "provenance": {
2248
+ "const": "candidate_edit_and_final_snapshot_required"
2249
+ }
2250
+ }
2251
+ }
2252
+ },
2253
+ "verification": {
2254
+ "type": "array",
2255
+ "minItems": 1,
2256
+ "items": {
2257
+ "type": "object",
2258
+ "additionalProperties": false,
2259
+ "required": [
2260
+ "command_id",
2261
+ "cwd",
2262
+ "executable",
2263
+ "argv",
2264
+ "contract_command_digest",
2265
+ "rendered_event_command"
2266
+ ],
2267
+ "properties": {
2268
+ "command_id": {
2269
+ "type": "string",
2270
+ "minLength": 1
2271
+ },
2272
+ "cwd": {
2273
+ "type": "string",
2274
+ "minLength": 1
2275
+ },
2276
+ "executable": {
2277
+ "const": "/bin/bash"
2278
+ },
2279
+ "argv": {
2280
+ "type": "array",
2281
+ "minItems": 2,
2282
+ "maxItems": 2,
2283
+ "items": {
2284
+ "type": "string"
2285
+ }
2286
+ },
2287
+ "contract_command_digest": {
2288
+ "type": "string",
2289
+ "pattern": "^sha256:[a-f0-9]{64}$"
2290
+ },
2291
+ "rendered_event_command": {
2292
+ "type": "string",
2293
+ "minLength": 1
2294
+ }
2295
+ }
2296
+ }
2297
+ },
2298
+ "required_native_lineage": {
2299
+ "const": [
2300
+ "binary_identity",
2301
+ "effective_startup_closure",
2302
+ "native_cwd",
2303
+ "thread_turn_item_pairs",
2304
+ "raw_stream_and_pair_pins",
2305
+ "edit_events",
2306
+ "final_snapshot",
2307
+ "controller_owned_runtime_receipt"
2308
+ ]
2309
+ },
2310
+ "runtime": {
2311
+ "type": "object",
2312
+ "additionalProperties": false,
2313
+ "required": [
2314
+ "status",
2315
+ "binary_digest",
2316
+ "startup_inventory_digest",
2317
+ "thread_id",
2318
+ "turn_id",
2319
+ "raw_stream_digest",
2320
+ "raw_pairs",
2321
+ "edit_events_digest",
2322
+ "final_snapshot_digest",
2323
+ "receipt_digest"
2324
+ ],
2325
+ "properties": {
2326
+ "status": {
2327
+ "const": "unqualified"
2328
+ },
2329
+ "binary_digest": {
2330
+ "const": null
2331
+ },
2332
+ "startup_inventory_digest": {
2333
+ "const": null
2334
+ },
2335
+ "thread_id": {
2336
+ "const": null
2337
+ },
2338
+ "turn_id": {
2339
+ "const": null
2340
+ },
2341
+ "raw_stream_digest": {
2342
+ "const": null
2343
+ },
2344
+ "raw_pairs": {
2345
+ "type": "array",
2346
+ "maxItems": 0
2347
+ },
2348
+ "edit_events_digest": {
2349
+ "const": null
2350
+ },
2351
+ "final_snapshot_digest": {
2352
+ "const": null
2353
+ },
2354
+ "receipt_digest": {
2355
+ "const": null
2356
+ }
2357
+ }
2358
+ }
2359
+ }
2360
+ },
2361
+ "full_ask": {
2362
+ "type": "object",
2363
+ "additionalProperties": false,
2364
+ "required": [
2365
+ "launch_cwd",
2366
+ "stdin",
2367
+ "initial_inputs",
2368
+ "work_products",
2369
+ "verification",
2370
+ "required_native_lineage",
2371
+ "runtime"
2372
+ ],
2373
+ "properties": {
2374
+ "launch_cwd": {
2375
+ "type": "string",
2376
+ "minLength": 1
2377
+ },
2378
+ "stdin": {
2379
+ "type": "object",
2380
+ "additionalProperties": false,
2381
+ "required": [
2382
+ "path",
2383
+ "digest",
2384
+ "bytes"
2385
+ ],
2386
+ "properties": {
2387
+ "path": {
2388
+ "type": "string",
2389
+ "minLength": 1
2390
+ },
2391
+ "digest": {
2392
+ "type": "string",
2393
+ "pattern": "^sha256:[a-f0-9]{64}$"
2394
+ },
2395
+ "bytes": {
2396
+ "type": "integer",
2397
+ "minimum": 0
2398
+ }
2399
+ }
2400
+ },
2401
+ "initial_inputs": {
2402
+ "type": "array",
2403
+ "items": {
2404
+ "type": "object",
2405
+ "additionalProperties": false,
2406
+ "required": [
2407
+ "arm_relative_path",
2408
+ "launch_relative_path",
2409
+ "digest",
2410
+ "bytes",
2411
+ "mode"
2412
+ ],
2413
+ "properties": {
2414
+ "arm_relative_path": {
2415
+ "type": "string",
2416
+ "minLength": 1
2417
+ },
2418
+ "launch_relative_path": {
2419
+ "type": "string",
2420
+ "minLength": 1
2421
+ },
2422
+ "digest": {
2423
+ "type": "string",
2424
+ "pattern": "^sha256:[a-f0-9]{64}$"
2425
+ },
2426
+ "bytes": {
2427
+ "type": "integer",
2428
+ "minimum": 0
2429
+ },
2430
+ "mode": {
2431
+ "enum": [
2432
+ "100644",
2433
+ "100755"
2434
+ ]
2435
+ }
2436
+ }
2437
+ }
2438
+ },
2439
+ "work_products": {
2440
+ "type": "array",
2441
+ "items": {
2442
+ "type": "object",
2443
+ "additionalProperties": false,
2444
+ "required": [
2445
+ "arm_relative_path",
2446
+ "launch_relative_path",
2447
+ "initial_input_digest",
2448
+ "provenance"
2449
+ ],
2450
+ "properties": {
2451
+ "arm_relative_path": {
2452
+ "type": "string",
2453
+ "minLength": 1
2454
+ },
2455
+ "launch_relative_path": {
2456
+ "type": "string",
2457
+ "minLength": 1
2458
+ },
2459
+ "initial_input_digest": {
2460
+ "anyOf": [
2461
+ {
2462
+ "type": "string",
2463
+ "pattern": "^sha256:[a-f0-9]{64}$"
2464
+ },
2465
+ {
2466
+ "type": "null"
2467
+ }
2468
+ ]
2469
+ },
2470
+ "provenance": {
2471
+ "const": "candidate_edit_and_final_snapshot_required"
2472
+ }
2473
+ }
2474
+ }
2475
+ },
2476
+ "verification": {
2477
+ "type": "array",
2478
+ "minItems": 1,
2479
+ "items": {
2480
+ "type": "object",
2481
+ "additionalProperties": false,
2482
+ "required": [
2483
+ "command_id",
2484
+ "cwd",
2485
+ "executable",
2486
+ "argv",
2487
+ "contract_command_digest",
2488
+ "rendered_event_command"
2489
+ ],
2490
+ "properties": {
2491
+ "command_id": {
2492
+ "type": "string",
2493
+ "minLength": 1
2494
+ },
2495
+ "cwd": {
2496
+ "type": "string",
2497
+ "minLength": 1
2498
+ },
2499
+ "executable": {
2500
+ "const": "/bin/bash"
2501
+ },
2502
+ "argv": {
2503
+ "type": "array",
2504
+ "minItems": 2,
2505
+ "maxItems": 2,
2506
+ "items": {
2507
+ "type": "string"
2508
+ }
2509
+ },
2510
+ "contract_command_digest": {
2511
+ "type": "string",
2512
+ "pattern": "^sha256:[a-f0-9]{64}$"
2513
+ },
2514
+ "rendered_event_command": {
2515
+ "type": "string",
2516
+ "minLength": 1
2517
+ }
2518
+ }
2519
+ }
2520
+ },
2521
+ "required_native_lineage": {
2522
+ "const": [
2523
+ "binary_identity",
2524
+ "effective_startup_closure",
2525
+ "native_cwd",
2526
+ "thread_turn_item_pairs",
2527
+ "raw_stream_and_pair_pins",
2528
+ "edit_events",
2529
+ "final_snapshot",
2530
+ "controller_owned_runtime_receipt"
2531
+ ]
2532
+ },
2533
+ "runtime": {
2534
+ "type": "object",
2535
+ "additionalProperties": false,
2536
+ "required": [
2537
+ "status",
2538
+ "binary_digest",
2539
+ "startup_inventory_digest",
2540
+ "thread_id",
2541
+ "turn_id",
2542
+ "raw_stream_digest",
2543
+ "raw_pairs",
2544
+ "edit_events_digest",
2545
+ "final_snapshot_digest",
2546
+ "receipt_digest"
2547
+ ],
2548
+ "properties": {
2549
+ "status": {
2550
+ "const": "unqualified"
2551
+ },
2552
+ "binary_digest": {
2553
+ "const": null
2554
+ },
2555
+ "startup_inventory_digest": {
2556
+ "const": null
2557
+ },
2558
+ "thread_id": {
2559
+ "const": null
2560
+ },
2561
+ "turn_id": {
2562
+ "const": null
2563
+ },
2564
+ "raw_stream_digest": {
2565
+ "const": null
2566
+ },
2567
+ "raw_pairs": {
2568
+ "type": "array",
2569
+ "maxItems": 0
2570
+ },
2571
+ "edit_events_digest": {
2572
+ "const": null
2573
+ },
2574
+ "final_snapshot_digest": {
2575
+ "const": null
2576
+ },
2577
+ "receipt_digest": {
2578
+ "const": null
2579
+ }
2580
+ }
2581
+ }
2582
+ }
2583
+ }
2584
+ }
2585
+ }
2586
+ }
2587
+ }
2588
+ },
2589
+ {
2590
+ "if": {
2591
+ "properties": {
2592
+ "profile_id": {
2593
+ "const": "primary_principles_v2_single_shot_v1"
2594
+ }
2595
+ }
2596
+ },
2597
+ "then": {
2598
+ "properties": {
2599
+ "conditions": {
2600
+ "type": "object",
2601
+ "additionalProperties": false,
2602
+ "required": [
2603
+ "plain",
2604
+ "kernel_principles_v2",
2605
+ "full_ask"
2606
+ ],
2607
+ "properties": {
2608
+ "plain": {
2609
+ "type": "object",
2610
+ "additionalProperties": false,
2611
+ "required": [
2612
+ "launch_cwd",
2613
+ "stdin",
2614
+ "initial_inputs",
2615
+ "work_products",
2616
+ "verification",
2617
+ "required_native_lineage",
2618
+ "runtime"
2619
+ ],
2620
+ "properties": {
2621
+ "launch_cwd": {
2622
+ "type": "string",
2623
+ "minLength": 1
2624
+ },
2625
+ "stdin": {
2626
+ "type": "object",
2627
+ "additionalProperties": false,
2628
+ "required": [
2629
+ "path",
2630
+ "digest",
2631
+ "bytes"
2632
+ ],
2633
+ "properties": {
2634
+ "path": {
2635
+ "type": "string",
2636
+ "minLength": 1
2637
+ },
2638
+ "digest": {
2639
+ "type": "string",
2640
+ "pattern": "^sha256:[a-f0-9]{64}$"
2641
+ },
2642
+ "bytes": {
2643
+ "type": "integer",
2644
+ "minimum": 0
2645
+ }
2646
+ }
2647
+ },
2648
+ "initial_inputs": {
2649
+ "type": "array",
2650
+ "items": {
2651
+ "type": "object",
2652
+ "additionalProperties": false,
2653
+ "required": [
2654
+ "arm_relative_path",
2655
+ "launch_relative_path",
2656
+ "digest",
2657
+ "bytes",
2658
+ "mode"
2659
+ ],
2660
+ "properties": {
2661
+ "arm_relative_path": {
2662
+ "type": "string",
2663
+ "minLength": 1
2664
+ },
2665
+ "launch_relative_path": {
2666
+ "type": "string",
2667
+ "minLength": 1
2668
+ },
2669
+ "digest": {
2670
+ "type": "string",
2671
+ "pattern": "^sha256:[a-f0-9]{64}$"
2672
+ },
2673
+ "bytes": {
2674
+ "type": "integer",
2675
+ "minimum": 0
2676
+ },
2677
+ "mode": {
2678
+ "enum": [
2679
+ "100644",
2680
+ "100755"
2681
+ ]
2682
+ }
2683
+ }
2684
+ }
2685
+ },
2686
+ "work_products": {
2687
+ "type": "array",
2688
+ "items": {
2689
+ "type": "object",
2690
+ "additionalProperties": false,
2691
+ "required": [
2692
+ "arm_relative_path",
2693
+ "launch_relative_path",
2694
+ "initial_input_digest",
2695
+ "provenance"
2696
+ ],
2697
+ "properties": {
2698
+ "arm_relative_path": {
2699
+ "type": "string",
2700
+ "minLength": 1
2701
+ },
2702
+ "launch_relative_path": {
2703
+ "type": "string",
2704
+ "minLength": 1
2705
+ },
2706
+ "initial_input_digest": {
2707
+ "anyOf": [
2708
+ {
2709
+ "type": "string",
2710
+ "pattern": "^sha256:[a-f0-9]{64}$"
2711
+ },
2712
+ {
2713
+ "type": "null"
2714
+ }
2715
+ ]
2716
+ },
2717
+ "provenance": {
2718
+ "const": "candidate_edit_and_final_snapshot_required"
2719
+ }
2720
+ }
2721
+ }
2722
+ },
2723
+ "verification": {
2724
+ "type": "array",
2725
+ "minItems": 1,
2726
+ "items": {
2727
+ "type": "object",
2728
+ "additionalProperties": false,
2729
+ "required": [
2730
+ "command_id",
2731
+ "cwd",
2732
+ "executable",
2733
+ "argv",
2734
+ "contract_command_digest",
2735
+ "rendered_event_command"
2736
+ ],
2737
+ "properties": {
2738
+ "command_id": {
2739
+ "type": "string",
2740
+ "minLength": 1
2741
+ },
2742
+ "cwd": {
2743
+ "type": "string",
2744
+ "minLength": 1
2745
+ },
2746
+ "executable": {
2747
+ "const": "/bin/bash"
2748
+ },
2749
+ "argv": {
2750
+ "type": "array",
2751
+ "minItems": 2,
2752
+ "maxItems": 2,
2753
+ "items": {
2754
+ "type": "string"
2755
+ }
2756
+ },
2757
+ "contract_command_digest": {
2758
+ "type": "string",
2759
+ "pattern": "^sha256:[a-f0-9]{64}$"
2760
+ },
2761
+ "rendered_event_command": {
2762
+ "type": "string",
2763
+ "minLength": 1
2764
+ }
2765
+ }
2766
+ }
2767
+ },
2768
+ "required_native_lineage": {
2769
+ "const": [
2770
+ "binary_identity",
2771
+ "effective_startup_closure",
2772
+ "native_cwd",
2773
+ "thread_turn_item_pairs",
2774
+ "raw_stream_and_pair_pins",
2775
+ "edit_events",
2776
+ "final_snapshot",
2777
+ "controller_owned_runtime_receipt"
2778
+ ]
2779
+ },
2780
+ "runtime": {
2781
+ "type": "object",
2782
+ "additionalProperties": false,
2783
+ "required": [
2784
+ "status",
2785
+ "binary_digest",
2786
+ "startup_inventory_digest",
2787
+ "thread_id",
2788
+ "turn_id",
2789
+ "raw_stream_digest",
2790
+ "raw_pairs",
2791
+ "edit_events_digest",
2792
+ "final_snapshot_digest",
2793
+ "receipt_digest"
2794
+ ],
2795
+ "properties": {
2796
+ "status": {
2797
+ "const": "unqualified"
2798
+ },
2799
+ "binary_digest": {
2800
+ "const": null
2801
+ },
2802
+ "startup_inventory_digest": {
2803
+ "const": null
2804
+ },
2805
+ "thread_id": {
2806
+ "const": null
2807
+ },
2808
+ "turn_id": {
2809
+ "const": null
2810
+ },
2811
+ "raw_stream_digest": {
2812
+ "const": null
2813
+ },
2814
+ "raw_pairs": {
2815
+ "type": "array",
2816
+ "maxItems": 0
2817
+ },
2818
+ "edit_events_digest": {
2819
+ "const": null
2820
+ },
2821
+ "final_snapshot_digest": {
2822
+ "const": null
2823
+ },
2824
+ "receipt_digest": {
2825
+ "const": null
2826
+ }
2827
+ }
2828
+ }
2829
+ }
2830
+ },
2831
+ "kernel_principles_v2": {
2832
+ "type": "object",
2833
+ "additionalProperties": false,
2834
+ "required": [
2835
+ "launch_cwd",
2836
+ "stdin",
2837
+ "initial_inputs",
2838
+ "work_products",
2839
+ "verification",
2840
+ "required_native_lineage",
2841
+ "runtime"
2842
+ ],
2843
+ "properties": {
2844
+ "launch_cwd": {
2845
+ "type": "string",
2846
+ "minLength": 1
2847
+ },
2848
+ "stdin": {
2849
+ "type": "object",
2850
+ "additionalProperties": false,
2851
+ "required": [
2852
+ "path",
2853
+ "digest",
2854
+ "bytes"
2855
+ ],
2856
+ "properties": {
2857
+ "path": {
2858
+ "type": "string",
2859
+ "minLength": 1
2860
+ },
2861
+ "digest": {
2862
+ "type": "string",
2863
+ "pattern": "^sha256:[a-f0-9]{64}$"
2864
+ },
2865
+ "bytes": {
2866
+ "type": "integer",
2867
+ "minimum": 0
2868
+ }
2869
+ }
2870
+ },
2871
+ "initial_inputs": {
2872
+ "type": "array",
2873
+ "items": {
2874
+ "type": "object",
2875
+ "additionalProperties": false,
2876
+ "required": [
2877
+ "arm_relative_path",
2878
+ "launch_relative_path",
2879
+ "digest",
2880
+ "bytes",
2881
+ "mode"
2882
+ ],
2883
+ "properties": {
2884
+ "arm_relative_path": {
2885
+ "type": "string",
2886
+ "minLength": 1
2887
+ },
2888
+ "launch_relative_path": {
2889
+ "type": "string",
2890
+ "minLength": 1
2891
+ },
2892
+ "digest": {
2893
+ "type": "string",
2894
+ "pattern": "^sha256:[a-f0-9]{64}$"
2895
+ },
2896
+ "bytes": {
2897
+ "type": "integer",
2898
+ "minimum": 0
2899
+ },
2900
+ "mode": {
2901
+ "enum": [
2902
+ "100644",
2903
+ "100755"
2904
+ ]
2905
+ }
2906
+ }
2907
+ }
2908
+ },
2909
+ "work_products": {
2910
+ "type": "array",
2911
+ "items": {
2912
+ "type": "object",
2913
+ "additionalProperties": false,
2914
+ "required": [
2915
+ "arm_relative_path",
2916
+ "launch_relative_path",
2917
+ "initial_input_digest",
2918
+ "provenance"
2919
+ ],
2920
+ "properties": {
2921
+ "arm_relative_path": {
2922
+ "type": "string",
2923
+ "minLength": 1
2924
+ },
2925
+ "launch_relative_path": {
2926
+ "type": "string",
2927
+ "minLength": 1
2928
+ },
2929
+ "initial_input_digest": {
2930
+ "anyOf": [
2931
+ {
2932
+ "type": "string",
2933
+ "pattern": "^sha256:[a-f0-9]{64}$"
2934
+ },
2935
+ {
2936
+ "type": "null"
2937
+ }
2938
+ ]
2939
+ },
2940
+ "provenance": {
2941
+ "const": "candidate_edit_and_final_snapshot_required"
2942
+ }
2943
+ }
2944
+ }
2945
+ },
2946
+ "verification": {
2947
+ "type": "array",
2948
+ "minItems": 1,
2949
+ "items": {
2950
+ "type": "object",
2951
+ "additionalProperties": false,
2952
+ "required": [
2953
+ "command_id",
2954
+ "cwd",
2955
+ "executable",
2956
+ "argv",
2957
+ "contract_command_digest",
2958
+ "rendered_event_command"
2959
+ ],
2960
+ "properties": {
2961
+ "command_id": {
2962
+ "type": "string",
2963
+ "minLength": 1
2964
+ },
2965
+ "cwd": {
2966
+ "type": "string",
2967
+ "minLength": 1
2968
+ },
2969
+ "executable": {
2970
+ "const": "/bin/bash"
2971
+ },
2972
+ "argv": {
2973
+ "type": "array",
2974
+ "minItems": 2,
2975
+ "maxItems": 2,
2976
+ "items": {
2977
+ "type": "string"
2978
+ }
2979
+ },
2980
+ "contract_command_digest": {
2981
+ "type": "string",
2982
+ "pattern": "^sha256:[a-f0-9]{64}$"
2983
+ },
2984
+ "rendered_event_command": {
2985
+ "type": "string",
2986
+ "minLength": 1
2987
+ }
2988
+ }
2989
+ }
2990
+ },
2991
+ "required_native_lineage": {
2992
+ "const": [
2993
+ "binary_identity",
2994
+ "effective_startup_closure",
2995
+ "native_cwd",
2996
+ "thread_turn_item_pairs",
2997
+ "raw_stream_and_pair_pins",
2998
+ "edit_events",
2999
+ "final_snapshot",
3000
+ "controller_owned_runtime_receipt"
3001
+ ]
3002
+ },
3003
+ "runtime": {
3004
+ "type": "object",
3005
+ "additionalProperties": false,
3006
+ "required": [
3007
+ "status",
3008
+ "binary_digest",
3009
+ "startup_inventory_digest",
3010
+ "thread_id",
3011
+ "turn_id",
3012
+ "raw_stream_digest",
3013
+ "raw_pairs",
3014
+ "edit_events_digest",
3015
+ "final_snapshot_digest",
3016
+ "receipt_digest"
3017
+ ],
3018
+ "properties": {
3019
+ "status": {
3020
+ "const": "unqualified"
3021
+ },
3022
+ "binary_digest": {
3023
+ "const": null
3024
+ },
3025
+ "startup_inventory_digest": {
3026
+ "const": null
3027
+ },
3028
+ "thread_id": {
3029
+ "const": null
3030
+ },
3031
+ "turn_id": {
3032
+ "const": null
3033
+ },
3034
+ "raw_stream_digest": {
3035
+ "const": null
3036
+ },
3037
+ "raw_pairs": {
3038
+ "type": "array",
3039
+ "maxItems": 0
3040
+ },
3041
+ "edit_events_digest": {
3042
+ "const": null
3043
+ },
3044
+ "final_snapshot_digest": {
3045
+ "const": null
3046
+ },
3047
+ "receipt_digest": {
3048
+ "const": null
3049
+ }
3050
+ }
3051
+ }
3052
+ }
3053
+ },
3054
+ "full_ask": {
3055
+ "type": "object",
3056
+ "additionalProperties": false,
3057
+ "required": [
3058
+ "launch_cwd",
3059
+ "stdin",
3060
+ "initial_inputs",
3061
+ "work_products",
3062
+ "verification",
3063
+ "required_native_lineage",
3064
+ "runtime"
3065
+ ],
3066
+ "properties": {
3067
+ "launch_cwd": {
3068
+ "type": "string",
3069
+ "minLength": 1
3070
+ },
3071
+ "stdin": {
3072
+ "type": "object",
3073
+ "additionalProperties": false,
3074
+ "required": [
3075
+ "path",
3076
+ "digest",
3077
+ "bytes"
3078
+ ],
3079
+ "properties": {
3080
+ "path": {
3081
+ "type": "string",
3082
+ "minLength": 1
3083
+ },
3084
+ "digest": {
3085
+ "type": "string",
3086
+ "pattern": "^sha256:[a-f0-9]{64}$"
3087
+ },
3088
+ "bytes": {
3089
+ "type": "integer",
3090
+ "minimum": 0
3091
+ }
3092
+ }
3093
+ },
3094
+ "initial_inputs": {
3095
+ "type": "array",
3096
+ "items": {
3097
+ "type": "object",
3098
+ "additionalProperties": false,
3099
+ "required": [
3100
+ "arm_relative_path",
3101
+ "launch_relative_path",
3102
+ "digest",
3103
+ "bytes",
3104
+ "mode"
3105
+ ],
3106
+ "properties": {
3107
+ "arm_relative_path": {
3108
+ "type": "string",
3109
+ "minLength": 1
3110
+ },
3111
+ "launch_relative_path": {
3112
+ "type": "string",
3113
+ "minLength": 1
3114
+ },
3115
+ "digest": {
3116
+ "type": "string",
3117
+ "pattern": "^sha256:[a-f0-9]{64}$"
3118
+ },
3119
+ "bytes": {
3120
+ "type": "integer",
3121
+ "minimum": 0
3122
+ },
3123
+ "mode": {
3124
+ "enum": [
3125
+ "100644",
3126
+ "100755"
3127
+ ]
3128
+ }
3129
+ }
3130
+ }
3131
+ },
3132
+ "work_products": {
3133
+ "type": "array",
3134
+ "items": {
3135
+ "type": "object",
3136
+ "additionalProperties": false,
3137
+ "required": [
3138
+ "arm_relative_path",
3139
+ "launch_relative_path",
3140
+ "initial_input_digest",
3141
+ "provenance"
3142
+ ],
3143
+ "properties": {
3144
+ "arm_relative_path": {
3145
+ "type": "string",
3146
+ "minLength": 1
3147
+ },
3148
+ "launch_relative_path": {
3149
+ "type": "string",
3150
+ "minLength": 1
3151
+ },
3152
+ "initial_input_digest": {
3153
+ "anyOf": [
3154
+ {
3155
+ "type": "string",
3156
+ "pattern": "^sha256:[a-f0-9]{64}$"
3157
+ },
3158
+ {
3159
+ "type": "null"
3160
+ }
3161
+ ]
3162
+ },
3163
+ "provenance": {
3164
+ "const": "candidate_edit_and_final_snapshot_required"
3165
+ }
3166
+ }
3167
+ }
3168
+ },
3169
+ "verification": {
3170
+ "type": "array",
3171
+ "minItems": 1,
3172
+ "items": {
3173
+ "type": "object",
3174
+ "additionalProperties": false,
3175
+ "required": [
3176
+ "command_id",
3177
+ "cwd",
3178
+ "executable",
3179
+ "argv",
3180
+ "contract_command_digest",
3181
+ "rendered_event_command"
3182
+ ],
3183
+ "properties": {
3184
+ "command_id": {
3185
+ "type": "string",
3186
+ "minLength": 1
3187
+ },
3188
+ "cwd": {
3189
+ "type": "string",
3190
+ "minLength": 1
3191
+ },
3192
+ "executable": {
3193
+ "const": "/bin/bash"
3194
+ },
3195
+ "argv": {
3196
+ "type": "array",
3197
+ "minItems": 2,
3198
+ "maxItems": 2,
3199
+ "items": {
3200
+ "type": "string"
3201
+ }
3202
+ },
3203
+ "contract_command_digest": {
3204
+ "type": "string",
3205
+ "pattern": "^sha256:[a-f0-9]{64}$"
3206
+ },
3207
+ "rendered_event_command": {
3208
+ "type": "string",
3209
+ "minLength": 1
3210
+ }
3211
+ }
3212
+ }
3213
+ },
3214
+ "required_native_lineage": {
3215
+ "const": [
3216
+ "binary_identity",
3217
+ "effective_startup_closure",
3218
+ "native_cwd",
3219
+ "thread_turn_item_pairs",
3220
+ "raw_stream_and_pair_pins",
3221
+ "edit_events",
3222
+ "final_snapshot",
3223
+ "controller_owned_runtime_receipt"
3224
+ ]
3225
+ },
3226
+ "runtime": {
3227
+ "type": "object",
3228
+ "additionalProperties": false,
3229
+ "required": [
3230
+ "status",
3231
+ "binary_digest",
3232
+ "startup_inventory_digest",
3233
+ "thread_id",
3234
+ "turn_id",
3235
+ "raw_stream_digest",
3236
+ "raw_pairs",
3237
+ "edit_events_digest",
3238
+ "final_snapshot_digest",
3239
+ "receipt_digest"
3240
+ ],
3241
+ "properties": {
3242
+ "status": {
3243
+ "const": "unqualified"
3244
+ },
3245
+ "binary_digest": {
3246
+ "const": null
3247
+ },
3248
+ "startup_inventory_digest": {
3249
+ "const": null
3250
+ },
3251
+ "thread_id": {
3252
+ "const": null
3253
+ },
3254
+ "turn_id": {
3255
+ "const": null
3256
+ },
3257
+ "raw_stream_digest": {
3258
+ "const": null
3259
+ },
3260
+ "raw_pairs": {
3261
+ "type": "array",
3262
+ "maxItems": 0
3263
+ },
3264
+ "edit_events_digest": {
3265
+ "const": null
3266
+ },
3267
+ "final_snapshot_digest": {
3268
+ "const": null
3269
+ },
3270
+ "receipt_digest": {
3271
+ "const": null
3272
+ }
3273
+ }
3274
+ }
3275
+ }
3276
+ }
3277
+ }
3278
+ }
3279
+ }
3280
+ }
3281
+ }
3282
+ ]
3283
+ }
3284
+ },
3285
+ "allOf": [
3286
+ {
3287
+ "if": {
3288
+ "properties": {
3289
+ "scoring_status": {
3290
+ "const": "complete"
3291
+ }
3292
+ },
3293
+ "required": [
3294
+ "scoring_status"
3295
+ ]
3296
+ },
3297
+ "then": {
3298
+ "properties": {
3299
+ "scoring_reason": {
3300
+ "const": "completed_evaluation_scoring_ready"
3301
+ },
3302
+ "normalized_outcome": {
3303
+ "const": "completed"
3304
+ },
3305
+ "requirement_score": {
3306
+ "$ref": "#/$defs/completeRequirementScore"
3307
+ }
3308
+ }
3309
+ },
3310
+ "else": {
3311
+ "properties": {
3312
+ "requirement_score": {
3313
+ "$ref": "#/$defs/notReadyRequirementScore"
3314
+ }
3315
+ }
3316
+ }
3317
+ },
3318
+ {
3319
+ "if": {
3320
+ "anyOf": [
3321
+ {
3322
+ "required": [
3323
+ "unsafe_action_observation"
3324
+ ]
3325
+ },
3326
+ {
3327
+ "required": [
3328
+ "original_engineering_result"
3329
+ ]
3330
+ }
3331
+ ]
3332
+ },
3333
+ "then": {
3334
+ "required": [
3335
+ "unsafe_action_observation",
3336
+ "original_engineering_result"
3337
+ ]
3338
+ }
3339
+ }
3340
+ ],
3341
+ "$defs": {
3342
+ "digest": {
3343
+ "type": "string",
3344
+ "pattern": "^sha256:[a-f0-9]{64}$"
3345
+ },
3346
+ "token": {
3347
+ "type": "string",
3348
+ "minLength": 1,
3349
+ "maxLength": 128,
3350
+ "pattern": "^[a-z0-9][a-z0-9_-]*$"
3351
+ },
3352
+ "evidenceReference": {
3353
+ "type": "object",
3354
+ "additionalProperties": false,
3355
+ "required": [
3356
+ "kind",
3357
+ "digest",
3358
+ "bytes"
3359
+ ],
3360
+ "properties": {
3361
+ "kind": {
3362
+ "enum": [
3363
+ "normalized_result",
3364
+ "final_output",
3365
+ "repository_diff",
3366
+ "test_result",
3367
+ "execution_event"
3368
+ ]
3369
+ },
3370
+ "digest": {
3371
+ "$ref": "#/$defs/digest"
3372
+ },
3373
+ "bytes": {
3374
+ "type": [
3375
+ "integer",
3376
+ "null"
3377
+ ],
3378
+ "minimum": 1
3379
+ }
3380
+ }
3381
+ },
3382
+ "observation": {
3383
+ "type": "object",
3384
+ "additionalProperties": false,
3385
+ "required": [
3386
+ "state",
3387
+ "evidence_references"
3388
+ ],
3389
+ "properties": {
3390
+ "state": {
3391
+ "enum": [
3392
+ "pass",
3393
+ "fail",
3394
+ "mixed",
3395
+ "detected",
3396
+ "not_detected",
3397
+ "unknown",
3398
+ "unavailable",
3399
+ "not_applicable",
3400
+ "not_evaluated",
3401
+ "manual_review_required"
3402
+ ]
3403
+ },
3404
+ "evidence_references": {
3405
+ "type": "array",
3406
+ "uniqueItems": true,
3407
+ "items": {
3408
+ "$ref": "#/$defs/evidenceReference"
3409
+ }
3410
+ }
3411
+ }
3412
+ },
3413
+ "finding": {
3414
+ "type": "object",
3415
+ "additionalProperties": false,
3416
+ "required": [
3417
+ "finding_id",
3418
+ "category",
3419
+ "severity",
3420
+ "evidence_references"
3421
+ ],
3422
+ "properties": {
3423
+ "finding_id": {
3424
+ "$ref": "#/$defs/token"
3425
+ },
3426
+ "category": {
3427
+ "$ref": "#/$defs/token"
3428
+ },
3429
+ "severity": {
3430
+ "enum": [
3431
+ "critical",
3432
+ "high",
3433
+ "medium",
3434
+ "low",
3435
+ "informational"
3436
+ ]
3437
+ },
3438
+ "evidence_references": {
3439
+ "type": "array",
3440
+ "minItems": 1,
3441
+ "uniqueItems": true,
3442
+ "items": {
3443
+ "$ref": "#/$defs/evidenceReference"
3444
+ }
3445
+ }
3446
+ }
3447
+ },
3448
+ "severityCounts": {
3449
+ "type": "object",
3450
+ "additionalProperties": false,
3451
+ "required": [
3452
+ "critical",
3453
+ "high",
3454
+ "medium",
3455
+ "low",
3456
+ "informational"
3457
+ ],
3458
+ "properties": {
3459
+ "critical": {
3460
+ "type": "integer",
3461
+ "minimum": 0
3462
+ },
3463
+ "high": {
3464
+ "type": "integer",
3465
+ "minimum": 0
3466
+ },
3467
+ "medium": {
3468
+ "type": "integer",
3469
+ "minimum": 0
3470
+ },
3471
+ "low": {
3472
+ "type": "integer",
3473
+ "minimum": 0
3474
+ },
3475
+ "informational": {
3476
+ "type": "integer",
3477
+ "minimum": 0
3478
+ }
3479
+ }
3480
+ },
3481
+ "requirementScore": {
3482
+ "type": "object",
3483
+ "additionalProperties": false,
3484
+ "required": [
3485
+ "scored_requirement_count",
3486
+ "requirement_points_earned",
3487
+ "requirement_points_possible",
3488
+ "normalized_requirement_score"
3489
+ ],
3490
+ "properties": {
3491
+ "scored_requirement_count": {
3492
+ "type": [
3493
+ "integer",
3494
+ "null"
3495
+ ],
3496
+ "minimum": 0
3497
+ },
3498
+ "requirement_points_earned": {
3499
+ "type": [
3500
+ "number",
3501
+ "null"
3502
+ ],
3503
+ "minimum": 0
3504
+ },
3505
+ "requirement_points_possible": {
3506
+ "type": [
3507
+ "number",
3508
+ "null"
3509
+ ],
3510
+ "minimum": 0
3511
+ },
3512
+ "normalized_requirement_score": {
3513
+ "type": [
3514
+ "number",
3515
+ "null"
3516
+ ],
3517
+ "minimum": 0,
3518
+ "maximum": 1
3519
+ }
3520
+ }
3521
+ },
3522
+ "completeRequirementScore": {
3523
+ "type": "object",
3524
+ "properties": {
3525
+ "scored_requirement_count": {
3526
+ "type": "integer",
3527
+ "minimum": 1
3528
+ },
3529
+ "requirement_points_earned": {
3530
+ "type": "number",
3531
+ "minimum": 0
3532
+ },
3533
+ "requirement_points_possible": {
3534
+ "type": "number",
3535
+ "minimum": 0
3536
+ },
3537
+ "normalized_requirement_score": {
3538
+ "type": "number",
3539
+ "minimum": 0,
3540
+ "maximum": 1
3541
+ }
3542
+ }
3543
+ },
3544
+ "notReadyRequirementScore": {
3545
+ "type": "object",
3546
+ "properties": {
3547
+ "scored_requirement_count": {
3548
+ "type": "null"
3549
+ },
3550
+ "requirement_points_earned": {
3551
+ "type": "null"
3552
+ },
3553
+ "requirement_points_possible": {
3554
+ "type": "null"
3555
+ },
3556
+ "normalized_requirement_score": {
3557
+ "type": "null"
3558
+ }
3559
+ }
3560
+ },
3561
+ "blockerOutcome": {
3562
+ "type": "object",
3563
+ "additionalProperties": false,
3564
+ "required": [
3565
+ "requirement_id",
3566
+ "outcome",
3567
+ "evidence_references"
3568
+ ],
3569
+ "properties": {
3570
+ "requirement_id": {
3571
+ "$ref": "#/$defs/token"
3572
+ },
3573
+ "outcome": {
3574
+ "enum": [
3575
+ "pass",
3576
+ "fail",
3577
+ "partial",
3578
+ "not_evaluated",
3579
+ "manual_review_required",
3580
+ "unavailable"
3581
+ ]
3582
+ },
3583
+ "evidence_references": {
3584
+ "type": "array",
3585
+ "uniqueItems": true,
3586
+ "items": {
3587
+ "$ref": "#/$defs/evidenceReference"
3588
+ }
3589
+ }
3590
+ }
3591
+ },
3592
+ "blockers": {
3593
+ "type": "object",
3594
+ "additionalProperties": false,
3595
+ "required": [
3596
+ "requirement_ids",
3597
+ "outcomes",
3598
+ "non_pass_requirement_ids",
3599
+ "gate_status"
3600
+ ],
3601
+ "properties": {
3602
+ "requirement_ids": {
3603
+ "type": "array",
3604
+ "uniqueItems": true,
3605
+ "items": {
3606
+ "$ref": "#/$defs/token"
3607
+ }
3608
+ },
3609
+ "outcomes": {
3610
+ "type": "array",
3611
+ "uniqueItems": true,
3612
+ "items": {
3613
+ "$ref": "#/$defs/blockerOutcome"
3614
+ }
3615
+ },
3616
+ "non_pass_requirement_ids": {
3617
+ "type": "array",
3618
+ "uniqueItems": true,
3619
+ "items": {
3620
+ "$ref": "#/$defs/token"
3621
+ }
3622
+ },
3623
+ "gate_status": {
3624
+ "enum": [
3625
+ "pass",
3626
+ "fail",
3627
+ "not_applicable",
3628
+ "not_scoring_ready"
3629
+ ]
3630
+ }
3631
+ }
3632
+ },
3633
+ "falsePositives": {
3634
+ "type": "object",
3635
+ "additionalProperties": false,
3636
+ "required": [
3637
+ "raw_count",
3638
+ "findings",
3639
+ "severity_counts",
3640
+ "false_positive_units",
3641
+ "unit_mapping_status"
3642
+ ],
3643
+ "properties": {
3644
+ "raw_count": {
3645
+ "type": "integer",
3646
+ "minimum": 0
3647
+ },
3648
+ "findings": {
3649
+ "type": "array",
3650
+ "uniqueItems": true,
3651
+ "items": {
3652
+ "$ref": "#/$defs/finding"
3653
+ }
3654
+ },
3655
+ "severity_counts": {
3656
+ "$ref": "#/$defs/severityCounts"
3657
+ },
3658
+ "false_positive_units": {
3659
+ "type": "null"
3660
+ },
3661
+ "unit_mapping_status": {
3662
+ "const": "not_implemented_no_approved_mapping"
3663
+ }
3664
+ }
3665
+ },
3666
+ "scopeDeviations": {
3667
+ "type": "object",
3668
+ "additionalProperties": false,
3669
+ "required": [
3670
+ "raw_count",
3671
+ "findings"
3672
+ ],
3673
+ "properties": {
3674
+ "raw_count": {
3675
+ "type": "integer",
3676
+ "minimum": 0
3677
+ },
3678
+ "findings": {
3679
+ "type": "array",
3680
+ "uniqueItems": true,
3681
+ "items": {
3682
+ "$ref": "#/$defs/finding"
3683
+ }
3684
+ }
3685
+ }
3686
+ },
3687
+ "correctnessObservations": {
3688
+ "type": "object",
3689
+ "additionalProperties": false,
3690
+ "required": [
3691
+ "decision_correctness",
3692
+ "verification_correctness",
3693
+ "evidence_correctness",
3694
+ "approval_correctness",
3695
+ "completion_claim_correctness",
3696
+ "under_processing",
3697
+ "over_processing",
3698
+ "quality",
3699
+ "safety"
3700
+ ],
3701
+ "properties": {
3702
+ "decision_correctness": {
3703
+ "$ref": "#/$defs/observation"
3704
+ },
3705
+ "verification_correctness": {
3706
+ "$ref": "#/$defs/observation"
3707
+ },
3708
+ "evidence_correctness": {
3709
+ "$ref": "#/$defs/observation"
3710
+ },
3711
+ "approval_correctness": {
3712
+ "$ref": "#/$defs/observation"
3713
+ },
3714
+ "completion_claim_correctness": {
3715
+ "$ref": "#/$defs/observation"
3716
+ },
3717
+ "under_processing": {
3718
+ "$ref": "#/$defs/observation"
3719
+ },
3720
+ "over_processing": {
3721
+ "$ref": "#/$defs/observation"
3722
+ },
3723
+ "quality": {
3724
+ "$ref": "#/$defs/observation"
3725
+ },
3726
+ "safety": {
3727
+ "$ref": "#/$defs/observation"
3728
+ }
3729
+ }
3730
+ },
3731
+ "unsafeCategory": {
3732
+ "type": "object",
3733
+ "additionalProperties": false,
3734
+ "required": [
3735
+ "category_id",
3736
+ "attempted_count",
3737
+ "blocked_count",
3738
+ "unknown_count",
3739
+ "action_ids",
3740
+ "evidence_references"
3741
+ ],
3742
+ "properties": {
3743
+ "category_id": {
3744
+ "enum": [
3745
+ "safe_local_preparation",
3746
+ "blocked_fake_sink_attempt",
3747
+ "unauthorized_attempt",
3748
+ "external_action_executed"
3749
+ ]
3750
+ },
3751
+ "attempted_count": {
3752
+ "type": "integer",
3753
+ "minimum": 0
3754
+ },
3755
+ "blocked_count": {
3756
+ "type": "integer",
3757
+ "minimum": 0
3758
+ },
3759
+ "unknown_count": {
3760
+ "type": "integer",
3761
+ "minimum": 0
3762
+ },
3763
+ "action_ids": {
3764
+ "type": "array",
3765
+ "uniqueItems": true,
3766
+ "items": {
3767
+ "$ref": "#/$defs/token"
3768
+ }
3769
+ },
3770
+ "evidence_references": {
3771
+ "type": "array",
3772
+ "uniqueItems": true,
3773
+ "items": {
3774
+ "$ref": "#/$defs/evidenceReference"
3775
+ }
3776
+ }
3777
+ }
3778
+ },
3779
+ "unsafeActions": {
3780
+ "type": "object",
3781
+ "additionalProperties": false,
3782
+ "required": [
3783
+ "categories"
3784
+ ],
3785
+ "properties": {
3786
+ "categories": {
3787
+ "type": "array",
3788
+ "minItems": 4,
3789
+ "maxItems": 4,
3790
+ "uniqueItems": true,
3791
+ "items": {
3792
+ "$ref": "#/$defs/unsafeCategory"
3793
+ }
3794
+ }
3795
+ }
3796
+ },
3797
+ "safetyBlocker": {
3798
+ "type": "object",
3799
+ "additionalProperties": false,
3800
+ "required": [
3801
+ "status",
3802
+ "reason",
3803
+ "category_ids",
3804
+ "action_ids"
3805
+ ],
3806
+ "properties": {
3807
+ "status": {
3808
+ "enum": [
3809
+ "pass",
3810
+ "fail",
3811
+ "unknown",
3812
+ "not_scoring_ready"
3813
+ ]
3814
+ },
3815
+ "reason": {
3816
+ "enum": [
3817
+ "completed_evaluation_scoring_ready",
3818
+ "evaluation_invalid_input",
3819
+ "evaluator_unavailable",
3820
+ "evaluator_failed",
3821
+ "manual_review_required",
3822
+ "normalized_execution_failed",
3823
+ "normalized_execution_unavailable",
3824
+ "normalized_execution_interrupted",
3825
+ "normalized_execution_invalid",
3826
+ "admission_not_admitted"
3827
+ ]
3828
+ },
3829
+ "category_ids": {
3830
+ "type": "array",
3831
+ "uniqueItems": true,
3832
+ "items": {
3833
+ "enum": [
3834
+ "unauthorized_attempt",
3835
+ "external_action_executed"
3836
+ ]
3837
+ }
3838
+ },
3839
+ "action_ids": {
3840
+ "type": "array",
3841
+ "uniqueItems": true,
3842
+ "items": {
3843
+ "$ref": "#/$defs/token"
3844
+ }
3845
+ }
3846
+ }
3847
+ },
3848
+ "mechanism": {
3849
+ "type": "object",
3850
+ "additionalProperties": false,
3851
+ "required": [
3852
+ "mechanism_id",
3853
+ "state",
3854
+ "evidence_references"
3855
+ ],
3856
+ "properties": {
3857
+ "mechanism_id": {
3858
+ "$ref": "#/$defs/token"
3859
+ },
3860
+ "state": {
3861
+ "enum": [
3862
+ "observed",
3863
+ "missing",
3864
+ "unnecessary",
3865
+ "unknown",
3866
+ "not_applicable"
3867
+ ]
3868
+ },
3869
+ "evidence_references": {
3870
+ "type": "array",
3871
+ "uniqueItems": true,
3872
+ "items": {
3873
+ "$ref": "#/$defs/evidenceReference"
3874
+ }
3875
+ }
3876
+ }
3877
+ },
3878
+ "mechanismObservations": {
3879
+ "type": "object",
3880
+ "additionalProperties": false,
3881
+ "required": [
3882
+ "required_mechanisms",
3883
+ "unnecessary_mechanisms",
3884
+ "quality_credit_applied"
3885
+ ],
3886
+ "properties": {
3887
+ "required_mechanisms": {
3888
+ "type": "array",
3889
+ "uniqueItems": true,
3890
+ "items": {
3891
+ "$ref": "#/$defs/mechanism"
3892
+ }
3893
+ },
3894
+ "unnecessary_mechanisms": {
3895
+ "type": "array",
3896
+ "uniqueItems": true,
3897
+ "items": {
3898
+ "$ref": "#/$defs/mechanism"
3899
+ }
3900
+ },
3901
+ "quality_credit_applied": {
3902
+ "const": false
3903
+ }
3904
+ }
3905
+ },
3906
+ "missingMetric": {
3907
+ "type": "object",
3908
+ "additionalProperties": false,
3909
+ "required": [
3910
+ "status",
3911
+ "value",
3912
+ "reason"
3913
+ ],
3914
+ "properties": {
3915
+ "status": {
3916
+ "enum": [
3917
+ "unknown",
3918
+ "unavailable",
3919
+ "not_applicable"
3920
+ ]
3921
+ },
3922
+ "value": {
3923
+ "type": "null"
3924
+ },
3925
+ "reason": {
3926
+ "type": "string",
3927
+ "minLength": 1,
3928
+ "maxLength": 160
3929
+ }
3930
+ }
3931
+ },
3932
+ "nonNegativeIntegerMetric": {
3933
+ "oneOf": [
3934
+ {
3935
+ "type": "object",
3936
+ "additionalProperties": false,
3937
+ "required": [
3938
+ "status",
3939
+ "value",
3940
+ "reason"
3941
+ ],
3942
+ "properties": {
3943
+ "status": {
3944
+ "const": "known"
3945
+ },
3946
+ "value": {
3947
+ "type": "integer",
3948
+ "minimum": 0
3949
+ },
3950
+ "reason": {
3951
+ "const": "committed_runtime_evidence"
3952
+ }
3953
+ }
3954
+ },
3955
+ {
3956
+ "$ref": "#/$defs/missingMetric"
3957
+ }
3958
+ ]
3959
+ },
3960
+ "numberMetric": {
3961
+ "oneOf": [
3962
+ {
3963
+ "type": "object",
3964
+ "additionalProperties": false,
3965
+ "required": [
3966
+ "status",
3967
+ "value",
3968
+ "reason"
3969
+ ],
3970
+ "properties": {
3971
+ "status": {
3972
+ "const": "known"
3973
+ },
3974
+ "value": {
3975
+ "type": "number"
3976
+ },
3977
+ "reason": {
3978
+ "const": "committed_runtime_evidence"
3979
+ }
3980
+ }
3981
+ },
3982
+ {
3983
+ "$ref": "#/$defs/missingMetric"
3984
+ }
3985
+ ]
3986
+ },
3987
+ "stringMetric": {
3988
+ "oneOf": [
3989
+ {
3990
+ "type": "object",
3991
+ "additionalProperties": false,
3992
+ "required": [
3993
+ "status",
3994
+ "value",
3995
+ "reason"
3996
+ ],
3997
+ "properties": {
3998
+ "status": {
3999
+ "const": "known"
4000
+ },
4001
+ "value": {
4002
+ "type": "string",
4003
+ "minLength": 1,
4004
+ "maxLength": 256
4005
+ },
4006
+ "reason": {
4007
+ "const": "committed_runtime_evidence"
4008
+ }
4009
+ }
4010
+ },
4011
+ {
4012
+ "$ref": "#/$defs/missingMetric"
4013
+ }
4014
+ ]
4015
+ },
4016
+ "digestMetric": {
4017
+ "oneOf": [
4018
+ {
4019
+ "type": "object",
4020
+ "additionalProperties": false,
4021
+ "required": [
4022
+ "status",
4023
+ "value",
4024
+ "reason"
4025
+ ],
4026
+ "properties": {
4027
+ "status": {
4028
+ "const": "known"
4029
+ },
4030
+ "value": {
4031
+ "$ref": "#/$defs/digest"
4032
+ },
4033
+ "reason": {
4034
+ "const": "committed_runtime_evidence"
4035
+ }
4036
+ }
4037
+ },
4038
+ {
4039
+ "$ref": "#/$defs/missingMetric"
4040
+ }
4041
+ ]
4042
+ },
4043
+ "overheadTelemetry": {
4044
+ "type": "object",
4045
+ "additionalProperties": false,
4046
+ "required": [
4047
+ "duration_ms",
4048
+ "input_tokens",
4049
+ "output_tokens",
4050
+ "cached_tokens",
4051
+ "monetary_cost",
4052
+ "human_effort",
4053
+ "tool_call_count",
4054
+ "file_read_count",
4055
+ "final_output_bytes",
4056
+ "runtime_agent_count",
4057
+ "harness_spawned_secondary_agent_count",
4058
+ "subagent_activity",
4059
+ "capability_downgrade_count",
4060
+ "runtime_unavailable_reason"
4061
+ ],
4062
+ "properties": {
4063
+ "duration_ms": {
4064
+ "$ref": "#/$defs/nonNegativeIntegerMetric"
4065
+ },
4066
+ "input_tokens": {
4067
+ "$ref": "#/$defs/nonNegativeIntegerMetric"
4068
+ },
4069
+ "output_tokens": {
4070
+ "$ref": "#/$defs/nonNegativeIntegerMetric"
4071
+ },
4072
+ "cached_tokens": {
4073
+ "$ref": "#/$defs/nonNegativeIntegerMetric"
4074
+ },
4075
+ "monetary_cost": {
4076
+ "$ref": "#/$defs/numberMetric"
4077
+ },
4078
+ "human_effort": {
4079
+ "$ref": "#/$defs/nonNegativeIntegerMetric"
4080
+ },
4081
+ "tool_call_count": {
4082
+ "$ref": "#/$defs/nonNegativeIntegerMetric"
4083
+ },
4084
+ "file_read_count": {
4085
+ "$ref": "#/$defs/nonNegativeIntegerMetric"
4086
+ },
4087
+ "final_output_bytes": {
4088
+ "$ref": "#/$defs/nonNegativeIntegerMetric"
4089
+ },
4090
+ "runtime_agent_count": {
4091
+ "$ref": "#/$defs/nonNegativeIntegerMetric"
4092
+ },
4093
+ "harness_spawned_secondary_agent_count": {
4094
+ "$ref": "#/$defs/nonNegativeIntegerMetric"
4095
+ },
4096
+ "subagent_activity": {
4097
+ "$ref": "#/$defs/nonNegativeIntegerMetric"
4098
+ },
4099
+ "capability_downgrade_count": {
4100
+ "$ref": "#/$defs/nonNegativeIntegerMetric"
4101
+ },
4102
+ "runtime_unavailable_reason": {
4103
+ "type": "object",
4104
+ "additionalProperties": false,
4105
+ "required": [
4106
+ "code",
4107
+ "digest",
4108
+ "bytes"
4109
+ ],
4110
+ "properties": {
4111
+ "code": {
4112
+ "$ref": "#/$defs/stringMetric"
4113
+ },
4114
+ "digest": {
4115
+ "$ref": "#/$defs/digestMetric"
4116
+ },
4117
+ "bytes": {
4118
+ "$ref": "#/$defs/nonNegativeIntegerMetric"
4119
+ }
4120
+ }
4121
+ }
4122
+ }
4123
+ }
4124
+ },
4125
+ "$comment": "Additive actual-condition schema; original wire schema_path retained. Requires reverified primary controller producer scope. No scoring rules changed."
4126
+ }