agentera 3.0.0-dev.2 → 3.0.0-dev.20

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 (612) hide show
  1. package/README.md +65 -6
  2. package/bundle/.agentera-npx-bundle.json +1 -1
  3. package/bundle/.codex-plugin/plugin.json +92 -0
  4. package/bundle/.cursor/agents/agentera.md +7 -0
  5. package/bundle/.cursor/hooks.json +32 -0
  6. package/bundle/.cursor-plugin/plugin.json +34 -0
  7. package/bundle/.github/hooks/postToolUse.json +9 -0
  8. package/bundle/.github/hooks/preToolUse.json +8 -0
  9. package/bundle/.github/hooks/sessionEnd.json +8 -0
  10. package/bundle/.github/hooks/sessionStart.json +8 -0
  11. package/bundle/.github/plugin/plugin.json +7 -0
  12. package/bundle/.opencode/agents/agentera.md +12 -0
  13. package/bundle/.opencode/commands/agentera.md +5 -0
  14. package/bundle/.opencode/package.json +31 -0
  15. package/bundle/.opencode/plugins/agentera.js +820 -0
  16. package/bundle/CHANGELOG.md +1108 -0
  17. package/bundle/DESIGN.md +233 -0
  18. package/bundle/LICENSE +201 -0
  19. package/bundle/README.md +141 -0
  20. package/bundle/UPGRADE.md +227 -0
  21. package/bundle/agents/openai.yaml +87 -0
  22. package/bundle/extract-corpus-parity.json +21 -0
  23. package/bundle/hooks/codex-hooks.json +31 -0
  24. package/bundle/hooks/codex-plugin-hooks.json +31 -0
  25. package/bundle/plugin.json +13 -0
  26. package/bundle/references/adapters/cursor.md +53 -42
  27. package/bundle/references/adapters/opencode.md +46 -47
  28. package/bundle/references/adapters/package-manifest-interface-model.yaml +32 -43
  29. package/bundle/references/adapters/package-registry.yaml +19 -53
  30. package/bundle/references/adapters/package-surface-characterization.md +61 -48
  31. package/bundle/references/adapters/runtime-adapter-characterization.md +44 -79
  32. package/bundle/references/adapters/runtime-adapter-registry.yaml +21 -182
  33. package/bundle/references/adapters/runtime-feature-parity.md +114 -174
  34. package/bundle/references/adapters/runtime-lifecycle-adapters.yaml +288 -0
  35. package/bundle/references/adapters/runtime-lifecycle-authority.yaml +90 -0
  36. package/bundle/references/adapters/runtime-lifecycle-operation-contract.yaml +84 -0
  37. package/bundle/references/adapters/runtime-retired-resources.yaml +33 -0
  38. package/bundle/references/analysis/benchmark.md +6 -6
  39. package/bundle/references/analysis/startup-measurement-contract.yaml +37 -26
  40. package/bundle/references/artifacts/artifact-registry-interface-model.yaml +6 -5
  41. package/bundle/references/cli/agent-ready-state-contract.yaml +26 -23
  42. package/bundle/references/cli/app-lifecycle-vocabulary.yaml +4 -4
  43. package/bundle/references/cli/audience-namespace-cli-migration.yaml +40 -26
  44. package/bundle/references/cli/bundle-skill-vocabulary.yaml +4 -32
  45. package/bundle/references/cli/capability-instruction-contract.yaml +98 -57
  46. package/bundle/references/cli/capability-instruction-structure.md +144 -0
  47. package/bundle/references/cli/capability-tool-classification.yaml +12 -12
  48. package/bundle/references/cli/coexistence-probe.yaml +13 -0
  49. package/bundle/references/cli/parity-expected-actual-template.md +30 -0
  50. package/bundle/references/cli/routing-execution-vocabulary.yaml +12 -12
  51. package/bundle/references/cli/routing-model.md +94 -0
  52. package/bundle/references/cli/single-name-protocol.yaml +42 -0
  53. package/bundle/references/cli/trigger-schema-enrichment.md +136 -0
  54. package/bundle/references/cli/update-channels.yaml +43 -7
  55. package/bundle/references/cli/upgrade-repair-wording.md +45 -0
  56. package/bundle/references/cli/v3-handoff-manifest.schema.yaml +98 -0
  57. package/bundle/references/cli/vocabulary-index.yaml +20 -15
  58. package/bundle/references/cli/vocabulary.md +342 -326
  59. package/bundle/references/meta/documentation-inventory.md +9 -3
  60. package/bundle/registry.json +14 -14
  61. package/bundle/skills/agentera/SKILL.md +136 -408
  62. package/bundle/skills/agentera/agents/audit.toml +6 -0
  63. package/bundle/skills/agentera/agents/build.toml +6 -0
  64. package/bundle/skills/agentera/agents/design.toml +6 -0
  65. package/bundle/skills/agentera/agents/discuss.toml +6 -0
  66. package/bundle/skills/agentera/agents/document.toml +6 -0
  67. package/bundle/skills/agentera/agents/optimize.toml +6 -0
  68. package/bundle/skills/agentera/agents/orchestrate.toml +6 -0
  69. package/bundle/skills/agentera/agents/plan.toml +6 -0
  70. package/bundle/skills/agentera/agents/profile.toml +6 -0
  71. package/bundle/skills/agentera/agents/research.toml +6 -0
  72. package/bundle/skills/agentera/agents/status.toml +6 -0
  73. package/bundle/skills/agentera/agents/vision.toml +6 -0
  74. package/bundle/skills/agentera/capabilities/{inspektera → audit}/schemas/artifacts.yaml +10 -10
  75. package/bundle/skills/agentera/capabilities/{inspektera → audit}/schemas/exit.yaml +2 -2
  76. package/bundle/skills/agentera/capabilities/{inspektera → audit}/schemas/triggers.yaml +15 -6
  77. package/bundle/skills/agentera/capabilities/{inspektera → audit}/schemas/validation.yaml +13 -12
  78. package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/artifacts.yaml +12 -12
  79. package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/exit.yaml +3 -3
  80. package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/triggers.yaml +13 -3
  81. package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/validation.yaml +11 -11
  82. package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/artifacts.yaml +6 -6
  83. package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/exit.yaml +5 -5
  84. package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/triggers.yaml +15 -3
  85. package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/validation.yaml +7 -7
  86. package/bundle/skills/agentera/capabilities/{resonera → discuss}/schemas/artifacts.yaml +12 -11
  87. package/bundle/skills/agentera/capabilities/{resonera → discuss}/schemas/exit.yaml +2 -2
  88. package/bundle/skills/agentera/capabilities/{resonera → discuss}/schemas/triggers.yaml +11 -3
  89. package/bundle/skills/agentera/capabilities/{resonera → discuss}/schemas/validation.yaml +9 -8
  90. package/bundle/skills/agentera/capabilities/{dokumentera → document}/schemas/artifacts.yaml +10 -10
  91. package/bundle/skills/agentera/capabilities/{dokumentera → document}/schemas/triggers.yaml +14 -4
  92. package/bundle/skills/agentera/capabilities/{dokumentera → document}/schemas/validation.yaml +8 -8
  93. package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/artifacts.yaml +9 -9
  94. package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/exit.yaml +2 -2
  95. package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/triggers.yaml +11 -3
  96. package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/validation.yaml +9 -9
  97. package/bundle/skills/agentera/capabilities/{orkestrera → orchestrate}/schemas/artifacts.yaml +12 -11
  98. package/bundle/skills/agentera/capabilities/{orkestrera → orchestrate}/schemas/exit.yaml +7 -6
  99. package/bundle/skills/agentera/capabilities/{orkestrera → orchestrate}/schemas/triggers.yaml +16 -3
  100. package/bundle/skills/agentera/capabilities/orchestrate/schemas/validation.yaml +120 -0
  101. package/bundle/skills/agentera/capabilities/plan/schemas/artifacts.yaml +63 -0
  102. package/bundle/skills/agentera/capabilities/{planera → plan}/schemas/exit.yaml +2 -2
  103. package/bundle/skills/agentera/capabilities/{planera → plan}/schemas/triggers.yaml +15 -3
  104. package/bundle/skills/agentera/capabilities/plan/schemas/validation.yaml +89 -0
  105. package/bundle/skills/agentera/capabilities/{profilera → profile}/schemas/artifacts.yaml +2 -2
  106. package/bundle/skills/agentera/capabilities/{profilera → profile}/schemas/exit.yaml +3 -3
  107. package/bundle/skills/agentera/capabilities/{profilera → profile}/schemas/triggers.yaml +7 -3
  108. package/bundle/skills/agentera/capabilities/{profilera → profile}/schemas/validation.yaml +2 -2
  109. package/bundle/skills/agentera/capabilities/research/schemas/artifacts.yaml +24 -0
  110. package/bundle/skills/agentera/capabilities/{inspirera → research}/schemas/triggers.yaml +9 -3
  111. package/bundle/skills/agentera/capabilities/{inspirera → research}/schemas/validation.yaml +2 -2
  112. package/bundle/skills/agentera/capabilities/{hej → status}/schemas/artifacts.yaml +14 -11
  113. package/bundle/skills/agentera/capabilities/{hej → status}/schemas/triggers.yaml +12 -8
  114. package/bundle/skills/agentera/capabilities/{hej → status}/schemas/validation.yaml +5 -5
  115. package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/artifacts.yaml +8 -8
  116. package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/exit.yaml +7 -6
  117. package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/triggers.yaml +19 -5
  118. package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/validation.yaml +18 -20
  119. package/bundle/skills/agentera/capability_schema_contract.yaml +201 -38
  120. package/bundle/skills/agentera/protocol.yaml +29 -29
  121. package/bundle/skills/agentera/references/contract.md +338 -322
  122. package/bundle/skills/agentera/schemas/artifacts/changelog.yaml +4 -4
  123. package/bundle/skills/agentera/schemas/artifacts/decisions.yaml +10 -10
  124. package/bundle/skills/agentera/schemas/artifacts/design.yaml +4 -4
  125. package/bundle/skills/agentera/schemas/artifacts/docs.yaml +8 -7
  126. package/bundle/skills/agentera/schemas/artifacts/experiments.yaml +5 -5
  127. package/bundle/skills/agentera/schemas/artifacts/health.yaml +5 -5
  128. package/bundle/skills/agentera/schemas/artifacts/objective.yaml +4 -4
  129. package/bundle/skills/agentera/schemas/artifacts/plan.yaml +263 -11
  130. package/bundle/skills/agentera/schemas/artifacts/progress.yaml +20 -41
  131. package/bundle/skills/agentera/schemas/artifacts/todo.yaml +43 -24
  132. package/bundle/skills/agentera/schemas/artifacts/vision.yaml +3 -3
  133. package/dist/analytics/extractCorpus/cli.js +163 -0
  134. package/dist/analytics/extractCorpus/cli.js.map +1 -0
  135. package/dist/analytics/extractCorpus/copilotSessions.js +276 -0
  136. package/dist/analytics/extractCorpus/copilotSessions.js.map +1 -0
  137. package/dist/analytics/extractCorpus/core.js +393 -0
  138. package/dist/analytics/extractCorpus/core.js.map +1 -0
  139. package/dist/analytics/extractCorpus/corpus.js +168 -0
  140. package/dist/analytics/extractCorpus/corpus.js.map +1 -0
  141. package/dist/analytics/extractCorpus/coverageAudit.js +261 -0
  142. package/dist/analytics/extractCorpus/coverageAudit.js.map +1 -0
  143. package/dist/analytics/extractCorpus/cursorSessions.js +426 -0
  144. package/dist/analytics/extractCorpus/cursorSessions.js.map +1 -0
  145. package/dist/analytics/extractCorpus/extractCorpusParity.js +105 -0
  146. package/dist/analytics/extractCorpus/extractCorpusParity.js.map +1 -0
  147. package/dist/analytics/extractCorpus/filesystemSources.js +119 -0
  148. package/dist/analytics/extractCorpus/filesystemSources.js.map +1 -0
  149. package/dist/analytics/extractCorpus/index.js +12 -0
  150. package/dist/analytics/extractCorpus/index.js.map +1 -0
  151. package/dist/analytics/extractCorpus/jsonlSessions.js +205 -0
  152. package/dist/analytics/extractCorpus/jsonlSessions.js.map +1 -0
  153. package/dist/analytics/extractCorpus/sqliteCaps.js +44 -0
  154. package/dist/analytics/extractCorpus/sqliteCaps.js.map +1 -0
  155. package/dist/analytics/extractCorpus/sqliteSessions.js +368 -0
  156. package/dist/analytics/extractCorpus/sqliteSessions.js.map +1 -0
  157. package/dist/analytics/extractCorpus.js +2 -1790
  158. package/dist/analytics/extractCorpus.js.map +1 -1
  159. package/dist/analytics/usageStats.js +93 -27
  160. package/dist/analytics/usageStats.js.map +1 -1
  161. package/dist/bin/agentera.js +3 -1
  162. package/dist/bin/agentera.js.map +1 -1
  163. package/dist/capabilities/audit/instructions.js +4 -0
  164. package/dist/capabilities/audit/instructions.js.map +1 -0
  165. package/dist/capabilities/build/instructions.js +5 -0
  166. package/dist/capabilities/build/instructions.js.map +1 -0
  167. package/dist/capabilities/design/instructions.js +5 -0
  168. package/dist/capabilities/design/instructions.js.map +1 -0
  169. package/dist/capabilities/discuss/instructions.js +6 -0
  170. package/dist/capabilities/discuss/instructions.js.map +1 -0
  171. package/dist/capabilities/document/instructions.js +4 -0
  172. package/dist/capabilities/document/instructions.js.map +1 -0
  173. package/dist/capabilities/index.js +38 -0
  174. package/dist/capabilities/index.js.map +1 -0
  175. package/dist/capabilities/optimize/instructions.js +5 -0
  176. package/dist/capabilities/optimize/instructions.js.map +1 -0
  177. package/dist/capabilities/orchestrate/instructions.js +10 -0
  178. package/dist/capabilities/orchestrate/instructions.js.map +1 -0
  179. package/dist/capabilities/plan/instructions.js +6 -0
  180. package/dist/capabilities/plan/instructions.js.map +1 -0
  181. package/dist/capabilities/profile/instructions.js +5 -0
  182. package/dist/capabilities/profile/instructions.js.map +1 -0
  183. package/dist/capabilities/research/instructions.js +6 -0
  184. package/dist/capabilities/research/instructions.js.map +1 -0
  185. package/dist/capabilities/status/instructions.js +5 -0
  186. package/dist/capabilities/status/instructions.js.map +1 -0
  187. package/dist/capabilities/vision/instructions.js +5 -0
  188. package/dist/capabilities/vision/instructions.js.map +1 -0
  189. package/dist/cli/appContext.js +16 -17
  190. package/dist/cli/appContext.js.map +1 -1
  191. package/dist/cli/capabilityContext/benchmark.js +564 -0
  192. package/dist/cli/capabilityContext/benchmark.js.map +1 -0
  193. package/dist/cli/capabilityContext/bespoke.js +36 -0
  194. package/dist/cli/capabilityContext/bespoke.js.map +1 -0
  195. package/dist/cli/capabilityContext/build.js +190 -0
  196. package/dist/cli/capabilityContext/build.js.map +1 -0
  197. package/dist/cli/capabilityContext/closeout.js +230 -0
  198. package/dist/cli/capabilityContext/closeout.js.map +1 -0
  199. package/dist/cli/capabilityContext/contract.js +190 -0
  200. package/dist/cli/capabilityContext/contract.js.map +1 -0
  201. package/dist/cli/capabilityContext/evidence.js +456 -0
  202. package/dist/cli/capabilityContext/evidence.js.map +1 -0
  203. package/dist/cli/capabilityContext/index.js +4 -0
  204. package/dist/cli/capabilityContext/index.js.map +1 -0
  205. package/dist/cli/capabilityContext/orchestration.js +117 -0
  206. package/dist/cli/capabilityContext/orchestration.js.map +1 -0
  207. package/dist/cli/capabilityContext/planState.js +279 -0
  208. package/dist/cli/capabilityContext/planState.js.map +1 -0
  209. package/dist/cli/capabilityContext/progress.js +138 -0
  210. package/dist/cli/capabilityContext/progress.js.map +1 -0
  211. package/dist/cli/capabilityContext/shared.js +94 -0
  212. package/dist/cli/capabilityContext/shared.js.map +1 -0
  213. package/dist/cli/capabilityContext/slim.js +108 -0
  214. package/dist/cli/capabilityContext/slim.js.map +1 -0
  215. package/dist/cli/capabilityContext/startup.js +217 -0
  216. package/dist/cli/capabilityContext/startup.js.map +1 -0
  217. package/dist/cli/capabilityContext/types.js +41 -0
  218. package/dist/cli/capabilityContext/types.js.map +1 -0
  219. package/dist/cli/capabilityContext.js +1 -2420
  220. package/dist/cli/capabilityContext.js.map +1 -1
  221. package/dist/cli/commands/appHome.js +23 -0
  222. package/dist/cli/commands/appHome.js.map +1 -0
  223. package/dist/cli/commands/capability.js +3 -10
  224. package/dist/cli/commands/capability.js.map +1 -1
  225. package/dist/cli/commands/compact.js +1 -1
  226. package/dist/cli/commands/compact.js.map +1 -1
  227. package/dist/cli/commands/doctor.js +116 -96
  228. package/dist/cli/commands/doctor.js.map +1 -1
  229. package/dist/cli/commands/lint.js +16 -41
  230. package/dist/cli/commands/lint.js.map +1 -1
  231. package/dist/cli/commands/prime/bundleStatus.js +185 -0
  232. package/dist/cli/commands/prime/bundleStatus.js.map +1 -0
  233. package/dist/cli/commands/prime/collectOrientationState.js +179 -0
  234. package/dist/cli/commands/prime/collectOrientationState.js.map +1 -0
  235. package/dist/cli/commands/prime/orientationOutput.js +233 -0
  236. package/dist/cli/commands/prime/orientationOutput.js.map +1 -0
  237. package/dist/cli/commands/prime/types.js +2 -0
  238. package/dist/cli/commands/prime/types.js.map +1 -0
  239. package/dist/cli/commands/prime/v1Migration.js +39 -0
  240. package/dist/cli/commands/prime/v1Migration.js.map +1 -0
  241. package/dist/cli/commands/prime.js +11 -519
  242. package/dist/cli/commands/prime.js.map +1 -1
  243. package/dist/cli/commands/query.js +5 -2
  244. package/dist/cli/commands/query.js.map +1 -1
  245. package/dist/cli/commands/report.js +50 -14
  246. package/dist/cli/commands/report.js.map +1 -1
  247. package/dist/cli/commands/schema.js +113 -24
  248. package/dist/cli/commands/schema.js.map +1 -1
  249. package/dist/cli/commands/state/decisions.js +403 -0
  250. package/dist/cli/commands/state/decisions.js.map +1 -0
  251. package/dist/cli/commands/state/docs.js +97 -0
  252. package/dist/cli/commands/state/docs.js.map +1 -0
  253. package/dist/cli/commands/state/experiments.js +68 -0
  254. package/dist/cli/commands/state/experiments.js.map +1 -0
  255. package/dist/cli/commands/state/health.js +116 -0
  256. package/dist/cli/commands/state/health.js.map +1 -0
  257. package/dist/cli/commands/state/index.js +51 -0
  258. package/dist/cli/commands/state/index.js.map +1 -0
  259. package/dist/cli/commands/state/objective.js +69 -0
  260. package/dist/cli/commands/state/objective.js.map +1 -0
  261. package/dist/cli/commands/state/plan.js +274 -0
  262. package/dist/cli/commands/state/plan.js.map +1 -0
  263. package/dist/cli/commands/state/progress.js +47 -0
  264. package/dist/cli/commands/state/progress.js.map +1 -0
  265. package/dist/cli/commands/state/shared.js +15 -0
  266. package/dist/cli/commands/state/shared.js.map +1 -0
  267. package/dist/cli/commands/state/todo.js +121 -0
  268. package/dist/cli/commands/state/todo.js.map +1 -0
  269. package/dist/cli/commands/state/write.js +341 -0
  270. package/dist/cli/commands/state/write.js.map +1 -0
  271. package/dist/cli/commands/upgrade.js +79 -1
  272. package/dist/cli/commands/upgrade.js.map +1 -1
  273. package/dist/cli/commands/upgradeVerify.js +81 -0
  274. package/dist/cli/commands/upgradeVerify.js.map +1 -0
  275. package/dist/cli/commands/validate.js +56 -96
  276. package/dist/cli/commands/validate.js.map +1 -1
  277. package/dist/cli/commands/verify.js +13 -7
  278. package/dist/cli/commands/verify.js.map +1 -1
  279. package/dist/cli/contracts/bundleStatus.js +2 -0
  280. package/dist/cli/contracts/bundleStatus.js.map +1 -0
  281. package/dist/cli/contracts/orientationState.js +2 -0
  282. package/dist/cli/contracts/orientationState.js.map +1 -0
  283. package/dist/cli/dispatch/argvParser.js +33 -0
  284. package/dist/cli/dispatch/argvParser.js.map +1 -0
  285. package/dist/cli/dispatch/check.js +328 -0
  286. package/dist/cli/dispatch/check.js.map +1 -0
  287. package/dist/cli/dispatch/commands.js +27 -0
  288. package/dist/cli/dispatch/commands.js.map +1 -0
  289. package/dist/cli/dispatch/index.js +183 -0
  290. package/dist/cli/dispatch/index.js.map +1 -0
  291. package/dist/cli/dispatch/lifecycle.js +671 -0
  292. package/dist/cli/dispatch/lifecycle.js.map +1 -0
  293. package/dist/cli/dispatch/prime.js +104 -0
  294. package/dist/cli/dispatch/prime.js.map +1 -0
  295. package/dist/cli/dispatch/shared.js +64 -0
  296. package/dist/cli/dispatch/shared.js.map +1 -0
  297. package/dist/cli/dispatch/state.js +148 -0
  298. package/dist/cli/dispatch/state.js.map +1 -0
  299. package/dist/cli/dispatch.js +1 -957
  300. package/dist/cli/dispatch.js.map +1 -1
  301. package/dist/cli/errors.js +54 -0
  302. package/dist/cli/errors.js.map +1 -0
  303. package/dist/cli/help.js +262 -0
  304. package/dist/cli/help.js.map +1 -0
  305. package/dist/cli/orientation/attention.js +163 -0
  306. package/dist/cli/orientation/attention.js.map +1 -0
  307. package/dist/cli/orientation/corpusCoverage.js +71 -0
  308. package/dist/cli/orientation/corpusCoverage.js.map +1 -0
  309. package/dist/cli/orientation.js +194 -114
  310. package/dist/cli/orientation.js.map +1 -1
  311. package/dist/cli/planArtifacts.js +172 -0
  312. package/dist/cli/planArtifacts.js.map +1 -0
  313. package/dist/cli/planEvidence.js +158 -0
  314. package/dist/cli/planEvidence.js.map +1 -0
  315. package/dist/cli/planLifecycleState.js +34 -0
  316. package/dist/cli/planLifecycleState.js.map +1 -0
  317. package/dist/cli/prime-blob.js +68 -2
  318. package/dist/cli/prime-blob.js.map +1 -1
  319. package/dist/cli/startupCompletenessContract.js +56 -0
  320. package/dist/cli/startupCompletenessContract.js.map +1 -0
  321. package/dist/cli/stateQuery.js +17 -2
  322. package/dist/cli/stateQuery.js.map +1 -1
  323. package/dist/cli/todoMarkdown.js +33 -0
  324. package/dist/cli/todoMarkdown.js.map +1 -0
  325. package/dist/cli/todoSeverity.js +19 -0
  326. package/dist/cli/todoSeverity.js.map +1 -0
  327. package/dist/core/atomicWriter.js +21 -0
  328. package/dist/core/atomicWriter.js.map +1 -0
  329. package/dist/core/envPaths.js +21 -0
  330. package/dist/core/envPaths.js.map +1 -0
  331. package/dist/core/jsonValue.js +6 -0
  332. package/dist/core/jsonValue.js.map +1 -0
  333. package/dist/core/pyjson.js +67 -2
  334. package/dist/core/pyjson.js.map +1 -1
  335. package/dist/core/yaml.js +8 -0
  336. package/dist/core/yaml.js.map +1 -1
  337. package/dist/eval/evalSkills.js +30 -25
  338. package/dist/eval/evalSkills.js.map +1 -1
  339. package/dist/eval/semanticEval.js +43 -19
  340. package/dist/eval/semanticEval.js.map +1 -1
  341. package/dist/eval/semanticFixtures.js +16 -4
  342. package/dist/eval/semanticFixtures.js.map +1 -1
  343. package/dist/hooks/common.js +9 -26
  344. package/dist/hooks/common.js.map +1 -1
  345. package/dist/hooks/compaction/apply.js +269 -0
  346. package/dist/hooks/compaction/apply.js.map +1 -0
  347. package/dist/hooks/compaction/dryRun.js +183 -0
  348. package/dist/hooks/compaction/dryRun.js.map +1 -0
  349. package/dist/hooks/compaction/index.js +23 -0
  350. package/dist/hooks/compaction/index.js.map +1 -0
  351. package/dist/hooks/compaction/parse.js +258 -0
  352. package/dist/hooks/compaction/parse.js.map +1 -0
  353. package/dist/hooks/compaction/retention.js +202 -0
  354. package/dist/hooks/compaction/retention.js.map +1 -0
  355. package/dist/hooks/compaction/status.js +243 -0
  356. package/dist/hooks/compaction/status.js.map +1 -0
  357. package/dist/hooks/compaction/types.js +6 -0
  358. package/dist/hooks/compaction/types.js.map +1 -0
  359. package/dist/hooks/cursorPreToolUse.js +1 -1
  360. package/dist/hooks/cursorPreToolUse.js.map +1 -1
  361. package/dist/hooks/cursorSessionStart.js +10 -2
  362. package/dist/hooks/cursorSessionStart.js.map +1 -1
  363. package/dist/hooks/sessionStart.js +18 -11
  364. package/dist/hooks/sessionStart.js.map +1 -1
  365. package/dist/hooks/sessionStop.js +8 -14
  366. package/dist/hooks/sessionStop.js.map +1 -1
  367. package/dist/hooks/validateArtifact/agentFacing.js +10 -0
  368. package/dist/hooks/validateArtifact/agentFacing.js.map +1 -0
  369. package/dist/hooks/validateArtifact/index.js +151 -0
  370. package/dist/hooks/validateArtifact/index.js.map +1 -0
  371. package/dist/hooks/validateArtifact/markdown.js +146 -0
  372. package/dist/hooks/validateArtifact/markdown.js.map +1 -0
  373. package/dist/hooks/validateArtifact/runtime.js +86 -0
  374. package/dist/hooks/validateArtifact/runtime.js.map +1 -0
  375. package/dist/hooks/validateArtifact/schema.js +541 -0
  376. package/dist/hooks/validateArtifact/schema.js.map +1 -0
  377. package/dist/hooks/validateArtifact/traversal.js +106 -0
  378. package/dist/hooks/validateArtifact/traversal.js.map +1 -0
  379. package/dist/hooks/validateArtifact/violations.js +108 -0
  380. package/dist/hooks/validateArtifact/violations.js.map +1 -0
  381. package/dist/migrate/v2HandoffManifest.js +455 -0
  382. package/dist/migrate/v2HandoffManifest.js.map +1 -0
  383. package/dist/registries/artifactProtocolIds.js +77 -0
  384. package/dist/registries/artifactProtocolIds.js.map +1 -0
  385. package/dist/registries/artifactRegistry.js +62 -15
  386. package/dist/registries/artifactRegistry.js.map +1 -1
  387. package/dist/registries/capabilityContract.js +156 -12
  388. package/dist/registries/capabilityContract.js.map +1 -1
  389. package/dist/registries/evaluatorHandoffContract.js +171 -0
  390. package/dist/registries/evaluatorHandoffContract.js.map +1 -0
  391. package/dist/registries/packageRegistry.js +40 -6
  392. package/dist/registries/packageRegistry.js.map +1 -1
  393. package/dist/registries/runtimeAdapterRegistry.js +30 -21
  394. package/dist/registries/runtimeAdapterRegistry.js.map +1 -1
  395. package/dist/registries/triggerLoader.js +211 -0
  396. package/dist/registries/triggerLoader.js.map +1 -0
  397. package/dist/release/releaseMetadata.js +235 -0
  398. package/dist/release/releaseMetadata.js.map +1 -0
  399. package/dist/runtime/lifecycleAdapterContract.js +458 -0
  400. package/dist/runtime/lifecycleAdapterContract.js.map +1 -0
  401. package/dist/runtime/lifecycleAdapters.js +766 -0
  402. package/dist/runtime/lifecycleAdapters.js.map +1 -0
  403. package/dist/runtime/lifecycleAuthority.js +493 -0
  404. package/dist/runtime/lifecycleAuthority.js.map +1 -0
  405. package/dist/runtime/lifecycleOperationContract.js +113 -0
  406. package/dist/runtime/lifecycleOperationContract.js.map +1 -0
  407. package/dist/runtime/lifecycleOperations.js +635 -0
  408. package/dist/runtime/lifecycleOperations.js.map +1 -0
  409. package/dist/runtime/lifecycleOwnershipJournal.js +623 -0
  410. package/dist/runtime/lifecycleOwnershipJournal.js.map +1 -0
  411. package/dist/runtime/lifecyclePublication.js +395 -0
  412. package/dist/runtime/lifecyclePublication.js.map +1 -0
  413. package/dist/runtime/lifecycleSnapshot.js +439 -0
  414. package/dist/runtime/lifecycleSnapshot.js.map +1 -0
  415. package/dist/runtime/retiredRuntimeCleanup.js +238 -0
  416. package/dist/runtime/retiredRuntimeCleanup.js.map +1 -0
  417. package/dist/setup/codex/agents.js +96 -0
  418. package/dist/setup/codex/agents.js.map +1 -0
  419. package/dist/setup/codex/cli.js +161 -0
  420. package/dist/setup/codex/cli.js.map +1 -0
  421. package/dist/setup/codex/configToml.js +639 -0
  422. package/dist/setup/codex/configToml.js.map +1 -0
  423. package/dist/setup/codex/constants.js +29 -0
  424. package/dist/setup/codex/constants.js.map +1 -0
  425. package/dist/setup/codex/installRoot.js +64 -0
  426. package/dist/setup/codex/installRoot.js.map +1 -0
  427. package/dist/setup/codex/state.js +270 -0
  428. package/dist/setup/codex/state.js.map +1 -0
  429. package/dist/setup/codex.js +11 -1055
  430. package/dist/setup/codex.js.map +1 -1
  431. package/dist/setup/copilot.js +1 -1
  432. package/dist/setup/copilot.js.map +1 -1
  433. package/dist/setup/cursor.js +7 -5
  434. package/dist/setup/cursor.js.map +1 -1
  435. package/dist/setup/cursorSurfaces.js +67 -0
  436. package/dist/setup/cursorSurfaces.js.map +1 -0
  437. package/dist/setup/doctor/core.js +296 -0
  438. package/dist/setup/doctor/core.js.map +1 -0
  439. package/dist/setup/doctor/diagnostics.js +201 -0
  440. package/dist/setup/doctor/diagnostics.js.map +1 -0
  441. package/dist/setup/doctor/opencode.js +301 -0
  442. package/dist/setup/doctor/opencode.js.map +1 -0
  443. package/dist/setup/doctor/report.js +425 -0
  444. package/dist/setup/doctor/report.js.map +1 -0
  445. package/dist/setup/doctor.js +9 -1275
  446. package/dist/setup/doctor.js.map +1 -1
  447. package/dist/setup/opencode.js +13 -0
  448. package/dist/setup/opencode.js.map +1 -0
  449. package/dist/setup/opencodeConstants.js +2 -0
  450. package/dist/setup/opencodeConstants.js.map +1 -0
  451. package/dist/setup/smokeChecks.js +109 -0
  452. package/dist/setup/smokeChecks.js.map +1 -0
  453. package/dist/state/installRoot.js +64 -24
  454. package/dist/state/installRoot.js.map +1 -1
  455. package/dist/state/startupAnalysis/benchmark.js +371 -0
  456. package/dist/state/startupAnalysis/benchmark.js.map +1 -0
  457. package/dist/state/startupAnalysis/contract.js +126 -0
  458. package/dist/state/startupAnalysis/contract.js.map +1 -0
  459. package/dist/state/startupAnalysis/helpers.js +287 -0
  460. package/dist/state/startupAnalysis/helpers.js.map +1 -0
  461. package/dist/state/startupAnalysis/index.js +7 -0
  462. package/dist/state/startupAnalysis/index.js.map +1 -0
  463. package/dist/state/startupAnalysis/metrics.js +341 -0
  464. package/dist/state/startupAnalysis/metrics.js.map +1 -0
  465. package/dist/state/startupAnalysis/records.js +199 -0
  466. package/dist/state/startupAnalysis/records.js.map +1 -0
  467. package/dist/state/startupAnalysis/report.js +112 -0
  468. package/dist/state/startupAnalysis/report.js.map +1 -0
  469. package/dist/state/startupAnalysis/threshold.js +500 -0
  470. package/dist/state/startupAnalysis/threshold.js.map +1 -0
  471. package/dist/state/startupAnalysis.js +2 -1952
  472. package/dist/state/startupAnalysis.js.map +1 -1
  473. package/dist/state/write/assign.js +21 -0
  474. package/dist/state/write/assign.js.map +1 -0
  475. package/dist/state/write/errors.js +12 -0
  476. package/dist/state/write/errors.js.map +1 -0
  477. package/dist/state/write/explain.js +155 -0
  478. package/dist/state/write/explain.js.map +1 -0
  479. package/dist/state/write/fields.js +62 -0
  480. package/dist/state/write/fields.js.map +1 -0
  481. package/dist/state/write/index.js +11 -0
  482. package/dist/state/write/index.js.map +1 -0
  483. package/dist/state/write/input.js +22 -0
  484. package/dist/state/write/input.js.map +1 -0
  485. package/dist/state/write/lock.js +108 -0
  486. package/dist/state/write/lock.js.map +1 -0
  487. package/dist/state/write/operations.js +220 -0
  488. package/dist/state/write/operations.js.map +1 -0
  489. package/dist/state/write/serialize.js +2 -0
  490. package/dist/state/write/serialize.js.map +1 -0
  491. package/dist/state/write/transaction.js +787 -0
  492. package/dist/state/write/transaction.js.map +1 -0
  493. package/dist/state/write/validate.js +8 -0
  494. package/dist/state/write/validate.js.map +1 -0
  495. package/dist/upgrade/appContentRefresh.js +374 -0
  496. package/dist/upgrade/appContentRefresh.js.map +1 -0
  497. package/dist/upgrade/appModel.js +11 -6
  498. package/dist/upgrade/appModel.js.map +1 -1
  499. package/dist/upgrade/atomicWriter.js +2 -0
  500. package/dist/upgrade/atomicWriter.js.map +1 -0
  501. package/dist/upgrade/bundleEvidence.js +34 -0
  502. package/dist/upgrade/bundleEvidence.js.map +1 -0
  503. package/dist/upgrade/channels.js +27 -7
  504. package/dist/upgrade/channels.js.map +1 -1
  505. package/dist/upgrade/coexistenceProbe.js +105 -0
  506. package/dist/upgrade/coexistenceProbe.js.map +1 -0
  507. package/dist/upgrade/compatibility.js +52 -16
  508. package/dist/upgrade/compatibility.js.map +1 -1
  509. package/dist/upgrade/doctor.js +195 -193
  510. package/dist/upgrade/doctor.js.map +1 -1
  511. package/dist/upgrade/doctorClassifier.js +188 -0
  512. package/dist/upgrade/doctorClassifier.js.map +1 -0
  513. package/dist/upgrade/installedHooksRetirement.js +190 -0
  514. package/dist/upgrade/installedHooksRetirement.js.map +1 -0
  515. package/dist/upgrade/legacyAgentCleanup.js +183 -0
  516. package/dist/upgrade/legacyAgentCleanup.js.map +1 -0
  517. package/dist/upgrade/lifecycleUpgrade.js +427 -0
  518. package/dist/upgrade/lifecycleUpgrade.js.map +1 -0
  519. package/dist/upgrade/migrateArtifactsV1ToV2.js +568 -0
  520. package/dist/upgrade/migrateArtifactsV1ToV2.js.map +1 -0
  521. package/dist/upgrade/migrateArtifactsV2ToV3.js +273 -144
  522. package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -1
  523. package/dist/upgrade/nextMajorDoctor.js +156 -0
  524. package/dist/upgrade/nextMajorDoctor.js.map +1 -0
  525. package/dist/upgrade/npxPlatformStatus.js +23 -0
  526. package/dist/upgrade/npxPlatformStatus.js.map +1 -0
  527. package/dist/upgrade/projectIntegration.js +259 -104
  528. package/dist/upgrade/projectIntegration.js.map +1 -1
  529. package/dist/upgrade/projectIntegrationDecision.js +141 -0
  530. package/dist/upgrade/projectIntegrationDecision.js.map +1 -0
  531. package/dist/upgrade/runtimeMigration.js +342 -89
  532. package/dist/upgrade/runtimeMigration.js.map +1 -1
  533. package/dist/upgrade/upgradeCommands.js +8 -0
  534. package/dist/upgrade/upgradeCommands.js.map +1 -1
  535. package/dist/upgrade/upgradeLock.js +54 -0
  536. package/dist/upgrade/upgradeLock.js.map +1 -0
  537. package/dist/upgrade/upgradeOrchestrator.js +170 -46
  538. package/dist/upgrade/upgradeOrchestrator.js.map +1 -1
  539. package/dist/upgrade/upgradeSnapshot.js +93 -0
  540. package/dist/upgrade/upgradeSnapshot.js.map +1 -0
  541. package/dist/upgrade/v3CapabilitySurface.js +15 -0
  542. package/dist/upgrade/v3CapabilitySurface.js.map +1 -0
  543. package/dist/upgrade/versionResolution.js +12 -4
  544. package/dist/upgrade/versionResolution.js.map +1 -1
  545. package/dist/validate/appHomeContract.js +5 -5
  546. package/dist/validate/appHomeContract.js.map +1 -1
  547. package/dist/validate/capability.js +135 -14
  548. package/dist/validate/capability.js.map +1 -1
  549. package/dist/validate/crossCapability.js +1 -1
  550. package/dist/validate/crossCapability.js.map +1 -1
  551. package/dist/validate/lifecycleAdapters/legacyPythonParity.js +93 -0
  552. package/dist/validate/lifecycleAdapters/legacyPythonParity.js.map +1 -0
  553. package/dist/validate/lifecycleAdapters/nodeFormChecks.js +481 -0
  554. package/dist/validate/lifecycleAdapters/nodeFormChecks.js.map +1 -0
  555. package/dist/validate/lifecycleAdapters/shared.js +198 -0
  556. package/dist/validate/lifecycleAdapters/shared.js.map +1 -0
  557. package/dist/validate/lifecycleAdapters.js +91 -702
  558. package/dist/validate/lifecycleAdapters.js.map +1 -1
  559. package/dist/validate/selfAudit.js +63 -21
  560. package/dist/validate/selfAudit.js.map +1 -1
  561. package/dist/validate/vocabularyAuthority.js +303 -0
  562. package/dist/validate/vocabularyAuthority.js.map +1 -0
  563. package/package.json +30 -27
  564. package/bundle/references/v1-section-mapping.md +0 -47
  565. package/bundle/skills/agentera/.claude-plugin/plugin.json +0 -27
  566. package/bundle/skills/agentera/agents/dokumentera.toml +0 -6
  567. package/bundle/skills/agentera/agents/hej.toml +0 -6
  568. package/bundle/skills/agentera/agents/inspektera.toml +0 -6
  569. package/bundle/skills/agentera/agents/inspirera.toml +0 -6
  570. package/bundle/skills/agentera/agents/optimera.toml +0 -6
  571. package/bundle/skills/agentera/agents/orkestrera.toml +0 -6
  572. package/bundle/skills/agentera/agents/planera.toml +0 -6
  573. package/bundle/skills/agentera/agents/profilera.toml +0 -6
  574. package/bundle/skills/agentera/agents/realisera.toml +0 -6
  575. package/bundle/skills/agentera/agents/resonera.toml +0 -6
  576. package/bundle/skills/agentera/agents/visionera.toml +0 -6
  577. package/bundle/skills/agentera/agents/visualisera.toml +0 -6
  578. package/bundle/skills/agentera/capabilities/dokumentera/instructions.md +0 -428
  579. package/bundle/skills/agentera/capabilities/hej/instructions.md +0 -331
  580. package/bundle/skills/agentera/capabilities/inspektera/instructions.md +0 -514
  581. package/bundle/skills/agentera/capabilities/inspirera/instructions.md +0 -280
  582. package/bundle/skills/agentera/capabilities/inspirera/schemas/artifacts.yaml +0 -24
  583. package/bundle/skills/agentera/capabilities/optimera/instructions.md +0 -437
  584. package/bundle/skills/agentera/capabilities/orkestrera/instructions.md +0 -433
  585. package/bundle/skills/agentera/capabilities/orkestrera/schemas/validation.yaml +0 -107
  586. package/bundle/skills/agentera/capabilities/planera/instructions.md +0 -368
  587. package/bundle/skills/agentera/capabilities/planera/schemas/artifacts.yaml +0 -62
  588. package/bundle/skills/agentera/capabilities/planera/schemas/validation.yaml +0 -61
  589. package/bundle/skills/agentera/capabilities/profilera/instructions.md +0 -419
  590. package/bundle/skills/agentera/capabilities/realisera/instructions.md +0 -403
  591. package/bundle/skills/agentera/capabilities/resonera/instructions.md +0 -329
  592. package/bundle/skills/agentera/capabilities/visionera/instructions.md +0 -309
  593. package/bundle/skills/agentera/capabilities/visualisera/instructions.md +0 -400
  594. package/bundle/skills/hej/.claude-plugin/plugin.json +0 -6
  595. package/bundle/skills/hej/SKILL.md +0 -69
  596. package/bundle/skills/hej/agents/hej.toml +0 -11
  597. package/bundle/skills/hej/agents/openai.yaml +0 -8
  598. package/dist/cli/commands/backfill.js +0 -84
  599. package/dist/cli/commands/backfill.js.map +0 -1
  600. package/dist/cli/commands/state.js +0 -1012
  601. package/dist/cli/commands/state.js.map +0 -1
  602. package/dist/core/git.js +0 -43
  603. package/dist/core/git.js.map +0 -1
  604. package/dist/hooks/compaction.js +0 -935
  605. package/dist/hooks/compaction.js.map +0 -1
  606. package/dist/hooks/validateArtifact.js +0 -933
  607. package/dist/hooks/validateArtifact.js.map +0 -1
  608. package/dist/state/progressCommit.js +0 -289
  609. package/dist/state/progressCommit.js.map +0 -1
  610. /package/bundle/skills/agentera/capabilities/{dokumentera → document}/schemas/exit.yaml +0 -0
  611. /package/bundle/skills/agentera/capabilities/{inspirera → research}/schemas/exit.yaml +0 -0
  612. /package/bundle/skills/agentera/capabilities/{hej → status}/schemas/exit.yaml +0 -0
