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
package/bundle/UPGRADE.md CHANGED
@@ -1,141 +1,74 @@
1
- # Upgrade and runtime lifecycle
1
+ # Upgrade and migration
2
2
 
3
- Agentera 3.0 uses one upgrade command for project/app migration and explicitly
4
- selected runtime lifecycle work. Preview and apply are separate operations.
3
+ Agentera 3.0 uses one upgrade command for app/project migration and explicit
4
+ retired Claude cleanup. Preview and apply are separate operations. Current
5
+ runtime installation and repair are not upgrade operations.
5
6
 
6
7
  Before the npm stable dist-tag promotion, use `agentera@next`. The stable 2.x
7
- channel remains `agentera@latest` until that promotion; this repository does
8
- not publish or retag as part of an upgrade run.
8
+ channel remains `agentera@latest` until that promotion; upgrade does not publish
9
+ or retag packages.
9
10
 
10
- ## Start with a preview
11
+ ## Active integration
11
12
 
12
- ```bash
13
- npx -y agentera@next upgrade --dry-run --channel development
14
- ```
13
+ Agentera has one active integration contract:
15
14
 
16
- On the v3 development channel, a dry-run without `--runtime` also observes all
17
- active runtimes so blocked app or channel phases do not hide lifecycle findings.
18
- The preview remains read-only. Runtime apply is explicit:
19
-
20
- ```bash
21
- npx -y agentera@next upgrade --runtime all --dry-run
22
- npx -y agentera@next upgrade --runtime cursor --dry-run
15
+ ```text
16
+ ~/.agents/skills/agentera + agentera CLI
23
17
  ```
24
18
 
25
- The active runtimes are OpenCode, Codex, Cursor, and GitHub Copilot. Selectors
26
- are `all`, `opencode`, `codex`, `cursor`, and `copilot`.
27
- `cursor-agent` is not a selector: Cursor Agent CLI and Cursor IDE are surfaces
28
- of the one `cursor` identity. CLI is required; IDE is conditional.
19
+ Normal `prime`, `doctor`, `schema`, help, and project-integration output reports
20
+ that shared skill and CLI/app/project state. Normal `upgrade` has no
21
+ current-runtime selector or native-resource operation set. It creates no current
22
+ plugin, hook, agent, command, descriptor, or marketplace file and does not run
23
+ runtime package managers, authentication, enablement, or trust operations.
29
24
 
30
- The preview is strictly read-only. It creates no files, directories, locks,
31
- caches, ownership journals, telemetry, or other state changes. Its output
32
- includes:
25
+ Passing `--runtime` fails before mutation. Remove `--runtime`, ensure the runtime
26
+ can read `~/.agents/skills/agentera`, and invoke the CLI directly. The supported
27
+ v2 migration and Claude cleanup routes below are separate from normal active
28
+ integration.
33
29
 
34
- - observed runtime and surface evidence;
35
- - skill, plugin, hook, agent, configuration, enablement, trust, and native-action state;
36
- - planned operations and dependencies;
37
- - current ownership evidence and blocked reasons;
38
- - exact manual or host-native actions;
39
- - required support-floor gaps.
30
+ ## Preview and apply
40
31
 
41
- `prime` exposes a bounded projection of the same snapshot. `doctor` exposes the
42
- detailed read-only diagnosis:
32
+ Preview normal app/project work:
43
33
 
44
34
  ```bash
45
- npx -y agentera@next prime --format json
46
- npx -y agentera@next doctor --format json
35
+ npx -y agentera@next upgrade --dry-run --channel development
47
36
  ```
48
37
 
49
- Status and project-integration recommendations use the same lifecycle identity,
50
- counts, blockers, and retry guidance as `prime` and `doctor`.
51
-
52
- ## Apply approved Agentera-owned work
53
-
54
- After reviewing an all-runtime preview, use its generated command or rerun the
55
- selection explicitly with `--runtime all --yes`:
38
+ The preview is strictly read-only: it creates no files, directories, locks,
39
+ caches, ownership records, telemetry, or other state. Apply only after reviewing
40
+ the generated command:
56
41
 
57
42
  ```bash
