@semacode/cli 2.2.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) hide show
  1. package/LICENSE +39 -39
  2. package/README.md +251 -141
  3. package/dist/agentContext.d.ts +1 -1
  4. package/dist/agentContextPack.js +6 -1
  5. package/dist/agentContextTipos.d.ts +4 -2
  6. package/dist/agentContextTipos.js +7 -0
  7. package/dist/agentEntryPoints.js +551 -499
  8. package/dist/angular-consumer-standalone.d.ts +3 -1
  9. package/dist/angular-consumer-standalone.js +12 -8
  10. package/dist/comandos.js +4 -0
  11. package/dist/discovery/catalog.d.ts +11 -0
  12. package/dist/discovery/catalog.js +521 -0
  13. package/dist/discovery/command.d.ts +11 -0
  14. package/dist/discovery/command.js +226 -0
  15. package/dist/discovery/index.d.ts +5 -0
  16. package/dist/discovery/index.js +8 -0
  17. package/dist/discovery/ranker.d.ts +3 -0
  18. package/dist/discovery/ranker.js +310 -0
  19. package/dist/discovery/redaction.d.ts +2 -0
  20. package/dist/discovery/redaction.js +21 -0
  21. package/dist/discovery/render.d.ts +2 -0
  22. package/dist/discovery/render.js +100 -0
  23. package/dist/discovery/types.d.ts +119 -0
  24. package/dist/discovery/types.js +13 -0
  25. package/dist/drift.part01.d.ts +32 -2
  26. package/dist/drift.part01.js +2 -0
  27. package/dist/drift.part04.d.ts +3 -2
  28. package/dist/drift.part04.js +6 -3
  29. package/dist/drift.part05.d.ts +2 -1
  30. package/dist/drift.part05.js +4 -3
  31. package/dist/drift.part06.d.ts +2 -1
  32. package/dist/drift.part06.js +9 -5
  33. package/dist/drift.part07.d.ts +11 -10
  34. package/dist/drift.part07.js +40 -30
  35. package/dist/drift.part08.d.ts +2 -1
  36. package/dist/drift.part08.js +4 -3
  37. package/dist/drift.part11.js +71 -6
  38. package/dist/drift.part12.js +14 -1
  39. package/dist/drift.part13.d.ts +42 -7
  40. package/dist/drift.part13.js +660 -36
  41. package/dist/driftCache.d.ts +49 -0
  42. package/dist/driftCache.js +311 -0
  43. package/dist/driftCacheIncremental.d.ts +98 -0
  44. package/dist/driftCacheIncremental.js +596 -0
  45. package/dist/driftCatalogo.d.ts +91 -0
  46. package/dist/driftCatalogo.js +657 -0
  47. package/dist/driftCatalogoPersistente.d.ts +8 -0
  48. package/dist/driftCatalogoPersistente.js +77 -0
  49. package/dist/driftEscopo.d.ts +23 -0
  50. package/dist/driftEscopo.js +563 -0
  51. package/dist/driftEscopoReferencias.d.ts +4 -0
  52. package/dist/driftEscopoReferencias.js +265 -0
  53. package/dist/driftOrcamento.d.ts +12 -0
  54. package/dist/driftOrcamento.js +19 -3
  55. package/dist/execucoesExternas.js +5 -19
  56. package/dist/exemplosOficiais.js +29 -8
  57. package/dist/iaPrompts.d.ts +1 -1
  58. package/dist/iaPrompts.js +310 -307
  59. package/dist/index.d.ts +2 -0
  60. package/dist/index.js +23 -5
  61. package/dist/index.part01.d.ts +17 -2
  62. package/dist/index.part01.js +119 -8
  63. package/dist/index.part02.js +21 -21
  64. package/dist/index.part03.d.ts +2 -2
  65. package/dist/index.part03.js +14 -3
  66. package/dist/index.part04.d.ts +2 -2
  67. package/dist/index.part04.js +113 -101
  68. package/dist/index.part05.d.ts +1 -1
  69. package/dist/index.part05.js +99 -22
  70. package/dist/index.part06.js +6 -2
  71. package/dist/index.part07.js +24 -24
  72. package/dist/index.part08.js +1 -1
  73. package/dist/init/templates.part01.js +393 -393
  74. package/dist/init/templates.part02.js +189 -189
  75. package/dist/initTemplatesBackend.js +73 -73
  76. package/dist/initTemplatesBase.js +81 -80
  77. package/dist/initTemplatesFlutter.js +137 -137
  78. package/dist/initTemplatesRuntime.js +350 -350
  79. package/dist/initTemplatesWeb.js +309 -309
  80. package/dist/pipelineConteudo/command.js +1 -36
  81. package/dist/profileArtefatoValidadores.d.ts +3 -2
  82. package/dist/profileArtefatoValidadores.js +81 -0
  83. package/dist/profileAuthorTipos.d.ts +4 -3
  84. package/dist/profileCatalogo.d.ts +5 -5
  85. package/dist/profileCatalogo.js +30 -0
  86. package/dist/profileCommand.d.ts +8 -2
  87. package/dist/profileCommand.js +15 -5
  88. package/dist/profileRegras.d.ts +5 -5
  89. package/dist/profileRegras.js +13 -1
  90. package/dist/profileRulePacks.js +68 -0
  91. package/dist/projeto.d.ts +1 -1
  92. package/dist/projetoCarregar.d.ts +2 -2
  93. package/dist/projetoCarregar.js +47 -24
  94. package/dist/projetoCatalogo.d.ts +7 -0
  95. package/dist/projetoCatalogo.js +125 -0
  96. package/dist/projetoTipos.d.ts +14 -5
  97. package/dist/sistemasInterativos/adapterProtocol.d.ts +3 -0
  98. package/dist/sistemasInterativos/adapterProtocol.js +240 -0
  99. package/dist/sistemasInterativos/advancedCatalog.d.ts +5 -0
  100. package/dist/sistemasInterativos/advancedCatalog.js +442 -0
  101. package/dist/sistemasInterativos/autonomy.d.ts +230 -0
  102. package/dist/sistemasInterativos/autonomy.js +753 -0
  103. package/dist/sistemasInterativos/canonical.d.ts +3 -0
  104. package/dist/sistemasInterativos/canonical.js +43 -0
  105. package/dist/sistemasInterativos/catalog.d.ts +116 -0
  106. package/dist/sistemasInterativos/catalog.js +543 -0
  107. package/dist/sistemasInterativos/command.d.ts +7 -0
  108. package/dist/sistemasInterativos/command.js +311 -0
  109. package/dist/sistemasInterativos/controlRun.d.ts +56 -0
  110. package/dist/sistemasInterativos/controlRun.js +391 -0
  111. package/dist/sistemasInterativos/evidence.d.ts +5 -0
  112. package/dist/sistemasInterativos/evidence.js +306 -0
  113. package/dist/sistemasInterativos/experienceIr.d.ts +12 -0
  114. package/dist/sistemasInterativos/experienceIr.js +895 -0
  115. package/dist/sistemasInterativos/experienceIrSemantics.d.ts +30 -0
  116. package/dist/sistemasInterativos/experienceIrSemantics.js +368 -0
  117. package/dist/sistemasInterativos/experienceIrTypes.d.ts +370 -0
  118. package/dist/sistemasInterativos/experienceIrTypes.js +5 -0
  119. package/dist/sistemasInterativos/extensionCommand.d.ts +391 -0
  120. package/dist/sistemasInterativos/extensionCommand.js +383 -0
  121. package/dist/sistemasInterativos/index.d.ts +19 -0
  122. package/dist/sistemasInterativos/index.js +22 -0
  123. package/dist/sistemasInterativos/operations.d.ts +40 -0
  124. package/dist/sistemasInterativos/operations.js +1167 -0
  125. package/dist/sistemasInterativos/operationsTypes.d.ts +297 -0
  126. package/dist/sistemasInterativos/operationsTypes.js +11 -0
  127. package/dist/sistemasInterativos/planner.d.ts +2 -0
  128. package/dist/sistemasInterativos/planner.js +159 -0
  129. package/dist/sistemasInterativos/portability.d.ts +164 -0
  130. package/dist/sistemasInterativos/portability.js +539 -0
  131. package/dist/sistemasInterativos/render.d.ts +3 -0
  132. package/dist/sistemasInterativos/render.js +179 -0
  133. package/dist/sistemasInterativos/temporal.d.ts +183 -0
  134. package/dist/sistemasInterativos/temporal.js +543 -0
  135. package/dist/sistemasInterativos/types.d.ts +215 -0
  136. package/dist/sistemasInterativos/types.js +4 -0
  137. package/dist/sistemasInterativos/validator.d.ts +2 -0
  138. package/dist/sistemasInterativos/validator.js +305 -0
  139. package/dist/sync/index.js +35 -35
  140. package/docs/README.md +34 -28
  141. package/docs/ai-onboarding.md +62 -62
  142. package/docs/ai-workflow.md +9 -4
  143. package/docs/auth.md +26 -26
  144. package/docs/cli.md +79 -79
  145. package/docs/commands.md +47 -2
  146. package/docs/database.md +15 -15
  147. package/docs/deploy.md +41 -41
  148. package/docs/descoberta-capacidades.md +106 -0
  149. package/docs/documentation.md +39 -39
  150. package/docs/env.md +16 -16
  151. package/docs/frontend.md +41 -41
  152. package/docs/getting-started.md +57 -57
  153. package/docs/i18n.md +15 -15
  154. package/docs/pipeline-conteudo.md +246 -246
  155. package/docs/profiles.md +54 -45
  156. package/docs/repositories.md +43 -43
  157. package/docs/rollback.md +31 -31
  158. package/docs/security.md +32 -32
  159. package/docs/sistemas-interativos.md +376 -0
  160. package/docs/support.md +8 -8
  161. package/docs/testing.md +51 -35
  162. package/docs/vocabulary.md +29 -29
  163. package/exemplos/agendamento.sema +1 -1
  164. package/exemplos/assinatura.sema +1 -1
  165. package/exemplos/auditoria.sema +1 -1
  166. package/exemplos/autenticacao.sema +1 -1
  167. package/exemplos/author_obra_comum.sema +1 -1
  168. package/exemplos/author_tema_sensivel.sema +1 -1
  169. package/exemplos/automacao.sema +1 -1
  170. package/exemplos/cadastro_usuario.sema +1 -1
  171. package/exemplos/calculadora.sema +1 -1
  172. package/exemplos/crud_simples.sema +1 -1
  173. package/exemplos/estoque.sema +1 -1
  174. package/exemplos/exportacao.sema +1 -1
  175. package/exemplos/fila.sema +1 -1
  176. package/exemplos/integracao_externa.sema +1 -1
  177. package/exemplos/multi_tenant.sema +1 -1
  178. package/exemplos/notificacao.sema +1 -1
  179. package/exemplos/operacao_estrategia.sema +132 -132
  180. package/exemplos/operacao_estrategia_discovery.sema +220 -220
  181. package/exemplos/operacao_estrategia_fluxo.sema +114 -114
  182. package/exemplos/operacao_estrategia_gates.sema +106 -106
  183. package/exemplos/operacao_estrategia_quarentena.sema +133 -133
  184. package/exemplos/operacao_estrategia_rollout.sema +124 -124
  185. package/exemplos/pagamento.sema +1 -1
  186. package/exemplos/pagamento_dominio.sema +1 -1
  187. package/exemplos/pedido.sema +1 -1
  188. package/exemplos/permissao.sema +1 -1
  189. package/exemplos/persistencia_vendor_first.sema +1 -1
  190. package/exemplos/pipeline-conteudo/README.md +44 -44
  191. package/exemplos/pipeline-conteudo/alvos.json +23 -23
  192. package/exemplos/pipeline-conteudo/definicao.json +136 -136
  193. package/exemplos/profile_conversas.sema +165 -165
  194. package/exemplos/profile_game.sema +1 -1
  195. package/exemplos/profile_legal.sema +1 -1
  196. package/exemplos/profile_ops.sema +1 -1
  197. package/exemplos/profile_research.sema +1 -1
  198. package/exemplos/profile_simulation.sema +211 -0
  199. package/exemplos/profile_software.sema +1 -1
  200. package/exemplos/profile_workflow_n8n.sema +1 -1
  201. package/exemplos/relatorio.sema +1 -1
  202. package/exemplos/replica_analitica_erp.sema +1 -1
  203. package/exemplos/sistemas-interativos/README.md +100 -0
  204. package/exemplos/sistemas-interativos/advanced/acceptance-context-evaluate-valid.json +5 -0
  205. package/exemplos/sistemas-interativos/advanced/acceptance-lock-valid.json +16 -0
  206. package/exemplos/sistemas-interativos/advanced/asset-provenance-valid.json +32 -0
  207. package/exemplos/sistemas-interativos/advanced/autonomy-repair-valid.json +93 -0
  208. package/exemplos/sistemas-interativos/advanced/control-run-definition-valid.json +78 -0
  209. package/exemplos/sistemas-interativos/advanced/control-run-valid.json +27 -0
  210. package/exemplos/sistemas-interativos/advanced/distributed-workers-valid.json +79 -0
  211. package/exemplos/sistemas-interativos/advanced/editor-state-valid.json +42 -0
  212. package/exemplos/sistemas-interativos/advanced/engine-snapshot-after-valid.json +32 -0
  213. package/exemplos/sistemas-interativos/advanced/engine-snapshot-before-valid.json +23 -0
  214. package/exemplos/sistemas-interativos/advanced/job-orchestration-valid.json +39 -0
  215. package/exemplos/sistemas-interativos/advanced/multimodal-evidence-valid.json +46 -0
  216. package/exemplos/sistemas-interativos/advanced/multiplayer-authority-valid.json +39 -0
  217. package/exemplos/sistemas-interativos/advanced/playtest-fuzz-valid.json +37 -0
  218. package/exemplos/sistemas-interativos/advanced/portability-valid.json +104 -0
  219. package/exemplos/sistemas-interativos/advanced/temporal-evidence-valid.json +27 -0
  220. package/exemplos/sistemas-interativos/advanced/temporal-valid.json +118 -0
  221. package/exemplos/sistemas-interativos/experience-ir-valid.json +459 -0
  222. package/exemplos/sistemas-interativos/game-2d.json +83 -0
  223. package/exemplos/sistemas-interativos/game-3d-human.json +81 -0
  224. package/exemplos/sistemas-interativos/game-pixel-16-bit.json +97 -0
  225. package/exemplos/sistemas-interativos/game-pixel-8-bit.json +94 -0
  226. package/exemplos/sistemas-interativos/game-xr-human.json +80 -0
  227. package/exemplos/sistemas-interativos/hybrid-2-5d.json +108 -0
  228. package/exemplos/sistemas-interativos/protocol-mutating-rollback-valid.json +75 -0
  229. package/exemplos/sistemas-interativos/protocol-read-only-valid.json +58 -0
  230. package/exemplos/sistemas-interativos/simulation-2d-controlled.json +97 -0
  231. package/exemplos/sistemas-interativos/simulation-3d-calibrated-autonomous.json +141 -0
  232. package/exemplos/sistemas-interativos/simulation-headless-autonomous-batch.json +112 -0
  233. package/exemplos/sistemas-interativos/simulation-pixel-16-bit.json +103 -0
  234. package/exemplos/sistemas-interativos/simulation-text-controlled.json +95 -0
  235. package/exemplos/testes_embutidos.sema +1 -1
  236. package/exemplos/tratamento_erro.sema +1 -1
  237. package/exemplos/upload_arquivo.sema +1 -1
  238. package/exemplos/webhook.sema +1 -1
  239. package/node_modules/@sema/gerador-cpp/dist/index.js +176 -176
  240. package/node_modules/@sema/gerador-cpp/package.json +1 -1
  241. package/node_modules/@sema/gerador-css/dist/index.part01.js +10 -10
  242. package/node_modules/@sema/gerador-css/dist/index.part02.js +460 -460
  243. package/node_modules/@sema/gerador-dotnet/dist/index.js +169 -169
  244. package/node_modules/@sema/gerador-dotnet/package.json +1 -1
  245. package/node_modules/@sema/gerador-html/dist/index.js +17 -17
  246. package/node_modules/@sema/gerador-lua/dist/index.js +76 -47
  247. package/node_modules/@sema/gerador-lua/dist/index.js.map +1 -1
  248. package/node_modules/@sema/gerador-php/dist/index.js +113 -113
  249. package/node_modules/@sema/gerador-python/dist/index.part02.js +3 -3
  250. package/node_modules/@sema/gerador-typescript/dist/index.part02.js +11 -11
  251. package/node_modules/@sema/nucleo/dist/diagnosticos/melhorador.js +42 -42
  252. package/package.json +3 -3
