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
@@ -31,7 +31,7 @@ compatibility_boundary: >-
31
31
  canonical_concept_order:
32
32
  - request_to_capability_routing
33
33
  - next_action_recommendation
34
- - orkestrera_task_assignment
34
+ - orchestrate_task_assignment
35
35
  - worker_launch
36
36
  - runtime_subagent_support
37
37
  - worker_safety_git_commit
@@ -40,7 +40,7 @@ canonical_concepts:
40
40
  definition: >-
41
41
  Agentera chooses the capability that should handle a user request, using
42
42
  direct routes, primary route aliases, trigger schemas, disambiguation, or
43
- fallback to hej.
43
+ fallback to status.
44
44
  preferred_terms:
45
45
  - Agentera router
46
46
  - request-to-capability routing
@@ -65,15 +65,15 @@ canonical_concepts:
65
65
  - force
66
66
  - chain
67
67
  - conductor handoff
68
- orkestrera_task_assignment:
68
+ orchestrate_task_assignment:
69
69
  definition: >-
70
- Orkestrera assigns approved plan work to a worker capability during an
70
+ Orchestrate assigns approved plan work to a worker capability during an
71
71
  explicitly orchestrated flow; it evaluates the result instead of implementing
72
72
  the task itself.
73
73
  preferred_terms:
74
74
  - delegate
75
75
  - delegation
76
- - Orkestrera task delegation
76
+ - Orchestrate task delegation
77
77
  - assigned plan work
78
78
  forbidden_ambiguous_shortcuts:
79
79
  - conductor
@@ -82,7 +82,7 @@ canonical_concepts:
82
82
  - orchestrator implementation
83
83
  worker_launch:
84
84
  definition: >-
85
- Realisera or Optimera starts a worker through the host runtime when an
85
+ Build or Optimize starts a worker through the host runtime when an
86
86
  implementation or measurement cycle needs isolated execution.
87
87
  preferred_terms:
88
88
  - spawn
