@semacode/cli 2.3.1 → 3.5.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 (281) hide show
  1. package/README.md +265 -217
  2. package/dist/agentContextPack.js +14 -10
  3. package/dist/agentEntryPoints.d.ts +5 -0
  4. package/dist/agentEntryPoints.js +592 -568
  5. package/dist/angular-consumer-standalone.js +1 -1
  6. package/dist/bin.d.ts +6 -0
  7. package/dist/bin.js +130 -0
  8. package/dist/cliArgs.js +4 -4
  9. package/dist/cliControlError.d.ts +12 -0
  10. package/dist/cliControlError.js +47 -0
  11. package/dist/cliGrammar.d.ts +11 -0
  12. package/dist/cliGrammar.js +551 -0
  13. package/dist/cliHelp.d.ts +13 -0
  14. package/dist/cliHelp.js +19 -0
  15. package/dist/cliHelpTexto.d.ts +3 -0
  16. package/dist/cliHelpTexto.js +168 -0
  17. package/dist/cliRuntime.d.ts +2 -0
  18. package/dist/cliRuntime.js +31 -0
  19. package/dist/comandos.js +9 -22
  20. package/dist/contexto.js +5 -5
  21. package/dist/dev/index.d.ts +1 -0
  22. package/dist/dev/index.js +51 -9
  23. package/dist/discovery/catalog.js +3 -3
  24. package/dist/distribuicao/filesystemGlobal.d.ts +63 -0
  25. package/dist/distribuicao/filesystemGlobal.js +701 -0
  26. package/dist/distribuicao/index.d.ts +7 -0
  27. package/dist/distribuicao/index.js +227 -0
  28. package/dist/distribuicao/launcherGlobal.d.ts +53 -0
  29. package/dist/distribuicao/launcherGlobal.js +643 -0
  30. package/dist/distribuicao/launcherWindows.d.ts +28 -0
  31. package/dist/distribuicao/launcherWindows.js +326 -0
  32. package/dist/distribuicao/lockContextGlobal.d.ts +10 -0
  33. package/dist/distribuicao/lockContextGlobal.js +17 -0
  34. package/dist/distribuicao/lockGlobal.d.ts +6 -0
  35. package/dist/distribuicao/lockGlobal.js +520 -0
  36. package/dist/distribuicao/skillGlobal.d.ts +48 -0
  37. package/dist/distribuicao/skillGlobal.js +652 -0
  38. package/dist/distribuicao/skillIntentPolicy.d.ts +21 -0
  39. package/dist/distribuicao/skillIntentPolicy.js +115 -0
  40. package/dist/distribuicao/tipos.d.ts +50 -0
  41. package/dist/distribuicao/tipos.js +10 -0
  42. package/dist/distribuicao/versaoSemantica.d.ts +3 -0
  43. package/dist/distribuicao/versaoSemantica.js +62 -0
  44. package/dist/docs.part01.d.ts +4 -1
  45. package/dist/docs.part01.js +8 -0
  46. package/dist/docs.part02.js +9 -1
  47. package/dist/drift.part01.d.ts +33 -25
  48. package/dist/drift.part01.js +2 -1
  49. package/dist/drift.part04.d.ts +26 -5
  50. package/dist/drift.part04.js +123 -19
  51. package/dist/drift.part05.d.ts +2 -2
  52. package/dist/drift.part05.js +8 -6
  53. package/dist/drift.part06.d.ts +2 -2
  54. package/dist/drift.part06.js +113 -26
  55. package/dist/drift.part07.d.ts +11 -11
  56. package/dist/drift.part07.js +261 -265
  57. package/dist/drift.part08.d.ts +2 -2
  58. package/dist/drift.part08.js +35 -26
  59. package/dist/drift.part09.d.ts +2 -2
  60. package/dist/drift.part09.js +10 -3
  61. package/dist/drift.part11.js +261 -58
  62. package/dist/drift.part12.d.ts +1 -1
  63. package/dist/drift.part12.js +193 -21
  64. package/dist/drift.part13.d.ts +20 -39
  65. package/dist/drift.part13.js +601 -647
  66. package/dist/drift.part14.js +23 -7
  67. package/dist/driftCacheCas.d.ts +43 -0
  68. package/dist/driftCacheCas.js +351 -0
  69. package/dist/driftCacheFilesystem.d.ts +64 -0
  70. package/dist/driftCacheFilesystem.js +313 -0
  71. package/dist/driftCacheModes.d.ts +38 -0
  72. package/dist/driftCacheModes.js +147 -0
  73. package/dist/driftCacheStore.d.ts +80 -0
  74. package/dist/driftCacheStore.js +603 -0
  75. package/dist/driftCatalogo.d.ts +2 -28
  76. package/dist/driftCatalogo.js +143 -284
  77. package/dist/driftEscopo.d.ts +1 -3
  78. package/dist/driftEscopo.js +235 -151
  79. package/dist/driftEscopoReferencias.d.ts +5 -1
  80. package/dist/driftEscopoReferencias.js +375 -28
  81. package/dist/driftOrcamento.d.ts +0 -6
  82. package/dist/driftOrcamento.js +2 -1
  83. package/dist/execucoesExternas.js +19 -5
  84. package/dist/exemplosOficiais.d.ts +2 -1
  85. package/dist/exemplosOficiais.js +9 -3
  86. package/dist/geracaoCore.d.ts +1 -0
  87. package/dist/geracaoCore.js +6 -6
  88. package/dist/iaPrompts.d.ts +3 -3
  89. package/dist/iaPrompts.js +312 -313
  90. package/dist/importador.part01.d.ts +1 -1
  91. package/dist/importador.part06.d.ts +2 -0
  92. package/dist/importador.part06.js +87 -1
  93. package/dist/importador.part09.js +7 -1
  94. package/dist/index.d.ts +4 -1
  95. package/dist/index.js +6 -25
  96. package/dist/index.part01.d.ts +20 -28
  97. package/dist/index.part01.js +16 -237
  98. package/dist/index.part02.js +36 -22
  99. package/dist/index.part03.d.ts +24 -2
  100. package/dist/index.part03.js +83 -19
  101. package/dist/index.part04.d.ts +10 -2
  102. package/dist/index.part04.js +152 -123
  103. package/dist/index.part05.js +80 -78
  104. package/dist/index.part06.js +34 -17
  105. package/dist/index.part07.d.ts +8 -2
  106. package/dist/index.part07.js +153 -7
  107. package/dist/index.part08.d.ts +1 -1
  108. package/dist/index.part08.js +25 -30
  109. package/dist/initCommand.d.ts +1 -0
  110. package/dist/initCommand.js +20 -4
  111. package/dist/initTemplatesBase.js +6 -4
  112. package/dist/pipelineConteudo/command.d.ts +1 -0
  113. package/dist/pipelineConteudo/command.js +9 -2
  114. package/dist/pipelineConteudo/help.d.ts +2 -0
  115. package/dist/pipelineConteudo/help.js +33 -0
  116. package/dist/profileAuthorCommand.js +3 -7
  117. package/dist/profileCommand.js +3 -7
  118. package/dist/projetoCarregar.js +35 -17
  119. package/dist/projetoCatalogo.d.ts +1 -0
  120. package/dist/projetoCatalogo.js +64 -25
  121. package/dist/projetoConfig.js +2 -0
  122. package/dist/projetoLegado.js +18 -0
  123. package/dist/projetoOrigens.d.ts +2 -0
  124. package/dist/projetoOrigens.js +65 -9
  125. package/dist/projetoTipos.d.ts +1 -0
  126. package/dist/resultadoCli.d.ts +20 -0
  127. package/dist/resultadoCli.js +57 -0
  128. package/dist/saidaCli.d.ts +35 -0
  129. package/dist/saidaCli.js +118 -0
  130. package/dist/sistemasInterativos/acceptanceEvidence.d.ts +22 -0
  131. package/dist/sistemasInterativos/acceptanceEvidence.js +345 -0
  132. package/dist/sistemasInterativos/engineObservation.d.ts +12 -0
  133. package/dist/sistemasInterativos/engineObservation.js +438 -0
  134. package/dist/sistemasInterativos/jobOrchestration.d.ts +2 -0
  135. package/dist/sistemasInterativos/jobOrchestration.js +204 -0
  136. package/dist/sistemasInterativos/operationPrimitives.d.ts +21 -0
  137. package/dist/sistemasInterativos/operationPrimitives.js +194 -0
  138. package/dist/sistemasInterativos/operations.d.ts +4 -39
  139. package/dist/sistemasInterativos/operations.js +5 -1164
  140. package/dist/skillCommand.d.ts +5 -0
  141. package/dist/skillCommand.js +88 -0
  142. package/dist/tipos.d.ts +1 -1
  143. package/dist/typescript-http-modelos.d.ts +1 -1
  144. package/dist/typescript-http-rotas.d.ts +1 -0
  145. package/dist/typescript-http-rotas.js +93 -0
  146. package/dist/typescript-http.d.ts +1 -1
  147. package/dist/typescript-http.js +1 -1
  148. package/dist/verificacaoCache.d.ts +25 -0
  149. package/dist/verificacaoCache.js +80 -0
  150. package/docs/README.md +34 -30
  151. package/docs/ai-integration.md +25 -12
  152. package/docs/ai-onboarding.md +37 -18
  153. package/docs/ai-workflow.md +9 -7
  154. package/docs/cli.md +125 -7
  155. package/docs/commands.md +41 -20
  156. package/docs/deploy.md +21 -8
  157. package/docs/descoberta-capacidades.md +106 -106
  158. package/docs/documentation.md +49 -39
  159. package/docs/drift-cache.md +108 -0
  160. package/docs/getting-started.md +43 -18
  161. package/docs/pipeline-conteudo.md +246 -246
  162. package/docs/profiles.md +54 -54
  163. package/docs/repositories.md +19 -2
  164. package/docs/rollback.md +15 -8
  165. package/docs/security.md +25 -3
  166. package/docs/sistemas-interativos.md +379 -374
  167. package/docs/syntax.md +14 -0
  168. package/docs/testing.md +139 -40
  169. package/exemplos/express_crud.sema +139 -0
  170. package/exemplos/fastify_crud.sema +146 -0
  171. package/exemplos/pipeline-conteudo/README.md +44 -44
  172. package/exemplos/pipeline-conteudo/alvos.json +23 -23
  173. package/exemplos/pipeline-conteudo/definicao.json +136 -136
  174. package/exemplos/profile_simulation.sema +211 -211
  175. package/exemplos/sistemas-interativos/README.md +100 -100
  176. package/exemplos/sistemas-interativos/advanced/acceptance-context-evaluate-valid.json +5 -5
  177. package/exemplos/sistemas-interativos/advanced/acceptance-lock-valid.json +16 -16
  178. package/exemplos/sistemas-interativos/advanced/asset-provenance-valid.json +32 -32
  179. package/exemplos/sistemas-interativos/advanced/autonomy-repair-valid.json +93 -93
  180. package/exemplos/sistemas-interativos/advanced/control-run-definition-valid.json +78 -78
  181. package/exemplos/sistemas-interativos/advanced/control-run-valid.json +27 -27
  182. package/exemplos/sistemas-interativos/advanced/distributed-workers-valid.json +79 -79
  183. package/exemplos/sistemas-interativos/advanced/editor-state-valid.json +42 -42
  184. package/exemplos/sistemas-interativos/advanced/engine-snapshot-after-valid.json +32 -32
  185. package/exemplos/sistemas-interativos/advanced/engine-snapshot-before-valid.json +23 -23
  186. package/exemplos/sistemas-interativos/advanced/job-orchestration-valid.json +39 -39
  187. package/exemplos/sistemas-interativos/advanced/multimodal-evidence-valid.json +46 -46
  188. package/exemplos/sistemas-interativos/advanced/multiplayer-authority-valid.json +39 -39
  189. package/exemplos/sistemas-interativos/advanced/playtest-fuzz-valid.json +37 -37
  190. package/exemplos/sistemas-interativos/advanced/portability-valid.json +104 -104
  191. package/exemplos/sistemas-interativos/advanced/temporal-evidence-valid.json +27 -27
  192. package/exemplos/sistemas-interativos/advanced/temporal-valid.json +118 -118
  193. package/exemplos/sistemas-interativos/experience-ir-valid.json +459 -459
  194. package/exemplos/sistemas-interativos/game-2d.json +83 -83
  195. package/exemplos/sistemas-interativos/game-3d-human.json +81 -81
  196. package/exemplos/sistemas-interativos/game-pixel-16-bit.json +97 -97
  197. package/exemplos/sistemas-interativos/game-pixel-8-bit.json +94 -94
  198. package/exemplos/sistemas-interativos/game-xr-human.json +80 -80
  199. package/exemplos/sistemas-interativos/hybrid-2-5d.json +108 -108
  200. package/exemplos/sistemas-interativos/protocol-mutating-rollback-valid.json +75 -75
  201. package/exemplos/sistemas-interativos/protocol-read-only-valid.json +58 -58
  202. package/exemplos/sistemas-interativos/simulation-2d-controlled.json +97 -97
  203. package/exemplos/sistemas-interativos/simulation-3d-calibrated-autonomous.json +141 -141
  204. package/exemplos/sistemas-interativos/simulation-headless-autonomous-batch.json +112 -112
  205. package/exemplos/sistemas-interativos/simulation-pixel-16-bit.json +103 -103
  206. package/exemplos/sistemas-interativos/simulation-text-controlled.json +95 -95
  207. package/node_modules/@sema/gerador-cpp/package.json +1 -1
  208. package/node_modules/@sema/gerador-dotnet/package.json +1 -1
  209. package/node_modules/@sema/gerador-lua/dist/index.js +51 -51
  210. package/node_modules/@sema/gerador-php/dist/index.js +113 -113
  211. package/node_modules/@sema/nucleo/dist/ir/conversor.part01.js +37 -38
  212. package/node_modules/@sema/nucleo/dist/ir/modelos.d.ts +1 -0
  213. package/node_modules/@sema/nucleo/dist/semantico/analisador.d.ts +1 -0
  214. package/node_modules/@sema/nucleo/dist/semantico/analisador.js +1 -0
  215. package/node_modules/@sema/nucleo/dist/semantico/analisador.part01.d.ts +7 -0
  216. package/node_modules/@sema/nucleo/dist/semantico/analisador.part01.js +33 -10
  217. package/package.json +9 -4
  218. package/scripts/postinstall.mjs +148 -0
  219. package/skills/sema/SKILL.md +199 -0
  220. package/skills/sema/agents/openai.yaml +4 -0
  221. package/dist/driftCache.d.ts +0 -49
  222. package/dist/driftCache.js +0 -311
  223. package/dist/driftCacheIncremental.d.ts +0 -98
  224. package/dist/driftCacheIncremental.js +0 -596
  225. package/dist/driftCatalogoPersistente.d.ts +0 -8
  226. package/dist/driftCatalogoPersistente.js +0 -77
  227. package/node_modules/@sema/gerador-cpp/dist/index.js.map +0 -1
  228. package/node_modules/@sema/gerador-css/dist/index.js.map +0 -1
  229. package/node_modules/@sema/gerador-css/dist/index.part01.js.map +0 -1
  230. package/node_modules/@sema/gerador-css/dist/index.part02.js.map +0 -1
  231. package/node_modules/@sema/gerador-dart/dist/index.js.map +0 -1
  232. package/node_modules/@sema/gerador-dotnet/dist/index.js.map +0 -1
  233. package/node_modules/@sema/gerador-html/dist/index.js.map +0 -1
  234. package/node_modules/@sema/gerador-javascript/dist/index.js.map +0 -1
  235. package/node_modules/@sema/gerador-lua/dist/index.js.map +0 -1
  236. package/node_modules/@sema/gerador-php/dist/index.js.map +0 -1
  237. package/node_modules/@sema/gerador-python/dist/index.js.map +0 -1
  238. package/node_modules/@sema/gerador-python/dist/index.part01.js.map +0 -1
  239. package/node_modules/@sema/gerador-python/dist/index.part02.js.map +0 -1
  240. package/node_modules/@sema/gerador-typescript/dist/index.js.map +0 -1
  241. package/node_modules/@sema/gerador-typescript/dist/index.part01.js.map +0 -1
  242. package/node_modules/@sema/gerador-typescript/dist/index.part02.js.map +0 -1
  243. package/node_modules/@sema/gerador-typescript/dist/index.part03.js.map +0 -1
  244. package/node_modules/@sema/nucleo/dist/ast/tipos.js.map +0 -1
  245. package/node_modules/@sema/nucleo/dist/diagnosticos/index.js.map +0 -1
  246. package/node_modules/@sema/nucleo/dist/diagnosticos/melhorador.js.map +0 -1
  247. package/node_modules/@sema/nucleo/dist/diagnosticos/snippets.js.map +0 -1
  248. package/node_modules/@sema/nucleo/dist/formatador/index.js.map +0 -1
  249. package/node_modules/@sema/nucleo/dist/formatador/index.part01.js.map +0 -1
  250. package/node_modules/@sema/nucleo/dist/formatador/index.part02.js.map +0 -1
  251. package/node_modules/@sema/nucleo/dist/index.js.map +0 -1
  252. package/node_modules/@sema/nucleo/dist/ir/conversor.js.map +0 -1
  253. package/node_modules/@sema/nucleo/dist/ir/conversor.part01.js.map +0 -1
  254. package/node_modules/@sema/nucleo/dist/ir/conversor.part02.js.map +0 -1
  255. package/node_modules/@sema/nucleo/dist/ir/conversor.part03.js.map +0 -1
  256. package/node_modules/@sema/nucleo/dist/ir/modelos.js.map +0 -1
  257. package/node_modules/@sema/nucleo/dist/lexer/lexer.js.map +0 -1
  258. package/node_modules/@sema/nucleo/dist/lexer/tokens.js.map +0 -1
  259. package/node_modules/@sema/nucleo/dist/parser/parser.declaracoes.js.map +0 -1
  260. package/node_modules/@sema/nucleo/dist/parser/parser.js.map +0 -1
  261. package/node_modules/@sema/nucleo/dist/parser/parser.modulo.js.map +0 -1
  262. package/node_modules/@sema/nucleo/dist/parser/parser.part01.js.map +0 -1
  263. package/node_modules/@sema/nucleo/dist/parser/parser.part02.js.map +0 -1
  264. package/node_modules/@sema/nucleo/dist/parser/parser.part03.js.map +0 -1
  265. package/node_modules/@sema/nucleo/dist/persistencia/contratos.js.map +0 -1
  266. package/node_modules/@sema/nucleo/dist/semantico/analisador.js.map +0 -1
  267. package/node_modules/@sema/nucleo/dist/semantico/analisador.part01.js.map +0 -1
  268. package/node_modules/@sema/nucleo/dist/semantico/analisador.part02.js.map +0 -1
  269. package/node_modules/@sema/nucleo/dist/semantico/analisador.part03.js.map +0 -1
  270. package/node_modules/@sema/nucleo/dist/semantico/analisador.part04.js.map +0 -1
  271. package/node_modules/@sema/nucleo/dist/semantico/analisador.part05.js.map +0 -1
  272. package/node_modules/@sema/nucleo/dist/semantico/analisador.part06.js.map +0 -1
  273. package/node_modules/@sema/nucleo/dist/semantico/analisador.part07.js.map +0 -1
  274. package/node_modules/@sema/nucleo/dist/semantico/analisador.part08.js.map +0 -1
  275. package/node_modules/@sema/nucleo/dist/semantico/estruturas.js.map +0 -1
  276. package/node_modules/@sema/nucleo/dist/semantico/estruturas.part01.js.map +0 -1
  277. package/node_modules/@sema/nucleo/dist/semantico/estruturas.part02.js.map +0 -1
  278. package/node_modules/@sema/nucleo/dist/semantico/orcamentoSemantico.js.map +0 -1
  279. package/node_modules/@sema/nucleo/dist/semantico/seguranca.js.map +0 -1
  280. package/node_modules/@sema/nucleo/dist/util/arquivos.js.map +0 -1
  281. package/node_modules/@sema/padroes/dist/index.js.map +0 -1