58
- npx -y agentera@next upgrade --runtime all --yes
43
+ npx -y agentera@next upgrade --yes --channel development
59
44
  ```
60
45
 
61
- An apply invoked without `--runtime` retains the existing app-only behavior.
62
- Named selectors such as `--runtime cursor` limit runtime-specific writes to that
63
- identity. Stable-channel v2 behavior remains app-only.
64
-
65
- Apply can write only resources declared by the lifecycle contract and proven
66
- Agentera-owned by the append-only ownership journal. Matching names or bytes do
67
- not establish ownership. User-owned, ambiguous, shadowed, or malformed targets
68
- remain blocked.
46
+ `prime` and `doctor` expose the same app/project classification and shared-skill
47
+ state:
69
48
 
70
- For every blocked collision, the exact remediation is: “The destination is not
71
- ledger-owned; review the collision manually. Agentera will not adopt it by name
72
- or equality.” The destination remains unchanged until authoritative ownership is
73
- available.
74
-
75
- The operation outcomes are:
76
-
77
- - `applied` — the declared change was published;
78
- - `noop` — desired state was already exact;
79
- - `failed` — this operation failed; independent operations may continue;
80
- - `blocked_unowned` — ownership was not proven;
81
- - `skipped_dependency` — a prerequisite did not complete;
82
- - `action_required` — the user or host must perform the step.
83
-
84
- Retries are designed to converge. Completed work becomes `noop`; failed or
85
- pending work is re-observed and retried. Corrupt, forked, disconnected, or
86
- non-contiguous ownership journals fail closed.
87
-
88
- Secure automatic filesystem publication currently requires Linux
89
- `/proc/self/fd`. On macOS, Windows, or a Linux environment without that secure
90
- primitive, preview and diagnosis still work but mutation is returned as
91
- `action_required`.
92
-
93
- ## Ownership and trust boundary
94
-
95
- The canonical skill is:
96
-
97
- ```text
98
- ~/.agents/skills/agentera
49
+ ```bash
50
+ npx -y agentera@next prime --format json
51
+ npx -y agentera@next doctor --format json
99
52
  ```
100
53
 
101
- Agentera can maintain declared Agentera-owned skill, plugin, hook, and agent
102
- resources. It does not run native runtime package managers or approve:
103
-
104
- - runtime installation or self-update;
105
- - authentication;
106
- - plugin or hook enablement;
107
- - trust prompts or organizational policy;
108
- - user-owned configuration collisions.
109
-
110
- Those steps are reported with exact remediation and remain user-owned.
111
-
112
- ## Cursor lifecycle
113
-
114
- Cursor is one runtime identity with two surfaces:
115
-
116
- | Surface | Support-floor role | Typical source |
117
- | --- | --- | --- |
118
- | Agent CLI | required | Cursor CLI binary and canonical shared skill |
119
- | IDE | conditional | `.cursor-plugin/plugin.json`, `.cursor/hooks.json`, `.cursor/agents/` |
120
-
121
- An absent IDE does not block a CLI-only installation. Once IDE evidence is
122
- present, its incomplete or denied mandatory evidence is reported beneath the
123
- same Cursor identity.
54
+ Retries re-observe the current app/project state. Completed migration work
55
+ converges to no change; interrupted v2 migration continues through the same full
56
+ apply command.
124
57
 
125
58
  ## Retired Claude cleanup
126
59
 
127
- Claude Code is not an active Agentera runtime and cannot be passed to
128
- `--runtime`. Its legacy cleanup is a separate explicit selection:
60
+ Claude cleanup is a distinct historical route, not a current-runtime selection:
129
61
 
130
62
  ```bash
131
63
  npx -y agentera@next upgrade --legacy-cleanup claude --dry-run
132
64
  npx -y agentera@next upgrade --legacy-cleanup claude --yes
133
65
  ```