@@ -0,0 +1,96 @@
1
+ # Five-layer routing model
2
+
3
+ Origin: Decision 76 (2026-06-30) — LLM-primary routing model. Retires the
4
+ deterministic NL routing engine and repositions the trigger schema as
5
+ LLM-readable intent documentation. Builds on the original five-layer concept
6
+ from Decision 42 (2026-05-04), redefining Layers 3-4 as LLM-native.
7
+
8
+ The Agentera routing model resolves incoming requests to a capability across
9
+ five layers. Layers 1, 2, and 5 are deterministic dispatch (bare invocation,
10
+ exact alias, no match); they are implemented and unchanged. Layers 3 and 4
11
+ cover natural-language requests. Per Decision 76, the LLM host — the AI model
12
+ that receives the user's message — owns natural-language routing natively. The
13
+ trigger schema (`description`, `disambiguates_against`, `priority`, phase
14
+ context) provides LLM-readable intent documentation the host consults; there is
15
+ no scoring engine, no confidence threshold, and no borderline band. Layer 4
16
+ (formerly borderline-band disambiguation) is dissolved into Layer 3: the LLM
17
+ resolves ambiguity natively, using `disambiguates_against` hints as advisory
18
+ context. Decision 75's request-vs-state mutual exclusivity is dissolved: request
19
+ intent and state-readiness are both advisory context the LLM consults.
20
+
21
+ ## Layer 1: Bare `/agentera` or bare `hej` — delegate to prime
22
+
23
+ - **Input pattern**: the request is `/agentera` with no additional text, or the
24
+ complete user message is exactly `hej`.
25
+ - **Action**: delegate immediately to the status capability. Status performs
26
+ state-aware routing through the `agentera prime` composite result, which
27
+ condenses project artifacts and suggests the most useful next capability.
28
+ This is deterministic and never wrong. Bare `hej` must not be handled as a
29
+ generic greeting.
30
+ - **Implementation status**: implemented and unchanged.
31
+
32
+ ## Layer 2: capability name or `/agentera <primary-alias>` — direct route
33
+
34
+ - **Input pattern**: the request text exactly matches a capability name
35
+ (case-insensitive), or exactly matches one primary alias from
36
+ `capability_schema_contract.yaml` `ROUTE_ALIASES.primary_aliases`, or begins
37
+ with a canonical capability name followed by more text (`/agentera <capability>
38
+ <topic>`).
39
+ - **Action**: route directly to that capability without evaluating natural-language
40
+ trigger descriptions. Pass any remaining text as the user's topic or instruction.
41
+ Each capability has exactly one primary alias; secondary wording stays in
42
+ capability trigger schemas below this layer.
43
+ - **Implementation status**: implemented and unchanged.
44
+
45
+ ## Layer 3: Natural language — LLM-native routing
46
+
47
+ - **Input pattern**: the request is natural language (e.g. "help me think
48
+ through this") that does not match Layer 1 or Layer 2.
49
+ - **Action**: the LLM host routes natively. It consults the trigger schema's
50
+ `description` fields (what each capability does), `disambiguates_against`
51
+ hints (how to tell near-equal capabilities apart), and `priority`
52
+ (relevance precedence) as LLM-readable intent documentation, then selects a
53
+ capability. There are no confidence scores, no thresholds, and no
54
+ weighted-average computation; the LLM reads the intent descriptions and
55
+ routes.
56
+ - **Resolving ambiguity**: when two capabilities could match a request, the
57
+ LLM host resolves the ambiguity natively, surfacing the
58
+ `disambiguates_against.hint` strings as advisory context when it asks the
59
+ user to confirm or clarify. The hints supply the words; the LLM supplies the
60
+ judgment.
61
+ - **Implementation status**: implemented — the LLM host owns this layer.
62
+ `references/cli/trigger-schema-enrichment.md` is the intent documentation
63
+ contract the host reads.
64
+
65
+ ## Layer 4: Dissolved into Layer 3
66
+
67
+ Layer 4 formerly described a borderline-band disambiguation engine that fired
68
+ when two capabilities scored within a configurable band. Decision 76 retired
69
+ that engine: ambiguity resolution is now part of Layer 3, performed natively by
70
+ the LLM host using the `disambiguates_against` hints as advisory context. There
71
+ is no separate disambiguation layer, no borderline band, and no
72
+ disambiguation-engine output schema.
73
+
74
+ ## Layer 5: No match — fallback to status
75
+
76
+ - **Input pattern**: the LLM host cannot map the request to any capability from
77
+ the trigger schema's intent descriptions.
78
+ - **Action**: route to status for orientation. Status handles greetings, status
79
+ requests, and ambiguous inputs.
80
+ - **Implementation status**: implemented and unchanged.
81
+
82
+ ## Ownership boundaries
83
+
84
+ - **This document** defines what Layers 1-5 mean: their input patterns, actions,
85
+ and implementation status.
86
+ - **`skills/agentera/capability_schema_contract.yaml`** (`ENTRY_SCHEMA.fields.priority`
87
+ and `FIELD_RULES.TRIGGERS.priority`) defines trigger `priority` values
88
+ (`high`, `medium`, `low`) as an advisory relevance-precedence hint the LLM host
89
+ reads — not a scoring weight.
90
+ - **Per-capability `schemas/triggers.yaml`** owns the trigger `description`,
91
+ `priority`, and `disambiguates_against` intent documentation that the LLM host
92
+ consults for Layer 3 routing. `references/cli/trigger-schema-enrichment.md` is
93
+ the intent documentation contract; pattern matching and scoring belong to
94
+ neither, having been retired by Decision 76.
95
+ - **`skills/agentera/SKILL.md`** is the thin bootstrap routing surface per Decision
96
+ 74; it cross-references this document rather than restating the full model.
@@ -0,0 +1,136 @@
1
+ # Trigger intent documentation contract
2
+
3
+ Authority for Layer 3 LLM-native capability routing. This document defines the
4
+ trigger-schema fields the LLM host consults to understand what each capability
5
+ does and how to disambiguate near-equal requests. The fields are documentation
6
+ the host reads, not inputs to a scoring engine.
7
+
8
+ - **Authority path:** `references/cli/trigger-schema-enrichment.md`
9
+ - **Schema contract:** `skills/agentera/capability_schema_contract.yaml` (the
10
+ contract loader at `packages/cli/src/registries/capabilityContract.ts` consumes it)
11
+ - **Trigger files:** `skills/agentera/capabilities/<name>/schemas/triggers.yaml`
12
+ - **Scope:** Layer 3 (LLM-native natural-language routing) of the five-layer
13
+ routing model. Layer 4 (formerly borderline-band disambiguation) is dissolved
14
+ into Layer 3. Layers 1, 2, and 5 are unchanged.
15
+
16
+ ## Decision 76 — repositioning
17
+
18
+ Decision 76 (2026-06-30) retires the deterministic NL routing engine. The LLM
19
+ host — the AI model that receives the user's message — owns natural-language
20
+ routing natively. This document is repositioned from a scoring-enrichment
21
+ contract to the **trigger intent documentation contract**: it defines the
22
+ `triggers.yaml` fields that help the LLM host understand what each capability
23
+ does and how to disambiguate near-equal requests.
24
+
25
+ The fields stay as documentation, not as scoring inputs. The LLM host reads the
26
+ descriptions and disambiguates natively; `priority` and `disambiguates_against`
27
+ are advisory hints, not scoring weights. There is no scoring algorithm, no
28
+ confidence threshold, no borderline band, and no `prime --route` output schema.
29
+ Decision 75's request-vs-state mutual exclusivity is dissolved: request intent
30
+ and state-readiness are both advisory context the LLM consults. Decision 76
31
+ supersedes Decision 75 design choices 2 (request-derived scoring as router), 4
32
+ (mutual exclusivity), and 5 (pure request-derived).
33
+
34
+ Decision 76 records the design choices and rejected alternatives (including the
35
+ tuning-the-engine and reposition-`--route` alternatives that were rejected).
36
+
37
+ ## 1. Field shape
38
+
39
+ The fields below are the LLM-readable intent documentation the host consults.
40
+ `description` and `priority` are base trigger fields required on every
41
+ `TRIGGERS` entry; `disambiguates_against` is an optional enrichment that gives
42
+ the host disambiguation words to surface when a request could match more than
43
+ one capability.
44
+
45
+ ### 1.1 `description`
46
+
47
+ - **Type:** non-empty string (required on every `TRIGGERS` entry).
48
+ - **Meaning:** the LLM-readable explanation of what this trigger entry routes to.
49
+ The LLM host reads this to decide whether a natural-language request matches
50
+ the capability's intent. Prose that names the capability's purpose and the
51
+ request shapes it owns reads better than keyword lists; write it for a reader
52
+ who has never seen the capability before.
53
+ - **Validation failure:** a missing, empty, or non-string `description` fails
54
+ validation with an error message naming the offending entry ID.
55
+
56
+ ```
57
+ TRIGGERS:
58
+ 1:
59
+ id: T2
60
+ description: >-
61
+ Audit and codebase health requests.
62
+ priority: medium
63
+ patterns:
64
+ - "check code health"
65
+ - "architecture review"
66
+ ```
67
+
68
+ ### 1.2 `disambiguates_against`
69
+
70
+ - **Type:** list of mappings. Each entry MUST contain:
71
+ - `capability` — string referencing a valid capability ID (one of the twelve
72
+ English canonical IDs enumerated by `ROUTE_ALIASES.primary_aliases` in
73
+ `capability_schema_contract.yaml`: `status`, `vision`, `discuss`, `research`,
74
+ `plan`, `build`, `optimize`, `audit`, `document`, `profile`, `design`,
75
+ `orchestrate`).
76
+ - `hint` — non-empty string distinguishing this trigger's intent from the
77
+ named capability on near-equal requests.
78
+ - **Meaning:** declares which other capabilities this trigger's intent could be
79
+ confused with, with a hint the LLM host consults when it sees a request that
80
+ could match more than one capability. The list is advisory: the LLM host
81
+ resolves ambiguity natively and MAY surface the hint when asking the user to
82
+ confirm or clarify. The hint supplies the words; the LLM supplies the
83
+ judgment.
84
+ - **Validation failure:** a `capability` value that is not one of the twelve
85
+ canonical IDs, a missing `hint`, an empty `hint`, or an entry that is not a
86
+ mapping fails validation with the offending entry ID and the constraint.
87
+
88
+ ```
89
+ disambiguates_against:
90
+ - capability: build
91
+ hint: "vision refines existing project direction; build implements code"
92
+ - capability: optimize
93
+ hint: "vision is about what to build, not tuning existing code"
94
+ ```
95
+
96
+ ### 1.3 `priority`
97
+
98
+ - **Type:** string enum `high` | `medium` | `low` (required on every `TRIGGERS`
99
+ entry).
100
+ - **Meaning:** advisory relevance-precedence hint the LLM host reads alongside
101
+ `description` when deciding which capability best fits a request. `high`
102
+ marks a capability that owns the request strongly; `low` marks a capability
103
+ that is a plausible but weaker fit. It is not a scoring weight and feeds no
104
+ weighted-average calculation; the LLM host uses it as one signal among the
105
+ intent documentation.
106
+ - **Validation failure:** a missing `priority` or a value outside `high`,
107
+ `medium`, `low` fails validation with the offending entry ID.
108
+
109
+ ```
110
+ priority: high
111
+ ```
112
+
113
+ ## 2. Defaults summary
114
+
115
+ | Field | Required | Default when absent |
116
+ | --- | --- | --- |
117
+ | `description` | required | — |
118
+ | `disambiguates_against` | optional | empty list (no explicit collisions declared) |
119
+ | `priority` | required (`TRIGGERS`) | — |
120
+
121
+ `description` and `priority` are required on every `TRIGGERS` entry and have no
122
+ default. `disambiguates_against` is optional and defaults to an empty list. The
123
+ loader at `packages/cli/src/registries/capabilityContract.ts` is the consumer of
124
+ these shapes; tests and source that need them read through the loader rather than
125
+ re-declaring the values (per the AGENTS.md rule against duplicating
126
+ contract-owned values).
127
+
128
+ ## 3. Acceptance criteria mapping
129
+
130
+ | Criterion | Section |
131
+ | --- | --- |
132
+ | `description` is a non-empty string on every `TRIGGERS` entry | §1.1 |
133
+ | `disambiguates_against` entries reference a valid capability ID and include a non-empty hint | §1.2 |
134
+ | `priority` is one of `high` / `medium` / `low` on every `TRIGGERS` entry | §1.3 |
135
+ | Document reframed as LLM-readable intent documentation; no scoring algorithm, thresholds, borderline band, or `--route` output schema | Decision 76, §1 |
136
+ | Decision artifact lists each choice, ≥1 alternative, and rationale | Decision 76 in `.agentera/decisions.yaml` |
@@ -37,7 +37,7 @@ channels:
37
37
  concept: forward_successor_line
38
38
  channel: development
39
39
  version: "3.0.0"
40
- announced: false
40
+ announced: true
41
41
  npm:
42
42
  dist_tag: next
43
43
  npm_only_advisory: >-
@@ -64,6 +64,21 @@ channels:
64
64
  feat/v3 branch and v3 CLI are npm-only; v2→v3 is a one-way upgrade through
65
65
  npx @next, not through uvx or git checkout installs.
66
66
  distribution_major: 3
67
+ next_major:
68
+ concept: forward_successor_line
69
+ channel: development
70
+ version: "3.0.0"
71
+ announced: true
72
+ npm:
73
+ dist_tag: next
74
+ npm_only_advisory: >-
75
+ The v3 successor line is npm-only; opt in to v2→v3 migration through npx @next.
76
+ guide_url: >-
77
+ https://github.com/jgabor/agentera/blob/main/UPGRADE.md#upgrading-v2-to-v3-development-channel-irreversible
78
+ preview_command: npx -y agentera@next upgrade --dry-run --channel development
79
+ irreversible_advisory: >-
80
+ Forward migration to the v3 line is one-way; return to the prior
81
+ Python support line is permanently unsupported.
67
82
  resolution:
68
83
  npm:
69
84
  dist_tag: next
@@ -12,9 +12,9 @@ Treat the project as v3 when **all twelve** instruction modules exist:
12
12
 
13
13
  `packages/cli/src/capabilities/<name>/instructions.ts`
14
14
 
15
- for every routed capability (`hej`, `visionera`, `resonera`, `inspirera`,
16
- `planera`, `realisera`, `optimera`, `inspektera`, `dokumentera`, `profilera`,
17
- `visualisera`, `orkestrera`).
15
+ for every routed capability (`status`, `vision`, `discuss`, `research`,
16
+ `plan`, `build`, `optimize`, `audit`, `document`, `profile`,
17
+ `design`, `orchestrate`).
18
18
 
19
19
  If any module is missing, preserve v2 upgrade behavior (copy/refresh managed
20
20
  agents from the bundle).
@@ -29,3 +29,17 @@ agents from the bundle).
29
29
  ## User-visible skip message
