agentera 3.0.0-dev.23 → 3.0.0-dev.26

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 (376) hide show
  1. package/README.md +18 -22
  2. package/bundle/CHANGELOG.md +25 -27
  3. package/bundle/README.md +22 -42
  4. package/bundle/UPGRADE.md +71 -179
  5. package/bundle/references/adapters/package-manifest-interface-model.yaml +41 -240
  6. package/bundle/references/adapters/package-registry.yaml +9 -145
  7. package/bundle/references/adapters/package-surface-characterization.md +13 -38
  8. package/bundle/references/adapters/runtime-lifecycle-adapters.yaml +5 -219
  9. package/bundle/references/adapters/runtime-lifecycle-authority.yaml +2 -29
  10. package/bundle/references/adapters/runtime-lifecycle-operation-contract.yaml +1 -1
  11. package/bundle/references/artifacts/state-storage-authority.yaml +729 -412
  12. package/bundle/references/cli/agent-ready-state-contract.yaml +12 -12
  13. package/bundle/references/cli/app-lifecycle-vocabulary.yaml +3 -4
  14. package/bundle/references/cli/bundle-skill-vocabulary.yaml +9 -18
  15. package/bundle/references/cli/capability-tool-classification.yaml +2 -2
  16. package/bundle/references/cli/prime-consumer-compatibility.yaml +28 -98
  17. package/bundle/references/cli/routing-execution-vocabulary.yaml +4 -22
  18. package/bundle/references/cli/update-channels.yaml +4 -2
  19. package/bundle/references/cli/upgrade-repair-wording.md +8 -28
  20. package/bundle/references/cli/v3-handoff-manifest.schema.yaml +2 -3
  21. package/bundle/references/cli/vocabulary.md +22 -27
  22. package/bundle/references/meta/documentation-inventory.md +1 -1
  23. package/bundle/skills/agentera/SKILL.md +28 -14
  24. package/bundle/skills/agentera/capabilities/audit/schemas/artifacts.yaml +12 -12
  25. package/bundle/skills/agentera/capabilities/audit/schemas/validation.yaml +2 -2
  26. package/bundle/skills/agentera/capabilities/build/schemas/artifacts.yaml +12 -12
  27. package/bundle/skills/agentera/capabilities/build/schemas/validation.yaml +8 -8
  28. package/bundle/skills/agentera/capabilities/design/schemas/artifacts.yaml +6 -6
  29. package/bundle/skills/agentera/capabilities/discuss/schemas/artifacts.yaml +7 -7
  30. package/bundle/skills/agentera/capabilities/document/schemas/artifacts.yaml +12 -12
  31. package/bundle/skills/agentera/capabilities/optimize/schemas/artifacts.yaml +9 -9
  32. package/bundle/skills/agentera/capabilities/orchestrate/schemas/artifacts.yaml +11 -11
  33. package/bundle/skills/agentera/capabilities/plan/schemas/artifacts.yaml +9 -9
  34. package/bundle/skills/agentera/capabilities/profile/schemas/artifacts.yaml +2 -2
  35. package/bundle/skills/agentera/capabilities/research/schemas/artifacts.yaml +3 -3
  36. package/bundle/skills/agentera/capabilities/status/schemas/artifacts.yaml +11 -11
  37. package/bundle/skills/agentera/capabilities/vision/schemas/artifacts.yaml +8 -8
  38. package/bundle/skills/agentera/schemas/artifacts/decisions.yaml +15 -2
  39. package/bundle/skills/agentera/schemas/artifacts/docs.yaml +7 -12
  40. package/bundle/skills/agentera/schemas/artifacts/experiments.yaml +21 -21
  41. package/bundle/skills/agentera/schemas/artifacts/health.yaml +15 -2
  42. package/bundle/skills/agentera/schemas/artifacts/plan.yaml +36 -15
  43. package/bundle/skills/agentera/schemas/artifacts/progress.yaml +15 -2
  44. package/bundle/skills/agentera/schemas/artifacts/todo.yaml +4 -4
  45. package/dist/capabilities/audit/instructions.js +13 -1
  46. package/dist/capabilities/audit/instructions.js.map +1 -1
  47. package/dist/capabilities/build/instructions.js +14 -1
  48. package/dist/capabilities/build/instructions.js.map +1 -1
  49. package/dist/capabilities/discuss/instructions.js +11 -1
  50. package/dist/capabilities/discuss/instructions.js.map +1 -1
  51. package/dist/capabilities/document/instructions.js +9 -1
  52. package/dist/capabilities/document/instructions.js.map +1 -1
  53. package/dist/capabilities/index.js +7 -7
  54. package/dist/capabilities/index.js.map +1 -1
  55. package/dist/capabilities/optimize/instructions.js +10 -1
  56. package/dist/capabilities/optimize/instructions.js.map +1 -1
  57. package/dist/capabilities/orchestrate/instructions.js +13 -2
  58. package/dist/capabilities/orchestrate/instructions.js.map +1 -1
  59. package/dist/capabilities/plan/instructions.js +10 -1
  60. package/dist/capabilities/plan/instructions.js.map +1 -1
  61. package/dist/cli/capabilityContext/bespoke.js +8 -2
  62. package/dist/cli/capabilityContext/bespoke.js.map +1 -1
  63. package/dist/cli/capabilityContext/closeout.js +3 -3
  64. package/dist/cli/capabilityContext/closeout.js.map +1 -1
  65. package/dist/cli/capabilityContext/contract.js +10 -15
  66. package/dist/cli/capabilityContext/contract.js.map +1 -1
  67. package/dist/cli/capabilityContext/evidence.js +55 -43
  68. package/dist/cli/capabilityContext/evidence.js.map +1 -1
  69. package/dist/cli/capabilityContext/planState.js +5 -5
  70. package/dist/cli/capabilityContext/planState.js.map +1 -1
  71. package/dist/cli/capabilityContext/progress.js +1 -1
  72. package/dist/cli/capabilityContext/progress.js.map +1 -1
  73. package/dist/cli/capabilityContext/shared.js +8 -2
  74. package/dist/cli/capabilityContext/shared.js.map +1 -1
  75. package/dist/cli/capabilityContext/slim.js +2 -1
  76. package/dist/cli/capabilityContext/slim.js.map +1 -1
  77. package/dist/cli/capabilityContext/startup.js +19 -8
  78. package/dist/cli/capabilityContext/startup.js.map +1 -1
  79. package/dist/cli/capabilityContext/types.js +4 -4
  80. package/dist/cli/capabilityContext/types.js.map +1 -1
  81. package/dist/cli/commands/doctor.js +6 -64
  82. package/dist/cli/commands/doctor.js.map +1 -1
  83. package/dist/cli/commands/durability.js +27 -30
  84. package/dist/cli/commands/durability.js.map +1 -1
  85. package/dist/cli/commands/entityMigrate.js +128 -0
  86. package/dist/cli/commands/entityMigrate.js.map +1 -0
  87. package/dist/cli/commands/prime/briefOrientation.js +7 -22
  88. package/dist/cli/commands/prime/briefOrientation.js.map +1 -1
  89. package/dist/cli/commands/prime/bundleStatus.js +8 -2
  90. package/dist/cli/commands/prime/bundleStatus.js.map +1 -1
  91. package/dist/cli/commands/prime/collectEntityOrientation.js +161 -0
  92. package/dist/cli/commands/prime/collectEntityOrientation.js.map +1 -0
  93. package/dist/cli/commands/prime/collectOrientationState.js +32 -59
  94. package/dist/cli/commands/prime/collectOrientationState.js.map +1 -1
  95. package/dist/cli/commands/prime/orientationOutput.js +4 -12
  96. package/dist/cli/commands/prime/orientationOutput.js.map +1 -1
  97. package/dist/cli/commands/prime.js +2 -5
  98. package/dist/cli/commands/prime.js.map +1 -1
  99. package/dist/cli/commands/query.js +43 -49
  100. package/dist/cli/commands/query.js.map +1 -1
  101. package/dist/cli/commands/schema.js +26 -83
  102. package/dist/cli/commands/schema.js.map +1 -1
  103. package/dist/cli/commands/state/decisions.js +14 -47
  104. package/dist/cli/commands/state/decisions.js.map +1 -1
  105. package/dist/cli/commands/state/docs.js +58 -84
  106. package/dist/cli/commands/state/docs.js.map +1 -1
  107. package/dist/cli/commands/state/experimentRecords.js +27 -44
  108. package/dist/cli/commands/state/experimentRecords.js.map +1 -1
  109. package/dist/cli/commands/state/experiments.js +11 -64
  110. package/dist/cli/commands/state/experiments.js.map +1 -1
  111. package/dist/cli/commands/state/get.js +74 -88
  112. package/dist/cli/commands/state/get.js.map +1 -1
  113. package/dist/cli/commands/state/health.js +11 -112
  114. package/dist/cli/commands/state/health.js.map +1 -1
  115. package/dist/cli/commands/state/index.js +11 -2
  116. package/dist/cli/commands/state/index.js.map +1 -1
  117. package/dist/cli/commands/state/list.js +30 -13
  118. package/dist/cli/commands/state/list.js.map +1 -1
  119. package/dist/cli/commands/state/objective.js +21 -64
  120. package/dist/cli/commands/state/objective.js.map +1 -1
  121. package/dist/cli/commands/state/plan.js +11 -376
  122. package/dist/cli/commands/state/plan.js.map +1 -1
  123. package/dist/cli/commands/state/planTasks.js +58 -80
  124. package/dist/cli/commands/state/planTasks.js.map +1 -1
  125. package/dist/cli/commands/state/plans.js +27 -38
  126. package/dist/cli/commands/state/plans.js.map +1 -1
  127. package/dist/cli/commands/state/progress.js +11 -44
  128. package/dist/cli/commands/state/progress.js.map +1 -1
  129. package/dist/cli/commands/state/shared.js.map +1 -1
  130. package/dist/cli/commands/state/todo.js +27 -106
  131. package/dist/cli/commands/state/todo.js.map +1 -1
  132. package/dist/cli/commands/state/write.js +57 -4
  133. package/dist/cli/commands/state/write.js.map +1 -1
  134. package/dist/cli/commands/upgrade.js +99 -35
  135. package/dist/cli/commands/upgrade.js.map +1 -1
  136. package/dist/cli/commands/upgradeVerify.js +52 -14
  137. package/dist/cli/commands/upgradeVerify.js.map +1 -1
  138. package/dist/cli/commands/validate.js +66 -9
  139. package/dist/cli/commands/validate.js.map +1 -1
  140. package/dist/cli/dispatch/check.js +13 -13
  141. package/dist/cli/dispatch/check.js.map +1 -1
  142. package/dist/cli/dispatch/index.js +35 -28
  143. package/dist/cli/dispatch/index.js.map +1 -1
  144. package/dist/cli/dispatch/lifecycle.js +23 -43
  145. package/dist/cli/dispatch/lifecycle.js.map +1 -1
  146. package/dist/cli/dispatch/prime.js +15 -0
  147. package/dist/cli/dispatch/prime.js.map +1 -1
  148. package/dist/cli/dispatch/state.js +7 -1
  149. package/dist/cli/dispatch/state.js.map +1 -1
  150. package/dist/cli/help.js +90 -112
  151. package/dist/cli/help.js.map +1 -1
  152. package/dist/cli/migrationRequired.js +87 -0
  153. package/dist/cli/migrationRequired.js.map +1 -0
  154. package/dist/cli/orientation/attention.js +3 -99
  155. package/dist/cli/orientation/attention.js.map +1 -1
  156. package/dist/cli/orientation.js +10 -7
  157. package/dist/cli/orientation.js.map +1 -1
  158. package/dist/cli/planArtifacts.js +192 -42
  159. package/dist/cli/planArtifacts.js.map +1 -1
  160. package/dist/cli/prime-blob.js +5 -5
  161. package/dist/cli/prime-blob.js.map +1 -1
  162. package/dist/cli/stateQuery.js +6 -7
  163. package/dist/cli/stateQuery.js.map +1 -1
  164. package/dist/core/skillIdentity.js +24 -0
  165. package/dist/core/skillIdentity.js.map +1 -0
  166. package/dist/hooks/common.js +1 -1
  167. package/dist/hooks/common.js.map +1 -1
  168. package/dist/hooks/compaction/status.js +27 -2
  169. package/dist/hooks/compaction/status.js.map +1 -1
  170. package/dist/hooks/cursorSessionStart.js +4 -19
  171. package/dist/hooks/cursorSessionStart.js.map +1 -1
  172. package/dist/hooks/projectHookInput.js +26 -0
  173. package/dist/hooks/projectHookInput.js.map +1 -0
  174. package/dist/hooks/sessionStart.js +58 -212
  175. package/dist/hooks/sessionStart.js.map +1 -1
  176. package/dist/hooks/sessionStop.js +4 -12
  177. package/dist/hooks/sessionStop.js.map +1 -1
  178. package/dist/hooks/validateArtifact/traversal.js +1 -1
  179. package/dist/hooks/validateArtifact/traversal.js.map +1 -1
  180. package/dist/registries/artifactRegistry.js +24 -14
  181. package/dist/registries/artifactRegistry.js.map +1 -1
  182. package/dist/registries/packageRegistry.js +58 -232
  183. package/dist/registries/packageRegistry.js.map +1 -1
  184. package/dist/release/releaseMetadata.js +1 -13
  185. package/dist/release/releaseMetadata.js.map +1 -1
  186. package/dist/runtime/lifecycleAdapterContract.js +4 -4
  187. package/dist/runtime/lifecycleAdapterContract.js.map +1 -1
  188. package/dist/runtime/lifecycleAdapters.js +14 -2
  189. package/dist/runtime/lifecycleAdapters.js.map +1 -1
  190. package/dist/runtime/lifecycleAuthority.js +5 -43
  191. package/dist/runtime/lifecycleAuthority.js.map +1 -1
  192. package/dist/runtime/lifecycleOperationContract.js +3 -2
  193. package/dist/runtime/lifecycleOperationContract.js.map +1 -1
  194. package/dist/runtime/lifecyclePublication.js +21 -0
  195. package/dist/runtime/lifecyclePublication.js.map +1 -1
  196. package/dist/setup/opencode.js +20 -12
  197. package/dist/setup/opencode.js.map +1 -1
  198. package/dist/setup/sharedSkill.js +46 -0
  199. package/dist/setup/sharedSkill.js.map +1 -0
  200. package/dist/setup/smokeChecks.js +16 -43
  201. package/dist/setup/smokeChecks.js.map +1 -1
  202. package/dist/state/archivePublication.js +3 -2
  203. package/dist/state/archivePublication.js.map +1 -1
  204. package/dist/state/decisionEntities.js +282 -0
  205. package/dist/state/decisionEntities.js.map +1 -0
  206. package/dist/state/decisionOverlay.js +2 -2
  207. package/dist/state/decisionOverlay.js.map +1 -1
  208. package/dist/state/decisionRevision.js +44 -34
  209. package/dist/state/decisionRevision.js.map +1 -1
  210. package/dist/state/directRetrieval.js.map +1 -1
  211. package/dist/state/durability.js +81 -226
  212. package/dist/state/durability.js.map +1 -1
  213. package/dist/state/entityCutover.js +294 -0
  214. package/dist/state/entityCutover.js.map +1 -0
  215. package/dist/state/entityCutoverGit.js +128 -0
  216. package/dist/state/entityCutoverGit.js.map +1 -0
  217. package/dist/state/entityMigrationPreview.js +803 -0
  218. package/dist/state/entityMigrationPreview.js.map +1 -0
  219. package/dist/state/entityPublicationContext.js +612 -0
  220. package/dist/state/entityPublicationContext.js.map +1 -0
  221. package/dist/state/entityStorage.js +826 -0
  222. package/dist/state/entityStorage.js.map +1 -0
  223. package/dist/state/experimentIdentity.js +23 -11
  224. package/dist/state/experimentIdentity.js.map +1 -1
  225. package/dist/state/healthEntities.js +230 -0
  226. package/dist/state/healthEntities.js.map +1 -0
  227. package/dist/state/healthEntityValidation.js +6 -0
  228. package/dist/state/healthEntityValidation.js.map +1 -0
  229. package/dist/state/legacyEntityCutoverEvidence.js +66 -0
  230. package/dist/state/legacyEntityCutoverEvidence.js.map +1 -0
  231. package/dist/state/listRetrieval.js.map +1 -1
  232. package/dist/state/objectiveExperimentEntities.js +323 -0
  233. package/dist/state/objectiveExperimentEntities.js.map +1 -0
  234. package/dist/state/planEntities.js +362 -0
  235. package/dist/state/planEntities.js.map +1 -0
  236. package/dist/state/progressEntities.js +384 -0
  237. package/dist/state/progressEntities.js.map +1 -0
  238. package/dist/state/projectRoot.js +63 -0
  239. package/dist/state/projectRoot.js.map +1 -0
  240. package/dist/state/retrievalAuthority.js +13 -6
  241. package/dist/state/retrievalAuthority.js.map +1 -1
  242. package/dist/state/safeProjectFile.js +153 -0
  243. package/dist/state/safeProjectFile.js.map +1 -0
  244. package/dist/state/startupProjection.js +3 -2
  245. package/dist/state/startupProjection.js.map +1 -1
  246. package/dist/state/stateMode.js +83 -0
  247. package/dist/state/stateMode.js.map +1 -0
  248. package/dist/state/todoDocsEntities.js +225 -0
  249. package/dist/state/todoDocsEntities.js.map +1 -0
  250. package/dist/state/todoDocsEntityValidation.js +26 -0
  251. package/dist/state/todoDocsEntityValidation.js.map +1 -0
  252. package/dist/state/write/candidateMutation.js +5 -55
  253. package/dist/state/write/candidateMutation.js.map +1 -1
  254. package/dist/state/write/explain.js +119 -28
  255. package/dist/state/write/explain.js.map +1 -1
  256. package/dist/state/write/lock.js +794 -87
  257. package/dist/state/write/lock.js.map +1 -1
  258. package/dist/state/write/mutation.js +5 -2
  259. package/dist/state/write/mutation.js.map +1 -1
  260. package/dist/state/write/operations.js +52 -7
  261. package/dist/state/write/operations.js.map +1 -1
  262. package/dist/state/write/planEvaluation.js +107 -0
  263. package/dist/state/write/planEvaluation.js.map +1 -0
  264. package/dist/state/write/planPublication.js +11 -55
  265. package/dist/state/write/planPublication.js.map +1 -1
  266. package/dist/state/write/transaction.js +32 -455
  267. package/dist/state/write/transaction.js.map +1 -1
  268. package/dist/upgrade/appContentRefresh.js +43 -28
  269. package/dist/upgrade/appContentRefresh.js.map +1 -1
  270. package/dist/upgrade/compatibility.js +4 -4
  271. package/dist/upgrade/compatibility.js.map +1 -1
  272. package/dist/upgrade/doctor.js +5 -1
  273. package/dist/upgrade/doctor.js.map +1 -1
  274. package/dist/upgrade/installedHooksRetirement.js +46 -39
  275. package/dist/upgrade/installedHooksRetirement.js.map +1 -1
  276. package/dist/upgrade/legacyAgentCleanup.js +132 -32
  277. package/dist/upgrade/legacyAgentCleanup.js.map +1 -1
  278. package/dist/upgrade/lifecycleUpgrade.js +65 -378
  279. package/dist/upgrade/lifecycleUpgrade.js.map +1 -1
  280. package/dist/upgrade/migrateArtifactsV2ToV3.js +164 -66
  281. package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -1
  282. package/dist/upgrade/migrationPublication.js +123 -0
  283. package/dist/upgrade/migrationPublication.js.map +1 -0
  284. package/dist/upgrade/projectIntegration.js +46 -113
  285. package/dist/upgrade/projectIntegration.js.map +1 -1
  286. package/dist/upgrade/projectIntegrationDecision.js +6 -96
  287. package/dist/upgrade/projectIntegrationDecision.js.map +1 -1
  288. package/dist/upgrade/runtimeMigration.js +222 -402
  289. package/dist/upgrade/runtimeMigration.js.map +1 -1
  290. package/dist/upgrade/upgradeCommands.js +5 -4
  291. package/dist/upgrade/upgradeCommands.js.map +1 -1
  292. package/dist/upgrade/upgradeLock.js +73 -41
  293. package/dist/upgrade/upgradeLock.js.map +1 -1
  294. package/dist/upgrade/upgradeOrchestrator.js +181 -145
  295. package/dist/upgrade/upgradeOrchestrator.js.map +1 -1
  296. package/dist/upgrade/v3CapabilitySurface.js +2 -2
  297. package/dist/validate/appHomeContract.js +0 -4
  298. package/dist/validate/appHomeContract.js.map +1 -1
  299. package/dist/validate/crossCapability.js +2 -2
  300. package/dist/validate/crossCapability.js.map +1 -1
  301. package/package.json +8 -6
  302. package/bundle/.codex-plugin/plugin.json +0 -92
  303. package/bundle/.cursor/agents/agentera.md +0 -7
  304. package/bundle/.cursor/hooks.json +0 -32
  305. package/bundle/.cursor-plugin/plugin.json +0 -34
  306. package/bundle/.github/hooks/postToolUse.json +0 -9
  307. package/bundle/.github/hooks/preToolUse.json +0 -8
  308. package/bundle/.github/hooks/sessionEnd.json +0 -8
  309. package/bundle/.github/hooks/sessionStart.json +0 -8
  310. package/bundle/.github/plugin/plugin.json +0 -7
  311. package/bundle/.opencode/agents/agentera.md +0 -12
  312. package/bundle/.opencode/commands/agentera.md +0 -5
  313. package/bundle/.opencode/package.json +0 -31
  314. package/bundle/.opencode/plugins/agentera.js +0 -820
  315. package/bundle/agents/openai.yaml +0 -87
  316. package/bundle/hooks/codex-hooks.json +0 -31
  317. package/bundle/hooks/codex-plugin-hooks.json +0 -31
  318. package/bundle/plugin.json +0 -13
  319. package/bundle/references/adapters/cursor.md +0 -224
  320. package/bundle/references/adapters/opencode.md +0 -529
  321. package/bundle/references/adapters/runtime-adapter-characterization.md +0 -44
  322. package/bundle/references/adapters/runtime-adapter-interface-model.yaml +0 -200
  323. package/bundle/references/adapters/runtime-adapter-registry.yaml +0 -387
  324. package/bundle/references/adapters/runtime-feature-parity.md +0 -129
  325. package/dist/cli/commands/backfill.js +0 -194
  326. package/dist/cli/commands/backfill.js.map +0 -1
  327. package/dist/cli/commands/migrate.js +0 -677
  328. package/dist/cli/commands/migrate.js.map +0 -1
  329. package/dist/registries/runtimeAdapterRegistry.js +0 -324
  330. package/dist/registries/runtimeAdapterRegistry.js.map +0 -1
  331. package/dist/setup/copilot.js +0 -227
  332. package/dist/setup/copilot.js.map +0 -1
  333. package/dist/setup/cursor.js +0 -129
  334. package/dist/setup/cursor.js.map +0 -1
  335. package/dist/setup/cursorSurfaces.js +0 -67
  336. package/dist/setup/cursorSurfaces.js.map +0 -1
  337. package/dist/setup/doctor/core.js +0 -296
  338. package/dist/setup/doctor/core.js.map +0 -1
  339. package/dist/setup/doctor/diagnostics.js +0 -201
  340. package/dist/setup/doctor/diagnostics.js.map +0 -1
  341. package/dist/setup/doctor/opencode.js +0 -301
  342. package/dist/setup/doctor/opencode.js.map +0 -1
  343. package/dist/setup/doctor/report.js +0 -425
  344. package/dist/setup/doctor/report.js.map +0 -1
  345. package/dist/setup/doctor.js +0 -10
  346. package/dist/setup/doctor.js.map +0 -1
  347. package/dist/state/gitBackfill.js +0 -561
  348. package/dist/state/gitBackfill.js.map +0 -1
  349. package/dist/state/gitBackfillAuthority.js +0 -141
  350. package/dist/state/gitBackfillAuthority.js.map +0 -1
  351. package/dist/state/gitBackfillHistory.js +0 -278
  352. package/dist/state/gitBackfillHistory.js.map +0 -1
  353. package/dist/state/gitBackfillOutput.js +0 -209
  354. package/dist/state/gitBackfillOutput.js.map +0 -1
  355. package/dist/state/legacyMigration.js +0 -516
  356. package/dist/state/legacyMigration.js.map +0 -1
  357. package/dist/state/legacyMigrationParser.js +0 -489
  358. package/dist/state/legacyMigrationParser.js.map +0 -1
  359. package/dist/state/migrationAuthority.js +0 -413
  360. package/dist/state/migrationAuthority.js.map +0 -1
  361. package/dist/state/migrationEnrichment.js +0 -35
  362. package/dist/state/migrationEnrichment.js.map +0 -1
  363. package/dist/upgrade/migrateArtifactsV1ToV2.js +0 -568
  364. package/dist/upgrade/migrateArtifactsV1ToV2.js.map +0 -1
  365. package/dist/upgrade/upgradeSnapshot.js +0 -93
  366. package/dist/upgrade/upgradeSnapshot.js.map +0 -1
  367. package/dist/validate/lifecycleAdapters/legacyPythonParity.js +0 -93
  368. package/dist/validate/lifecycleAdapters/legacyPythonParity.js.map +0 -1
  369. package/dist/validate/lifecycleAdapters/lifecycleMain.js +0 -154
  370. package/dist/validate/lifecycleAdapters/lifecycleMain.js.map +0 -1
  371. package/dist/validate/lifecycleAdapters/nodeFormChecks.js +0 -481
  372. package/dist/validate/lifecycleAdapters/nodeFormChecks.js.map +0 -1
  373. package/dist/validate/lifecycleAdapters/shared.js +0 -198
  374. package/dist/validate/lifecycleAdapters/shared.js.map +0 -1
  375. package/dist/validate/lifecycleAdapters.js +0 -10
  376. package/dist/validate/lifecycleAdapters.js.map +0 -1