134
66
 
135
- Cleanup is limited to the exact Agentera-owned legacy skill link recorded by
136
- the ownership ledger. It never removes Claude projects, transcripts, settings,
67
+ Cleanup is limited to the exact Agentera-owned legacy skill link recorded by the
68
+ ownership journal. It never removes Claude projects, transcripts, settings,
137
69
  credentials, caches, or other user data. Ambiguous or unowned resources remain
138
- blocked.
70
+ blocked. Preview is read-only; apply is idempotent and can be retried with the
71
+ same explicit selection.
139
72
 
140
73
  Historical transcript import is independent of cleanup. Default extraction and
141
74
  analytics do not read Claude history. Import requires explicit local consent:
@@ -145,9 +78,9 @@ npx -y agentera@next report refresh --import-source claude
145
78
  ```
146
79
 
147
80
  Imported records carry `historical_import` provenance, have no active runtime
148
- ID, and remain excluded from default active-runtime analytics.
81
+ ID, and remain excluded from default active-source analytics.
149
82
 
150
- ## Recommended upgrade v1 & v2 stable channel
83
+ ## Stable v2 line
151
84
 
152
85
  The stable `@latest` channel remains on the supported 2.x line. Preview before
153
86
  applying an in-line upgrade:
@@ -157,77 +90,35 @@ npx -y agentera@latest upgrade --dry-run
157
90
  npx -y agentera@latest upgrade --yes
158
91
  ```
159
92
 
160
- Use the v3 development migration below only when you explicitly intend to
161
- leave the stable line.
93
+ Use the v3 development migration below only when you explicitly intend to leave
94
+ the stable line.
162
95
 
163
- ## Upgrading v2 to v3 development channel (irreversible)
96
+ ## Upgrading v2 to v3 development channel
164
97
 
165
- Use the development channel explicitly while 3.0 is on `@next`:
98
+ Recognized marker-absent v2 aggregate state has one supported forward route:
166
99
 
167
100
  ```bash
168
101
  npx -y agentera@next upgrade --channel development --project "$PWD" --dry-run
169
102
  npx -y agentera@next upgrade --channel development --project "$PWD" --yes
170
103
  ```
171
104
 
172
- The preview reports artifact migration, app migration, legacy cleanup, and any
173
- explicitly selected runtime work as separate phases. It does not cross the
174
- major boundary or mutate the project without `--yes`.
175
-
176
- Forward migration to v3 is one-way. Returning to the prior Python 2.x support
177
- line is permanently unsupported; review the development-channel preview before
178
- applying it.
179
-
180
- Useful phase filters are repeatable:
181
-
182
- ```bash
183
- npx -y agentera@next upgrade --only artifacts --dry-run
184
- npx -y agentera@next upgrade --only runtime --dry-run
185
- npx -y agentera@next upgrade --only cleanup --dry-run
186
- ```
187
-
188
- `--only runtime` filters the v2-to-v3 project-migration runtime phase. It does
189
- not select an Agentera runtime identity or limit lifecycle diagnosis. Use
190
- `--runtime all|opencode|codex|cursor|copilot` for lifecycle work; it cannot be
191
- combined with `--only`. Development-channel dry-runs without `--runtime` still
192
- observe all active lifecycle runtimes.
193
-
194
- ## Legacy state and optional Git enrichment
105
+ The optional preview is read-only. Before apply, commit or restore the complete
106
+ v2 migration source: every input must be a regular file tracked by Git and
107
+ unchanged at `HEAD`. Apply performs the full project rewiring and entity-state
108
+ cutover, then validates state and representative `prime` startup. Rewiring may
109
+ update recognized v2 project files; it does not install current native resources.
195
110
 
