agentera 3.0.0-dev.6 → 3.0.0-dev.7

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 (439) hide show
  1. package/bundle/extract-corpus-parity.json +23 -0
  2. package/bundle/references/adapters/cursor.md +10 -9
  3. package/bundle/references/adapters/opencode.md +26 -26
  4. package/bundle/references/adapters/runtime-adapter-characterization.md +1 -1
  5. package/bundle/references/adapters/runtime-adapter-registry.yaml +16 -10
  6. package/bundle/references/adapters/runtime-feature-parity.md +2 -2
  7. package/bundle/references/analysis/benchmark.md +1 -1
  8. package/bundle/references/analysis/startup-measurement-contract.yaml +7 -7
  9. package/bundle/references/artifacts/artifact-registry-interface-model.yaml +4 -3
  10. package/bundle/references/cli/agent-ready-state-contract.yaml +6 -6
  11. package/bundle/references/cli/app-lifecycle-vocabulary.yaml +4 -4
  12. package/bundle/references/cli/capability-tool-classification.yaml +12 -12
  13. package/bundle/references/cli/coexistence-probe.yaml +4 -0
  14. package/bundle/references/cli/parity-expected-actual-template.md +30 -0
  15. package/bundle/references/cli/routing-execution-vocabulary.yaml +6 -6
  16. package/bundle/references/cli/routing-model.md +96 -0
  17. package/bundle/references/cli/trigger-schema-enrichment.md +136 -0
  18. package/bundle/references/cli/update-channels.yaml +16 -1
  19. package/bundle/references/cli/upgrade-repair-wording.md +17 -3
  20. package/bundle/references/cli/vocabulary-index.yaml +17 -12
  21. package/bundle/references/cli/vocabulary.md +314 -309
  22. package/bundle/registry.json +13 -13
  23. package/bundle/skills/agentera/.claude-plugin/plugin.json +13 -13
  24. package/bundle/skills/agentera/SKILL.md +99 -415
  25. package/bundle/skills/agentera/agents/audit.toml +6 -0
  26. package/bundle/skills/agentera/agents/build.toml +6 -0
  27. package/bundle/skills/agentera/agents/design.toml +6 -0
  28. package/bundle/skills/agentera/agents/{planera.toml → discuss.toml} +3 -3
  29. package/bundle/skills/agentera/agents/{resonera.toml → document.toml} +3 -3
  30. package/bundle/skills/agentera/agents/{optimera.toml → optimize.toml} +2 -2
  31. package/bundle/skills/agentera/agents/orchestrate.toml +6 -0
  32. package/bundle/skills/agentera/agents/plan.toml +6 -0
  33. package/bundle/skills/agentera/agents/profile.toml +6 -0
  34. package/bundle/skills/agentera/agents/research.toml +6 -0
  35. package/bundle/skills/agentera/agents/status.toml +6 -0
  36. package/bundle/skills/agentera/agents/vision.toml +6 -0
  37. package/bundle/skills/agentera/capabilities/{inspektera → audit}/schemas/artifacts.yaml +10 -10
  38. package/bundle/skills/agentera/capabilities/{inspektera → audit}/schemas/triggers.yaml +15 -6
  39. package/bundle/skills/agentera/capabilities/{inspektera → audit}/schemas/validation.yaml +9 -9
  40. package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/artifacts.yaml +11 -11
  41. package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/triggers.yaml +13 -3
  42. package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/validation.yaml +7 -7
  43. package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/artifacts.yaml +6 -6
  44. package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/triggers.yaml +15 -3
  45. package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/validation.yaml +5 -5
  46. package/bundle/skills/agentera/capabilities/{resonera → discuss}/schemas/artifacts.yaml +6 -6
  47. package/bundle/skills/agentera/capabilities/{resonera → discuss}/schemas/triggers.yaml +11 -3
  48. package/bundle/skills/agentera/capabilities/{resonera → discuss}/schemas/validation.yaml +4 -4
  49. package/bundle/skills/agentera/capabilities/{dokumentera → document}/schemas/artifacts.yaml +10 -10
  50. package/bundle/skills/agentera/capabilities/{dokumentera → document}/schemas/triggers.yaml +14 -3
  51. package/bundle/skills/agentera/capabilities/{dokumentera → document}/schemas/validation.yaml +8 -8
  52. package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/artifacts.yaml +8 -8
  53. package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/triggers.yaml +11 -3
  54. package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/validation.yaml +7 -7
  55. package/bundle/skills/agentera/capabilities/{orkestrera → orchestrate}/schemas/artifacts.yaml +10 -10
  56. package/bundle/skills/agentera/capabilities/{orkestrera → orchestrate}/schemas/triggers.yaml +16 -3
  57. package/bundle/skills/agentera/capabilities/{orkestrera → orchestrate}/schemas/validation.yaml +27 -27
  58. package/bundle/skills/agentera/capabilities/{planera → plan}/schemas/artifacts.yaml +8 -8
  59. package/bundle/skills/agentera/capabilities/{planera → plan}/schemas/exit.yaml +2 -2
  60. package/bundle/skills/agentera/capabilities/{planera → plan}/schemas/triggers.yaml +15 -3
  61. package/bundle/skills/agentera/capabilities/{planera → plan}/schemas/validation.yaml +3 -3
  62. package/bundle/skills/agentera/capabilities/{profilera → profile}/schemas/artifacts.yaml +2 -2
  63. package/bundle/skills/agentera/capabilities/{profilera → profile}/schemas/exit.yaml +2 -1
  64. package/bundle/skills/agentera/capabilities/{profilera → profile}/schemas/triggers.yaml +7 -3
  65. package/bundle/skills/agentera/capabilities/{profilera → profile}/schemas/validation.yaml +2 -2
  66. package/bundle/skills/agentera/capabilities/{inspirera → research}/schemas/artifacts.yaml +5 -5
  67. package/bundle/skills/agentera/capabilities/{inspirera → research}/schemas/triggers.yaml +9 -3
  68. package/bundle/skills/agentera/capabilities/{inspirera → research}/schemas/validation.yaml +2 -2
  69. package/bundle/skills/agentera/capabilities/{hej → status}/schemas/artifacts.yaml +14 -11
  70. package/bundle/skills/agentera/capabilities/{hej → status}/schemas/triggers.yaml +10 -4
  71. package/bundle/skills/agentera/capabilities/{hej → status}/schemas/validation.yaml +5 -5
  72. package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/artifacts.yaml +8 -8
  73. package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/triggers.yaml +17 -3
  74. package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/validation.yaml +7 -7
  75. package/bundle/skills/agentera/capability_schema_contract.yaml +178 -34
  76. package/bundle/skills/agentera/protocol.yaml +29 -29
  77. package/bundle/skills/agentera/references/contract.md +328 -319
  78. package/bundle/skills/agentera/schemas/artifacts/changelog.yaml +4 -4
  79. package/bundle/skills/agentera/schemas/artifacts/decisions.yaml +9 -9
  80. package/bundle/skills/agentera/schemas/artifacts/design.yaml +4 -4
  81. package/bundle/skills/agentera/schemas/artifacts/docs.yaml +8 -7
  82. package/bundle/skills/agentera/schemas/artifacts/experiments.yaml +5 -5
  83. package/bundle/skills/agentera/schemas/artifacts/health.yaml +5 -5
  84. package/bundle/skills/agentera/schemas/artifacts/objective.yaml +4 -4
  85. package/bundle/skills/agentera/schemas/artifacts/plan.yaml +5 -5
  86. package/bundle/skills/agentera/schemas/artifacts/progress.yaml +5 -5
  87. package/bundle/skills/agentera/schemas/artifacts/todo.yaml +40 -35
  88. package/bundle/skills/agentera/schemas/artifacts/vision.yaml +3 -3
  89. package/dist/analytics/extractCorpus/cli.js +49 -1
  90. package/dist/analytics/extractCorpus/cli.js.map +1 -1
  91. package/dist/analytics/extractCorpus/copilotSessions.js +47 -5
  92. package/dist/analytics/extractCorpus/copilotSessions.js.map +1 -1
  93. package/dist/analytics/extractCorpus/core.js +19 -12
  94. package/dist/analytics/extractCorpus/core.js.map +1 -1
  95. package/dist/analytics/extractCorpus/corpus.js +26 -13
  96. package/dist/analytics/extractCorpus/corpus.js.map +1 -1
  97. package/dist/analytics/extractCorpus/coverageAudit.js +261 -0
  98. package/dist/analytics/extractCorpus/coverageAudit.js.map +1 -0
  99. package/dist/analytics/extractCorpus/cursorSessions.js +6 -3
  100. package/dist/analytics/extractCorpus/cursorSessions.js.map +1 -1
  101. package/dist/analytics/extractCorpus/extractCorpusParity.js +105 -0
  102. package/dist/analytics/extractCorpus/extractCorpusParity.js.map +1 -0
  103. package/dist/analytics/extractCorpus/filesystemSources.js.map +1 -1
  104. package/dist/analytics/extractCorpus/index.js +3 -0
  105. package/dist/analytics/extractCorpus/index.js.map +1 -1
  106. package/dist/analytics/extractCorpus/jsonlSessions.js.map +1 -1
  107. package/dist/analytics/extractCorpus/sqliteCaps.js +44 -0
  108. package/dist/analytics/extractCorpus/sqliteCaps.js.map +1 -0
  109. package/dist/analytics/extractCorpus/sqliteSessions.js +98 -5
  110. package/dist/analytics/extractCorpus/sqliteSessions.js.map +1 -1
  111. package/dist/analytics/usageStats.js +19 -19
  112. package/dist/analytics/usageStats.js.map +1 -1
  113. package/dist/capabilities/audit/instructions.js +6 -0
  114. package/dist/capabilities/audit/instructions.js.map +1 -0
  115. package/dist/capabilities/build/instructions.js +6 -0
  116. package/dist/capabilities/build/instructions.js.map +1 -0
  117. package/dist/capabilities/design/instructions.js +5 -0
  118. package/dist/capabilities/design/instructions.js.map +1 -0
  119. package/dist/capabilities/discuss/instructions.js +6 -0
  120. package/dist/capabilities/discuss/instructions.js.map +1 -0
  121. package/dist/capabilities/document/instructions.js +6 -0
  122. package/dist/capabilities/document/instructions.js.map +1 -0
  123. package/dist/capabilities/index.js +24 -24
  124. package/dist/capabilities/index.js.map +1 -1
  125. package/dist/capabilities/inspirera/instructions.js +1 -1
  126. package/dist/capabilities/inspirera/instructions.js.map +1 -1
  127. package/dist/capabilities/optimize/instructions.js +6 -0
  128. package/dist/capabilities/optimize/instructions.js.map +1 -0
  129. package/dist/capabilities/orchestrate/instructions.js +6 -0
  130. package/dist/capabilities/orchestrate/instructions.js.map +1 -0
  131. package/dist/capabilities/plan/instructions.js +6 -0
  132. package/dist/capabilities/plan/instructions.js.map +1 -0
  133. package/dist/capabilities/planera/instructions.js +1 -1
  134. package/dist/capabilities/planera/instructions.js.map +1 -1
  135. package/dist/capabilities/profile/instructions.js +6 -0
  136. package/dist/capabilities/profile/instructions.js.map +1 -0
  137. package/dist/capabilities/profilera/instructions.js +1 -1
  138. package/dist/capabilities/profilera/instructions.js.map +1 -1
  139. package/dist/capabilities/realisera/instructions.js +1 -1
  140. package/dist/capabilities/realisera/instructions.js.map +1 -1
  141. package/dist/capabilities/research/instructions.js +6 -0
  142. package/dist/capabilities/research/instructions.js.map +1 -0
  143. package/dist/capabilities/resonera/instructions.js +1 -1
  144. package/dist/capabilities/resonera/instructions.js.map +1 -1
  145. package/dist/capabilities/status/instructions.js +6 -0
  146. package/dist/capabilities/status/instructions.js.map +1 -0
  147. package/dist/capabilities/vision/instructions.js +6 -0
  148. package/dist/capabilities/vision/instructions.js.map +1 -0
  149. package/dist/capabilities/visionera/instructions.js +1 -1
  150. package/dist/capabilities/visionera/instructions.js.map +1 -1
  151. package/dist/capabilities/visualisera/instructions.js +3 -4
  152. package/dist/capabilities/visualisera/instructions.js.map +1 -1
  153. package/dist/cli/appContext.js +16 -17
  154. package/dist/cli/appContext.js.map +1 -1
  155. package/dist/cli/capabilityContext/benchmark.js +23 -16
  156. package/dist/cli/capabilityContext/benchmark.js.map +1 -1
  157. package/dist/cli/capabilityContext/bespoke.js +20 -9
  158. package/dist/cli/capabilityContext/bespoke.js.map +1 -1
  159. package/dist/cli/capabilityContext/build.js +177 -0
  160. package/dist/cli/capabilityContext/build.js.map +1 -0
  161. package/dist/cli/capabilityContext/closeout.js +11 -11
  162. package/dist/cli/capabilityContext/closeout.js.map +1 -1
  163. package/dist/cli/capabilityContext/contract.js +24 -22
  164. package/dist/cli/capabilityContext/contract.js.map +1 -1
  165. package/dist/cli/capabilityContext/evidence.js +35 -25
  166. package/dist/cli/capabilityContext/evidence.js.map +1 -1
  167. package/dist/cli/capabilityContext/index.js +1 -1
  168. package/dist/cli/capabilityContext/index.js.map +1 -1
  169. package/dist/cli/capabilityContext/orchestration.js +8 -8
  170. package/dist/cli/capabilityContext/orchestration.js.map +1 -1
  171. package/dist/cli/capabilityContext/planState.js +4 -4
  172. package/dist/cli/capabilityContext/planState.js.map +1 -1
  173. package/dist/cli/capabilityContext/progress.js +9 -2
  174. package/dist/cli/capabilityContext/progress.js.map +1 -1
  175. package/dist/cli/capabilityContext/realisera.js +21 -21
  176. package/dist/cli/capabilityContext/realisera.js.map +1 -1
  177. package/dist/cli/capabilityContext/shared.js +1 -1
  178. package/dist/cli/capabilityContext/shared.js.map +1 -1
  179. package/dist/cli/capabilityContext/slim.js +4 -2
  180. package/dist/cli/capabilityContext/slim.js.map +1 -1
  181. package/dist/cli/capabilityContext/startup.js +23 -18
  182. package/dist/cli/capabilityContext/startup.js.map +1 -1
  183. package/dist/cli/capabilityContext/types.js +20 -23
  184. package/dist/cli/capabilityContext/types.js.map +1 -1
  185. package/dist/cli/capabilityContext.js +1 -1
  186. package/dist/cli/capabilityContext.js.map +1 -1
  187. package/dist/cli/commands/appHome.js +23 -0
  188. package/dist/cli/commands/appHome.js.map +1 -0
  189. package/dist/cli/commands/capability.js +2 -2
  190. package/dist/cli/commands/capability.js.map +1 -1
  191. package/dist/cli/commands/compact.js.map +1 -1
  192. package/dist/cli/commands/doctor.js +9 -107
  193. package/dist/cli/commands/doctor.js.map +1 -1
  194. package/dist/cli/commands/prime/bundleStatus.js +140 -0
  195. package/dist/cli/commands/prime/bundleStatus.js.map +1 -0
  196. package/dist/cli/commands/prime/collectOrientationState.js +156 -0
  197. package/dist/cli/commands/prime/collectOrientationState.js.map +1 -0
  198. package/dist/cli/commands/prime/orientationOutput.js +210 -0
  199. package/dist/cli/commands/prime/orientationOutput.js.map +1 -0
  200. package/dist/cli/commands/prime/routeOutput.js +50 -0
  201. package/dist/cli/commands/prime/routeOutput.js.map +1 -0
  202. package/dist/cli/commands/prime/types.js +2 -0
  203. package/dist/cli/commands/prime/types.js.map +1 -0
  204. package/dist/cli/commands/prime/v1Migration.js +39 -0
  205. package/dist/cli/commands/prime/v1Migration.js.map +1 -0
  206. package/dist/cli/commands/prime.js +11 -554
  207. package/dist/cli/commands/prime.js.map +1 -1
  208. package/dist/cli/commands/query.js +4 -1
  209. package/dist/cli/commands/query.js.map +1 -1
  210. package/dist/cli/commands/report.js +17 -9
  211. package/dist/cli/commands/report.js.map +1 -1
  212. package/dist/cli/commands/schema.js +23 -18
  213. package/dist/cli/commands/schema.js.map +1 -1
  214. package/dist/cli/commands/state/decisions.js +11 -5
  215. package/dist/cli/commands/state/decisions.js.map +1 -1
  216. package/dist/cli/commands/state/docs.js +8 -4
  217. package/dist/cli/commands/state/docs.js.map +1 -1
  218. package/dist/cli/commands/state/experiments.js +1 -0
  219. package/dist/cli/commands/state/experiments.js.map +1 -1
  220. package/dist/cli/commands/state/health.js +3 -1
  221. package/dist/cli/commands/state/health.js.map +1 -1
  222. package/dist/cli/commands/state/objective.js +1 -0
  223. package/dist/cli/commands/state/objective.js.map +1 -1
  224. package/dist/cli/commands/state/plan.js +2 -1
  225. package/dist/cli/commands/state/plan.js.map +1 -1
  226. package/dist/cli/commands/state/progress.js +1 -1
  227. package/dist/cli/commands/state/shared.js.map +1 -1
  228. package/dist/cli/commands/state/todo.js +1 -1
  229. package/dist/cli/commands/state/todo.js.map +1 -1
  230. package/dist/cli/commands/validate.js +21 -85
  231. package/dist/cli/commands/validate.js.map +1 -1
  232. package/dist/cli/commands/verify.js +1 -1
  233. package/dist/cli/commands/verify.js.map +1 -1
  234. package/dist/cli/contracts/bundleStatus.js +2 -0
  235. package/dist/cli/contracts/bundleStatus.js.map +1 -0
  236. package/dist/cli/contracts/orientationState.js +2 -0
  237. package/dist/cli/contracts/orientationState.js.map +1 -0
  238. package/dist/cli/dispatch/argvParser.js +33 -0
  239. package/dist/cli/dispatch/argvParser.js.map +1 -0
  240. package/dist/cli/dispatch/check.js +19 -19
  241. package/dist/cli/dispatch/check.js.map +1 -1
  242. package/dist/cli/dispatch/commands.js +27 -0
  243. package/dist/cli/dispatch/commands.js.map +1 -0
  244. package/dist/cli/dispatch/index.js +6 -1
  245. package/dist/cli/dispatch/index.js.map +1 -1
  246. package/dist/cli/dispatch/lifecycle.js +160 -55
  247. package/dist/cli/dispatch/lifecycle.js.map +1 -1
  248. package/dist/cli/dispatch/prime.js +31 -27
  249. package/dist/cli/dispatch/prime.js.map +1 -1
  250. package/dist/cli/dispatch/state.js +11 -16
  251. package/dist/cli/dispatch/state.js.map +1 -1
  252. package/dist/cli/help.js +41 -6
  253. package/dist/cli/help.js.map +1 -1
  254. package/dist/cli/orientation/attention.js +61 -0
  255. package/dist/cli/orientation/attention.js.map +1 -0
  256. package/dist/cli/orientation/corpusCoverage.js +71 -0
  257. package/dist/cli/orientation/corpusCoverage.js.map +1 -0
  258. package/dist/cli/orientation.js +128 -77
  259. package/dist/cli/orientation.js.map +1 -1
  260. package/dist/cli/prime-blob.js +1 -1
  261. package/dist/cli/startupCompletenessContract.js +56 -0
  262. package/dist/cli/startupCompletenessContract.js.map +1 -0
  263. package/dist/cli/stateQuery.js +9 -2
  264. package/dist/cli/stateQuery.js.map +1 -1
  265. package/dist/cli/todoSeverity.js +19 -0
  266. package/dist/cli/todoSeverity.js.map +1 -0
  267. package/dist/core/envPaths.js +21 -0
  268. package/dist/core/envPaths.js.map +1 -0
  269. package/dist/core/jsonValue.js +6 -0
  270. package/dist/core/jsonValue.js.map +1 -0
  271. package/dist/core/pyjson.js +67 -2
  272. package/dist/core/pyjson.js.map +1 -1
  273. package/dist/eval/evalSkills.js +17 -12
  274. package/dist/eval/evalSkills.js.map +1 -1
  275. package/dist/eval/semanticEval.js +43 -19
  276. package/dist/eval/semanticEval.js.map +1 -1
  277. package/dist/eval/semanticFixtures.js +16 -4
  278. package/dist/eval/semanticFixtures.js.map +1 -1
  279. package/dist/hooks/compaction/apply.js +31 -6
  280. package/dist/hooks/compaction/apply.js.map +1 -1
  281. package/dist/hooks/compaction/dryRun.js +5 -3
  282. package/dist/hooks/compaction/dryRun.js.map +1 -1
  283. package/dist/hooks/compaction/index.js +2 -2
  284. package/dist/hooks/compaction/index.js.map +1 -1
  285. package/dist/hooks/compaction/parse.js +132 -3
  286. package/dist/hooks/compaction/parse.js.map +1 -1
  287. package/dist/hooks/compaction/retention.js +3 -1
  288. package/dist/hooks/compaction/retention.js.map +1 -1
  289. package/dist/hooks/compaction/status.js +7 -9
  290. package/dist/hooks/compaction/status.js.map +1 -1
  291. package/dist/hooks/compaction/todoResolved.js +137 -0
  292. package/dist/hooks/compaction/todoResolved.js.map +1 -0
  293. package/dist/hooks/cursorSessionStart.js +10 -2
  294. package/dist/hooks/cursorSessionStart.js.map +1 -1
  295. package/dist/hooks/sessionStart.js +14 -7
  296. package/dist/hooks/sessionStart.js.map +1 -1
  297. package/dist/hooks/sessionStop.js +3 -0
  298. package/dist/hooks/sessionStop.js.map +1 -1
  299. package/dist/hooks/todoLayout.js +177 -0
  300. package/dist/hooks/todoLayout.js.map +1 -0
  301. package/dist/hooks/validateArtifact/index.js +3 -1
  302. package/dist/hooks/validateArtifact/index.js.map +1 -1
  303. package/dist/hooks/validateArtifact/markdown.js +57 -6
  304. package/dist/hooks/validateArtifact/markdown.js.map +1 -1
  305. package/dist/hooks/validateArtifact/runtime.js +6 -3
  306. package/dist/hooks/validateArtifact/runtime.js.map +1 -1
  307. package/dist/hooks/validateArtifact/schema.js +15 -11
  308. package/dist/hooks/validateArtifact/schema.js.map +1 -1
  309. package/dist/hooks/validateArtifact/traversal.js +1 -0
  310. package/dist/hooks/validateArtifact/traversal.js.map +1 -1
  311. package/dist/hooks/validateArtifact/violations.js +2 -2
  312. package/dist/hooks/validateArtifact/violations.js.map +1 -1
  313. package/dist/migrate/v2HandoffManifest.js +119 -5
  314. package/dist/migrate/v2HandoffManifest.js.map +1 -1
  315. package/dist/registries/artifactRegistry.js +23 -9
  316. package/dist/registries/artifactRegistry.js.map +1 -1
  317. package/dist/registries/capabilityContract.js +144 -1
  318. package/dist/registries/capabilityContract.js.map +1 -1
  319. package/dist/registries/evaluatorHandoffContract.js +2 -2
  320. package/dist/registries/evaluatorHandoffContract.js.map +1 -1
  321. package/dist/registries/packageRegistry.js +4 -3
  322. package/dist/registries/packageRegistry.js.map +1 -1
  323. package/dist/registries/runtimeAdapterRegistry.js +5 -4
  324. package/dist/registries/runtimeAdapterRegistry.js.map +1 -1
  325. package/dist/registries/triggerLoader.js +211 -0
  326. package/dist/registries/triggerLoader.js.map +1 -0
  327. package/dist/release/releaseMetadata.js +1 -1
  328. package/dist/release/releaseMetadata.js.map +1 -1
  329. package/dist/routing/index.js +2 -0
  330. package/dist/routing/index.js.map +1 -0
  331. package/dist/routing/routeEngine.js +189 -0
  332. package/dist/routing/routeEngine.js.map +1 -0
  333. package/dist/setup/codex/configToml.js +10 -15
  334. package/dist/setup/codex/configToml.js.map +1 -1
  335. package/dist/setup/codex/constants.js +12 -12
  336. package/dist/setup/codex/constants.js.map +1 -1
  337. package/dist/setup/cursor.js +6 -4
  338. package/dist/setup/cursor.js.map +1 -1
  339. package/dist/setup/cursorSurfaces.js +67 -0
  340. package/dist/setup/cursorSurfaces.js.map +1 -0
  341. package/dist/setup/doctor/core.js +6 -6
  342. package/dist/setup/doctor/core.js.map +1 -1
  343. package/dist/setup/doctor/diagnostics.js +16 -23
  344. package/dist/setup/doctor/diagnostics.js.map +1 -1
  345. package/dist/setup/doctor/opencode.js +32 -0
  346. package/dist/setup/doctor/opencode.js.map +1 -1
  347. package/dist/setup/doctor/report.js +27 -76
  348. package/dist/setup/doctor/report.js.map +1 -1
  349. package/dist/setup/smokeChecks.js +10 -10
  350. package/dist/setup/smokeChecks.js.map +1 -1
  351. package/dist/state/installRoot.js +49 -18
  352. package/dist/state/installRoot.js.map +1 -1
  353. package/dist/state/startupAnalysis/benchmark.js +22 -18
  354. package/dist/state/startupAnalysis/benchmark.js.map +1 -1
  355. package/dist/state/startupAnalysis/contract.js +5 -1
  356. package/dist/state/startupAnalysis/contract.js.map +1 -1
  357. package/dist/state/startupAnalysis/helpers.js +26 -71
  358. package/dist/state/startupAnalysis/helpers.js.map +1 -1
  359. package/dist/state/startupAnalysis/index.js.map +1 -1
  360. package/dist/state/startupAnalysis/metrics.js +25 -18
  361. package/dist/state/startupAnalysis/metrics.js.map +1 -1
  362. package/dist/state/startupAnalysis/records.js +13 -9
  363. package/dist/state/startupAnalysis/records.js.map +1 -1
  364. package/dist/state/startupAnalysis/report.js +26 -37
  365. package/dist/state/startupAnalysis/report.js.map +1 -1
  366. package/dist/state/startupAnalysis/threshold.js +6 -6
  367. package/dist/state/startupAnalysis/threshold.js.map +1 -1
  368. package/dist/upgrade/appContentRefresh.js +342 -0
  369. package/dist/upgrade/appContentRefresh.js.map +1 -0
  370. package/dist/upgrade/appModel.js +8 -6
  371. package/dist/upgrade/appModel.js.map +1 -1
  372. package/dist/upgrade/bundleEvidence.js +34 -0
  373. package/dist/upgrade/bundleEvidence.js.map +1 -0
  374. package/dist/upgrade/channels.js +11 -4
  375. package/dist/upgrade/channels.js.map +1 -1
  376. package/dist/upgrade/cliProbe.js +22 -0
  377. package/dist/upgrade/cliProbe.js.map +1 -0
  378. package/dist/upgrade/coexistenceProbe.js +29 -5
  379. package/dist/upgrade/coexistenceProbe.js.map +1 -1
  380. package/dist/upgrade/compatibility.js +13 -4
  381. package/dist/upgrade/compatibility.js.map +1 -1
  382. package/dist/upgrade/doctor.js +130 -187
  383. package/dist/upgrade/doctor.js.map +1 -1
  384. package/dist/upgrade/doctorClassifier.js +177 -0
  385. package/dist/upgrade/doctorClassifier.js.map +1 -0
  386. package/dist/upgrade/installedHooksRetirement.js +190 -0
  387. package/dist/upgrade/installedHooksRetirement.js.map +1 -0
  388. package/dist/upgrade/legacyAgentCleanup.js +116 -0
  389. package/dist/upgrade/legacyAgentCleanup.js.map +1 -0
  390. package/dist/upgrade/migrateArtifactsV2ToV3.js +57 -31
  391. package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -1
  392. package/dist/upgrade/nextMajorDoctor.js +29 -9
  393. package/dist/upgrade/nextMajorDoctor.js.map +1 -1
  394. package/dist/upgrade/npxPlatformStatus.js +23 -0
  395. package/dist/upgrade/npxPlatformStatus.js.map +1 -0
  396. package/dist/upgrade/projectIntegration.js +69 -75
  397. package/dist/upgrade/projectIntegration.js.map +1 -1
  398. package/dist/upgrade/projectIntegrationDecision.js +93 -0
  399. package/dist/upgrade/projectIntegrationDecision.js.map +1 -0
  400. package/dist/upgrade/runtimeMigration.js +156 -66
  401. package/dist/upgrade/runtimeMigration.js.map +1 -1
  402. package/dist/upgrade/versionResolution.js +2 -2
  403. package/dist/upgrade/versionResolution.js.map +1 -1
  404. package/dist/validate/appHomeContract.js +1 -1
  405. package/dist/validate/appHomeContract.js.map +1 -1
  406. package/dist/validate/capability.js +124 -11
  407. package/dist/validate/capability.js.map +1 -1
  408. package/dist/validate/crossCapability.js +1 -1
  409. package/dist/validate/crossCapability.js.map +1 -1
  410. package/dist/validate/lifecycleAdapters/legacyPythonParity.js +93 -0
  411. package/dist/validate/lifecycleAdapters/legacyPythonParity.js.map +1 -0
  412. package/dist/validate/lifecycleAdapters/nodeFormChecks.js +488 -0
  413. package/dist/validate/lifecycleAdapters/nodeFormChecks.js.map +1 -0
  414. package/dist/validate/lifecycleAdapters/shared.js +198 -0
  415. package/dist/validate/lifecycleAdapters/shared.js.map +1 -0
  416. package/dist/validate/lifecycleAdapters.js +13 -723
  417. package/dist/validate/lifecycleAdapters.js.map +1 -1
  418. package/dist/validate/vocabularyAuthority.js +10 -5
  419. package/dist/validate/vocabularyAuthority.js.map +1 -1
  420. package/package.json +26 -23
  421. package/bundle/skills/agentera/agents/dokumentera.toml +0 -6
  422. package/bundle/skills/agentera/agents/hej.toml +0 -6
  423. package/bundle/skills/agentera/agents/inspektera.toml +0 -6
  424. package/bundle/skills/agentera/agents/inspirera.toml +0 -6
  425. package/bundle/skills/agentera/agents/orkestrera.toml +0 -6
  426. package/bundle/skills/agentera/agents/profilera.toml +0 -6
  427. package/bundle/skills/agentera/agents/realisera.toml +0 -6
  428. package/bundle/skills/agentera/agents/visionera.toml +0 -6
  429. package/bundle/skills/agentera/agents/visualisera.toml +0 -6
  430. /package/bundle/skills/agentera/capabilities/{inspektera → audit}/schemas/exit.yaml +0 -0
  431. /package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/exit.yaml +0 -0
  432. /package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/exit.yaml +0 -0
  433. /package/bundle/skills/agentera/capabilities/{resonera → discuss}/schemas/exit.yaml +0 -0
  434. /package/bundle/skills/agentera/capabilities/{dokumentera → document}/schemas/exit.yaml +0 -0
  435. /package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/exit.yaml +0 -0
  436. /package/bundle/skills/agentera/capabilities/{orkestrera → orchestrate}/schemas/exit.yaml +0 -0
  437. /package/bundle/skills/agentera/capabilities/{inspirera → research}/schemas/exit.yaml +0 -0
  438. /package/bundle/skills/agentera/capabilities/{hej → status}/schemas/exit.yaml +0 -0
  439. /package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/exit.yaml +0 -0
