@orkastery/cli 0.5.1 → 0.5.6

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 (260) hide show
  1. package/adapters/claude-code/README.md +158 -0
  2. package/adapters/claude-code/agents/ork-master.md +2 -0
  3. package/adapters/claude-code/commands/master.md +8 -0
  4. package/adapters/claude-code/commands/ork.md +9 -0
  5. package/adapters/claude-code/mods/autoridade.json +56 -0
  6. package/adapters/claude-code/mods/ork-clima/.claude-plugin/plugin.json +14 -0
  7. package/adapters/claude-code/mods/ork-clima/hooks/contas.ts +283 -0
  8. package/adapters/claude-code/mods/ork-clima/hooks/hooks.json +3 -0
  9. package/adapters/claude-code/mods/ork-clima/hooks/previsao.ts +393 -0
  10. package/adapters/claude-code/mods/ork-clima/hooks/register.ts +205 -0
  11. package/adapters/claude-code/mods/ork-clima/orkastery-mod.json +5 -0
  12. package/adapters/claude-code/mods/ork-clima/types/index.d.ts +80 -0
  13. package/adapters/claude-code/mods/ork-freio/.claude-plugin/plugin.json +14 -0
  14. package/adapters/claude-code/mods/ork-freio/hooks/carga.ts +160 -0
  15. package/adapters/claude-code/mods/ork-freio/hooks/conferencia.ts +309 -0
  16. package/adapters/claude-code/mods/ork-freio/hooks/hooks.json +3 -0
  17. package/adapters/claude-code/mods/ork-freio/hooks/lote.ts +270 -0
  18. package/adapters/claude-code/mods/ork-freio/hooks/register.ts +285 -0
  19. package/adapters/claude-code/mods/ork-freio/orkastery-mod.json +5 -0
  20. package/adapters/claude-code/mods/ork-freio/types/index.d.ts +127 -0
  21. package/adapters/claude-code/mods/ork-mesa/.claude-plugin/plugin.json +14 -0
  22. package/adapters/claude-code/mods/ork-mesa/hooks/cartoes.tsx +246 -0
  23. package/adapters/claude-code/mods/ork-mesa/hooks/decidir.ts +110 -0
  24. package/adapters/claude-code/mods/ork-mesa/hooks/fila.ts +253 -0
  25. package/adapters/claude-code/mods/ork-mesa/hooks/hooks.json +3 -0
  26. package/adapters/claude-code/mods/ork-mesa/hooks/obvia.ts +98 -0
  27. package/adapters/claude-code/mods/ork-mesa/hooks/register.tsx +493 -0
  28. package/adapters/claude-code/mods/ork-mesa/orkastery-mod.json +5 -0
  29. package/adapters/claude-code/mods/ork-mesa/types/index.d.ts +131 -0
  30. package/adapters/claude-code/mods/ork-pista/.claude-plugin/plugin.json +14 -0
  31. package/adapters/claude-code/mods/ork-pista/hooks/acoes.ts +71 -0
  32. package/adapters/claude-code/mods/ork-pista/hooks/ci.ts +117 -0
  33. package/adapters/claude-code/mods/ork-pista/hooks/hooks.json +3 -0
  34. package/adapters/claude-code/mods/ork-pista/hooks/pista.tsx +356 -0
  35. package/adapters/claude-code/mods/ork-pista/hooks/register.tsx +439 -0
  36. package/adapters/claude-code/mods/ork-pista/orkastery-mod.json +5 -0
  37. package/adapters/claude-code/mods/ork-pista/types/index.d.ts +85 -0
  38. package/adapters/claude-code/mods/ork-ponte/.claude-plugin/plugin.json +13 -0
  39. package/adapters/claude-code/mods/ork-ponte/hooks/faixa.tsx +57 -0
  40. package/adapters/claude-code/mods/ork-ponte/hooks/guarda.ts +410 -0
  41. package/adapters/claude-code/mods/ork-ponte/hooks/hooks.json +3 -0
  42. package/adapters/claude-code/mods/ork-ponte/hooks/mostrado.ts +55 -0
  43. package/adapters/claude-code/mods/ork-ponte/hooks/nucleo.ts +157 -0
  44. package/adapters/claude-code/mods/ork-ponte/hooks/papel.ts +42 -0
  45. package/adapters/claude-code/mods/ork-ponte/hooks/register.ts +331 -0
  46. package/adapters/claude-code/mods/ork-ponte/hooks/vigia.ts +76 -0
  47. package/adapters/claude-code/mods/ork-ponte/orkastery-mod.json +5 -0
  48. package/adapters/claude-code/mods/ork-ponte/types/index.d.ts +178 -0
  49. package/adapters/claude-code/mods/ork-portao/.claude-plugin/plugin.json +14 -0
  50. package/adapters/claude-code/mods/ork-portao/hooks/hooks.json +3 -0
  51. package/adapters/claude-code/mods/ork-portao/hooks/lease.ts +201 -0
  52. package/adapters/claude-code/mods/ork-portao/hooks/plano.ts +304 -0
  53. package/adapters/claude-code/mods/ork-portao/hooks/register.ts +339 -0
  54. package/adapters/claude-code/mods/ork-portao/hooks/verify.ts +152 -0
  55. package/adapters/claude-code/mods/ork-portao/orkastery-mod.json +5 -0
  56. package/adapters/claude-code/mods/ork-portao/types/index.d.ts +60 -0
  57. package/adapters/claude-code/mods/ork-radar/.claude-plugin/plugin.json +14 -0
  58. package/adapters/claude-code/mods/ork-radar/hooks/colisao.ts +420 -0
  59. package/adapters/claude-code/mods/ork-radar/hooks/hooks.json +3 -0
  60. package/adapters/claude-code/mods/ork-radar/hooks/mapa.tsx +322 -0
  61. package/adapters/claude-code/mods/ork-radar/hooks/register.tsx +470 -0
  62. package/adapters/claude-code/mods/ork-radar/orkastery-mod.json +5 -0
  63. package/adapters/claude-code/mods/ork-radar/types/index.d.ts +72 -0
  64. package/adapters/claude-code/mods/ork-sentinela/.claude-plugin/plugin.json +14 -0
  65. package/adapters/claude-code/mods/ork-sentinela/hooks/alertas.ts +85 -0
  66. package/adapters/claude-code/mods/ork-sentinela/hooks/despacho.ts +156 -0
  67. package/adapters/claude-code/mods/ork-sentinela/hooks/hooks.json +3 -0
  68. package/adapters/claude-code/mods/ork-sentinela/hooks/register.ts +511 -0
  69. package/adapters/claude-code/mods/ork-sentinela/hooks/vigia.ts +186 -0
  70. package/adapters/claude-code/mods/ork-sentinela/orkastery-mod.json +5 -0
  71. package/adapters/claude-code/mods/ork-sentinela/types/index.d.ts +65 -0
  72. package/adapters/claude-code/mods/ork-torre/.claude-plugin/plugin.json +14 -0
  73. package/adapters/claude-code/mods/ork-torre/hooks/agenda.ts +60 -0
  74. package/adapters/claude-code/mods/ork-torre/hooks/detalhe.tsx +236 -0
  75. package/adapters/claude-code/mods/ork-torre/hooks/frases.ts +42 -0
  76. package/adapters/claude-code/mods/ork-torre/hooks/hooks.json +3 -0
  77. package/adapters/claude-code/mods/ork-torre/hooks/painel.tsx +344 -0
  78. package/adapters/claude-code/mods/ork-torre/hooks/rede.ts +97 -0
  79. package/adapters/claude-code/mods/ork-torre/hooks/register.tsx +437 -0
  80. package/adapters/claude-code/mods/ork-torre/orkastery-mod.json +5 -0
  81. package/adapters/claude-code/mods/ork-torre/types/index.d.ts +108 -0
  82. package/adapters/codex/skills/ork/SKILL.md +18 -3
  83. package/adapters/hermes/README.md +1 -0
  84. package/adapters/hermes/bin/ork-network-status.sh +10 -0
  85. package/adapters/hermes/hermes.plugin.json +1 -0
  86. package/adapters/hermes/hitl-ingress/__init__.py +2 -2
  87. package/adapters/hermes/skills/orkastery-devmaster/SKILL.md +7 -6
  88. package/adapters/openclaw/README.md +26 -5
  89. package/adapters/openclaw/dist/hitl-ingress.js +2 -2
  90. package/adapters/openclaw/dist/index.js +46 -11
  91. package/adapters/openclaw/openclaw.plugin.json +5 -1
  92. package/adapters/openclaw/package.json +2 -2
  93. package/adapters/openclaw/src/hitl-ingress.ts +2 -2
  94. package/adapters/openclaw/src/index.ts +49 -11
  95. package/assets/docs-en/markdownlint-cli2.jsonc +22 -0
  96. package/assets/docs-en/padroes/documentacao-de-produto.md +135 -0
  97. package/assets/docs-en/padroes/roadmap-de-produto.md +100 -0
  98. package/assets/docs-en/produto/README.md +14 -0
  99. package/assets/docs-en/produto/_modelo-feature.md +62 -0
  100. package/assets/docs-en/roadmap/README.md +14 -0
  101. package/assets/docs-en/roadmap/_modelo-item.md +75 -0
  102. package/assets/orkmind_bridge.py +117 -9
  103. package/dist/adapters/claude-bg.js +116 -18
  104. package/dist/adapters/codex.js +14 -4
  105. package/dist/agents-md.js +24 -14
  106. package/dist/auditrun.js +22 -3
  107. package/dist/board.js +20 -17
  108. package/dist/branch-de-estado.js +88 -10
  109. package/dist/busca-semantica.js +52 -12
  110. package/dist/canarios-rm057.js +149 -0
  111. package/dist/canarios.js +2 -0
  112. package/dist/catalogo.js +33 -0
  113. package/dist/ci.js +21 -8
  114. package/dist/claims-conferir.js +342 -0
  115. package/dist/claims.js +41 -1
  116. package/dist/company-brain-client.js +36 -1
  117. package/dist/company-brain-context.js +158 -22
  118. package/dist/company-brain-journal.js +2 -1
  119. package/dist/company-brain-migration.js +36 -1
  120. package/dist/conducao-sentinela.js +388 -0
  121. package/dist/conducao-texto.js +12 -18
  122. package/dist/conducao.js +122 -30
  123. package/dist/conhecimento.js +490 -0
  124. package/dist/docs.js +70 -17
  125. package/dist/doctor-pulse-cron.js +349 -0
  126. package/dist/doctor-rede.js +150 -0
  127. package/dist/doctor.js +195 -111
  128. package/dist/entrega-pr.js +42 -29
  129. package/dist/escopo-escrita.js +10 -1
  130. package/dist/esgotamentos.js +181 -0
  131. package/dist/estado-thread.js +23 -1
  132. package/dist/experiencia-instalacao.js +45 -25
  133. package/dist/experiencia.js +12 -2
  134. package/dist/fabrica-batida.js +310 -0
  135. package/dist/fabrica-estado.js +52 -14
  136. package/dist/fabrica-publicar.js +9 -1
  137. package/dist/fechamento.js +20 -66
  138. package/dist/fila-pesada.js +444 -0
  139. package/dist/fix.js +3 -2
  140. package/dist/forja.js +31 -7
  141. package/dist/gates.js +3 -24
  142. package/dist/handoff.js +10 -6
  143. package/dist/hitl-contract.js +59 -4
  144. package/dist/hitl-curto.js +11 -6
  145. package/dist/hitl-gates.js +5 -0
  146. package/dist/hitl-local-receipt.js +2 -0
  147. package/dist/hitl-lote.js +5 -2
  148. package/dist/hitl-resumo.js +38 -3
  149. package/dist/hitl-tempo-parado.js +201 -0
  150. package/dist/hitl-texto-livre.js +5 -5
  151. package/dist/hitl.js +29 -33
  152. package/dist/horario.js +41 -7
  153. package/dist/hosts.js +104 -11
  154. package/dist/impedimento.js +299 -0
  155. package/dist/index.js +961 -542
  156. package/dist/indice-vetorial.js +87 -10
  157. package/dist/indice.js +9 -1
  158. package/dist/init.js +56 -43
  159. package/dist/instabilidade.js +144 -0
  160. package/dist/integracoes-locais.js +4 -0
  161. package/dist/intelligence-graph-cli.js +170 -16
  162. package/dist/intelligence-graph-contexto.js +254 -0
  163. package/dist/intelligence-graph-contract.js +2 -1
  164. package/dist/intelligence-graph-extract-md.js +56 -4
  165. package/dist/intelligence-graph-extract-ts.js +71 -3
  166. package/dist/intelligence-graph-parsers.js +6 -4
  167. package/dist/intelligence-graph-query.js +66 -19
  168. package/dist/leases.js +664 -87
  169. package/dist/ledger-stats.js +15 -1
  170. package/dist/ledger.js +18 -1
  171. package/dist/licoes.js +1 -0
  172. package/dist/liveness.js +6 -3
  173. package/dist/locale-ajuda.js +761 -0
  174. package/dist/locale-gerados.js +160 -0
  175. package/dist/locale-master.js +99 -0
  176. package/dist/locale-onboarding.js +92 -0
  177. package/dist/locale-phase.js +151 -0
  178. package/dist/locale-pulse.js +211 -0
  179. package/dist/locale-retry.js +385 -0
  180. package/dist/locale-roadmap.js +102 -0
  181. package/dist/locale-ship.js +494 -0
  182. package/dist/locale-thread.js +277 -0
  183. package/dist/locale-verify.js +125 -0
  184. package/dist/locale.js +714 -0
  185. package/dist/maestro-runtime.js +4 -1
  186. package/dist/manifest.js +149 -4
  187. package/dist/maquina.js +23 -4
  188. package/dist/master-digest.js +6 -1
  189. package/dist/master-nota.js +18 -11
  190. package/dist/master.js +145 -31
  191. package/dist/mcp-artifacts.js +43 -3
  192. package/dist/mcp-git.js +42 -8
  193. package/dist/mcp-grafo-worker.js +5 -3
  194. package/dist/mcp-grafo.js +55 -6
  195. package/dist/mcp-server.js +22 -3
  196. package/dist/mcp-ship.js +3 -1
  197. package/dist/mcp-verify.js +6 -1
  198. package/dist/memoria.js +48 -6
  199. package/dist/modos.js +3 -6
  200. package/dist/network-roadmap.js +196 -18
  201. package/dist/noctum-arco.js +911 -0
  202. package/dist/noctum-capacidade.js +141 -0
  203. package/dist/noctum-envelope.js +810 -0
  204. package/dist/noctum-execucao.js +304 -0
  205. package/dist/noctum-fila.js +280 -0
  206. package/dist/ocupacao.js +40 -5
  207. package/dist/onboarding.js +40 -21
  208. package/dist/orkmind.js +99 -7
  209. package/dist/orquestracao.js +24 -21
  210. package/dist/parado-no-condutor.js +219 -38
  211. package/dist/phase.js +160 -52
  212. package/dist/policies.js +56 -5
  213. package/dist/portfolio.js +8 -3
  214. package/dist/postura-local.js +234 -0
  215. package/dist/preflight.js +11 -10
  216. package/dist/procedencia.js +225 -0
  217. package/dist/projeto-alvo.js +132 -5
  218. package/dist/prompts.js +40 -1
  219. package/dist/prova-ativacao.js +75 -6
  220. package/dist/pulse-delivery.js +47 -4
  221. package/dist/pulse.js +98 -19
  222. package/dist/ratelimit.js +24 -6
  223. package/dist/recall.js +3 -1
  224. package/dist/redacao-saida.js +63 -0
  225. package/dist/rede-adesao.js +399 -0
  226. package/dist/rede-forja.js +289 -0
  227. package/dist/rede-projetos.js +239 -0
  228. package/dist/rede-status.js +337 -0
  229. package/dist/rede.js +980 -0
  230. package/dist/retry.js +291 -140
  231. package/dist/roadmap-reservas.js +20 -3
  232. package/dist/roadmap-status.js +150 -34
  233. package/dist/runtime-context.js +181 -3
  234. package/dist/runtime-profiles.js +22 -1
  235. package/dist/runtimes.js +2 -1
  236. package/dist/saida-segura.js +58 -0
  237. package/dist/session-events.js +7 -3
  238. package/dist/session-watcher-claude.js +120 -24
  239. package/dist/session-watcher.js +185 -33
  240. package/dist/sessoes-contas.js +187 -0
  241. package/dist/sessoes-inventario.js +6 -18
  242. package/dist/sessoes.js +83 -2
  243. package/dist/ship-publicar.js +800 -0
  244. package/dist/ship.js +157 -88
  245. package/dist/steal.js +77 -0
  246. package/dist/thread-close.js +3 -2
  247. package/dist/thread.js +299 -49
  248. package/dist/util.js +8 -1
  249. package/dist/verify.js +141 -52
  250. package/dist/vida-da-thread.js +254 -0
  251. package/dist/worktree-local.js +165 -0
  252. package/dist/worktree.js +25 -2
  253. package/dist/yaml.js +27 -8
  254. package/eval/fixtures/fx-pedido-colado/caso.json +20 -0
  255. package/package.json +7 -3
  256. package/references/definition-of-done.md +1 -1
  257. package/schemas/code-artifact-graph.v1.schema.json +2 -1
  258. package/skills/README.md +1 -1
  259. package/skills/core/orkastery-bootstrap/SKILL.md +2 -2
  260. package/skills/phases/master-metrics/SKILL.md +8 -3
