project-tiny-context-harness 0.8.17 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (983) hide show
  1. package/README.md +74 -481
  2. package/assets/agents/AGENTS_CORE.md +11 -87
  3. package/assets/tools/context_rules.json +54 -0
  4. package/dist/cli.js +2 -1
  5. package/dist/commands/context-create.d.ts +1 -0
  6. package/dist/commands/context-create.js +90 -0
  7. package/dist/commands/context-inspect.d.ts +1 -0
  8. package/dist/commands/context-inspect.js +28 -0
  9. package/dist/commands/context-list.d.ts +1 -0
  10. package/dist/commands/context-list.js +24 -0
  11. package/dist/commands/context-move.d.ts +1 -0
  12. package/dist/commands/context-move.js +78 -0
  13. package/dist/commands/context-register.d.ts +1 -0
  14. package/dist/commands/context-register.js +110 -0
  15. package/dist/commands/context-transaction.d.ts +1 -0
  16. package/dist/commands/context-transaction.js +84 -0
  17. package/dist/commands/context.d.ts +1 -0
  18. package/dist/commands/context.js +40 -0
  19. package/dist/commands/doctor.d.ts +1 -1
  20. package/dist/commands/doctor.js +44 -3
  21. package/dist/commands/index.js +38 -51
  22. package/dist/commands/init.d.ts +0 -2
  23. package/dist/commands/init.js +26 -108
  24. package/dist/commands/upgrade.js +14 -2
  25. package/dist/commands/validate.js +1 -1
  26. package/dist/index.d.ts +2 -13
  27. package/dist/index.js +2 -12
  28. package/dist/lib/cli-exit.d.ts +14 -0
  29. package/dist/lib/cli-exit.js +19 -0
  30. package/dist/lib/config.js +14 -45
  31. package/dist/lib/constants.d.ts +1 -1
  32. package/dist/lib/constants.js +1 -1
  33. package/dist/lib/context-catalog/catalog-default-footprint.d.ts +3 -0
  34. package/dist/lib/context-catalog/catalog-default-footprint.js +51 -0
  35. package/dist/lib/context-catalog/catalog-diagnostics.d.ts +9 -0
  36. package/dist/lib/context-catalog/catalog-diagnostics.js +34 -0
  37. package/dist/lib/context-catalog/catalog-discovery.d.ts +7 -0
  38. package/dist/lib/context-catalog/catalog-discovery.js +81 -0
  39. package/dist/lib/context-catalog/catalog-load.d.ts +8 -0
  40. package/dist/lib/context-catalog/catalog-load.js +205 -0
  41. package/dist/lib/context-catalog/catalog-path-validation.d.ts +7 -0
  42. package/dist/lib/context-catalog/catalog-path-validation.js +72 -0
  43. package/dist/lib/context-catalog/catalog-paths.d.ts +11 -0
  44. package/dist/lib/context-catalog/catalog-paths.js +41 -0
  45. package/dist/lib/context-catalog/catalog-portable-contract.d.ts +15 -0
  46. package/dist/lib/context-catalog/catalog-portable-contract.js +68 -0
  47. package/dist/lib/context-catalog/catalog-staged-path-safety.d.ts +1 -0
  48. package/dist/lib/context-catalog/catalog-staged-path-safety.js +36 -0
  49. package/dist/lib/context-catalog/catalog-types.d.ts +40 -0
  50. package/dist/lib/context-catalog/catalog-validation.d.ts +9 -0
  51. package/dist/lib/context-catalog/catalog-validation.js +156 -0
  52. package/dist/lib/context-controlling-source.d.ts +4 -0
  53. package/dist/lib/context-controlling-source.js +106 -0
  54. package/dist/lib/context-create/context-create-path.d.ts +2 -0
  55. package/dist/lib/context-create/context-create-path.js +30 -0
  56. package/dist/lib/context-create/context-create-template.d.ts +2 -0
  57. package/dist/lib/context-create/context-create-template.js +95 -0
  58. package/dist/lib/context-create/context-create-types.d.ts +28 -0
  59. package/dist/lib/context-create/context-create-write.d.ts +1 -0
  60. package/dist/lib/context-create/context-create-write.js +85 -0
  61. package/dist/lib/context-create/context-create.d.ts +2 -0
  62. package/dist/lib/context-create/context-create.js +86 -0
  63. package/dist/lib/context-default-footprint.d.ts +2 -3
  64. package/dist/lib/context-default-footprint.js +51 -57
  65. package/dist/lib/context-doctor/context-doctor-types.d.ts +6 -0
  66. package/dist/lib/context-doctor/context-doctor-types.js +3 -0
  67. package/dist/lib/context-export.js +17 -9
  68. package/dist/lib/context-inspect/context-inspect-projection.d.ts +8 -0
  69. package/dist/lib/context-inspect/context-inspect-projection.js +48 -0
  70. package/dist/lib/context-inspect/context-inspect-render.d.ts +2 -0
  71. package/dist/lib/context-inspect/context-inspect-render.js +21 -0
  72. package/dist/lib/context-inspect/context-inspect-types.d.ts +29 -0
  73. package/dist/lib/context-inspect/context-inspect.d.ts +2 -0
  74. package/dist/lib/context-inspect/context-inspect.js +77 -0
  75. package/dist/lib/context-manifest-schema.d.ts +2 -1
  76. package/dist/lib/context-manifest-schema.js +6 -21
  77. package/dist/lib/context-manifest.js +1 -41
  78. package/dist/lib/context-markdown/context-markdown-analysis.d.ts +15 -0
  79. package/dist/lib/context-markdown/context-markdown-analysis.js +253 -0
  80. package/dist/lib/context-markdown/context-markdown-extract.d.ts +8 -0
  81. package/dist/lib/context-markdown/context-markdown-extract.js +134 -0
  82. package/dist/lib/context-markdown/context-markdown-types.d.ts +83 -0
  83. package/dist/lib/context-move/context-move-input.d.ts +8 -0
  84. package/dist/lib/context-move/context-move-input.js +17 -0
  85. package/dist/lib/context-move/context-move-literal-scan.d.ts +20 -0
  86. package/dist/lib/context-move/context-move-literal-scan.js +213 -0
  87. package/dist/lib/context-move/context-move-live-validation.d.ts +3 -0
  88. package/dist/lib/context-move/context-move-live-validation.js +56 -0
  89. package/dist/lib/context-move/context-move-markdown-plan.d.ts +22 -0
  90. package/dist/lib/context-move/context-move-markdown-plan.js +39 -0
  91. package/dist/lib/context-move/context-move-projection.d.ts +3 -0
  92. package/dist/lib/context-move/context-move-projection.js +11 -0
  93. package/dist/lib/context-move/context-move-reference-validation.d.ts +11 -0
  94. package/dist/lib/context-move/context-move-reference-validation.js +64 -0
  95. package/dist/lib/context-move/context-move-render.d.ts +2 -0
  96. package/dist/lib/context-move/context-move-render.js +24 -0
  97. package/dist/lib/context-move/context-move-support.d.ts +10 -0
  98. package/dist/lib/context-move/context-move-support.js +88 -0
  99. package/dist/lib/context-move/context-move-transaction-plan.d.ts +24 -0
  100. package/dist/lib/context-move/context-move-transaction-plan.js +108 -0
  101. package/dist/lib/context-move/context-move-types.d.ts +74 -0
  102. package/dist/lib/context-move/context-move.d.ts +8 -0
  103. package/dist/lib/context-move/context-move.js +181 -0
  104. package/dist/lib/context-mutation/manifest-lossless-patch.d.ts +28 -0
  105. package/dist/lib/context-mutation/manifest-lossless-patch.js +219 -0
  106. package/dist/lib/context-mutation/markdown-link-patch.d.ts +34 -0
  107. package/dist/lib/context-mutation/markdown-link-patch.js +143 -0
  108. package/dist/lib/context-mutation/markdown-link-spans.d.ts +10 -0
  109. package/dist/lib/context-mutation/markdown-link-spans.js +179 -0
  110. package/dist/lib/context-mutation/mutation-cas.d.ts +13 -0
  111. package/dist/lib/context-mutation/mutation-cas.js +365 -0
  112. package/dist/lib/context-mutation/mutation-command-support.d.ts +12 -0
  113. package/dist/lib/context-mutation/mutation-command-support.js +57 -0
  114. package/dist/lib/context-mutation/mutation-commit.d.ts +12 -0
  115. package/dist/lib/context-mutation/mutation-commit.js +89 -0
  116. package/dist/lib/context-mutation/mutation-directories.d.ts +5 -0
  117. package/dist/lib/context-mutation/mutation-directories.js +56 -0
  118. package/dist/lib/context-mutation/mutation-file-state.d.ts +14 -0
  119. package/dist/lib/context-mutation/mutation-file-state.js +137 -0
  120. package/dist/lib/context-mutation/mutation-interlock.d.ts +1 -0
  121. package/dist/lib/context-mutation/mutation-interlock.js +9 -0
  122. package/dist/lib/context-mutation/mutation-journal-file-validation.d.ts +1 -0
  123. package/dist/lib/context-mutation/mutation-journal-file-validation.js +106 -0
  124. package/dist/lib/context-mutation/mutation-journal-io.d.ts +5 -0
  125. package/dist/lib/context-mutation/mutation-journal-io.js +55 -0
  126. package/dist/lib/context-mutation/mutation-journal-storage.d.ts +18 -0
  127. package/dist/lib/context-mutation/mutation-journal-storage.js +283 -0
  128. package/dist/lib/context-mutation/mutation-journal-validation-support.d.ts +16 -0
  129. package/dist/lib/context-mutation/mutation-journal-validation-support.js +140 -0
  130. package/dist/lib/context-mutation/mutation-journal-validation.d.ts +3 -0
  131. package/dist/lib/context-mutation/mutation-journal-validation.js +177 -0
  132. package/dist/lib/context-mutation/mutation-journal.d.ts +8 -0
  133. package/dist/lib/context-mutation/mutation-journal.js +111 -0
  134. package/dist/lib/context-mutation/mutation-live-validation.d.ts +3 -0
  135. package/dist/lib/context-mutation/mutation-live-validation.js +51 -0
  136. package/dist/lib/context-mutation/mutation-recovery.d.ts +4 -0
  137. package/dist/lib/context-mutation/mutation-recovery.js +189 -0
  138. package/dist/lib/context-mutation/mutation-staged-fs.d.ts +5 -0
  139. package/dist/lib/context-mutation/mutation-staged-fs.js +56 -0
  140. package/dist/lib/context-mutation/mutation-types.d.ts +103 -0
  141. package/dist/lib/context-register/context-register-input.d.ts +11 -0
  142. package/dist/lib/context-register/context-register-input.js +43 -0
  143. package/dist/lib/context-register/context-register-render.d.ts +2 -0
  144. package/dist/lib/context-register/context-register-render.js +21 -0
  145. package/dist/lib/context-register/context-register-support.d.ts +6 -0
  146. package/dist/lib/context-register/context-register-support.js +46 -0
  147. package/dist/lib/context-register/context-register-types.d.ts +46 -0
  148. package/dist/lib/context-register/context-register.d.ts +8 -0
  149. package/dist/lib/context-register/context-register.js +158 -0
  150. package/dist/lib/context-templates.d.ts +0 -4
  151. package/dist/lib/context-templates.js +1 -210
  152. package/dist/lib/doctor.d.ts +2 -1
  153. package/dist/lib/doctor.js +45 -106
  154. package/dist/lib/fs.js +1 -1
  155. package/dist/lib/{long-task-git.js → git.js} +3 -3
  156. package/dist/lib/init.js +34 -39
  157. package/dist/lib/maintenance-lock.d.ts +3 -0
  158. package/dist/lib/maintenance-lock.js +203 -0
  159. package/dist/lib/maintenance-write.d.ts +3 -0
  160. package/dist/lib/maintenance-write.js +55 -0
  161. package/dist/lib/migrations.d.ts +1 -20
  162. package/dist/lib/migrations.js +48 -714
  163. package/dist/lib/package-json-config.js +34 -21
  164. package/dist/lib/package-source.js +27 -14
  165. package/dist/lib/repository-path-safety.d.ts +3 -0
  166. package/dist/lib/repository-path-safety.js +23 -3
  167. package/dist/lib/retirement-assets.d.ts +13 -0
  168. package/dist/lib/retirement-assets.js +182 -0
  169. package/dist/lib/retirement-binding.d.ts +10 -0
  170. package/dist/lib/retirement-binding.js +59 -0
  171. package/dist/lib/retirement-defaults.d.ts +7 -0
  172. package/dist/lib/retirement-defaults.js +29 -0
  173. package/dist/lib/retirement-plan.d.ts +10 -0
  174. package/dist/lib/retirement-plan.js +96 -0
  175. package/dist/lib/retirement-preflight.d.ts +2 -0
  176. package/dist/lib/retirement-preflight.js +13 -0
  177. package/dist/lib/retirement-references.d.ts +6 -0
  178. package/dist/lib/retirement-references.js +102 -0
  179. package/dist/lib/retirement-runner.d.ts +22 -0
  180. package/dist/lib/retirement-runner.js +217 -0
  181. package/dist/lib/schema-guard.d.ts +1 -0
  182. package/dist/lib/schema-guard.js +47 -6
  183. package/dist/lib/source-files.d.ts +0 -2
  184. package/dist/lib/source-files.js +0 -21
  185. package/dist/lib/source-pack-export.js +4 -1
  186. package/dist/lib/source-pack-manifest.js +93 -38
  187. package/dist/lib/sync-engine.d.ts +7 -1
  188. package/dist/lib/sync-engine.js +38 -336
  189. package/dist/lib/types.d.ts +0 -19
  190. package/dist/lib/upgrade.d.ts +3 -2
  191. package/dist/lib/upgrade.js +30 -40
  192. package/dist/lib/validators.d.ts +4 -1
  193. package/dist/lib/validators.js +76 -517
  194. package/dist/public-api-core.d.ts +15 -0
  195. package/dist/public-api-core.js +15 -0
  196. package/dist/public-types.d.ts +7 -9
  197. package/migrations/README.md +22 -82
  198. package/migrations/schema-4-owned-assets.json +170 -0
  199. package/package.json +18 -22
  200. package/source-mappings.yaml +3 -21
  201. package/assets/README.md +0 -830
  202. package/assets/README.zh-CN.md +0 -497
  203. package/assets/agents/.gitkeep +0 -1
  204. package/assets/agents/long-task-implementation.toml +0 -15
  205. package/assets/context_templates/architecture.md +0 -37
  206. package/assets/context_templates/area.md +0 -40
  207. package/assets/context_templates/context.toml +0 -41
  208. package/assets/context_templates/deployment.md +0 -35
  209. package/assets/context_templates/global.md +0 -57
  210. package/assets/context_templates/product-surface-contract.md +0 -70
  211. package/assets/context_templates/screen-contract.md +0 -205
  212. package/assets/context_templates/verification.md +0 -35
  213. package/assets/github/.gitkeep +0 -1
  214. package/assets/github/harness.yml +0 -41
  215. package/assets/make/.gitkeep +0 -1
  216. package/assets/make/ty-context.mk +0 -48
  217. package/assets/skills/context_development_engineer/SKILL.md +0 -58
  218. package/assets/skills/context_development_engineer/references/engineering-design-reasoning.md +0 -93
  219. package/assets/skills/context_full_project_export/SKILL.md +0 -70
  220. package/assets/skills/context_harness_upgrade/SKILL.md +0 -60
  221. package/assets/skills/context_product_plan/SKILL.md +0 -42
  222. package/assets/skills/context_surface_contract/SKILL.md +0 -205
  223. package/assets/skills/context_uiux_design/SKILL.md +0 -53
  224. package/assets/skills/context_uiux_design/references/task-uiux-analysis.md +0 -82
  225. package/assets/skills/design-resource-authoring/SKILL.md +0 -60
  226. package/assets/skills/design-resource-authoring/references/downstream-handoff.md +0 -63
  227. package/assets/skills/design-resource-authoring/references/formal-selected-web-app-handoff.md +0 -114
  228. package/assets/skills/design-resource-authoring/references/implementation-feasibility.md +0 -111
  229. package/assets/skills/design-resource-authoring/references/open-design-provider.md +0 -198
  230. package/assets/skills/design-resource-authoring/references/recovery-and-writeback.md +0 -205
  231. package/assets/skills/design-resource-authoring/references/resource-selection.md +0 -290
  232. package/assets/skills/design-system-authoring/SKILL.md +0 -57
  233. package/assets/skills/design-system-authoring/agents/openai.yaml +0 -6
  234. package/assets/skills/design-system-authoring/references/authority-adoption.md +0 -48
  235. package/assets/skills/design-system-authoring/references/open-design-design-system-provider.md +0 -110
  236. package/assets/skills/long-task-workflow/SKILL.md +0 -75
  237. package/assets/skills/long-task-workflow/agents/openai.yaml +0 -6
  238. package/assets/skills/long-task-workflow/references/authority-lifecycle.md +0 -80
  239. package/assets/skills/long-task-workflow/references/contract-authoring.md +0 -152
  240. package/assets/skills/long-task-workflow/references/evidence-design.md +0 -121
  241. package/assets/skills/long-task-workflow/references/source-authoring.md +0 -123
  242. package/assets/tools/validate_context.py +0 -442
  243. package/dist/commands/check-modularity.d.ts +0 -1
  244. package/dist/commands/check-modularity.js +0 -181
  245. package/dist/commands/composite-campaign.d.ts +0 -1
  246. package/dist/commands/composite-campaign.js +0 -8
  247. package/dist/commands/composite-long-task.d.ts +0 -1
  248. package/dist/commands/composite-long-task.js +0 -8
  249. package/dist/commands/delivery-set.d.ts +0 -1
  250. package/dist/commands/delivery-set.js +0 -8
  251. package/dist/commands/design-resource-recovery.d.ts +0 -1
  252. package/dist/commands/design-resource-recovery.js +0 -152
  253. package/dist/commands/design-resource.d.ts +0 -1
  254. package/dist/commands/design-resource.js +0 -125
  255. package/dist/commands/disable.d.ts +0 -1
  256. package/dist/commands/disable.js +0 -15
  257. package/dist/commands/enable.d.ts +0 -1
  258. package/dist/commands/enable.js +0 -16
  259. package/dist/commands/long-task-authoring.d.ts +0 -3
  260. package/dist/commands/long-task-authoring.js +0 -216
  261. package/dist/commands/long-task-command-args.d.ts +0 -4
  262. package/dist/commands/long-task-command-args.js +0 -26
  263. package/dist/commands/long-task-explain.d.ts +0 -1
  264. package/dist/commands/long-task-explain.js +0 -52
  265. package/dist/commands/long-task-revision.d.ts +0 -1
  266. package/dist/commands/long-task-revision.js +0 -177
  267. package/dist/commands/long-task.d.ts +0 -1
  268. package/dist/commands/long-task.js +0 -143
  269. package/dist/lib/compact-authoring-support.d.ts +0 -22
  270. package/dist/lib/compact-authoring-support.js +0 -143
  271. package/dist/lib/compact-shared-structure-authoring.d.ts +0 -5
  272. package/dist/lib/compact-shared-structure-authoring.js +0 -9
  273. package/dist/lib/compact-shared-structure-types.d.ts +0 -61
  274. package/dist/lib/compact-shared-structure-validation.d.ts +0 -2
  275. package/dist/lib/compact-shared-structure-validation.js +0 -159
  276. package/dist/lib/compact-shared-structures.d.ts +0 -3
  277. package/dist/lib/compact-shared-structures.js +0 -204
  278. package/dist/lib/context-graph-snapshot.d.ts +0 -18
  279. package/dist/lib/context-graph-snapshot.js +0 -178
  280. package/dist/lib/design-md.d.ts +0 -12
  281. package/dist/lib/design-md.js +0 -169
  282. package/dist/lib/design-resource-fact-enums.d.ts +0 -24
  283. package/dist/lib/design-resource-fact-enums.js +0 -182
  284. package/dist/lib/design-resource-fact-locator-extractors.d.ts +0 -8
  285. package/dist/lib/design-resource-fact-locator-extractors.js +0 -108
  286. package/dist/lib/design-resource-fact-locator-resolver.d.ts +0 -3
  287. package/dist/lib/design-resource-fact-locator-resolver.js +0 -112
  288. package/dist/lib/design-resource-fact-locator-validation.d.ts +0 -5
  289. package/dist/lib/design-resource-fact-locator-validation.js +0 -16
  290. package/dist/lib/design-resource-fact-manifest-catalog.d.ts +0 -4
  291. package/dist/lib/design-resource-fact-manifest-catalog.js +0 -249
  292. package/dist/lib/design-resource-fact-manifest-model.d.ts +0 -91
  293. package/dist/lib/design-resource-fact-manifest-model.js +0 -21
  294. package/dist/lib/design-resource-fact-manifest-shape-axes.d.ts +0 -6
  295. package/dist/lib/design-resource-fact-manifest-shape-axes.js +0 -159
  296. package/dist/lib/design-resource-fact-manifest-shape-evidence.d.ts +0 -4
  297. package/dist/lib/design-resource-fact-manifest-shape-evidence.js +0 -59
  298. package/dist/lib/design-resource-fact-manifest-shape-facts.d.ts +0 -4
  299. package/dist/lib/design-resource-fact-manifest-shape-facts.js +0 -109
  300. package/dist/lib/design-resource-fact-manifest-shape-inspector.d.ts +0 -5
  301. package/dist/lib/design-resource-fact-manifest-shape-inspector.js +0 -144
  302. package/dist/lib/design-resource-fact-manifest-shape.d.ts +0 -7
  303. package/dist/lib/design-resource-fact-manifest-shape.js +0 -75
  304. package/dist/lib/design-resource-fact-manifest-types.d.ts +0 -3
  305. package/dist/lib/design-resource-fact-manifest-types.js +0 -3
  306. package/dist/lib/design-resource-fact-manifest-universe.d.ts +0 -5
  307. package/dist/lib/design-resource-fact-manifest-universe.js +0 -50
  308. package/dist/lib/design-resource-fact-manifest-validation.d.ts +0 -5
  309. package/dist/lib/design-resource-fact-manifest-validation.js +0 -111
  310. package/dist/lib/design-resource-fact-policy.d.ts +0 -43
  311. package/dist/lib/design-resource-fact-policy.js +0 -106
  312. package/dist/lib/design-resource-fact-property-methods.d.ts +0 -3
  313. package/dist/lib/design-resource-fact-property-methods.js +0 -158
  314. package/dist/lib/design-resource-fact-shape-primitives.d.ts +0 -3
  315. package/dist/lib/design-resource-fact-shape-primitives.js +0 -18
  316. package/dist/lib/design-resource-fact-types.d.ts +0 -164
  317. package/dist/lib/design-resource-fact-universe-assets.d.ts +0 -4
  318. package/dist/lib/design-resource-fact-universe-assets.js +0 -71
  319. package/dist/lib/design-resource-fact-universe-catalog.d.ts +0 -4
  320. package/dist/lib/design-resource-fact-universe-catalog.js +0 -161
  321. package/dist/lib/design-resource-fact-universe-conditions.d.ts +0 -2
  322. package/dist/lib/design-resource-fact-universe-conditions.js +0 -92
  323. package/dist/lib/design-resource-fact-universe-facts.d.ts +0 -4
  324. package/dist/lib/design-resource-fact-universe-facts.js +0 -108
  325. package/dist/lib/design-resource-fact-universe-helpers.d.ts +0 -30
  326. package/dist/lib/design-resource-fact-universe-helpers.js +0 -171
  327. package/dist/lib/design-resource-fact-universe-inspector.d.ts +0 -7
  328. package/dist/lib/design-resource-fact-universe-inspector.js +0 -119
  329. package/dist/lib/design-resource-fact-universe-proof.d.ts +0 -4
  330. package/dist/lib/design-resource-fact-universe-proof.js +0 -113
  331. package/dist/lib/design-resource-fact-universe-subjects.d.ts +0 -5
  332. package/dist/lib/design-resource-fact-universe-subjects.js +0 -97
  333. package/dist/lib/design-resource-fact-universe-variations.d.ts +0 -2
  334. package/dist/lib/design-resource-fact-universe-variations.js +0 -75
  335. package/dist/lib/design-resource-fact-value-validation.d.ts +0 -2
  336. package/dist/lib/design-resource-fact-value-validation.js +0 -80
  337. package/dist/lib/design-resource-handoff-bundle-draft.d.ts +0 -11
  338. package/dist/lib/design-resource-handoff-bundle-draft.js +0 -40
  339. package/dist/lib/design-resource-handoff-bundle.d.ts +0 -31
  340. package/dist/lib/design-resource-handoff-bundle.js +0 -152
  341. package/dist/lib/design-resource-handoff-file-primitives.d.ts +0 -4
  342. package/dist/lib/design-resource-handoff-file-primitives.js +0 -16
  343. package/dist/lib/design-resource-handoff-file-validation.d.ts +0 -2
  344. package/dist/lib/design-resource-handoff-file-validation.js +0 -47
  345. package/dist/lib/design-resource-handoff-input-types.d.ts +0 -14
  346. package/dist/lib/design-resource-handoff-manifest-projection.d.ts +0 -4
  347. package/dist/lib/design-resource-handoff-manifest-projection.js +0 -38
  348. package/dist/lib/design-resource-handoff-parser.d.ts +0 -8
  349. package/dist/lib/design-resource-handoff-parser.js +0 -49
  350. package/dist/lib/design-resource-handoff-policy.d.ts +0 -4
  351. package/dist/lib/design-resource-handoff-policy.js +0 -143
  352. package/dist/lib/design-resource-handoff-set-integrity.d.ts +0 -8
  353. package/dist/lib/design-resource-handoff-set-integrity.js +0 -94
  354. package/dist/lib/design-resource-handoff-shape-evidence.d.ts +0 -6
  355. package/dist/lib/design-resource-handoff-shape-evidence.js +0 -187
  356. package/dist/lib/design-resource-handoff-shape-primitives.d.ts +0 -14
  357. package/dist/lib/design-resource-handoff-shape-primitives.js +0 -70
  358. package/dist/lib/design-resource-handoff-shape-structure.d.ts +0 -5
  359. package/dist/lib/design-resource-handoff-shape-structure.js +0 -239
  360. package/dist/lib/design-resource-handoff-shape.d.ts +0 -6
  361. package/dist/lib/design-resource-handoff-shape.js +0 -180
  362. package/dist/lib/design-resource-handoff-snapshot.d.ts +0 -6
  363. package/dist/lib/design-resource-handoff-snapshot.js +0 -25
  364. package/dist/lib/design-resource-handoff-types.d.ts +0 -261
  365. package/dist/lib/design-resource-handoff-types.js +0 -68
  366. package/dist/lib/design-resource-handoff-validation-coverage.d.ts +0 -4
  367. package/dist/lib/design-resource-handoff-validation-coverage.js +0 -223
  368. package/dist/lib/design-resource-handoff-validation-fact-cells.d.ts +0 -2
  369. package/dist/lib/design-resource-handoff-validation-fact-cells.js +0 -60
  370. package/dist/lib/design-resource-handoff-validation-fact-records.d.ts +0 -2
  371. package/dist/lib/design-resource-handoff-validation-fact-records.js +0 -90
  372. package/dist/lib/design-resource-handoff-validation-facts.d.ts +0 -2
  373. package/dist/lib/design-resource-handoff-validation-facts.js +0 -13
  374. package/dist/lib/design-resource-handoff-validation-primitives.d.ts +0 -11
  375. package/dist/lib/design-resource-handoff-validation-primitives.js +0 -26
  376. package/dist/lib/design-resource-handoff-validation-proofs.d.ts +0 -2
  377. package/dist/lib/design-resource-handoff-validation-proofs.js +0 -67
  378. package/dist/lib/design-resource-handoff-validation-resource-closure.d.ts +0 -3
  379. package/dist/lib/design-resource-handoff-validation-resource-closure.js +0 -88
  380. package/dist/lib/design-resource-handoff-validation-structure.d.ts +0 -6
  381. package/dist/lib/design-resource-handoff-validation-structure.js +0 -124
  382. package/dist/lib/design-resource-handoff-validation.d.ts +0 -8
  383. package/dist/lib/design-resource-handoff-validation.js +0 -165
  384. package/dist/lib/design-resource-handoff-web-dependency-validation.d.ts +0 -6
  385. package/dist/lib/design-resource-handoff-web-dependency-validation.js +0 -130
  386. package/dist/lib/design-resource-implementation-feasibility-model.d.ts +0 -35
  387. package/dist/lib/design-resource-implementation-feasibility-model.js +0 -62
  388. package/dist/lib/design-resource-implementation-feasibility-shape-sections.d.ts +0 -43
  389. package/dist/lib/design-resource-implementation-feasibility-shape-sections.js +0 -142
  390. package/dist/lib/design-resource-implementation-feasibility-shape.d.ts +0 -4
  391. package/dist/lib/design-resource-implementation-feasibility-shape.js +0 -154
  392. package/dist/lib/design-resource-implementation-feasibility-source-decision-projection.d.ts +0 -24
  393. package/dist/lib/design-resource-implementation-feasibility-source-decision-projection.js +0 -106
  394. package/dist/lib/design-resource-implementation-feasibility-source-decision.d.ts +0 -21
  395. package/dist/lib/design-resource-implementation-feasibility-source-decision.js +0 -75
  396. package/dist/lib/design-resource-implementation-feasibility-types.d.ts +0 -135
  397. package/dist/lib/design-resource-implementation-feasibility-types.js +0 -37
  398. package/dist/lib/design-resource-implementation-feasibility-validation-cells.d.ts +0 -5
  399. package/dist/lib/design-resource-implementation-feasibility-validation-cells.js +0 -125
  400. package/dist/lib/design-resource-implementation-feasibility-validation-document.d.ts +0 -4
  401. package/dist/lib/design-resource-implementation-feasibility-validation-document.js +0 -167
  402. package/dist/lib/design-resource-implementation-feasibility-validation-facts.d.ts +0 -3
  403. package/dist/lib/design-resource-implementation-feasibility-validation-facts.js +0 -76
  404. package/dist/lib/design-resource-implementation-feasibility-validation-realizations.d.ts +0 -8
  405. package/dist/lib/design-resource-implementation-feasibility-validation-realizations.js +0 -76
  406. package/dist/lib/design-resource-implementation-feasibility-validation-support.d.ts +0 -10
  407. package/dist/lib/design-resource-implementation-feasibility-validation-support.js +0 -75
  408. package/dist/lib/design-resource-implementation-feasibility-validation.d.ts +0 -3
  409. package/dist/lib/design-resource-implementation-feasibility-validation.js +0 -138
  410. package/dist/lib/design-resource-reconciliation-codec.d.ts +0 -2
  411. package/dist/lib/design-resource-reconciliation-codec.js +0 -174
  412. package/dist/lib/design-resource-reconciliation-types.d.ts +0 -62
  413. package/dist/lib/design-resource-reconciliation.d.ts +0 -3
  414. package/dist/lib/design-resource-reconciliation.js +0 -224
  415. package/dist/lib/design-resource-recovery-authority-policy.d.ts +0 -8
  416. package/dist/lib/design-resource-recovery-authority-policy.js +0 -123
  417. package/dist/lib/design-resource-recovery-catalog-resources.d.ts +0 -6
  418. package/dist/lib/design-resource-recovery-catalog-resources.js +0 -121
  419. package/dist/lib/design-resource-recovery-catalog-shape.d.ts +0 -3
  420. package/dist/lib/design-resource-recovery-catalog-shape.js +0 -104
  421. package/dist/lib/design-resource-recovery-catalog.d.ts +0 -9
  422. package/dist/lib/design-resource-recovery-catalog.js +0 -103
  423. package/dist/lib/design-resource-recovery-cleanup.d.ts +0 -2
  424. package/dist/lib/design-resource-recovery-cleanup.js +0 -11
  425. package/dist/lib/design-resource-recovery-codec-primitives.d.ts +0 -19
  426. package/dist/lib/design-resource-recovery-codec-primitives.js +0 -92
  427. package/dist/lib/design-resource-recovery-codec.d.ts +0 -4
  428. package/dist/lib/design-resource-recovery-codec.js +0 -93
  429. package/dist/lib/design-resource-recovery-current.d.ts +0 -9
  430. package/dist/lib/design-resource-recovery-current.js +0 -41
  431. package/dist/lib/design-resource-recovery-delta-policy.d.ts +0 -5
  432. package/dist/lib/design-resource-recovery-delta-policy.js +0 -108
  433. package/dist/lib/design-resource-recovery-files.d.ts +0 -37
  434. package/dist/lib/design-resource-recovery-files.js +0 -204
  435. package/dist/lib/design-resource-recovery-final-disposition-shape.d.ts +0 -2
  436. package/dist/lib/design-resource-recovery-final-disposition-shape.js +0 -47
  437. package/dist/lib/design-resource-recovery-patch-types.d.ts +0 -54
  438. package/dist/lib/design-resource-recovery-replay.d.ts +0 -7
  439. package/dist/lib/design-resource-recovery-replay.js +0 -112
  440. package/dist/lib/design-resource-recovery-repository-bindings.d.ts +0 -9
  441. package/dist/lib/design-resource-recovery-repository-bindings.js +0 -49
  442. package/dist/lib/design-resource-recovery-schema.d.ts +0 -5
  443. package/dist/lib/design-resource-recovery-schema.js +0 -5
  444. package/dist/lib/design-resource-recovery-shape.d.ts +0 -10
  445. package/dist/lib/design-resource-recovery-shape.js +0 -184
  446. package/dist/lib/design-resource-recovery-source-authority.d.ts +0 -5
  447. package/dist/lib/design-resource-recovery-source-authority.js +0 -219
  448. package/dist/lib/design-resource-recovery-text.d.ts +0 -17
  449. package/dist/lib/design-resource-recovery-text.js +0 -186
  450. package/dist/lib/design-resource-recovery-types.d.ts +0 -197
  451. package/dist/lib/design-resource-recovery-writeback-policy.d.ts +0 -5
  452. package/dist/lib/design-resource-recovery-writeback-policy.js +0 -326
  453. package/dist/lib/design-resource-recovery-writeback-shape.d.ts +0 -6
  454. package/dist/lib/design-resource-recovery-writeback-shape.js +0 -155
  455. package/dist/lib/design-resource-recovery.d.ts +0 -44
  456. package/dist/lib/design-resource-recovery.js +0 -216
  457. package/dist/lib/design-resource-symbolic-applicability-authority.d.ts +0 -7
  458. package/dist/lib/design-resource-symbolic-applicability-authority.js +0 -19
  459. package/dist/lib/design-resource-symbolic-applicability-policy.d.ts +0 -12
  460. package/dist/lib/design-resource-symbolic-applicability-policy.js +0 -79
  461. package/dist/lib/design-resource-symbolic-applicability-profiles.d.ts +0 -8
  462. package/dist/lib/design-resource-symbolic-applicability-profiles.js +0 -55
  463. package/dist/lib/design-resource-symbolic-applicability-shape.d.ts +0 -2
  464. package/dist/lib/design-resource-symbolic-applicability-shape.js +0 -76
  465. package/dist/lib/design-resource-symbolic-applicability-validation.d.ts +0 -7
  466. package/dist/lib/design-resource-symbolic-applicability-validation.js +0 -128
  467. package/dist/lib/design-resource-symbolic-compilation.d.ts +0 -3
  468. package/dist/lib/design-resource-symbolic-compilation.js +0 -13
  469. package/dist/lib/design-resource-symbolic-denotation.d.ts +0 -3
  470. package/dist/lib/design-resource-symbolic-denotation.js +0 -167
  471. package/dist/lib/design-resource-symbolic-disposition-validation.d.ts +0 -4
  472. package/dist/lib/design-resource-symbolic-disposition-validation.js +0 -28
  473. package/dist/lib/design-resource-symbolic-fact-policy.d.ts +0 -12
  474. package/dist/lib/design-resource-symbolic-fact-policy.js +0 -12
  475. package/dist/lib/design-resource-symbolic-fact-shape.d.ts +0 -3
  476. package/dist/lib/design-resource-symbolic-fact-shape.js +0 -140
  477. package/dist/lib/design-resource-symbolic-fact-types.d.ts +0 -218
  478. package/dist/lib/design-resource-symbolic-fact-validation.d.ts +0 -3
  479. package/dist/lib/design-resource-symbolic-fact-validation.js +0 -99
  480. package/dist/lib/design-resource-symbolic-indexes.d.ts +0 -23
  481. package/dist/lib/design-resource-symbolic-indexes.js +0 -54
  482. package/dist/lib/design-resource-symbolic-manifest-shape.d.ts +0 -3
  483. package/dist/lib/design-resource-symbolic-manifest-shape.js +0 -155
  484. package/dist/lib/design-resource-symbolic-manifest-validation.d.ts +0 -6
  485. package/dist/lib/design-resource-symbolic-manifest-validation.js +0 -132
  486. package/dist/lib/design-resource-symbolic-noninterference-artifact.d.ts +0 -33
  487. package/dist/lib/design-resource-symbolic-noninterference-artifact.js +0 -110
  488. package/dist/lib/design-resource-symbolic-noninterference-equivalence.d.ts +0 -3
  489. package/dist/lib/design-resource-symbolic-noninterference-equivalence.js +0 -77
  490. package/dist/lib/design-resource-symbolic-noninterference-recompute.d.ts +0 -4
  491. package/dist/lib/design-resource-symbolic-noninterference-recompute.js +0 -146
  492. package/dist/lib/design-resource-symbolic-noninterference-scope.d.ts +0 -7
  493. package/dist/lib/design-resource-symbolic-noninterference-scope.js +0 -49
  494. package/dist/lib/design-resource-symbolic-noninterference-shape.d.ts +0 -2
  495. package/dist/lib/design-resource-symbolic-noninterference-shape.js +0 -152
  496. package/dist/lib/design-resource-symbolic-noninterference-types.d.ts +0 -103
  497. package/dist/lib/design-resource-symbolic-noninterference-types.js +0 -1
  498. package/dist/lib/design-resource-symbolic-noninterference-validation.d.ts +0 -5
  499. package/dist/lib/design-resource-symbolic-noninterference-validation.js +0 -62
  500. package/dist/lib/design-resource-symbolic-oracle-fingerprint.d.ts +0 -1
  501. package/dist/lib/design-resource-symbolic-oracle-fingerprint.js +0 -47
  502. package/dist/lib/design-resource-symbolic-predicate-shape.d.ts +0 -6
  503. package/dist/lib/design-resource-symbolic-predicate-shape.js +0 -123
  504. package/dist/lib/design-resource-symbolic-production-closure.d.ts +0 -4
  505. package/dist/lib/design-resource-symbolic-production-closure.js +0 -144
  506. package/dist/lib/design-resource-symbolic-proof-authority-validation.d.ts +0 -10
  507. package/dist/lib/design-resource-symbolic-proof-authority-validation.js +0 -68
  508. package/dist/lib/design-resource-symbolic-proof-validation.d.ts +0 -10
  509. package/dist/lib/design-resource-symbolic-proof-validation.js +0 -89
  510. package/dist/lib/design-resource-symbolic-region-validation.d.ts +0 -19
  511. package/dist/lib/design-resource-symbolic-region-validation.js +0 -146
  512. package/dist/lib/design-resource-symbolic-resource-validation.d.ts +0 -5
  513. package/dist/lib/design-resource-symbolic-resource-validation.js +0 -90
  514. package/dist/lib/design-resource-symbolic-rule-shape.d.ts +0 -27
  515. package/dist/lib/design-resource-symbolic-rule-shape.js +0 -158
  516. package/dist/lib/design-resource-symbolic-safety-validation.d.ts +0 -6
  517. package/dist/lib/design-resource-symbolic-safety-validation.js +0 -29
  518. package/dist/lib/design-resource-symbolic-source-ir-evaluation.d.ts +0 -19
  519. package/dist/lib/design-resource-symbolic-source-ir-evaluation.js +0 -74
  520. package/dist/lib/design-resource-symbolic-source-ir-evidence.d.ts +0 -44
  521. package/dist/lib/design-resource-symbolic-source-ir-evidence.js +0 -88
  522. package/dist/lib/design-resource-symbolic-source-ir-oracle.d.ts +0 -13
  523. package/dist/lib/design-resource-symbolic-source-ir-oracle.js +0 -96
  524. package/dist/lib/design-resource-symbolic-source-ir-proof.d.ts +0 -14
  525. package/dist/lib/design-resource-symbolic-source-ir-proof.js +0 -98
  526. package/dist/lib/design-resource-symbolic-source-ir-shape.d.ts +0 -2
  527. package/dist/lib/design-resource-symbolic-source-ir-shape.js +0 -38
  528. package/dist/lib/design-resource-symbolic-source-ir-types.d.ts +0 -17
  529. package/dist/lib/design-resource-symbolic-source-ir-types.js +0 -2
  530. package/dist/lib/design-resource-symbolic-static-dependency-validation.d.ts +0 -2
  531. package/dist/lib/design-resource-symbolic-static-dependency-validation.js +0 -83
  532. package/dist/lib/design-resource-symbolic-structural-closure-validation.d.ts +0 -6
  533. package/dist/lib/design-resource-symbolic-structural-closure-validation.js +0 -79
  534. package/dist/lib/design-resource-symbolic-validation-support.d.ts +0 -29
  535. package/dist/lib/design-resource-symbolic-validation-support.js +0 -111
  536. package/dist/lib/design-resource-v1-capacity-header.d.ts +0 -8
  537. package/dist/lib/design-resource-v1-capacity-header.js +0 -231
  538. package/dist/lib/design-resource-v1-capacity.d.ts +0 -5
  539. package/dist/lib/design-resource-v1-capacity.js +0 -45
  540. package/dist/lib/execution-target-capabilities.d.ts +0 -2
  541. package/dist/lib/execution-target-capabilities.js +0 -45
  542. package/dist/lib/legacy-managed-scan.d.ts +0 -2
  543. package/dist/lib/legacy-managed-scan.js +0 -95
  544. package/dist/lib/legacy-sdlc-migration.d.ts +0 -2
  545. package/dist/lib/legacy-sdlc-migration.js +0 -199
  546. package/dist/lib/long-task-acceptance-reference.d.ts +0 -22
  547. package/dist/lib/long-task-acceptance-reference.js +0 -46
  548. package/dist/lib/long-task-acceptance-shape.d.ts +0 -5
  549. package/dist/lib/long-task-acceptance-shape.js +0 -198
  550. package/dist/lib/long-task-activation-validation.d.ts +0 -21
  551. package/dist/lib/long-task-activation-validation.js +0 -243
  552. package/dist/lib/long-task-admitted-observation-records.d.ts +0 -25
  553. package/dist/lib/long-task-admitted-observation-records.js +0 -40
  554. package/dist/lib/long-task-admitted-observation.d.ts +0 -93
  555. package/dist/lib/long-task-admitted-observation.js +0 -201
  556. package/dist/lib/long-task-applicability-shape.d.ts +0 -4
  557. package/dist/lib/long-task-applicability-shape.js +0 -54
  558. package/dist/lib/long-task-artifacts.d.ts +0 -6
  559. package/dist/lib/long-task-artifacts.js +0 -35
  560. package/dist/lib/long-task-assertions-v2.d.ts +0 -22
  561. package/dist/lib/long-task-assertions-v2.js +0 -220
  562. package/dist/lib/long-task-authoring-authority-preview.d.ts +0 -5
  563. package/dist/lib/long-task-authoring-authority-preview.js +0 -87
  564. package/dist/lib/long-task-authoring-preflight-diagnostics.d.ts +0 -8
  565. package/dist/lib/long-task-authoring-preflight-diagnostics.js +0 -191
  566. package/dist/lib/long-task-authoring-preflight-repair-order.d.ts +0 -8
  567. package/dist/lib/long-task-authoring-preflight-repair-order.js +0 -98
  568. package/dist/lib/long-task-authoring-preflight-types.d.ts +0 -46
  569. package/dist/lib/long-task-authoring-preflight-types.js +0 -38
  570. package/dist/lib/long-task-authoring-preflight.d.ts +0 -3
  571. package/dist/lib/long-task-authoring-preflight.js +0 -86
  572. package/dist/lib/long-task-authority-material-diff.d.ts +0 -17
  573. package/dist/lib/long-task-authority-material-diff.js +0 -221
  574. package/dist/lib/long-task-authority-materials.d.ts +0 -7
  575. package/dist/lib/long-task-authority-materials.js +0 -166
  576. package/dist/lib/long-task-authority-policy.d.ts +0 -287
  577. package/dist/lib/long-task-authority-policy.js +0 -307
  578. package/dist/lib/long-task-authority-revision-analysis.d.ts +0 -34
  579. package/dist/lib/long-task-authority-revision-analysis.js +0 -121
  580. package/dist/lib/long-task-authority-revision-brief.d.ts +0 -3
  581. package/dist/lib/long-task-authority-revision-brief.js +0 -76
  582. package/dist/lib/long-task-authority-revision-details.d.ts +0 -21
  583. package/dist/lib/long-task-authority-revision-details.js +0 -204
  584. package/dist/lib/long-task-authority-revision-diagnosis.d.ts +0 -24
  585. package/dist/lib/long-task-authority-revision-diagnosis.js +0 -149
  586. package/dist/lib/long-task-authority-revision-enforcement.d.ts +0 -5
  587. package/dist/lib/long-task-authority-revision-enforcement.js +0 -53
  588. package/dist/lib/long-task-authority-revision-summary.d.ts +0 -14
  589. package/dist/lib/long-task-authority-revision-summary.js +0 -246
  590. package/dist/lib/long-task-authority-revision-types.d.ts +0 -119
  591. package/dist/lib/long-task-authority-revision-types.js +0 -1
  592. package/dist/lib/long-task-authority-revision.d.ts +0 -4
  593. package/dist/lib/long-task-authority-revision.js +0 -156
  594. package/dist/lib/long-task-authority-transition-policy.d.ts +0 -62
  595. package/dist/lib/long-task-authority-transition-policy.js +0 -62
  596. package/dist/lib/long-task-authority-types.d.ts +0 -129
  597. package/dist/lib/long-task-authority-types.js +0 -1
  598. package/dist/lib/long-task-authority.d.ts +0 -7
  599. package/dist/lib/long-task-authority.js +0 -200
  600. package/dist/lib/long-task-boundary-check.d.ts +0 -15
  601. package/dist/lib/long-task-boundary-check.js +0 -9
  602. package/dist/lib/long-task-check-evidence-decoder.d.ts +0 -3
  603. package/dist/lib/long-task-check-evidence-decoder.js +0 -84
  604. package/dist/lib/long-task-check-execution-policy.d.ts +0 -21
  605. package/dist/lib/long-task-check-execution-policy.js +0 -48
  606. package/dist/lib/long-task-check-runner.d.ts +0 -2
  607. package/dist/lib/long-task-check-runner.js +0 -307
  608. package/dist/lib/long-task-check-shape.d.ts +0 -2
  609. package/dist/lib/long-task-check-shape.js +0 -171
  610. package/dist/lib/long-task-claim-definitions.d.ts +0 -7
  611. package/dist/lib/long-task-claim-definitions.js +0 -85
  612. package/dist/lib/long-task-claim-proof-policy.d.ts +0 -4
  613. package/dist/lib/long-task-claim-proof-policy.js +0 -57
  614. package/dist/lib/long-task-claims.d.ts +0 -28
  615. package/dist/lib/long-task-claims.js +0 -373
  616. package/dist/lib/long-task-codex-agent-profile.d.ts +0 -42
  617. package/dist/lib/long-task-codex-agent-profile.js +0 -276
  618. package/dist/lib/long-task-command-process.d.ts +0 -9
  619. package/dist/lib/long-task-command-process.js +0 -175
  620. package/dist/lib/long-task-compact-authoring-projections.d.ts +0 -12
  621. package/dist/lib/long-task-compact-authoring-projections.js +0 -67
  622. package/dist/lib/long-task-compact-authoring.d.ts +0 -3
  623. package/dist/lib/long-task-compact-authoring.js +0 -173
  624. package/dist/lib/long-task-compact-carrier.d.ts +0 -7
  625. package/dist/lib/long-task-compact-carrier.js +0 -132
  626. package/dist/lib/long-task-compact-parser.d.ts +0 -14
  627. package/dist/lib/long-task-compact-parser.js +0 -123
  628. package/dist/lib/long-task-compact-primitives.d.ts +0 -22
  629. package/dist/lib/long-task-compact-primitives.js +0 -132
  630. package/dist/lib/long-task-compact-projections.d.ts +0 -4
  631. package/dist/lib/long-task-compact-projections.js +0 -153
  632. package/dist/lib/long-task-compact-structure-targets.d.ts +0 -2
  633. package/dist/lib/long-task-compact-structure-targets.js +0 -91
  634. package/dist/lib/long-task-conformance-policy.d.ts +0 -5
  635. package/dist/lib/long-task-conformance-policy.js +0 -37
  636. package/dist/lib/long-task-context-authority-topology.d.ts +0 -7
  637. package/dist/lib/long-task-context-authority-topology.js +0 -37
  638. package/dist/lib/long-task-context-authority.d.ts +0 -14
  639. package/dist/lib/long-task-context-authority.js +0 -66
  640. package/dist/lib/long-task-contract-types.d.ts +0 -266
  641. package/dist/lib/long-task-contract-types.js +0 -1
  642. package/dist/lib/long-task-control-fields.d.ts +0 -12
  643. package/dist/lib/long-task-control-fields.js +0 -66
  644. package/dist/lib/long-task-control-types.d.ts +0 -1
  645. package/dist/lib/long-task-control-types.js +0 -1
  646. package/dist/lib/long-task-counterfactual-claim-policy.d.ts +0 -9
  647. package/dist/lib/long-task-counterfactual-claim-policy.js +0 -72
  648. package/dist/lib/long-task-counterfactual-sandbox.d.ts +0 -13
  649. package/dist/lib/long-task-counterfactual-sandbox.js +0 -115
  650. package/dist/lib/long-task-counterfactual-types.d.ts +0 -38
  651. package/dist/lib/long-task-counterfactual-types.js +0 -1
  652. package/dist/lib/long-task-delivery-compiler.d.ts +0 -13
  653. package/dist/lib/long-task-delivery-compiler.js +0 -155
  654. package/dist/lib/long-task-delivery-parser.d.ts +0 -14
  655. package/dist/lib/long-task-delivery-parser.js +0 -135
  656. package/dist/lib/long-task-delivery-preflight.d.ts +0 -5
  657. package/dist/lib/long-task-delivery-preflight.js +0 -175
  658. package/dist/lib/long-task-delivery-shape.d.ts +0 -6
  659. package/dist/lib/long-task-delivery-shape.js +0 -6
  660. package/dist/lib/long-task-delivery-types.d.ts +0 -13
  661. package/dist/lib/long-task-delivery-types.js +0 -13
  662. package/dist/lib/long-task-delivery-validation.d.ts +0 -6
  663. package/dist/lib/long-task-delivery-validation.js +0 -252
  664. package/dist/lib/long-task-design-feasibility-binding-owners.d.ts +0 -6
  665. package/dist/lib/long-task-design-feasibility-binding-owners.js +0 -52
  666. package/dist/lib/long-task-design-feasibility-binding.d.ts +0 -13
  667. package/dist/lib/long-task-design-feasibility-binding.js +0 -114
  668. package/dist/lib/long-task-design-feasibility-source-closure.d.ts +0 -11
  669. package/dist/lib/long-task-design-feasibility-source-closure.js +0 -78
  670. package/dist/lib/long-task-design-resource-handoff.d.ts +0 -18
  671. package/dist/lib/long-task-design-resource-handoff.js +0 -241
  672. package/dist/lib/long-task-design-resource-method-binding.d.ts +0 -15
  673. package/dist/lib/long-task-design-resource-method-binding.js +0 -297
  674. package/dist/lib/long-task-design-target-capabilities.d.ts +0 -14
  675. package/dist/lib/long-task-design-target-capabilities.js +0 -126
  676. package/dist/lib/long-task-evidence-adapter-policy.d.ts +0 -4
  677. package/dist/lib/long-task-evidence-adapter-policy.js +0 -15
  678. package/dist/lib/long-task-evidence-adapter-types.d.ts +0 -1
  679. package/dist/lib/long-task-evidence-adapter-types.js +0 -1
  680. package/dist/lib/long-task-evidence-capability-codec.d.ts +0 -96
  681. package/dist/lib/long-task-evidence-capability-codec.js +0 -892
  682. package/dist/lib/long-task-evidence-capability-policy.d.ts +0 -9
  683. package/dist/lib/long-task-evidence-capability-policy.js +0 -345
  684. package/dist/lib/long-task-evidence-capability-runtime.d.ts +0 -5
  685. package/dist/lib/long-task-evidence-capability-runtime.js +0 -580
  686. package/dist/lib/long-task-evidence-capability-types.d.ts +0 -276
  687. package/dist/lib/long-task-evidence-capability-types.js +0 -1
  688. package/dist/lib/long-task-evidence-findings.d.ts +0 -5
  689. package/dist/lib/long-task-evidence-findings.js +0 -120
  690. package/dist/lib/long-task-evidence-sensitivity-policy.d.ts +0 -13
  691. package/dist/lib/long-task-evidence-sensitivity-policy.js +0 -166
  692. package/dist/lib/long-task-evidence-v2.d.ts +0 -5
  693. package/dist/lib/long-task-evidence-v2.js +0 -525
  694. package/dist/lib/long-task-exact-comparison.d.ts +0 -16
  695. package/dist/lib/long-task-exact-comparison.js +0 -28
  696. package/dist/lib/long-task-execution-observation.d.ts +0 -24
  697. package/dist/lib/long-task-execution-observation.js +0 -332
  698. package/dist/lib/long-task-explain-acceptance-link.d.ts +0 -50
  699. package/dist/lib/long-task-explain-acceptance-link.js +0 -100
  700. package/dist/lib/long-task-explain-claim-links.d.ts +0 -47
  701. package/dist/lib/long-task-explain-claim-links.js +0 -90
  702. package/dist/lib/long-task-explain-source-links.d.ts +0 -99
  703. package/dist/lib/long-task-explain-source-links.js +0 -51
  704. package/dist/lib/long-task-final-integrity.d.ts +0 -16
  705. package/dist/lib/long-task-final-integrity.js +0 -98
  706. package/dist/lib/long-task-final-v2.d.ts +0 -2
  707. package/dist/lib/long-task-final-v2.js +0 -151
  708. package/dist/lib/long-task-finding-context.d.ts +0 -3
  709. package/dist/lib/long-task-finding-context.js +0 -63
  710. package/dist/lib/long-task-freshness.d.ts +0 -3
  711. package/dist/lib/long-task-freshness.js +0 -80
  712. package/dist/lib/long-task-hook-install.d.ts +0 -26
  713. package/dist/lib/long-task-hook-install.js +0 -381
  714. package/dist/lib/long-task-hook-preflight.d.ts +0 -7
  715. package/dist/lib/long-task-hook-preflight.js +0 -58
  716. package/dist/lib/long-task-json-pointer-observation.d.ts +0 -59
  717. package/dist/lib/long-task-json-pointer-observation.js +0 -184
  718. package/dist/lib/long-task-observation-artifact.d.ts +0 -8
  719. package/dist/lib/long-task-observation-artifact.js +0 -58
  720. package/dist/lib/long-task-observation-authority.d.ts +0 -17
  721. package/dist/lib/long-task-observation-authority.js +0 -348
  722. package/dist/lib/long-task-observation-ownership.d.ts +0 -2
  723. package/dist/lib/long-task-observation-ownership.js +0 -22
  724. package/dist/lib/long-task-outcome-parser.d.ts +0 -4
  725. package/dist/lib/long-task-outcome-parser.js +0 -143
  726. package/dist/lib/long-task-paths.d.ts +0 -48
  727. package/dist/lib/long-task-paths.js +0 -414
  728. package/dist/lib/long-task-playwright-capability-records.d.ts +0 -7
  729. package/dist/lib/long-task-playwright-capability-records.js +0 -218
  730. package/dist/lib/long-task-playwright-case-evidence.d.ts +0 -46
  731. package/dist/lib/long-task-playwright-case-evidence.js +0 -91
  732. package/dist/lib/long-task-playwright-case-primitives.d.ts +0 -28
  733. package/dist/lib/long-task-playwright-case-primitives.js +0 -143
  734. package/dist/lib/long-task-playwright-counterfactual-policy.d.ts +0 -7
  735. package/dist/lib/long-task-playwright-counterfactual-policy.js +0 -125
  736. package/dist/lib/long-task-playwright-evidence.d.ts +0 -8
  737. package/dist/lib/long-task-playwright-evidence.js +0 -147
  738. package/dist/lib/long-task-process-observation.d.ts +0 -6
  739. package/dist/lib/long-task-process-observation.js +0 -117
  740. package/dist/lib/long-task-process-runtime-closure.d.ts +0 -13
  741. package/dist/lib/long-task-process-runtime-closure.js +0 -207
  742. package/dist/lib/long-task-process-table.d.ts +0 -12
  743. package/dist/lib/long-task-process-table.js +0 -119
  744. package/dist/lib/long-task-process-tree.d.ts +0 -9
  745. package/dist/lib/long-task-process-tree.js +0 -138
  746. package/dist/lib/long-task-product-shape.d.ts +0 -8
  747. package/dist/lib/long-task-product-shape.js +0 -197
  748. package/dist/lib/long-task-progress.d.ts +0 -4
  749. package/dist/lib/long-task-progress.js +0 -120
  750. package/dist/lib/long-task-protected-files.d.ts +0 -1
  751. package/dist/lib/long-task-protected-files.js +0 -1
  752. package/dist/lib/long-task-required-proof-surfaces.d.ts +0 -2
  753. package/dist/lib/long-task-required-proof-surfaces.js +0 -13
  754. package/dist/lib/long-task-requirement-shape.d.ts +0 -2
  755. package/dist/lib/long-task-requirement-shape.js +0 -21
  756. package/dist/lib/long-task-risk-surfaces.d.ts +0 -2
  757. package/dist/lib/long-task-risk-surfaces.js +0 -60
  758. package/dist/lib/long-task-risk-types.d.ts +0 -5
  759. package/dist/lib/long-task-risk-types.js +0 -12
  760. package/dist/lib/long-task-risk.d.ts +0 -9
  761. package/dist/lib/long-task-risk.js +0 -137
  762. package/dist/lib/long-task-root-shape.d.ts +0 -5
  763. package/dist/lib/long-task-root-shape.js +0 -182
  764. package/dist/lib/long-task-runner-environment.d.ts +0 -7
  765. package/dist/lib/long-task-runner-environment.js +0 -57
  766. package/dist/lib/long-task-runner-files.d.ts +0 -3
  767. package/dist/lib/long-task-runner-files.js +0 -39
  768. package/dist/lib/long-task-runner-freeze.d.ts +0 -4
  769. package/dist/lib/long-task-runner-freeze.js +0 -303
  770. package/dist/lib/long-task-runtime-types.d.ts +0 -352
  771. package/dist/lib/long-task-runtime-types.js +0 -1
  772. package/dist/lib/long-task-scoped-binding.d.ts +0 -13
  773. package/dist/lib/long-task-scoped-binding.js +0 -11
  774. package/dist/lib/long-task-semantic-assurance-policy.d.ts +0 -4
  775. package/dist/lib/long-task-semantic-assurance-policy.js +0 -52
  776. package/dist/lib/long-task-semantic-contract-types.d.ts +0 -54
  777. package/dist/lib/long-task-semantic-contract-types.js +0 -1
  778. package/dist/lib/long-task-semantic-drift-migration.d.ts +0 -3
  779. package/dist/lib/long-task-semantic-drift-migration.js +0 -104
  780. package/dist/lib/long-task-semantic-fact-binding-types.d.ts +0 -65
  781. package/dist/lib/long-task-semantic-fact-binding-types.js +0 -1
  782. package/dist/lib/long-task-semantic-fact-closure-primitives.d.ts +0 -5
  783. package/dist/lib/long-task-semantic-fact-closure-primitives.js +0 -43
  784. package/dist/lib/long-task-semantic-fact-closure.d.ts +0 -13
  785. package/dist/lib/long-task-semantic-fact-closure.js +0 -51
  786. package/dist/lib/long-task-semantic-fact-contract-closure.d.ts +0 -4
  787. package/dist/lib/long-task-semantic-fact-contract-closure.js +0 -36
  788. package/dist/lib/long-task-semantic-fact-contract-facts.d.ts +0 -4
  789. package/dist/lib/long-task-semantic-fact-contract-facts.js +0 -33
  790. package/dist/lib/long-task-semantic-fact-contract-proofs.d.ts +0 -4
  791. package/dist/lib/long-task-semantic-fact-contract-proofs.js +0 -106
  792. package/dist/lib/long-task-semantic-fact-evidence.d.ts +0 -25
  793. package/dist/lib/long-task-semantic-fact-evidence.js +0 -225
  794. package/dist/lib/long-task-semantic-fact-input-closure.d.ts +0 -4
  795. package/dist/lib/long-task-semantic-fact-input-closure.js +0 -101
  796. package/dist/lib/long-task-semantic-fact-provenance-closure.d.ts +0 -4
  797. package/dist/lib/long-task-semantic-fact-provenance-closure.js +0 -140
  798. package/dist/lib/long-task-semantic-fact-shape.d.ts +0 -3
  799. package/dist/lib/long-task-semantic-fact-shape.js +0 -100
  800. package/dist/lib/long-task-semantic-fact-value-closure.d.ts +0 -3
  801. package/dist/lib/long-task-semantic-fact-value-closure.js +0 -110
  802. package/dist/lib/long-task-semantic-mutation.d.ts +0 -7
  803. package/dist/lib/long-task-semantic-mutation.js +0 -81
  804. package/dist/lib/long-task-shape-primitives.d.ts +0 -21
  805. package/dist/lib/long-task-shape-primitives.js +0 -116
  806. package/dist/lib/long-task-source-authority-types.d.ts +0 -15
  807. package/dist/lib/long-task-source-authority-types.js +0 -1
  808. package/dist/lib/long-task-source-claim-validation.d.ts +0 -5
  809. package/dist/lib/long-task-source-claim-validation.js +0 -99
  810. package/dist/lib/long-task-source-continuity.d.ts +0 -4
  811. package/dist/lib/long-task-source-continuity.js +0 -57
  812. package/dist/lib/long-task-source-inventory.d.ts +0 -2
  813. package/dist/lib/long-task-source-inventory.js +0 -21
  814. package/dist/lib/long-task-source-item-parser.d.ts +0 -11
  815. package/dist/lib/long-task-source-item-parser.js +0 -108
  816. package/dist/lib/long-task-source-markers.d.ts +0 -12
  817. package/dist/lib/long-task-source-markers.js +0 -146
  818. package/dist/lib/long-task-source-owned-sections.d.ts +0 -29
  819. package/dist/lib/long-task-source-owned-sections.js +0 -90
  820. package/dist/lib/long-task-source-shape.d.ts +0 -2
  821. package/dist/lib/long-task-source-shape.js +0 -56
  822. package/dist/lib/long-task-source-target-continuity.d.ts +0 -4
  823. package/dist/lib/long-task-source-target-continuity.js +0 -141
  824. package/dist/lib/long-task-source-target-index.d.ts +0 -15
  825. package/dist/lib/long-task-source-target-index.js +0 -91
  826. package/dist/lib/long-task-source-validation.d.ts +0 -3
  827. package/dist/lib/long-task-source-validation.js +0 -46
  828. package/dist/lib/long-task-stage-policy.d.ts +0 -4
  829. package/dist/lib/long-task-stage-policy.js +0 -126
  830. package/dist/lib/long-task-state.d.ts +0 -79
  831. package/dist/lib/long-task-state.js +0 -611
  832. package/dist/lib/long-task-static-observation-freeze.d.ts +0 -83
  833. package/dist/lib/long-task-static-observation-freeze.js +0 -428
  834. package/dist/lib/long-task-status-projection.d.ts +0 -24
  835. package/dist/lib/long-task-status-projection.js +0 -180
  836. package/dist/lib/long-task-status-v2.d.ts +0 -57
  837. package/dist/lib/long-task-status-v2.js +0 -351
  838. package/dist/lib/long-task-target-policy.d.ts +0 -6
  839. package/dist/lib/long-task-target-policy.js +0 -150
  840. package/dist/lib/long-task-technical-shape.d.ts +0 -3
  841. package/dist/lib/long-task-technical-shape.js +0 -44
  842. package/dist/lib/long-task-ui-design-policy.d.ts +0 -17
  843. package/dist/lib/long-task-ui-design-policy.js +0 -225
  844. package/dist/lib/long-task-ui-surface-policy.d.ts +0 -5
  845. package/dist/lib/long-task-ui-surface-policy.js +0 -112
  846. package/dist/lib/long-task-ui-surface-shape.d.ts +0 -2
  847. package/dist/lib/long-task-ui-surface-shape.js +0 -402
  848. package/dist/lib/long-task-ui-surface-types.d.ts +0 -134
  849. package/dist/lib/long-task-ui-surface-types.js +0 -1
  850. package/dist/lib/long-task-ui-surface-validation.d.ts +0 -13
  851. package/dist/lib/long-task-ui-surface-validation.js +0 -62
  852. package/dist/lib/long-task-verification-preview.d.ts +0 -65
  853. package/dist/lib/long-task-verification-preview.js +0 -120
  854. package/dist/lib/long-task-verifier-authority.d.ts +0 -12
  855. package/dist/lib/long-task-verifier-authority.js +0 -49
  856. package/dist/lib/long-task-verifier-dependency-closure.d.ts +0 -3
  857. package/dist/lib/long-task-verifier-dependency-closure.js +0 -183
  858. package/dist/lib/long-task-verifier-identity.d.ts +0 -2
  859. package/dist/lib/long-task-verifier-identity.js +0 -55
  860. package/dist/lib/long-task-verifier-v2.d.ts +0 -17
  861. package/dist/lib/long-task-verifier-v2.js +0 -330
  862. package/dist/lib/long-task-worker-selection.d.ts +0 -2
  863. package/dist/lib/long-task-worker-selection.js +0 -7
  864. package/dist/lib/long-task-workspace-manifest.d.ts +0 -8
  865. package/dist/lib/long-task-workspace-manifest.js +0 -173
  866. package/dist/lib/long-task-workspace-runtime-types.d.ts +0 -23
  867. package/dist/lib/long-task-workspace-runtime-types.js +0 -1
  868. package/dist/lib/long-task-workspace-scope.d.ts +0 -38
  869. package/dist/lib/long-task-workspace-scope.js +0 -123
  870. package/dist/lib/long-task-workspace-snapshot.d.ts +0 -8
  871. package/dist/lib/long-task-workspace-snapshot.js +0 -176
  872. package/dist/lib/long-task-workspace.d.ts +0 -5
  873. package/dist/lib/long-task-workspace.js +0 -4
  874. package/dist/lib/modularity-capability-migration.d.ts +0 -2
  875. package/dist/lib/modularity-capability-migration.js +0 -165
  876. package/dist/lib/modularity-python.d.ts +0 -7
  877. package/dist/lib/modularity-python.js +0 -191
  878. package/dist/lib/modularity.d.ts +0 -60
  879. package/dist/lib/modularity.js +0 -781
  880. package/dist/lib/profiles.d.ts +0 -13
  881. package/dist/lib/profiles.js +0 -65
  882. package/dist/lib/semantic-fact-base-types.d.ts +0 -14
  883. package/dist/lib/semantic-fact-base-types.js +0 -1
  884. package/dist/lib/semantic-fact-catalog.d.ts +0 -8
  885. package/dist/lib/semantic-fact-catalog.js +0 -191
  886. package/dist/lib/semantic-fact-compact-authoring.d.ts +0 -2
  887. package/dist/lib/semantic-fact-compact-authoring.js +0 -160
  888. package/dist/lib/semantic-fact-compact-capacity.d.ts +0 -9
  889. package/dist/lib/semantic-fact-compact-capacity.js +0 -40
  890. package/dist/lib/semantic-fact-compact-carrier.d.ts +0 -16
  891. package/dist/lib/semantic-fact-compact-carrier.js +0 -146
  892. package/dist/lib/semantic-fact-compact-parser.d.ts +0 -17
  893. package/dist/lib/semantic-fact-compact-parser.js +0 -168
  894. package/dist/lib/semantic-fact-compact-revision.d.ts +0 -11
  895. package/dist/lib/semantic-fact-compact-revision.js +0 -64
  896. package/dist/lib/semantic-fact-compact-support.d.ts +0 -23
  897. package/dist/lib/semantic-fact-compact-support.js +0 -159
  898. package/dist/lib/semantic-fact-condition-shape.d.ts +0 -48
  899. package/dist/lib/semantic-fact-condition-shape.js +0 -111
  900. package/dist/lib/semantic-fact-input-shape.d.ts +0 -34
  901. package/dist/lib/semantic-fact-input-shape.js +0 -111
  902. package/dist/lib/semantic-fact-inventory-types.d.ts +0 -147
  903. package/dist/lib/semantic-fact-inventory-types.js +0 -1
  904. package/dist/lib/semantic-fact-manifest-shape.d.ts +0 -4
  905. package/dist/lib/semantic-fact-manifest-shape.js +0 -135
  906. package/dist/lib/semantic-fact-manifest-types.d.ts +0 -58
  907. package/dist/lib/semantic-fact-manifest-types.js +0 -19
  908. package/dist/lib/semantic-fact-policy-authority.d.ts +0 -8
  909. package/dist/lib/semantic-fact-policy-authority.js +0 -79
  910. package/dist/lib/semantic-fact-policy-census.d.ts +0 -3
  911. package/dist/lib/semantic-fact-policy-census.js +0 -123
  912. package/dist/lib/semantic-fact-policy-condition-references.d.ts +0 -7
  913. package/dist/lib/semantic-fact-policy-condition-references.js +0 -19
  914. package/dist/lib/semantic-fact-policy-conditions.d.ts +0 -2
  915. package/dist/lib/semantic-fact-policy-conditions.js +0 -105
  916. package/dist/lib/semantic-fact-policy-facts.d.ts +0 -3
  917. package/dist/lib/semantic-fact-policy-facts.js +0 -73
  918. package/dist/lib/semantic-fact-policy-primitives.d.ts +0 -26
  919. package/dist/lib/semantic-fact-policy-primitives.js +0 -169
  920. package/dist/lib/semantic-fact-policy-proofs.d.ts +0 -2
  921. package/dist/lib/semantic-fact-policy-proofs.js +0 -75
  922. package/dist/lib/semantic-fact-policy-properties.d.ts +0 -3
  923. package/dist/lib/semantic-fact-policy-properties.js +0 -84
  924. package/dist/lib/semantic-fact-policy-units.d.ts +0 -4
  925. package/dist/lib/semantic-fact-policy-units.js +0 -103
  926. package/dist/lib/semantic-fact-policy.d.ts +0 -17
  927. package/dist/lib/semantic-fact-policy.js +0 -41
  928. package/dist/lib/semantic-fact-proof-shape.d.ts +0 -51
  929. package/dist/lib/semantic-fact-proof-shape.js +0 -121
  930. package/dist/lib/semantic-fact-proof-types.d.ts +0 -74
  931. package/dist/lib/semantic-fact-proof-types.js +0 -1
  932. package/dist/lib/semantic-fact-property-shape.d.ts +0 -29
  933. package/dist/lib/semantic-fact-property-shape.js +0 -77
  934. package/dist/lib/semantic-fact-shape-constants.d.ts +0 -3
  935. package/dist/lib/semantic-fact-shape-constants.js +0 -38
  936. package/dist/lib/semantic-fact-shape-primitives.d.ts +0 -15
  937. package/dist/lib/semantic-fact-shape-primitives.js +0 -68
  938. package/dist/lib/semantic-fact-source-parser.d.ts +0 -14
  939. package/dist/lib/semantic-fact-source-parser.js +0 -87
  940. package/dist/lib/semantic-fact-support-shape.d.ts +0 -21
  941. package/dist/lib/semantic-fact-support-shape.js +0 -59
  942. package/dist/lib/semantic-fact-types.d.ts +0 -5
  943. package/dist/lib/semantic-fact-types.js +0 -5
  944. package/dist/lib/semantic-fact-unit-shape.d.ts +0 -34
  945. package/dist/lib/semantic-fact-unit-shape.js +0 -89
  946. package/dist/lib/semantic-fact-value-shape.d.ts +0 -12
  947. package/dist/lib/semantic-fact-value-shape.js +0 -39
  948. package/dist/lib/source-line-scanner.d.ts +0 -3
  949. package/dist/lib/source-line-scanner.js +0 -42
  950. package/dist/lib/stable-json.d.ts +0 -2
  951. package/dist/lib/stable-json.js +0 -21
  952. package/dist/lib/structural-closure-cost.d.ts +0 -79
  953. package/dist/lib/structural-closure-cost.js +0 -91
  954. package/dist/lib/symbolic-denotation-dag-builder.d.ts +0 -25
  955. package/dist/lib/symbolic-denotation-dag-builder.js +0 -176
  956. package/dist/lib/symbolic-denotation-domain-validation.d.ts +0 -3
  957. package/dist/lib/symbolic-denotation-domain-validation.js +0 -56
  958. package/dist/lib/symbolic-denotation-engine.d.ts +0 -32
  959. package/dist/lib/symbolic-denotation-engine.js +0 -140
  960. package/dist/lib/symbolic-denotation-public.d.ts +0 -11
  961. package/dist/lib/symbolic-denotation-public.js +0 -12
  962. package/dist/lib/symbolic-denotation-runtime.d.ts +0 -20
  963. package/dist/lib/symbolic-denotation-runtime.js +0 -90
  964. package/dist/lib/symbolic-denotation-support.d.ts +0 -11
  965. package/dist/lib/symbolic-denotation-support.js +0 -49
  966. package/dist/lib/symbolic-denotation-types.d.ts +0 -133
  967. package/dist/lib/symbolic-denotation-types.js +0 -18
  968. package/dist/lib/symbolic-denotation-validation.d.ts +0 -6
  969. package/dist/lib/symbolic-denotation-validation.js +0 -126
  970. package/dist/long-task-hook.d.ts +0 -2
  971. package/dist/long-task-hook.js +0 -103
  972. package/dist/schemas/design-resource-symbolic-noninterference-artifact-v2.schema.json +0 -289
  973. package/dist/schemas/design-resource-symbolic-source-ir-v1.schema.json +0 -130
  974. package/dist/schemas/long-task-delivery-v2/long-task-delivery-v2.schema.json +0 -2190
  975. package/dist/schemas/long-task-delivery-v2/long-task-outcomes-v2.schema.json +0 -18
  976. /package/dist/lib/{compact-shared-structure-types.js → context-catalog/catalog-types.js} +0 -0
  977. /package/dist/lib/{design-resource-fact-types.js → context-create/context-create-types.js} +0 -0
  978. /package/dist/lib/{design-resource-handoff-input-types.js → context-inspect/context-inspect-types.js} +0 -0
  979. /package/dist/lib/{design-resource-reconciliation-types.js → context-markdown/context-markdown-types.js} +0 -0
  980. /package/dist/lib/{design-resource-recovery-patch-types.js → context-move/context-move-types.js} +0 -0
  981. /package/dist/lib/{design-resource-recovery-types.js → context-mutation/mutation-types.js} +0 -0
  982. /package/dist/lib/{design-resource-symbolic-fact-types.js → context-register/context-register-types.js} +0 -0
  983. /package/dist/lib/{long-task-git.d.ts → git.d.ts} +0 -0