@@ -5,24 +5,24 @@ ARTIFACTS:
5
5
  local_role: produces_and_consumes
6
6
  description: >-
7
7
  Documentation contract with conventions, artifact mapping, and
8
- documentation index. Dokumentera writes and reads doc root, style
8
+ documentation index. Document writes and reads doc root, style
9
9
  conventions, auto-generated doc tracking, project-local artifact mappings,
10
10
  and a status index (current/stale/missing) for tracked docs. During
11
- closeout, Dokumentera consumes docs state through CLI `closeout_context`
11
+ closeout, Document consumes docs state through CLI `closeout_context`
12
12
  before raw artifact fallback.
13
13
  2:
14
14
  id: A2
15
15
  artifact_id: vision
16
16
  local_role: consumes
17
17
  description: >-
18
- Dokumentera reads this to understand who the documentation is for
18
+ Document reads this to understand who the documentation is for
19
19
  and what tone to use.
20
20
  3:
21
21
  id: A3
22
22
  artifact_id: progress
23
23
  local_role: consumes
24
24
  description: >-
25
- Dokumentera reads this during explore-and-generate mode to understand
25
+ Document reads this during explore-and-generate mode to understand
26
26
  recent project context. During closeout, latest progress evidence and
27
27
  verification pointers are consumed through CLI `closeout_context` before