30
30
 
31
31
  `v3 capability instruction modules present; in-tree .cursor/agents/ uses prime --context and is not overwritten`
32
+
33
+ ## v2 install track successor surfacing (#32)
34
+
35
+ When a **v2-classified** managed app-home (`install_track: v2`) runs the **v3 TypeScript
36
+ CLI** (`agentera doctor` / `agentera prime`), the next-major successor block must surface
37
+ the stable-line forward successor (`3.0.0` on the development channel) with the preview
38
+ command (`npx -y agentera@next upgrade --dry-run`) and the v2→v3 guide URL from
39
+ `references/cli/update-channels.yaml`. A v2 install must not be silently reported as
40
+ up to date against the v3 line.
41
+
42
+ | Surface | Branch | Behavior |
43
+ | --- | --- | --- |
44
+ | TypeScript (`packages/cli/src/upgrade/nextMajorDoctor.ts`, doctor/prime wiring) | `feat/v3` | Resolve successor from `channels.stable.next_major` for v2 installs; omit the block for v3 npm installs and feat/v3 source checkouts. |
45
+ | Python (`scripts/agentera_upgrade.py` doctor/prime writer) | `main` (stable) | Mirror the same v2-install successor block and preview command in stable-line doctor/prime output. Backport per the both-branch pattern; verify by round-trip parity with the v3 reader, not pytest in the feat/v3 worktree. |
@@ -26,17 +26,20 @@ authority_order:
26
26
  - DESIGN.md