package/docs/README.md CHANGED
@@ -1,28 +1,34 @@
1
- # Sema Documentation
2
-
3
- These docs describe the public Codex-native local CLI distribution of Sema.
4
-
5
- Sema is local-first: Codex runs the CLI inside a project folder, reads `.sema`
6
- contracts, checks drift, maps impact, and closes changes with documentation
7
- evidence. `AGENTS.md` is the official Codex entrypoint. Public docs are written
8
- in English.
9
-
10
- Sema is an independent product and is not affiliated with or endorsed by
11
- OpenAI. Codex-native describes Sema's product direction, not an official OpenAI
12
- program or submission.
13
-
14
- Start here:
15
-
16
- - [CLI](./cli.md)
17
- - [Commands](./commands.md)
18
- - [Syntax](./syntax.md)
19
- - [Profiles](./profiles.md)
20
- - [AI-native Content Pipeline](./pipeline-conteudo.md) — signed-policy,
21
- multi-channel and multi-format orchestration for external AI runners, with
22
- canonical ledger replay and no native human-review path.
23
- - [Documentation Governance](./documentation.md)
24
- - [Repository Boundary](./repositories.md)
25
- - [Security](./security.md)
26
- - [Codex Integration](./ai-integration.md)
27
-
28
- Official support: [suporte@otimitare.online](mailto:suporte@otimitare.online)
1
+ # Sema Documentation
2
+
3
+ These docs describe the public Codex-native local CLI distribution of Sema.
4
+
5
+ Sema is local-first: Codex runs the CLI inside a project folder, reads `.sema`
6
+ contracts, checks drift, maps impact, and closes changes with documentation
7
+ evidence. `AGENTS.md` is the official Codex entrypoint. Public docs are written
8
+ in English.
9
+
10
+ Sema is an independent product and is not affiliated with or endorsed by
11
+ OpenAI. Codex-native describes Sema's product direction, not an official OpenAI
12
+ program or submission.
13
+
14
+ Start here:
15
+
16
+ - [CLI](./cli.md)
17
+ - [Commands](./commands.md)
18
+ - [Syntax](./syntax.md)
19
+ - [Profiles](./profiles.md)
20
+ - [Capability Discovery](./descoberta-capacidades.md) — one explainable catalog
21
+ for governance flows, profiles, specialized workflows, pipelines, generators,
22
+ capability tokens, and adapters.
23
+ - [AI-native Interactive Systems](./sistemas-interativos.md) — declarative
24
+ control plane for games, simulations, and hybrids across 3D, 2D, retro,
25
+ text, XR, and headless execution.
26
+ - [AI-native Content Pipeline](./pipeline-conteudo.md) — signed-policy,
27
+ multi-channel and multi-format orchestration for external AI runners, with
28
+ canonical ledger replay and no native human-review path.
29
+ - [Documentation Governance](./documentation.md)
30
+ - [Repository Boundary](./repositories.md)
31
+ - [Security](./security.md)
32
+ - [Codex Integration](./ai-integration.md)
33
+
34
+ Official support: [suporte@otimitare.online](mailto:suporte@otimitare.online)
@@ -1,62 +1,62 @@
1
- # Codex Onboarding
2
-
3
- The official Sema skill is required for Codex to recognize and initialize Sema
4
- before a project has its own protocol:
5
-
6
- ```bash
7
- codex plugin marketplace add gerlanss/Sema
8
- codex plugin add sema@sema
9
- ```
10
-
11
- Open a new Codex task in the target repository after installation. Codex loads
12
- the plugin/skill catalog at task start, so `$sema` is not added retroactively to
13
- an already-open task. Invoke `$sema` in the new task; it bootstraps the project,
14
- reads the generated `AGENTS.md`, and later tasks load that protocol
15
- automatically.
16
-
17
- `AGENTS.md` is the official Sema entrypoint for Codex. It gives Codex the durable
18
- repository rule that contracts come first and the local CLI is the source of
19
- truth. Once the file exists, the skill delegates to it instead of carrying a
20
- second copy of the governed workflow.
21
-
22
- Create or refresh the entrypoint with:
23
-
24
- ```bash
25
- sema sync-codex --json
26
- ```
27
-
28
- ## Minimal Prompt
29
-
30
- ```text
31
- This workspace is governed by Sema. Before editing code, contracts, docs,
32
- workflows, profiles, or release scripts, run:
33
-
34
- 1. sema --version
35
- 2. sema resumo
36
- 3. sema docs-impacto --intencao "<change>" --json
37
- 4. sema inspecionar on the applicable .sema contract
38
- 5. sema drift before editing existing code
39
- 6. sema impacto before changing behavior
40
- 7. sema finalizar-mudanca before closing
41
-
42
- If the CLI is unavailable, stop and install or repair @semacode/cli. There is
43
- no separate Sema login, license activation, or authorization gate. Do not
44
- replace Sema with manual search or guessed contracts.
45
- ```
46
-
47
- ## What Codex Should Not Do
48
-
49
- - Do not invent `.sema` contracts.
50
- - Do not implement code without an applicable contract.
51
- - Do not ignore severity 4+ warnings.
52
- - Do not publish private or sensitive operational material.
53
- - Do not replace the local CLI when the local workspace is available.
54
-
55
- Other AI clients can invoke the public CLI manually, but Sema does not ship or
56
- manage an official repository entrypoint for them. The supported product path
57
- is Codex plus `AGENTS.md`.
58
-
59
- Sema is an independent product and is not affiliated with or endorsed by
60
- OpenAI.
61
-
62
- Support: suporte@otimitare.online
1
+ # Codex Onboarding
2
+
3
+ The official Sema skill is required for Codex to recognize and initialize Sema
4
+ before a project has its own protocol:
5
+
6
+ ```bash
7
+ codex plugin marketplace add gerlanss/Sema
8
+ codex plugin add sema@sema
9
+ ```
10
+
11
+ Open a new Codex task in the target repository after installation. Codex loads
12
+ the plugin/skill catalog at task start, so `$sema` is not added retroactively to
13
+ an already-open task. Invoke `$sema` in the new task; it bootstraps the project,
14
+ reads the generated `AGENTS.md`, and later tasks load that protocol
15
+ automatically.
16
+
17
+ `AGENTS.md` is the official Sema entrypoint for Codex. It gives Codex the durable
18
+ repository rule that contracts come first and the local CLI is the source of
19
+ truth. Once the file exists, the skill delegates to it instead of carrying a
20
+ second copy of the governed workflow.
21
+
22
+ Create or refresh the entrypoint with:
23
+
24
+ ```bash
25
+ sema sync-codex --json
26
+ ```
27
+
28
+ ## Minimal Prompt
29
+
30
+ ```text
31
+ This workspace is governed by Sema. Before editing code, contracts, docs,
32
+ workflows, profiles, or release scripts, run:
33
+
34
+ 1. sema --version
35
+ 2. sema resumo
36
+ 3. sema docs-impacto --intencao "<change>" --json
37
+ 4. sema inspecionar on the applicable .sema contract
38
+ 5. sema drift before editing existing code
39
+ 6. sema impacto before changing behavior
40
+ 7. sema finalizar-mudanca before closing
41
+
42
+ If the CLI is unavailable, stop and install or repair @semacode/cli. There is
43
+ no separate Sema login, license activation, or authorization gate. Do not
44
+ replace Sema with manual search or guessed contracts.
45
+ ```
46
+
47
+ ## What Codex Should Not Do
48
+
49
+ - Do not invent `.sema` contracts.
50
+ - Do not implement code without an applicable contract.
51
+ - Do not ignore severity 4+ warnings.
52
+ - Do not publish private or sensitive operational material.
53
+ - Do not replace the local CLI when the local workspace is available.
54
+
55
+ Other AI clients can invoke the public CLI manually, but Sema does not ship or
56
+ manage an official repository entrypoint for them. The supported product path
57
+ is Codex plus `AGENTS.md`.
58
+
59
+ Sema is an independent product and is not affiliated with or endorsed by
60
+ OpenAI.
61
+
62
+ Support: suporte@otimitare.online
@@ -9,10 +9,11 @@ This is the minimum workflow for Codex in a local workspace.
9
9
  4. Run `sema docs-impacto --intencao "<change>" --json`.