@@ -70,21 +70,21 @@ doctor:
70
70
  compatibility_alias: forbidden
71
71
  owns:
72
72
  - Agentera CLI self-check status
73
- - installed bundle status
74
- - install-root status
75
- - runtime adapter availability and configuration diagnostics
76
- - hook, package, and schema availability checks when implemented
73
+ - installed app and install-root status
74
+ - canonical shared-skill diagnosis
75
+ - project integration and project-state migration diagnostics
76
+ - bounded offline smoke checks when requested
77
77
  excludes:
78
78
  - project artifact health
79
79
  - codebase quality audit findings
80
80
  - inspektera architecture, test, dependency, or documentation audit output
81
81
  adjacent_surfaces:
82
82
  codebase_audit: /agentera audit routes to inspektera
83
- setup_specific_diagnostics: packages/cli/src/setup/doctor.ts
84
83
  rationale: >-
85
84
  Decision 45 rejects `bundle-status` as too narrow and rejects an alias for
86
- release-clean vocabulary; `doctor` is the CLI/install/runtime self-check
87
- vocabulary, while artifact health and codebase audits remain separate concerns.
85
+ release-clean vocabulary; `doctor` is the CLI, app, shared-skill, and project
86
+ integration self-check vocabulary, while artifact health and codebase audits
87
+ remain separate concerns.
88
88
  schema:
89
89
  status: implemented_runtime_introspection
90
90
  command: schema
@@ -237,7 +237,7 @@ structured_output:
237
237
  - project_integration
238
238
  - attention
239
239
  - history
240
- - runtime_lifecycle
240
+ - shared_skill
241
241
  - decision_attention
242
242
  - next_action
243
243
  - orchestration_context
@@ -332,7 +332,7 @@ structured_output:
332
332
  derives from the same `_decision_context_entry` and
333
333
  `_decision_satisfaction_context` semantics as bounded `agentera state
334
334
  decisions list --limit 20 --format json` plus exact `state decisions
335
- get --number N`, never infers satisfaction, never mutates `.agentera/decisions.yaml`,
335
+ get --id ID`, never infers satisfaction, never mutates decision entities,
336
336
  keeps top-level attention bounded, and must not change `next_action`
337
337
  routing priority.
338
338
  evidence_context_target_contract: evidence_context_target_contract
@@ -491,13 +491,13 @@ evidence_context_target_contract:
491
491
  fallback: none when complete_for_plan_artifact is true
492
492
  - family: progress_verification
493
493
  source: agentera state progress list --limit 20 --format json latest verification
494
- fallback: agentera state progress get --number N --format json
494
+ fallback: agentera state progress get --id ID --format json
495
495
  - family: docs_state
496
496
  source: agentera state docs --format json summary and entries
497
497
  fallback: agentera state docs --format json
498
498
  - family: health_state
499
499
  source: agentera state health list --limit 20 --format json latest audit
500
- fallback: agentera state health get --number N --format json
500
+ fallback: agentera state health get --id ID --format json
501
501
  - family: todo_state
502
502
  source: agentera state todo --format json known issues and source-contract TODOs
503
503
  fallback: agentera state todo --format json
@@ -575,7 +575,7 @@ field_selection:
575
575
  - project_integration
576
576
  - attention
577
577
  - history
578
- - runtime_lifecycle
578
+ - shared_skill
579
579
  - decision_attention
580
580
  - next_action
581
581
  - orchestration_context
@@ -25,10 +25,9 @@ scope:
25
25
  - Update channel names, dist-tag resolution, and override keys.
26
26
  - General prose outside app lifecycle metadata.
27
27
  compatibility_boundary: >-
28
- Compatibility identifiers such as `.agentera-bundle.json`, `bundle.status`,
29
- `activeBundleRoot`, and `--only bundle` may remain until an explicit migration
30
- exists. They do not make bundle/fresh/stale/refresh/fixed canonical app
31
- lifecycle status vocabulary.
28
+ Retired v2 identifiers such as `.agentera-bundle.json`, `bundle.status`,
29
+ `activeBundleRoot`, and `--only bundle` may remain only in migration readers,
30
+ fixtures, and released history. They are not current app lifecycle vocabulary.
32
31
  canonical_status_order:
33
32
  - up_to_date
34
33
  - outdated
@@ -12,7 +12,7 @@ scope:
12
12
  includes:
13
13
  - Current user-facing and diagnostic prose that names Agentera app files.
14
14
  - Package and distribution metadata that names the suite package shape.
15
- - Runtime hook packaging prose and metadata for plugin-shipped hooks.
15
+ - Historical classification of retired runtime hook packaging prose and metadata.
16
16
  - Historical references to the removed `bundle-status` command.
17
17
  - Current references to `skills/agentera/SKILL.md`.
18
18
  excludes:
@@ -52,8 +52,7 @@ canonical_concepts:
52
52
  suite_package:
53
53
  definition: >-
54
54
  The packaged distribution shape that ships the Agentera skill, CLI,
55
- scripts, hooks, references, runtime descriptors, and package metadata as
56
- one suite artifact.
55
+ references, and package metadata as one suite artifact.
57
56
  allowed_terms:
58
57
  - suite package
59
58
  - Agentera package
@@ -63,10 +62,10 @@ canonical_concepts:
63
62
  - bundle
64
63
  - single-bundle model
65
64
  - bundled suite
66
- plugin_shipped_hooks:
65
+ retired_plugin_shipped_hooks:
67
66
  definition: >-
68
- Hooks that are shipped by active runtime plugin package surfaces such as
69
- Codex, OpenCode, Cursor, or GitHub plugin metadata.
67
+ Historical term for hooks shipped by retired v2 host-native packages.
68
+ Current Agentera packages ship no host-native hooks or plugin metadata.
70
69
  allowed_terms:
71
70
  - plugin-shipped hooks
72
71
  - plugin-bundled hooks
@@ -155,6 +154,7 @@ focused_scan:
155
154
  allowed_classifications:
156
155
  - canonical
157
156
  - compatibility-preserved
157
+ - migration-only
158
158
  - historical
159
159
  - fixture-only
160
160
  - generic
@@ -162,7 +162,6 @@ focused_scan:
162
162
  - AGENTS.md
163
163
  - README.md
164
164
  - references/cli/vocabulary.md
165
- - references/adapters/opencode.md
166
165
  - (retired maintainer measurement tool)
167
166
  - skills/agentera/SKILL.md
168
167
  - skills/agentera/capabilities/hej/schemas/triggers.yaml
@@ -193,16 +192,8 @@ focused_scan:
193
192
  reason: Vocabulary docs use concrete skill entry file paths and source-index references.
194
193
  - path: ^references/cli/vocabulary\.md$
195
194
  text: --only bundle|\.agentera-bundle\.json|bundle\.status|activeBundleRoot|bundle-status
196
- classification: compatibility-preserved
197
- reason: Vocabulary docs preserve shipped compatibility identifiers and removed command references.
198
- - path: ^references/adapters/opencode\.md$
199
- text: bundled Agentera dashboard path|bundled `agentera` skill|bundled Agentera
200
- classification: generic
201
- reason: OpenCode adapter prose uses bundled in the ordinary package-shipping sense, not as Agentera app-file terminology.
202
- - path: ^references/adapters/opencode\.md$
203
- text: SKILL\.md files|<name>/SKILL\.md|skills/\*/SKILL\.md|skills/agentera/SKILL\.md
204
- classification: compatibility-preserved
205
- reason: OpenCode adapter prose documents concrete runtime skill entry file paths.
195
+ classification: migration-only
196
+ reason: Vocabulary docs classify retired v2 identifiers for migration evidence and released history only.
206
197
  - path: ^scripts/measure_token_payload\.py$
207
198
  text: 'v1 baseline: all 12 v1 SKILL\.md files|skill_root / "SKILL\.md"'
208
199
  classification: historical
@@ -223,7 +214,7 @@ focused_scan:
223
214
  text: .
224
215
  classification: fixture-only
225
216
  reason: Runtime adapter tests use fixture paths, expected diagnostics, package metadata, and compatibility test class names.
226
- compatibility_identifiers:
217
+ migration_identifiers:
227
218
  bundle:
228
219
  - .agentera-bundle.json
229
220
  - bundle.status
@@ -1,7 +1,7 @@
1
1
  # Capability tool classification authority
2
2
  # Defines which tools each capability subagent needs to fulfill its purpose.
3
- # Consumed by: descriptor validation, regression tests, runtime adapter docs.
4
- # Source of truth for per-capability tool requirements across all runtimes.
3
+ # Consumed by shared-skill worker metadata validation and regression tests.
4
+ # Hosts provide and enforce their own tool surfaces; Agentera ships no native adapter.
5
5
 
6
6
  classification:
7
7
  mutation_capable:
@@ -22,34 +22,6 @@ exclusions:
22
22
  # Tasks 2-4 MUST keep every consumed field resolvable from a declared surface.
23
23
  # ---------------------------------------------------------------------------
24
24
  consumers:
25
- - id: opencode_compaction_context
26
- startup_command: agentera prime --format json
27
- evidence: .opencode/plugins/agentera.js:502-517
28
- consumed_fields:
29
- - mode
30
- - profile.status
31
- - profile
32
- - health.grade
33
- - health.trajectory
34
- - health
35
- - issues
36
- - plan
37
- - plan.exists
38
- - plan.status
39
- - plan.title
40
- - plan.first_pending.name
41
- - progress
42
- - progress.latest
43
- - progress.latest.number
44
- - progress.latest.what
45
- - progress.latest.next
46
- - next_action
47
- - next_action.object
48
- - attention
49
- notes: >-
50
- Reads the deprecated `issues` alias instead of `todo` (lines 480-486).
51
- This is the only documented runtime consumer of the deprecated alias, so
52
- `issues` is transition-required until the stable cut.
53
25
  - id: status_dashboard_renderer
54
26
  startup_command: agentera prime --context status --format json
55
27
  evidence: skills/agentera/SKILL.md:68
@@ -75,43 +47,35 @@ consumers:
75
47
  through the named command in the status context, never by raw artifact read.
76
48
  - id: capability_context_dispatcher
77
49
  startup_command: agentera prime --context <capability> --format json
78
- evidence: .opencode/agents/agentera.md:12
79
- alt_evidence: .cursor/agents/agentera.md:7
80
- runtime_evidence: packages/cli/src/cli/capabilityContext/startup.ts:250
50
+ evidence: packages/cli/src/cli/capabilityContext/startup.ts:250
51
+ skill_evidence: skills/agentera/SKILL.md:68-103
81
52
  consumed_fields:
82
53
  - command
83
54
  - status
84
55
  - capability_context
85
56
  - capability_context.instructions
86
57
  notes: >-
87
- Per-capability startup capsule. The runtime emits
58
+ Per-capability startup capsule. The CLI emits
88
59
  `capability_context.instructions` (the capability's instructions module),
89
- not `prose`. The agent descriptors (.opencode/agents/agentera.md and
90
- .cursor/agents/agentera.md) formerly documented a `prose` field that the
91
- v3 runtime never emits; they were reconciled to
92
- `capability_context.instructions` to match
93
- packages/cli/src/cli/capabilityContext/startup.ts:250 and
94
- skills/agentera/SKILL.md (lines 68, 103), which already documented
95
- `capability_context.instructions`. This consumer governs the `--context`
60
+ not `prose`; the shared skill consumes that field directly. This consumer
61
+ governs the `--context`
96
62
  surface, not the bare briefing; the bounded decision brief (Task 3) must
97
63
  not break the `--context` capsule. Executable fixture proves the emitted
98
64
  payload contains `capability_context.instructions` and NOT `prose`.
99
65
  - id: packaging_distribution_gate
100
66
  startup_command: agentera prime --format json
101
- evidence: docs/packaging/v3-packaging.md:130-139
67
+ evidence: packages/cli/test/packaging/packageVerification.test.ts
102
68
  consumed_fields:
103
69
  - command
104
70
  - status
105
71
  - app_home
106
72
  - app_home.source
107
73
  notes: >-
108
- Distribution/packaging verification matrix consumer. The Prime gate
109
- (line 136) asserts `command: "prime"`, `status: "ok"`, and that
110
- `app_home.source` reflects resolution; the Bun smoke gate (line 139)
111
- asserts the published single binary runs `agentera prime --format json`
112
- and exits 0 with the same JSON shape. Tasks 2-4 must keep the published
113
- prime JSON shape stable so packaged binaries and fresh-cache npx gates
114
- keep passing. Not a dashboard consumer; does not read state families.
74
+ Distribution-boundary consumer. The one extracted-package conjunction
75
+ asserts `command: "prime"`, `status: "ok"`, and that `app_home.source`
76
+ reflects resolution after the packed upgrade path. Tasks 2-4 must keep
77
+ the published prime JSON shape stable so fresh-cache npx gates keep
78
+ passing. Not a dashboard consumer; does not read state families.
115
79
  - id: json_output_surface_manifest
116
80
  startup_command: agentera prime [ --dashboard | --context <capability> ] --format json
117
81
  evidence: scripts/json_output_surface_manifest.yaml:47-161
@@ -136,9 +100,8 @@ consumers:
136
100
  from the retired `prose` field to the v3 `capability_context.instructions`
137
101
  field after the second Task 1 evaluation found this guidance was the one
138
102
  remaining live consumer contradiction. Runtime authority
139
- (capabilityContext/startup.ts:250), SKILL.md (lines 68, 103), and the
140
- agent descriptors (.opencode/agents/agentera.md, .cursor/agents/agentera.md)
141
- all already used `capability_context.instructions`. The
103
+ (capabilityContext/startup.ts:250) and SKILL.md (lines 68, 103) both use
104
+ `capability_context.instructions`. The
142
105
  `documentation_drift` guard below prevents this guidance from drifting
143
106
  back to `prose`; it does not execute a prime command.
144
107
 
@@ -154,7 +117,7 @@ consumers:
154
117
  # and kept until the 3.0.0 stable cut; it is excluded only from the canonical
155
118
  # advertised `source_contract.fields` set (one canonical representation — `todo`
156
119
  # is canonical). It is NOT selector-only: it ships in the default bare briefing
157
- # for the opencode_compaction_context consumer that still reads it.
120
+ # only as bounded CLI transition compatibility.
158
121
  # ---------------------------------------------------------------------------
159
122
  field_authorities:
160
123
  - id: orientation_output_emission
@@ -194,7 +157,7 @@ field_authorities:
194
157
  notes: >-
195
158
  Reconciled by Task 2: both hej.fields lists now mirror the canonical
196
159
  27-field set (retired `bundle` dropped; app, app_home, project_integration,
197
- runtime_lifecycle, and history added).
160
+ shared_skill, project_integration, and history added).
198
161
 
199
162
  # ---------------------------------------------------------------------------
200
163
  # Field classification. Every field proposed for omission is classified with a
@@ -264,8 +227,8 @@ field_classification:
264
227
  - field: project_integration
265
228
  status: required
266
229
  rationale: >-
267
- Status routing consumes the recommendation and aggregate lifecycle state;
268
- the bounded brief retains the routing projection even when no upgrade
230
+ Status routing consumes the app and project-state recommendation; the
231
+ bounded brief retains that routing projection even when no upgrade
269
232
  recommendation is active.
270
233
  - field: attention
271
234
  status: required
@@ -276,11 +239,9 @@ field_classification:
276
239
  Startup history. The bounded brief retains counts and named retrieval
277
240
  pointers while omitting entry detail; explicit state list/get commands
278
241
  recover the current history.
279
- - field: runtime_lifecycle
280
- status: conditional
281
- rationale: >-
282
- Diagnostic. Plan constraint: unrelated lifecycle diagnostics are omitted
283
- unless status declares them necessary for the current brief (Task 4).
242
+ - field: shared_skill
243
+ status: required
244
+ rationale: Canonical shared-skill path and read-only diagnosis.
284
245
  - field: decision_attention
285
246
  status: conditional
286
247
  rationale: Null unless returned decisions require satisfaction review.
@@ -326,10 +287,9 @@ field_classification:
326
287
  - field: issues
327
288
  status: deprecated_transition
328
289
  rationale: >-
329
- Deprecated alias of `todo`. opencode_compaction_context reads it
330
- (.opencode/plugins/agentera.js:480-486). Removable at the 3.0.0 stable cut
331
- only; tracked in TODO.md [fix:3.0.0]. Tasks 2-4 must keep the alias and
332
- the stderr deprecation warning.
290
+ Deprecated alias of `todo`. No current consumer in this inventory reads
291
+ it; the alias remains only as bounded CLI transition compatibility until
292
+ its owning contract removes it.
333
293
  - field: bundle
334
294
  status: retired
335
295
  rationale: >-
@@ -369,9 +329,9 @@ public_output_policy:
369
329
  separate bare-prime call or raw artifact read. The `--context` capsule
370
330
  contract (command/status/capability_context) is unchanged. The status
371
331
  capsule puts the canonical Task 3 projection at
372
- `capability_context.context.status_context`; unrelated per-runtime
373
- lifecycle diagnostics are omitted while aggregate release-blocking state
374
- remains available for routing.
332
+ `capability_context.context.status_context`; app/project integration and
333
+ shared-skill diagnosis remain available for routing while unrelated detail
334
+ is omitted.
375
335
  status_context_contract:
376
336
  startup_command: agentera prime --context status --format json
377
337
  state_path: capability_context.context.status_context
@@ -474,7 +434,7 @@ default_emission_omission_contract:
474
434
  only; diagnostics measured separately on stderr.
475
435
  retained_top_level_fields: >-
476
436
  Every field in never_omitted plus command, status, app_home, app, mode,
477
- history, runtime_lifecycle, project_integration, decision_attention, and
437
+ history, shared_skill, project_integration, decision_attention, and
478
438
  the bespoke context pointers (kept null on the bare surface). The
479
439
  conditional v1_migration/docs/objective are retained when active (see
480
440
  omitted_when_default). issues ships as the deprecated transition alias.
@@ -491,9 +451,6 @@ default_emission_omission_contract:
491
451
  - field: history.{progress,decisions,health}.entries
492
452
  reason: startup_history_entries
493
453
  recovery: agentera state <artifact> list --limit 20 --format json
494
- - field: runtime_lifecycle.runtimes
495
- reason: lifecycle_runtime_detail
496
- recovery: agentera upgrade --dry-run --format json
497
454
  - field: project_integration.phases
498
455
  reason: phase_blockers
499
456
  recovery: agentera doctor --format json
@@ -546,7 +503,7 @@ declared_available_fields:
546
503
  - project_integration
547
504
  - attention
548
505
  - history
549
- - runtime_lifecycle
506
+ - shared_skill
550
507
  - decision_attention
551
508
  - next_action
552
509
  - orchestration_context
@@ -560,33 +517,6 @@ declared_available_fields:
560
517
  - issues
561
518
  fixtures:
562
519
  pass:
563
- - consumer: opencode_compaction_context
564
- executable_command: agentera prime --format json
565
- depends_on:
566
- - mode
567
- - profile
568
- - health
569
- - issues
570
- - plan
571
- - progress
572
- - next_action
573
- - attention
574
- nested_fields:
575
- - profile.status
576
- - next_action.object
577
- conditional_nested_fields:
578
- - path: health.grade
579
- present_when: health.exists
580
- - path: health.trajectory
581
- present_when: health.exists
582
- - path: plan.first_pending.name
583
- present_when: plan.first_pending
584
- - path: progress.latest.number
585
- present_when: progress.latest
586
- - path: progress.latest.what
587
- present_when: progress.latest
588
- - path: progress.latest.next
589
- present_when: progress.latest
590
520
  - consumer: status_dashboard_renderer
591
521
  executable_command: agentera prime --context status --format json
592
522
  depends_on:
@@ -2,7 +2,7 @@ schema_version: agentera.routing_execution_vocabulary.v1
2
2
  status: active_authority
3
3
  purpose: >-
4
4
  Define routing and execution vocabulary boundaries so request routing, next-action
5
- recommendation, Orkestrera task assignment, worker launch, runtime support, and
5
+ recommendation, Orkestrera task assignment, worker launch, host-provided worker support, and
6
6
  worker-safety Git commits stay distinct without forcing mechanical renames of
7
7
  shipped compatibility identifiers or historical evidence.
8
8
  sources:
@@ -14,7 +14,7 @@ scope:
14
14
  - Hej and capability next-action recommendations that wait for confirmation.
15
15
  - Orkestrera assignment of approved plan work to worker capabilities.
16
16
  - Realisera and Optimera launch of runtime workers.
17
- - Runtime subagent support mechanisms and compatibility identifiers.
17
+ - Host-provided worker mechanisms without Agentera-owned runtime integration.
18
18
  - Git commit safety language before spawning isolated worker execution.
19
19
  excludes:
20
20
  - Broad current-prose replacement across capability instructions.
@@ -96,8 +96,8 @@ canonical_concepts:
96
96
  - launch substrate
97
97
  runtime_subagent_support:
98
98
  definition: >-
99
- Runtime-specific support that lets Agentera use a host's subagent surface,
100
- descriptor model, or equivalent worker mechanism.
99
+ A worker mechanism supplied by the coding host. Agentera may request a
100
+ worker but ships no host-specific descriptor, adapter, plugin, or hook.
101
101
  preferred_terms:
102
102
  - subagent mechanism
103
103
  - runtime subagent mechanism
@@ -167,7 +167,6 @@ focused_scan:
167
167
  paths:
168
168
  - AGENTS.md
169
169
  - references/cli/vocabulary.md
170
- - references/adapters/runtime-feature-parity.md
171
170
  - (retired maintainer measurement tool)
172
171
  - skills/agentera/SKILL.md
173
172
  - skills/agentera/references/contract.md
@@ -198,10 +197,6 @@ focused_scan:
198
197
  text: subagent_dispatch|fixture names
199
198
  classification: compatibility-preserved
200
199
  reason: Routing vocabulary docs preserve explicit compatibility identifiers and fixture terminology.
201
- - path: ^references/adapters/runtime-feature-parity\.md$
202
- text: prompt rewrite router|Subagent Dispatch|Dispatch surface|Capability dispatch|subagent dispatch
203
- classification: compatibility-preserved
204
- reason: Runtime parity docs name concrete host and compatibility surfaces around descriptor dispatch support.
205
200
  - path: ^scripts/measure_token_payload\.py$
206
201
  text: static dispatch payload|Agentera router
207
202
  classification: historical
@@ -238,20 +233,7 @@ focused_scan:
238
233
  text: '`dispatch`: invoke another capability autonomously|`chain`: dispatch multiple capabilities autonomously|In orkestrera only, `dispatch` and `chain` are autonomous'
239
234
  classification: fixture-only
240
235
  reason: Skill dispatch contract tests assert the canonical Orkestrera dispatch reservation.
241
- - path: ^tests/test_runtime_adapters\.py$
242
- text: opencode bare-hej router|routeBareHejMessage|subagent_dispatch
243
- classification: fixture-only
244
- reason: Runtime adapter tests assert plugin routing helpers and compatibility identifier fixtures.
245
- - path: ^tests/test_runtime_adapter_registry\.py$
246
- text: subagent_dispatch
247
- classification: code-identifier
248
- reason: Runtime adapter registry tests preserve the shipped subagent_dispatch field name.
249
236
  compatibility_identifiers:
250
- runtime_adapter:
251
- - subagent_dispatch
252
- - RuntimeAdapter.subagent_dispatch
253
- - subagent_dispatch.supported
254
- - subagent_dispatch.group
255
237
  route_aliases:
256
238
  - ROUTE_ALIASES
257
239
  - primary_aliases
@@ -45,7 +45,8 @@ channels:
45
45
  supported 2.x line until you explicitly opt in through npm.
46
46
  guide_url: >-
47
47
  https://github.com/jgabor/agentera/blob/main/UPGRADE.md#upgrading-v2-to-v3-development-channel-irreversible
48
- preview_command: npx -y agentera@next upgrade --dry-run --channel development
48
+ preview_command: npx -y agentera@next upgrade --channel development --project "$PWD" --dry-run
49
+ apply_command: npx -y agentera@next upgrade --channel development --project "$PWD" --yes
49
50
  irreversible_advisory: >-
50
51
  Forward migration to the successor line is one-way; return to the prior
51
52
  Python support line is permanently unsupported.
@@ -75,7 +76,8 @@ channels:
75
76
  The v3 successor line is npm-only; opt in to v2→v3 migration through npx @next.
76
77
  guide_url: >-
77
78
  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
+ preview_command: npx -y agentera@next upgrade --channel development --project "$PWD" --dry-run
80
+ apply_command: npx -y agentera@next upgrade --channel development --project "$PWD" --yes
79
81
  irreversible_advisory: >-
80
82
  Forward migration to the v3 line is one-way; return to the prior
81
83
  Python support line is permanently unsupported.
@@ -1,34 +1,14 @@
1
- # Upgrade repair wording — v3 cursor agent skip
1
+ # Upgrade repair wording
2
2
 
3
- When `agentera upgrade --runtime cursor` (or a full runtime phase) runs against a
4
- **project** directory, managed `.cursor/agents/*.md` descriptors are normally
5
- copied from the active app-home bundle. On a **v3 capability-surface** project
6
- that signal is suppressed so D65 `prime --context` bodies are not regressed to
7
- the retired `instructions.md` read path.
3
+ ## Runtime migration boundary
8
4
 
9
- ## v3 surface probe
5
+ Recognized v2-to-v3 project migration rewires existing Agentera v2 hook
6
+ configurations to the npm CLI and retires only proven Agentera-owned legacy hook
7
+ files. It does not copy or refresh plugins, agents, commands, or skill links.
10
8
 
11
- Treat the project as v3 when **all twelve** instruction modules exist:
12
-
13
- `packages/cli/src/capabilities/<name>/instructions.ts`
14
-
15
- for every routed capability (`status`, `vision`, `discuss`, `research`,
16
- `plan`, `build`, `optimize`, `audit`, `document`, `profile`,
17
- `design`, `orchestrate`).
18
-
19
- If any module is missing, preserve v2 upgrade behavior (copy/refresh managed
20
- agents from the bundle).
21
-
22
- ## Orchestrator behavior
23
-
24
- | Orchestrator | Branch | Behavior |
25
- | --- | --- | --- |
26
- | TypeScript (`packages/cli/src/upgrade/runtimeMigration.ts`) | `feat/v3` | On v3 probe match, emit `skipped` `copy-agent` items for in-tree `.cursor/agents/` instead of copying from the bundle. |
27
- | Python (`scripts/agentera_upgrade.py`) | `main` (stable) | Same probe before the cursor agent copy loop; do not schedule `copy-agent` targets under the project when the probe matches. Backport per the both-branch pattern. |
28
-
29
- ## User-visible skip message
30
-
31
- `v3 capability instruction modules present; in-tree .cursor/agents/ uses prime --context and is not overwritten`
9
+ Runtime lifecycle installation and remediation are separate. Apply requires an
10
+ explicit `--runtime` selector and `--yes`; declared ownership, collision
11
+ remediation, and convergent retry behavior remain governed by `UPGRADE.md`.
32
12
 
33
13
  ## v2 install track successor surfacing (#32)
34
14
 
@@ -47,9 +47,8 @@ required_top_level_fields:
47
47
  items:
48
48
  type: string
49
49
  description: >-
50
- Runtime adapter ids (references/adapters/runtime-adapter-registry.yaml)
51
- that the v2 install actively uses runtimes whose setup doctor status is
52
- pass at write time.
50
+ Historical runtime adapter ids that the v2 install actively used at handoff.
51
+ The v3 reader treats these as migration evidence, not active runtime inventory.
53
52
  user_data_inventory_catalog:
54
53
  - id: benchmarks
55
54
  relative_path: benchmarks