27
27
  - .agentera/
28
28
  normalization_rules:
29
- - rule: Internal workflows are capabilities.
30
- use: capability, twelve capabilities, capability prose, capability schemas
31
- avoid: Calling hej/realisera/etc. standalone skills, except in v1 history.
32
- - rule: The runtime surface is a skill.
33
- use: Agentera skill, single installed Agentera app
34
- avoid: twelve-skill suite for v2 behavior.
29
+ - rule: Agentera is one agent, not a team; workflows are capabilities.
30
+ use: capability, twelve capabilities, one agent with many capabilities, capability prose, capability schemas
31
+ avoid: Calling status/build/etc. standalone skills or agents; "engineering team" as a product word; except in v1 history.
32
+ - rule: The runtime install is internal transport, not a product surface.
33
+ use: single Agentera agent, capabilities (the product word); "skill" and "plugin" survive only as internal transport (the skills/ directory and plugin.json manifests host editors require)
34
+ avoid: '"Agentera skill" or "plugin" as product words; "twelve-skill suite" or "plugin suite" for the capability set.'
35
+ - rule: Agentera is the agent; the host is the harness (Decision 74).
36
+ use: host runtime, harness, host coding agent (Claude, Cursor, Codex, Copilot, OpenCode); the CLI owns routing, memory, capability prose, and the worker-spec contract
37
+ avoid: Calling host coding agents peers or extension hosts of Agentera; implying Agentera is a module loaded into the host.
35
38
  - rule: /agentera is the main invocation.