@@ -14,13 +14,13 @@ VALIDATION:
14
14
  id: V2
15
15
  rule: vision_identity_coherence
16
16
  description: >-
17
- Design tokens MUST NOT conflict with VISION.md Identity. If the
17
+ Design tokens MUST NOT conflict with vision Identity. If the
18
18
  verbal identity says "warm and approachable" and the user wants a
19
19
  cold brutalist palette, the tension MUST be surfaced explicitly
20
20
  for the user to resolve.
21
21
  severity: critical
22
22
  checks:
23
- - "Design tokens cohere with VISION.md Identity"
23
+ - "Design tokens cohere with vision Identity"
24
24
  - "Tensions surfaced when detected"
25
25
  3:
26
26
  id: V3
@@ -50,12 +50,12 @@ VALIDATION:
50
50
  id: V5
51
51
  rule: no_code_modification
52
52
  description: >-
53
- Visualisera MUST NOT modify code files. It writes DESIGN.md only.
54
- Realisera implements the design system in code. The separation
53
+ Design MUST NOT modify code files. It writes DESIGN.md only.
54
+ Build implements the design system in code. The separation
55
55
  of declaration and implementation is fundamental.
56
56
  severity: critical
57
57
  checks:
58
- - "No code files modified during visualisera invocation"
58
+ - "No code files modified during design invocation"
59
59
  6:
60
60
  id: V6
61
61
  rule: codebase_exploration_required
@@ -70,8 +70,8 @@ VALIDATION:
70
70
  id: V7
71
71
  rule: exit_marker_required
72
72
  description: >-
73
- Every visualisera invocation MUST emit an exit marker using the
74
- canonical glyph ◰ (SG11) in the format ◰ visualisera · <status>
73
+ Every design invocation MUST emit an exit marker using the
74
+ canonical glyph ◰ (SG11) in the format ◰ design · <status>
75
75
  where status is one of EX1-EX4.
76
76
  severity: critical
77
77
  checks:
@@ -4,18 +4,19 @@ ARTIFACTS:
4
4
  artifact_id: decisions
5
5
  local_role: produces_and_consumes
6
6
  description: >-
7
- Reasoning trail with confidence labels. Resonera reads existing decisions
8
- through `agentera decisions --format json` and its source_contract to avoid
9
- re-deliberation, and writes new decision entries with confidence (DL1
10
- firm, DL2 provisional, DL3 exploratory). Compact older entries by applying
11
- schema COMPACTION rules; incomplete compacted entries are caveated context,
12
- not a reason for historical reconstruction during normal deliberation.
7
+ Reasoning trail with confidence labels. Discuss reads existing decisions
8
+ through `agentera state decisions --format json` and its source_contract
9
+ to avoid re-deliberation, and writes new decision entries with confidence
10
+ (DL1 firm, DL2 provisional, DL3 exploratory). Compact older entries by
11
+ applying schema COMPACTION rules; incomplete compacted entries are
12
+ caveated context, not a reason for historical reconstruction during
13
+ normal deliberation.
13
14
  2:
14
15
  id: A2
15
16
  artifact_id: vision
16
17
  local_role: produces_and_consumes
17
18
  description: >-
18
- Resonera may update project direction only with explicit user
19
+ Discuss may update project direction only with explicit user
19
20
  confirmation when a decision feeds into project direction. Read for
20
21
  context during deliberation.
21
22
  3:
@@ -23,25 +24,25 @@ ARTIFACTS:
23
24
  artifact_id: todo
24
25
  local_role: produces_and_consumes
25
26
  description: >-
26
- Resonera may add tech debt items surfaced during deliberation only with
27
+ Discuss may add tech debt items surfaced during deliberation only with
27
28
  explicit user confirmation. Severity per protocol SI1-SI4.
28
29
  4:
29
30
  id: A4
30
31
  artifact_id: objective
31
32
  local_role: produces_and_consumes
32
33
  description: >-
33
- Resonera may write optimization decisions only with explicit user
34
+ Discuss may write optimization decisions only with explicit user
34
35
  confirmation when a decision feeds into what to optimize.
35
36
  5:
36
37
  id: A5
37
38
  artifact_id: profile
38
39
  local_role: consumes
39
40
  description: >-
40
- Resonera reads this at session start to acknowledge high-confidence
41
+ Discuss reads this at session start to acknowledge high-confidence
41
42
  entries and avoid re-deliberating settled ground.