196
- Project-state migration and historical Git enrichment are separate local
197
- operations. Migration does not read Git, contact a remote, or remove its source
198
- files. Its default inventory and `--dry-run` are read-only; apply requires the
199
- exact artifact and entry selectors with `--apply --force`:
111
+ Forward migration is one-way. Returning to the Python 2.x line is unsupported,
112
+ and cross-major apply has no rollback, restore, non-Git, or partial workflow.
113
+ If apply is interrupted, rerun the same full apply command.
200
114
 
201
- ```bash
202
- npx -y agentera@next state migrate --project "$PWD" --artifact progress --number N --dry-run --format json
203
- npx -y agentera@next state migrate --project "$PWD" --artifact progress --number N --apply --force --format json
204
- ```
115
+ ## Unsupported legacy state
205
116
 
206
- Git enrichment is optional. A preview is useful but not required before direct
207
- apply. Inventory and preview may use the current working directory when
208
- `--project` is omitted; direct apply must name `--project PATH` explicitly.
209
- Apply revalidates the selected project, current `HEAD`, allowed-ref
210
- reachability, candidate provenance and content, and the immutable archive target
211
- immediately before publication:
212
-
213
- ```bash
214
- npx -y agentera@next state backfill --project "$PWD" --artifact progress --number N --dry-run --format json
215
- npx -y agentera@next state backfill --project "$PWD" --artifact progress --number N --apply --force --format json
216
- ```
217
-
218
- The backfill contract is bounded to 100 result rows, 500 history units, and
219
- 16 MiB of Git output. It inspects only `HEAD`, local heads, and tags; remote and
220
- custom refs and operations are excluded. Returned provenance keeps the commit,
221
- path, blob ID, stable entry ID, content hash, and reachability so a result can
222
- be traced without adding commit fields to the archive record.
223
-
224
- `complete`, `degraded`, `blocked`, and `unavailable` are explicit outcomes.
225
- Changed, shallow, rewritten, ambiguous, corrupt, missing, bounded, unavailable,
226
- and immutable-conflict results are reported rather than guessed. Resolve the
227
- reported local condition and retry the same selectors; refused operations leave
228
- active projections and existing archives unchanged, and identical publication
229
- converges as a replay. The full command, limits, failure, recovery, and
230
- traceability contract is `references/artifacts/state-storage-authority.yaml`.
117
+ Pending v1 Markdown state and unknown marker-absent state are not automatic
118
+ mutation inputs. `state migrate`, `state backfill`, projection repair, v1
119
+ conversion, restore, and downgrade are unsupported. The read-only
120
+ `state migrate entities --dry-run` diagnostic may inventory cutover input but
121
+ cannot publish it.
231
122
 
232
123
  ## Verification and recovery
233
124
 
@@ -239,16 +130,11 @@ npx -y agentera@next prime --format json
239
130
  ```
240
131
 
241
132
  `upgrade --verify` without `--yes` is a read-only doctor and capability-context
242
- verification. With `--yes`, it runs those checks after the approved upgrade
243
- apply. Lifecycle selections with `--verify` require `--yes`.
244
- `upgrade --restore` restores the latest supported app-migration snapshot; it
245
- does not bypass lifecycle ownership or trust checks. For lifecycle partial
246
- failure, rerun the same preview and apply selection. Do not delete or hand-edit
247
- the ownership journal to force adoption.
133
+ verification. With `--yes`, it runs those checks after approved migration.
134
+ Explicit Claude cleanup with `--verify` requires `--yes`.
248
135
 
249
136
  `--force` applies only where the owning migration contract explicitly permits
250
- replacement. It does not convert user-owned resources into Agentera-owned
251
- resources and does not approve native or trust actions.
137
+ replacement. It never adopts user-owned resources.
252
138
 
253
139
  ## Maintainer verification
254
140
 
@@ -258,8 +144,14 @@ Release preparation does not publish, tag, or push:
258
144
  pnpm -C packages/cli test
259
145
  pnpm -C packages/cli run typecheck
260
146
  pnpm -C packages/cli build
261
- node packages/cli/dist/bin/agentera.js check validate lifecycle-adapters
147
+ node packages/cli/dist/bin/agentera.js check validate capability-contract --format json
262
148
  node packages/cli/dist/bin/agentera.js check validate release-metadata
263
- pnpm -C packages/cli run bundle:data
264
- npm pack --dry-run --json --ignore-scripts
265
149
  ```