36
39
  use: /agentera, $agentera for Codex-specific docs
37
40
  avoid: /hej except as a legacy bridge.
38
41
  - rule: The CLI source and rendered dashboard are different.
39
- use: agentera hej source data, Hej dashboard rendered briefing
42
+ use: agentera prime source data, status dashboard rendered briefing
40
43
  avoid: Treating raw CLI labels as the user-facing dashboard.
41
44
  - rule: Routine state uses flat commands.
42
45
  use: agentera plan, agentera docs, agentera health
@@ -64,7 +67,7 @@ normalization_rules:
64
67
  avoid: Non-Git checkpoint or pre-dispatch commit gate in new docs.
65
68
  - rule: Capability instruction modules have current metadata and a runtime boundary.
66
69
  use: instructions.ts plus emitted prime_context first_invocation_read; runtime enforcement is true via the CLI prime command
67
- avoid: Claiming agents are policed for actual reads, or adding unsupported agentera planera commands.
70
+ avoid: Claiming agents are policed for actual reads, or adding unsupported agentera plan commands.
68
71
  plain_language:
69
72
  lead_with_plain_phrase:
70
73
  - use: final state sync, the plan-level freshness checkpoint
@@ -150,10 +153,12 @@ decision_44:
150
153
  boundary: Preserve capability IDs, artifact IDs, group IDs, route IDs, and test fixture IDs unless a migration is planned.