42
43
  6:
43
44
  id: A6
44
45
  artifact_id: docs
45
46
  local_role: consumes
46
47
  description: >-
47
- Resonera reads this first to resolve project-local artifact mappings.
48
+ Discuss reads this first to resolve project-local artifact mappings.
@@ -4,7 +4,7 @@ EXIT_CONDITIONS:
4
4
  condition: complete
5
5
  description: >-
6
6
  Deliberation reached a conclusion the user chose to act on; any
7
- requested artifacts (DECISIONS.md, VISION.md, OBJECTIVE.md, TODO.md)
7
+ requested artifacts (decisions, vision, objective, todo)
8
8
  were written with user approval, and the decision confidence level
9
9
  was captured.
10
10
  exit_signal: complete
@@ -15,7 +15,7 @@ EXIT_CONDITIONS:
15
15
  Deliberation concluded but the decision remains unresolved or
16
16
  provisional: the user wrapped up without a clear choice, significant
17
17
  tensions could not be resolved, or the conclusion contradicts prior
18
- decisions in DECISIONS.md without explicit acknowledgment.
18
+ decisions without explicit acknowledgment.
19
19
  exit_signal: flagged
20
20
  3:
21
21
  id: E3
@@ -3,11 +3,13 @@ TRIGGERS:
3
3
  id: T1
