agentera 3.0.0-dev.4 → 3.0.0-dev.6

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 (321) hide show
  1. package/README.md +4 -3
  2. package/bundle/.agentera-npx-bundle.json +1 -1
  3. package/bundle/references/adapters/opencode.md +1 -1
  4. package/bundle/references/adapters/package-registry.yaml +0 -1
  5. package/bundle/references/adapters/package-surface-characterization.md +1 -2
  6. package/bundle/references/analysis/startup-measurement-contract.yaml +11 -11
  7. package/bundle/references/cli/agent-ready-state-contract.yaml +5 -5
  8. package/bundle/references/cli/audience-namespace-cli-migration.yaml +40 -26
  9. package/bundle/references/cli/bundle-skill-vocabulary.yaml +2 -30
  10. package/bundle/references/cli/capability-instruction-contract.yaml +98 -57
  11. package/bundle/references/cli/coexistence-probe.yaml +9 -0
  12. package/bundle/references/cli/routing-execution-vocabulary.yaml +6 -6
  13. package/bundle/references/cli/single-name-protocol.yaml +42 -0
  14. package/bundle/references/cli/update-channels.yaml +18 -2
  15. package/bundle/references/cli/upgrade-repair-wording.md +31 -0
  16. package/bundle/references/cli/v3-handoff-manifest.schema.yaml +98 -0
  17. package/bundle/references/cli/vocabulary-index.yaml +3 -3
  18. package/bundle/references/cli/vocabulary.md +34 -26
  19. package/bundle/references/meta/documentation-inventory.md +9 -3
  20. package/bundle/registry.json +1 -1
  21. package/bundle/skills/agentera/SKILL.md +50 -33
  22. package/bundle/skills/agentera/agents/dokumentera.toml +1 -1
  23. package/bundle/skills/agentera/agents/hej.toml +1 -1
  24. package/bundle/skills/agentera/agents/inspektera.toml +1 -1
  25. package/bundle/skills/agentera/agents/inspirera.toml +1 -1
  26. package/bundle/skills/agentera/agents/optimera.toml +1 -1
  27. package/bundle/skills/agentera/agents/orkestrera.toml +1 -1
  28. package/bundle/skills/agentera/agents/planera.toml +1 -1
  29. package/bundle/skills/agentera/agents/profilera.toml +1 -1
  30. package/bundle/skills/agentera/agents/realisera.toml +1 -1
  31. package/bundle/skills/agentera/agents/resonera.toml +1 -1
  32. package/bundle/skills/agentera/agents/visionera.toml +1 -1
  33. package/bundle/skills/agentera/agents/visualisera.toml +1 -1
  34. package/bundle/skills/agentera/capabilities/orkestrera/schemas/validation.yaml +26 -13
  35. package/bundle/skills/agentera/capability_schema_contract.yaml +33 -14
  36. package/bundle/skills/agentera/references/contract.md +2 -2
  37. package/bundle/skills/agentera/schemas/artifacts/decisions.yaml +1 -1
  38. package/bundle/skills/agentera/schemas/artifacts/progress.yaml +15 -36
  39. package/bundle/skills/agentera/schemas/artifacts/todo.yaml +14 -0
  40. package/dist/analytics/extractCorpus/cli.js +101 -0
  41. package/dist/analytics/extractCorpus/cli.js.map +1 -0
  42. package/dist/analytics/extractCorpus/copilotSessions.js +231 -0
  43. package/dist/analytics/extractCorpus/copilotSessions.js.map +1 -0
  44. package/dist/analytics/extractCorpus/core.js +357 -0
  45. package/dist/analytics/extractCorpus/core.js.map +1 -0
  46. package/dist/analytics/extractCorpus/corpus.js +132 -0
  47. package/dist/analytics/extractCorpus/corpus.js.map +1 -0
  48. package/dist/analytics/extractCorpus/cursorSessions.js +420 -0
  49. package/dist/analytics/extractCorpus/cursorSessions.js.map +1 -0
  50. package/dist/analytics/extractCorpus/filesystemSources.js +122 -0
  51. package/dist/analytics/extractCorpus/filesystemSources.js.map +1 -0
  52. package/dist/analytics/extractCorpus/index.js +9 -0
  53. package/dist/analytics/extractCorpus/index.js.map +1 -0
  54. package/dist/analytics/extractCorpus/jsonlSessions.js +185 -0
  55. package/dist/analytics/extractCorpus/jsonlSessions.js.map +1 -0
  56. package/dist/analytics/extractCorpus/sqliteSessions.js +275 -0
  57. package/dist/analytics/extractCorpus/sqliteSessions.js.map +1 -0
  58. package/dist/analytics/extractCorpus.js +2 -1790
  59. package/dist/analytics/extractCorpus.js.map +1 -1
  60. package/dist/analytics/usageStats.js +1 -1
  61. package/dist/analytics/usageStats.js.map +1 -1
  62. package/dist/capabilities/dokumentera/instructions.js +6 -0
  63. package/dist/capabilities/dokumentera/instructions.js.map +1 -0
  64. package/dist/capabilities/hej/instructions.js +6 -0
  65. package/dist/capabilities/hej/instructions.js.map +1 -0
  66. package/dist/capabilities/index.js +38 -0
  67. package/dist/capabilities/index.js.map +1 -0
  68. package/dist/capabilities/inspektera/instructions.js +6 -0
  69. package/dist/capabilities/inspektera/instructions.js.map +1 -0
  70. package/dist/capabilities/inspirera/instructions.js +6 -0
  71. package/dist/capabilities/inspirera/instructions.js.map +1 -0
  72. package/dist/capabilities/optimera/instructions.js +6 -0
  73. package/dist/capabilities/optimera/instructions.js.map +1 -0
  74. package/dist/capabilities/orkestrera/instructions.js +6 -0
  75. package/dist/capabilities/orkestrera/instructions.js.map +1 -0
  76. package/dist/capabilities/planera/instructions.js +6 -0
  77. package/dist/capabilities/planera/instructions.js.map +1 -0
  78. package/dist/capabilities/profilera/instructions.js +6 -0
  79. package/dist/capabilities/profilera/instructions.js.map +1 -0
  80. package/dist/capabilities/realisera/instructions.js +6 -0
  81. package/dist/capabilities/realisera/instructions.js.map +1 -0
  82. package/dist/capabilities/resonera/instructions.js +6 -0
  83. package/dist/capabilities/resonera/instructions.js.map +1 -0
  84. package/dist/capabilities/visionera/instructions.js +6 -0
  85. package/dist/capabilities/visionera/instructions.js.map +1 -0
  86. package/dist/capabilities/visualisera/instructions.js +6 -0
  87. package/dist/capabilities/visualisera/instructions.js.map +1 -0
  88. package/dist/cli/capabilityContext/benchmark.js +557 -0
  89. package/dist/cli/capabilityContext/benchmark.js.map +1 -0
  90. package/dist/cli/capabilityContext/bespoke.js +25 -0
  91. package/dist/cli/capabilityContext/bespoke.js.map +1 -0
  92. package/dist/cli/capabilityContext/closeout.js +230 -0
  93. package/dist/cli/capabilityContext/closeout.js.map +1 -0
  94. package/dist/cli/capabilityContext/contract.js +186 -0
  95. package/dist/cli/capabilityContext/contract.js.map +1 -0
  96. package/dist/cli/capabilityContext/evidence.js +446 -0
  97. package/dist/cli/capabilityContext/evidence.js.map +1 -0
  98. package/dist/cli/capabilityContext/index.js +4 -0
  99. package/dist/cli/capabilityContext/index.js.map +1 -0
  100. package/dist/cli/capabilityContext/orchestration.js +107 -0
  101. package/dist/cli/capabilityContext/orchestration.js.map +1 -0
  102. package/dist/cli/capabilityContext/planState.js +271 -0
  103. package/dist/cli/capabilityContext/planState.js.map +1 -0
  104. package/dist/cli/capabilityContext/progress.js +96 -0
  105. package/dist/cli/capabilityContext/progress.js.map +1 -0
  106. package/dist/cli/capabilityContext/realisera.js +174 -0
  107. package/dist/cli/capabilityContext/realisera.js.map +1 -0
  108. package/dist/cli/capabilityContext/shared.js +94 -0
  109. package/dist/cli/capabilityContext/shared.js.map +1 -0
  110. package/dist/cli/capabilityContext/slim.js +106 -0
  111. package/dist/cli/capabilityContext/slim.js.map +1 -0
  112. package/dist/cli/capabilityContext/startup.js +208 -0
  113. package/dist/cli/capabilityContext/startup.js.map +1 -0
  114. package/dist/cli/capabilityContext/types.js +43 -0
  115. package/dist/cli/capabilityContext/types.js.map +1 -0
  116. package/dist/cli/capabilityContext.js +1 -2420
  117. package/dist/cli/capabilityContext.js.map +1 -1
  118. package/dist/cli/commands/capability.js +1 -8
  119. package/dist/cli/commands/capability.js.map +1 -1
  120. package/dist/cli/commands/compact.js +1 -1
  121. package/dist/cli/commands/compact.js.map +1 -1
  122. package/dist/cli/commands/doctor.js +35 -6
  123. package/dist/cli/commands/doctor.js.map +1 -1
  124. package/dist/cli/commands/lint.js +4 -36
  125. package/dist/cli/commands/lint.js.map +1 -1
  126. package/dist/cli/commands/query.js +1 -1
  127. package/dist/cli/commands/query.js.map +1 -1
  128. package/dist/cli/commands/report.js +11 -2
  129. package/dist/cli/commands/report.js.map +1 -1
  130. package/dist/cli/commands/schema.js +1 -2
  131. package/dist/cli/commands/schema.js.map +1 -1
  132. package/dist/cli/commands/state/decisions.js +397 -0
  133. package/dist/cli/commands/state/decisions.js.map +1 -0
  134. package/dist/cli/commands/state/docs.js +93 -0
  135. package/dist/cli/commands/state/docs.js.map +1 -0
  136. package/dist/cli/commands/state/experiments.js +67 -0
  137. package/dist/cli/commands/state/experiments.js.map +1 -0
  138. package/dist/cli/commands/state/health.js +114 -0
  139. package/dist/cli/commands/state/health.js.map +1 -0
  140. package/dist/cli/commands/state/index.js +51 -0
  141. package/dist/cli/commands/state/index.js.map +1 -0
  142. package/dist/cli/commands/state/objective.js +68 -0
  143. package/dist/cli/commands/state/objective.js.map +1 -0
  144. package/dist/cli/commands/state/plan.js +172 -0
  145. package/dist/cli/commands/state/plan.js.map +1 -0
  146. package/dist/cli/commands/state/progress.js +47 -0
  147. package/dist/cli/commands/state/progress.js.map +1 -0
  148. package/dist/cli/commands/state/shared.js +15 -0
  149. package/dist/cli/commands/state/shared.js.map +1 -0
  150. package/dist/cli/commands/state/todo.js +121 -0
  151. package/dist/cli/commands/state/todo.js.map +1 -0
  152. package/dist/cli/commands/state.js +29 -18
  153. package/dist/cli/commands/state.js.map +1 -1
  154. package/dist/cli/commands/validate.js +44 -20
  155. package/dist/cli/commands/validate.js.map +1 -1
  156. package/dist/cli/dispatch/check.js +328 -0
  157. package/dist/cli/dispatch/check.js.map +1 -0
  158. package/dist/cli/dispatch/index.js +177 -0
  159. package/dist/cli/dispatch/index.js.map +1 -0
  160. package/dist/cli/dispatch/lifecycle.js +492 -0
  161. package/dist/cli/dispatch/lifecycle.js.map +1 -0
  162. package/dist/cli/dispatch/prime.js +100 -0
  163. package/dist/cli/dispatch/prime.js.map +1 -0
  164. package/dist/cli/dispatch/shared.js +64 -0
  165. package/dist/cli/dispatch/shared.js.map +1 -0
  166. package/dist/cli/dispatch/state.js +149 -0
  167. package/dist/cli/dispatch/state.js.map +1 -0
  168. package/dist/cli/dispatch.js +1 -995
  169. package/dist/cli/dispatch.js.map +1 -1
  170. package/dist/cli/errors.js +53 -0
  171. package/dist/cli/errors.js.map +1 -0
  172. package/dist/cli/help.js +1 -3
  173. package/dist/cli/help.js.map +1 -1
  174. package/dist/cli/orientation.js +10 -7
  175. package/dist/cli/orientation.js.map +1 -1
  176. package/dist/cli/stateQuery.js +7 -0
  177. package/dist/cli/stateQuery.js.map +1 -1
  178. package/dist/cli/todoMarkdown.js +33 -0
  179. package/dist/cli/todoMarkdown.js.map +1 -0
  180. package/dist/hooks/common.js +8 -25
  181. package/dist/hooks/common.js.map +1 -1
  182. package/dist/hooks/compaction/apply.js +244 -0
  183. package/dist/hooks/compaction/apply.js.map +1 -0
  184. package/dist/hooks/compaction/dryRun.js +181 -0
  185. package/dist/hooks/compaction/dryRun.js.map +1 -0
  186. package/dist/hooks/compaction/index.js +23 -0
  187. package/dist/hooks/compaction/index.js.map +1 -0
  188. package/dist/hooks/compaction/parse.js +129 -0
  189. package/dist/hooks/compaction/parse.js.map +1 -0
  190. package/dist/hooks/compaction/retention.js +197 -0
  191. package/dist/hooks/compaction/retention.js.map +1 -0
  192. package/dist/hooks/compaction/status.js +243 -0
  193. package/dist/hooks/compaction/status.js.map +1 -0
  194. package/dist/hooks/compaction/types.js +6 -0
  195. package/dist/hooks/compaction/types.js.map +1 -0
  196. package/dist/hooks/compaction.js +20 -20
  197. package/dist/hooks/compaction.js.map +1 -1
  198. package/dist/hooks/cursorPreToolUse.js +1 -1
  199. package/dist/hooks/cursorPreToolUse.js.map +1 -1
  200. package/dist/hooks/sessionStart.js +4 -4
  201. package/dist/hooks/sessionStart.js.map +1 -1
  202. package/dist/hooks/sessionStop.js +3 -12
  203. package/dist/hooks/sessionStop.js.map +1 -1
  204. package/dist/hooks/validateArtifact/agentFacing.js +10 -0
  205. package/dist/hooks/validateArtifact/agentFacing.js.map +1 -0
  206. package/dist/hooks/validateArtifact/index.js +149 -0
  207. package/dist/hooks/validateArtifact/index.js.map +1 -0
  208. package/dist/hooks/validateArtifact/markdown.js +95 -0
  209. package/dist/hooks/validateArtifact/markdown.js.map +1 -0
  210. package/dist/hooks/validateArtifact/runtime.js +83 -0
  211. package/dist/hooks/validateArtifact/runtime.js.map +1 -0
  212. package/dist/hooks/validateArtifact/schema.js +455 -0
  213. package/dist/hooks/validateArtifact/schema.js.map +1 -0
  214. package/dist/hooks/validateArtifact/traversal.js +105 -0
  215. package/dist/hooks/validateArtifact/traversal.js.map +1 -0
  216. package/dist/hooks/validateArtifact/violations.js +105 -0
  217. package/dist/hooks/validateArtifact/violations.js.map +1 -0
  218. package/dist/hooks/validateArtifact.js +40 -49
  219. package/dist/hooks/validateArtifact.js.map +1 -1
  220. package/dist/migrate/v2HandoffManifest.js +333 -0
  221. package/dist/migrate/v2HandoffManifest.js.map +1 -0
  222. package/dist/registries/artifactProtocolIds.js +77 -0
  223. package/dist/registries/artifactProtocolIds.js.map +1 -0
  224. package/dist/registries/capabilityContract.js +12 -11
  225. package/dist/registries/capabilityContract.js.map +1 -1
  226. package/dist/registries/evaluatorHandoffContract.js +171 -0
  227. package/dist/registries/evaluatorHandoffContract.js.map +1 -0
  228. package/dist/release/releaseMetadata.js +235 -0
  229. package/dist/release/releaseMetadata.js.map +1 -0
  230. package/dist/setup/codex/agents.js +96 -0
  231. package/dist/setup/codex/agents.js.map +1 -0
  232. package/dist/setup/codex/cli.js +161 -0
  233. package/dist/setup/codex/cli.js.map +1 -0
  234. package/dist/setup/codex/configToml.js +644 -0
  235. package/dist/setup/codex/configToml.js.map +1 -0
  236. package/dist/setup/codex/constants.js +29 -0
  237. package/dist/setup/codex/constants.js.map +1 -0
  238. package/dist/setup/codex/installRoot.js +64 -0
  239. package/dist/setup/codex/installRoot.js.map +1 -0
  240. package/dist/setup/codex/state.js +270 -0
  241. package/dist/setup/codex/state.js.map +1 -0
  242. package/dist/setup/codex.js +11 -1055
  243. package/dist/setup/codex.js.map +1 -1
  244. package/dist/setup/doctor/core.js +300 -0
  245. package/dist/setup/doctor/core.js.map +1 -0
  246. package/dist/setup/doctor/diagnostics.js +247 -0
  247. package/dist/setup/doctor/diagnostics.js.map +1 -0
  248. package/dist/setup/doctor/opencode.js +281 -0
  249. package/dist/setup/doctor/opencode.js.map +1 -0
  250. package/dist/setup/doctor/report.js +474 -0
  251. package/dist/setup/doctor/report.js.map +1 -0
  252. package/dist/setup/doctor.js +9 -1296
  253. package/dist/setup/doctor.js.map +1 -1
  254. package/dist/setup/opencode.js +13 -0
  255. package/dist/setup/opencode.js.map +1 -0
  256. package/dist/setup/smokeChecks.js +1 -1
  257. package/dist/setup/smokeChecks.js.map +1 -1
  258. package/dist/state/progressCommit.js +1 -1
  259. package/dist/state/progressCommit.js.map +1 -1
  260. package/dist/state/startupAnalysis/benchmark.js +367 -0
  261. package/dist/state/startupAnalysis/benchmark.js.map +1 -0
  262. package/dist/state/startupAnalysis/contract.js +122 -0
  263. package/dist/state/startupAnalysis/contract.js.map +1 -0
  264. package/dist/state/startupAnalysis/helpers.js +332 -0
  265. package/dist/state/startupAnalysis/helpers.js.map +1 -0
  266. package/dist/state/startupAnalysis/index.js +7 -0
  267. package/dist/state/startupAnalysis/index.js.map +1 -0
  268. package/dist/state/startupAnalysis/metrics.js +334 -0
  269. package/dist/state/startupAnalysis/metrics.js.map +1 -0
  270. package/dist/state/startupAnalysis/records.js +195 -0
  271. package/dist/state/startupAnalysis/records.js.map +1 -0
  272. package/dist/state/startupAnalysis/report.js +123 -0
  273. package/dist/state/startupAnalysis/report.js.map +1 -0
  274. package/dist/state/startupAnalysis/threshold.js +500 -0
  275. package/dist/state/startupAnalysis/threshold.js.map +1 -0
  276. package/dist/state/startupAnalysis.js +2 -1952
  277. package/dist/state/startupAnalysis.js.map +1 -1
  278. package/dist/upgrade/coexistenceProbe.js +83 -0
  279. package/dist/upgrade/coexistenceProbe.js.map +1 -0
  280. package/dist/upgrade/doctor.js +41 -2
  281. package/dist/upgrade/doctor.js.map +1 -1
  282. package/dist/upgrade/migrateArtifactsV1ToV2.js +0 -1
  283. package/dist/upgrade/migrateArtifactsV1ToV2.js.map +1 -1
  284. package/dist/upgrade/migrateArtifactsV2ToV3.js +5 -83
  285. package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -1
  286. package/dist/upgrade/nextMajorDoctor.js +136 -0
  287. package/dist/upgrade/nextMajorDoctor.js.map +1 -0
  288. package/dist/upgrade/projectIntegration.js +3 -1
  289. package/dist/upgrade/projectIntegration.js.map +1 -1
  290. package/dist/upgrade/runtimeMigration.js +32 -5
  291. package/dist/upgrade/runtimeMigration.js.map +1 -1
  292. package/dist/upgrade/v3CapabilitySurface.js +15 -0
  293. package/dist/upgrade/v3CapabilitySurface.js.map +1 -0
  294. package/dist/upgrade/versionResolution.js +12 -4
  295. package/dist/upgrade/versionResolution.js.map +1 -1
  296. package/dist/validate/appHomeContract.js +4 -4
  297. package/dist/validate/appHomeContract.js.map +1 -1
  298. package/dist/validate/capability.js +11 -3
  299. package/dist/validate/capability.js.map +1 -1
  300. package/dist/validate/selfAudit.js +62 -20
  301. package/dist/validate/selfAudit.js.map +1 -1
  302. package/dist/validate/vocabularyAuthority.js +298 -0
  303. package/dist/validate/vocabularyAuthority.js.map +1 -0
  304. package/package.json +4 -4
  305. package/bundle/references/v1-section-mapping.md +0 -47
  306. package/bundle/skills/agentera/capabilities/dokumentera/instructions.md +0 -428
  307. package/bundle/skills/agentera/capabilities/hej/instructions.md +0 -331
  308. package/bundle/skills/agentera/capabilities/inspektera/instructions.md +0 -514
  309. package/bundle/skills/agentera/capabilities/inspirera/instructions.md +0 -280
  310. package/bundle/skills/agentera/capabilities/optimera/instructions.md +0 -437
  311. package/bundle/skills/agentera/capabilities/orkestrera/instructions.md +0 -433
  312. package/bundle/skills/agentera/capabilities/planera/instructions.md +0 -368
  313. package/bundle/skills/agentera/capabilities/profilera/instructions.md +0 -419
  314. package/bundle/skills/agentera/capabilities/realisera/instructions.md +0 -403
  315. package/bundle/skills/agentera/capabilities/resonera/instructions.md +0 -329
  316. package/bundle/skills/agentera/capabilities/visionera/instructions.md +0 -309
  317. package/bundle/skills/agentera/capabilities/visualisera/instructions.md +0 -400
  318. package/bundle/skills/hej/.claude-plugin/plugin.json +0 -6
  319. package/bundle/skills/hej/SKILL.md +0 -69
  320. package/bundle/skills/hej/agents/hej.toml +0 -11
  321. package/bundle/skills/hej/agents/openai.yaml +0 -8