@@ -1,75 +0,0 @@
1
- ---
2
- name: long-task-workflow
3
- description: Author, preflight, execute, resume, verify, or close one complete Single-Goal Delivery Contract in the currently selected host execution Goal and workspace. Use only when explicitly invoked or a valid common-dir active authority binding exists.
4
- ---
5
-
6
- # Single-Goal Long-Task Workflow
7
-
8
- ## Boundaries
9
-
10
- Use one currently selected host execution Goal, one repository, one selected verification workspace, one complete Contract and one Final Gate. This workflow never creates, invokes or manages a scheduler, agent runtime, App Server, branch/worktree fan-out, merge, push, PR, deployment, legacy orchestration chain, matrix, verdict or second Contract plan. The parent Goal owns Source, Contract, Authority, architecture, Context writeback, integration, current-candidate checks, formal verification, Final Gate, close and completion. Harness never allocates, schedules, retries or recovers delegated workers; their reports are not Progress, Evidence or proof, and every result must converge into the selected verification workspace before verification counts. Never activate from task size alone.
11
-
12
- That Goal is host/user-selected; Harness does not create, persist or reconnect a Goal identifier. Compaction may continue inside it; a later physical Goal/session restores semantic state through `resume`, not a prior Turn. With a valid binding, run `ty-context long-task resume <workdir>`, then directly load the installed `long-task-workflow` Skill; recovery needs no implicit invocation.
13
-
14
- The host/user owns model selection. Exactly one unconditional terminal-turn checkpoint follows the first Authority Lock before implementation. Harness neither switches nor verifies the model, persists checkpoint/acknowledgement/route state, nor creates a model scheduler, automatic switch or native-Goal completion state. Do not otherwise pause a healthy Goal solely to change models.
15
-
16
- A Codex-root `long-task` install may expose fixed package-owned `long_task_implementation` with child agents disabled. It is static, stateless, non-Authority and post-checkpoint; install proves neither selection nor effective model/reasoning/tier. Profile and spawn never set `service_tier`. Exact-call or capability failure returns a packet to the parent; never infer it, use a generic child, or add tiers/retry/scheduling.
17
-
18
- `long-task-delivery-v2` is the active Contract schema. `delivery-contract.yaml` is the root authoring file. New authoring uses inline Outcomes; existing `outcome_files` are compatibility only. Legacy split-delivery commands are non-executing.
19
-
20
- ## Controlling Objective
21
-
22
- Prevent false completion inside declared authority. Given complete and accurate Source, a meaning-preserving Contract projection, complete applicability and the admitted-observer boundary, `AcceptedDeliveryTerminal` implies no declared machine-observable drift remains. Machine completion requires package-admitted Actual and Harness-owned comparison; unsupported proof remains blocking External Confirmation. Implementation may drift or require rework, but every declared requirement, Fact, proof obligation and independently falsifiable AC stays traceable, and every unproved item blocks or qualifies completion.
23
-
24
- Complete Source is not a prose or current-code ceiling. Material non-UI meaning uses the finest independently decidable standard and custom semantic Facts plus every required proof method. For selected design resources, Agent implementation, acceptance and testing fully conform to every material Fact in declared scope and conditions; formal input therefore uses complete canonical acquisition, Census, atomic Fact/proof closure and exact production-target evidence. Deliberately partial design input remains an explicitly scoped constraint or blocking unresolved input; incomplete implementation-source acquisition is blocking, and an exact target requires layout and pixel Facts for every declared condition. `UI symbolic V2 is explicit opt-in; V1 remains the default.` Non-UI symbolic admission remains out of scope; machine-observer and verifier/runner trust-boundary closure is mandatory rather than deferred Provider/P0 work. Read the Source, Contract and Evidence references for the exact V1/V2 authoring and proof rules.
25
-
26
- Only fresh evidence from the complete current final snapshot may create machine acceptance. Exactly fresh `machine_accepted` with no pending External Confirmation is `AcceptedDeliveryTerminal`; `machine_accepted_external_pending` proves only declared machine scope. Progress is repair evidence only and never acceptance authority. Final Gate is the sole Long-Task Engineering Quality Conformance and Architecture Conformance carrier, and it proves only the declared, falsifiable, project-check-bound set—not overall code quality. This adds no quality Boolean, matrix, Source aspect, Claim/risk kind, Contract field, second Gate, state or Receipt, and no separate default Contract Conformance closure runs.
27
-
28
- Anti-Degradation Assurance protects coverage, false-negative resistance, fail-closed Authority and final-snapshot proof before cost. Purpose replacement requires a project-owner design-purpose decision and replacement proof. `F = Implementation Freedom Boundary` leaves methods, feedback, packet decomposition and dynamic count Goal-owned within Source/Contract/safety. After the checkpoint, identify packets before profile/capacity. Each is `independently_safe`, has `positive_expected_parallel_benefit` and `bounded_input_and_output`, is `parent_integratable`, and the set is pairwise `owner_disjoint`, `path_disjoint` and `source_of_truth_disjoint`. Unless explicit user/host policy prohibits agents, make actual host calls for multiple exact workers with `agent_type: long_task_implementation`; intent is not delegation and only call or explicit capability results establish profile/capacity. Count stays dynamic.
29
-
30
- Select one zero-start reason by the Workflow Contract's ordered first-match rule: policy prohibition -> insufficient base candidates -> disjointness conflict -> coordination cost -> actual exact-spawn capacity failure -> other exact-worker unavailability. Unknown capacity is not insufficiency. Once any exact worker starts, later profile/capacity failure is partial delegation rather than a parent-only reason: keep that worker, return the rest to the parent and report the cause; use no generic substitute or retry. A type mismatch returns its packet. Never override `service_tier` or claim unobservable inheritance. Add no development phase/method Gate, fixed count/Outcome mapping, allocator/scheduler, queue/DAG/registry/proof or persistent delegation state.
31
-
32
- Each worker gets one self-contained packet containing its goal, allowed owners and paths, forbidden paths, relevant Source, Contract and Context references, implementation entrypoints, checks, expected return format and known dependency/integration risk. Before dispatch, the parent reads `git status --short` and `git diff --name-only` non-persistently. Workers only implement/check; truth, Authority, spawning, worktrees and acceptance remain parent-owned. `PreToolUse` denies non-exact creation and freshly checks visible profile parity; `SubagentStart` reinforces type without proving trust, effective execution or load atomicity. After return, the parent inspects the actual diff and integrates results only after comparing actual changed paths and the final working-tree diff with the union of packet envelopes. This proves path-envelope conformance, not per-line actor attribution; unexplained/overlapping/out-of-envelope/shared-owner changes block integration and Final Gate.
33
-
34
- ## Progressive Reference Loading
35
-
36
- Read the reference for the current activity completely. These four one-level references are detailed guidance, not new artifacts, stages or authority:
37
-
38
- - For raw, mixed, attachment-heavy, incomplete or conversation-only inputs, read [`references/source-authoring.md`](references/source-authoring.md) alongside Contract authoring. It owns Source inventory, synthesis/refinement, provenance, preference/research decisions, complete semantic input expansion, selected-resource intake and marker convergence inside the same Draft loop.
39
- - Before creating or structurally revising Source markers, Outcomes, requirements, Controls, obligations, applicability, architecture boundaries, paths, Bindings, Assertions or risk, read [`references/contract-authoring.md`](references/contract-authoring.md). It owns the exact Contract projection and structural closure rules, including selected-design V1/V2 authoring.
40
- - Before creating or repairing Checks, runners, Observations, proof surfaces, Counterfactuals, Population/environment probes or selected-design evidence, read [`references/evidence-design.md`](references/evidence-design.md). It owns exact execution evidence, sensitivity and Oracle boundaries.
41
- - Before Preflight, Compile, the one-time model checkpoint, protected revision, resume, targeted verify, Final Gate, Stop, close or abandon, read [`references/authority-lifecycle.md`](references/authority-lifecycle.md). It owns command and lifecycle detail.
42
-
43
- Do not copy reference detail into another Skill, plan or state file. The same `delivery-contract.yaml`, active authority and current workspace remain the only lifecycle surfaces.
44
-
45
- ## Contract Draft And Outcome Decomposition
46
-
47
- Every external initial proposal, selected design resource, ordinary planning document or other material input enters the same non-authoritative `delivery-contract.yaml` Draft immediately. Inventory, Source-quality synthesis/refinement, provenance, markers, repository binding and Contract mapping converge in one `long-task-workflow` lifecycle and need not be completed in one response. Conversation-only material becomes exactly one project-native Markdown Source. Do not create a Source-authoring phase, standalone Contract Draft Skill, Draft Receipt, Authoring State, draft schema/CLI/runtime state, handoff or second plan.
48
-
49
- A Draft Outcome is an Outcome before Authority Lock, not a new schema field or runtime entity. Decompose only vertical, independently observable, decidable and target-verifiable results whose dependencies and owner boundary can be stated. `depends_on` and Stage gates express acceptance and intermediate-proof readiness, never implementation permission. Do not split for response/YAML/file length, implementation layer, module/file count, Agent capacity, Worker assignment or desired parallelism.
50
-
51
- > Outcome decomposes execution and diagnosis, not completion authority.
52
-
53
- ## Lifecycle Summary
54
-
55
- 1. Read the request, real Source, relevant Context, repository owners and selected design resources. Before formal Compile and the first implementation edit, surface one repository-bound `Architecture Deliberation`: owner/extension point/source of truth, dependencies and lifecycle, selected and rejected alternatives, future-change challenge, debt disposition, forbidden shortcuts, project-owned Checks and triggered quality attributes or concrete preservation. Put durable conclusions in owning Context and material falsifiable delivery conclusions in real marked Source plus existing Contract fields. Decide `Context Delta: none|required`.
56
- 2. Open the one Contract Draft immediately. When inputs need Source repair, read Source authoring and Contract authoring together; preserve at least one real `source_path`, complete all required semantic/design closure and repair every `decision_required` item without inventing product meaning.
57
- 3. Run read-only `ty-context long-task preflight <workdir>`, repair the same Draft, then run formal Compile only when Source, Context, Contract, repository scope and proof bindings are ready. Compile creates the first Authority Lock; Preflight creates no Authority, Progress, Receipt or state.
58
- 4. On the first Compile result with `execution_model_checkpoint.required: true`, do no product implementation, edit, build or test; end the turn. Tell a Chinese-speaking user exactly `处理好模型更换后,请仅回复:模型切换卡点解除,继续`; in English use `After handling the model change, reply exactly: model checkpoint cleared, continue`. Generic continuation does not satisfy this managed prompt protocol. Harness observes neither the next host message nor the model change, so this is no machine unlock or attestation. Later Compile returns `required: false` without repeating the pause.
59
- 5. After continuation, begin Goal-owned rolling implementation and apply Delegation Suitability above. Qualifying work gets actual multiple exact `long_task_implementation` calls; otherwise record one admitted solo reason. Keep coupled work in the parent. Refresh Context Delta and Architecture Deliberation when durable scope, ownership, dependency, design, quality or debt changes.
60
- 6. Use targeted verification only when its expected localization value exceeds cost. If authority changes, keep the same Draft and follow protected revision; mechanically bounded repairs may auto-adopt, while semantic weakening or unknown change requires the exact user decision. Adoption returns to rolling implementation and is never completion.
61
- 7. Complete Context, implementation and project tests, create the clean candidate required by the lifecycle reference, then run the one source-recompiled current-snapshot Final Gate. Stop/close and any native Goal completion remain subject to the exact lifecycle and veto rules in the Authority reference.
62
-
63
- ## Rolling Execution
64
-
65
- Apply packet-first above. Outcomes/Stages govern acceptance, not edits; coherent-owner packets may cross them. Parent retains Authority, packet selection, Context, integration and verification; proof-bearing changes converge into the selected verification workspace.
66
-
67
- The derived Frontier is only an acceptance/verification and diagnosis projection. Use `verify --explain [--outcome/--check]` for a read-only cost preview and targeted `verify --outcome/--check` for optional feedback. `progress_stale` is a freshness fact; refresh only before an intermediate decision relies on that Progress. Continuing implementation and entering Final Gate need no targeted refresh because Final Gate ignores Progress and reruns all required Checks. Do not add another model-switch pause, trigger queue, implementation gate, per-edit rebuild rule or per-platform progress state.
68
-
69
- When implementation discovers a blocker, classify it under the existing protected-revision rules. Difficulty or delay never makes machine-verifiable scope external and never removes Source. Keep exact revision identity, old-Authority continuity, compare-and-swap adoption, evidence invalidation and the complete Final Gate; use the lifecycle reference for diagnosis, decision transport, approval and adoption.
70
-
71
- ## Final Authority And Handoff
72
-
73
- Final Gate recompiles Source authority, freezes and rechecks the complete protected current snapshot, reruns every declared Check and sensitivity control and rejects any protected-input, workspace/tree or Active Authority drift. It never trusts historical Progress, Receipt, compiled cache, delegated report or Agent judgment. Before invoking native Goal completion, perform the required veto-only comparison of current user/Goal meaning with accepted marked Source; mismatch returns to Source/Contract repair and creates no second Gate or proof.
74
-
75
- Report implementation/risk, Architecture and Engineering Quality Conformance, Claim Coverage, Stage/target/Gate results, acceptance scope, pending External Confirmations, Context and blockers. Use verifier terms and state boundaries honestly: undeclared/inaccurate Source and unsound project Oracles are not mechanically repaired; Final Gate proves only declared machine authority and its project-check-bound quality set; the host/user owns the native Goal/model; worker injection and reports are not acceptance inputs. The observer remains Level 3; `observed_lifecycle_*` facts cannot replace complete total-cost ROI or the independent audit required for Level 4.
@@ -1,6 +0,0 @@
1
- interface:
2
- display_name: "Long-Task Workflow"
3
- short_description: "Run one Delivery Contract in the current native Goal"
4
- default_prompt: "Use $long-task-workflow for one Canonical Delivery Contract. After the first-Authority-Lock checkpoint, identify qualifying bounded packets before profile/capacity; absent an explicit policy prohibition, make actual calls for multiple exact long_task_implementation workers and let host results determine zero-start or partial fallback. Never infer unavailability, use a generic substitute or fix the count. Keep Source, Contract, Authority, architecture, Context, packet selection, integration and formal verification in the parent Goal."
5
- policy:
6
- allow_implicit_invocation: false
@@ -1,80 +0,0 @@
1
- # Authority Lifecycle Reference
2
-
3
- Read this before Preflight, Compile, revision, resume, targeted verify, Final Gate, Stop, close or abandon.
4
-
5
- ## Preflight And Compile
6
-
7
- Run `ty-context long-task preflight <workdir>` before first formal Compile. Resolve every `error` and `decision_required` diagnostic and review warnings. Preflight is read-only: it creates no Active Authority, initial base, marker, cache, Progress, Receipt or pending revision, runs no project Check and persists no success record.
8
-
9
- Preflight and Compile call the same activation-safety validator. Skipping Preflight bypasses no closed-grammar Source/background continuity, semantic-manifest input/Census/family/unit/relation/population/condition/property/Fact/proof set closure, architecture Source obligation, Control field/relation closure, atomic applicability dimensions, criterion, Claim/all-of-surface, Population universe binding, Stage closure/cross-surface gate, required-target/root/capability/runner binding, scenario/journey separation, capability adequacy, typed external impact, per-Fact semantic proof binding, per-method selected-design artifact binding, bounded Product Conformance, adapter/Observation, risk, owner/path/Binding, recursively frozen verifier dependencies, narrow semantic Counterfactual/liveness or sensitivity rule.
10
-
11
- The same workspace classifier also runs before activation and during verification. Before first lock it classifies `HEAD`-relative current paths; later it classifies immutable-`initial_task_base` changes. Protected authority, declared expected change and allowed support remain distinct from forbidden or unclassified paths, which block activation. During first enable, protection covers only exact files present in the current package asset tree for configured managed destinations plus the exact harness config/hook files; managed directory roots and broad `.codex/**` are never implicitly allowed.
12
-
13
- Preflight keeps every independently discovered diagnostic. When a structural duplicate makes the same Claim ambiguous or repeated, only that pair receives stable `diagnostic_id`, `repair_group`, `repair_priority` and `blocked_by` metadata so the structural blocker is repaired first. Independent findings keep their compact existing shape; no finding is hidden, reclassified or treated as resolved, and no repair state or authority is created.
14
-
15
- The first successful `ty-context long-task compile <workdir>` is Authority Lock and freezes the immutable initial base and complete compiled authority snapshot in Git common-dir, bound to the worktree marker by task id, revision and compiled identity.
16
-
17
- Its JSON result includes `execution_model_checkpoint.required: true`, `action: change_model_in_host_then_continue`, `resume_token: model checkpoint cleared, continue`, `generic_continue_satisfies: false`, `turn_boundary: end_current_turn`, the blocked implementation actions and explicit model non-observability. Always do no product implementation, file edit, build or test after that result, even when an earlier message stated a model strategy. End the turn and tell a Chinese-speaking user exactly `处理好模型更换后,请仅回复:模型切换卡点解除,继续`; use `After handling the model change, reply exactly: model checkpoint cleared, continue` in English. Do not accept a generic continuation under this package-managed prompt protocol. Harness cannot observe the next host message or verify the host model change, and the continuation is neither a machine-enforced unlock nor an acknowledgement record. Later Compile revisions return `required: false`; no checkpoint file, acknowledgement state, model route or automatic model switch is created.
18
-
19
- The optional Codex `long_task_implementation` custom agent is available only as a post-checkpoint rolling implementation affordance. Its fixed package-owned configuration is not a checkpoint option and cannot acknowledge, satisfy or replace the host boundary. It writes no workflow state and owns no Source, Contract, Authority, Context writeback, Progress, Evidence, Receipt or Final Gate; if the exact profile selector or Codex custom-agent support is unavailable, the parent Goal continues directly without a generic substitute and formal acceptance is unchanged. The main Skill owns the complete Delegation Suitability and parent/worker policy.
20
-
21
- ## Protected Revision
22
-
23
- After Authority Lock, every candidate compares against active authority. `authority_changed` does not by itself mean `user_decision_required`:
24
-
25
- 1. proven monotonic evidence strengthening—including added capabilities while preserving every existing Assertion meaning—and proven tightening auto-revise;
26
- 2. mechanically bounded repair may auto-revise when compiled user-facing meaning and proof obligations stay fixed: raw Source/Context snapshot updates with unchanged Claims/targets, operational Runner or verification-input repair, risk strengthening and machine-proven equivalent Counterfactual Claim/assertion-failure coverage;
27
- 3. repo-bound owner/expected-change/allowed-support or Binding-carrier expansion may auto-revise; `diagnose-revision` may exercise existing active Check identities without creating state before final Compile; or
28
- 4. Product/Source Claim/target/external-confirmation change, lost scenario/Claim/Evidence Capability/failure interception, forbidden or owner-Context removal, runner type/effect change, verifier-kernel change and every unknown reason fails closed for the exact revision identity and is never candidate-executed.
29
-
30
- Automatic adoption never means “unprotected”: exact identity, active-Authority compare-and-swap, affected-evidence invalidation and the complete source-recompiled Final Gate remain mandatory. Risk downgrade is still rejected.
31
-
32
- `diagnose-revision` recompiles the same `delivery-contract.yaml` in memory, creates only a disposable workspace snapshot when class 2 is proven, and returns transient repair results with `acceptance_authorized: false`. It writes no pending/approval state, authority/marker, cache, Progress or Receipt. Repeated edits therefore accumulate only in the one existing Contract authoring file, not a pending Draft authority or candidate state plane.
33
-
34
- Ordinary `compile --revise` is the only operation that may create the one pending decision. It binds a deterministic concise change summary into the revision identity and distinguishes `user_decision_reasons` from `mechanically_bounded_reasons`. Compile/status/resume derive the same self-contained `decision_brief` from that canonical summary. The brief explains what Authority Revision is, why this one needs a decision, material changes, affected Outcomes, previous-Authority/reject behavior, the no-completion effect and mandatory Final Gate.
35
-
36
- Present that brief before asking for the exact identity. First compare every listed decision reason with explicit instructions in the current task: if one task-specific instruction already covers all of them exactly, mechanically relay that existing user decision through the exact approval command without asking again. This is decision transport, not Agent approval. A generic continue/resume/finish, blanket “approve later revisions”, recommendation, partial coverage or Agent inference never qualifies. The executing Agent never originates its own weakening decision.
37
-
38
- During repair, use stateless diagnosis and ordinary edits; do not invoke decision-producing Compile for intermediate candidates. Withdrawn or replaced identities therefore generate no question. When the final blocking candidate is stable, ask at most once. If it later changes, its identity changes and any old approval is rejected. No instruction ledger, standing approval or candidate state is created.
39
-
40
- The previous Authority remains active until exact approval and compare-and-swap adoption. Adoption reports `delivery_completed_by_this_event: false`, invalidates affected evidence and returns to rolling implementation or repair under the revised Authority; the complete source-recompiled Final Gate remains mandatory.
41
-
42
- Every path-bearing field uses canonical grammar. Internal `.`/`..`, control characters, empty segments, absolute/drive/UNC paths and unsupported glob syntax fail closed.
43
-
44
- Controlling Context includes core Context, explicit `context_refs`, verification/deployment Context and every selected Context file. `context_snapshot_mode: full` is mandatory; legacy referenced-mode Contracts require semantic migration rather than silently retaining a partial authority snapshot.
45
-
46
- A selected design target, its exact/constraint interpretation, an authored token source or any applicable Control semantic is product/verification authority, not generated evidence. External design resources are ordinary Context-reachable Source: a candidate or unresolved selection cannot authorize fidelity work, while a selected exact target still requires downstream UI Authority Closure, stable key, readable immutable identity/digest, declared Fact universe, editable upstream/update route and Contract adoption. Open every affected exact target/constraint during authoring and repair; a registry mention alone is not consumption. Adding or changing its selected resource, selection basis, immutable identity, condition/variation/property/Fact/proof universe, expected located digest, comparator/tolerance/mask, Oracle/environment, sensitivity policy or acceptance-affecting token/prototype fixture after Authority Lock follows Authority Revision and returns to rolling implementation. Never silently overwrite an adopted baseline; a candidate/planned target, implementation screenshot or historical diff cannot authorize fidelity work or preserve affected Progress by itself.
47
-
48
- `context.toml` retrieval guidance (`triggers`, `read_when`, `read_policy`, default selection and unselected nodes) is excluded from the selected delivery-authority projection. Selected area ownership, role/dependency structure and selected Context contents remain protected revision material. Retrieval-only edits may preserve scoped Progress, but a changed final Git tree still invalidates historical final acceptance and must pass the Live Final Gate again.
49
-
50
- ## Targeted Verification And Recovery
51
-
52
- Implementation remains parent-Goal-owned throughout rolling execution. Apply the complete suitability and worker policy in the main Skill; Harness allocates and records no worker. Delegated reports are not Progress, Evidence or proof, and every proof-bearing result must converge into the selected verification workspace. Stage/Outcome readiness, `progress_stale` and targeted feedback never become agent allocation, edit permission, a method Gate or a scheduler.
53
-
54
- `verify --explain [--outcome/--check]` is a read-only execution preview. It groups declared Main Raw Executions, lists applicable Counterfactual runner invocations and bounded declared retry-attempt counts, but runs no command, writes no Progress, predicts no duration/internal subprocess count and creates no proof.
55
-
56
- Before an expensive first targeted run, use the preview to review selected Check count, deduplicated Main executions, Counterfactual mutations and retry bounds. If the expanded plan reveals an obsolete carrier, unnecessarily broad invalidation surface or repeated expensive runner, repair the same Contract Draft/Authority through the normal revision path. The preview cannot see build systems or subprocesses hidden inside a project runner.
57
-
58
- `verify --outcome/--check` runs scoped current-snapshot checks for repair and rechecks active identity before writing Progress. A Counterfactual finding is projected into the owning Main Check, changes an otherwise passed Check to `invalid_evidence`, clears Claim proofs and remains recoverable through `status`/`resume`. Global Checks use the same record without a new Global Outcome state.
59
-
60
- For a declared target-runtime Check, the earliest useful runnable boundary and later coalesced relevant changes are recommended targeted-feedback points only when their expected localization value exceeds cost. The owning Outcome binds proof; it does not gate implementation order. `progress_stale` is a fact about evidence freshness, not an immediate execution instruction. Refresh the declared Check only before an intermediate decision relies on its Progress. Continuing implementation and entering Final Gate require no targeted refresh because Final Gate ignores Progress and reruns all Checks. Do not create a per-edit/per-Outcome rebuild rule, implementation gate, trigger queue or platform state. These runs remain `acceptance_authorized: false`.
61
-
62
- Do not add a second executing `diagnose-check` mode merely to avoid Progress: it would still pay the project runner's cost and create a competing execution path. Use project-owned fast feedback while editing, the read-only preview for declared cost shape, targeted verify at a useful stability boundary and the complete Final Gate for acceptance.
63
-
64
- Progress freshness binds Outcome authority, applicability, runner, verification inputs, Controlling Context and implementation inputs. Retry defaults to none; one retry is allowed only for explicit `transient_once`, idempotent, read-only/test-sandbox work.
65
-
66
- Status, Progress, Receipts and workdir compiled output are audit/recovery projections only. Development-period authority state is `manual_required` and never migrated.
67
-
68
- Report their exact meaning: `progress_passing` is current targeted repair evidence rather than “Outcome complete”; `progress_stale` is a freshness fact rather than a current pass or immediate rerun command; `final_workflow_status: null` means the Goal is unfinished. `status`/`resume` derive `ready_stages`, `ready_outcomes` and Stage status from current Progress; they do not persist a Stage pass. `target_state` remains `not_accepted` until a fresh Final Gate accepts, becomes `blocked_external` for a target blocker, or names the Contract's `implementation_complete`, `target_profile_usable` or `production_release_ready` state after machine acceptance. Do not invent per-platform progress/status.
69
-
70
- ## Final Gate And Terminal Paths
71
-
72
- Before Final Gate, complete Context/code/tests and create a clean candidate commit. Final Gate first verifies the accepted compiled authority is still fresh, then recompiles Source authority and records semantic plus raw protected-input identity for the Contract and fragments, the Source-embedded semantic manifest, every Source file, full Controlling Context, verifier/runner, recursively frozen local verifier dependencies, `verification_inputs` and workdir inputs. It validates the common-dir record/marker, creates one Git-tree snapshot and reruns every Check and sensitivity control. Non-UI semantic evidence must reproduce exactly every compiled machine Fact × method expectation with one attributable actual observation/environment/comparison/verdict under frozen expected/tolerance/mask/Oracle authority; selected-design method evidence must reproduce its exact compiled `fact_results` universe; every verdict passes, while named external obligations remain pending rather than fabricated. After execution it recompiles and re-hashes the same full protected set; any change returns `protected_inputs_changed_during_final_gate`, while an Active Authority race returns `active_authority_changed_during_final_gate`. Only unchanged protected inputs, workspace/tree and Authority may be accepted. It is the sole Long-Task `Engineering Quality Conformance`/`Architecture Conformance` carrier and the sole non-UI semantic and selected-design closure carrier: material independently falsifiable deliberation conclusions must already be declared through existing Source-backed obligations/constraints/forbidden shortcuts, owners/paths/Bindings, project-owned Checks and separate Assertions when functional behavior can pass independently. It proves exactly that declared project-check-bound engineering-quality set, not overall code quality, and no separate default Contract Conformance closure runs. A target-runtime Check must exercise its exact target again in that Final Gate execution; rereading historical status does not become live proof merely because the reader reran. The Receipt reports the target profile/state and every Stage as `passed`, `failed`, `blocked_external` or `blocked_dependency`.
73
-
74
- Commit, verifier migration, clear and abandon share one active-state lock. Stop/close clear only the identity actually accepted through CAS and preserve `machine_accepted_external_pending` plus every named external confirmation in output. Final Gate/Stop/close identify `acceptance_scope: declared_machine_authority` and `native_goal_effect: none`; close additionally identifies `closed_scope: machine_authority`. The Stop Hook emits the same scope as one non-blocking message for either accepted machine status. A stale Receipt exposes no accepted workflow status.
75
-
76
- Before platform-native Goal completion, compare current Goal/user meaning with accepted marked Source and check for a pending revision, unresolved blocker or omitted requirement. This review may only veto completion and direct Source/Contract repair; it is not a second acceptance Gate and cannot create proof.
77
-
78
- For invalid, mismatched, unrecoverable or stale-lock continuity, use only `ty-context long-task abandon <workdir> --force-corrupt-state`; it preserves authored Contract, Source, Context and Git content.
79
-
80
- An older `long-task-delivery-v2` Contract that lacks the Source `semantic-fact-manifest-v1`, root manifest identity, exact Outcome Fact/proof bindings, typed per-Fact results, Stage, required-target capabilities, full Context mode, atomic applicability dimensions, scenario, journey, success/degradation, Population universe binding, Control-relation applicability, per-method design record/primary-observation artifacts, canonical design `fact_expectations`, blocker-required capabilities, narrow semantic witnesses or typed external-impact fields is a manual migration. `upgrade --check` reports `long-task-v2-semantic-drift-authority`, and parsing lists missing field paths. Re-author the semantic universe and those meanings from Source, controlling Context and any current validated handoff; never infer them from old Progress/Receipts or import historical passing evidence as acceptance. Reclassify every Check path explicitly: implementation/runtime material belongs in `input_paths`, `expected_output_paths` or `artifact_globs`; Oracle/config/data inputs belong in `verification_inputs`. Supported direct-literal local Oracle dependencies are frozen recursively, while non-literal loaders fail closed and indirect runtime access remains declared Oracle TCB.
@@ -1,152 +0,0 @@
1
- # Contract Authoring Reference
2
-
3
- Read this only while authoring or structurally revising the one `delivery-contract.yaml` Draft.
4
-
5
- ## Source And Semantic Boundary
6
-
7
- - Every declared Source file contains at least one Material Source Item. Mark items in original Markdown without rendering or changing meaning. Every other non-empty line belongs to the one schema-valid `design-resource-handoff-v1` formal block or a closed-grammar background block: `markdown-structure` permits only text-free anchors/horizontal rules and `provenance` permits only `ty-source-provenance` comments with fixed `input`, `mode`, conditional `source` and optional `sha256` fields. A text-bearing heading or free-form provenance field may carry authority and cannot be background. Arbitrary background prose and every other unclassified line fail closed.
8
- - Marker keys and `source_claim` keys are set-equal and globally unique. `statement` preserves marked text after line-ending normalization, surrounding blank-line removal and trailing-space cleanup.
9
- - Typed dispositions keep Result, Requirement, Control, Technical Obligation, Non-completing Claim, Acceptance, Global Constraint/Non-goal, Forbidden Shortcut, Risk, External Confirmation and Decision distinct.
10
- - Every non-decision Source item owns exactly one same-kind, text-identical canonical target; no target may collapse multiple Source items. `out_of_scope` is not a resolution.
11
- - A Source AC maps criterion-identically to one named Assertion and proves at least one independently Source-backed non-Result Claim.
12
- - At least one `technical_obligation` Source Item has `aspect=architecture`, maps text-identically to a named architecture obligation and is independently provable; a generic Result or unmarked architecture review cannot substitute.
13
- - Missing headings or keys from a pre-existing planning document never blocks authoring. Raw/mixed inputs enter this Contract Draft immediately; apply `source-authoring.md` alongside mapping until real Source, provenance and markers converge. Missing mandatory Material Source Item markers still blocks Preflight/Compile.
14
- - A revised initial proposal and selected design resources are parallel Source inputs. Preserve their stable resource/surface/control/state/target keys, declared conditions, provider/project/run/entry provenance and immutable digest/snapshot; do not flatten visual meaning into an untraceable prose summary.
15
- - `delegated` in an input proposal is provenance, not a Contract disposition or new Claim kind. An instruction to synthesize, refine, complete, implement or use judgment delegates plan-level authoring, but it does not invent material tradeoff preferences. Before comparative research or a material product, technical, architecture or provider selection, identify the criteria that could change the research scope, candidate set or recommendation. If such a preference is unknown or ambiguous, ask a concise targeted question before research or selection and keep the item `decision_required` until answered; do not impose a fixed questionnaire or re-ask preferences already supplied by the user, Source, Context or controlling constraints.
16
- - Once the material preference envelope is clear, use current authoritative or primary evidence for external capability, price, quota, license, compatibility, region, security posture or support claims. When one defensible recommendation exists, record the authoring instruction, preference/evidence or conservative-default basis and exact added meaning in real Source, then preserve that keyed item as ordinary Source of its semantic kind. If ordinary prose is the Source, append the delegated item without rewriting the user's original text; never place the choice only in Contract YAML.
17
- - A delegated plan choice is not action authorization. Payment, contracting, production deployment/publication, destructive production mutation, real permission grants, sensitive-data transmission and required legal/security/human approval remain named External Confirmations. Conflicting authority, an explicitly user-reserved choice, a missing material preference or the absence of a defensible recommendation remains `decision_required`; high impact or multiple options with known criteria alone does not.
18
- - A rolling implementation blocker is not an External Confirmation merely because work is difficult, delayed or unavailable through the current implementation path. Reclassify or remove machine-verifiable scope only through an explicit marked Source change and protected exact approval; otherwise keep the requirement and revise the implementation/evidence path.
19
- - Exactly one Source-embedded `semantic-fact-manifest-v1` is mandatory. Root `semantic_fact_manifest` binds its key, declared Source path and immutable digest. Its scope includes every Outcome and every Material Source Item; ordinary Material Source cannot be `supporting_only`, while independently validated design-owned Source may be `ui_design`. Full Controlling Context inventory and every other declared attachment/specification/repository/external/delegated input are classified with exact digest, Fact refs or explicit basis-backed disposition.
20
-
21
- ## Non-UI Semantic Fact Projection
22
-
23
- The semantic manifest is the task-local Source index, not a second Contract or durable value authority. It must already close the complete standard/custom semantic family floor, stable subject/relation/population Census, exact applicable condition axes/values/combinations, atomic property partitions, Fact Cells/Facts, proof obligations, Oracles/environments/blockers and complete-generation identities before Compile. Values stay at their Source locators; Contract freezes identities, located digests and comparison authority.
24
-
25
- For every Outcome:
26
-
27
- - `semantic_fact_bindings.manifest_ref` equals the root manifest key;
28
- - `semantic_fact_bindings.facts` is set-equal to that Outcome's manifest Facts. Each row binds one `fact_ref` to exactly the generated `semantic_fact.<fact_ref>` Claim and one matching atomic applicability profile;
29
- - `semantic_fact_bindings.proofs` is set-equal to that Outcome's Fact × required-method obligations. A machine row preserves method, proof surface and all evidence capabilities, binds one owning Check and one single-Claim Assertion at the same applicability, and is legal only when Compile can project it to one package-admitted current-Actual authority. An external row binds one typed External Confirmation whose impacts include the full Fact Claim;
30
- - every declared observer resolves to an execution target and admitted package adapter capable of observing the furthest independently failing boundary; a project-authored Oracle, product/self-reporting proxy, wrapper or submitted capability record cannot impersonate that observer;
31
- - the Claim/Assertion/Check projection must be bijective. Missing, extra, duplicate, reused, narrowed or orphan Fact/proof identities block Authority Lock.
32
-
33
- The exact invariants are:
34
-
35
- `Expected Semantic Facts = Source Indexed Facts = Contract Indexed Facts`
36
-
37
- `Source Fact × required-method obligations = Contract proof bindings = current Final-Gate result identities`
38
-
39
- Do not copy raw semantic values into Contract, merge multiple atomic facts into one Claim, use one Assertion for several Fact obligations, turn a machine-verifiable Fact external because implementation is difficult, or accept a default/sample/aggregate path. A protected Fact uses digest-only expected authority and a policy-bound redacted/digest observation with no raw persistence. Genuine decision/external authority remains explicit and target-blocking as required.
40
-
41
- Compile derives one internal observation-authority row for each machine proof. Current admission has only two choices: `package_static_json_exact` for plain `exact_value + exact` static implementation/configuration content in a pre-run-frozen UTF-8 JSON production carrier, and `package_process_json_exact` for plain exact output observed while Harness directly spawns the declared `process` product root. Every other proof—including custom/`named_external_tcb` Oracles, project wrappers, protected data, tolerance/mask, custom locators and browser/native/device/layout/pixel/accessibility/motion observations—must be authored as a blocking External Confirmation. This projection is not a new Contract field, Authority, state or registry, and unsupported machine rows fail Compile rather than auto-migrating.
42
-
43
- ## Outcome Boundary
44
-
45
- Create an Outcome only when its result is independently observable, decidable, target-verifiable, dependency-expressible and localizable to its own Claims, Assertions, Checks and owner boundary. Requirement coupling, acceptance/verification-ready projection, targeted verification, precise failure localization, semantic resume and stale-result invalidation are valid reasons to decompose. Outcome boundaries never restrict implementation order. File count, implementation layer, context length, desired parallelism and Agent capacity are not.
46
-
47
- For every Outcome declare:
48
-
49
- - one complete observable result;
50
- - atomic requirements and actually applicable controls/states;
51
- - non-completing claims;
52
- - owner Context/surfaces and expected/support/forbidden path envelopes;
53
- - stable technical obligations, Bindings, forbidden shortcuts and recovery requirements;
54
- - risk facts;
55
- - executable Checks and named AC Assertions.
56
-
57
- Global non-goals, constraints and forbidden shortcuts remain Global authority and use Global Checks/Assertions when machine proof is required.
58
-
59
- Declare only real applicability, not a blind Cartesian product. Each global or Outcome profile names one exact execution target, journey role, a non-empty duplicate-free set of atomic dimension assignments, keyed Given condition/input/state facts and ordered When actions. One profile cannot bundle phone/tablet, light/dark, default/loading or other multiple values of the same dimension. Every Claim-bearing fact lists all and only its applicable profile refs. Every Claim-bearing Assertion proves exactly one Claim in exactly one matching profile, and every required proof surface of every actual applicable cell has an attributable Assertion. Two cells may share one Check execution only when their individual Assertion failures remain distinguishable; risk-based, pairwise, representative or sampled coverage never substitutes for a declared applicable cell.
60
-
61
- ## Feedback-cost boundary
62
-
63
- Declare each Check's `input_paths` and Binding carriers as the smallest sound causal envelope for that Check. Do not use a repository, application or platform root merely because it is convenient: a broad pattern is justified only when any matching change can actually invalidate the declared result. If independent capabilities have different invalidation surfaces or useful feedback boundaries, assign them to the owning Outcomes/Checks rather than making every early Stage gate stale.
64
-
65
- Every Counterfactual mutation path must be a current production carrier with a defensible route from the declared target root to the asserted behavior. A Binding or `input_paths` declaration is not reachability proof. A static-structure proof mutates and observes the frozen structure object itself and cannot be promoted to runtime behavior; a runtime proof requires Harness mutation of the declared carrier, direct execution of the same process product root and package-observed actual change. Declare the expected affected Facts, preserved Facts and allowed fan-out Facts; baseline and mutation must retain the same obligation universe, all expected Facts must change, preserved/liveness Facts must not change and every other change must be listed fan-out. A machine-closing Check with no admitted baseline or mutated observation fails rather than skipping. Review `verify --explain` before an expensive first execution and repair obsolete routes, barrels, fixtures or duplicate Main/Counterfactual invocations.
66
-
67
- Declare cheap machine-checkable prerequisites through existing environment requirements and verification inputs. Product/API readiness probes, incremental build caches, streaming phase output and timeout heartbeats belong to the project-owned runner when they depend on its runtime. The admitted direct-process observer is the narrow exception: Harness owns bounded stdout capture plus process-tree inspection and cleanup because those are part of its host execution TCB; this remains containment rather than an absolute hostile-code sandbox.
68
-
69
- ## Stage And Target Profile
70
-
71
- - Declare one ordered `stages` DAG in the same Contract. Every Outcome belongs to exactly one Stage; every Stage names one gate Outcome; the gate transitively depends on every other Outcome in that Stage; and every later Stage Outcome transitively depends on every prerequisite gate.
72
- - A Stage Gate is not a second Final Gate or Receipt. It is one or more `stage_gate` Checks owned by the gate Outcome, and its status/frontier is derived from ordinary Outcome Progress.
73
- - A multi-Outcome Stage Gate declares `cross_surface_consistency`. Its diagnostic runtime record names at least two distinct `surface_ref` values, may use the same runtime target for several pages and reports one matching state version. Because the current slice has no package derivation for that capability, the owning machine obligation remains a blocking External Confirmation.
74
- - `task.target_profile` declares `required_state` plus a non-empty, duplicate-free `required_target_refs`. Each ref resolves to a `product` execution target with one bounded runtime family, root entrypoint, complete `root_argv` and explicit capabilities. Give every required target one Source technical obligation whose canonical target is `execution_target.<key>` and whose exact normalized statement preserves key, role, family, root, complete argv and capabilities; the Source Claim disposition, execution target and production Binding must agree. A required process root and every argv path admitted by the finite production-Binding match belong to the production owner and a Binding, not merely to the runner, a fixture, verification input or `input_paths`. The match examines a standalone argument or explicit `--key=value`, resolves a safe repository-relative value from declared `cwd`, and accepts exact or pattern Binding coverage, including glob-owned and extensionless files. Unmatched safe relative values are labels/outputs rather than inferred dependencies and are not copied. Absolute paths, repository escapes, `file:` URLs and network URLs fail closed unless explicitly routed to the external TCB/External Confirmation boundary. An exact planned root, matched argv file or process carrier may be absent through Preflight/Compile, but Final Gate requires it to exist; materializing the already-declared path does not revise Authority. Do not guess from file extensions, substrings, output flags or a language dependency graph. Root/family/role/argv/capability declaration change is a protected Source/Contract and Authority Revision. Current machine `target_runtime` proof exists only for a Harness-direct Source-backed `process` product root; required browser/native/desktop/device targets and other unsupported families retain target-blocking External Confirmation. Every Stage Gate and every `critical_user_path` Outcome accounts for every required ref through admitted root proof or that External Confirmation. Optional support/observer targets never substitute.
75
- - Use `implementation_complete` only when code-level implementation is the selected target, `target_profile_usable` when the declared required targets must be usable, and `production_release_ready` only when release gates are part of the selected target. These are terminal target qualifications, not Outcome progress states.
76
-
77
- ## Engineering Quality Deliberation And Closure
78
-
79
- Architecture Deliberation occurs once for every implementation delivery before formal Compile and the first implementation edit; risk changes depth, not occurrence. Surface concise conclusions and repository evidence rather than private chain-of-thought. A preservation result still names the concrete owner/extension point, applicable engineering-quality attributes or their concrete preservation basis, and why durable boundaries and debt do not worsen. Material work covers module ownership, unique source of truth, dependency direction, API/schema/data boundary, state/resource lifecycle, persistence/recovery, security boundary, compatibility/migration, selected and rejected alternatives, one plausible future-change challenge, touched technical debt, forbidden bypasses and triggered failure/load/threat scenarios.
80
-
81
- Correctness/invariants and maintainability/changeability always receive at least preservation. Reliability/resource lifecycle, concurrency/consistency, performance/capacity/cost, security/privacy/safety, compatibility/migration/rollout and operability/observability/testability activate only when the Source or implementation risk makes them material. Exact expected predicates remain in Semantic Facts or selected-design authority. A performance claim additionally binds workload, metric, baseline or budget, environment, comparator/tolerance and a project-owned benchmark/probe; static shape cannot prove runtime performance.
82
-
83
- Represent every material independently falsifiable architecture or engineering-quality invariant with existing Contract fields:
84
-
85
- 1. a Source-backed technical obligation, global constraint or forbidden shortcut;
86
- 2. owner Context and expected/support/forbidden paths;
87
- 3. a Binding to the implementation carrier when Counterfactual sensitivity is required;
88
- 4. a project-owned executable type, compiler, lint, AST, dependency, contract, behavior, benchmark or probe Check; and
89
- 5. a separate Assertion when functional behavior could pass while the quality invariant fails.
90
-
91
- New or worsened debt is unacceptable unless a project-owned bounded exception identifies owner, rationale, tracking and removal/expiry condition. Unrelated legacy debt does not automatically expand delivery scope, but debt touched, relied on or worsened by the implementation cannot remain hidden. Material changes to scope, owner, Context, dependency direction, selected design or debt disposition refresh the deliberation and, after Authority Lock, use protected revision.
92
-
93
- Do not encode subjective “clean architecture”, `quality == true`, a functional pass or generic quality prose as machine authority. If no reliable observation can falsify it, keep it as durable Context/review judgment or return `decision_required`. Harness routes repository-native checks; it does not become a language-generic dependency, quality or performance analyzer. Final Gate is the only Long-Task Engineering Quality/Architecture Conformance carrier and reruns these declared Checks on its current snapshot. It proves only the declared project-check-bound invariant set, not overall code quality. Do not add a default-workflow closure, quality matrix, Source aspect, Claim/risk kind, Contract field, second Gate, state or Receipt.
94
-
95
- ## Proxy And Target Runtime Independence
96
-
97
- When a declared result can pass on a proxy surface while failing in its target runtime, author independent target-runtime proof for the exact required target ref. Put it in the earliest Outcome that owns the first runnable target boundary rather than postponing it to a terminal release/quality Outcome; this assigns proof ownership and does not dictate implementation order. Under the current admitted slice, machine runtime proof is available only through Harness direct-process observation; all other runtime families remain target-blocking External Confirmation.
98
-
99
- Use existing Contract semantics:
100
-
101
- 1. require `runtime_behavior` or the other proof surface that matches the actual Claim;
102
- 2. for machine proof, use a `project_binary` runner whose target exactly equals the declared `runtime_family: process`, `role: product` root entrypoint, has no wrapper and permits read-only or test-sandbox execution;
103
- 3. let Harness own the process handle and capture exactly one bounded `ty-context-product-observation-v1` envelope from product stdout. It proves only exact values that the root itself emits on that declared JSON output surface; project-authored instrumentation/mapping cannot reclassify arbitrary internal/UI facts as package-observed, and any Claim that cannot bind directly to the surface requires External Confirmation. Do not declare or consume an observation-path, challenge or protocol environment variable; the execution nonce is internal host-attestation data. Project-submitted v3 actual/comparison/verdict and capability records remain diagnostic only;
104
- 4. declare runtime-affecting entrypoints, modules/configuration and Claim/Counterfactual carriers through the production owner and Binding. For argv, use a standalone argument or explicit `--key=value`; Harness resolves a safe repository-relative value from declared `cwd` and includes it only when an exact or pattern production Binding covers the result. Glob-owned and extensionless files are valid, an unmatched safe relative value is not copied, and absolute/escaping/file-URL/network values fail closed unless explicitly external. `input_paths` still describes Check scope/freshness but is neither broadly role-scanned nor promoted into the process snapshot. Compile rejects any actual closure member that overlaps Source/Context/Contract/canonical expected, verification, expected-output/artifact, evidence/status/report/comparison/Receipt/Long-Task or historical-session roles. Global closure records keep `<outcome>.<binding>` logical identity while physical files deduplicate by path; authored Contract Bindings remain local and unchanged. Harness copies only this compiled closure, and a dependency that cannot be explicitly production-bound remains External Confirmation rather than triggering extension, substring, output-flag or language dependency guessing; and
105
- 5. otherwise bind the Claim to a blocking External Confirmation instead of inventing a project-verifier proof.
106
-
107
- This process path relies on the host OS/filesystem/process APIs, Node runtime, snapshot copy/digest checks, stdout decoder and process-tree inspection/cleanup. It is not a security sandbox and does not claim containment against a malicious executable using ambient filesystem/network resources or evading every process-tree mechanism. If the Contract requires that threat boundary, use an independently controlled sandbox and keep its acceptance external until a package adapter is separately admitted.
108
-
109
- A proxy check, project-verifier payload, static repository shape, tracked status report, prior screenshot, binary, historical run or new `session_id` cannot be the sole proof of a Claim that can fail independently in the target. The required target family must equal the admitted observer family. Use only the bounded execution-target runtime families and required refs in the Contract; do not add open-ended `platform_impact` flags or per-platform Progress state.
110
-
111
- ## Success, Degradation And External Boundaries
112
-
113
- - Set `success_path_required` and `degradation_path_required` explicitly. A Result Claim is proved only by a `success` Check; the same Check cannot be both success and degradation, and an honest unavailable/pending/recovery state cannot replace required success.
114
- - External confirmations declare `kind`, exact `impact_claims` and `blocks_target`. A `functional_prerequisite` blocks the selected target; a `production_release_gate` blocks a production-release target but may remain non-blocking for a lower target. Reclassification or impact changes are protected authority.
115
- - External Confirmation coverage is exact for ordinary/global Claims and Semantic Fact Claims; it creates no machine Assertion or result. For a fully unsupported Outcome, set `success_path_required: false`, omit machine Checks, include every affected Claim in `impact_claims` and keep each Semantic Fact proof explicitly bound to that confirmation. A Stage Gate may omit its machine Check only when a `blocks_target: true` confirmation impacts that gate's `result` Claim. A non-blocking confirmation or one missing the result impact cannot substitute, and `success_path_required: true` still requires a real success Check. The final status is `blocked_external`, never machine accepted.
116
- - `boundary_invocation` and `external_side_effect` still require a declared independent `observer` target, but the current slice has no package derivation for either capability. Their project records are diagnostic and their obligations remain External Confirmation; product self-report never proves the downstream effect.
117
-
118
- ## Visual Delivery Authoring
119
-
120
- When the selected delivery includes a new/redesigned screen, primary layout/navigation/theme/component system, high-fidelity implementation or other material production UI, resolve Design Authority before Compile and author the result through existing Contract semantics. The complete design Fact universe remains mandatory Source authority, but the current machine observer does not admit browser/native/device/layout/pixel/accessibility/motion or protected/tolerance/mask observations; those Fact × method obligations must be blocking External Confirmations rather than project-verifier machine rows:
121
-
122
- - when selected external resources are an implementation handoff, place one strict marked `design-resource-handoff-v1` Markdown file in `task.source_paths` and run `ty-context design-resource preflight <handoff.md>` before Contract Preflight. A formal Web/App profile requires a canonical entry, exact dependency closure, complete acquisition and one frozen-Inspector Fact manifest proving `Expected Fact Universe = Canonical Resource Facts = Handoff Indexed Facts`. The atomic unit is an explicit `subject × target × condition × variation × property` Fact Cell: stable component instances/Anatomy Parts/relations and dynamic populations; all standard/custom target-condition and subject-variation axes/combinations; the complete standard/custom atomic property catalog; explicit N/A/exclusion basis; one Fact per covered cell; and every property-required Fact × method proof. Product Controls and eight UI/UX dimensions are semantic/roll-up owners, not the Fact ceiling. Incomplete acquisition/Census, aggregate labels, initial default-page inference, sampling/truncation, unresolved locators/lineage/conflicts/blockers, unsupported evidence and stale identities block. Canonical resources own exact values; the residual handoff projects located digests, value/design-system lineage, sensitivity, evidence, comparator/tolerance/mask, Oracle/environment and asset bindings without becoming a CSS copy. Every exact target additionally requires full-target layout and pixel Facts per condition. Deliberately partial input remains an explicitly scoped constraint or blocking unresolved and never an exact target. Treat candidates and unresolved decisions honestly; only a selected exact target with a valid selection basis, complete declared Fact universe and immutable identity can be proposed for fidelity authority, and downstream UI Authority Closure still owns adoption;
123
- - perform UI Authority Closure over stable surface/control/target keys: classify each material item as covered by owning Context/`DESIGN.md`, requiring an owner update, task-local Source, explicitly out of scope or genuinely `decision_required`. Product Surface Context owns cross-surface responsibility, Screen/interaction Context owns durable hierarchy/behavior, `DESIGN.md` owns visual-system/reference semantics and selected targets own concrete composition; Contract YAML must not duplicate or invent those owners;
124
- - inspect owning surface/interaction Context, `DESIGN.md`, its authored token source/generation direction and material design references. Classify every reference as `exact-target`, `constraint` or `inspiration`, with its surface/route/component, path/URI and covered viewport/theme/mode/state;
125
- - an unconfigured starter, style-only prose, inspiration-only set or conflicting target is not sufficient production authority. Resolve it by explicitly scoping Source to a prototype/non-fidelity result, recording an explicitly delegated and selected design target in real Source after material preferences are known, or keeping the unresolved/user-reserved direction `decision_required`;
126
- - never let implementation output authorize itself: a generated implementation screenshot/diff is an Artifact, not the target. An acceptance-affecting target or baseline must be selected Source/verifier input before fidelity implementation can be accepted;
127
- - derive the exact task-local Visual Coverage Set from declared Source, `project_context/**` and `DESIGN.md`: production surface/route/component, viewport, theme or product mode, interaction/state, content stress and accessibility/motion conditions. Do not invent an irrelevant Cartesian product, but cover every combination that is actually applicable;
128
- - never use risk-based, pairwise, representative or sampled combinations to waive an applicable cell. Equivalent execution may be shared only when each fact/method retains an independently attributable Assertion and any omitted applicable combination remains blocking;
129
- - encode each independently falsifiable visual expectation as an atomic Requirement, applicable Control field or named AC Assertion. Name the surface, viewport, theme/state/content condition and observable result when they matter to the claim;
130
- - close every real Control's canonical fields independently through `field_coverage`: `surface`, `region`, `location`, `control_type`, `label_content`, `user_task`, `visibility`, `availability`, `trigger`, `input`, `validation`, `default_value`, `interaction`, `navigation_result`, `loading_state`, `empty_state`, `success_state`, `failure_state`, `recovery`, `permission`, `feedback` and `accessibility`. `specified` names concrete meaning, `not_applicable` carries a falsifiable reason, and `unresolved` blocks Compile; specified and not-applicable entries create Claims for every declared applicability profile, so omission can never silently mean non-applicable;
131
- - close each Outcome's cross-Control/system meaning through `control_relation_closure` plus `control_relations`: shared state, dependency/order, mutual exclusion, navigation, permission, recovery, validation and feedback chains are explicit relations with Control refs, proof surfaces and applicability, while `state: not_applicable` is a negative Claim with exact applicability and an explicit assertion that no such relation applies; `unresolved` blocks;
132
- - when an Outcome declares Controls, add the minimum aggregated Product `surface_bindings`: one stable binding per owner surface and required product target, its Control refs, existing Technical route/component Binding refs, one root-entry success Check and its real entry action. Every Control must be bound and every Control Claim must have target-local disposition. The admitted direct-process observer can derive host `target_runtime` for the real process root, but it does not currently derive `interaction_trace`; interaction plus browser/native/device journeys remain blocking External Confirmations;
133
- - bind the declared result to the owning Context/`DESIGN.md`, one authored token source and generation direction, selected target/constraint inputs, production component/route carriers, path envelopes and project-owned target checks. Freeze acceptance-affecting selected target files, token sources and fixed prototype fixtures in `verification_inputs`; bind production carriers through `input_paths`/Bindings and reserve `artifact_globs` for generated implementation renders, diffs and reports. Detached kits, deep links, mocks or marketing specimens may be references or supplemental checks but not substitute implementation carriers or the production root journey;
134
- - for each selected exact/constraint target inside a surface binding, use the exact handoff target key and interpretation; declare `source_paths` as exactly the handoff plus that target's immutable resource paths and `condition_keys` as exactly its handoff condition refs. Put the same files in Check `verification_inputs`; map every covered handoff Source Item through `source_claims` to method-specific Source Claims and separate single-Claim Assertions at the target's exact applicability; and bind every handoff acceptance blocker in the surface binding. Every handoff verification method binds its own Assertion and exact per-condition `evidence_artifacts`. Each cell declares the exact proof-owned `fact_refs`, `path` for its method record, `observation_path` for its primary method-native observation and a canonical `fact_expectations` row for every Fact. That row freezes subject, variation, property, `plain|protected` sensitivity, expected canonical located digest, comparator, exact/tolerance mode, parameter/tolerance/narrow-mask located digests, Oracle key/trust/identity/version/digest and environment key/identity/definition located digest. Contract stores these references and digests, never a duplicate CSS value source. Cell Fact sets close every property-required Fact × method obligation; their exact union equals the target Fact set. Current package derivation supplies only admitted plain exact/presence results and host `target_runtime`; project or Playwright `design_method`, `fact_results`, `design_conformance` and `interaction_trace` rows remain diagnostic and cannot provide authority. Because the current slice does not admit design conformance, interaction, layout, pixel, accessibility, motion, browser/native/device, protected or tolerance/mask observation, those obligations retain their exact expectations but bind blocking External Confirmations instead of fabricated machine results. Missing/extra/duplicate/stale/failed rows, authority drift, mismatched environment, widened mask/tolerance, result reuse or indistinguishable observation still fail every admitted exact Assertion. `visual_render`, handoff preflight, Inspector counts, file hashes or registry presence remain input/resource integrity and cannot substitute for implementation conformance or omitted Fact proof;
135
- - explicitly inventory every declared design-acceptance blocker inside its surface binding. An empty array states that no blocker is declared; each declared entry preserves exactly the handoff's `source_item_refs`, `verification_methods` and non-empty `required_capabilities`. A `machine_claim` is valid only when the exact obligation compiles to a package-admitted static or direct-process exact observation and the referenced Claims have matching target-local proof; otherwise use a target-blocking External Confirmation whose impact includes the Outcome. There is no in-band not-applicable waiver: removing a blocker from scope first requires explicit revised Source and, after Authority Lock, protected Contract revision. Empty refs block Compile/Final Gate;
136
- - retain `ui_browser` assertions only as project diagnostics during this first observer slice. Browser, Expo-Web, native, mobile and desktop UI conformance cannot machine-close a Claim; bind the affected Claim or blocker to target-blocking External Confirmation rather than treating Playwright, a project binary, screenshot or device/session payload as observer authority;
137
- - keep subjective visual direction, taste or approval outside false machine proof. Resolve an undecided direction as `decision_required`; represent required human design or new-baseline approval as an explicit external confirmation.
138
- - for combined design-and-implementation delivery, ordinary design Outcomes/Stages may author candidates before selection, but candidate/planned artifacts cannot authorize fidelity Claims. Append the selected result to real marked Context-reachable Source and its owning Context/`DESIGN.md` reference; after Authority Lock adopt it through Authority Revision before downstream fidelity implementation. This creates no target-selection state, second Contract or second Gate.
139
-
140
- External design resources authorize fidelity only when they become a selected exact target with a validated handoff; they remain ordinary upstream Source rather than a Contract Draft, verification result or alternate authority. The revised initial proposal plus selected immutable canonical resources and the residual `design-resource-handoff-v1` is the recommended implementation input; no standalone intermediary authoring handoff is required. Map each exact fact set into method/condition evidence, each covered Source Item into the root conformance Assertion and each declared verification method to its own independently failing Assertion; carry blocker Source Items and methods unchanged into a target-local machine Claim or target-blocking External Confirmation. Any pre-existing planning document remains valid ordinary Source if supplied. The single Product `surface_bindings` projection is an aggregated cross-reference over existing Source, Controls, Technical Bindings, targets, Checks, Assertions, verification inputs and External Confirmations; it creates no `uiux_delivery` authority block, Claim kind, risk level, lifecycle state, required design directory, per-Control screenshot matrix or Gate, and it creates no copied style/value source.
141
-
142
- ## Symbolic Selected-Design Authoring
143
-
144
- UI symbolic V2 is explicit opt-in; V1 remains the default. Accept `design-resource-handoff-v2` only when the target explicitly declares `representation: symbolic_rules_v2`. Require equal extensional disposition, located expected semantics and complete proof-obligation denotation across every subject/relation, target, reachable condition/variation, applicable atomic property and population/quantifier point; physical V1 ground-row identity is irrelevant. V2 Rules use constant located expected values and mutually exclusive exhaustive canonical regions. Applicability may retain legacy exact remainder partitions or use package-owned subject property profiles plus frozen Inspector custom-property closure and explicit unique instance exceptions; every logical subject-property point still needs exactly one disposition. Project every required method to typed current Rule-region evidence only when its Actual comes through the admitted package observer; otherwise bind the obligation to External Confirmation. Each set-valued Rule/omitted-axis certificate remains a separate fresh package-recomputed result without materializing Rule × axis edges. An omitted axis requires both Source-side and production-side proof through frozen closed-world static dependency closure, restricted-IR exact equivalence or finite complete-domain exhaustive equivalence; dynamic/reflected/unfrozen/external or sampled dependencies block. A Contract may mix V1 and V2 targets, but records cannot cross-substitute and all converge only in the existing Final Gate. V1 over-capacity diagnostics may guide an explicit V2 decision but never switch automatically. Purpose-efficiency is package admission, not terminal safety or a new Gate. Non-UI symbolic admission remains out of scope; verifier/runner observation authority is covered by the mandatory admitted-observer boundary above.
145
-
146
- ## Compact Authoring
147
-
148
- Compact V2 may omit only deterministic defaults: empty optional arrays/nulls, `requested_level: auto`, runner `argv: []`, `cwd: .`, `timeout_ms: 30000`, `retry_policy: none`, `idempotent: false`, and empty output/artifact/assertion/environment lists. `context_snapshot_mode: full` remains explicit and is the only accepted authority mode.
149
-
150
- Goal, target profile/required targets, ordered Stages, Source/Source Claims and non-authoritative background ownership, Context, observable results, exact applicability profiles, success/degradation requirements, owners/paths, REQ, all-field CTRL closure, Control relations and production `surface_bindings`, selected target conditions/conformance artifacts, design-blocker dispositions, OBL, proof surfaces, Given/When scenarios, journey roles, Evidence Capabilities, runner targets/effects, verification inputs, single-Claim Assertions, behavioral semantic witnesses and liveness Assertions, risk, forbidden shortcuts and typed external confirmations remain explicit.
151
-
152
- Compiler-generated Outcome/Check/Claim identities replace handwritten mechanical cross-entity references. This does not authorize compiler inference of product meaning, owners, architecture, proof or risk.
@@ -1,121 +0,0 @@
1
- # Evidence Design Reference
2
-
3
- Read this only while designing or repairing Contract Checks and proof.
4
-
5
- ## General Proof Rules
6
-
7
- - Every Outcome has at least one executable Check and one non-Result atomic Claim.
8
- - Keep four authorities separate: Source/Context/canonical resources/Contract own Expected; a package-admitted adapter owns current Actual; Harness owns comparison/result identity and verdict; the sole current-snapshot Final Gate owns terminal status. No project runner or Oracle may own two of these layers for a machine-closing obligation.
9
- - Required proof surfaces are non-empty, unique and all-of. Every Claim-bearing Assertion proves exactly one Claim at one exact applicability profile and uses explicit comparable Observations and expected values; every Claim/applicability/proof-surface cell must be covered.
10
- - `truthy`/`falsy` are diagnostic-only. `exists` proves only implementation-structure obligations. Missing or type-incomparable Observation never proves a Claim; negative proof uses an explicit value such as `equals: false`.
11
- - Claim and Population proof is emitted only after the entire Check passes. Exit failure, missing artifact, failed population, failed Assertion or invalid Counterfactual yields no Claim proof.
12
- - Verification inputs include entrypoints, helpers, fixtures/config, package scripts and lockfiles and cannot overlap implementation carriers. The frozen runner identity recursively includes the supported direct-literal local verifier module/config/data graph; runtime-owned Check inputs/outputs/artifacts are explicitly excluded from Oracle identity, while non-literal loaders, `createRequire` and package scripts without a recoverable static Node entry fail closed. Declaring other indirect/custom Oracle access as a named TCB does not admit it for machine completion; use a package-admitted adapter or blocking External Confirmation.
13
- - Runners receive the minimum environment whitelist plus only declared environment requirements. Never expose actual secret values in findings.
14
-
15
- ## Runner And Observation Identity
16
-
17
- Runner kind still selects payload decoding, but payload decoding is not observation authority. Raw Execution identity binds the runner, its recursively frozen local dependency closure and canonical declared Environment Requirements, not actual values. Bare installed packages and the Harness/runtime remain named trusted-computing-boundary components rather than silently mutable project helpers. A project-authored verifier, `node_oracle`, wrapper or Playwright payload can provide diagnostics only unless a separate admitted package observer independently extracts the current Actual.
18
-
19
- Across all Checks sharing a Raw Execution, one Claim-bearing Observation belongs to one Assertion. Shared setup may execute once only when independent per-Check observations and artifacts remain unambiguous.
20
-
21
- ## Observation Authority Admission
22
-
23
- Compile derives one immutable internal observation-authority plan for every machine Claim or Fact × required-method obligation. It binds the obligation/Fact/Assertion/target/proof-surface/method, expected identity/value, locator policy, carriers and runtime requirements. This is a rebuildable projection, never a new Contract Authority, state or Observer registry. A machine-closing row has exactly one of these first-slice authorities:
24
-
25
- - `package_static_json_exact`: plain `exact_value + exact` content for a static implementation/configuration structure. The UTF-8 JSON carrier must already exist in the pre-run workspace manifest; its no-follow path/type/size/digest/file identity remains unchanged after the runner; it matches the declared production Binding; and it is not Source, Context, Contract, expected authority, verifier output, evidence, report, status or Receipt. Harness, not the project, selects the fixed RFC 6901 `/observations/<stable Fact-or-obligation identity>` locator and applies the package duplicate-key, UTF-8, size, depth and pointer limits. A generated bundle/configuration is eligible only when it was already in the candidate snapshot. This proves only current static content, never runtime consumption, interaction or liveness.
26
- - `package_process_json_exact`: plain exact output from a declared `runtime_family: process`, `role: product` root. The Check uses `project_binary`, its target and complete argv equal the Source-backed root invocation exactly, no project wrapper intervenes and its effect is read-only or test-sandbox. The target's canonical Source obligation, Source Claim disposition and execution target agree on key, role, family, root, complete argv and capabilities. Compile creates one internal process-runtime closure containing that invocation, the Claim/Counterfactual production carriers and only finite argv values that resolve to production Binding members. It examines a standalone argument or explicit `--key=value`, resolves safe repository-relative values from declared `cwd`, and admits a path only when an exact or pattern Binding covers it; glob-owned and extensionless files are supported. An unmatched safe relative value is ignored and not copied. Absolute paths, repository escapes, `file:` URLs and network URLs fail closed unless explicitly routed to the existing external TCB/External Confirmation boundary. It neither broadly role-scans nor copies all `input_paths`; role separation applies only to actual closure members. Global Checks use internal scoped Binding records `{ outcome_key, local_key, binding_ref, binding }` with `<outcome>.<binding>`, preserving logical refs while deduplicating identical physical paths without changing authored Contract Bindings or adding a registry. Every closure member is disjoint from Source/Context/Contract/canonical expected authority, verification inputs, verifier/evidence/status/report/comparison/Receipt/Long-Task workdir, historical session/evidence, `expected_output_paths`, `artifact_globs` and other proof-output roles. Harness copies only this compiled closure into an OS-temporary snapshot, then directly spawns/owns the root there. The child receives the minimal runner environment and no observation-path, challenge or protocol variable. It writes exactly one bounded `ty-context-product-observation-v1` envelope to stdout with exact keys `schema_version` and identity-keyed `observations`; Harness captures stdout, requires the exact compiled identity set, extracts multiple values, records host execution attestation bound to the closure identity, verifies the closure again and deletes the snapshot. The envelope proves only exact values actually emitted by that root on the declared JSON output surface. Project-authored instrumentation or mapping cannot elevate arbitrary internal/UI facts into package-observed truth; a Claim that cannot bind directly to that surface remains External Confirmation. The per-execution nonce is generated and retained only inside host attestation; it is neither a child-visible challenge nor a trust root.
27
-
28
- Everything else is unsupported and therefore a blocking External Confirmation: custom or `named_external_tcb` Oracle, indirect wrapper, browser/native/device session, layout, pixel, accessibility, motion, protected raw observation, tolerance/mask and custom locator. Target family must equal observer family. Project-submitted v3 actual/value digest, comparison result, `passed`, verdict and capability records remain optional diagnostics and never own Actual or completion. Current package derivation covers exact/presence plus host-derived `target_runtime`; `interaction_trace`, `state_delta`, `design_conformance` and every other capability without package derivation require External Confirmation even when a project record is present. A diagnostic copy that disagrees with a derived result fails closed. The public project result remains `long-task-check-result-v3`; the stdout product observation envelope is a separate v1 protocol, so no v4 is introduced.
29
-
30
- ## Scenario And Evidence Capabilities
31
-
32
- - Every Check declares non-empty keyed `scenario.given` and `scenario.when` steps. One Check covers one materially coherent journey; a different success path belongs in another Check or vertical Outcome. A Claim-bearing Assertion's `applicability_ref` must match the Check target, journey role, duplicate-free atomic dimension assignments, all keyed Given refs and ordered When refs exactly.
33
- - Every Assertion declares a non-empty all-of `evidence_capabilities` set. `presence` proves static existence only and cannot alone prove a behavioral Claim. A project payload may contain one typed current-execution compatibility record per capability, but a machine Claim is satisfied only by a matching package-derived result. In the current slice that means exact/presence and, for a direct process root, host `target_runtime`; missing admission, duplicate/unknown/undeclared records or disagreement with a submitted copy fail closed.
34
- - `interaction_trace` names the exact target plus the declared Given keys and ordered action keys, but no package derivation currently owns those semantics. Project/Playwright trace rows are diagnostic and the obligation remains External Confirmation, including on a direct process root.
35
- - `state_delta` compatibility rows still require different before/after hashes and named changed fields, but they are not package-derived machine proof. The same external boundary applies to `durable_readback`, `cross_surface_consistency`, `boundary_invocation`, `external_side_effect`, `failure_injection`, `input_variation`, `visual_render`, `design_conformance` and `design_method` until a package adapter derives the applicable result.
36
- - `target_runtime` binds the exact target/root and is host-derived only for a direct process product root. Runtime Fact refs and every admitted package-derived exact/presence result remain set-equal to the compiled obligation cells; no aggregate project record fills a missing cell.
37
- - Structured runners emit `long-task-check-result-v3` for capability records. V2 payloads remain decodable only for presence-only compatibility; they cannot satisfy a declared non-presence capability. Evidence records contain bounded hashes/ids/refs, not unrestricted raw payloads.
38
-
39
- ## Non-UI Semantic Fact Evidence
40
-
41
- Every machine `semantic_fact` proof binding compiles one immutable expectation row identified by manifest/digest, Outcome, Fact, proof method, Claim, applicability, subject/relation/population, exact condition and property. It freezes the Source-located expected value digest, sensitivity, comparator/mode/parameters/tolerance/mask, admitted observer identity and environment definition. Runtime evidence cannot rewrite any field, and Compile rejects a machine row whose method/surface/target/sensitivity/comparison mode has no admitted observer.
42
-
43
- The owning Check may submit compatibility data, but the package observer derives exactly one authoritative current `semantic_fact` result for every and only every admitted expectation assigned to it. Each result records:
44
-
45
- - exact assertion/manifest/Outcome/target/Fact/proof/method/subject/condition/property identity;
46
- - an attributable actual-observation artifact, current digest, typed locator and value digest;
47
- - an attributable actual-environment artifact, current digest, typed locator and value digest;
48
- - the frozen expected located authority and comparison tuple, plus a current comparison artifact/locator/result digest;
49
- - explicit `passed|failed` comparison and verdict;
50
- - the exact Oracle/environment identity; and
51
- - one result for every declared independent observer where applicable.
52
-
53
- V1 ground, V2 symbolic, non-UI semantic Fact, static observer and process observer all call the same Harness-owned `evaluateExactDigestComparison` with identity, actual/expected value digests, comparator/mode and parameter/tolerance/mask digests. The admitted exact slice permits only `exact_value + exact`, requires empty tolerance/mask and fails whenever actual differs from expected. Harness recomputes result identity; submitted `passed`/verdict never participates and any submitted comparison field that disagrees fails closed. Protected and tolerance/mask observations are not admitted in this slice and remain External Confirmation; secrets, tokens, personal or regulated values never enter Contract, logs, findings, Context or artifacts in raw form.
54
-
55
- Result identities and primary observations are duplicate-free. One aggregate Boolean/report/log/screenshot, one reused artifact+locator+value tuple, one all-states row or one Check exit code cannot satisfy several Facts or methods. A Fact may legitimately require several independently admitted methods/observers, and all must pass. Population/quantified Facts additionally prove exact expected universe = eligible = observed plus valid exclusions. Evidence must reach the furthest independently failing admitted boundary; parser/request/queue acceptance or implementation self-report does not prove storage, downstream delivery, recovery, security or external effect.
56
-
57
- Final Gate requires exact expectation/result set equality on its one current snapshot and rejects missing, extra, duplicate, stale, failed, authority-drifted, environment-mismatched, proxy-only, reused or indistinguishable results. External-confirmation obligations emit no fabricated machine row and remain pending through terminal reporting. Manifest/preflight success, hashes, Census, schema validation, focused tests and Progress prove only their own input/integrity/intermediate claims.
58
-
59
- ## Live Target Runtime Evidence
60
-
61
- - Machine target-runtime authority exists only for `package_process_json_exact`: Harness directly spawns the exact declared `runtime_family: process`, `role: product` root entrypoint and derives host execution attestation, target liveness, current exact/presence Actuals and exit result. This does not derive the semantic Given/action sequence required by `interaction_trace`. A project `target_runtime`, new `session_id`, `cold_start: true`, historical session, wrapper or child self-report is diagnostic only.
62
- - Static package observation proves structure/configuration content only. It cannot prove runtime consumption, interaction, liveness or production reachability merely because its path appears in a Binding or `input_paths`.
63
- - Browser/native/desktop/device runtime and layout/pixel/accessibility/motion observations have no admitted adapter in this slice. Playwright, H5/browser proxies, project binaries, screenshots and session payloads cannot close those machine Claims; retain a blocking External Confirmation.
64
- - Target family must equal admitted observer family. A proxy may prove only its own separately admitted Fact; it cannot substitute when proxy and required target can fail independently.
65
- - Historical reports, screenshots, binaries and logs are review material. Current-run diagnostics may accompany a Check as Artifacts, but only package extraction from the current frozen static carrier or Harness-owned direct process creates accepting Actual.
66
- - Bind every process runtime dependency through the Source-backed root plus its production owner/Binding. For argv, use only a standalone argument or explicit `--key=value`; Harness resolves a safe repository-relative value from declared `cwd` and includes it only when a production Binding exact path or pattern covers the result. Glob-owned and extensionless files are valid. An unmatched safe relative value is not copied; absolute, escaping, `file:` and network values fail closed unless explicitly external. Bind modules/configuration and Claim/Counterfactual carriers directly. Keep `input_paths` as ordinary Check scope/freshness and project verifier/helper material in `verification_inputs`: it is neither broadly role-scanned nor promoted into the snapshot. The declaration-stable compiled process closure is the only snapshot-copy input, and role separation checks only its actual members. Exact planned members may be absent through Preflight/Compile but must materialize at Final Gate. Compatible Cross-Check and implicit-preserved Facts may share one Raw Execution/envelope, but every Fact keeps its own obligation/comparison identity. A missing production binding for an actual dependency, forbidden closure-role overlap or absent Final member fails closed. This lets existing Progress freshness identify when rolling feedback is stale without a new trigger registry or dependency parser.
67
-
68
- ### Process Containment TCB
69
-
70
- The isolated runtime-closure snapshot, minimal environment, bounded stdout capture, no-follow/digest checks, direct process handle, timeout, process-tree monitoring and cleanup reduce self-attestation and cross-execution priming. Static observation likewise retains prepare-all mutation watching plus per-file pre/post identity/hash. Subtraction controls reopen transient/persistent carrier swaps or descendant/timeout leaks when those owner responsibilities are removed, so do not replace either pair with prose or a new edge mechanism. They are not an absolute security sandbox. The TCB includes the host OS/filesystem/process APIs, Node runtime and process-enumeration/termination behavior. Harness does not claim to contain a deliberately malicious executable that escapes the copied closure, accesses ambient filesystem/network resources or evades every OS process-tree mechanism. If a Claim needs that adversary boundary, run the target inside an independently controlled sandbox and retain External Confirmation until that observer is separately admitted.
71
-
72
- ## Causal Boundary Review After Revision
73
-
74
- - When a rolling blocker causes a semantic or proof revision, review only the affected weak-observability or high-risk Outcomes before adoption. Ask whether a cheaper proxy, fixed response or self-reported success could pass while the declared result still fails at a farther independent boundary.
75
- - Evidence must reach the furthest independently failing boundary named by the Claim. A proxy may prove its own result, but it cannot prove a downstream state or effect merely by reporting success.
76
- - Every behavioral Claim-bearing Assertion requires a same-Check claim-local semantic Counterfactual with admitted baseline and mutated observations. Use `replace_json_value` or `replace_text` to alter only the asserted semantic field/fragment while preserving the production carrier; the designated affected Fact set must change, `preserved_assertions` and preserved Facts/liveness must remain unchanged, other changes must belong to the explicit allowed fan-out set and the obligation universe must remain identical. `replace_file` remains compatibility-only and cannot establish semantic binding; `remove_paths` remains for non-behavioral existence/structure claims. A machine-closing Check with no admitted entries fails with `counterfactual_admitted_observation_required`; it never skips impact validation.
77
- - Static Counterfactuals prove only the mutated structure object itself. Runtime production reachability requires `Harness mutation of a compiled production carrier → direct execution of the same Source-backed process product root → package-observed actual change`; baseline and mutated execution bind the same process-closure identity and neither closure contains Authority, verification or evidence input. Binding/path declarations, synthetic status, evidence output and generated verifier carrier do not establish causality.
78
- - Keep this risk-proportional and internal. Do not create an evidence matrix, product-effect taxonomy, universal restart/end-to-end suite or persistent review state.
79
-
80
- For semantic Product Conformance, require one separate read-only Global `conformance` Check only when `weak_observability` combines with multiple Stages or multiple required product runtime families. It starts from a required root product target, uses a Raw Execution identity independent of Outcome Checks and runs inside the existing Final Gate. It can carry machine `target_runtime` only for an admitted direct-process root; unsupported families remain blocking External Confirmation and the conformance Check cannot bypass that boundary. Single-Stage/single-family weak work keeps the existing same-Check sensitivity path and does not pay this extra runtime cost.
81
-
82
- ## Playwright
83
-
84
- Playwright is a diagnostic project verifier in the current observer slice, not machine Actual authority. `[ac:<assertion-key>]` may still bind one declared AC per Test Instance for failure localization; ordinary tags are ignored and legacy `[<key>]` binds only a declared key.
85
-
86
- Missing, skipped, flaky, unexpected, timed-out, interrupted, failed, multi-AC and duplicate-within-project cases remain failed diagnostics. The same AC across distinct projects aggregates all-of for that diagnostic Check, and aggregate status/count fields remain diagnostic-only. None can close a browser/UI machine Claim.
87
-
88
- Standard frozen Playwright content remains a stable diagnostic verifier input, not an admitted Actual source. Browser/UI machine obligations are External Confirmation in the current slice. Playwright Counterfactual output can localize repairs but cannot create machine acceptance, target-runtime authority or capability proof.
89
-
90
- ## Visual UI Evidence
91
-
92
- - A selected implementation handoff must already pass `ty-context design-resource preflight`, including frozen-Inspector Census, exact manifest↔handoff universe equality, complete per-resource/Fact Cell/Fact/proof closure, non-sampling/non-truncation and exact-target layout/pixel defaults. Preserve exact handoff `fact_refs`, every property-required Fact × verification-method obligation and its exact expectation. Under the current observer slice, layout, pixel, visual, interaction, motion, accessibility, browser/native/device, protected and tolerance/mask methods bind blocking External Confirmations; project `design_method`, `fact_results`, screenshots and Playwright attachments are repair diagnostics only. A future package-admitted adapter may reuse these identities, but no project verdict can pre-admit it.
93
- - Keep separately attributable evidence where geometry/pixel/token/content, interaction/state, motion/haptic/sound timeline, accessibility semantic/navigation/visual adaptation and asset integrity cannot falsifiably share one observation method. This preserves the complete selected-design proof universe; it does not admit those currently unsupported methods for machine completion.
94
- - Never accept an aggregate Boolean, screenshot pass or one `all-states` result in place of per-Fact authority. The expected target cannot be generated from the implementation under test. Plain static/process exact observations remain attributable through package extraction; protected and tolerance/mask obligations remain External Confirmation until an admitted adapter owns their Actual and comparison.
95
- - Keep `design_resource_integrity` and `design_implementation_conformance` distinct. Stable paths/hashes, provider/export success, manifest/registry membership and expected counts prove resource integrity; `visual_render` proves a current artifact exists. Neither proves the production implementation matches a selected target.
96
- - When external design resources are Source, account for every selected exact-target/constraint condition that the Contract explicitly adopts. Candidate comparison, a mutable provider link, extraction success, metadata-only output, resource digest or an isolated prototype run is authoring/integrity material and cannot become product acceptance. Resolve each acceptance-affecting fact through a typed locator plus immutable path/hash and declared target/condition applicability before Compile. Include the handoff and every source-profile entry/dependency in `verification_inputs`; unsupported method-specific design, interaction and target-runtime obligations remain separate blocking External Confirmations on the real production target.
97
- - The decoder may validate a project `design_conformance` record against its compiled target/Assertion/current Check target, conditions and artifacts for diagnostics, but that record is not admitted Actual or comparison authority in this slice. Missing or swapped bindings fail the diagnostic Check; a matching record still cannot machine-close visual conformance or make the implementation render its own comparison authority.
98
- - Playwright may exercise declared `ui_browser` visual ACs for diagnostic localization. Give each independently falsifiable AC one `[ac:<assertion-key>]` Test Instance, but Playwright is not an admitted machine observer in this slice. Bind every browser visual obligation to blocking External Confirmation; a broad screenshot or one passing page case cannot waive an applicable cell.
99
- - Make the test environment deterministic enough for its claim: freeze the relevant browser/project, viewport, theme/mode, locale/timezone, font loading, fixtures/data and animation/motion policy in declared verifier inputs or configuration.
100
- - Any reviewed screenshot baseline that affects pass/fail must exist for the accepting Compile and be included in `verification_inputs`. Generated screenshots, diffs and reports are Artifacts and review material; they are not editable acceptance authority. Creating or replacing a baseline after Authority Lock is verifier-material revision and must never be silently auto-updated to make a failure pass.
101
- - Confirm that each baseline is a selected `exact-target` for the named surface/viewport/theme/state or implements a named `constraint`; an inspiration reference cannot become a fidelity oracle merely because it is available. The implementation's current screenshot is never its own target.
102
- - Screenshot comparison is diagnostic only under the current admitted boundary. Keep DOM/layout/accessibility/motion/responsive/input obligations distinct and blocking; one generic `design_conformance` record cannot erase Source Claims, verification methods or their External Confirmations.
103
- - Keep evidence aligned with stable surface/control/target keys. Visual similarity, interaction/navigation, validation/recovery, permission behavior, accessibility and target-runtime conformance are independently failing claims and need their own Assertions/capabilities when declared; one broad screenshot or UI pass cannot prove all Control fields.
104
- - Run diagnostic checks against production components or real product routes. Host `target_runtime` is available only when Harness directly executes the process product root; `interaction_trace` has no package derivation in the current slice and remains External Confirmation together with browser/native/device journeys. A detached kit/mock/deep-link harness cannot substitute for the production carrier or root journey.
105
- - Keep subjective visual quality and approval external. A new visual direction or baseline that needs human judgment remains an explicit external confirmation even when all machine checks pass.
106
- - `ui_browser` does not create machine proof in the current slice. Browser output cannot close native/mobile/desktop Claims; all such runtime reviews stay external until a package-owned adapter is admitted.
107
- - Preserve each handoff blocker's non-empty `required_capabilities`. A machine Claim closes it only when one admitted adapter for the exact target supplies every required observation; physical device, sensor, camera, orientation, haptic, screen-reader, pixel-density, safe-area and comparable observations are currently target-blocking External Confirmations and cannot be borrowed from a proxy.
108
-
109
- ## Symbolic Noninterference Evidence
110
-
111
- For every non-interference method, require a digest-identified frozen executable Oracle with the exact `symbolic_noninterference.<side>.<method>` capability. Source proof must use the canonical package-owned restricted Source IR in the complete current Inspector inputs; package preflight binds its current bytes to target/certificate/Rule scope and derives and memoizes the static dependency DAG, exact predicate/axis-erased equivalence or every finite-domain evaluation itself. Submitted graph/predicate/evaluation/pass fields and the artifact are recomputable cache only, and the artifact is excluded from semantic inputs. Executable/CSS/implicit-DOM/template/dynamic/reflected/computed/unfrozen/external Source blocks; production remains limited to package-parsed static HTML plus inert JSON. Both sides bind implementation closure/version/capability, environment, exact current inputs, side snapshot, scopes, omitted axes, derived result, artifact and witness. When proofs exist, Source and production proof digests must match the current Final-Gate certificate expectation/result. Extraction outside admitted representations remains an explicit TCB boundary.
112
-
113
- ## Structured Evidence And Sensitivity
114
-
115
- Every machine claim-bearing `structured_json_v2` Check needs same-Check Claim-related Counterfactual sensitivity backed by the compiled admitted observer; the project payload alone never supplies Actual. Population declares a real `universe_binding_key`; every universe carrier is an owning-Check `input_path`, and package observation proves exact universe = eligible = observed plus valid exclusions by entity id. Population never substitutes for the claim-local narrow semantic witness and host-derived target-runtime liveness required by an admitted process behavioral Claim. Artifacts and another Check never substitute for sensitivity.
116
-
117
- Outcome Counterfactual V2 names an Outcome `binding_key`; Global Counterfactual V2 resolves an Outcome-owned `binding_ref`. A Counterfactual mutates only a package-proven subset of implementation carriers, never Source, Context, runners, verification inputs, expected authority, evidence, reports or status. Behavioral witnesses use claim-local `replace_json_value` or `replace_text`, list their designated affected Fact/Assertion set, preserved Fact/liveness set and allowed fan-out set, and require package observations to establish the exact permitted actual changes.
118
-
119
- An `existing` mutation target must exist at Preflight/Compile and the JSON pointer/text fragment must resolve uniquely. An exact `planned` target, process root or argv dependency may be absent until implementation but must exist at Final Gate; materializing the declared path preserves compiled/Authority identity, while later content changes stale targeted Progress.
120
-
121
- Artifacts remain review material. They do not prove Claim sensitivity by themselves.