4
4
  description: >-
5
5
  Direct invocation by name or slash command. Matches when the user
6
- explicitly requests resonera for structured deliberation.
6
+ explicitly requests discuss for structured deliberation.
7
7
  priority: high
8
8
  patterns:
9
- - "resonera"
10
- - "/resonera"
9
+ - "discuss"
10
+ - "/discuss"
11
+ confidence_threshold: 60
12
+ borderline_band: 10
11
13
  2:
12
14
  id: T2
13
15
  description: >-
@@ -23,6 +25,7 @@ TRIGGERS:
23
25
  - "what are the tradeoffs"
24
26
  - "brainstorm"
25
27
  - "rubber duck"
28
+ confidence_threshold: 50
26
29
  3:
27
30
  id: T3
28
31
  description: >-
@@ -34,6 +37,7 @@ TRIGGERS:
34
37
  - "I'm torn between"
35
38
  - "what's the right approach"
36
39
  - "let's reason about"
40
+ confidence_threshold: 50
37
41
  4:
38
42
  id: T4
39
43
  description: >-
@@ -44,3 +48,7 @@ TRIGGERS:
44
48
  - "scope this out"
45
49
  - "before I build this"
46
50
  - "talk me through"
51
+ confidence_threshold: 50
52
+ disambiguates_against:
53
+ - capability: plan
54
+ hint: "discuss explores options before committing; plan structures committed work"
@@ -3,7 +3,7 @@ VALIDATION:
3
3
  id: V1