28
28
  raw artifact fallback.
@@ -31,21 +31,21 @@ ARTIFACTS:
31
31
  artifact_id: decisions
32
32
  local_role: consumes
33
33
  description: >-
34
- Dokumentera reads this during explore-and-generate mode for project
34
+ Document reads this during explore-and-generate mode for project
35
35
  context and decision awareness.
36
36
  5:
37
37
  id: A5
38
38
  artifact_id: health
39
39
  local_role: consumes
40
40
  description: >-
41
- Dokumentera reads this to discover documentation gaps surfaced
41
+ Document reads this to discover documentation gaps surfaced
42
42
  during health audits.
43
43
  6:
44
44
  id: A6
45
45
  artifact_id: todo
46
46
  local_role: produces_and_consumes
47
47
  description: >-
48
- Dokumentera writes to this when code diverges from docs (per DTC,
48
+ Document writes to this when code diverges from docs (per DTC,
49
49
  the code is wrong). Also reads for context during documentation work;
50
50
  closeout blocker state is consumed through CLI `closeout_context` before
51
51
  raw artifact fallback.
@@ -54,20 +54,20 @@ ARTIFACTS:
54
54
  artifact_id: design
55
55
  local_role: consumes
56
56
  description: >-
57
- Dokumentera reads this to respect the declared aesthetic and voice
57
+ Document reads this to respect the declared aesthetic and voice
58
58
  when generating user-facing documentation.
59
59
  8:
60
60
  id: A8
61
61
  artifact_id: profile
62
62
  local_role: consumes
63
63
  description: >-
64
- Dokumentera reads this to calibrate documentation style preferences:
64
+ Document reads this to calibrate documentation style preferences:
65
65
  detail level, tone, format.
66
66
  9:
67
67
  id: A9
68
68
  artifact_id: changelog
69
69
  local_role: consumes
70
70
  description: >-
71
- Dokumentera reads this during closeout synchronization through CLI
71
+ Document reads this during closeout synchronization through CLI
72
72
  `closeout_context` to preserve the changelog boundary and avoid inventing
73
73
  release, tag, publication, or remote state.
@@ -3,11 +3,15 @@ TRIGGERS:
3
3
  id: T1
4
4
  description: >-
5
5
  Direct invocation by name or slash command. Matches when the user
6
- explicitly requests dokumentera.
6
+ explicitly requests document.
7
7
  priority: high
8
8
  patterns:
9
- - "dokumentera"
10
- - "/dokumentera"
9
+ - "document"
10
+ - "/document"
11
+ confidence_threshold: 60
12
+ borderline_band: 10
13
+ patterns_regex:
14
+ - "\\b/document\\b"
11
15
  2:
12
16
  id: T2
13
17
  description: >-
@@ -22,6 +26,7 @@ TRIGGERS:
22
26
  - "write AGENTS.md"
23
27
  - "docs first"
24
28
  - "document before building"
29
+ confidence_threshold: 50
25
30
  3:
26
31
  id: T3
27
32
  description: >-
@@ -33,3 +38,9 @@ TRIGGERS:
33
38
  - "audit docs"
34
39
  - "check documentation"
35
40
  - "docs out of sync"
41
+ confidence_threshold: 50
42
+ disambiguates_against:
43
+ - capability: audit
44
+ hint: "document maintains project docs; audit reviews codebase health"
45
+ patterns_regex:
46
+ - "\\baudit\\s+docs?\\b"
@@ -73,8 +73,8 @@ VALIDATION:
73
73
  id: V8
74
74
  rule: exit_marker_required
75
75
  description: >-
76
- Every dokumentera invocation MUST emit an exit marker using the
77
- canonical glyph ▤ (SG8) in the format ▤ dokumentera · <status>
76
+ Every document invocation MUST emit an exit marker using the
77
+ canonical glyph ▤ (SG8) in the format ▤ document · <status>
78
78
  where status is one of EX1-EX4.
79
79
  severity: critical
80
80
  checks:
@@ -85,22 +85,22 @@ VALIDATION:
85
85
  id: V9
86
86
  rule: closeout_context_first
87
87
  description: >-
88
- During final synchronization, Dokumentera MUST use `agentera prime
89
- --context dokumentera --format json` and its `closeout_context`
88
+ During final synchronization, Document MUST use `agentera prime
89
+ --context document --format json` and its `closeout_context`
90
90
  before reading TODO, docs, changelog, or progress artifacts directly.
91
91
  Complete closeout context is the normal source for mappings, version
92
92
  policy, blockers, boundaries, progress evidence, benchmark evidence,
93
93
  caveats, fallback commands, raw-read policy, and completeness.
94
94
  severity: critical
95
95
  checks:
96
- - "Closeout starts from hej capability context"
96
+ - "Closeout starts from status capability context"
97
97
  - "Complete closeout_context is used before raw artifact reads"
98
98
  - "Completeness and non-empty evidence flags are preserved"
99
99
  10:
100
100
  id: V10
101
101
  rule: closeout_fallback_before_raw
102
102
  description: >-
103
- If closeout context is incomplete or caveated, Dokumentera MUST run the
103
+ If closeout context is incomplete or caveated, Document MUST run the
104
104
  listed existing CLI fallback commands before any last-resort raw artifact
105
105
  read. No unsupported capability-name command or new closeout command may
106
106
  be introduced.
@@ -113,7 +113,7 @@ VALIDATION:
113
113
  id: V11
114
114
  rule: closeout_caveat_preservation
115
115
  description: >-
116
- Dokumentera MUST preserve closeout caveats about stale app/profile state,
116
+ Document MUST preserve closeout caveats about stale app/profile state,
117
117
  compacted or missing state, missing benchmark evidence, absent local
118
118
  metadata or tags, and unrecorded publication or remote state. Caveats must
119
119
  not be hidden, reconstructed, or converted into approval to refresh apps,
@@ -127,7 +127,7 @@ VALIDATION:
127
127
  id: V12
128
128
  rule: satisfaction_authority_boundary
129
129
  description: >-
130
- When Dokumentera touches decision satisfaction, it may record provisional
130
+ When Document touches decision satisfaction, it may record provisional
131
131
  satisfaction with evidence but MUST NOT user-confirm satisfaction. Missing,
132
132
  compacted, open, provisional, or review-needed satisfaction state remains a
133
133
  caveat and review pressure; automation must not reconstruct hidden outcomes
@@ -5,7 +5,7 @@ ARTIFACTS:
5
5
  local_role: produces_and_consumes
6
6
  description: >-
7
7
  Optimization target definition: metric, current value, target, constraints,
8
- scope, and measurement approach. Optimera writes this during brainstorm
8
+ scope, and measurement approach. Optimize writes this during brainstorm
9
9
  and reads it every cycle. Written to only during brainstorm, refine, or
10
10
  canonical closure.
11
11
  2:
@@ -23,41 +23,41 @@ ARTIFACTS:
23
23
  description: >-
24
24
  Log of every experiment: hypothesis, method, change, metric before/after,
25
25
  regression result, status (kept/discarded/error), conclusion, and next
26
- suggestion. Optimera appends to this each cycle.
26
+ suggestion. Optimize appends to this each cycle.
27
27
  4:
28
28
  id: A4
29
29
  artifact_id: progress
30
30
  local_role: consumes
31
31
  description: >-
32
- Optimera inspects the last 3 entries to detect 3 consecutive failures
32
+ Optimize inspects the last 3 entries to detect 3 consecutive failures
33
33
  before reporting exit status.
34
34
  5:
35
35
  id: A5
36
36
  artifact_id: todo
37
37
  local_role: produces
38
38
  description: >-
39
- Optimera writes to this when logging a failure pattern after 3
39
+ Optimize writes to this when logging a failure pattern after 3
40
40
  consecutive failures.
41
41
  6:
42
42
  id: A6
43
43
  artifact_id: decisions
44
44
  local_role: consumes
45
45
  description: >-
46
- Optimera reads this during Orient for context on prior deliberations
46
+ Optimize reads this during Orient for context on prior deliberations
47
47
  about the optimization objective.
48
48
  7:
49
49
  id: A7
50
50
  artifact_id: profile
51
51
  local_role: consumes
52
52
  description: >-
53
- Optimera reads this to modulate experiment aggressiveness and constraint
53
+ Optimize reads this to modulate experiment aggressiveness and constraint
54
54
  tolerance based on user preferences.
55
55
  8:
56
56
  id: A8
57
57
  artifact_id: docs
58
58
  local_role: consumes
59
59
  description: >-
60
- Optimera reads this first to resolve project-local artifact mappings
60
+ Optimize reads this first to resolve project-local artifact mappings
61
61
  before accessing other artifacts.
62
62
  9:
63
63
  id: A9
@@ -65,5 +65,5 @@ ARTIFACTS:
65
65
  local_role: consumes
66
66
  description: >-
67
67
  CLI-provided startup benchmark summary from `agentera prime --context
68
- optimera --format json`. Optimera consumes this before any direct
68
+ optimize --format json`. Optimize consumes this before any direct
69
69
  latest-report.json, latest-report.md, or runs.jsonl diagnostic read.
@@ -3,11 +3,16 @@ TRIGGERS:
3
3
  id: T1
4
4
  description: >-
5
5
  Direct invocation by name or slash command. Matches when the user
6
- explicitly requests optimera.
6
+ explicitly requests optimize.
7
7
  priority: high
8
8
  patterns:
9
- - "optimera"
10
- - "/optimera"
9
+ - "optimize"
10
+ - "/optimize"
11
+ confidence_threshold: 60
12
+ borderline_band: 20
13
+ disambiguates_against:
14
+ - capability: audit
15
+ hint: "optimize tunes existing code; audit reviews codebase health"
11
16
  2:
12
17
  id: T2
13
18
  description: >-
@@ -26,6 +31,8 @@ TRIGGERS:
26
31
  - "get the score up"
27
32
  - "hit the target"
28
33
  - "improve the metric"
34
+ confidence_threshold: 50
35
+ borderline_band: 20
29
36
  3:
30
37
  id: T3
31
38
  description: >-
@@ -37,3 +44,4 @@ TRIGGERS:
37
44
  - "run experiments"
38
45
  - "tune"
39
46
  - "experiment until"
47
+ confidence_threshold: 50
@@ -34,7 +34,7 @@ VALIDATION:
34
34
  id: V4
35
35
  rule: one_experiment_per_invocation
36
36
  description: >-
37
- Each optimera invocation performs exactly one experiment. Multiple
37
+ Each optimize invocation performs exactly one experiment. Multiple
38
38
  experiments require multiple invocations or /loop setup.
39
39
  severity: critical
40
40
  checks:
@@ -53,8 +53,8 @@ VALIDATION:
53
53
  id: V6
54
54
  rule: exit_marker_required
55
55
  description: >-
56
- Every optimera invocation MUST emit an exit marker. The marker uses
57
- the canonical glyph ⎘ (SG7) in the format ⎘ optimera · <status>
56
+ Every optimize invocation MUST emit an exit marker. The marker uses
57
+ the canonical glyph ⎘ (SG7) in the format ⎘ optimize · <status>
58
58
  where status is one of EX1-EX4.
59
59
  severity: critical
60
60
  checks:
@@ -65,21 +65,21 @@ VALIDATION:
65
65
  id: V7
66
66
  rule: benchmark_context_first
67
67
  description: >-
68
- For benchmark-oriented startup, Optimera MUST start from `agentera prime
69
- --context optimera --format json` and consume complete
68
+ For benchmark-oriented startup, Optimize MUST start from `agentera prime
69
+ --context optimize --format json` and consume complete
70
70
  benchmark_context before direct retained benchmark file reads. Direct
71
71
  latest-report.json, latest-report.md, or runs.jsonl reads are last-resort
72
72
  diagnostics only when the CLI context is incomplete.
73
73
  severity: critical
74
74
  checks:
75
- - "Optimera startup uses benchmark_context before direct retained benchmark files"
75
+ - "Optimize startup uses benchmark_context before direct retained benchmark files"
76
76
  - "Incomplete benchmark_context follows listed CLI fallback and manual refresh guidance"
77
77
  - "Direct benchmark file reads are treated as last-resort diagnostics"
78
78
  8:
79
79
  id: V8
80
80
  rule: benchmark_caveat_preservation
81
81
  description: >-
82
- Benchmark caveats from benchmark_context MUST be preserved when Optimera
82
+ Benchmark caveats from benchmark_context MUST be preserved when Optimize
83
83
  reports measurement evidence. Agents must not hide, upgrade, reconstruct,
84
84
  or infer away caveats for manual-only execution, missing local history,
85
85
  runtime coverage degradation, missing token estimates, non-comparable
@@ -4,8 +4,8 @@ ARTIFACTS:
4
4
  artifact_id: plan
5
5
  local_role: produces_and_consumes
6
6
  description: >-
7
- Orkestrera consumes plan task queue state through
8
- `agentera prime --context orkestrera --format json` before raw
7
+ Orchestrate consumes plan task queue state through
8
+ `agentera prime --context orchestrate --format json` before raw
9
9
  artifact access, then updates status (pending -> complete/blocked) only
10
10
  when resolving a task.
11
11
  2:
@@ -13,7 +13,7 @@ ARTIFACTS:
13
13
  artifact_id: progress
14
14
  local_role: consumes
15
15
  description: >-
16
- Orkestrera consumes progress verification state from the returned
16
+ Orchestrate consumes progress verification state from the returned
17
17
  orchestration context first, then routine CLI fallback output before any
18
18
  last-resort raw artifact read for the Step 3 presence check.
19
19
  3:
@@ -21,7 +21,7 @@ ARTIFACTS:
21
21
  artifact_id: health
22
22
  local_role: consumes
23
23
  description: >-
24
- Orkestrera consumes returned health state first after plan completion to
24
+ Orchestrate consumes returned health state first after plan completion to
25
25
  decide whether to start a new plan cycle; raw reads are last-resort after
26
26
  listed CLI fallbacks.
27
27
  4:
@@ -29,14 +29,14 @@ ARTIFACTS:
29
29
  artifact_id: todo
30
30
  local_role: produces
31
31
  description: >-
32
- Orkestrera consumes TODO caveats from CLI startup context and writes
32
+ Orchestrate consumes TODO caveats from CLI startup context and writes
33
33
  blocked task logging only when a task exhausts its retry budget.
34
34
  5:
35
35
  id: A5
36
36
  artifact_id: decisions
37
37
  local_role: consumes
38
38
  description: >-
39
- Orkestrera consumes included decision context or the listed
39
+ Orchestrate consumes included decision context or the listed
40
40
  `agentera decisions --format json` fallback before raw access, preserving
41
41
  firm constraints, exploratory uncertainties, and compacted-entry caveats.
42
42
  6:
@@ -44,14 +44,14 @@ ARTIFACTS:
44
44
  artifact_id: vision
45
45
  local_role: consumes
46
46
  description: >-
47
- Orkestrera consumes returned vision state or missing-state caveats during
48
- bootstrap when chaining inspirera for vision-gap analysis.
47
+ Orchestrate consumes returned vision state or missing-state caveats during
48
+ bootstrap when chaining research for vision-gap analysis.
49
49
  7:
50
50
  id: A7
51
51
  artifact_id: profile
52
52
  local_role: consumes
53
53
  description: >-
54
- Orkestrera consumes returned profile status and caveats first for persona
54
+ Orchestrate consumes returned profile status and caveats first for persona
55
55
  context. If missing or stale, it proceeds without refreshing profile
56
56
  state and preserves the caveat.
57
57
  8:
@@ -59,6 +59,6 @@ ARTIFACTS:
59
59
  artifact_id: docs
60
60
  local_role: consumes
61
61
  description: >-
62
- Orkestrera uses docs mapping from CLI startup context first to resolve
62
+ Orchestrate uses docs mapping from CLI startup context first to resolve
63
63
  project-local artifact mappings before any last-resort raw artifact read
64
64
  or artifact write.
@@ -3,11 +3,15 @@ TRIGGERS:
3
3
  id: T1
4
4
  description: >-
5
5
  Direct invocation by name or slash command. Matches when the user
6
- explicitly requests orkestrera.
6
+ explicitly requests orchestrate.
7
7
  priority: high
8
8
  patterns:
9
- - "orkestrera"
10
- - "/orkestrera"
9
+ - "orchestrate"
10
+ - "/orchestrate"
11
+ confidence_threshold: 60
12
+ borderline_band: 10
13
+ patterns_regex:
14
+ - "\\b/orchestrate\\b"
11
15
  2:
12
16
  id: T2
13
17
  description: >-
@@ -21,6 +25,10 @@ TRIGGERS:
21
25
  - "keep going until done"
22
26
  - "run through the plan"
23
27
  - "build everything"
28
+ confidence_threshold: 55
29
+ disambiguates_against:
30
+ - capability: build
31
+ hint: "orchestrate runs the whole plan autonomously; build executes one development cycle"
24
32
  3:
25
33
  id: T3
26
34
  description: >-
@@ -32,6 +40,7 @@ TRIGGERS:
32
40
  - "orchestrate"
33
41
  - "orchestrate skills"
34
42
  - "multi-cycle"
43
+ confidence_threshold: 50
35
44
  4:
36
45
  id: T4
37
46
  description: >-
@@ -40,3 +49,7 @@ TRIGGERS:
40
49
  priority: medium
41
50
  patterns:
42
51
  - "autonomous plan execution"
52
+ confidence_threshold: 50
53
+ disambiguates_against:
54
+ - capability: build
55
+ hint: "orchestrate chains multi-cycle execution; build runs a single cycle"
@@ -3,24 +3,24 @@ VALIDATION:
3
3
  id: V1
4
4
  rule: never_read_source
5
5
  description: >-
6
- Orkestrera MUST NEVER read implementation source code. It dispatches
6
+ Orchestrate MUST NEVER read implementation source code. It dispatches
7
7
  capabilities; it does not implement. Artifact files (PLAN.md, HEALTH.md,
8
8
  DECISIONS.md, PROGRESS.md, etc.) are not source code and are expected
9
9
  to be read. This rule verifies the prose explicitly states the
10
10
  source-code read prohibition.
11
11
  severity: critical
12
12
  checks:
13
- - "orkestrera prose (packages/cli/src/capabilities/orkestrera/instructions.ts) contains NEVER read implementation source code"
13
+ - "orchestrate prose (packages/cli/src/capabilities/orchestrate/instructions.ts) contains NEVER read implementation source code"
14
14
  2:
15
15
  id: V2
16
16
  rule: evaluation_gate_required
17
17
  description: >-
18
- Every completed task MUST be verified by inspektera before being marked
18
+ Every completed task MUST be verified by audit before being marked
19
19
  complete. The orchestrator MUST NOT skip evaluation. This rule verifies
20
20
  the prose contains the never-skip-evaluation safety rail.
21
21
  severity: critical
22
22
  checks:
23
- - "orkestrera prose contains NEVER skip evaluation"
23
+ - "orchestrate prose contains NEVER skip evaluation"
24
24
  3:
25
25
  id: V3
26
26
  rule: retry_budget_enforced
@@ -30,18 +30,18 @@ VALIDATION:
30
30
  is stated in the prose and safety rails.
31
31
  severity: critical
32
32
  checks:
33
- - "orkestrera prose contains retry budget of 2"
33
+ - "orchestrate prose contains retry budget of 2"
34
34
  4:
35
35
  id: V4
36
36
  rule: exit_marker_required
37
37
  description: >-
38
- Every orkestrera invocation MUST emit an exit marker. The marker uses
39
- the canonical glyph ⎈ (SG12) in the format ⎈ orkestrera · <status>
38
+ Every orchestrate invocation MUST emit an exit marker. The marker uses
39
+ the canonical glyph ⎈ (SG12) in the format ⎈ orchestrate · <status>
40
40
  where status is one of EX1-EX4.
41
41
  severity: critical
42
42
  checks:
43
- - "orkestrera prose contains exit marker with glyph ⎈ (SG12)"
44
- - "orkestrera prose references exit signals EX1-EX4"
43
+ - "orchestrate prose contains exit marker with glyph ⎈ (SG12)"
44
+ - "orchestrate prose references exit signals EX1-EX4"
45
45
  5:
46
46
  id: V5
47
47
  rule: orchestrator_read_only_artifacts
@@ -60,42 +60,42 @@ VALIDATION:
60
60
  id: V6
61
61
  rule: orchestration_context_first
62
62
  description: >-
63
- Orkestrera startup and evaluation MUST use
64
- `agentera prime --context orkestrera --format json` and the
63
+ Orchestrate startup and evaluation MUST use
64
+ `agentera prime --context orchestrate --format json` and the
65
65
  returned orchestration context before raw plan, progress, health, TODO,
66
66
  or decisions artifact reads.
67
67
  severity: critical
68
68
  checks:
69
- - "orkestrera prose contains agentera prime --context orkestrera --format json"
70
- - "orkestrera prose contains Use the returned `orchestration_context` before raw plan, progress, health, TODO, or decisions artifacts"
71
- - "orkestrera prose contains If `source_contract.complete_for_orchestration_context` is true, do not read raw plan, progress, health, TODO, or decisions artifacts"
69
+ - "orchestrate prose contains agentera prime --context orchestrate --format json"
70
+ - "orchestrate prose contains Use the returned `orchestration_context` before raw plan, progress, health, TODO, or decisions artifacts"
71
+ - "orchestrate prose contains If `source_contract.complete_for_orchestration_context` is true, do not read raw plan, progress, health, TODO, or decisions artifacts"
72
72
  7:
73
73
  id: V7
74
74
  rule: cli_fallback_before_raw_read
75
75
  description: >-
76
- When orchestration context is incomplete, Orkestrera MUST run listed
76
+ When orchestration context is incomplete, Orchestrate MUST run listed
77
77
  routine CLI fallback commands before any last-resort raw artifact read.
78
78
  severity: critical
79
79
  checks:
80
- - "orkestrera prose contains run the listed routine CLI fallback commands"
81
- - "orkestrera prose contains Read a raw artifact only as a last-resort diagnostic"
80
+ - "orchestrate prose contains run the listed routine CLI fallback commands"
81
+ - "orchestrate prose contains Read a raw artifact only as a last-resort diagnostic"
82
82
  8:
83
83
  id: V8
84
84
  rule: caveats_preserved_for_evaluation
85
85
  description: >-
86
- Orkestrera MUST preserve compacted-decision, stale health/profile/app,
86
+ Orchestrate MUST preserve compacted-decision, stale health/profile/app,
87
87
  missing-state, and retry-state provenance caveats when handing a task to
88
- inspektera.
88
+ audit.
89
89
  severity: critical
90
90
  checks:
91
- - "orkestrera prose contains compacted decision caveats"
92
- - "orkestrera prose contains stale health/profile/app caveats"
93
- - "orkestrera prose contains retry-state provenance"
91
+ - "orchestrate prose contains compacted decision caveats"
92
+ - "orchestrate prose contains stale health/profile/app caveats"
93
+ - "orchestrate prose contains retry-state provenance"
94
94
  9:
95
95
  id: V9
96
96
  rule: satisfaction_authority_boundary
97
97
  description: >-
98
- When Orkestrera touches decision satisfaction, it may pass through or request
98
+ When Orchestrate touches decision satisfaction, it may pass through or request
99
99
  provisional satisfaction with evidence but MUST NOT user-confirm satisfaction.
100
100
  Missing, compacted, open, provisional, or review-needed satisfaction state
101
101
  remains a caveat and review pressure; automation must not reconstruct hidden
@@ -109,12 +109,12 @@ VALIDATION:
109
109
  id: V10
110
110
  rule: inspektera_citation_required
111
111
  description: >-
112
- Orkestrera Step 3 Surface 2 inspektera delegation MUST require a
112
+ Orchestrate Step 3 Surface 2 audit delegation MUST require a
113
113
  citation: <file>:<line> (or not-applicable: <reason>) for every WARN and
114
114
  FAIL finding, and require verify_command for WARN rows with file:line
115
115
  citations. Authority: references/cli/capability-instruction-contract.yaml#evaluator_handoff.
116
116
  severity: critical
117
117
  checks:
118
- - "orkestrera prose contains citation: `<file>:<line>` OR `not-applicable: <reason>`"
119
- - "orkestrera prose contains verify_command"
120
- - "orkestrera prose contains evaluator_handoff.output_requirements"
118
+ - "orchestrate prose contains citation: `<file>:<line>` OR `not-applicable: <reason>`"
119
+ - "orchestrate prose contains verify_command"
120
+ - "orchestrate prose contains evaluator_handoff.output_requirements"
@@ -5,7 +5,7 @@ ARTIFACTS:
5
5
  local_role: produces_and_consumes
6
6
  description: >-
7
7
  Active plan with tasks, dependencies, and behavioral acceptance criteria.
8
- Planera writes this during the planning session and may read existing
8
+ Plan writes this during the planning session and may read existing
9
9
  plan context before replacing or refining it.
10
10
  2:
11
11
  id: A2
@@ -20,43 +20,43 @@ ARTIFACTS:
20
20
  artifact_id: vision
21
21
  local_role: consumes
22
22
  description: >-
23
- Planera reads this during Orient to understand project direction and
23
+ Plan reads this during Orient to understand project direction and
24
24
  align the plan with the vision.
25
25
  4:
26
26
  id: A4
27
27
  artifact_id: decisions
28
28
  local_role: consumes
29
29
  description: >-
30
- Planera reads firm (DL1) entries only as hard constraints for planning.
30
+ Plan reads firm (DL1) entries only as hard constraints for planning.
31
31
  5:
32
32
  id: A5
33
33
  artifact_id: todo
34
34
  local_role: consumes
35
35
  description: >-
36
- Planera reads this to identify related known
36
+ Plan reads this to identify related known
37
37
  issues that the plan should address.
38
38
  6:
39
39
  id: A6
40
40
  artifact_id: health
41
41
  local_role: consumes
42
42
  description: >-
43
- Planera reads this to factor structural issues into the plan.
43
+ Plan reads this to factor structural issues into the plan.
44
44
  7:
45
45
  id: A7
46
46
  artifact_id: progress
47
47
  local_role: consumes
48
48
  description: >-
49
- Planera reads this to understand what was built recently.
49
+ Plan reads this to understand what was built recently.
50
50
  8:
51
51
  id: A8
52
52
  artifact_id: profile
53
53
  local_role: consumes
54
54
  description: >-
55
- Planera reads this to calibrate planning depth and pattern preferences.
55
+ Plan reads this to calibrate planning depth and pattern preferences.
56
56
  9:
57
57
  id: A9
58
58
  artifact_id: docs
59
59
  local_role: consumes
60
60
  description: >-
61
- Planera reads this first to resolve project-local artifact mappings and
61
+ Plan reads this first to resolve project-local artifact mappings and
62
62
  reads the versioning block for version bump task generation.
@@ -4,8 +4,8 @@ EXIT_CONDITIONS:
4
4
  condition: complete
5
5
  description: >-
6
6
  PLAN.md was written and approved (or skip level confirmed), the
7
- adversarial review ran for full plans, and the handoff to realisera
8
- or orkestrera was suggested.
7
+ adversarial review ran for full plans, and the handoff to build
8
+ or orchestrate was suggested.
9
9
  exit_signal: complete
10
10
  2:
11
11
  id: E2
@@ -3,11 +3,15 @@ TRIGGERS:
3
3
  id: T1
4
4
  description: >-
5
5
  Direct invocation by name or slash command. Matches when the user
6
- explicitly requests planera for structured planning.
6
+ explicitly requests plan for structured planning.
7
7
  priority: high
8
8
  patterns:
9
- - "planera"
10
- - "/planera"
9
+ - "plan"
10
+ - "/plan"
11
+ confidence_threshold: 60
12
+ borderline_band: 10
13
+ patterns_regex:
14
+ - "\\b/plan\\b"
11
15
  2:
12
16
  id: T2
13
17
  description: >-
@@ -21,6 +25,10 @@ TRIGGERS:
21
25
  - "decompose this"
22
26
  - "spec this out"
23
27
  - "plan before building"
28
+ confidence_threshold: 50
29
+ disambiguates_against:
30
+ - capability: build
31
+ hint: "plan structures work into tasks before coding; build implements the work"
24
32
  3:
25
33
  id: T3
26
34
  description: >-
@@ -32,3 +40,7 @@ TRIGGERS:
32
40
  - "how should we build this"
33
41
  - "multi-step feature"
34
42
  - "this is too big for one cycle"
43
+ confidence_threshold: 50
44
+ disambiguates_against:
45
+ - capability: build
46
+ hint: "plan sizes work before implementation; build runs the development cycle"