151
154
  - surface: CLI labels and exit behavior
152
155
  boundary: Preserve current command names, parseable labels, exit codes, and source-contract labels unless an explicit CLI migration is recorded.
153
- - surface: Canonical capability names
154
- boundary: Preserve hej, visionera, resonera, inspirera, planera, realisera, optimera, inspektera, dokumentera, profilera, visualisera, and orkestrera.
155
- - surface: Decision 43 aliases
156
- boundary: Preserve /agentera status, vision, discuss, research, plan, build, optimize, audit, document, profile, design, and orchestrate.
156
+ - surface: Canonical capability names (v3 surface)
157
+ boundary: >-
158
+ Preserve the Decision 43 English alias set as the binding canonical names for v3 and onward under the single-agent identity (Decision 74): status, vision, discuss, research, plan, build, optimize, audit, document, profile, design, orchestrate. Future capability additions follow the same transfer-friendly English-verb pattern (Decision 70). Per Decisions 70 and 74, the D43 alias set is the binding name set under one agent, one CLI, many capabilities; future renames require a new decision.
159
+ - surface: Legacy Swedish capability names (v2 stable only)
160
+ boundary: >-
161
+ Preserve hej, visionera, resonera, inspirera, planera, realisera, optimera, inspektera, dokumentera, profilera, visualisera, and orkestrera for the v2 stable distribution (`npx -y agentera@latest`, ships from `main`) and as historical references in archived plans, decisions, and changelogs. Out of scope for v3 surface per Decisions 70 and 74; the single-agent identity uses English capability names exclusively. Coexistence probe surfaces per-distribution naming divergence.
157
162
  - surface: Historical artifacts
158
163
  boundary: Do not rewrite old progress, changelog, archived plans, or decisions solely for vocabulary cleanup.
159
164
  - surface: Release version