4
4
  rule: one_question_per_turn
5
5
  description: >-
6
- Resonera MUST ask exactly one question per turn. Compound questions
6
+ Discuss MUST ask exactly one question per turn. Compound questions
7
7
  are not allowed. Every question MUST include a Done option.
8
8
  severity: critical
9
9
  checks:
@@ -13,16 +13,17 @@ VALIDATION:
13
13
  id: V2
14
14
  rule: user_approval_for_artifact_writes
15
15
  description: >-
16
- Resonera MUST NOT modify VISION.md, OBJECTIVE.md, or TODO.md without
17
- explicit user confirmation. Present drafts and get approval.
16
+ Discuss MUST NOT modify vision, objective, or todo artifacts (the
17
+ protected_write_boundaries) without explicit user confirmation. Present
18
+ drafts and get approval.
18
19
  severity: critical
19
20
  checks:
20
- - "User confirmation obtained before writing to VISION.md, OBJECTIVE.md, or TODO.md"
21
+ - "User confirmation obtained before writing to vision, objective, or todo artifacts"
21
22
  3:
22
23
  id: V3
23
24
  rule: decision_confidence_required
24
25
  description: >-
25
- Every DECISIONS.md entry MUST have a Confidence field with one of the
26
+ Every decision entry MUST have a Confidence field with one of the
26
27
  protocol-defined labels: firm (DL1), provisional (DL2), or