150
+
151
+ ## Mutation ownership
152
+
153
+ Upgrade apply holds the required project lock before migration begins. Explicit
154
+ Claude cleanup additionally uses its ownership journal and shared lock. Lock
155
+ creation is atomic, and release succeeds only for the matching ownership token.
156
+ A stale or malformed lock stops the operation; inspect the named lock file,
157
+ remove only that file after confirming no operation owns it, then rerun.
@@ -2,19 +2,16 @@ interface: PackageManifest
2
2
  status: implemented
3
3
  implemented_by: references/adapters/package-registry.yaml
4
4
  intent: >
5
- Define the package and release-surface access Interface before introducing an
6
- executable registry Module. This model records ownership boundaries and the
7
- validation contract for future PackageManifest records. The executable registry
8
- at references/adapters/package-registry.yaml and its TypeScript PackageRegistry loader
9
- now implement this interface; this model remains the authoritative design contract.
5
+ Define the self-contained Agentera package as the TypeScript CLI plus one
6
+ canonical shared skill and its required contracts. Host-native manifests,
7
+ runtime source trees, and native installation commands are not package
8
+ surfaces.
10
9
  record:
11
10
  required_groups:
12
11
  - identity
13
12
  - version_authority
14
13
  - version_surfaces
15
- - runtime_package_manifests
16
14
  - bundle_surfaces
17
- - package_commands
18
15
  - docs_targets
19
16
  - release_policy
20
17
  groups:
@@ -23,7 +20,7 @@ record:
23
20
  owns:
24
21
  - package id
25
22
  - suite name
26
- - skill path
23
+ - canonical shared-skill path
27
24
  - capability count expectation
28
25
  required_fields:
29
26
  id: string
@@ -44,54 +41,59 @@ record:
44
41
  version_surfaces:
45
42
  type: object
46
43
  owns:
47
- - version-bearing repository surfaces
44
+ - CLI and shared-skill version surfaces
48
45
  - version extraction selectors
49
- - non-version surface exclusions
50
46
  required_fields:
51
47
  surfaces: list[object]
52
- excluded_runtime_manifests: list[repo_relative_path]
53
- runtime_package_manifests:
54
- type: object
55
- owns:
56
- - runtime package manifest paths
57
- - runtime package shape expectations
58
- - shared package path expectations
59
- required_fields:
60
- manifests: list[object]
61
- shared_paths_policy: string
62
48
  bundle_surfaces:
63
49
  type: object
64
50
  owns:
65
- - bundled directories
66
- - bundled files
51
+ - canonical bundled directories
52
+ - canonical bundled files
53
+ - generated bundled files
67
54
  - bundle skip rules
68
- - bundle mismatch standardization target
69
55
  required_fields:
70
- directories: list[repo_relative_path]
71
- files: list[repo_relative_path]
56
+ directories: list[object]
57
+ files: list[object]
58
+ generated_files: list[generated_bundle_file]
72
59
  skip_parts: list[string]
73
60
  skip_suffixes: list[string]
74
- package_commands:
75
- type: object
76
- owns:
77
- - package-manager command specifications
78
- - package command action names
79
- - package command runtime scope
80
- - package write-gate preservation
81
- required_fields:
82
- commands: list[object]
83
- safety: object
61
+ entry_contracts:
62
+ directory_and_file:
63
+ applies_to:
64
+ - directories
65
+ - files
66
+ required_fields:
67
+ - id
68
+ - path
69
+ allowed_fields:
70
+ - id
71
+ - path
72
+ field_types:
73
+ id: string
74
+ path: repo_relative_path
75
+ uniqueness:
76
+ id: global_across_directories_and_files
77
+ path: global_across_directories_and_files
78
+ path_format: normalized_relative_posix
79
+ forbidden_path_forms:
80
+ - posix_absolute
81
+ - windows_absolute_or_drive_prefixed
82
+ - backslash
83
+ - dot_or_dot_dot_segment
84
+ - leading_dot_slash
85
+ - trailing_separator
86
+ - noncanonical_posix_normalization
87
+ value_authority: references/adapters/package-registry.yaml records[*].bundle_surfaces
84
88
  docs_targets:
85
89
  type: object
86
90
  owns:
87
91
  - docs version targets
88
92
  - docs index targets for package surfaces
89
- - non-version docs exclusions
90
93
  required_fields:
91
94
  version_files_source: string
92
95
  version_files: list[repo_relative_path]
93
96
  index_targets: list[repo_relative_path]
94
- excluded_version_files: list[repo_relative_path]
95
97
  release_policy:
96
98
  type: object
97
99
  owns:
@@ -111,8 +113,8 @@ ownership:
111
113
  access_interface: PackageManifest
112
114
  rule: >
113
115
  registry.json remains the persisted suite-version authority. PackageManifest
114
- becomes the typed access Interface for consumers after migration, unless an
115
- explicit future ADR changes persisted authority.
116
+ is the typed access interface unless an explicit future ADR changes that
117
+ authority.
116
118
  future_authority_change_requires: explicit ADR
117
119
  install_root_delegated:
118
120
  owner: packages/cli/src/state/installRoot.ts
@@ -123,204 +125,3 @@ ownership:
123
125
  - stale classification
124
126
  - unmanaged classification
125
127
  - app-home diagnostics
126
- runtime_adapter_delegated:
127
- owner: packages/cli/src/registries/runtimeAdapterRegistry.ts
128
- forbidden_in_package_manifest:
129
- - runtime discovery
130
- - lifecycle events
131
- - artifact validation hooks
132
- - config target paths
133
- - runtime diagnostics
134
- - documentation claims
135
- command_safety:
136
- argv_only: true
137
- approved_executables:
138
- - npx
139
- approved_actions:
140
- - remove-legacy-skills
141
- - install-agentera-skill
142
- approved_runtimes:
143
- - all
144
- - opencode
145
- - codex
146
- - cursor
147
- - copilot
148
- approved_runtime_agents:
149
- - opencode
150
- approved_package_tool:
151
- executable: npx
152
- command_namespace: skills
153
- actions:
154
- - remove
155
- - add
156
- cleanup_actions:
157
- - remove-legacy-skills
158
- runtime_install_actions:
159
- - install-agentera-skill
160
- gates:
161
- update_packages_required_to_plan: true
162
- yes_required_to_execute: true
163
- preserve_existing_write_gates: true
164
- sample_manifest:
165
- identity:
166
- id: agentera
167
- name: agentera
168
- skill_path: skills/agentera
169
- expected_capabilities: 12
170
- version_authority:
171
- persisted_authority: registry.json
172
- selector: skills[0].version
173
- access_interface: PackageManifest
174
- future_authority_change_requires: explicit ADR
175
- version_surfaces:
176
- surfaces:
177
- - id: registry
178
- path: registry.json
179
- selector: skills[0].version
180
- - id: cli-package
181
- path: packages/cli/package.json
182
- selector: version
183
- - id: cli-suite-marker
184
- path: packages/cli/package.json
185
- selector: agentera.suiteVersion
186
- - id: copilot-root
187
- path: plugin.json
188
- selector: version
189
- - id: copilot-repository
190
- path: .github/plugin/plugin.json
191
- selector: version
192
- - id: codex-plugin
193
- path: .codex-plugin/plugin.json
194
- selector: version
195
- - id: cursor-plugin
196
- path: .cursor-plugin/plugin.json
197
- selector: version
198
- - id: opencode-plugin-marker
199
- path: .opencode/plugins/agentera.js
200
- selector: AGENTERA_VERSION
201
- - id: skill-frontmatter
202
- path: skills/agentera/SKILL.md
203
- selector: frontmatter.version
204
- excluded_runtime_manifests:
205
- - .opencode/package.json
206
- runtime_package_manifests:
207
- manifests:
208
- - runtime: copilot
209
- path: plugin.json
210
- version_bearing: true
211
- package_shape: suite-bundle
212
- - runtime: copilot
213
- path: .github/plugin/plugin.json
214
- version_bearing: true
215
- package_shape: suite-bundle
216
- - runtime: codex
217
- path: .codex-plugin/plugin.json
218
- version_bearing: true
219
- package_shape: suite-bundle
220
- - runtime: cursor
221
- path: .cursor-plugin/plugin.json
222
- version_bearing: true
223
- package_shape: suite-bundle
224
- - runtime: opencode
225
- path: .opencode/package.json
226
- version_bearing: false
227
- package_shape: npm-loadable-plugin
228
- shared_paths_policy: validate minimum shared paths separately from full bundle includes
229
- bundle_surfaces:
230
- directories:
231
- - skills
232
- - references
233
- - agents
234
- - hooks
235
- - .github/hooks
236
- - .codex-plugin
237
- - .cursor-plugin
238
- - .cursor/agents
239
- - .opencode/commands
240
- - .opencode/agents
241
- - .opencode/plugins
242
- files:
243
- - README.md
244
- - UPGRADE.md
245
- - CHANGELOG.md
246
- - DESIGN.md
247
- - LICENSE
248
- - registry.json
249
- - plugin.json
250
- - .github/plugin/plugin.json
251
- - .opencode/package.json
252
- - .cursor/hooks.json
253
- skip_parts:
254
- - __pycache__
255
- - .pytest_cache
256
- - node_modules
257
- skip_suffixes:
258
- - .pyc
259
- - .pyo
260
- package_commands:
261
- commands:
262
- - runtime: all
263
- action: remove-legacy-skills
264
- phase: cleanup
265
- argv:
266
- - npx
267
- - skills
268
- - remove
269
- - hej
270
- - visionera
271
- - resonera
272
- - inspirera
273
- - planera
274
- - realisera
275
- - inspektera
276
- - optimera
277
- - orkestrera
278
- - visualisera
279
- - dokumentera
280
- - profilera
281
- - -g
282
- - -y
283
- skipped_without_update_packages_message: legacy skill removal skipped; pass --update-packages to run
284
- - runtime: opencode
285
- action: install-agentera-skill
286
- phase: runtime-install
287
- argv:
288
- - npx
289
- - skills
290
- - add
291
- - jgabor/agentera
292
- - -g
293
- - -a
294
- - opencode
295
- - --skill
296
- - agentera
297
- - -y
298
- skipped_without_update_packages_message: external package update skipped; pass --update-packages to run
299
- safety:
300
- argv_only: true
301
- update_packages_required_to_plan: true
302
- yes_required_to_execute: true
303
- preserve_existing_write_gates: true
304
- cleanup_phase: cleanup
305
- runtime_install_phase: runtime-install
306
- docs_targets:
307
- version_files_source: .agentera/docs.yaml conventions.version_files
308
- version_files:
309
- - packages/cli/package.json
310
- - plugin.json
311
- - .github/plugin/plugin.json
312
- - .codex-plugin/plugin.json
313
- - .cursor-plugin/plugin.json
314
- - .opencode/plugins/agentera.js
315
- - skills/agentera/SKILL.md
316
- - registry.json
317
- index_targets:
318
- - references/adapters/package-surface-characterization.md
319
- - references/adapters/package-manifest-interface-model.yaml
320
- - references/adapters/package-registry.yaml
321
- excluded_version_files:
322
- - .opencode/package.json
323
- release_policy:
324
- semver_policy_source: .agentera/docs.yaml conventions.semver_policy
325
- version_bump_required_for_interface_only_change: false
326
- release_publication_in_scope: false