@@ -1,75 +1,75 @@
1
- {
2
- "runId": "fixture.protocol.mutating-rollback.001",
3
- "adapterId": "engine.godot",
4
- "adapterVersion": "1.0.0",
5
- "semanticTargetId": "example.game.3d.human",
6
- "phases": [
7
- {
8
- "phaseId": "mutating.detect",
9
- "phase": "DETECT",
10
- "semanticTargetId": "example.game.3d.human",
11
- "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
12
- "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
13
- "success": true
14
- },
15
- {
16
- "phaseId": "mutating.probe",
17
- "phase": "PROBE",
18
- "semanticTargetId": "example.game.3d.human",
19
- "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
20
- "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
21
- "success": true
22
- },
23
- {
24
- "phaseId": "mutating.snapshot",
25
- "phase": "SNAPSHOT",
26
- "semanticTargetId": "example.game.3d.human",
27
- "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
28
- "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
29
- "success": true
30
- },
31
- {
32
- "phaseId": "mutating.plan",
33
- "phase": "PLAN",
34
- "semanticTargetId": "example.game.3d.human",
35
- "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
36
- "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
37
- "success": true
38
- },
39
- {
40
- "phaseId": "mutating.apply",
41
- "phase": "APPLY",
42
- "semanticTargetId": "example.game.3d.human",
43
- "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
44
- "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
45
- "success": true
46
- },
47
- {
48
- "phaseId": "mutating.validate",
49
- "phase": "VALIDATE",
50
- "semanticTargetId": "example.game.3d.human",
51
- "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
52
- "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
53
- "success": false
54
- },
55
- {
56
- "phaseId": "mutating.evidence",
57
- "phase": "EVIDENCE",
58
- "semanticTargetId": "example.game.3d.human",
59
- "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
60
- "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
61
- "success": true
62
- },
63
- {
64
- "phaseId": "mutating.rollback",
65
- "phase": "ROLLBACK",
66
- "semanticTargetId": "example.game.3d.human",
67
- "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
68
- "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
69
- "success": true
70
- }
71
- ],
72
- "mutated": true,
73
- "success": false,
74
- "rollbackEvidenceId": "fixture.rollback.observed.001"
75
- }
1
+ {
2
+ "runId": "fixture.protocol.mutating-rollback.001",
3
+ "adapterId": "engine.godot",
4
+ "adapterVersion": "1.0.0",
5
+ "semanticTargetId": "example.game.3d.human",
6
+ "phases": [
7
+ {
8
+ "phaseId": "mutating.detect",
9
+ "phase": "DETECT",
10
+ "semanticTargetId": "example.game.3d.human",
11
+ "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
12
+ "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
13
+ "success": true
14
+ },
15
+ {
16
+ "phaseId": "mutating.probe",
17
+ "phase": "PROBE",
18
+ "semanticTargetId": "example.game.3d.human",
19
+ "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
20
+ "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
21
+ "success": true
22
+ },
23
+ {
24
+ "phaseId": "mutating.snapshot",
25
+ "phase": "SNAPSHOT",
26
+ "semanticTargetId": "example.game.3d.human",
27
+ "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
28
+ "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
29
+ "success": true
30
+ },
31
+ {
32
+ "phaseId": "mutating.plan",
33
+ "phase": "PLAN",
34
+ "semanticTargetId": "example.game.3d.human",
35
+ "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
36
+ "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
37
+ "success": true
38
+ },
39
+ {
40
+ "phaseId": "mutating.apply",
41
+ "phase": "APPLY",
42
+ "semanticTargetId": "example.game.3d.human",
43
+ "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
44
+ "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
45
+ "success": true
46
+ },
47
+ {
48
+ "phaseId": "mutating.validate",
49
+ "phase": "VALIDATE",
50
+ "semanticTargetId": "example.game.3d.human",
51
+ "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
52
+ "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
53
+ "success": false
54
+ },
55
+ {
56
+ "phaseId": "mutating.evidence",
57
+ "phase": "EVIDENCE",
58
+ "semanticTargetId": "example.game.3d.human",
59
+ "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
60
+ "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
61
+ "success": true
62
+ },
63
+ {
64
+ "phaseId": "mutating.rollback",
65
+ "phase": "ROLLBACK",
66
+ "semanticTargetId": "example.game.3d.human",
67
+ "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
68
+ "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
69
+ "success": true
70
+ }
71
+ ],
72
+ "mutated": true,
73
+ "success": false,
74
+ "rollbackEvidenceId": "fixture.rollback.observed.001"
75
+ }
@@ -1,58 +1,58 @@
1
- {
2
- "runId": "fixture.protocol.read-only.001",
3
- "adapterId": "runtime.headless.generic",
4
- "adapterVersion": "1.0.0",
5
- "semanticTargetId": "example.simulation.headless.autonomous-batch",
6
- "phases": [
7
- {
8
- "phaseId": "readonly.detect",
9
- "phase": "DETECT",
10
- "semanticTargetId": "example.simulation.headless.autonomous-batch",
11
- "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
12
- "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
13
- "success": true
14
- },
15
- {
16
- "phaseId": "readonly.probe",
17
- "phase": "PROBE",
18
- "semanticTargetId": "example.simulation.headless.autonomous-batch",
19
- "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
20
- "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
21
- "success": true
22
- },
23
- {
24
- "phaseId": "readonly.snapshot",
25
- "phase": "SNAPSHOT",
26
- "semanticTargetId": "example.simulation.headless.autonomous-batch",
27
- "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
28
- "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
29
- "success": true
30
- },
31
- {
32
- "phaseId": "readonly.plan",
33
- "phase": "PLAN",
34
- "semanticTargetId": "example.simulation.headless.autonomous-batch",
35
- "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
36
- "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
37
- "success": true
38
- },
39
- {
40
- "phaseId": "readonly.validate",
41
- "phase": "VALIDATE",
42
- "semanticTargetId": "example.simulation.headless.autonomous-batch",
43
- "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
44
- "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
45
- "success": true
46
- },
47
- {
48
- "phaseId": "readonly.evidence",
49
- "phase": "EVIDENCE",
50
- "semanticTargetId": "example.simulation.headless.autonomous-batch",
51
- "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
52
- "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
53
- "success": true
54
- }
55
- ],
56
- "mutated": false,
57
- "success": true
58
- }
1
+ {
2
+ "runId": "fixture.protocol.read-only.001",
3
+ "adapterId": "runtime.headless.generic",
4
+ "adapterVersion": "1.0.0",
5
+ "semanticTargetId": "example.simulation.headless.autonomous-batch",
6
+ "phases": [
7
+ {
8
+ "phaseId": "readonly.detect",
9
+ "phase": "DETECT",
10
+ "semanticTargetId": "example.simulation.headless.autonomous-batch",
11
+ "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
12
+ "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
13
+ "success": true
14
+ },
15
+ {
16
+ "phaseId": "readonly.probe",
17
+ "phase": "PROBE",
18
+ "semanticTargetId": "example.simulation.headless.autonomous-batch",
19
+ "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
20
+ "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
21
+ "success": true
22
+ },
23
+ {
24
+ "phaseId": "readonly.snapshot",
25
+ "phase": "SNAPSHOT",
26
+ "semanticTargetId": "example.simulation.headless.autonomous-batch",
27
+ "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
28
+ "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
29
+ "success": true
30
+ },
31
+ {
32
+ "phaseId": "readonly.plan",
33
+ "phase": "PLAN",
34
+ "semanticTargetId": "example.simulation.headless.autonomous-batch",
35
+ "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
36
+ "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
37
+ "success": true
38
+ },
39
+ {
40
+ "phaseId": "readonly.validate",
41
+ "phase": "VALIDATE",
42
+ "semanticTargetId": "example.simulation.headless.autonomous-batch",
43
+ "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
44
+ "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
45
+ "success": true
46
+ },
47
+ {
48
+ "phaseId": "readonly.evidence",
49
+ "phase": "EVIDENCE",
50
+ "semanticTargetId": "example.simulation.headless.autonomous-batch",
51
+ "inputDigest": "sha256:8faad66a2e59a27af6bbc6e1421493a2f3758f376515c44e2e16fbcb340ac082",
52
+ "outputDigest": "sha256:4f135cff766c846e90720c6e50676c37a7b98023bbe7b1ef6b3fa46fd54ffc2d",
53
+ "success": true
54
+ }
55
+ ],
56
+ "mutated": false,
57
+ "success": true
58
+ }
@@ -1,97 +1,97 @@
1
- {
2
- "schemaVersion": "1.0",
3
- "systemId": "example.simulation.2d.controlled",
4
- "version": "1.0.0",
5
- "kind": "SIMULATION",
6
- "spatialModel": "TWO_D",
7
- "renderMode": "VISUAL",
8
- "visualProfile": "VECTOR",
9
- "fidelity": "SYSTEMIC",
10
- "controlModes": [
11
- "SCRIPTED"
12
- ],
13
- "timeModel": "FIXED_STEP",
14
- "determinism": "SEEDED",
15
- "capabilities": [
16
- "interactive.control.scripted",
17
- "interactive.determinism.seeded",
18
- "interactive.event.log",
19
- "interactive.fidelity.systemic",
20
- "interactive.kind.simulation",
21
- "interactive.render.visual",
22
- "interactive.replay.compare",
23
- "interactive.seed.bind",
24
- "interactive.snapshot.capture",
25
- "interactive.spatial.two_d",
26
- "interactive.state.model",
27
- "interactive.time.fixed_step",
28
- "interactive.visual.vector",
29
- "interactive.world.model",
30
- "simulation.invariants.validate",
31
- "simulation.model",
32
- "simulation.outputs.compare",
33
- "simulation.outputs.observe",
34
- "simulation.scenario.define",
35
- "simulation.validity.report"
36
- ],
37
- "pipelines": [
38
- "simulation.scenario",
39
- "simulation.validate",
40
- "interactive.replay"
41
- ],
42
- "adapterTargets": [
43
- "engine.web.canvas2d",
44
- "simulation.runner.generic",
45
- "telemetry.trace.local",
46
- "validator.replay.local"
47
- ],
48
- "world": {
49
- "identity": "script-controlled urban traffic grid",
50
- "state": {
51
- "vehicles": 120,
52
- "signals": "timed-plan-a"
53
- },
54
- "time": {
55
- "fixedStepSeconds": 0.1
56
- },
57
- "events": [
58
- "vehicle.enter",
59
- "signal.change",
60
- "vehicle.exit"
61
- ],
62
- "initialConditions": {
63
- "demandProfile": "weekday-am",
64
- "signalPlan": "timed-plan-a"
65
- },
66
- "grid": "lane graph projected onto a 2D metric plane",
67
- "coordinateSystem": "local east-north metres",
68
- "model": "cell-transmission traffic flow with scripted signal phases",
69
- "assumptions": [
70
- "driver response is homogeneous inside each vehicle class"
71
- ],
72
- "boundaryConditions": {
73
- "inflowVehiclesPerHour": 900,
74
- "simulationDurationSeconds": 3600
75
- },
76
- "outputs": [
77
- "meanTravelTimeSeconds",
78
- "queueLengthVehicles",
79
- "throughputVehiclesPerHour"
80
- ],
81
- "validation": {
82
- "method": "compare seeded replay outputs with conservation invariants",
83
- "invariants": ["vehicle count is conserved", "queue length remains non-negative"]
84
- },
85
- "seed": 2026071902,
86
- "snapshot": "network, queues, signals, and random stream state",
87
- "replay": "scripted demand and signal events",
88
- "step": "fixed 0.1 second update"
89
- },
90
- "acceptance": {
91
- "invariants": [
92
- "vehicle count is conserved",
93
- "queue length is never negative"
94
- ],
95
- "outputs": "all declared metrics are emitted for every completed run"
96
- }
97
- }
1
+ {
2
+ "schemaVersion": "1.0",
3
+ "systemId": "example.simulation.2d.controlled",
4
+ "version": "1.0.0",
5
+ "kind": "SIMULATION",
6
+ "spatialModel": "TWO_D",
7
+ "renderMode": "VISUAL",
8
+ "visualProfile": "VECTOR",
9
+ "fidelity": "SYSTEMIC",
10
+ "controlModes": [
11
+ "SCRIPTED"
12
+ ],
13
+ "timeModel": "FIXED_STEP",
14
+ "determinism": "SEEDED",
15
+ "capabilities": [
16
+ "interactive.control.scripted",
17
+ "interactive.determinism.seeded",
18
+ "interactive.event.log",
19
+ "interactive.fidelity.systemic",
20
+ "interactive.kind.simulation",
21
+ "interactive.render.visual",
22
+ "interactive.replay.compare",
23
+ "interactive.seed.bind",
24
+ "interactive.snapshot.capture",
25
+ "interactive.spatial.two_d",
26
+ "interactive.state.model",
27
+ "interactive.time.fixed_step",
28
+ "interactive.visual.vector",
29
+ "interactive.world.model",
30
+ "simulation.invariants.validate",
31
+ "simulation.model",
32
+ "simulation.outputs.compare",
33
+ "simulation.outputs.observe",
34
+ "simulation.scenario.define",
35
+ "simulation.validity.report"
36
+ ],
37
+ "pipelines": [
38
+ "simulation.scenario",
39
+ "simulation.validate",
40
+ "interactive.replay"
41
+ ],
42
+ "adapterTargets": [
43
+ "engine.web.canvas2d",
44
+ "simulation.runner.generic",
45
+ "telemetry.trace.local",
46
+ "validator.replay.local"
47
+ ],
48
+ "world": {
49
+ "identity": "script-controlled urban traffic grid",
50
+ "state": {
51
+ "vehicles": 120,
52
+ "signals": "timed-plan-a"
53
+ },
54
+ "time": {
55
+ "fixedStepSeconds": 0.1
56
+ },
57
+ "events": [
58
+ "vehicle.enter",
59
+ "signal.change",
60
+ "vehicle.exit"
61
+ ],
62
+ "initialConditions": {
63
+ "demandProfile": "weekday-am",
64
+ "signalPlan": "timed-plan-a"
65
+ },
66
+ "grid": "lane graph projected onto a 2D metric plane",
67
+ "coordinateSystem": "local east-north metres",
68
+ "model": "cell-transmission traffic flow with scripted signal phases",
69
+ "assumptions": [
70
+ "driver response is homogeneous inside each vehicle class"
71
+ ],
72
+ "boundaryConditions": {
73
+ "inflowVehiclesPerHour": 900,
74
+ "simulationDurationSeconds": 3600
75
+ },
76
+ "outputs": [
77
+ "meanTravelTimeSeconds",
78
+ "queueLengthVehicles",
79
+ "throughputVehiclesPerHour"
80
+ ],
81
+ "validation": {
82
+ "method": "compare seeded replay outputs with conservation invariants",
83
+ "invariants": ["vehicle count is conserved", "queue length remains non-negative"]
84
+ },
85
+ "seed": 2026071902,
86
+ "snapshot": "network, queues, signals, and random stream state",
87
+ "replay": "scripted demand and signal events",
88
+ "step": "fixed 0.1 second update"
89
+ },
90
+ "acceptance": {
91
+ "invariants": [
92
+ "vehicle count is conserved",
93
+ "queue length is never negative"
94
+ ],
95
+ "outputs": "all declared metrics are emitted for every completed run"
96
+ }
97
+ }