package/README.md CHANGED
@@ -17,10 +17,11 @@ npx -y agentera@next upgrade --dry-run --channel development
17
17
  Run those from a project root. `prime` reports `project_integration.recommendation`
18
18
  (`stay` or `upgrade`) and suggested commands for the current repo.
19
19
 
20
- Full preview instructions, highlights, and migration paths:
21
- [repository README — Agentera 3.0 preview](../../README.md#agentera-30-preview).
20
+ Full preview instructions, channels, and migration paths: [`UPGRADE.md`](../../UPGRADE.md).
22
21
 
23
- Upgrade channels and v2→v3 opt-in: [`UPGRADE.md`](../../UPGRADE.md).
22
+ ## Editor runtime installs
23
+
24
+ Agentera ships a skill bundle for supported editor runtimes (Claude Code, OpenCode, Cursor, Copilot CLI, Codex CLI). Install steps and parity details live in the [repository README — Internals](../../README.md#internals) and [`references/adapters/runtime-feature-parity.md`](../../references/adapters/runtime-feature-parity.md).
24
25
 
25
26
  ## Package layout
26
27
 
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "kind": "agentera-npx-bundle",
3
- "suiteVersion": "2.7.6"
3
+ "suiteVersion": "3.0.0"
4
4
  }
@@ -56,7 +56,7 @@ OpenCode skill search paths:
56
56
  - Global install: `npx skills add jgabor/agentera -g -a opencode --skill agentera -y`
57
57
  - Project install: symlink or copy `skills/agentera/` into `.opencode/skills/agentera/` or `.agents/skills/agentera/`
58
58
 
59
- The temporary `skills/hej/` entry point is a v1 upgrade bridge, not a new-install target. Each Agentera skill entry file already contains YAML frontmatter with `name` and `description`, which matches OpenCode's frontmatter requirements exactly. The OpenCode plugin adds one prompt transformation: when the complete user message is exactly bare text `hej`, `chat.message` rewrites it to load the bundled `agentera` skill and route through the `agentera hej` dashboard path. The match is exact except for OpenCode's CLI-added single trailing newline transport artifact, and does not apply to `/hej`, `Hej`, `hej there`, attachments, or other message parts.
59
+ Each Agentera skill entry file contains YAML frontmatter with `name` and `description`, which matches OpenCode's frontmatter requirements exactly. The OpenCode plugin adds one prompt transformation: when the complete user message is exactly bare text `hej`, `chat.message` rewrites it to load the bundled `agentera` skill and route through the `agentera prime` dashboard path. The match is exact except for OpenCode's CLI-added single trailing newline transport artifact, and does not apply to `Hej`, `hej there`, attachments, or other message parts.
60
60
 
61
61
  **OpenCode frontmatter validation** requires: `name` (1-64 chars, lowercase alphanumeric with single hyphens), `description` (1-1024 chars). Agentera entry point names are lowercase, matching the validation regex `^[a-z0-9]+(-[a-z0-9]+)*$`.
62
62
 
@@ -233,7 +233,6 @@ records:
233
233
  - .claude-plugin/marketplace.json
234
234
  - .opencode/plugins/agentera.js
235
235
  - skills/agentera/SKILL.md
236
- - skills/hej/SKILL.md
237
236
  - registry.json
238
237
  index_targets:
239
238
  - references/adapters/package-surface-characterization.md
@@ -17,7 +17,7 @@ The current version-bearing surfaces are:
17
17
  | `plugin.json` | version-bearing surface and runtime package manifest | root Copilot manifest `version` matches the suite version. |
18
18
  | `.github/plugin/plugin.json` | version-bearing surface and runtime package manifest | repository Copilot manifest `version` matches the suite version. |
19
19
  | `.codex-plugin/plugin.json` | version-bearing surface and runtime package manifest | Codex manifest `version` matches the suite version. |
20
- | `.claude-plugin/marketplace.json` | version-bearing surface and runtime package manifest | `metadata.version` and every plugin entry version, including the legacy `hej` bridge, match the suite version. |
20
+ | `.claude-plugin/marketplace.json` | version-bearing surface and runtime package manifest | `metadata.version` and the bundled `agentera` plugin entry version match the suite version. |
21
21
  | `.opencode/plugins/agentera.js` | version-bearing surface | `AGENTERA_VERSION` matches the registry suite version and drives the OpenCode command marker file `.agentera-version`. |
22
22
 
23
23
  `.opencode/package.json` is intentionally not version-bearing. Its current behavior is runtime package manifest behavior only: it keeps `type: "module"`, `main`/`exports` pointing at `./plugins/agentera.js`, `dependencies["@opencode-ai/plugin"] == "1.14.33"`, and an `agentera` npm-loadable plugin metadata block, but it has no top-level `name` or `version` field.
@@ -44,5 +44,4 @@ Write gating is preserved: `--update-packages` changes package items from `skipp
44
44
  | `.agentera/docs.yaml` `version_files` includes version-bearing surfaces and excludes `.opencode/package.json`. | version-bearing surface | `preserve` | Keep `.opencode/package.json` out of version checks because it is a runtime package manifest, not a suite version surface. |
45
45
  | `.opencode/package.json` is force-included and bundled, but it is not in docs `version_files`. | runtime package manifest | `preserve` | Keep packaging it without treating it as version-bearing. |
46
46
  | Upgrade package commands are represented as argv lists for Claude Code and OpenCode only; Codex and Copilot have runtime manifests but no package-manager command entries. | package-manager command surface | `preserve` | Keep command planning limited to currently managed package runtimes. |
47
- | `.claude-plugin/marketplace.json` carries a `hej` legacy bridge version alongside `agentera`. | version-bearing surface | `defer` | Keep the legacy bridge version aligned until a separate legacy-bridge removal or marketplace simplification task exists. |
48
47
  | Live package-manager behavior is not characterized by this task. | package-manager command surface | `defer` | Keep tests mocked; do not introduce live `npx skills` execution. |
@@ -362,17 +362,17 @@ privacy_boundary:
362
362
  - canonical_event_class
363
363
  - salted_non_reconstructable_hash
364
364
  canonical_artifact_labels:
365
- TODO.md: TODO.md
366
- CHANGELOG.md: CHANGELOG.md
367
- DESIGN.md: DESIGN.md
368
- PLAN.md: PLAN.md
369
- PROGRESS.md: PROGRESS.md
370
- DOCS.md: DOCS.md
371
- DECISIONS.md: DECISIONS.md
372
- HEALTH.md: HEALTH.md
373
- VISION.md: VISION.md
374
- OBJECTIVE.md: OBJECTIVE.md
375
- EXPERIMENTS.md: EXPERIMENTS.md
365
+ todo: todo
366
+ changelog: changelog
367
+ design: design
368
+ plan: plan
369
+ progress: progress
370
+ docs: docs
371
+ decisions: decisions
372
+ health: health
373
+ vision: vision
374
+ objective: objective
375
+ experiments: experiments
376
376
  AGENTS.md: AGENTS.md
377
377
  SKILL.md: SKILL.md
378
378
  AGENTERA_ARTIFACTS: AGENTERA_ARTIFACTS
@@ -282,10 +282,10 @@ structured_output:
282
282
  contract can summarize planning levels, step markers, CLI-first
283
283
  orientation, raw plan artifact boundaries, full-plan review/self-audit
284
284
  requirements, handoff expectations, and the Planera prose authority
285
- boundary without reading `planera/instructions.md` at runtime. It must
286
- not introduce `agentera planera`, new top-level commands, or hidden
287
- capability-name aliases; `agentera schema` owns runtime/schema
288
- introspection rather than a capability workflow payload.
285
+ boundary without reading `packages/cli/src/capabilities/planera/instructions.ts`
286
+ at runtime. It must not introduce `agentera planera`, new top-level
287
+ commands, or hidden capability-name aliases; `agentera schema` owns
288
+ runtime/schema introspection rather than a capability workflow payload.
289
289
  orchestration_context_semantics: >-
290
290
  `agentera prime --context orkestrera --format json` may include
291
291
  orchestration_context with dependency-ready tasks, blocked task reasons,
@@ -465,7 +465,7 @@ evidence_context_target_contract:
465
465
  verified_field: header.status=complete
466
466
  - reason: Inspektera prose and schemas are validated directly; complete evidence_context covers normal evaluation startup without raw plan/progress/docs/health/TODO/decisions reads.
467
467
  paths:
468
- - skills/agentera/capabilities/inspektera/instructions.md
468
+ - packages/cli/src/capabilities/inspektera/instructions.ts
469
469
  - skills/agentera/capabilities/inspektera/schemas/artifacts.yaml
470
470
  - skills/agentera/capabilities/inspektera/schemas/validation.yaml
471
471
  raw_artifact_reads_required_for_startup: false
@@ -204,9 +204,10 @@ prime_hej_schema_migration_boundary:
204
204
  prime_absorbs_hej:
205
205
  status: target
206
206
  hej_cli: >-
207
- Top-level `hej` is removed from the public parser after the alias period.
208
- `agentera hej` prints one stderr deprecation naming `prime` and delegates
209
- during Phase 1–2.
207
+ Top-level `hej` is removed from the npm 3.x public parser and dispatch.
208
+ During Phase 1–2, `agentera hej` printed one stderr deprecation naming
209
+ `prime` and delegated; Phase 3 on the development channel rejects the
210
+ command with an unsupported-target envelope.
210
211
  hej_skill_route: >-
211
212
  Bare `hej` in the Agentera skill still routes to orientation, but the installed
212
213
  CLI gate calls `agentera prime` and renders from that composite result.
@@ -225,8 +226,9 @@ prime_hej_schema_migration_boundary:
225
226
  status: target
226
227
  canonical: agentera schema [--format json|yaml]
227
228
  alias: >-
228
- `agentera describe` prints one stderr deprecation naming `schema` and delegates
229
- during Phase 1–2.
229
+ Top-level `describe` is removed from the npm 3.x public parser and dispatch.
230
+ During Phase 1–2, `agentera describe` printed one stderr deprecation naming
231
+ `schema` and delegated.
230
232
  discovery_ownership: >-
231
233
  `schema` owns runtime CLI/schema introspection formerly on `describe`, including
232
234
  command tree, audience tags, artifact locations, and linked contract sections.
@@ -260,7 +262,9 @@ plan_routing_distinction:
260
262
  is not a CLI command and does not read `.agentera/plan.yaml` by itself.
261
263
  state_read:
262
264
  invocation: agentera state plan
263
- legacy_alias: agentera plan
265
+ legacy_alias: >-
266
+ Top-level `agentera plan` was removed on the npm 3.x CLI in Phase 3; use
267
+ `agentera state plan`.
264
268
  surface: CLI routine state read
265
269
  meaning: >-
266
270
  Read-only access to the active plan artifact summary, tasks, acceptance
@@ -275,8 +279,8 @@ plan_routing_distinction:
275
279
  for Planera remains `agentera prime --context planera --format json`.
276
280
  agent_guidance: >-
277
281
  Use `/agentera plan` when the user wants planning work routed to Planera; use
278
- `agentera state plan` (or legacy `agentera plan`) when the agent needs plan
279
- artifact state; use `agentera planera` for capability routing guidance; use
282
+ `agentera state plan` when the agent needs plan artifact state; use
283
+ `agentera planera` for capability routing guidance; use
280
284
  `agentera prime --context planera` for bounded Planera startup context.
281
285
  migration_phases:
282
286
  phase_1:
@@ -295,15 +299,18 @@ migration_phases:
295
299
  - Record measurement evidence for JSON surface moves.
296
300
  phase_3:
297
301
  name: remove_deprecated_top_level_parsers
302
+ status: shipped_on_development_channel
298
303
  actions:
299
304
  - >-
300
- Remove `hej`, public `describe`, and `gate` from top-level parser help.
305
+ Remove `hej`, public `describe`, and `gate` from top-level parser help
306
+ and dispatch on the npm 3.x CLI.
301
307
  - >-
302
- Remove other deprecated top-level parsers except documented capability and
303
- lifecycle names and the Phase 1–2 alias set until post-major cleanup.
308
+ Remove routine-state top-level parsers (`plan`, `progress`, `health`,
309
+ `todo`, `decisions`, `docs`, `objective`, `experiments`) from help and
310
+ dispatch on the npm 3.x CLI.
304
311
  - >-
305
- Deferred final removal of all routine-state top-level aliases after one
306
- minor alias release.
312
+ Keep a transitional stderr-alias set (`validate`, `compact`, `verify`,
313
+ `stats`, `lint`, `query`) until post-cutover cleanup.
307
314
  alias_policy:
308
315
  stderr_format: one-line deprecation naming the canonical command
309
316
  delegation: forward to canonical handler with unchanged JSON/text envelopes
@@ -334,22 +341,29 @@ command_tree_target:
334
341
  - report [user]
335
342
  - check [maintainer]
336
343
 
337
- deprecated_top_level_aliases:
338
- # Command aliases that emit stderr deprecation warnings
339
- - { legacy: hej, canonical: prime }
340
- - { legacy: describe, canonical: schema }
341
- - { legacy: plan, canonical: "state plan" }
342
- - { legacy: progress, canonical: "state progress" }
343
- - { legacy: health, canonical: "state health" }
344
- - { legacy: todo, canonical: "state todo" }
345
- - { legacy: decisions, canonical: "state decisions" }
346
- - { legacy: docs, canonical: "state docs" }
347
- - { legacy: objective, canonical: "state objective" }
348
- - { legacy: experiments, canonical: "state experiments" }
344
+ removed_top_level_commands:
345
+ # Phase 3 on npm 3.x: removed from help and dispatch (unsupported_target)
346
+ - hej
347
+ - describe
348
+ - gate
349
+ - plan
350
+ - progress
351
+ - health
352
+ - todo
353
+ - decisions
354
+ - docs
355
+ - objective
356
+ - experiments
357
+
358
+ transitional_stderr_aliases:
359
+ # Still delegate with one-line stderr deprecation on npm 3.x
349
360
  - { legacy: query, canonical: "state query" }
350
361
  - { legacy: compact, canonical: "check compact" }
351
- - { legacy: gate, canonical: "check compact" }
352
362
  - { legacy: verify, canonical: "check verify" }
353
363
  - { legacy: stats, canonical: report }
354
364
  - { legacy: lint, canonical: "check lint" }
355
365
  - { legacy: validate, canonical: "check validate" }
366
+
367
+ # Superseded by `removed_top_level_commands` and `transitional_stderr_aliases`
368
+ # for npm 3.x Phase 3 (empty list retained for contract migration readers).
369
+ deprecated_top_level_aliases: []
@@ -14,7 +14,7 @@ scope:
14
14
  - Package and distribution metadata that names the suite package shape.
15
15
  - Runtime hook packaging prose and metadata for plugin-shipped hooks.
16
16
  - Historical references to the removed `bundle-status` command.
17
- - Current and legacy references to `skills/agentera/SKILL.md` and v1 skill entry files.
17
+ - Current references to `skills/agentera/SKILL.md`.
18
18
  excludes:
19
19
  - Routing and execution vocabulary collapse work.
20
20
  - Capability instruction-file rename work.
@@ -32,8 +32,6 @@ canonical_concept_order:
32
32
  - removed_bundle_status_command
33
33
  - agentera_routing_entry
34
34
  - skill_entry_file
35
- - v1_skill_entry_file
36
- - legacy_hej_bridge
37
35
  canonical_concepts:
38
36
  agentera_app_files:
39
37
  definition: >-
@@ -119,32 +117,6 @@ canonical_concepts:
119
117
  - SKILL.md
120
118
  - skill file
121
119
  - skill entry
122
- v1_skill_entry_file:
123
- definition: >-
124
- A historical standalone v1 skill entry file or path retained in migration
125
- notes, tests, stale-path checks, and compatibility fixtures.
126
- allowed_terms:
127
- - v1 skill entry file
128
- - v1 standalone skill entry file
129
- - "historical v1 `SKILL.md` file"
130
- - v1 skill path
131
- forbidden_ambiguous_shortcuts:
132
- - SKILL.md
133
- - v1 SKILL.md
134
- - old skill file
135
- legacy_hej_bridge:
136
- definition: >-
137
- The temporary v1 `/hej` bridge or exact bare `hej` compatibility path that
138
- guides users toward `/agentera` and the v2 upgrade path.
139
- allowed_terms:
140
- - legacy hej bridge
141
- - "legacy `/hej` bridge"
142
- - v1 hej bridge
143
- - "bare `hej` compatibility path"
144
- forbidden_ambiguous_shortcuts:
145
- - hej skill
146
- - legacy skill
147
- - old hej
148
120
  classification_order:
149
121
  - canonical_concept
150
122
  - compatibility_identifier
@@ -194,7 +166,7 @@ focused_scan:
194
166
  - (retired maintainer measurement tool)
195
167
  - skills/agentera/SKILL.md
196
168
  - skills/agentera/capabilities/hej/schemas/triggers.yaml
197
- - skills/agentera/capabilities/resonera/instructions.md
169
+ - packages/cli/src/capabilities/resonera/instructions.ts
198
170
  - tests/test_cross_capability.py
199
171
  - tests/test_resonera_capability.py
200
172
  - tests/test_runtime_adapters.py
@@ -3,9 +3,10 @@ status: active_authority
3
3
  decision: 57
4
4
  purpose: >-
5
5
  Define the Decision 57 capability instruction-file contract: the canonical
6
- `instructions.md` file name, implemented CLI/schema first-invocation read
7
- discoverability, compact-startup exception boundaries, and runtime behavior
8
- that remains intentionally unsupported.
6
+ `instructions.ts` module path, implemented CLI/schema first-invocation read
7
+ discoverability, the `prime_context` runtime-enforcement boundary, and
8
+ retirement of the historical `full`/`compact_startup`/`skip` values
9
+ superseded by Decision 65.
9
10
  sources:
10
11
  decision: .agentera/decisions.yaml#decision-57
11
12
  prose:
@@ -13,91 +14,87 @@ sources:
13
14
  - README.md#development
14
15
  scope:
15
16
  includes:
16
- - Documentation authority for the implemented capability instruction-file name.
17
+ - Documentation authority for the implemented capability instruction module path.
17
18
  - CLI/schema discoverability for first capability invocation startup-read metadata.
18
- - Compact-startup exception semantics and boundaries.
19
- - Current canonical references to existing `instructions.md` files.
19
+ - The single `prime_context` first-invocation shape enforced by the runtime.
20
+ - Current canonical references to existing `instructions.ts` modules.
20
21
  - Explicit separation from runtime behavior work.
21
22
  excludes:
22
23
  - Implementing first-invocation read behavior.
23
24
  - Marking Decision 57 satisfied or editing protected vision/objective/profile/installed-app state.
24
25
  current_state:
25
26
  canonical_instruction_file:
26
- path: skills/agentera/capabilities/<name>/instructions.md
27
+ path: packages/cli/src/capabilities/<name>/instructions.ts
27
28
  status: current_canonical_implemented
28
29
  definition: >-
29
- The human-readable instruction file for each capability.
30
+ The TypeScript module that exports the capability's behavioral
31
+ instructions as a default-exported string constant. The runtime loads
32
+ the compiled .js path and serves the prose through the slim
33
+ `capability_context` capsule's `prose` field.
30
34
  legacy_instruction_file:
35
+ path: skills/agentera/capabilities/<name>/instructions.md
36
+ status: historical_or_compatibility_evidence_only
37
+ definition: >-
38
+ The pre-D65 Markdown instruction filename. It may survive only in
39
+ archived history, compatibility fixtures, benchmark evidence, or
40
+ explicit migration documentation; real capability directories do not
41
+ use it as canonical.
42
+ legacy_prose_file:
31
43
  path: skills/agentera/capabilities/<name>/prose.md
32
44
  status: historical_or_compatibility_evidence_only
33
45
  definition: >-
34
- The former capability instruction filename. It may survive only in archived
35
- history, compatibility fixtures, benchmark evidence, or explicit migration
36
- documentation; real capability directories do not use it as canonical.
46
+ The pre-D57 capability instruction filename. It may survive only in
47
+ archived history, compatibility fixtures, benchmark evidence, or
48
+ explicit migration documentation; real capability directories do not
49
+ use it as canonical.
37
50
  validator_requirement:
38
- current_required_path: instructions.md
39
- future_required_path: instructions.md
51
+ current_required_path: packages/cli/src/capabilities/<name>/instructions.ts
52
+ future_required_path: packages/cli/src/capabilities/<name>/instructions.ts
40
53
  status: current_requirement_enforced
41
54
  cli_metadata:
42
55
  field: first_invocation_read
43
56
  status: emitted_in_prime_capability_context
44
57
  current_behavior: >-
45
58
  `agentera prime --context <name> --format json` emits
46
- `capability_context` metadata including `first_invocation_read` for
47
- supported capabilities. Historical `hej --capability-context` is removed in 3.0.
59
+ `capability_context` metadata including `first_invocation_read`
60
+ (value: `prime_context`, runtime_enforcement: true) and the full prose
61
+ in the `prose` field for supported capabilities. Historical
62
+ `hej --capability-context` is removed in 3.0.
48
63
  first_invocation_read:
49
- field_status: cli_schema_discoverability_implemented
64
+ field_status: runtime_enforced
50
65
  definition: >-
51
- Capability metadata declaring what instruction content an agent must read on
52
- the first invocation of that capability in a session.
66
+ Capability metadata declaring what instruction content an agent must
67
+ read on the first invocation of that capability in a session. Decision
68
+ 65 collapses the legacy `full`/`compact_startup` distinction into a
69
+ single `prime_context` value because the CLI now owns the prose and
70
+ the runtime can mechanically shell out to the prime command.
53
71
  allowed_values:
54
- full:
55
- meaning: >-
56
- The first capability invocation must read `instructions.md` in full before
57
- executing capability-specific work.
58
- obligation: full_instruction_file_read_required
59
- compact_startup:
60
- meaning: >-
61
- A declared compact startup contract may satisfy initial orientation without
62
- reading the full instruction file first.
63
- obligation: compact_contract_must_name_covered_guidance_and_escalation_rules
64
- skip:
72
+ prime_context:
65
73
  meaning: >-
66
- No first-invocation instruction read is required for the declared scope.
67
- obligation: requires_explicit_contract_justification
68
- caution: >-
69
- Reserved for narrow future surfaces; not a default and not implemented by
70
- this authority.
71
- default_rule: full
74
+ The first capability invocation must shell out to
75
+ `agentera prime --context <name> --format json` and read the
76
+ returned `prose` field (the full Markdown body) before executing
77
+ capability-specific work.
78
+ obligation: shell out to agentera prime --context <name> --format json
79
+ default_rule: prime_context
72
80
  full_read_obligation: >-
73
- On initial capability invocation, read `instructions.md` in full unless that
74
- capability declares a compact-startup exception with explicit coverage and
75
- escalation boundaries.
76
- compact_startup_exception:
77
- status: implemented_for_planera_compact_startup_discoverability
78
- allowed_when:
79
- - A machine-readable startup contract is available through supported state access.
80
- - The compact contract states which instruction topics it covers.
81
- - The compact contract states when the agent must escalate to a full instruction-file read.
82
- - The compact contract preserves unsupported-command and raw-artifact-read boundaries.
83
- not_allowed_when:
84
- - The agent is editing the capability's own instructions or schemas.
85
- - The compact contract is missing, incomplete, stale, or contradictory.
86
- - The requested work touches behavior not covered by the compact contract.
87
- - Safety rails, validation, exit semantics, or cross-capability boundaries are ambiguous.
81
+ On initial capability invocation, shell out to
82
+ `agentera prime --context <name> --format json` and read the
83
+ `capability_context.prose` field in full.
88
84
  implementation_state:
89
- instructions_md_files: renamed
90
- validators_require_instructions_md: true
85
+ instructions_ts_modules: implemented
86
+ validators_require_instructions_ts: true
91
87
  first_invocation_read_cli_metadata: true
92
88
  first_invocation_read_schema_metadata: true
93
- runtime_first_invocation_behavior: false
94
- descriptors_rewritten_to_instructions_md: true
95
- package_metadata_rewritten_to_instructions_md: true
89
+ runtime_first_invocation_behavior: true
90
+ descriptors_rewritten_to_prime_command: true
91
+ package_metadata_rewritten_to_prime_command: true
96
92
  compatibility_preservation:
97
93
  preserve_legacy_references_only_when_classified:
98
- - skills/agentera/capabilities/*/instructions.md paths
94
+ - skills/agentera/capabilities/*/instructions.md paths (historical)
95
+ - packages/cli/src/capabilities/*/instructions.ts paths (current canonical)
99
96
  - skills/agentera/capability_schema_contract.yaml directory requirements
100
- - runtime descriptors and generated agent guidance that point to `instructions.md`
97
+ - runtime descriptors and generated agent guidance that point to `instructions.md` (retired)
101
98
  - archived v1/v2 migration records and progress evidence
102
99
  - compatibility fixtures and tests that intentionally preserve old behavior evidence
103
100
  - README, AGENTS, and vocabulary references that explicitly describe the current canonical state
@@ -116,6 +113,50 @@ surface_inventory:
116
113
  capability_schema_contract: current_canonical_validator_reference
117
114
  runtime_descriptors: current_canonical_instructions_md_pointers
118
115
  capability_instruction_files: current_canonical_instruction_files
116
+ evaluator_handoff:
117
+ status: implemented
118
+ purpose: >-
119
+ Define the inspektera evaluation report schema and citation requirements
120
+ for orkestrera Step 3 Surface 2 delegations and post-plan health checks.
121
+ report_schema_version: agentera.inspekteraEvaluationReport.v1
122
+ row_schema:
123
+ required_fields:
124
+ - criterion
125
+ - status
126
+ - evidence
127
+ status_values:
128
+ - PASS
129
+ - WARN
130
+ - FAIL
131
+ citation_required_for:
132
+ - WARN
133
+ - FAIL
134
+ citation_formats:
135
+ file_line:
136
+ pattern: "^[^:\\s]+:\\d+$"
137
+ description: Relative repo path with 1-based line number, e.g. TODO.md:15
138
+ not_applicable:
139
+ prefix: "not-applicable:"
140
+ min_reason_length: 8
141
+ description: >-
142
+ Use when no file anchor exists; prefix with not-applicable: and give a
143
+ concrete reason (at least 8 characters after the prefix).
144
+ warn_verify_command:
145
+ required_when: file_line_citation
146
+ allowed_prefixes:
147
+ - grep
148
+ - git show
149
+ description: >-
150
+ WARN rows with a file:line citation MUST include verify_command with the
151
+ exact grep or git show invocation that reproduces the evidence at the
152
+ cited line.
153
+ orchestration_context_fields:
154
+ output_requirements:
155
+ citation_required_for:
156
+ - WARN
157
+ - FAIL
158
+ warn_verify_command_required: true
159
+ schema_authority: references/cli/capability-instruction-contract.yaml#evaluator_handoff
119
160
  docs_delegation:
120
161
  document: references/cli/vocabulary.md
121
162
  required_anchor: Capability instruction contract
@@ -0,0 +1,9 @@
1
+ # v2/v3 coexistence doctor warning contract (both CLI lines).
2
+ schema_version: agentera.coexistenceProbe.v1
3
+ section_header: Coexistence
4
+ warning:
5
+ headline: "v3 detected alongside v2; pick one line"
6
+ resolutions:
7
+ - complete v3 migration
8
+ - uninstall v3
9
+ - stay on v2 explicitly
@@ -171,9 +171,9 @@ focused_scan:
171
171
  - (retired maintainer measurement tool)
172
172
  - skills/agentera/SKILL.md
173
173
  - skills/agentera/references/contract.md
174
- - skills/agentera/capabilities/realisera/instructions.md
175
- - skills/agentera/capabilities/optimera/instructions.md
176
- - skills/agentera/capabilities/orkestrera/instructions.md
174
+ - packages/cli/src/capabilities/realisera/instructions.ts
175
+ - packages/cli/src/capabilities/optimera/instructions.ts
176
+ - packages/cli/src/capabilities/orkestrera/instructions.ts
177
177
  - tests/test_skill_dispatch_contract.py
178
178
  - tests/test_runtime_adapters.py
179
179
  - tests/test_runtime_adapter_registry.py
@@ -222,15 +222,15 @@ focused_scan:
222
222
  text: checkpoint before worktree dispatch
223
223
  classification: compatibility-preserved
224
224
  reason: The contract preserves the parseable historical checkpoint commit message string.
225
- - path: ^skills/agentera/capabilities/realisera/instructions\.md$
225
+ - path: ^packages/cli/src/capabilities/realisera/instructions\.ts$
226
226
  text: 'Step 5: Dispatch|checkpoint before worktree dispatch'
227
227
  classification: compatibility-preserved
228
228
  reason: Realisera preserves the current step heading and checkpoint commit message compatibility string.
229
- - path: ^skills/agentera/capabilities/optimera/instructions\.md$
229
+ - path: ^packages/cli/src/capabilities/optimera/instructions\.ts$
230
230
  text: checkpoint before worktree dispatch
231
231
  classification: compatibility-preserved
232
232
  reason: Optimera preserves the current checkpoint commit message compatibility string.
233
- - path: ^skills/agentera/capabilities/orkestrera/instructions\.md$
233
+ - path: ^packages/cli/src/capabilities/orkestrera/instructions\.ts$
234
234
  text: review pressure in dispatch|dispatch/evaluation context|`dispatch` and `chain` are autonomous orchestration verbs
235
235
  classification: canonical
236
236
  reason: Orkestrera capability prose uses dispatch for its explicitly owned orchestration loop.
@@ -0,0 +1,42 @@
1
+ schema_version: agentera.single_name_protocol.v1
2
+ status: active_authority
3
+ decision: 58
4
+ purpose: >-
5
+ Machine-readable Decision 58 boundary: forbidden legacy protocol identifiers
6
+ and scan surfaces for the single-name protocol regression test.
7
+ human_index:
8
+ document: references/cli/vocabulary.md
9
+ forbidden_protocol_substrings:
10
+ - pattern: instruction_file
11
+ rationale: D65 renamed DIRECTORY_REQUIREMENTS and contract fields to instruction_module.
12
+ - pattern: canonical_instruction_file
13
+ rationale: Use canonical_instruction_module in capability-instruction-contract.yaml.
14
+ - pattern: legacy_instruction_file
15
+ rationale: Historical paths belong in archive or migration modules only.
16
+ - pattern: instructionPath
17
+ rationale: capabilityContract loader exposes instructionModulePath only.
18
+ forbidden_storage_protocol_markdown_artifacts:
19
+ - PROGRESS.md
20
+ - PLAN.md
21
+ - DECISIONS.md
22
+ - VISION.md
23
+ - HEALTH.md
24
+ - DOCS.md
25
+ - OBJECTIVE.md
26
+ - EXPERIMENTS.md
27
+ scan_roots:
28
+ - packages/cli/src
29
+ - skills/agentera/capability_schema_contract.yaml
30
+ - skills/agentera/protocol.yaml
31
+ - references/cli/capability-instruction-contract.yaml
32
+ - references/cli/vocabulary.md
33
+ - references/cli/vocabulary-index.yaml
34
+ - registry.json
35
+ scan_exclude_globs:
36
+ - "**/capabilities/**/instructions.ts"
37
+ - "**/migrateArtifactsV1ToV2.ts"
38
+ - "**/migrateArtifactsV2ToV3.ts"
39
+ - "**/migrateArtifacts*.ts"
40
+ - "**/*.test.ts"
41
+ - "**/test/**"
42
+ comment_line_exempt: true
@@ -33,6 +33,22 @@ channels:
33
33
  Tracks the supported 2.x release line for users who must not cross the v2→v3
34
34
  major boundary without explicit opt-in.
35
35
  distribution_major: 2
36
+ next_major:
37
+ concept: forward_successor_line
38
+ channel: development
39
+ version: "3.0.0"
40
+ announced: false
41
+ npm:
42
+ dist_tag: next
43
+ npm_only_advisory: >-
44
+ The successor line is npm-only; stable git/uvx installs remain on the
45
+ supported 2.x line until you explicitly opt in through npm.
46
+ guide_url: >-
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
49
+ irreversible_advisory: >-
50
+ Forward migration to the successor line is one-way; return to the prior
51
+ Python support line is permanently unsupported.
36
52
  resolution:
37
53
  npm:
38
54
  dist_tag: latest
@@ -127,8 +143,8 @@ version_resolution:
127
143
  latest_on_channel:
128
144
  resolver: npm_dist_tag_with_offline_defaults
129
145
  offline_defaults:
130
- stable: "2.7.6"
131
- development: "3.0.0-dev.4"
146
+ stable: "2.7.7"
147
+ development: "3.0.0"
132
148
  irreversibility:
133
149
  downgrade_to_v2: permanently_blocked
134
150
  supported_downgrade_lines: []