@hiroshi.inoue/agent-spectrum-kernel 0.0.0-stage → 1.0.1

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