10
10
  5. Read every required document returned by the command.
11
11
  6. Read `docs/commands.md` before selecting a command or interpreting `--saida`.
12
- 7. Use `exemplos/` and `docs/syntax.md` before creating or editing a contract.
13
- 8. Run `sema drift` and `sema impacto` before editing existing code.
14
- 9. Run `sema formatar` and `sema validar` after changing a `.sema` contract.
15
- 10. Run `sema finalizar-mudanca` with the documents read before closure.
12
+ 7. If the right capability is unclear, run `sema descobrir recomendar --intencao "<goal>" --json`; do not auto-run ambiguous recommendations.
13
+ 8. Use `exemplos/` and `docs/syntax.md` before creating or editing a contract.
14
+ 9. Run `sema drift` and `sema impacto` before editing existing code.
15
+ 10. Run `sema formatar` and `sema validar` after changing a `.sema` contract.
16
+ 11. Run `sema finalizar-mudanca` with the documents read before closure.
16
17
 
17
18
  Contract edit rule: `.sema` has its own size budget. Above 300 lines, plan a split by domain/capability; above 500, do not create or edit before splitting. Do not use parte_1/parte_2 and do not force a 1:1 contract-to-file relationship; several contracts can govern the same file through `vinculos`.
18
19
 
@@ -20,6 +21,10 @@ Closing rule: `sema drift --json` must return `sucesso:true`. If it reports `suc
20
21
 
21
22
  UI rule: if the task involves an interface, minimum evidence includes desktop and mobile. On a narrow viewport such as 390px, `document.documentElement.scrollWidth <= document.documentElement.clientWidth` must pass; horizontal scroll blocks closure.
22
23
 
24
+ Focused inspection rule: `sema inspecionar <contrato.sema>` and `sema resumo <contrato.sema> --micro` default to `--drift none`. They load the target plus its transitive `use` closure and must state that live code was not verified. Use `--drift cache`, `--drift fresh`, or `--com-drift` only when implementation evidence is required.
25
+
26
+ Drift scope rule: a file/module run plans its physical file set before cataloging and never falls back to a whole-project walk when no safe anchor exists. `--cache auto` reuses validated catalog, file, and semantic-group entries; `--cache refresh` recalculates them; `--cache off` disables persistent cache I/O. Inspect `escopo_aplicado.catalogo`, `escopo_aplicado.cache.incremental`, and `escopo_aplicado.cache.fasesMs` for the work actually performed.
27
+
23
28
  ## Codex Context Capacity
24
29
 
25
30
  - Small context: `SEMA_SMALL_MODEL.md`, `SEMA_BRIEF.micro.txt`, `AGENT_CONTEXT_PACK.json`, `SEMA_INDEX.json`.
package/docs/auth.md CHANGED
@@ -1,26 +1,26 @@
1
- # Local Runtime Boundary
2
-
3
- The public Sema CLI executes directly against the local workspace. It does not
4
- require a Sema login, user authentication, product authorization, license
5
- activation, install key, token, credits, billing service, control panel, or an
6
- external request.
7
-
8
- Use local commands:
9
-
10
- ```bash
11
- sema --version
12
- sema resumo
13
- sema validar contratos/example.sema --json
14
- ```
15
-
16
- The repository license governs use and redistribution. It is not checked as a
17
- runtime activation mechanism.
18
-
19
- An `authz` block inside a `.sema` contract describes authorization in the
20
- application being governed. It does not authenticate a person before the Sema
21
- CLI can run.
22
-
23
- Do not put private or sensitive operational material in this repository.
24
-
25
- Application-specific authentication belongs in the application repository that
26
- owns it.
1
+ # Local Runtime Boundary
2
+
3
+ The public Sema CLI executes directly against the local workspace. It does not
4
+ require a Sema login, user authentication, product authorization, license
5
+ activation, install key, token, credits, billing service, control panel, or an
6
+ external request.
7
+
8
+ Use local commands:
9
+
10
+ ```bash
11
+ sema --version
12
+ sema resumo
13
+ sema validar contratos/example.sema --json
14
+ ```
15
+
16
+ The repository license governs use and redistribution. It is not checked as a
17
+ runtime activation mechanism.
18
+
19
+ An `authz` block inside a `.sema` contract describes authorization in the
20
+ application being governed. It does not authenticate a person before the Sema
21
+ CLI can run.
22
+
23
+ Do not put private or sensitive operational material in this repository.
24
+
25
+ Application-specific authentication belongs in the application repository that
26
+ owns it.
package/docs/cli.md CHANGED
@@ -1,79 +1,79 @@
1
- # Sema CLI
2
-
3
- Sema is a Codex-native local CLI distribution. The public package reads the
4
- workspace on the user's machine, validates `.sema` contracts, checks drift,
5
- maps impact, and generates code without login, user authorization, license
6
- activation, tokens, credits, billing services, a control panel, or external
7
- service credentials.
8
-
9
- Support: suporte@otimitare.online
10
-
11
- ## Install
12
-
13
- ```bash
14
- npm install -g @semacode/cli
15
- sema --version
16
- ```
17
-
18
- For development inside this repository:
19
-
20
- ```bash
21
- npm install
22
- npm run build
23
- node pacotes/cli/dist/index.js --help
24
- ```
25
-
26
- ## Codex Setup
27
-
28
- `AGENTS.md` is the official Sema entrypoint for Codex. Create or refresh it from
29
- the local CLI:
30
-
31
- ```bash
32
- sema sync-codex --json
33
- ```
34
-
35
- Codex automatically loads `AGENTS.md` as repository guidance. Sema is an
36
- independent product and is not affiliated with or endorsed by OpenAI.
37
-
38
- ## Required Local Flow
39
-
40
- Codex and humans should use the same local sequence before changing governed
41
- code, contracts, workflows, release scripts, or operational docs:
42
-
43
- ```bash
44
- sema --version
45
- sema resumo
46
- sema docs-impacto --intencao "describe the change" --json
47
- sema inspecionar contratos/example.sema --json
48
- sema drift contratos/example.sema --escopo modulo --json
49
- sema impacto contratos/example.sema --alvo sema.example.target --mudanca "describe the change" --json
50
- ```
51
-
52
- Commands run directly against the local workspace. If `sema --version` fails,
53
- install or repair the npm package; there is no separate authorization gate.
54
-
55
- ## Core Commands
56
-
57
- - `sema iniciar`: create a governed starting point.
58
- - `sema validar`: validate `.sema` contracts.
59
- - `sema inspecionar`: inspect the applicable contract surface.
60
- - `sema drift`: compare contracts and implementation.
61
- - `sema impacto`: map the blast radius of a planned change.
62
- - `sema docs-impacto`: identify docs that must be read or updated.
63
- - `sema finalizar-mudanca`: close the governed change with evidence.
64
- - `sema compilar`: generate code from contracts.
65
- - `sema testar`: generate, compile, and execute local contract tests, including `dotnet` and `cpp`.
66
- - `sema verificar`: run the final local verification bundle.
67
- - `sema contexto-ia`: build local AI context from a contract.
68
- - `sema sync-codex`: create or refresh the official `AGENTS.md` entrypoint.
69
-
70
- Generation targets are `typescript`, `python`, `php`, `dart`, `lua`,
71
- `javascript`, `html`, `css`, `dotnet`, and `cpp`. The aliases `cs` and
72
- `csharp` select `dotnet`; `c++`, `cxx`, and `cc` select `cpp`.
73
- Native targets are opt-in in `sema.config.json.alvos` for project-wide
74
- verification because they require local compiler toolchains.
75
-
76
- ## Public Boundary
77
-
78
- Do not publish private or sensitive operational material in public Sema
79
- artifacts.
1
+ # Sema CLI
2
+
3
+ Sema is a Codex-native local CLI distribution. The public package reads the
4
+ workspace on the user's machine, validates `.sema` contracts, checks drift,
5
+ maps impact, and generates code without login, user authorization, license
6
+ activation, tokens, credits, billing services, a control panel, or external
7
+ service credentials.
8
+
9
+ Support: suporte@otimitare.online
10
+
11
+ ## Install
12
+
13
+ ```bash
14
+ npm install -g @semacode/cli
15
+ sema --version
16
+ ```
17
+
18
+ For development inside this repository:
19
+
20
+ ```bash
21
+ npm install
22
+ npm run build
23
+ node pacotes/cli/dist/index.js --help
24
+ ```
25
+
26
+ ## Codex Setup
27
+
28
+ `AGENTS.md` is the official Sema entrypoint for Codex. Create or refresh it from
29
+ the local CLI:
30
+
31
+ ```bash
32
+ sema sync-codex --json
33
+ ```
34
+
35
+ Codex automatically loads `AGENTS.md` as repository guidance. Sema is an
36
+ independent product and is not affiliated with or endorsed by OpenAI.
37
+
38
+ ## Required Local Flow
39
+
40
+ Codex and humans should use the same local sequence before changing governed
41
+ code, contracts, workflows, release scripts, or operational docs:
42
+
43
+ ```bash
44
+ sema --version
45
+ sema resumo
46
+ sema docs-impacto --intencao "describe the change" --json
47
+ sema inspecionar contratos/example.sema --json
48
+ sema drift contratos/example.sema --escopo modulo --json
49
+ sema impacto contratos/example.sema --alvo sema.example.target --mudanca "describe the change" --json
50
+ ```
51
+
52
+ Commands run directly against the local workspace. If `sema --version` fails,
53
+ install or repair the npm package; there is no separate authorization gate.
54
+
55
+ ## Core Commands
56
+
57
+ - `sema iniciar`: create a governed starting point.
58
+ - `sema validar`: validate `.sema` contracts.
59
+ - `sema inspecionar`: inspect the applicable contract surface.
60
+ - `sema drift`: compare contracts and implementation.
61
+ - `sema impacto`: map the blast radius of a planned change.
62
+ - `sema docs-impacto`: identify docs that must be read or updated.
63
+ - `sema finalizar-mudanca`: close the governed change with evidence.
64
+ - `sema compilar`: generate code from contracts.
65
+ - `sema testar`: generate, compile, and execute local contract tests, including `dotnet` and `cpp`.
66
+ - `sema verificar`: run the final local verification bundle.
67
+ - `sema contexto-ia`: build local AI context from a contract.
68
+ - `sema sync-codex`: create or refresh the official `AGENTS.md` entrypoint.
69
+
70
+ Generation targets are `typescript`, `python`, `php`, `dart`, `lua`,
71
+ `javascript`, `html`, `css`, `dotnet`, and `cpp`. The aliases `cs` and
72
+ `csharp` select `dotnet`; `c++`, `cxx`, and `cc` select `cpp`.
73
+ Native targets are opt-in in `sema.config.json.alvos` for project-wide
74
+ verification because they require local compiler toolchains.
75
+
76
+ ## Public Boundary
77
+
78
+ Do not publish private or sensitive operational material in public Sema
79
+ artifacts.
package/docs/commands.md CHANGED
@@ -22,17 +22,25 @@ Then read every required doc returned by `docs-impacto`.
22
22
  - `sema inspecionar <arquivo-ou-pasta> --json`: shows modules, tasks, routes, entities, links, and expected files.
23
23
  - `sema ast <arquivo.sema> --json`: shows AST for syntax debugging.
24
24
  - `sema ir <arquivo.sema> --json`: shows the IR used by gates and generators.
25
+ - `sema descobrir catalogo --json`: lists governance flows, profiles, specialized workflows, pipelines, generators, capability tokens, and adapters from their canonical registries.
26
+ - `sema descobrir recomendar --intencao "<goal>" --json`: ranks compatible capabilities deterministically without executing the selected command.
27
+ - `sema descobrir explicar <id> --json`: explains inputs, boundaries, reasons, and the command template for one capability.
28
+ - `sema pipeline listar|descrever <id> --json` and `sema capabilities --json`: compact projections of the same discovery catalog.
25
29
 
26
30
  ## Change and Closure
27
31
 
28
32
  - `sema docs-impacto --intencao "<acao>" --json`: discovers required docs and documentary blockers.
29
- - `sema drift <arquivo-ou-pasta> --escopo modulo --json`: compares contract and implementation.
33
+ - `sema inspecionar <arquivo-ou-pasta> [--drift none|cache|fresh] [--com-drift] --json`: inspects contracts; the default is contract-only `none` and leaves code scores absent.
34
+ - `sema resumo <arquivo-ou-pasta> --micro [--drift none|cache|fresh] --json`: produces a small contract summary; the default is contract-only `none` and explicitly says implementation was not verified.
35
+ - `sema drift <arquivo-ou-pasta> --escopo modulo [--cache auto|refresh|off] --json`: compares contract and implementation after planning the physical scope.
30
36
  - `sema impacto <arquivo-ou-pasta> --alvo <token> --mudanca "<descricao>" --json`: maps impact before changing behavior.
31
37
  - `sema verificar <arquivo-ou-pasta> --json`: runs aggregated final verification.
32
38
  - `sema finalizar-mudanca --intencao "<acao>" --doc-lida <arquivo> --json`: proves documentation reading before closure.
33
39
 
34
40
  Honest closure: treat drift JSON as the source of truth. `sucesso:false`, `vinculos_quebrados`, `rotas_divergentes`, or broken impls mean the change is not complete yet. Do not report "clean drift" without green JSON.
35
41
 
42
+ Focused drift does not fall back to a global scan when it cannot prove a safe file anchor. With `--cache auto`, unchanged catalog snapshots, file metadata/content, dependency extraction, and semantic groups are reused only after schema, digest, identity, runtime-shape, and filesystem validation. The JSON fields `escopo_aplicado.catalogo`, `escopo_aplicado.cache.incremental`, and `escopo_aplicado.cache.fasesMs` expose visits, reads, hits, misses, extractions, writes, and phase timing.
43
+
36
44
  ## Sema Code
37
45
 
38
46
  - `sema compilar <arquivo-ou-pasta> --alvo <typescript|python|php|dart|lua|javascript|html|css|dotnet|cpp> --saida <diretorio>`: generates starter/support artifacts from the contract.
@@ -67,10 +75,47 @@ Ready UI rule: if the task generates an app, site, dashboard, form, or static HT
67
75
  ## Profiles and Author
68
76
 
69
77
  - `sema author iniciar|validar|briefing|revisar-cliches|validar-narrativa|validar-proibicoes`: governs authorial writing.
70
- - `sema profile validar <software|workflow|ops|game|legal|research|redacao|propostas|conversas> <arquivo> --json`: validates an artifact by profile.
78
+ - `sema profile validar <software|workflow|ops|game|simulation|legal|research|redacao|propostas|conversas> <arquivo> --json`: validates an artifact by profile.
71
79
  - `sema profile capabilities --json`: lists profiles/capabilities.
72
80
  - `sema rule-packs --profile <profile> --json`: lists rule packs.
73
81
 
82
+ `author` is a specialized `sema author` workflow, not a `profile validar` alias. Discovery exposes that distinction explicitly.
83
+
84
+ ## AI-native Content Pipeline
85
+
86
+ - `sema conteudo capabilities --json`: lists generic producer, evaluator, and adapter capabilities without fixing a platform.
87
+ - `sema conteudo validar <definition.json> --json`: validates the content DAG, gates, and open adapters.
88
+ - `sema conteudo planejar <definition.json> --alvos-arquivo <targets.json> --json`: creates a declarative multi-target plan for an external runner.
89
+ - `sema conteudo validar-envelope --envelope-arquivo <envelope.json> --confianca-arquivo <trust.json> --trust-root-digest <sha256:...> --revocation-digest <sha256:...> --payload-type <type> --json`: verifies Ed25519 identity, authorization, freshness, scope, and the separately pinned trust root and current revocation overlay.
90
+ - `sema conteudo registrar <ledger.ndjson> --envelope-arquivo <envelope.json> --politica-arquivo <policy-envelope.json> --confianca-arquivo <trust.json> --trust-root-digest <sha256:...> --revocation-digest <sha256:...> --ledger-id <id> --expected-head <sha256:...> --json`: appends a verified envelope under the signed run policy to the local replay ledger at an externally retained head.
91
+ - `sema conteudo status <definition.json> --politica-arquivo <policy-envelope.json> --confianca-arquivo <trust.json> --trust-root-digest <sha256:...> --revocation-digest <sha256:...> --ledger-arquivo <ledger.ndjson> --expected-head <sha256:...> --json`: verifies the signed policy and derives verdicts, operational conditions, completion, and next actions from canonical events.
92
+ - `sema conteudo projetar <definition.json> --politica-arquivo <policy-envelope.json> --confianca-arquivo <trust.json> --trust-root-digest <sha256:...> --revocation-digest <sha256:...> --ledger-arquivo <ledger.ndjson> --expected-head <sha256:...> --saida <manifest.json> --json`: regenerates a non-authoritative manifest bound to the ledger head.
93
+
94
+ The content command never runs producers, evaluators, creative tools, or publication adapters; those belong to an external runner. It has no native human-review transition. A signed policy binds the run, definition, ledger, trust root, gates, complete target set, and authorization window. Stages select `adapterPolicy` as `NONE`, `CONSTRAINTS`, or `CONFIRMATION`; definition v1 accepts one output per stage. Constraint results must come from independent signed observations, including independently observed media type, not artifact metadata or executor claims.
95
+
96
+ Target metadata is an exact scalar allowlist from `requiredMetadata + optionalMetadata`; `accountScope` is a credential-free `account:<alias>` reference, and artifact metadata is prohibited in v1. Deterministic evidence and AI opinions have separate quorum fields. Evidence requires an exact attestation capability plus signed adapter binding where applicable.
97
+
98
+ Verdicts remain separate from operational conditions, and a generated manifest cannot alter canonical state. Append freshness uses the platform clock rather than caller-provided time, and an authority in the current revocation overlay cannot sign an accepted policy.
99
+
100
+ Local NDJSON plus a hash chain is portable replay evidence, not a strong append-only trust boundary. Retain the expected head, canonical trust-root digest, and current revocation digest externally, or use protected storage for high assurance. A workspace-local trust file additionally requires `--development-local-trust`; that flag does not disable digest pinning.
101
+
102
+ ## AI-native Interactive Systems
103
+
104
+ - `sema interativo capabilities --json`: lists the canonical interactive capability vocabulary.
105
+ - `sema interativo schema --json`: exposes stable definition, extension-command, and data-schema shapes for AI clients.
106
+ - `sema interativo pipelines --json`: lists reusable game, simulation, and hybrid pipelines.
107
+ - `sema interativo adapters [--spatial-model <NON_SPATIAL|TWO_D|TWO_POINT_FIVE_D|THREE_D>] [--render-mode <HEADLESS|TEXT|VISUAL|XR>] --json`: lists compatible external adapter descriptors.
108
+ - `sema interativo validar <definition.json> --json`: validates independent kind, spatial model, render mode, visual profile, fidelity, control, time, world, budget, pipeline, and acceptance axes.
109
+ - `sema interativo planejar <definition.json> --json`: expands compatible stages and required evidence without running an engine.
110
+ - `sema interativo validar-evidencias|status <definition.json> [--plano-arquivo <plan.json>] --bundle-arquivo <bundle.json> --json`: validates a portable evidence bundle or derives non-authoritative status; `--evidencias-arquivo` is an alias and an omitted plan is recomputed deterministically.
111
+ - `sema interativo validar-protocolo <adapter-run.json> --json`: checks DETECT/PROBE/SNAPSHOT/PLAN/APPLY/VALIDATE/EVIDENCE/ROLLBACK ordering and stable target binding.
112
+ - Experience IR: `validar-ir`, `indexar-ir`, `consultar-ir`, `chunk-ir`, and `descrever-ir`.
113
+ - Operational state: `validar-engine-snapshot`, `diff-engine-snapshots`, `validar-asset-provenance`, `validar-editor-state`, `planejar-jobs`, `validar-acceptance`, `operar-acceptance`, and `validar-multimodal`.
114
+ - Temporal, autonomy, and testing: `validar-temporal`, `validar-evidencia-temporal`, `validar-autonomia`, `validar-playtest-fuzz`, and `validar-multiplayer`.
115
+ - Portability and workers: `analisar-portabilidade` and `validar-workers`.
116
+
117
+ Spatial model and render mode are orthogonal: `THREE_D + HEADLESS` is valid, while XR requires `THREE_D`. `PIXEL_8_BIT` and `PIXEL_16_BIT` are independent visual profiles available to games and simulations. Every command above is local and read-only; external runners own engine/editor execution, authorization, mutation, rollback, migration, rendering, playtest, and worker scheduling. Full local coverage is `STRUCTURALLY_COMPLETE`, never authoritative completion.
118
+
74
119
  ## Operational
75
120
 
76
121
  - `sema doctor`: diagnoses local installation.
package/docs/database.md CHANGED
@@ -1,15 +1,15 @@
1
- # Database Boundary
2
-
3
- The public Sema CLI does not require a database.
4
-
5
- Sema reads contracts and source files from the local workspace. Any database used
6
- by an application governed by Sema belongs to that application, not to the public
7
- Sema CLI distribution.
8
-
9
- ## Public Rule
10
-
11
- Do not ship private database material, real credentials, operational schemas, or
12
- project-specific data in the public Sema package.
13
-
14
- Application-specific database docs should live in the application repository
15
- that owns the database.
1
+ # Database Boundary
2
+
3
+ The public Sema CLI does not require a database.
4
+
5
+ Sema reads contracts and source files from the local workspace. Any database used
6
+ by an application governed by Sema belongs to that application, not to the public
7
+ Sema CLI distribution.
8
+
9
+ ## Public Rule
10
+
11
+ Do not ship private database material, real credentials, operational schemas, or
12
+ project-specific data in the public Sema package.
13
+
14
+ Application-specific database docs should live in the application repository
15
+ that owns the database.
package/docs/deploy.md CHANGED
@@ -1,41 +1,41 @@
1
- # Deployment Boundary
2
-
3
- The public Sema repository documents two coordinated release surfaces: the
4
- local npm CLI and the Codex bootstrap skill. The skill remains a separate,
5
- explicit Codex installation and is never injected by npm lifecycle scripts.
6
-
7
- Run the complete public gate:
8
-
9
- ```bash
10
- npm run build
11
- npm run codex:sync-entrypoint
12
- npm run status:check
13
- npm run repo:verificar-publico
14
- npm run plugin:testar-codex
15
- npm test
16
- npm run release:verificar-drift
17
- npm run release:preparar-publica
18
- npm run release:publicar-npm-dry-run
19
- ```
20
-
21
- `release:preparar-publica` performs the Codex entrypoint sync before checking
22
- the public boundary, so a clean clone does not depend on ignored generated
23
- handshake files left by a previous local run.
24
-
25
- The plugin smoke installs the repo marketplace into an isolated `CODEX_HOME`,
26
- installs `sema@sema`, compares the cached skill with the versioned source, and
27
- proves no Sema MCP server was registered. Plugin and CLI versions must match
28
- before the commit is pushed. The release command itself runs the full test suite
29
- and project-wide Sema drift gate; these are not optional manual preliminaries.
30
-
31
- Push the commit containing `.agents/plugins/marketplace.json` and
32
- `plugins/sema/` before telling users to install from `gerlanss/Sema`. Publish
33
- the npm package only after the tarball smoke passes. After npm publication, run
34
- `npm run release:verificar-distribuicao` to verify the registry and live GitHub
35
- state. That final verifier also requires the remote GitHub HEAD to match the
36
- local commit, installs `sema@sema` from `gerlanss/Sema` in an isolated
37
- `CODEX_HOME`, compares the remote skill with the versioned source, and proves
38
- that the remote plugin registers no Sema MCP. The current contract does not
39
- permit creating a GitHub Release or release asset.
40
-
41
- Do not publish private or sensitive operational material in this repository.
1
+ # Deployment Boundary
2
+
3
+ The public Sema repository documents two coordinated release surfaces: the
4
+ local npm CLI and the Codex bootstrap skill. The skill remains a separate,
5
+ explicit Codex installation and is never injected by npm lifecycle scripts.
6
+
7
+ Run the complete public gate:
8
+
9
+ ```bash
10
+ npm run build
11
+ npm run codex:sync-entrypoint
12
+ npm run status:check
13
+ npm run repo:verificar-publico
14
+ npm run plugin:testar-codex
15
+ npm test
16
+ npm run release:verificar-drift
17
+ npm run release:preparar-publica
18
+ npm run release:publicar-npm-dry-run
19
+ ```
20
+
21
+ `release:preparar-publica` performs the Codex entrypoint sync before checking
22
+ the public boundary, so a clean clone does not depend on ignored generated
23
+ handshake files left by a previous local run.
24
+
25
+ The plugin smoke installs the repo marketplace into an isolated `CODEX_HOME`,
26
+ installs `sema@sema`, compares the cached skill with the versioned source, and
27
+ proves no Sema MCP server was registered. Plugin and CLI versions must match
28
+ before the commit is pushed. The release command itself runs the full test suite
29
+ and project-wide Sema drift gate; these are not optional manual preliminaries.
30
+
31
+ Push the commit containing `.agents/plugins/marketplace.json` and
32
+ `plugins/sema/` before telling users to install from `gerlanss/Sema`. Publish
33
+ the npm package only after the tarball smoke passes. After npm publication, run
34
+ `npm run release:verificar-distribuicao` to verify the registry and live GitHub
35
+ state. That final verifier also requires the remote GitHub HEAD to match the
36
+ local commit, installs `sema@sema` from `gerlanss/Sema` in an isolated
37
+ `CODEX_HOME`, compares the remote skill with the versioned source, and proves
38
+ that the remote plugin registers no Sema MCP. The current contract does not
39
+ permit creating a GitHub Release or release asset.
40
+
41
+ Do not publish private or sensitive operational material in this repository.