@@ -0,0 +1,761 @@
1
+ "use strict";
2
+ /**
3
+ * RM-061, fatia F2a: a ajuda do CLI (`ork`, `ork --help`, `ork help`, `ork <comando> --help` e o comando
4
+ * desconhecido). O pt-BR e o texto de antes, movido sem mudar um byte (o `docs verificar` e a paridade do
5
+ * `docs/referencia/cli.md` leem esta versao); o ingles tem as mesmas linhas de comando e as mesmas flags,
6
+ * na mesma ordem, com a descricao e os nomes de argumento (`<name>`, `<path>`) traduzidos (D10).
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.AJUDA_EN = exports.AJUDA_PT_BR = void 0;
10
+ exports.AJUDA_PT_BR = {
11
+ comandoDesconhecido: (comando) => `comando desconhecido: ${comando}`,
12
+ texto: (v) => `ork ${v.versao}, nucleo de orquestracao do Orkastery
13
+
14
+ Uso: ork [--projeto <nome|caminho>] <comando> [argumentos]
15
+
16
+ --projeto <nome|caminho> Projeto-alvo de qualquer comando (RM-052): vence ORK_PROJETO, que vence o
17
+ diretorio atual; nome ambiguo ou desconhecido recusa com os candidatos (saida 4)
18
+ projetos [--json] Projetos conhecidos desta maquina (~/.orkastery/projetos.json)
19
+ projetos registrar [caminho] Registra a copia (init, thread new e fabrica entrar ja registram)
20
+ projetos esquecer <nome|caminho> Tira do registro a copia que sumiu ou sobrou (nada no disco e apagado)
21
+
22
+ doctor O que vale nesta maquina agora (sai != 0 se bloqueado)
23
+ init [--force] [--name N] [--abbrev A] Gera o orkastery.yaml do repositorio
24
+ modos Tabela dos ${v.modos} modos de conducao vivos por #TAG
25
+
26
+ setup Pauta da entrevista #setup: runtime/modelo/esforco
27
+ por bloco de cada modo (default claude-bg/opus/high; #Fast: sonnet)
28
+ onboarding [show|set <etapa>|reset [etapa]] Pauta e respostas do projeto (9 etapas)
29
+ [--conteudo JSON] [--por Q] [--json] Segredos ficam ${v.segredos}
30
+ [--reset [etapa]] Reset seletivo ou total, idempotente
31
+ onboarding sync [--json] Publicação opcional na memória, com degradação
32
+ experiencia show [--json] Preferências efetivas; configure por onboarding set maestro --conteudo '{"owner":{"experience":true}}'
33
+ experiencia uninstall <host> [--dry-run] [--json]
34
+ Remove o bloco de Claude Code/Codex; sem --dry-run aplica a remoção
35
+ setup <modo> Config atual de cada bloco do modo
36
+ setup <modo> --bloco N [--runtime R] Edita o bloco (runtimes: claude-bg, codex);
37
+ [--model M] [--effort E] [--por Q] evento setup_configured no ledger do projeto
38
+ [--fallback R:M[:E],...] ordem de fallback de runtime do bloco (I-33)
39
+ accounts list [--json] Perfis de conta por runtime, sem segredo (I-33)
40
+ accounts add <id> --runtime R --dir D Cria o perfil e roda o login do proprio CLI com o env
41
+ [--sem-login] do perfil (nunca copia credencial)
42
+ accounts remove <id> Desativa o perfil (diretorio e login ficam onde estao)
43
+ accounts check [<id>] Confere o login de cada perfil e marca o store
44
+ accounts esgotamentos [--desde 7d] [--json]
45
+ Despachos numa conta que outro projeto desta maquina viu esgotada
46
+ (RM-040), so leitura: conta opaca, perfil pelo id, sem diretorio
47
+ setup [<modo>] --reset Volta o modo (ou tudo) ao default
48
+ setup sandbox [confirmar <postura>|revogar] Postura de sandbox desta maquina (RM-047): runtime.sandbox que afrouxa
49
+ (danger-full-access) so despacha com a confirmacao local, fora do git
50
+ setup worktree [confirmar [<dir>]|revogar] Pasta das worktrees desta maquina (RM-047): worktree.dir fora da raiz
51
+ so cria checkout com a confirmacao local, fora do git
52
+ setup versionar Leva o setup que vale para orkastery.setup.json: por PR, vale em
53
+ todas as maquinas e passa a ser o arquivo editado (I-52)
54
+
55
+ thread new <nome> --modo <MODO> Cria a thread, o slug de 3 partes e o ledger
56
+ [--exige-runtime-diferente] o CHECK precisa de runtime que o GO nao usou
57
+ [--done "<criterio> :: <comando>"] criterio de pronto EXECUTAVEL (use ;; para varios)
58
+ [--slug S] [--assunto A] [--worktree auto|DIR] [--dry-run]
59
+ [--sem-worktree] cria sem worktree (na branch base, o ship barra a entrega com
60
+ push_direto_na_base: block, o padrão do ork init); com
61
+ worktree.por_thread: true, a worktree nasce sem flag
62
+ [--roadmap RM-NNN] reserva o item do roadmap antes de criar (I-47)
63
+ [--pedido "<texto>"] guarda o pedido do builder (pedido.md, com sha256): o
64
+ prompt render usa quando falta --pedido (RM-059)
65
+ thread list [--todas] [--json] Threads NAO fechadas do projeto (--todas inclui as fechadas)
66
+ thread close <id> --motivo orfa|engano|superada --por Q --justificativa J
67
+ thread entrega <id> --arquivo A --sha256 H --por Q
68
+ thread status <thread-id> [--json] Estado da thread, cruzado com o runtime
69
+
70
+ portfolio inspect <id> --json Entidade, origem e ciclos com lacunas explícitas
71
+ creation start --input-file F --json Criação durável com identidade do processo local
72
+ creation show|list|events [id] --json Consulta journal e recuperação
73
+ creation resume|compensate <id> --expected-version N --json
74
+ portfolio create <product|project|initiative> <id> --title T [--parent ID]
75
+ portfolio list [product|project|initiative] [--parent ID] [--json]
76
+ portfolio show <id> [--json] Catálogo prod -> proj -> init
77
+ objective ... Aposentado na I-43: as duas vigas viraram
78
+ --exige-runtime-diferente e --done de thread
79
+
80
+ phase run <thread-id> <FASE> --prompt "<texto>"
81
+ [--runtime R] [--model M] Despacha a fase como background agent
82
+ [--effort E] [--dry-run] (runtime: CLI > setup do bloco > manifesto;
83
+ so --model assume --effort high; o trio
84
+ efetivo vai ao ledger como fato verificavel)
85
+ [--canal C] [--correlacao ID] Canal de origem (sem ele, o que o host declara)
86
+ [--esperar [min]] Com a thread ja conduzida, espera a vez (sem: recusa na hora)
87
+ [--perfil ID] Conta do despacho (ork accounts list); inexistente, de outro
88
+ runtime, esgotado ou sem login recusa com motivo tipado
89
+ phase list <thread-id> Historico do ledger da thread
90
+ (mostra o modelo/esforco reais de cada fase)
91
+ ledger stats --desde 7d [--ate ISO] Telemetria economica do ledger (intervalo [desde,ate))
92
+ [--thread T] [--modo M] [--runtime R] [--json]
93
+ ledger estimate <thread-id> --sem-ia H --ia-sem-ork H --por Q --metodo M --premissas P
94
+ [--incerteza I] Registra estimativas explicitas da fase PLAN
95
+
96
+ sessions [--all] [--global] [--json] Inventário Claude e Codex da conta do processo e de cada perfil
97
+ [--exigir-limpo] Sai != 0 com fonte inválida ou sessão sem thread
98
+ sessions adopt <id> [--json] Adota identidade real sem executar prompt
99
+ sessions event --tipo T --sessao ID Ingere JSON limitado no stdin; observa sem aprovar gates
100
+ sessions watch --thread T [--sessao ID] Observa somente a sessão selecionada; --once faz uma varredura
101
+ sessions limpar-fantasmas [--dry-run] Solta do ork (sessao_morta no ledger) a sessao sem pid e sem processo;
102
+ [--json] nunca toca no runtime (RM-056)
103
+ sessions logs <sessao> [--linhas N] Logs de uma sessao
104
+ sessions supersede <thread> <UUID> --fase F --runtime R Confirma encerramento de sessão superada
105
+ sessions request <thread> <UUID> --fase F --runtime R --pergunta P Abre pedido vinculado ao prompt nativo
106
+ sessions answer <thread> <pedido> --stdin --origem telegram --canal C --por ID --mensagem REF [--conta ID] Confirma entrega autenticada
107
+ sessions reconcile <thread> <pedido> Fecha envio pendente so com thread e pedido; consulta recibo, nunca reenvia
108
+ sessions stop <sessao> Para uma sessao
109
+ sessions attach <sessao> Imprime o comando de attach (precisa de TTY)
110
+ pulse [--json] [--registrar] Fila unificada de atenção humana e retry de órfãs
111
+ pulse responder --resposta-stdin --origem telegram --canal C --por ID --mensagem REF [--conta ID]
112
+ Recebe o que o dono digitou no canal do resumo (P4EJ a, 1a 2c)
113
+ pulse cadencia [<tag>] [--por P] [--json] Mostra ou troca a cadencia do resumo: OrkPulseOn, OrkPulseOn-15m,
114
+ -30m, -60m ou OrkPulseOff; pergunta nova sai na hora (I-50)
115
+ sessions hitl [--json] [--so-paradas] Radar de sessoes que exigem acao humana AGORA:
116
+ [--atencao N] [--sem-logs] classifica o estado de cada sessao do runtime,
117
+ [--so-da-raiz] [--exigir-limpo] le a pergunta que a sessao trava e diz o que
118
+ destrava (pega HITL de sessao SEM thread)
119
+
120
+ claims add <thread-id> <arquivo> --claim "<alegacao>" [--verificar "<comando>"] [--fase F]
121
+ Registra alegacao verificavel da thread
122
+ claims list <thread-id> Claims da thread e o estado de cada uma
123
+ claims conferir <thread-id> --claims C1,C2|--tarefa T1 [--prazo S] [--json]
124
+ Reexecuta so essas claims, ou o verify da tarefa do plano, no
125
+ sandbox do verify, sem gravar recibo (RM-059); sai 3 se outra
126
+ sessao conduz e 2 sem sandbox
127
+ decisao registrar <thread-id> --decidido D --porque P --como-mudar C --custo-agora A --custo-depois B
128
+ --criterio manifesto:CHAVE|ledger:REF|medicao:COMANDO --quem Q --evidencia E [--razao R] [--reverte ID]
129
+ Decisao tomada sem perguntar: chega ao dono no resumo
130
+ decisao placar <thread-id> [--json] Decididas contra perguntas por fase, reversoes e o limiar
131
+ claims verificar <thread-id> <claim-id> --comando "<comando>"
132
+ Anexa o comando que comprova uma claim ja feita
133
+ claims retirar <thread-id> <claim-id> --motivo "<motivo>"
134
+ Retira a alegacao (o historico fica no claims.jsonl)
135
+ claims ausente <thread-id> --paths A,B --motivo "<motivo>" [--commit SHA]
136
+ Ciclo sem CHECK: declara no ledger o que ficou sem prova
137
+ verify <thread-id> [--baseline] Reexecuta claims e verify do manifesto no HEAD real
138
+ [--so-claims] --baseline grava o estado do mundo antes do GO
139
+ [--canal C] [--esperar [min]] So executa com a conducao da thread (sai 3 se outra conduz)
140
+ ci prepare <thread-id> Exporta claims/comandos para a candidata (.ork-ci/<thread>.json)
141
+ ci run [<thread-id>] [--bundle ARQ] Executa o CHECK no runner independente
142
+ [--branch B] acha o bundle da thread pelo nome da branch (o CI usa)
143
+ ci status [--sha SHA] [--remoto origin] Consulta o check exato publicado no GitHub
144
+
145
+ gate next <thread-id> [--proximo FASE] Gate de tokens: mesma sessao ou nova sessao
146
+ [--ocupacao 0..1] [--fonte F] [--transcript ARQ] [--janela N] [--refazer]
147
+ gate request <thread-id> [--motivo M] Apresenta pedido HITL correlacionado à pausa
148
+ [--formato telegram|terminal] no contrato curto, com o codigo estavel para responder
149
+ gate answer <thread-id> <pedido> Recebe envelope do ingresso humano autenticado
150
+ --resposta-stdin --por Q --mensagem ID --origem telegram [--canal hermes|openclaw]
151
+ [--conta ID] conta homologada do canal; obrigatoria no canal openclaw
152
+ gate approve Aposentado: aprovação sem pedido é recusada
153
+
154
+ retry policy [--motivo M] [--json] Politica de retry por motivo tipado de gate
155
+ retry plan <thread-id> [--motivo M] O que o ork faria pelo ultimo gate reprovado
156
+ [--fase F] [--json] (calcula, nao executa, nao gasta tentativa)
157
+ retry run <thread-id> [--reverify] Executa a acao tipada do ultimo gate reprovado
158
+ [--por Q] [--dry-run] (--por autoriza quando o bloco do modo pausa)
159
+ retry list [--json] Fila DURAVEL de rate limit do projeto
160
+ retry resume [--id R1] [--agora ISO] Retoma a fase morta por rate limit na janela seguinte
161
+ [--ocupacao 0..1] [--forcar] [--dry-run] (playbooks: mesma-sessao, nova-sessao, escalada)
162
+ retry cancel <id> --motivo M Tira um pedido da fila, com motivo registrado
163
+ retry parse --stderr "<texto>" Le o horario de reset do stderr do adapter
164
+
165
+ fix open <thread-id> [--so-claims] GO-FIX: deriva a spec exata do CHECK reprovado
166
+ [--reverify] [--json] (uma correcao por motivo tipado, tipo A ou B)
167
+ fix list <thread-id> [--rodada N] Correcoes da rodada e o veredito de cada uma
168
+ fix reverify <thread-id> [--rodada N] CHECK-REVERIFY com veredito POR correcao
169
+ [--parcial] [--json] (--parcial e RECUSADO se houver tipo B)
170
+
171
+ handoff export <thread-id> Handoff triado CRITICO/IMPORTANTE/RESUMIVEL
172
+ [--proxima-fase FASE] [--slug S]
173
+ handoff recall <thread-id> <ponteiro> Resolve um ponteiro path#ancora de volta ao conteudo
174
+
175
+ recall <thread-id> --fase FASE Recuperacao TARDIA: resolve so os ponteiros do
176
+ [--id ptr-N] [--todos] [--forcar] momento (retrieve_when), nunca a janela inteira
177
+ [--sem-conteudo] [--json] (orkmind por tag, files por path#ancora)
178
+
179
+ brain status|inventory|get|query|receipts|context|dossie|sync|reconcile|apply|rollback|bind
180
+ brain dossie --thread T [--decisao ID] Dossie de decisao: vinculo, contexto citavel, alternativas,
181
+ quem decidiu e evidencia, com os ids do Brain (so leitura)
182
+ memory status [--json] [--sondar] Regime efetivo (files|orkmind), tenant, degradacao e embeddings
183
+ (--sondar: uma chamada real de embedding, com a latencia)
184
+ memory sync [<thread-id>] [--json] Publica decisoes, policies, handoff, licao e roadmap
185
+ memory inventory --escopo <threads> [--json] Inventaria fontes canonicas e tenants excluidos, sem gravar
186
+ memory migrate --operadora <thread> --escopo <threads> [--dry-run] [--json] Migra handoffs por G3, com pacote integral e readback
187
+ memory search --tags '<json>' [--colecao C] Busca deterministica por tag (mandatory sempre volta)
188
+ [--thread ID] [--restrito] [--janela N] [--limite N] [--json]
189
+ memory search --texto "<frase>" Busca por significado (I-38): vetor + FTS por RRF no tenant,
190
+ [--modo hibrido|vetor|fts] NAO deterministica; nao combina com --tags nem --thread
191
+ [--colecao C] [--limite N] [--json]
192
+ memory index [--modelo primario|fallback|todos] Indice vetorial local do tenant (I-38), idempotente,
193
+ [--dry-run] [--json] com tokens e custo estimados; --dry-run nao chama o provider
194
+
195
+ grafo indexar [--verificar] [--forcar] Indice do grafo de codigo do HEAD limpo (RM-031 KG3) no estado do projeto:
196
+ [--json] pastas 0700, chave por revisao e extrator, idempotente; incremental (KG4)
197
+ a partir do indice ancestral, ou completo com o motivo; --forcar extrai
198
+ completo; --verificar confere contrato, bytes, determinismo e o incremental
199
+ contra a completa; precisa de typescript e micromark
200
+ grafo status [--json] Indices guardados, o do HEAD, os analisadores e o tamanho
201
+ grafo contexto <thread> [--json] Pacote da thread com evidencias e medida em bytes [--teto-bytes N]
202
+ grafo vizinhos <no> [--profundidade N] Vizinhanca de arquivo ou simbolo, com extrator e evidencia de cada aresta
203
+ [--sentido entrada|saida|ambos] [--tipo T,...] [--limite N] [--json]
204
+ grafo chamadores <simbolo> Quem chama (arestas calls que chegam) [--profundidade N] [--limite N] [--json]
205
+ grafo importadores <arquivo|simbolo> Quem importa (arestas imports que chegam) [--profundidade N] [--limite N] [--json]
206
+ grafo caminho <de> <para> Menor caminho pelas arestas [--sentido saida|entrada|ambos] [--tipo T,...] [--json]
207
+ [--json --teto-bytes N] Nas quatro consultas (KG5): JSON compacto de no maximo N bytes; as arestas mais
208
+ longe do alvo saem ate caber, e o caminho que nao cabe recusa
209
+ grafo amostra [--por-estrato N] Amostra de arestas para auditoria manual; --conferir ARQ confere a auditada
210
+ grafo limpar [--tudo] [--json] Apaga os indices que nao sao do HEAD e as sobras com mais de uma hora
211
+
212
+ ship <thread-id> --para <branch> Merge --no-ff serializado por lease e push PROVADO
213
+ ship registrar-pr <thread-id>|--todas A entrega feita por PR vira ship_done: merge ship(<thread>) na base
214
+ [--remoto R] [--json] remota e CI verde no head do PR; depois, ork master <thread> --aceitar-omissao
215
+ [--repo <dono/nome> --pr <n>] PR mesclado em repositorio externo de ci.external_repositories
216
+ [--dry-run] Ensaio: as mesmas conferencias, sem gravar ship_done, fase nem fabrica
217
+ [--de <branch>] [--remoto origin] [--autorizar-push <quem>] [--sem-push] [--dry-run]
218
+ ship publicar <thread-id> Publica a branch e abre o PR com prova (ls-remote), so em #Auto e #Maestro
219
+ [--dry-run] [--remoto R] [--json] Ensaio confere tudo sem publicar; repetido, nao abre outro PR
220
+ ship pista [<thread-id>] [--json] Etapas da entrega, do CHECK ao ship_done, e o proximo passo do nucleo
221
+
222
+ board [--all] [--sem-remoto] Visao unica das threads (todos os perfis com --all); com a
223
+ fabrica compartilhada, tambem as outras maquinas (I-51)
224
+ board plan Escalonador: quem avanca agora, quem espera e por que
225
+
226
+ orquestracao status [--all] [--json] Monitor PROATIVO de pausas e impedimentos: quem esta
227
+ [--atencao N] [--so-paradas] parado, esperando o que, ha quanto tempo e o que
228
+ [--sem-runtime] [--exigir-limpo] destrava (alias curto: ork monitor)
229
+
230
+ worktree ensure <thread-id> Garante a worktree da thread (base resolvida pelo ork)
231
+ worktree sync <thread-id> [--dry-run] Rebasa a branch da thread quando a base avancou
232
+ worktree audit <thread-id> Confere a worktree no proprio git (sai != 0 se divergir)
233
+ worktree release <thread-id> [--forcar] Remove a worktree e limpa o registro
234
+
235
+ activation plan|status|enable|disable Escrita escopada com aceite, hash, leases e recibo
236
+ lease list Leases, familias e as filas (merge e colisao de regiao)
237
+ lease acquire <nome> --thread T --motivo M Toma um lease tipado (entra na fila se colidir)
238
+ lease release <nome> [--thread T] [--forcar]
239
+ conducao status <thread-id> [--json] Quem conduz a thread agora (canal, sessao, fase, desde)
240
+ conducao assumir <thread-id> --por Q --motivo M
241
+ Handoff: encerra a conducao atual pelo runtime e registra quem assumiu
242
+ conducao sentinela status|bater|desligar [--sessao S] [--json]
243
+ Sentinela do Condutor: presenca nesta maquina e o passo de cada thread
244
+
245
+ master propor <id> --score N --justificativa J --por <agente>
246
+ master batch --aceitar <thread:assinatura,...> --por <humano>
247
+ master migrar --dry-run --por Q Inspeciona correções sem alterar originais
248
+ master digest <enviar|preview|responder> Digest semanal com recibos do host
249
+ master <thread-id> --score 0-5 --justificativa "<texto>" --por <seu-nome>
250
+ [--classe C[,C]] [--resumo R] [--refazer]
251
+ Fecha a thread: POSTMORTEM + MASTER log + score (so do terminal;
252
+ de processo de host e recusado com master.prova-de-canal)
253
+ master pedir <thread-id> [--formato telegram|terminal|json]
254
+ Pede a nota ao dono com codigo curto; ele responde pelo Telegram
255
+ (<codigo> <0 a 5> <porque>) e a nota vai ao ledger com o recibo (RM-048)
256
+ master [--todas] [--json] As entregas, com o indice derivado do ledger
257
+ master <thread-id> --aceitar-omissao Aceita por omissao SO a entrega desta thread, com registro (ou --thread T)
258
+ [--dry-run] [--json] --dry-run lista o que seria fechado, sem gravar
259
+ master --aceitar-omissao [--dry-run] [--json]
260
+ Aceita TODAS as entregues por omissao, listando cada uma
261
+ (de processo de agente com mais de uma, avisa em stderr)
262
+ master classes As classes de falha fixas do POSTMORTEM
263
+ licoes [--json] O que volta no GOAL e no PLAN da proxima thread (POSTMORTEM e
264
+ MASTER) e as propostas de policy por recorrencia (I-55)
265
+
266
+ demo [--manter] [--dir D] A promessa em 30 s: uma afirmacao falsa reprovada e a corrigida aceita,
267
+ offline, num repositorio temporario (I-56)
268
+ ciclos Variantes de ciclo de "ork thread new --ciclo"
269
+ modos --do-pedido "<texto>" [--json] Le a #TAG do pedido do builder (usado pelos adaptadores)
270
+ modos migrar [--dry-run] [--por Q] Tira modo aposentado do orkastery.yaml e do setup.json
271
+ [--json] (idempotente, com backup; nao toca em historico)
272
+
273
+ prompt list Templates de prompt (embutidos e os do projeto)
274
+ prompt lint [--template ID] Reprova template quebrado antes de ele virar despacho
275
+ prompt render <thread-id> --fase F Mostra o prompt exato, com o sha256 que vai ao ledger
276
+ [--pedido "<texto>"] [--template ID] sem --pedido, o guardado na criacao da thread (RM-059)
277
+ prompt render --exemplo --fase F --modo M Renderiza sem thread nenhuma, para revisar o texto
278
+
279
+ roadmap status [--json] Status report unico do roadmap: grupos com icones, #HITL no que espera
280
+ voce e o fecho com o que precisa de voce e o que vem a seguir (RM-048)
281
+ roadmap reservas [--json] [--remoto R] Quem esta com cada item do roadmap, lido da branch ork/roadmap-reservas
282
+ [--soltar-orfas] marca a reserva de thread ja fechada (orfa) e, com a opcao, solta
283
+ ou passa para outra thread aberta do mesmo item, com registro
284
+ roadmap pegar <RM-NNN> [--thread T] Reserva o item para esta maquina (push atomico: o primeiro vence)
285
+ [--nota N] [--por Q] [--maquina M] maquina = --maquina, ORK_MAQUINA ou o hostname
286
+ [--forcar --motivo M] tomar a reserva de outra maquina fica registrado
287
+ roadmap soltar <RM-NNN> [--forcar --motivo M] Devolve o item
288
+ roadmap feat [--thread T] [--nota N] Reserva o proximo numero de FEAT na mesma branch (push atomico: duas
289
+ maquinas nunca levam o mesmo numero; numero reservado nao volta)
290
+ fabrica [--json] [--sem-remoto] O que cada maquina conduz, lido da branch ork/fabrica-estado (I-51)
291
+ fabrica entrar [--maquina NOME] Esta maquina entra na fabrica compartilhada deste usuario, com
292
+ este nome (~/.orkastery/maquina.json), e publica o primeiro retrato
293
+ fabrica publicar [--forcar] [--json] Grava o retrato desta maquina na branch (push atomico, sem forca);
294
+ depois de entrar, sai sozinho ao criar thread, despachar fase,
295
+ entregar e fechar, e a cada batida do pulse
296
+ fabrica sair Para de publicar daqui e tira o retrato desta maquina da branch
297
+ fabrica batida [status|instalar|remover] A batida da varredura do pulse no crontab desta maquina (RM-063): instalar
298
+ [--por Q] [--json] poe a linha do monitor/pulse.cron (idempotente), remover tira so ela;
299
+ status diz a linha e a ultima rodada do hitl.log
300
+ network status [--json] [--sem-remoto] A Orkastery Network desta pessoa: as maquinas, de qualquer diretorio,
301
+ com a fonte, as lacunas e o que nao foi lido (RM-053)
302
+ network entrar [--maquina NOME] Esta maquina entra na rede: repositorio privado <usuario>/orkastery-network
303
+ [--forja github|gitlab] [--repositorio [DONO/]NOME] na forja (criado se falta) e o primeiro retrato;
304
+ [--forcar] --forcar toma um nome que outra instalacao usa (fica no commit)
305
+ network publicar [--forcar] [--json] Grava o retrato desta maquina na casa da rede (push sem forca); depois de
306
+ entrar, sai sozinho na batida do pulse e nos eventos de thread
307
+ network sair Para de publicar daqui e tira o retrato desta maquina da casa
308
+ network roadmap [--projeto P] [--json] Roadmap, reservas e threads de cada maquina de cada projeto, de qualquer diretorio:
309
+ [--sem-remoto] fonte e hora de cada parte, lacuna tipada no que nao leu. P = caminho do clone,
310
+ github:dono/repo, gitlab:grupo/repo ou nome conhecido; sem clone, le a forja (RM-054)
311
+ docs verificar [--json] [--pr] Documentacao de produto e roadmap contra o codigo e o git; no PR (--pr),
312
+ o merge de outra thread e o indice que divergem da main so avisam
313
+ (padrao do dono: frontmatter, leitura, paridade; sai != 0 com erro)
314
+ docs sincronizar [--escrever] Fatos do ledger e do git para o roadmap (merge, fase) e indices;
315
+ sem --escrever so mostra; nunca muda status por passagem de tempo
316
+ [--so RM-NNN[,RM-MMM]] [--todos] so esses itens (e os indices); na worktree de uma thread com item,
317
+ o padrao e o item dela; --todos volta a todo item (RM-037)
318
+ docs init Cria padroes, modelos, indices e o lint de Markdown no projeto
319
+
320
+ mcp serve --project RAIZ --host HOST Servidor MCP stdio deste projeto (codex|claude-code)
321
+ mcp install --project RAIZ --host HOST Prepara MCP; aceita --dry-run, --ship-transport, --child-permissions e --owner-permissions (Codex)
322
+
323
+ adapter list Adaptadores de host (Camada 1) e o destino de cada um
324
+ adapter show <host> Os 3 pitfalls de instalacao do host
325
+ adapter install <host> [--dir D] Instala o adaptador (claude-code|codex|hermes|openclaw)
326
+ [--dry-run] [--force] divergencia segura resolve sozinha; o resto pergunta
327
+ [--aceitar-catalogo <arquivo>] sobrescreve a copia com o catalogo, arquivo a arquivo
328
+ [--manter-copia <arquivo>] deixa a copia como esta, arquivo a arquivo
329
+
330
+ eval [--skill S] [--canario C] Canarios de comportamento + corpus das skills finas
331
+ [--so-canarios] [--so-skills] [--json] (sai != 0 em qualquer falha)
332
+
333
+ audit packs [--estagio E] [--pack P] Os 7 packs, o estagio que os ativa e a postura
334
+ audit run <pack> [--profile P] Monta o prompt do pack e despacha pelo runtime adapter
335
+ [--since Nd] [--tudo] [--effort E] [--model M] [--agora "<quem>"] [--forcar] [--dry-run]
336
+ audit list Rodadas de auditoria do projeto
337
+ audit show <rodada> [--ledger] Contexto, achados e propostas de uma rodada
338
+ audit prompt <pack> [--since Nd] O prompt exato do pack, com o sha256 que vai ao ledger
339
+ audit lint Reprova template de auditoria quebrado (auditors/)
340
+ audit ingest <rodada> --arquivo J Registra em lote os achados que o auditor escreveu
341
+ audit finding add <rodada> --regra R Registra um achado com evidencia, claim e proposta
342
+ --titulo T --arquivo caminho:linha --impacto I --fix F --estimativa E
343
+ [--severidade critico|maior|menor] [--irreversivel "<passo>"] [--verificar "<comando>"]
344
+ audit verify <rodada> Reexecuta as claims dos achados (auditor sem self-report)
345
+ audit report <rodada> [--publicar] Relatorio com o bloco OBRIGATORIO de propostas
346
+ audit divida [--pack P] [--todos] Board de divida: propostas abertas e recorrencia
347
+ audit surface [<dir>] [--regra SPn] Varredura DETERMINISTICA da superficie de ataque de rede
348
+ [--limite N] [--json] (SP8..SP12; sai != 0 quando ha achado)
349
+ audit surface --registrar <rodada> Grava os achados da varredura no board da rodada
350
+ audit finding estado <id> <estado> Carimba o achado (aberto|adiado|resolvido|descartado)
351
+
352
+ thread new <nome> --from-finding <ID> Abre a thread a partir de um achado de auditoria
353
+ [--modo M] [--worktree auto] [--sem-worktree] [--dry-run]
354
+ (evidencia, claim e proposta viajam junto; a worktree segue
355
+ worktree.por_thread como no thread new)
356
+
357
+ Regimes de memoria: files (fallback honesto) e orkmind (bloco B6, base propria por tenant
358
+ declarada em memory.database_url_env pelo NOME da variavel de ambiente, sem fallback).
359
+ Colecoes gravadas no OrkMind: decision, handoff, rule, learning, roadmap (source=agent,
360
+ nunca mandatory: regra critica so nasce de humano autenticado).
361
+
362
+ Retry tipado (bloco B3): reexecutar, corrigir-dirigido, sincronizar-worktree,
363
+ escalar-esforco, esperar-janela, escalar-humano, sem-retry. Violacao de custo
364
+ (cost.violation) NUNCA recebe retry automatico. O limite de escalacao do manifesto
365
+ (retry.max_tentativas) pausa QUALQUER modo, inclusive #Auto.
366
+
367
+ Monitor de orquestracao (ork orquestracao status / ork monitor): duas naturezas de parada.
368
+ pausa-humana e a parada PREVISTA pelo modo (o bloco fechou e espera veredito, com o
369
+ pausaSobre do bloco dizendo o que o humano decide); impedimento e a nao prevista
370
+ (lease.busy, runtime.rate-limited, concurrency.limite e os demais gates tipados). Tudo e
371
+ DERIVADO de thread.json, ledger.jsonl e das filas em disco: o monitor le, nunca grava.
372
+ --exigir-limpo sai != 0 enquanto houver thread parada, para virar watchdog do orquestrador.
373
+
374
+ Fases: GOAL PLAN GO CHECK SHIP MASTER. Modos: ${v.tags}.
375
+ Familias de lease: main-tree, worktree-write:<thread>, path:<glob>, board:<card>, service:<porta>.
376
+ Ciclos: greenfield, merge-branch, goal-plan, gap, feature-xl-faseada.
377
+ Fontes de medida do gate de tokens: runtime_reported, estimated, informada, unavailable.
378
+ Hosts de Camada 1: claude-code, codex, hermes, openclaw. Canarios: fx-happy, fx-hallucination,
379
+ fx-stale-base, fx-wiki-destroy, fx-schema-drift, fx-concurrency.
380
+ Packs de auditoria: clean-code, reuse, architecture, data-model, ux, security-privacy, process.
381
+ Superficie de ataque de rede (SP8..SP12, varredura deterministica): rota sem auth, endpoint de
382
+ administracao exposto, rota sem rate limit, CORS permissivo, rota sem esquema de payload.
383
+ Estagios do produto: nascente, crescendo, maduro (hardening gradual, visao secao 5.2).
384
+ `,
385
+ };
386
+ exports.AJUDA_EN = {
387
+ comandoDesconhecido: (comando) => `unknown command: ${comando}`,
388
+ texto: (v) => `ork ${v.versao}, the Orkastery orchestration core
389
+
390
+ Usage: ork [--projeto <name|path>] <command> [arguments]
391
+
392
+ --projeto <name|path> Target project of any command (RM-052): overrides ORK_PROJETO, which overrides
393
+ the current directory; an ambiguous or unknown name lists the candidates (exit 4)
394
+ projetos [--json] Projects known on this machine (~/.orkastery/projetos.json)
395
+ projetos registrar [path] Registers this checkout (init, thread new and fabrica entrar already do)
396
+ projetos esquecer <name|path> Removes a checkout that vanished or is no longer needed from the registry (nothing on disk is deleted)
397
+
398
+ doctor What holds on this machine now (exits != 0 when blocked)
399
+ init [--force] [--name N] [--abbrev A] Generates the repository orkastery.yaml
400
+ modos Table of the ${v.modos} live conduction modes by #TAG
401
+
402
+ setup Agenda of the #setup interview: runtime/model/effort
403
+ per block of each mode (default claude-bg/opus/high; #Fast: sonnet)
404
+ onboarding [show|set <step>|reset [step]] Project agenda and answers (9 steps)
405
+ [--conteudo JSON] [--por Q] [--json] Secrets live ${v.segredos}
406
+ [--reset [step]] Selective or full reset, idempotent
407
+ onboarding sync [--json] Optional publication to memory, with degradation
408
+ experiencia show [--json] Effective preferences; configure with onboarding set maestro --conteudo '{"owner":{"experience":true}}'
409
+ experiencia uninstall <host> [--dry-run] [--json]
410
+ Removes the Claude Code/Codex block; without --dry-run it applies the removal
411
+ setup <mode> Current config of each block of the mode
412
+ setup <mode> --bloco N [--runtime R] Edits the block (runtimes: claude-bg, codex);
413
+ [--model M] [--effort E] [--por Q] setup_configured event in the project ledger
414
+ [--fallback R:M[:E],...] runtime fallback order of the block (I-33)
415
+ accounts list [--json] Account profiles per runtime, without secrets (I-33)
416
+ accounts add <id> --runtime R --dir D Creates the profile and runs the CLI's own login with the profile
417
+ [--sem-login] env (never copies a credential)
418
+ accounts remove <id> Deactivates the profile (directory and login stay where they are)
419
+ accounts check [<id>] Checks the login of each profile and marks the store
420
+ accounts esgotamentos [--desde 7d] [--json]
421
+ Dispatches on an account that another project on this machine saw exhausted
422
+ (RM-040), read only: opaque account, profile by id, no directory
423
+ setup [<mode>] --reset Resets the mode (or everything) to the default
424
+ setup sandbox [confirmar <posture>|revogar] This machine's sandbox posture (RM-047): a runtime.sandbox that loosens the sandbox
425
+ (danger-full-access) only dispatches after a local confirmation, kept out of git
426
+ setup worktree [confirmar [<dir>]|revogar] This machine's worktree folder (RM-047): a worktree.dir outside the root
427
+ only creates checkouts after a local confirmation, kept out of git
428
+ setup versionar Moves the setup in force to orkastery.setup.json: through a PR, it holds on
429
+ every machine and becomes the edited file (I-52)
430
+
431
+ thread new <name> --modo <MODE> Creates the thread, the 3-part slug and the ledger
432
+ [--exige-runtime-diferente] the CHECK needs a runtime the GO did not use
433
+ [--done "<criterion> :: <command>"] EXECUTABLE done criterion (use ;; for several)
434
+ [--slug S] [--assunto A] [--worktree auto|DIR] [--dry-run]
435
+ [--sem-worktree] creates without a worktree (on the base branch, ship blocks the delivery with
436
+ push_direto_na_base: block, the ork init default); with
437
+ worktree.por_thread: true, the worktree is created without a flag
438
+ [--roadmap RM-NNN] reserves the roadmap item before creating (I-47)
439
+ [--pedido "<text>"] saves the builder request (pedido.md, with sha256):
440
+ prompt render uses it when --pedido is missing (RM-059)
441
+ thread list [--todas] [--json] Project threads that are NOT closed (--todas includes the closed ones)
442
+ thread close <id> --motivo orfa|engano|superada --por Q --justificativa J
443
+ thread entrega <id> --arquivo A --sha256 H --por Q
444
+ thread status <thread-id> [--json] Thread state, crossed with the runtime
445
+
446
+ portfolio inspect <id> --json Entity, origin and cycles with explicit gaps
447
+ creation start --input-file F --json Durable creation with the identity of the local process
448
+ creation show|list|events [id] --json Queries the journal and the recovery
449
+ creation resume|compensate <id> --expected-version N --json
450
+ portfolio create <product|project|initiative> <id> --title T [--parent ID]
451
+ portfolio list [product|project|initiative] [--parent ID] [--json]
452
+ portfolio show <id> [--json] Catalog prod -> proj -> init
453
+ objective ... Retired in I-43: its two parts became
454
+ --exige-runtime-diferente and the thread --done
455
+
456
+ phase run <thread-id> <PHASE> --prompt "<text>"
457
+ [--runtime R] [--model M] Dispatches the phase as a background agent
458
+ [--effort E] [--dry-run] (runtime: CLI > block setup > manifest;
459
+ only --model implies --effort high; the effective
460
+ trio goes to the ledger as a verifiable fact)
461
+ [--canal C] [--correlacao ID] Source channel (without it, what the host declares)
462
+ [--esperar [min]] If the thread is already being conducted, waits its turn (without it: refuses at once)
463
+ [--perfil ID] Dispatch account (ork accounts list); a profile that is missing, belongs to another
464
+ runtime, is exhausted or is not signed in is refused with a typed reason
465
+ phase list <thread-id> Thread ledger history
466
+ (shows the real model/effort of each phase)
467
+ ledger stats --desde 7d [--ate ISO] Ledger economic telemetry (half-open interval: start included, end excluded)
468
+ [--thread T] [--modo M] [--runtime R] [--json]
469
+ ledger estimate <thread-id> --sem-ia H --ia-sem-ork H --por Q --metodo M --premissas P
470
+ [--incerteza I] Records explicit estimates of the PLAN phase
471
+
472
+ sessions [--all] [--global] [--json] Claude and Codex inventory of the process account and of each profile
473
+ [--exigir-limpo] Exits != 0 with an invalid source or a session without a thread
474
+ sessions adopt <id> [--json] Adopts a real identity without running a prompt
475
+ sessions event --tipo T --sessao ID Ingests bounded JSON on stdin; observes without approving gates
476
+ sessions watch --thread T [--sessao ID] Watches only the selected session; --once does a single scan
477
+ sessions limpar-fantasmas [--dry-run] Releases from ork (sessao_morta in the ledger) the session with no pid and no process;
478
+ [--json] never touches the runtime (RM-056)
479
+ sessions logs <session> [--linhas N] Logs of a session
480
+ sessions supersede <thread> <UUID> --fase F --runtime R Confirms that a superseded session ended
481
+ sessions request <thread> <UUID> --fase F --runtime R --pergunta P Opens a request bound to the native prompt
482
+ sessions answer <thread> <request> --stdin --origem telegram --canal C --por ID --mensagem REF [--conta ID] Confirms an authenticated delivery
483
+ sessions reconcile <thread> <request> Closes a pending send with only thread and request; checks the receipt, never resends
484
+ sessions stop <session> Stops a session
485
+ sessions attach <session> Prints the attach command (needs a TTY)
486
+ pulse [--json] [--registrar] Unified queue of human attention and retry of orphans
487
+ pulse responder --resposta-stdin --origem telegram --canal C --por ID --mensagem REF [--conta ID]
488
+ Receives what the owner typed in the summary channel (P4EJ a, 1a 2c)
489
+ pulse cadencia [<tag>] [--por P] [--json] Shows or changes the summary cadence: OrkPulseOn, OrkPulseOn-15m,
490
+ -30m, -60m or OrkPulseOff; a new question goes out at once (I-50)
491
+ sessions hitl [--json] [--so-paradas] Radar of sessions that need human action NOW:
492
+ [--atencao N] [--sem-logs] classifies the state of each runtime session,
493
+ [--so-da-raiz] [--exigir-limpo] reads the question the session is stuck on and says what
494
+ unblocks it (catches HITL of sessions WITHOUT a thread)
495
+
496
+ claims add <thread-id> <file> --claim "<claim>" [--verificar "<command>"] [--fase F]
497
+ Records a verifiable claim of the thread
498
+ claims list <thread-id> Claims of the thread and the state of each one
499
+ claims conferir <thread-id> --claims C1,C2|--tarefa T1 [--prazo S] [--json]
500
+ Reruns only those claims, or the verify of the plan task, in the
501
+ verify sandbox, without writing a receipt (RM-059); exits 3 if another
502
+ session is conducting and 2 without a sandbox
503
+ decisao registrar <thread-id> --decidido D --porque P --como-mudar C --custo-agora A --custo-depois B
504
+ --criterio manifesto:KEY|ledger:REF|medicao:COMMAND --quem Q --evidencia E [--razao R] [--reverte ID]
505
+ Decision taken without asking: reaches the owner in the summary
506
+ decisao placar <thread-id> [--json] Decided versus asked per phase, reversals and the threshold
507
+ claims verificar <thread-id> <claim-id> --comando "<command>"
508
+ Attaches the command that proves a claim already made
509
+ claims retirar <thread-id> <claim-id> --motivo "<reason>"
510
+ Withdraws the claim (the history stays in claims.jsonl)
511
+ claims ausente <thread-id> --paths A,B --motivo "<reason>" [--commit SHA]
512
+ Cycle without CHECK: declares in the ledger what was left without proof
513
+ verify <thread-id> [--baseline] Re-runs the claims and the manifest verify on the real HEAD
514
+ [--so-claims] --baseline records the state of the world before GO
515
+ [--canal C] [--esperar [min]] Only runs while conducting the thread (exits 3 if another one conducts)
516
+ ci prepare <thread-id> Exports claims/commands to the candidate (.ork-ci/<thread>.json)
517
+ ci run [<thread-id>] [--bundle FILE] Runs the CHECK on the independent runner
518
+ [--branch B] finds the thread bundle by the branch name (the CI uses it)
519
+ ci status [--sha SHA] [--remoto origin] Queries the exact check published on GitHub
520
+
521
+ gate next <thread-id> [--proximo PHASE] Token gate: same session or new session
522
+ [--ocupacao 0..1] [--fonte F] [--transcript FILE] [--janela N] [--refazer]
523
+ gate request <thread-id> [--motivo M] Presents the HITL request correlated to the pause
524
+ [--formato telegram|terminal] in the short contract, with the stable code to answer
525
+ gate answer <thread-id> <request> Receives the envelope of the authenticated human ingress
526
+ --resposta-stdin --por Q --mensagem ID --origem telegram [--canal hermes|openclaw]
527
+ [--conta ID] approved account of the channel; required on the openclaw channel
528
+ gate approve Retired: approval without a request is refused
529
+
530
+ retry policy [--motivo M] [--json] Retry policy per typed gate reason
531
+ retry plan <thread-id> [--motivo M] What ork would do for the last failed gate
532
+ [--fase F] [--json] (computes, does not run, does not spend an attempt)
533
+ retry run <thread-id> [--reverify] Runs the typed action of the last failed gate
534
+ [--por Q] [--dry-run] (--por authorizes when the mode block pauses)
535
+ retry list [--json] DURABLE rate limit queue of the project
536
+ retry resume [--id R1] [--agora ISO] Resumes the phase killed by a rate limit in the next window
537
+ [--ocupacao 0..1] [--forcar] [--dry-run] (playbooks: mesma-sessao, nova-sessao, escalada)
538
+ retry cancel <id> --motivo M Takes a request out of the queue, with the reason recorded
539
+ retry parse --stderr "<text>" Reads the reset time from the adapter stderr
540
+
541
+ fix open <thread-id> [--so-claims] GO-FIX: derives the exact spec of the failed CHECK
542
+ [--reverify] [--json] (one fix per typed reason, type A or B)
543
+ fix list <thread-id> [--rodada N] Fixes of the round and the verdict of each one
544
+ fix reverify <thread-id> [--rodada N] CHECK-REVERIFY with a verdict PER fix
545
+ [--parcial] [--json] (--parcial is REFUSED if there is a type B)
546
+
547
+ handoff export <thread-id> Handoff triaged CRITICAL/IMPORTANT/RESUMABLE
548
+ [--proxima-fase PHASE] [--slug S]
549
+ handoff recall <thread-id> <pointer> Resolves a path#anchor pointer back to the content
550
+
551
+ recall <thread-id> --fase PHASE LATE recovery: resolves only the pointers of the
552
+ [--id ptr-N] [--todos] [--forcar] moment (retrieve_when), never the whole window
553
+ [--sem-conteudo] [--json] (orkmind by tag, files by path#anchor)
554
+
555
+ brain status|inventory|get|query|receipts|context|dossie|sync|reconcile|apply|rollback|bind
556
+ brain dossie --thread T [--decisao ID] Decision dossier: link, citable context, alternatives,
557
+ who decided and evidence, with the Brain ids (read only)
558
+ memory status [--json] [--sondar] Effective regime (files|orkmind), tenant, degradation and embeddings
559
+ (--sondar: one real embedding call, with the latency)
560
+ memory sync [<thread-id>] [--json] Publishes decisions, policies, handoff, lesson and roadmap
561
+ memory inventory --escopo <threads> [--json] Inventories canonical sources and excluded tenants, without writing
562
+ memory migrate --operadora <thread> --escopo <threads> [--dry-run] [--json] Migrates handoffs through G3, with a full package and readback
563
+ memory search --tags '<json>' [--colecao C] Deterministic search by tag (mandatory always comes back)
564
+ [--thread ID] [--restrito] [--janela N] [--limite N] [--json]
565
+ memory search --texto "<phrase>" Search by meaning (I-38): vector + FTS by RRF in the tenant,
566
+ [--modo hibrido|vetor|fts] NOT deterministic; does not combine with --tags or --thread
567
+ [--colecao C] [--limite N] [--json]
568
+ memory index [--modelo primario|fallback|todos] Local vector index of the tenant (I-38), idempotent,
569
+ [--dry-run] [--json] with estimated tokens and cost; --dry-run does not call the provider
570
+
571
+ grafo indexar [--verificar] [--forcar] Code graph index of the clean HEAD (RM-031 KG3) in the project state:
572
+ [--json] folders 0700, key per revision and extractor, idempotent; incremental (KG4)
573
+ from the ancestor index, or full with the reason; --forcar extracts
574
+ in full; --verificar checks contract, bytes, determinism and the incremental
575
+ against the full one; needs typescript and micromark
576
+ grafo status [--json] Stored indexes, the HEAD one, the analyzers and the size
577
+ grafo contexto <thread> [--json] Thread package with evidence and size in bytes [--teto-bytes N]
578
+ grafo vizinhos <node> [--profundidade N] Neighborhood of a file or symbol, with the extractor and evidence of each edge
579
+ [--sentido entrada|saida|ambos] [--tipo T,...] [--limite N] [--json]
580
+ grafo chamadores <symbol> Who calls it (incoming calls edges) [--profundidade N] [--limite N] [--json]
581
+ grafo importadores <file|symbol> Who imports it (incoming imports edges) [--profundidade N] [--limite N] [--json]
582
+ grafo caminho <from> <to> Shortest path along the edges [--sentido saida|entrada|ambos] [--tipo T,...] [--json]
583
+ [--json --teto-bytes N] In the four queries (KG5): compact JSON of at most N bytes; the edges farthest
584
+ from the target go out until it fits, and a path that does not fit refuses
585
+ grafo amostra [--por-estrato N] Sample of edges for manual audit; --conferir FILE checks the audited one
586
+ grafo limpar [--tudo] [--json] Deletes the indexes that are not from HEAD and leftovers older than one hour
587
+
588
+ ship <thread-id> --para <branch> Serialized --no-ff merge by lease and PROVEN push
589
+ ship registrar-pr <thread-id>|--todas A delivery made by PR becomes ship_done: ship(<thread>) merge on the remote
590
+ [--remoto R] [--json] base and green CI on the PR head; then, ork master <thread> --aceitar-omissao
591
+ [--repo <owner/name> --pr <n>] PR merged in an external repository of ci.external_repositories
592
+ [--dry-run] Rehearsal: the same checks, without writing ship_done, phase or factory
593
+ [--de <branch>] [--remoto origin] [--autorizar-push <who>] [--sem-push] [--dry-run]
594
+ ship publicar <thread-id> Publishes the branch and opens the PR with proof (ls-remote), only in #Auto and #Maestro
595
+ [--dry-run] [--remoto R] [--json] The rehearsal checks everything without publishing; repeated, it opens no other PR
596
+ ship pista [<thread-id>] [--json] Delivery steps, from CHECK to ship_done, and the core's next step
597
+
598
+ board [--all] [--sem-remoto] Single view of the threads (all profiles with --all); with the
599
+ shared factory, also the other machines (I-51)
600
+ board plan Scheduler: who moves now, who waits and why
601
+
602
+ orquestracao status [--all] [--json] PROACTIVE monitor of pauses and impediments: who is
603
+ [--atencao N] [--so-paradas] stopped, waiting for what, for how long and what
604
+ [--sem-runtime] [--exigir-limpo] unblocks it (short alias: ork monitor)
605
+
606
+ worktree ensure <thread-id> Ensures the thread worktree (base resolved by ork)
607
+ worktree sync <thread-id> [--dry-run] Rebases the thread branch when the base moved ahead
608
+ worktree audit <thread-id> Checks the worktree in git itself (exits != 0 if it diverges)
609
+ worktree release <thread-id> [--forcar] Removes the worktree and cleans the registry
610
+
611
+ activation plan|status|enable|disable Scoped writing with acceptance, hash, leases and receipt
612
+ lease list Leases, families and the queues (merge and region collision)
613
+ lease acquire <name> --thread T --motivo M Takes a typed lease (joins the queue if it collides)
614
+ lease release <name> [--thread T] [--forcar]
615
+ conducao status <thread-id> [--json] Who conducts the thread now (channel, session, phase, since)
616
+ conducao assumir <thread-id> --por Q --motivo M
617
+ Handoff: ends the current conduction through the runtime and records who took over
618
+ conducao sentinela status|bater|desligar [--sessao S] [--json]
619
+ Conductor Sentinel: presence on this machine and the step of each thread
620
+
621
+ master propor <id> --score N --justificativa J --por <agent>
622
+ master batch --aceitar <thread:signature,...> --por <human>
623
+ master migrar --dry-run --por Q Inspects fixes without changing the originals
624
+ master digest <enviar|preview|responder> Weekly digest with host receipts
625
+ master <thread-id> --score 0-5 --justificativa "<text>" --por <your-name>
626
+ [--classe C[,C]] [--resumo R] [--refazer]
627
+ Closes the thread: POSTMORTEM + MASTER log + score (terminal only;
628
+ from a host process it is refused with master.prova-de-canal)
629
+ master pedir <thread-id> [--formato telegram|terminal|json]
630
+ Asks the owner for the score with a short code; they answer through Telegram
631
+ (<code> <0 to 5> <why>) and the score goes to the ledger with the receipt (RM-048)
632
+ master [--todas] [--json] The deliveries, with the index derived from the ledger
633
+ master <thread-id> --aceitar-omissao Accepts by default ONLY the delivery of this thread, with a record (or --thread T)
634
+ [--dry-run] [--json] --dry-run lists what would be closed, without writing
635
+ master --aceitar-omissao [--dry-run] [--json]
636
+ Accepts ALL delivered ones by default, listing each one
637
+ (from an agent process with more than one, warns on stderr)
638
+ master classes The fixed failure classes of the POSTMORTEM
639
+ licoes [--json] What comes back in the GOAL and PLAN of the next thread (POSTMORTEM and
640
+ MASTER) and the policy proposals by recurrence (I-55)
641
+
642
+ demo [--manter] [--dir D] The promise in 30 s: a false claim refused and the fixed one accepted,
643
+ offline, in a temporary repository (I-56)
644
+ ciclos Cycle variants of "ork thread new --ciclo"
645
+ modos --do-pedido "<text>" [--json] Reads the #TAG of the builder request (used by the adapters)
646
+ modos migrar [--dry-run] [--por Q] Removes a retired mode from orkastery.yaml and setup.json
647
+ [--json] (idempotent, with a backup; does not touch history)
648
+
649
+ prompt list Prompt templates (built in and the project ones)
650
+ prompt lint [--template ID] Refuses a broken template before it becomes a dispatch
651
+ prompt render <thread-id> --fase F Shows the exact prompt, with the sha256 that goes to the ledger
652
+ [--pedido "<text>"] [--template ID] without --pedido, the one saved when the thread was created (RM-059)
653
+ prompt render --exemplo --fase F --modo M Renders without any thread, to review the text
654
+
655
+ roadmap status [--json] Single roadmap status report: groups with icons, #HITL on what waits for
656
+ you and the closing with what needs you and what comes next (RM-048)
657
+ roadmap reservas [--json] [--remoto R] Who holds each roadmap item, read from the ork/roadmap-reservas branch
658
+ [--soltar-orfas] marks the reservation of a thread already closed (orphan) and, with the option, releases
659
+ it or passes it to another open thread of the same item, with a record
660
+ roadmap pegar <RM-NNN> [--thread T] Reserves the item for this machine (atomic push: the first one wins)
661
+ [--nota N] [--por Q] [--maquina M] machine = --maquina, ORK_MAQUINA or the hostname
662
+ [--forcar --motivo M] taking the reservation of another machine is recorded
663
+ roadmap soltar <RM-NNN> [--forcar --motivo M] Gives the item back
664
+ roadmap feat [--thread T] [--nota N] Reserves the next FEAT number on the same branch (atomic push: two
665
+ machines never take the same number; a reserved number does not come back)
666
+ fabrica [--json] [--sem-remoto] What each machine conducts, read from the ork/fabrica-estado branch (I-51)
667
+ fabrica entrar [--maquina NAME] This machine joins the shared factory of this user, with
668
+ this name (~/.orkastery/maquina.json), and publishes the first snapshot
669
+ fabrica publicar [--forcar] [--json] Writes the snapshot of this machine to the branch (atomic push, without force);
670
+ after joining, it goes out on its own when a thread is created, a phase is dispatched,
671
+ delivered and closed, and at every pulse beat
672
+ fabrica sair Stops publishing from here and removes the snapshot of this machine from the branch
673
+ fabrica batida [status|instalar|remover] The pulse scan beat in this machine's crontab (RM-063): instalar
674
+ [--por Q] [--json] adds the monitor/pulse.cron line (idempotent), remover takes out only it;
675
+ status shows the line and the last run in hitl.log
676
+ network status [--json] [--sem-remoto] This person's Orkastery Network: the machines, from any directory,
677
+ with the source, the gaps and what was not read (RM-053)
678
+ network entrar [--maquina NAME] This machine joins the network: private repository <user>/orkastery-network
679
+ [--forja github|gitlab] [--repositorio [OWNER/]NAME] on the forge (created if missing) and the first snapshot;
680
+ [--forcar] --forcar takes a name that another installation uses (it stays in the commit)
681
+ network publicar [--forcar] [--json] Writes the snapshot of this machine to the network home (push without force); after
682
+ joining, it goes out on its own at the pulse beat and on thread events
683
+ network sair Stops publishing from here and removes the snapshot of this machine from the home
684
+ network roadmap [--projeto P] [--json] Roadmap, reservations and threads of each machine of each project, from any directory:
685
+ [--sem-remoto] source and time of each part, typed gap on what it did not read. P = clone path,
686
+ github:owner/repo, gitlab:group/repo or a known name; without a clone, it reads the forge (RM-054)
687
+ docs verificar [--json] [--pr] Product and roadmap documentation against the code and git; on the PR (--pr),
688
+ the merge of another thread and the index that diverge from main only warn
689
+ (owner standard: frontmatter, reading, parity; exits != 0 with an error)
690
+ docs sincronizar [--escrever] Facts from the ledger and git to the roadmap (merge, phase) and indexes;
691
+ without --escrever it only shows; never changes a status because time passed
692
+ [--so RM-NNN[,RM-MMM]] [--todos] only these items (and the indexes); in the worktree of a thread with an item,
693
+ the default is its item; --todos goes back to every item (RM-037)
694
+ docs init Creates standards, templates, indexes and the Markdown lint in the project
695
+
696
+ mcp serve --project ROOT --host HOST stdio MCP server of this project (codex|claude-code)
697
+ mcp install --project ROOT --host HOST Prepares MCP; accepts --dry-run, --ship-transport, --child-permissions and --owner-permissions (Codex)
698
+
699
+ adapter list Host adapters (Layer 1) and the target of each one
700
+ adapter show <host> The 3 installation pitfalls of the host
701
+ adapter install <host> [--dir D] Installs the adapter (claude-code|codex|hermes|openclaw)
702
+ [--dry-run] [--force] a safe divergence resolves on its own; the rest asks
703
+ [--aceitar-catalogo <file>] overwrites the copy with the catalog, file by file
704
+ [--manter-copia <file>] keeps the copy as it is, file by file
705
+
706
+ eval [--skill S] [--canario C] Behavior canaries + corpus of the thin skills
707
+ [--so-canarios] [--so-skills] [--json] (exits != 0 on any failure)
708
+
709
+ audit packs [--estagio E] [--pack P] The 7 packs, the stage that activates them and the posture
710
+ audit run <pack> [--profile P] Builds the pack prompt and dispatches through the runtime adapter
711
+ [--since Nd] [--tudo] [--effort E] [--model M] [--agora "<who>"] [--forcar] [--dry-run]
712
+ audit list Audit rounds of the project
713
+ audit show <round> [--ledger] Context, findings and proposals of a round
714
+ audit prompt <pack> [--since Nd] The exact pack prompt, with the sha256 that goes to the ledger
715
+ audit lint Refuses a broken audit template (auditors/)
716
+ audit ingest <round> --arquivo J Records in batch the findings the auditor wrote
717
+ audit finding add <round> --regra R Records a finding with evidence, claim and proposal
718
+ --titulo T --arquivo path:line --impacto I --fix F --estimativa E
719
+ [--severidade critico|maior|menor] [--irreversivel "<step>"] [--verificar "<command>"]
720
+ audit verify <round> Re-runs the claims of the findings (auditor without self-report)
721
+ audit report <round> [--publicar] Report with the MANDATORY block of proposals
722
+ audit divida [--pack P] [--todos] Debt board: open proposals and recurrence
723
+ audit surface [<dir>] [--regra SPn] DETERMINISTIC scan of the network attack surface
724
+ [--limite N] [--json] (SP8..SP12; exits != 0 when there is a finding)
725
+ audit surface --registrar <round> Writes the scan findings to the round board
726
+ audit finding estado <id> <state> Stamps the finding (aberto|adiado|resolvido|descartado)
727
+
728
+ thread new <name> --from-finding <ID> Opens the thread from an audit finding
729
+ [--modo M] [--worktree auto] [--sem-worktree] [--dry-run]
730
+ (evidence, claim and proposal travel together; the worktree follows
731
+ worktree.por_thread as in thread new)
732
+
733
+ Memory regimes: files (honest fallback) and orkmind (block B6, own database per tenant
734
+ declared in memory.database_url_env by the NAME of the environment variable, without fallback).
735
+ Collections written to OrkMind: decision, handoff, rule, learning, roadmap (source=agent,
736
+ never mandatory: a critical rule is only born from an authenticated human).
737
+
738
+ Typed retry (block B3): reexecutar, corrigir-dirigido, sincronizar-worktree,
739
+ escalar-esforco, esperar-janela, escalar-humano, sem-retry. A cost violation
740
+ (cost.violation) NEVER gets an automatic retry. The escalation limit of the manifest
741
+ (retry.max_tentativas) pauses ANY mode, #Auto included.
742
+
743
+ Orchestration monitor (ork orquestracao status / ork monitor): two kinds of stop.
744
+ pausa-humana is the stop PLANNED by the mode (the block closed and waits for a verdict, with the
745
+ block pausaSobre saying what the human decides); impedimento is the unplanned one
746
+ (lease.busy, runtime.rate-limited, concurrency.limite and the other typed gates). Everything is
747
+ DERIVED from thread.json, ledger.jsonl and the queues on disk: the monitor reads, never writes.
748
+ --exigir-limpo exits != 0 while there is a stopped thread, so it can be the orchestrator watchdog.
749
+
750
+ Phases: GOAL PLAN GO CHECK SHIP MASTER. Modes: ${v.tags}.
751
+ Lease families: main-tree, worktree-write:<thread>, path:<glob>, board:<card>, service:<port>.
752
+ Cycles: greenfield, merge-branch, goal-plan, gap, feature-xl-faseada.
753
+ Token gate measurement sources: runtime_reported, estimated, informada, unavailable.
754
+ Layer 1 hosts: claude-code, codex, hermes, openclaw. Canaries: fx-happy, fx-hallucination,
755
+ fx-stale-base, fx-wiki-destroy, fx-schema-drift, fx-concurrency.
756
+ Audit packs: clean-code, reuse, architecture, data-model, ux, security-privacy, process.
757
+ Network attack surface (SP8..SP12, deterministic scan): route without auth, exposed admin
758
+ endpoint, route without rate limit, permissive CORS, route without a payload schema.
759
+ Product stages: nascente, crescendo, maduro (gradual hardening, vision section 5.2).
760
+ `,
761
+ };