27
28
  exploratory (DL3).
28
29
  severity: critical
@@ -33,7 +34,7 @@ VALIDATION:
33
34
  id: V4
34
35
  rule: preserved_decision_fields
35
36
  description: >-
36
- DECISIONS.md entries MUST preserve the canonical top-level fields:
37
+ Decision entries MUST preserve the canonical top-level fields:
37
38
  Question, Context, Alternatives, Choice, Reasoning, Confidence,
38
39
  Feeds into. Win conditions stay inside Alternatives bullets.
39
40
  severity: critical
@@ -43,7 +44,7 @@ VALIDATION:
43
44
  id: V5
44
45
  rule: no_implementation
45
46
  description: >-
46
- Resonera MUST NOT skip to implementation. It deliberates; other
47
+ Discuss MUST NOT skip to implementation. It deliberates; other
47
48
  capabilities build. If the user wants to build, route to the
48
49
  appropriate capability.
49
50
  severity: critical
@@ -64,7 +65,7 @@ VALIDATION:
64
65
  id: V7
65
66
  rule: satisfaction_authority_boundary
66
67
  description: >-
67
- When Resonera touches decision satisfaction, it may capture provisional
68
+ When Discuss touches decision satisfaction, it may capture provisional
68
69
  satisfaction with evidence but MUST NOT user-confirm satisfaction unless the
69
70
  user explicitly confirms it. Missing, compacted, open, provisional, or
70
71
  review-needed satisfaction state remains a caveat and review pressure;
@@ -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: >-
@@ -18,10 +22,10 @@ TRIGGERS:
18
22
  - "write docs"
19
23
  - "document this"
20
24
  - "create README"
21
- - "write CLAUDE.md"
22
25
  - "write AGENTS.md"
23
26
  - "docs first"
24
27
  - "document before building"
28
+ confidence_threshold: 50
25
29
  3:
26
30
  id: T3
27
31
  description: >-
@@ -33,3 +37,9 @@ TRIGGERS:
33
37
  - "audit docs"
34
38
  - "check documentation"
35
39
  - "docs out of sync"
40
+ confidence_threshold: 50
41
+ disambiguates_against:
42
+ - capability: audit
43
+ hint: "document maintains project docs; audit reviews codebase health"
44
+ patterns_regex:
45
+ - "\\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,12 +5,12 @@ 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:
12
12
  id: A2
13
- artifact_id: optimera_harness
13
+ artifact_id: optimize_harness
14
14
  local_role: produces
15
15
  description: >-
16
16
  Eval script that measures the metric and outputs structured JSON. Written
@@ -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.
@@ -5,7 +5,7 @@ EXIT_CONDITIONS:
5
5
  description: >-
6
6
  One experiment completed the full cycle: hypothesis formulated,
7
7
  implementation dispatched, regression check passed, metric measured,
8
- decision made (kept or discarded), and EXPERIMENTS.md updated.
8
+ decision made (kept or discarded), and experiments.yaml updated.
9
9
  exit_signal: complete
10
10
  2:
11
11
  id: E2
@@ -20,7 +20,7 @@ EXIT_CONDITIONS:
20
20
  id: E3
21
21
  condition: stuck
22
22
  description: >-
23
- Cannot proceed because OBJECTIVE.md is missing and the brainstorm cannot
23
+ Cannot proceed because objective.yaml is missing and the brainstorm cannot
24
24
  be completed without user input, the eval harness is broken and cannot
25
25
  be repaired without user approval, or the regression check infrastructure
26
26
  is unavailable.
@@ -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
@@ -24,17 +24,17 @@ VALIDATION:
24
24
  id: V3
25
25
  rule: objective_readonly_during_cycle
26
26
  description: >-
27
- OBJECTIVE.md MUST NOT be modified during a cycle except for canonical
27
+ objective.yaml MUST NOT be modified during a cycle except for canonical
28
28
  closure when the target is met. Other edits only happen during
29
29
  brainstorm or refine.
30
30
  severity: critical
31
31
  checks:
32
- - "OBJECTIVE.md only modified for closure during cycle"
32
+ - "objective.yaml only modified for closure during cycle"
33
33
  4:
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,16 +4,17 @@ 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
- when resolving a task.
10
+ when resolving a task. Failed evaluator results are recorded through the
11
+ retry-safe typed `record-evaluation` mutation before retry or blocking.
11
12
  2:
12
13
  id: A2
13
14
  artifact_id: progress
14
15
  local_role: consumes
15
16
  description: >-
16
- Orkestrera consumes progress verification state from the returned
17
+ Orchestrate consumes progress verification state from the returned
17
18
  orchestration context first, then routine CLI fallback output before any
18
19
  last-resort raw artifact read for the Step 3 presence check.
19
20
  3:
@@ -21,7 +22,7 @@ ARTIFACTS:
21
22
  artifact_id: health
22
23
  local_role: consumes
23
24
  description: >-
24
- Orkestrera consumes returned health state first after plan completion to
25
+ Orchestrate consumes returned health state first after plan completion to
25
26
  decide whether to start a new plan cycle; raw reads are last-resort after
26
27
  listed CLI fallbacks.
27
28
  4:
@@ -29,14 +30,14 @@ ARTIFACTS:
29
30
  artifact_id: todo
30
31
  local_role: produces
31
32
  description: >-
32
- Orkestrera consumes TODO caveats from CLI startup context and writes
33
+ Orchestrate consumes TODO caveats from CLI startup context and writes
33
34
  blocked task logging only when a task exhausts its retry budget.
34
35
  5:
35
36
  id: A5
36
37
  artifact_id: decisions
37
38
  local_role: consumes
38
39
  description: >-
39
- Orkestrera consumes included decision context or the listed
40
+ Orchestrate consumes included decision context or the listed
40
41
  `agentera decisions --format json` fallback before raw access, preserving
41
42
  firm constraints, exploratory uncertainties, and compacted-entry caveats.
42
43
  6:
@@ -44,14 +45,14 @@ ARTIFACTS:
44
45
  artifact_id: vision
45
46
  local_role: consumes
46
47
  description: >-
47
- Orkestrera consumes returned vision state or missing-state caveats during
48
- bootstrap when chaining inspirera for vision-gap analysis.
48
+ Orchestrate consumes returned vision state or missing-state caveats during
49
+ bootstrap when chaining research for vision-gap analysis.
49
50
  7:
50
51
  id: A7
51
52
  artifact_id: profile
52
53
  local_role: consumes
53
54
  description: >-
54
- Orkestrera consumes returned profile status and caveats first for persona
55
+ Orchestrate consumes returned profile status and caveats first for persona
55
56
  context. If missing or stale, it proceeds without refreshing profile
56
57
  state and preserves the caveat.
57
58
  8:
@@ -59,6 +60,6 @@ ARTIFACTS:
59
60
  artifact_id: docs
60
61
  local_role: consumes
61
62
  description: >-
62
- Orkestrera uses docs mapping from CLI startup context first to resolve
63
+ Orchestrate uses docs mapping from CLI startup context first to resolve
63
64
  project-local artifact mappings before any last-resort raw artifact read
64
65
  or artifact write.