agentera 3.0.0-dev.3 → 3.0.0-dev.30

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 (762) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +96 -6
  3. package/bundle/.agentera-npx-bundle.json +1 -1
  4. package/bundle/CHANGELOG.md +1133 -0
  5. package/bundle/DESIGN.md +229 -0
  6. package/bundle/LICENSE +201 -0
  7. package/bundle/README.md +136 -0
  8. package/bundle/UPGRADE.md +201 -0
  9. package/bundle/extract-corpus-parity.json +21 -0
  10. package/bundle/fixtures/routing/hybrid-corpus.yaml +154 -0
  11. package/bundle/references/adapters/package-manifest-interface-model.yaml +42 -252
  12. package/bundle/references/adapters/package-registry.yaml +20 -188
  13. package/bundle/references/adapters/package-surface-characterization.md +36 -37
  14. package/bundle/references/adapters/runtime-lifecycle-adapters.yaml +74 -0
  15. package/bundle/references/adapters/runtime-lifecycle-authority.yaml +62 -0
  16. package/bundle/references/adapters/runtime-lifecycle-operation-contract.yaml +84 -0
  17. package/bundle/references/adapters/runtime-retired-resources.yaml +97 -0
  18. package/bundle/references/analysis/benchmark.md +10 -6
  19. package/bundle/references/analysis/evidence-tier-authority.yaml +516 -0
  20. package/bundle/references/analysis/startup-measurement-contract.yaml +37 -26
  21. package/bundle/references/analysis/verification-policy.yaml +142 -0
  22. package/bundle/references/artifacts/artifact-registry-interface-model.yaml +9 -8
  23. package/bundle/references/artifacts/state-storage-authority.yaml +2167 -0
  24. package/bundle/references/artifacts/verbosity-budget-authority.yaml +42 -0
  25. package/bundle/references/cli/agent-ready-state-contract.yaml +64 -81
  26. package/bundle/references/cli/app-lifecycle-vocabulary.yaml +7 -8
  27. package/bundle/references/cli/audience-namespace-cli-migration.yaml +58 -29
  28. package/bundle/references/cli/bundle-skill-vocabulary.yaml +12 -49
  29. package/bundle/references/cli/capability-instruction-contract.yaml +96 -58
  30. package/bundle/references/cli/capability-instruction-structure.md +144 -0
  31. package/bundle/references/cli/capability-tool-classification.yaml +14 -14
  32. package/bundle/references/cli/coexistence-probe.yaml +13 -0
  33. package/bundle/references/cli/hybrid-route-contract.yaml +416 -0
  34. package/bundle/references/cli/parity-expected-actual-template.md +30 -0
  35. package/bundle/references/cli/prime-consumer-compatibility.yaml +651 -0
  36. package/bundle/references/cli/routing-execution-vocabulary.yaml +16 -38
  37. package/bundle/references/cli/routing-model.md +139 -0
  38. package/bundle/references/cli/single-name-protocol.yaml +42 -0
  39. package/bundle/references/cli/trigger-schema-enrichment.md +140 -0
  40. package/bundle/references/cli/update-channels.yaml +45 -7
  41. package/bundle/references/cli/upgrade-repair-wording.md +25 -0
  42. package/bundle/references/cli/v3-handoff-manifest.schema.yaml +97 -0
  43. package/bundle/references/cli/vocabulary-index.yaml +23 -18
  44. package/bundle/references/cli/vocabulary.md +346 -331
  45. package/bundle/references/meta/documentation-inventory.md +10 -3
  46. package/bundle/registry.json +14 -14
  47. package/bundle/skills/agentera/SKILL.md +182 -407
  48. package/bundle/skills/agentera/capabilities/audit/schemas/artifacts.yaml +84 -0
  49. package/bundle/skills/agentera/capabilities/{inspektera → audit}/schemas/exit.yaml +2 -2
  50. package/bundle/skills/agentera/capabilities/audit/schemas/triggers.yaml +25 -0
  51. package/bundle/skills/agentera/capabilities/{inspektera → audit}/schemas/validation.yaml +20 -19
  52. package/bundle/skills/agentera/capabilities/build/schemas/artifacts.yaml +85 -0
  53. package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/exit.yaml +3 -3
  54. package/bundle/skills/agentera/capabilities/build/schemas/triggers.yaml +27 -0
  55. package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/validation.yaml +16 -16
  56. package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/artifacts.yaml +12 -12
  57. package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/exit.yaml +5 -5
  58. package/bundle/skills/agentera/capabilities/design/schemas/triggers.yaml +16 -0
  59. package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/validation.yaml +7 -7
  60. package/bundle/skills/agentera/capabilities/discuss/schemas/artifacts.yaml +49 -0
  61. package/bundle/skills/agentera/capabilities/{resonera → discuss}/schemas/exit.yaml +2 -2
  62. package/bundle/skills/agentera/capabilities/discuss/schemas/triggers.yaml +20 -0
  63. package/bundle/skills/agentera/capabilities/{resonera → discuss}/schemas/validation.yaml +9 -8
  64. package/bundle/skills/agentera/capabilities/document/schemas/artifacts.yaml +80 -0
  65. package/bundle/skills/agentera/capabilities/document/schemas/triggers.yaml +16 -0
  66. package/bundle/skills/agentera/capabilities/{dokumentera → document}/schemas/validation.yaml +18 -18
  67. package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/artifacts.yaml +17 -17
  68. package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/exit.yaml +2 -2
  69. package/bundle/skills/agentera/capabilities/optimize/schemas/triggers.yaml +16 -0
  70. package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/validation.yaml +9 -9
  71. package/bundle/skills/agentera/capabilities/orchestrate/schemas/artifacts.yaml +76 -0
  72. package/bundle/skills/agentera/capabilities/{orkestrera → orchestrate}/schemas/exit.yaml +9 -7
  73. package/bundle/skills/agentera/capabilities/orchestrate/schemas/triggers.yaml +23 -0
  74. package/bundle/skills/agentera/capabilities/orchestrate/schemas/validation.yaml +121 -0
  75. package/bundle/skills/agentera/capabilities/plan/schemas/artifacts.yaml +63 -0
  76. package/bundle/skills/agentera/capabilities/{planera → plan}/schemas/exit.yaml +2 -2
  77. package/bundle/skills/agentera/capabilities/plan/schemas/triggers.yaml +23 -0
  78. package/bundle/skills/agentera/capabilities/plan/schemas/validation.yaml +89 -0
  79. package/bundle/skills/agentera/capabilities/{profilera → profile}/schemas/artifacts.yaml +4 -4
  80. package/bundle/skills/agentera/capabilities/{profilera → profile}/schemas/exit.yaml +3 -3
  81. package/bundle/skills/agentera/capabilities/profile/schemas/triggers.yaml +20 -0
  82. package/bundle/skills/agentera/capabilities/profile/schemas/validation.yaml +85 -0
  83. package/bundle/skills/agentera/capabilities/research/schemas/artifacts.yaml +24 -0
  84. package/bundle/skills/agentera/capabilities/research/schemas/triggers.yaml +16 -0
  85. package/bundle/skills/agentera/capabilities/{inspirera → research}/schemas/validation.yaml +2 -2
  86. package/bundle/skills/agentera/capabilities/status/schemas/artifacts.yaml +72 -0
  87. package/bundle/skills/agentera/capabilities/status/schemas/triggers.yaml +22 -0
  88. package/bundle/skills/agentera/capabilities/{hej → status}/schemas/validation.yaml +5 -5
  89. package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/artifacts.yaml +16 -16
  90. package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/exit.yaml +7 -6
  91. package/bundle/skills/agentera/capabilities/vision/schemas/triggers.yaml +23 -0
  92. package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/validation.yaml +18 -20
  93. package/bundle/skills/agentera/capability_schema_contract.yaml +200 -37
  94. package/bundle/skills/agentera/protocol.yaml +29 -29
  95. package/bundle/skills/agentera/references/contract.md +387 -329
  96. package/bundle/skills/agentera/route-phrases.yaml +81 -0
  97. package/bundle/skills/agentera/schemas/artifacts/changelog.yaml +5 -4
  98. package/bundle/skills/agentera/schemas/artifacts/decisions.yaml +40 -22
  99. package/bundle/skills/agentera/schemas/artifacts/design.yaml +5 -4
  100. package/bundle/skills/agentera/schemas/artifacts/docs.yaml +15 -19
  101. package/bundle/skills/agentera/schemas/artifacts/experiments.yaml +145 -14
  102. package/bundle/skills/agentera/schemas/artifacts/health.yaml +58 -21
  103. package/bundle/skills/agentera/schemas/artifacts/objective.yaml +22 -8
  104. package/bundle/skills/agentera/schemas/artifacts/plan.yaml +327 -15
  105. package/bundle/skills/agentera/schemas/artifacts/progress.yaml +51 -53
  106. package/bundle/skills/agentera/schemas/artifacts/todo.yaml +82 -28
  107. package/bundle/skills/agentera/schemas/artifacts/vision.yaml +3 -3
  108. package/dist/analytics/extractCorpus/cli.js +191 -0
  109. package/dist/analytics/extractCorpus/cli.js.map +1 -0
  110. package/dist/analytics/extractCorpus/copilotSessions.js +276 -0
  111. package/dist/analytics/extractCorpus/copilotSessions.js.map +1 -0
  112. package/dist/analytics/extractCorpus/core.js +393 -0
  113. package/dist/analytics/extractCorpus/core.js.map +1 -0
  114. package/dist/analytics/extractCorpus/corpus.js +168 -0
  115. package/dist/analytics/extractCorpus/corpus.js.map +1 -0
  116. package/dist/analytics/extractCorpus/coverageAudit.js +261 -0
  117. package/dist/analytics/extractCorpus/coverageAudit.js.map +1 -0
  118. package/dist/analytics/extractCorpus/cursorSessions.js +426 -0
  119. package/dist/analytics/extractCorpus/cursorSessions.js.map +1 -0
  120. package/dist/analytics/extractCorpus/evidenceTiers.js +561 -0
  121. package/dist/analytics/extractCorpus/evidenceTiers.js.map +1 -0
  122. package/dist/analytics/extractCorpus/extractCorpusParity.js +106 -0
  123. package/dist/analytics/extractCorpus/extractCorpusParity.js.map +1 -0
  124. package/dist/analytics/extractCorpus/filesystemSources.js +119 -0
  125. package/dist/analytics/extractCorpus/filesystemSources.js.map +1 -0
  126. package/dist/analytics/extractCorpus/index.js +15 -0
  127. package/dist/analytics/extractCorpus/index.js.map +1 -0
  128. package/dist/analytics/extractCorpus/jsonlSessions.js +205 -0
  129. package/dist/analytics/extractCorpus/jsonlSessions.js.map +1 -0
  130. package/dist/analytics/extractCorpus/sqliteCaps.js +44 -0
  131. package/dist/analytics/extractCorpus/sqliteCaps.js.map +1 -0
  132. package/dist/analytics/extractCorpus/sqliteSessions.js +368 -0
  133. package/dist/analytics/extractCorpus/sqliteSessions.js.map +1 -0
  134. package/dist/analytics/extractCorpus/tierReader.js +109 -0
  135. package/dist/analytics/extractCorpus/tierReader.js.map +1 -0
  136. package/dist/analytics/extractCorpus.js +2 -1790
  137. package/dist/analytics/extractCorpus.js.map +1 -1
  138. package/dist/analytics/profileSignals.js +212 -0
  139. package/dist/analytics/profileSignals.js.map +1 -0
  140. package/dist/analytics/usageStats.js +191 -41
  141. package/dist/analytics/usageStats.js.map +1 -1
  142. package/dist/bin/agentera.js +3 -1
  143. package/dist/bin/agentera.js.map +1 -1
  144. package/dist/capabilities/audit/instructions.js +16 -0
  145. package/dist/capabilities/audit/instructions.js.map +1 -0
  146. package/dist/capabilities/build/instructions.js +18 -0
  147. package/dist/capabilities/build/instructions.js.map +1 -0
  148. package/dist/capabilities/design/instructions.js +5 -0
  149. package/dist/capabilities/design/instructions.js.map +1 -0
  150. package/dist/capabilities/discuss/instructions.js +16 -0
  151. package/dist/capabilities/discuss/instructions.js.map +1 -0
  152. package/dist/capabilities/document/instructions.js +12 -0
  153. package/dist/capabilities/document/instructions.js.map +1 -0
  154. package/dist/capabilities/index.js +39 -0
  155. package/dist/capabilities/index.js.map +1 -0
  156. package/dist/capabilities/optimize/instructions.js +14 -0
  157. package/dist/capabilities/optimize/instructions.js.map +1 -0
  158. package/dist/capabilities/orchestrate/instructions.js +41 -0
  159. package/dist/capabilities/orchestrate/instructions.js.map +1 -0
  160. package/dist/capabilities/plan/instructions.js +15 -0
  161. package/dist/capabilities/plan/instructions.js.map +1 -0
  162. package/dist/capabilities/profile/instructions.js +5 -0
  163. package/dist/capabilities/profile/instructions.js.map +1 -0
  164. package/dist/capabilities/research/instructions.js +6 -0
  165. package/dist/capabilities/research/instructions.js.map +1 -0
  166. package/dist/capabilities/status/instructions.js +5 -0
  167. package/dist/capabilities/status/instructions.js.map +1 -0
  168. package/dist/capabilities/status/startupInstructions.js +35 -0
  169. package/dist/capabilities/status/startupInstructions.js.map +1 -0
  170. package/dist/capabilities/vision/instructions.js +5 -0
  171. package/dist/capabilities/vision/instructions.js.map +1 -0
  172. package/dist/cli/appContext.js +30 -23
  173. package/dist/cli/appContext.js.map +1 -1
  174. package/dist/cli/argvalidate.js.map +1 -1
  175. package/dist/cli/capabilityContext/benchmark.js +564 -0
  176. package/dist/cli/capabilityContext/benchmark.js.map +1 -0
  177. package/dist/cli/capabilityContext/bespoke.js +44 -0
  178. package/dist/cli/capabilityContext/bespoke.js.map +1 -0
  179. package/dist/cli/capabilityContext/build.js +191 -0
  180. package/dist/cli/capabilityContext/build.js.map +1 -0
  181. package/dist/cli/capabilityContext/closeout.js +231 -0
  182. package/dist/cli/capabilityContext/closeout.js.map +1 -0
  183. package/dist/cli/capabilityContext/contract.js +214 -0
  184. package/dist/cli/capabilityContext/contract.js.map +1 -0
  185. package/dist/cli/capabilityContext/evidence.js +469 -0
  186. package/dist/cli/capabilityContext/evidence.js.map +1 -0
  187. package/dist/cli/capabilityContext/index.js +4 -0
  188. package/dist/cli/capabilityContext/index.js.map +1 -0
  189. package/dist/cli/capabilityContext/orchestration.js +128 -0
  190. package/dist/cli/capabilityContext/orchestration.js.map +1 -0
  191. package/dist/cli/capabilityContext/planState.js +280 -0
  192. package/dist/cli/capabilityContext/planState.js.map +1 -0
  193. package/dist/cli/capabilityContext/progress.js +143 -0
  194. package/dist/cli/capabilityContext/progress.js.map +1 -0
  195. package/dist/cli/capabilityContext/shared.js +100 -0
  196. package/dist/cli/capabilityContext/shared.js.map +1 -0
  197. package/dist/cli/capabilityContext/slim.js +153 -0
  198. package/dist/cli/capabilityContext/slim.js.map +1 -0
  199. package/dist/cli/capabilityContext/startup.js +257 -0
  200. package/dist/cli/capabilityContext/startup.js.map +1 -0
  201. package/dist/cli/capabilityContext/types.js +51 -0
  202. package/dist/cli/capabilityContext/types.js.map +1 -0
  203. package/dist/cli/capabilityContext.js +1 -2420
  204. package/dist/cli/capabilityContext.js.map +1 -1
  205. package/dist/cli/commands/appHome.js +23 -0
  206. package/dist/cli/commands/appHome.js.map +1 -0
  207. package/dist/cli/commands/capability.js +3 -10
  208. package/dist/cli/commands/capability.js.map +1 -1
  209. package/dist/cli/commands/compact.js +41 -12
  210. package/dist/cli/commands/compact.js.map +1 -1
  211. package/dist/cli/commands/doctor.js +59 -97
  212. package/dist/cli/commands/doctor.js.map +1 -1
  213. package/dist/cli/commands/durability.js +82 -0
  214. package/dist/cli/commands/durability.js.map +1 -0
  215. package/dist/cli/commands/entityMigrate.js +132 -0
  216. package/dist/cli/commands/entityMigrate.js.map +1 -0
  217. package/dist/cli/commands/lint.js +26 -43
  218. package/dist/cli/commands/lint.js.map +1 -1
  219. package/dist/cli/commands/prime/briefOrientation.js +592 -0
  220. package/dist/cli/commands/prime/briefOrientation.js.map +1 -0
  221. package/dist/cli/commands/prime/bundleStatus.js +191 -0
  222. package/dist/cli/commands/prime/bundleStatus.js.map +1 -0
  223. package/dist/cli/commands/prime/collectEntityOrientation.js +260 -0
  224. package/dist/cli/commands/prime/collectEntityOrientation.js.map +1 -0
  225. package/dist/cli/commands/prime/collectOrientationState.js +180 -0
  226. package/dist/cli/commands/prime/collectOrientationState.js.map +1 -0
  227. package/dist/cli/commands/prime/orientationOutput.js +350 -0
  228. package/dist/cli/commands/prime/orientationOutput.js.map +1 -0
  229. package/dist/cli/commands/prime/types.js +2 -0
  230. package/dist/cli/commands/prime/types.js.map +1 -0
  231. package/dist/cli/commands/prime/v1Migration.js +39 -0
  232. package/dist/cli/commands/prime/v1Migration.js.map +1 -0
  233. package/dist/cli/commands/prime.js +61 -556
  234. package/dist/cli/commands/prime.js.map +1 -1
  235. package/dist/cli/commands/query.js +66 -51
  236. package/dist/cli/commands/query.js.map +1 -1
  237. package/dist/cli/commands/report.js +100 -24
  238. package/dist/cli/commands/report.js.map +1 -1
  239. package/dist/cli/commands/route.js +142 -0
  240. package/dist/cli/commands/route.js.map +1 -0
  241. package/dist/cli/commands/schema.js +260 -78
  242. package/dist/cli/commands/schema.js.map +1 -1
  243. package/dist/cli/commands/state/decisions.js +388 -0
  244. package/dist/cli/commands/state/decisions.js.map +1 -0
  245. package/dist/cli/commands/state/docs.js +71 -0
  246. package/dist/cli/commands/state/docs.js.map +1 -0
  247. package/dist/cli/commands/state/experimentRecords.js +139 -0
  248. package/dist/cli/commands/state/experimentRecords.js.map +1 -0
  249. package/dist/cli/commands/state/experiments.js +15 -0
  250. package/dist/cli/commands/state/experiments.js.map +1 -0
  251. package/dist/cli/commands/state/get.js +127 -0
  252. package/dist/cli/commands/state/get.js.map +1 -0
  253. package/dist/cli/commands/state/health.js +15 -0
  254. package/dist/cli/commands/state/health.js.map +1 -0
  255. package/dist/cli/commands/state/index.js +60 -0
  256. package/dist/cli/commands/state/index.js.map +1 -0
  257. package/dist/cli/commands/state/list.js +176 -0
  258. package/dist/cli/commands/state/list.js.map +1 -0
  259. package/dist/cli/commands/state/objective.js +26 -0
  260. package/dist/cli/commands/state/objective.js.map +1 -0
  261. package/dist/cli/commands/state/plan.js +15 -0
  262. package/dist/cli/commands/state/plan.js.map +1 -0
  263. package/dist/cli/commands/state/planTasks.js +142 -0
  264. package/dist/cli/commands/state/planTasks.js.map +1 -0
  265. package/dist/cli/commands/state/plans.js +143 -0
  266. package/dist/cli/commands/state/plans.js.map +1 -0
  267. package/dist/cli/commands/state/progress.js +14 -0
  268. package/dist/cli/commands/state/progress.js.map +1 -0
  269. package/dist/cli/commands/state/shared.js +15 -0
  270. package/dist/cli/commands/state/shared.js.map +1 -0
  271. package/dist/cli/commands/state/todo.js +42 -0
  272. package/dist/cli/commands/state/todo.js.map +1 -0
  273. package/dist/cli/commands/state/write.js +418 -0
  274. package/dist/cli/commands/state/write.js.map +1 -0
  275. package/dist/cli/commands/upgrade.js +146 -4
  276. package/dist/cli/commands/upgrade.js.map +1 -1
  277. package/dist/cli/commands/upgradeVerify.js +119 -0
  278. package/dist/cli/commands/upgradeVerify.js.map +1 -0
  279. package/dist/cli/commands/validate.js +109 -209
  280. package/dist/cli/commands/validate.js.map +1 -1
  281. package/dist/cli/commands/verify.js +30 -8
  282. package/dist/cli/commands/verify.js.map +1 -1
  283. package/dist/cli/contracts/bundleStatus.js +2 -0
  284. package/dist/cli/contracts/bundleStatus.js.map +1 -0
  285. package/dist/cli/contracts/orientationState.js +2 -0
  286. package/dist/cli/contracts/orientationState.js.map +1 -0
  287. package/dist/cli/dispatch/argvParser.js +33 -0
  288. package/dist/cli/dispatch/argvParser.js.map +1 -0
  289. package/dist/cli/dispatch/check.js +390 -0
  290. package/dist/cli/dispatch/check.js.map +1 -0
  291. package/dist/cli/dispatch/commands.js +27 -0
  292. package/dist/cli/dispatch/commands.js.map +1 -0
  293. package/dist/cli/dispatch/index.js +226 -0
  294. package/dist/cli/dispatch/index.js.map +1 -0
  295. package/dist/cli/dispatch/lifecycle.js +653 -0
  296. package/dist/cli/dispatch/lifecycle.js.map +1 -0
  297. package/dist/cli/dispatch/prime.js +119 -0
  298. package/dist/cli/dispatch/prime.js.map +1 -0
  299. package/dist/cli/dispatch/shared.js +64 -0
  300. package/dist/cli/dispatch/shared.js.map +1 -0
  301. package/dist/cli/dispatch/state.js +174 -0
  302. package/dist/cli/dispatch/state.js.map +1 -0
  303. package/dist/cli/dispatch.js +1 -957
  304. package/dist/cli/dispatch.js.map +1 -1
  305. package/dist/cli/errors.js +53 -0
  306. package/dist/cli/errors.js.map +1 -0
  307. package/dist/cli/help.js +418 -0
  308. package/dist/cli/help.js.map +1 -0
  309. package/dist/cli/migrationRequired.js +87 -0
  310. package/dist/cli/migrationRequired.js.map +1 -0
  311. package/dist/cli/orientation/attention.js +67 -0
  312. package/dist/cli/orientation/attention.js.map +1 -0
  313. package/dist/cli/orientation/corpusCoverage.js +103 -0
  314. package/dist/cli/orientation/corpusCoverage.js.map +1 -0
  315. package/dist/cli/orientation.js +357 -148
  316. package/dist/cli/orientation.js.map +1 -1
  317. package/dist/cli/planArtifacts.js +351 -0
  318. package/dist/cli/planArtifacts.js.map +1 -0
  319. package/dist/cli/planEvidence.js +158 -0
  320. package/dist/cli/planEvidence.js.map +1 -0
  321. package/dist/cli/planLifecycleState.js +34 -0
  322. package/dist/cli/planLifecycleState.js.map +1 -0
  323. package/dist/cli/planTaskIndex.js +12 -0
  324. package/dist/cli/planTaskIndex.js.map +1 -0
  325. package/dist/cli/prime-blob.js +69 -2
  326. package/dist/cli/prime-blob.js.map +1 -1
  327. package/dist/cli/startupCompletenessContract.js +57 -0
  328. package/dist/cli/startupCompletenessContract.js.map +1 -0
  329. package/dist/cli/stateQuery.js +63 -10
  330. package/dist/cli/stateQuery.js.map +1 -1
  331. package/dist/cli/structured.js.map +1 -1
  332. package/dist/cli/todoMarkdown.js +33 -0
  333. package/dist/cli/todoMarkdown.js.map +1 -0
  334. package/dist/cli/todoSeverity.js +19 -0
  335. package/dist/cli/todoSeverity.js.map +1 -0
  336. package/dist/core/atomicWriter.js +21 -0
  337. package/dist/core/atomicWriter.js.map +1 -0
  338. package/dist/core/difflib.js.map +1 -1
  339. package/dist/core/envPaths.js +21 -0
  340. package/dist/core/envPaths.js.map +1 -0
  341. package/dist/core/jsonValue.js +6 -0
  342. package/dist/core/jsonValue.js.map +1 -0
  343. package/dist/core/paths.js.map +1 -1
  344. package/dist/core/pyjson.js +67 -2
  345. package/dist/core/pyjson.js.map +1 -1
  346. package/dist/core/skillIdentity.js +24 -0
  347. package/dist/core/skillIdentity.js.map +1 -0
  348. package/dist/core/sourceRoot.js.map +1 -1
  349. package/dist/core/text.js +11 -0
  350. package/dist/core/text.js.map +1 -0
  351. package/dist/core/toml.js.map +1 -1
  352. package/dist/core/yaml.js +8 -0
  353. package/dist/core/yaml.js.map +1 -1
  354. package/dist/eval/evalSkills.js +30 -25
  355. package/dist/eval/evalSkills.js.map +1 -1
  356. package/dist/eval/hybridRouteEvaluation.js +156 -0
  357. package/dist/eval/hybridRouteEvaluation.js.map +1 -0
  358. package/dist/eval/semanticEval.js +43 -19
  359. package/dist/eval/semanticEval.js.map +1 -1
  360. package/dist/eval/semanticFixtures.js +16 -4
  361. package/dist/eval/semanticFixtures.js.map +1 -1
  362. package/dist/hooks/common.js +10 -27
  363. package/dist/hooks/common.js.map +1 -1
  364. package/dist/hooks/compaction/apply.js +447 -0
  365. package/dist/hooks/compaction/apply.js.map +1 -0
  366. package/dist/hooks/compaction/dryRun.js +185 -0
  367. package/dist/hooks/compaction/dryRun.js.map +1 -0
  368. package/dist/hooks/compaction/index.js +23 -0
  369. package/dist/hooks/compaction/index.js.map +1 -0
  370. package/dist/hooks/compaction/parse.js +326 -0
  371. package/dist/hooks/compaction/parse.js.map +1 -0
  372. package/dist/hooks/compaction/retention.js +203 -0
  373. package/dist/hooks/compaction/retention.js.map +1 -0
  374. package/dist/hooks/compaction/status.js +361 -0
  375. package/dist/hooks/compaction/status.js.map +1 -0
  376. package/dist/hooks/compaction/types.js +6 -0
  377. package/dist/hooks/compaction/types.js.map +1 -0
  378. package/dist/hooks/cursorPreToolUse.js +1 -1
  379. package/dist/hooks/cursorPreToolUse.js.map +1 -1
  380. package/dist/hooks/cursorSessionStart.js +14 -21
  381. package/dist/hooks/cursorSessionStart.js.map +1 -1
  382. package/dist/hooks/projectHookInput.js +26 -0
  383. package/dist/hooks/projectHookInput.js.map +1 -0
  384. package/dist/hooks/sessionStart.js +55 -170
  385. package/dist/hooks/sessionStart.js.map +1 -1
  386. package/dist/hooks/sessionStop.js +12 -26
  387. package/dist/hooks/sessionStop.js.map +1 -1
  388. package/dist/hooks/validateArtifact/agentFacing.js +10 -0
  389. package/dist/hooks/validateArtifact/agentFacing.js.map +1 -0
  390. package/dist/hooks/validateArtifact/index.js +151 -0
  391. package/dist/hooks/validateArtifact/index.js.map +1 -0
  392. package/dist/hooks/validateArtifact/markdown.js +146 -0
  393. package/dist/hooks/validateArtifact/markdown.js.map +1 -0
  394. package/dist/hooks/validateArtifact/runtime.js +86 -0
  395. package/dist/hooks/validateArtifact/runtime.js.map +1 -0
  396. package/dist/hooks/validateArtifact/schema.js +541 -0
  397. package/dist/hooks/validateArtifact/schema.js.map +1 -0
  398. package/dist/hooks/validateArtifact/traversal.js +108 -0
  399. package/dist/hooks/validateArtifact/traversal.js.map +1 -0
  400. package/dist/hooks/validateArtifact/violations.js +108 -0
  401. package/dist/hooks/validateArtifact/violations.js.map +1 -0
  402. package/dist/migrate/v2HandoffManifest.js +455 -0
  403. package/dist/migrate/v2HandoffManifest.js.map +1 -0
  404. package/dist/registries/artifactProtocolIds.js +77 -0
  405. package/dist/registries/artifactProtocolIds.js.map +1 -0
  406. package/dist/registries/artifactRegistry.js +222 -62
  407. package/dist/registries/artifactRegistry.js.map +1 -1
  408. package/dist/registries/capabilityContract.js +141 -12
  409. package/dist/registries/capabilityContract.js.map +1 -1
  410. package/dist/registries/evaluatorHandoffContract.js +171 -0
  411. package/dist/registries/evaluatorHandoffContract.js.map +1 -0
  412. package/dist/registries/evidenceTierContract.js +362 -0
  413. package/dist/registries/evidenceTierContract.js.map +1 -0
  414. package/dist/registries/hybridRoute.js +203 -0
  415. package/dist/registries/hybridRoute.js.map +1 -0
  416. package/dist/registries/hybridRouteReceipt.js +221 -0
  417. package/dist/registries/hybridRouteReceipt.js.map +1 -0
  418. package/dist/registries/packageRegistry.js +90 -230
  419. package/dist/registries/packageRegistry.js.map +1 -1
  420. package/dist/registries/triggerLoader.js +175 -0
  421. package/dist/registries/triggerLoader.js.map +1 -0
  422. package/dist/registries/verbosityBudgetContract.js +206 -0
  423. package/dist/registries/verbosityBudgetContract.js.map +1 -0
  424. package/dist/release/releaseMetadata.js +319 -0
  425. package/dist/release/releaseMetadata.js.map +1 -0
  426. package/dist/runtime/lifecycleAdapterContract.js +458 -0
  427. package/dist/runtime/lifecycleAdapterContract.js.map +1 -0
  428. package/dist/runtime/lifecycleAdapters.js +778 -0
  429. package/dist/runtime/lifecycleAdapters.js.map +1 -0
  430. package/dist/runtime/lifecycleAuthority.js +454 -0
  431. package/dist/runtime/lifecycleAuthority.js.map +1 -0
  432. package/dist/runtime/lifecycleOperationContract.js +114 -0
  433. package/dist/runtime/lifecycleOperationContract.js.map +1 -0
  434. package/dist/runtime/lifecycleOperations.js +635 -0
  435. package/dist/runtime/lifecycleOperations.js.map +1 -0
  436. package/dist/runtime/lifecycleOwnershipJournal.js +623 -0
  437. package/dist/runtime/lifecycleOwnershipJournal.js.map +1 -0
  438. package/dist/runtime/lifecyclePublication.js +416 -0
  439. package/dist/runtime/lifecyclePublication.js.map +1 -0
  440. package/dist/runtime/lifecycleSnapshot.js +439 -0
  441. package/dist/runtime/lifecycleSnapshot.js.map +1 -0
  442. package/dist/runtime/nativeResourceCleanup.js +317 -0
  443. package/dist/runtime/nativeResourceCleanup.js.map +1 -0
  444. package/dist/setup/codex/cli.js +130 -0
  445. package/dist/setup/codex/cli.js.map +1 -0
  446. package/dist/setup/codex/configToml.js +558 -0
  447. package/dist/setup/codex/configToml.js.map +1 -0
  448. package/dist/setup/codex/constants.js +14 -0
  449. package/dist/setup/codex/constants.js.map +1 -0
  450. package/dist/setup/codex/installRoot.js +64 -0
  451. package/dist/setup/codex/installRoot.js.map +1 -0
  452. package/dist/setup/codex/state.js +252 -0
  453. package/dist/setup/codex/state.js.map +1 -0
  454. package/dist/setup/codex.js +9 -1055
  455. package/dist/setup/codex.js.map +1 -1
  456. package/dist/setup/opencode.js +21 -0
  457. package/dist/setup/opencode.js.map +1 -0
  458. package/dist/setup/opencodeConstants.js +2 -0
  459. package/dist/setup/opencodeConstants.js.map +1 -0
  460. package/dist/setup/sharedSkill.js +46 -0
  461. package/dist/setup/sharedSkill.js.map +1 -0
  462. package/dist/setup/smokeChecks.js +82 -0
  463. package/dist/setup/smokeChecks.js.map +1 -0
  464. package/dist/state/archiveDiscovery.js +578 -0
  465. package/dist/state/archiveDiscovery.js.map +1 -0
  466. package/dist/state/archivePublication.js +226 -0
  467. package/dist/state/archivePublication.js.map +1 -0
  468. package/dist/state/archiveRecovery.js +238 -0
  469. package/dist/state/archiveRecovery.js.map +1 -0
  470. package/dist/state/archiveReplay.js +54 -0
  471. package/dist/state/archiveReplay.js.map +1 -0
  472. package/dist/state/canonicalMigrationRecord.js +37 -0
  473. package/dist/state/canonicalMigrationRecord.js.map +1 -0
  474. package/dist/state/decisionEntities.js +322 -0
  475. package/dist/state/decisionEntities.js.map +1 -0
  476. package/dist/state/decisionLegacyValidation.js +216 -0
  477. package/dist/state/decisionLegacyValidation.js.map +1 -0
  478. package/dist/state/decisionMigrationProvenance.js +117 -0
  479. package/dist/state/decisionMigrationProvenance.js.map +1 -0
  480. package/dist/state/decisionOverlay.js +278 -0
  481. package/dist/state/decisionOverlay.js.map +1 -0
  482. package/dist/state/decisionRevision.js +632 -0
  483. package/dist/state/decisionRevision.js.map +1 -0
  484. package/dist/state/decisionRevisionPublication.js +532 -0
  485. package/dist/state/decisionRevisionPublication.js.map +1 -0
  486. package/dist/state/directRetrieval.js +373 -0
  487. package/dist/state/directRetrieval.js.map +1 -0
  488. package/dist/state/durability.js +325 -0
  489. package/dist/state/durability.js.map +1 -0
  490. package/dist/state/entityCutover.js +294 -0
  491. package/dist/state/entityCutover.js.map +1 -0
  492. package/dist/state/entityCutoverGit.js +128 -0
  493. package/dist/state/entityCutoverGit.js.map +1 -0
  494. package/dist/state/entityMigrationCausality.js +99 -0
  495. package/dist/state/entityMigrationCausality.js.map +1 -0
  496. package/dist/state/entityMigrationPreview.js +864 -0
  497. package/dist/state/entityMigrationPreview.js.map +1 -0
  498. package/dist/state/entityPublicationContext.js +662 -0
  499. package/dist/state/entityPublicationContext.js.map +1 -0
  500. package/dist/state/entityStorage.js +881 -0
  501. package/dist/state/entityStorage.js.map +1 -0
  502. package/dist/state/experimentArchive.js +64 -0
  503. package/dist/state/experimentArchive.js.map +1 -0
  504. package/dist/state/experimentIdentity.js +203 -0
  505. package/dist/state/experimentIdentity.js.map +1 -0
  506. package/dist/state/experimentRetrieval.js +447 -0
  507. package/dist/state/experimentRetrieval.js.map +1 -0
  508. package/dist/state/healthEntities.js +266 -0
  509. package/dist/state/healthEntities.js.map +1 -0
  510. package/dist/state/healthEntityValidation.js +19 -0
  511. package/dist/state/healthEntityValidation.js.map +1 -0
  512. package/dist/state/healthRepair.js +70 -0
  513. package/dist/state/healthRepair.js.map +1 -0
  514. package/dist/state/installRoot.js +64 -24
  515. package/dist/state/installRoot.js.map +1 -1
  516. package/dist/state/legacyEntityCutoverEvidence.js +66 -0
  517. package/dist/state/legacyEntityCutoverEvidence.js.map +1 -0
  518. package/dist/state/legacyIdentity.js +48 -0
  519. package/dist/state/legacyIdentity.js.map +1 -0
  520. package/dist/state/legacySummaryRecord.js +7 -0
  521. package/dist/state/legacySummaryRecord.js.map +1 -0
  522. package/dist/state/listAccounting.js +55 -0
  523. package/dist/state/listAccounting.js.map +1 -0
  524. package/dist/state/listClassification.js +18 -0
  525. package/dist/state/listClassification.js.map +1 -0
  526. package/dist/state/listCursor.js +43 -0
  527. package/dist/state/listCursor.js.map +1 -0
  528. package/dist/state/listRetrieval.js +813 -0
  529. package/dist/state/listRetrieval.js.map +1 -0
  530. package/dist/state/migrationSourceBinding.js +31 -0
  531. package/dist/state/migrationSourceBinding.js.map +1 -0
  532. package/dist/state/objectiveExperimentEntities.js +323 -0
  533. package/dist/state/objectiveExperimentEntities.js.map +1 -0
  534. package/dist/state/planEntities.js +444 -0
  535. package/dist/state/planEntities.js.map +1 -0
  536. package/dist/state/planIdentity.js +45 -0
  537. package/dist/state/planIdentity.js.map +1 -0
  538. package/dist/state/planRetrieval.js +314 -0
  539. package/dist/state/planRetrieval.js.map +1 -0
  540. package/dist/state/planTaskRetrieval.js +285 -0
  541. package/dist/state/planTaskRetrieval.js.map +1 -0
  542. package/dist/state/progressEntities.js +360 -0
  543. package/dist/state/progressEntities.js.map +1 -0
  544. package/dist/state/projectRoot.js +63 -0
  545. package/dist/state/projectRoot.js.map +1 -0
  546. package/dist/state/projectionPolicy.js +184 -0
  547. package/dist/state/projectionPolicy.js.map +1 -0
  548. package/dist/state/retrievalAuthority.js +343 -0
  549. package/dist/state/retrievalAuthority.js.map +1 -0
  550. package/dist/state/safeProjectFile.js +153 -0
  551. package/dist/state/safeProjectFile.js.map +1 -0
  552. package/dist/state/startupAnalysis/benchmark.js +433 -0
  553. package/dist/state/startupAnalysis/benchmark.js.map +1 -0
  554. package/dist/state/startupAnalysis/contract.js +126 -0
  555. package/dist/state/startupAnalysis/contract.js.map +1 -0
  556. package/dist/state/startupAnalysis/helpers.js +287 -0
  557. package/dist/state/startupAnalysis/helpers.js.map +1 -0
  558. package/dist/state/startupAnalysis/index.js +7 -0
  559. package/dist/state/startupAnalysis/index.js.map +1 -0
  560. package/dist/state/startupAnalysis/metrics.js +341 -0
  561. package/dist/state/startupAnalysis/metrics.js.map +1 -0
  562. package/dist/state/startupAnalysis/records.js +199 -0
  563. package/dist/state/startupAnalysis/records.js.map +1 -0
  564. package/dist/state/startupAnalysis/report.js +112 -0
  565. package/dist/state/startupAnalysis/report.js.map +1 -0
  566. package/dist/state/startupAnalysis/threshold.js +513 -0
  567. package/dist/state/startupAnalysis/threshold.js.map +1 -0
  568. package/dist/state/startupAnalysis.js +2 -1952
  569. package/dist/state/startupAnalysis.js.map +1 -1
  570. package/dist/state/startupProjection.js +567 -0
  571. package/dist/state/startupProjection.js.map +1 -0
  572. package/dist/state/stateMode.js +83 -0
  573. package/dist/state/stateMode.js.map +1 -0
  574. package/dist/state/summaryEntityRead.js +26 -0
  575. package/dist/state/summaryEntityRead.js.map +1 -0
  576. package/dist/state/summaryMigrationProvenance.js +67 -0
  577. package/dist/state/summaryMigrationProvenance.js.map +1 -0
  578. package/dist/state/summarySourceRowAuthority.js +37 -0
  579. package/dist/state/summarySourceRowAuthority.js.map +1 -0
  580. package/dist/state/todoDocsEntities.js +230 -0
  581. package/dist/state/todoDocsEntities.js.map +1 -0
  582. package/dist/state/todoDocsEntityValidation.js +26 -0
  583. package/dist/state/todoDocsEntityValidation.js.map +1 -0
  584. package/dist/state/write/assign.js +21 -0
  585. package/dist/state/write/assign.js.map +1 -0
  586. package/dist/state/write/candidateMutation.js +281 -0
  587. package/dist/state/write/candidateMutation.js.map +1 -0
  588. package/dist/state/write/errors.js +12 -0
  589. package/dist/state/write/errors.js.map +1 -0
  590. package/dist/state/write/experimentPublication.js +193 -0
  591. package/dist/state/write/experimentPublication.js.map +1 -0
  592. package/dist/state/write/explain.js +291 -0
  593. package/dist/state/write/explain.js.map +1 -0
  594. package/dist/state/write/fields.js +62 -0
  595. package/dist/state/write/fields.js.map +1 -0
  596. package/dist/state/write/helpers.js +30 -0
  597. package/dist/state/write/helpers.js.map +1 -0
  598. package/dist/state/write/index.js +12 -0
  599. package/dist/state/write/index.js.map +1 -0
  600. package/dist/state/write/input.js +22 -0
  601. package/dist/state/write/input.js.map +1 -0
  602. package/dist/state/write/lock.js +838 -0
  603. package/dist/state/write/lock.js.map +1 -0
  604. package/dist/state/write/mutation.js +235 -0
  605. package/dist/state/write/mutation.js.map +1 -0
  606. package/dist/state/write/operations.js +353 -0
  607. package/dist/state/write/operations.js.map +1 -0
  608. package/dist/state/write/planEvaluation.js +121 -0
  609. package/dist/state/write/planEvaluation.js.map +1 -0
  610. package/dist/state/write/planPublication.js +135 -0
  611. package/dist/state/write/planPublication.js.map +1 -0
  612. package/dist/state/write/serialize.js +2 -0
  613. package/dist/state/write/serialize.js.map +1 -0
  614. package/dist/state/write/transaction.js +44 -0
  615. package/dist/state/write/transaction.js.map +1 -0
  616. package/dist/state/write/validate.js +8 -0
  617. package/dist/state/write/validate.js.map +1 -0
  618. package/dist/upgrade/appContentRefresh.js +384 -0
  619. package/dist/upgrade/appContentRefresh.js.map +1 -0
  620. package/dist/upgrade/appModel.js +8 -6
  621. package/dist/upgrade/appModel.js.map +1 -1
  622. package/dist/upgrade/atomicWriter.js +2 -0
  623. package/dist/upgrade/atomicWriter.js.map +1 -0
  624. package/dist/upgrade/bundleEvidence.js +34 -0
  625. package/dist/upgrade/bundleEvidence.js.map +1 -0
  626. package/dist/upgrade/channels.js +21 -10
  627. package/dist/upgrade/channels.js.map +1 -1
  628. package/dist/upgrade/coexistenceProbe.js +105 -0
  629. package/dist/upgrade/coexistenceProbe.js.map +1 -0
  630. package/dist/upgrade/compatibility.js +56 -20
  631. package/dist/upgrade/compatibility.js.map +1 -1
  632. package/dist/upgrade/doctor.js +197 -191
  633. package/dist/upgrade/doctor.js.map +1 -1
  634. package/dist/upgrade/doctorClassifier.js +188 -0
  635. package/dist/upgrade/doctorClassifier.js.map +1 -0
  636. package/dist/upgrade/installedHooksRetirement.js +197 -0
  637. package/dist/upgrade/installedHooksRetirement.js.map +1 -0
  638. package/dist/upgrade/legacyAgentCleanup.js +283 -0
  639. package/dist/upgrade/legacyAgentCleanup.js.map +1 -0
  640. package/dist/upgrade/lifecycleUpgrade.js +114 -0
  641. package/dist/upgrade/lifecycleUpgrade.js.map +1 -0
  642. package/dist/upgrade/migrateArtifactsV2ToV3.js +363 -137
  643. package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -1
  644. package/dist/upgrade/migrationPublication.js +123 -0
  645. package/dist/upgrade/migrationPublication.js.map +1 -0
  646. package/dist/upgrade/nextMajorDoctor.js +156 -0
  647. package/dist/upgrade/nextMajorDoctor.js.map +1 -0
  648. package/dist/upgrade/npxPlatformStatus.js +23 -0
  649. package/dist/upgrade/npxPlatformStatus.js.map +1 -0
  650. package/dist/upgrade/projectIntegration.js +142 -171
  651. package/dist/upgrade/projectIntegration.js.map +1 -1
  652. package/dist/upgrade/projectIntegrationDecision.js +51 -0
  653. package/dist/upgrade/projectIntegrationDecision.js.map +1 -0
  654. package/dist/upgrade/runtimeMigration.js +336 -281
  655. package/dist/upgrade/runtimeMigration.js.map +1 -1
  656. package/dist/upgrade/upgradeCommands.js +9 -0
  657. package/dist/upgrade/upgradeCommands.js.map +1 -1
  658. package/dist/upgrade/upgradeLock.js +86 -0
  659. package/dist/upgrade/upgradeLock.js.map +1 -0
  660. package/dist/upgrade/upgradeOrchestrator.js +212 -56
  661. package/dist/upgrade/upgradeOrchestrator.js.map +1 -1
  662. package/dist/upgrade/v3CapabilitySurface.js +15 -0
  663. package/dist/upgrade/v3CapabilitySurface.js.map +1 -0
  664. package/dist/upgrade/versionResolution.js +12 -4
  665. package/dist/upgrade/versionResolution.js.map +1 -1
  666. package/dist/validate/appHomeContract.js +5 -9
  667. package/dist/validate/appHomeContract.js.map +1 -1
  668. package/dist/validate/capability.js +144 -14
  669. package/dist/validate/capability.js.map +1 -1
  670. package/dist/validate/crossCapability.js +12 -9
  671. package/dist/validate/crossCapability.js.map +1 -1
  672. package/dist/validate/selfAudit.js +73 -36
  673. package/dist/validate/selfAudit.js.map +1 -1
  674. package/dist/validate/vocabularyAuthority.js +303 -0
  675. package/dist/validate/vocabularyAuthority.js.map +1 -0
  676. package/package.json +45 -27
  677. package/bundle/references/adapters/cursor.md +0 -213
  678. package/bundle/references/adapters/opencode.md +0 -530
  679. package/bundle/references/adapters/runtime-adapter-characterization.md +0 -79
  680. package/bundle/references/adapters/runtime-adapter-interface-model.yaml +0 -200
  681. package/bundle/references/adapters/runtime-adapter-registry.yaml +0 -548
  682. package/bundle/references/adapters/runtime-feature-parity.md +0 -189
  683. package/bundle/references/v1-section-mapping.md +0 -47
  684. package/bundle/skills/agentera/.claude-plugin/plugin.json +0 -27
  685. package/bundle/skills/agentera/agents/dokumentera.toml +0 -6
  686. package/bundle/skills/agentera/agents/hej.toml +0 -6
  687. package/bundle/skills/agentera/agents/inspektera.toml +0 -6
  688. package/bundle/skills/agentera/agents/inspirera.toml +0 -6
  689. package/bundle/skills/agentera/agents/optimera.toml +0 -6
  690. package/bundle/skills/agentera/agents/orkestrera.toml +0 -6
  691. package/bundle/skills/agentera/agents/planera.toml +0 -6
  692. package/bundle/skills/agentera/agents/profilera.toml +0 -6
  693. package/bundle/skills/agentera/agents/realisera.toml +0 -6
  694. package/bundle/skills/agentera/agents/resonera.toml +0 -6
  695. package/bundle/skills/agentera/agents/visionera.toml +0 -6
  696. package/bundle/skills/agentera/agents/visualisera.toml +0 -6
  697. package/bundle/skills/agentera/capabilities/dokumentera/instructions.md +0 -428
  698. package/bundle/skills/agentera/capabilities/dokumentera/schemas/artifacts.yaml +0 -73
  699. package/bundle/skills/agentera/capabilities/dokumentera/schemas/triggers.yaml +0 -35
  700. package/bundle/skills/agentera/capabilities/hej/instructions.md +0 -331
  701. package/bundle/skills/agentera/capabilities/hej/schemas/artifacts.yaml +0 -69
  702. package/bundle/skills/agentera/capabilities/hej/schemas/triggers.yaml +0 -58
  703. package/bundle/skills/agentera/capabilities/inspektera/instructions.md +0 -514
  704. package/bundle/skills/agentera/capabilities/inspektera/schemas/artifacts.yaml +0 -76
  705. package/bundle/skills/agentera/capabilities/inspektera/schemas/triggers.yaml +0 -38
  706. package/bundle/skills/agentera/capabilities/inspirera/instructions.md +0 -280
  707. package/bundle/skills/agentera/capabilities/inspirera/schemas/artifacts.yaml +0 -24
  708. package/bundle/skills/agentera/capabilities/inspirera/schemas/triggers.yaml +0 -34
  709. package/bundle/skills/agentera/capabilities/optimera/instructions.md +0 -437
  710. package/bundle/skills/agentera/capabilities/optimera/schemas/triggers.yaml +0 -39
  711. package/bundle/skills/agentera/capabilities/orkestrera/instructions.md +0 -433
  712. package/bundle/skills/agentera/capabilities/orkestrera/schemas/artifacts.yaml +0 -64
  713. package/bundle/skills/agentera/capabilities/orkestrera/schemas/triggers.yaml +0 -42
  714. package/bundle/skills/agentera/capabilities/orkestrera/schemas/validation.yaml +0 -107
  715. package/bundle/skills/agentera/capabilities/planera/instructions.md +0 -368
  716. package/bundle/skills/agentera/capabilities/planera/schemas/artifacts.yaml +0 -62
  717. package/bundle/skills/agentera/capabilities/planera/schemas/triggers.yaml +0 -34
  718. package/bundle/skills/agentera/capabilities/planera/schemas/validation.yaml +0 -61
  719. package/bundle/skills/agentera/capabilities/profilera/instructions.md +0 -419
  720. package/bundle/skills/agentera/capabilities/profilera/schemas/triggers.yaml +0 -45
  721. package/bundle/skills/agentera/capabilities/profilera/schemas/validation.yaml +0 -57
  722. package/bundle/skills/agentera/capabilities/realisera/instructions.md +0 -403
  723. package/bundle/skills/agentera/capabilities/realisera/schemas/artifacts.yaml +0 -80
  724. package/bundle/skills/agentera/capabilities/realisera/schemas/triggers.yaml +0 -39
  725. package/bundle/skills/agentera/capabilities/resonera/instructions.md +0 -329
  726. package/bundle/skills/agentera/capabilities/resonera/schemas/artifacts.yaml +0 -47
  727. package/bundle/skills/agentera/capabilities/resonera/schemas/triggers.yaml +0 -46
  728. package/bundle/skills/agentera/capabilities/visionera/instructions.md +0 -309
  729. package/bundle/skills/agentera/capabilities/visionera/schemas/triggers.yaml +0 -41
  730. package/bundle/skills/agentera/capabilities/visualisera/instructions.md +0 -400
  731. package/bundle/skills/agentera/capabilities/visualisera/schemas/triggers.yaml +0 -33
  732. package/bundle/skills/hej/.claude-plugin/plugin.json +0 -6
  733. package/bundle/skills/hej/SKILL.md +0 -69
  734. package/bundle/skills/hej/agents/hej.toml +0 -11
  735. package/bundle/skills/hej/agents/openai.yaml +0 -8
  736. package/dist/cli/commands/backfill.js +0 -84
  737. package/dist/cli/commands/backfill.js.map +0 -1
  738. package/dist/cli/commands/state.js +0 -1012
  739. package/dist/cli/commands/state.js.map +0 -1
  740. package/dist/core/git.js +0 -43
  741. package/dist/core/git.js.map +0 -1
  742. package/dist/hooks/compaction.js +0 -935
  743. package/dist/hooks/compaction.js.map +0 -1
  744. package/dist/hooks/validateArtifact.js +0 -933
  745. package/dist/hooks/validateArtifact.js.map +0 -1
  746. package/dist/registries/runtimeAdapterRegistry.js +0 -315
  747. package/dist/registries/runtimeAdapterRegistry.js.map +0 -1
  748. package/dist/setup/copilot.js +0 -227
  749. package/dist/setup/copilot.js.map +0 -1
  750. package/dist/setup/cursor.js +0 -127
  751. package/dist/setup/cursor.js.map +0 -1
  752. package/dist/setup/doctor.js +0 -1276
  753. package/dist/setup/doctor.js.map +0 -1
  754. package/dist/state/progressCommit.js +0 -289
  755. package/dist/state/progressCommit.js.map +0 -1
  756. package/dist/upgrade/migrateArtifactsV1ToV2.js +0 -571
  757. package/dist/upgrade/migrateArtifactsV1ToV2.js.map +0 -1
  758. package/dist/validate/lifecycleAdapters.js +0 -772
  759. package/dist/validate/lifecycleAdapters.js.map +0 -1
  760. /package/bundle/skills/agentera/capabilities/{dokumentera → document}/schemas/exit.yaml +0 -0
  761. /package/bundle/skills/agentera/capabilities/{inspirera → research}/schemas/exit.yaml +0 -0
  762. /package/bundle/skills/agentera/capabilities/{hej → status}/schemas/exit.yaml +0 -0
@@ -10,22 +10,22 @@ included when they shape cross-suite usage.
10
10
 
11
11
  ## Authority order
12
12
 
13
- | Authority | Owns |
14
- | --- | --- |
15
- | `references/cli/vocabulary-index.yaml` | Authority order, normalization rules, plain-language layer rules, and Decision 44 replacement boundaries. |
16
- | `skills/agentera/protocol.yaml` | Confidence, severity, decision labels, exit signals, visual tokens, glyphs, and phases. |
17
- | `skills/agentera/capability_schema_contract.yaml` | Capability schema structure, required groups, priorities, and primitive-reference fields. |
18
- | `skills/agentera/schemas/artifacts/*.yaml` | Artifact field grammar, status values, path contracts, and validation rules. |
19
- | `references/artifacts/artifact-registry-interface-model.yaml` | Artifact identity facts: `artifact_id`, display name, default path, producers, consumers, type, scope. |
20
- | `references/cli/app-lifecycle-vocabulary.yaml` | App lifecycle canonical statuses, deprecated aliases, operation verbs, status concepts, and consumer ownership boundaries. |
21
- | `references/cli/update-channels.yaml` | Stable and development update channels, dist-tag/git resolution, default channel, and override keys. |
22
- | `references/cli/bundle-skill-vocabulary.yaml` | Canonical concepts, compatibility boundaries, and classification rules for `bundle` and `SKILL.md` usage. |
23
- | `references/cli/capability-instruction-contract.yaml` | Decision 57 capability instruction-file contract, current `instructions.md` authority, and implemented `first_invocation_read` CLI/schema discoverability. |
24
- | `references/cli/routing-execution-vocabulary.yaml` | Canonical concepts, compatibility boundaries, and classification rules for routing, suggestions, delegation, worker spawning, runtime subagent mechanisms, and pre-spawn Git commits. |
25
- | `skills/agentera/SKILL.md` | Agentera routing entry point, routing model, CLI-first state access, installed-app status checks, and safety rails. |
26
- | `skills/agentera/capabilities/*/instructions.md` | Capability behavior, workflow grammar, step markers, and cross-capability boundaries. |
27
- | `the agentera CLI` and `packages/cli/src/upgrade (doctor/upgrade)` | CLI-visible command labels, upgrade output, and doctor diagnostics. |
28
- | `README.md`, `UPGRADE.md`, `DESIGN.md`, `.agentera/*.yaml` | User-facing phrasing, design vocabulary, and current project-state examples. |
13
+ | Authority | Owns |
14
+ | ------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
15
+ | `references/cli/vocabulary-index.yaml` | Authority order, normalization rules, plain-language layer rules, and Decision 44 replacement boundaries. |
16
+ | `skills/agentera/protocol.yaml` | Confidence, severity, decision labels, exit signals, visual tokens, glyphs, and phases. |
17
+ | `skills/agentera/capability_schema_contract.yaml` | Capability schema structure, required groups, priorities, and primitive-reference fields. |
18
+ | `skills/agentera/schemas/artifacts/*.yaml` | Artifact field grammar, status values, path contracts, and validation rules. |
19
+ | `references/artifacts/artifact-registry-interface-model.yaml` | Internal artifact registry facts. Public state envelopes use `artifact` for the family and `id` for the stable public identifier. |
20
+ | `references/cli/app-lifecycle-vocabulary.yaml` | App lifecycle canonical statuses, deprecated aliases, operation verbs, status concepts, and consumer ownership boundaries. |
21
+ | `references/cli/update-channels.yaml` | Stable and development update channels, dist-tag/git resolution, default channel, and override keys. |
22
+ | `references/cli/bundle-skill-vocabulary.yaml` | Canonical concepts, compatibility boundaries, and classification rules for `bundle` and `SKILL.md` usage. |
23
+ | `references/cli/capability-instruction-contract.yaml` | Decision 57 capability instruction-file contract, current `packages/cli/src/capabilities/<name>/instructions.ts` authority, and implemented `first_invocation_read` CLI/schema discoverability (D65 collapsed the legacy `full`/`compact_startup` distinction into a single `prime_context` value with runtime enforcement). |
24
+ | `references/cli/routing-execution-vocabulary.yaml` | Canonical concepts, compatibility boundaries, and classification rules for routing, suggestions, delegation, worker spawning, runtime subagent mechanisms, and pre-spawn Git commits. |
25
+ | `skills/agentera/SKILL.md` | Agentera routing entry point, routing model, CLI-first state access, installed-app status checks, and safety rails. |
26
+ | `packages/cli/src/capabilities/*/instructions.ts` | Capability behavior, workflow grammar, step markers, and cross-capability boundaries. Loaded as a default-exported string constant and served via `agentera prime --context <name> --format json`. |
27
+ | `the agentera CLI` and `packages/cli/src/upgrade (doctor/upgrade)` | CLI-visible command labels, upgrade output, and doctor diagnostics. |
28
+ | `README.md`, `UPGRADE.md`, `DESIGN.md`, `.agentera/*.yaml` | User-facing phrasing, design vocabulary, and current project-state examples. |
29
29
 
30
30
  ## Normalization rules
31
31
 
@@ -49,118 +49,134 @@ examples. Diagnostics should state object, state, cause, and fix.
49
49
 
50
50
  ## Product grammar
51
51
 
52
- | Term | Definition | Common sources |
53
- | --- | --- | --- |
54
- | Agentera | The open protocol for turning AI agents into engineering teams through shared project state, roles, decisions, and verification. | `README.md`, `.agentera/vision.yaml`, `skills/agentera/SKILL.md` |
55
- | Agentera v2 | The current architecture: one Agentera skill, one `/agentera` entry point, twelve capabilities, YAML project state, and CLI-first access. | `README.md`, `UPGRADE.md`, `.agentera/decisions.yaml` |
56
- | Agentera skill | The runtime-loaded Agentera skill at `skills/agentera/`. It contains the routing entry and twelve capabilities. | `skills/agentera/SKILL.md` |
57
- | Capability | A routed behavioral unit inside the Agentera skill, with `instructions.md` plus `triggers.yaml`, `artifacts.yaml`, `validation.yaml`, and `exit.yaml`. | `AGENTS.md`, `skills/agentera/capabilities/*` |
58
- | Shared protocol | The primitive vocabulary in `protocol.yaml`: confidence, severity, decision labels, exits, visual tokens, glyphs, and phases. | `skills/agentera/protocol.yaml` |
59
- | Capability schema contract | The executable contract for capability schema groups, stable IDs, priorities, deprecations, and primitive references. | `skills/agentera/capability_schema_contract.yaml` |
60
- | Project state | Structured files that preserve intent, decisions, plans, progress, health, docs, design, and session continuity. | `README.md`, `.agentera/docs.yaml` |
61
- | Project history | Durable history kept in files so future agents do not reconstruct history from chat residue. | `README.md`, `.agentera/progress.yaml` |
62
- | Saved project context | Project artifacts plus global profile data that let future sessions reuse context and preferences. | `README.md`, `profilera` prose |
63
- | Sharp colleague | Agentera's voice: direct, opinionated, evidence-backed, warm enough to collaborate, and willing to push back. | `.agentera/vision.yaml`, `DESIGN.md`, capability prose |
64
- | Docs-first workflow | Document intended behavior before tests and code; docs define intent, tests enforce it, code implements it. | `dokumentera`, `planera`, `realisera` prose |
52
+ | Term | Definition | Common sources |
53
+ | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
54
+ | Agentera | The agent. One persistent identity that thinks through every step and keeps working when you walk away — the colleague, not the team. The CLI is the brain and spine: it owns routing, memory, capability prose, and the worker-spec contract. Coding hosts consume the same shared skill and CLI contract; Agentera does not ship host-native package surfaces. Identity is per-project: same personality, same capabilities, different memory, no bleed. Headline: one agent, one CLI, many capabilities. | `README.md`, `.agentera/vision.yaml`, `.agentera/decisions.yaml` (D74), `skills/agentera/SKILL.md` |
55
+ | Host runtime (harness) | A coding agent host that provides the model, tools, and worker execution. Agentera is the agent; the host is the harness. Hosts consume the shared skill at `~/.agents/skills/agentera` and the JSON returned by `agentera prime`; Agentera does not install or repair host-native plugins, hooks, agents, or packages. | `.agentera/vision.yaml`, `.agentera/decisions.yaml` (D74), `skills/agentera/SKILL.md` |
56
+ | Product surface | The fixed Agentera workflow ships through the `agentera` package and CLI. Coding hosts consume the shared skill and CLI rather than receiving native Agentera package surfaces. | `README.md`, `AGENTS.md`, `packages/cli/README.md`, `.agentera/decisions.yaml` |
57
+ | Agentera skill | Shared transport, not a product extension point. The source at `skills/agentera/` is installed once at `~/.agents/skills/agentera` and packages Agentera's routing entry and capability prose without host-native manifests. It is the same fixed workflow, not user extensibility. Per Decision 74, the product word is capabilities. | `skills/agentera/SKILL.md`, `README.md` Internals, `.agentera/decisions.yaml` (D74) |
58
+ | Capability | A routed behavioral unit of the single Agentera agent, driven through the CLI. Eleven top-level capabilities (status, vision, discuss, research, plan, build, optimize, audit, document, design, orchestrate) plus profile, which surfaces through existing capabilities but appears as a peer row in user-facing docs. Each capability has a prose module at `packages/cli/src/capabilities/<name>/instructions.ts` plus `triggers.yaml`, `artifacts.yaml`, `validation.yaml`, and `exit.yaml`. English names are canonical per Decision 70; the Swedish `-era` names are legacy v2 stable only (see Legacy Swedish capability names). | `AGENTS.md`, `skills/agentera/capabilities/*`, `packages/cli/src/capabilities/*`, `.agentera/decisions.yaml` (D70, D74) |
59
+ | Capability canonical name (v3) | The English name binding for v3+ capability invocation, per Decision 70, under the single-agent identity crystallized in Decision 74. Promoted from the Decision 43 alias set. Host runtimes and the CLI use the same English name; the v2 stable distribution uses the legacy Swedish `-era` IDs (see `Legacy Swedish capability names`). | `.agentera/decisions.yaml` (D43, D70, D74), `references/cli/vocabulary-index.yaml` (protected_surfaces) |
60
+ | Legacy Swedish capability names (v2 stable) | The historical Swedish `-era` IDs (e.g. `hej`, `resonera`) used by the v2 stable distribution (`npx -y agentera@latest`) and preserved as historical references in archived plans, decisions, and changelogs. Out of scope for v3 surface per Decisions 70 and 74; the single-agent identity uses English capability names exclusively. Coexistence probe surfaces per-distribution naming divergence. | `.agentera/decisions.yaml` (D70, D74), `references/cli/vocabulary-index.yaml` (protected_surfaces) |
61
+ | Shared protocol | Internal primitive vocabulary in `protocol.yaml`: confidence, severity, decision labels, exits, visual tokens, glyphs, and phases. | `skills/agentera/protocol.yaml` |
62
+ | Capability schema contract | The executable contract for capability schema groups, stable IDs, priorities, deprecations, and primitive references. | `skills/agentera/capability_schema_contract.yaml` |
63
+ | Project state | Structured files that preserve intent, decisions, plans, progress, health, docs, design, and session continuity. | `README.md`, `.agentera/docs.yaml` |
64
+ | Project history | Durable history kept in files so future agents do not reconstruct history from chat residue. | `README.md`, `.agentera/progress.yaml` |
65
+ | Saved project context | Project artifacts plus global profile data that let future sessions reuse context and preferences. | `README.md`, `profile` prose |
66
+ | Sharp colleague | Agentera's voice: direct, opinionated, evidence-backed, warm enough to collaborate, and willing to push back. | `.agentera/vision.yaml`, `DESIGN.md`, capability prose |
67
+ | Docs-first workflow | Document intended behavior before tests and code; docs define intent, tests enforce it, code implements it. | `document`, `plan`, `build` prose |
65
68
 
66
69
  ## Capability grammar
67
70
 
68
- | Glyph | Capability | Role |
69
- | --- | --- | --- |
70
- | `⌂` | hej | Orientation, routing, dashboard briefing, and next best action. |
71
- | `⛥` | visionera | Project direction, north star, principles, identity, and strategic tensions. |
72
- | `❈` | resonera | Structured deliberation, tradeoff pressure, and decision thinking. |
73
- | `⬚` | inspirera | External pattern analysis and useful cross-pollination. |
74
- | `≡` | planera | Planning with behavioral acceptance criteria; owns WHAT and WHY. |
75
- | `⧉` | realisera | Verified autonomous development cycle; owns HOW. |
76
- | `⎘` | optimera | Metric-driven optimization through one experiment per invocation. |
77
- | `⛶` | inspektera | Codebase health audit, architecture review, and artifact current-state review. |
78
- | `▤` | dokumentera | Documentation layer; owns docs-first workflow guidance. |
79
- | `♾` | profilera | Reusable decision profile and preference extraction. |
80
- | `◰` | visualisera | Visual identity, design tokens, and design-system language. |
81
- | `⎈` | orkestrera | Multi-cycle orchestration; dispatches work and evaluates completion. |
82
-
83
- Capability names use Swedish-style `-era` verb forms. The name is the action:
84
- `planera` plans, `realisera` realizes, `optimera` optimizes.
71
+ | Glyph | Capability | Role |
72
+ | ----- | ----------- | ------------------------------------------------------------------------------ |
73
+ | `⌂` | status | Orientation, routing, dashboard briefing, and next best action. |
74
+ | `⛥` | vision | Project direction, north star, principles, identity, and strategic tensions. |
75
+ | `❈` | discuss | Structured deliberation, tradeoff pressure, and decision thinking. |
76
+ | `⬚` | research | External pattern analysis and useful cross-pollination. |
77
+ | `≡` | plan | Planning with behavioral acceptance criteria; owns WHAT and WHY. |
78
+ | `⧉` | build | Verified autonomous development cycle; owns HOW. |
79
+ | `⎘` | optimize | Metric-driven optimization through one experiment per invocation. |
80
+ | `⛶` | audit | Codebase health audit, architecture review, and artifact current-state review. |
81
+ | `▤` | document | Documentation layer; owns docs-first workflow guidance. |
82
+ | `♾` | profile | Reusable decision profile and preference extraction. |
83
+ | `◰` | design | Visual identity, design tokens, and design-system language. |
84
+ | `⎈` | orchestrate | Multi-cycle orchestration; dispatches work and evaluates completion. |
85
+
86
+ Capability names use plain English verb forms (Decision 70). The name is the action:
87
+ `plan` plans, `build` realizes, `optimize` optimizes.
85
88
 
86
89
  ### Capability instruction contract
87
90
 
88
91
  The machine-readable authority is
89
92
  `references/cli/capability-instruction-contract.yaml`; it owns Decision 57's
90
- instruction-file boundary, including the canonical `instructions.md` file,
91
- legacy `prose.md` compatibility boundaries, implemented `first_invocation_read` values,
92
- full-read obligations, compact-startup exceptions, and unsupported runtime
93
- enforcement states.
94
-
95
- Use this prose as guidance only: the default is that initial capability invocation
96
- reads `instructions.md` in full unless an explicit compact-startup exception is
97
- declared. Today, capability files and runtime descriptors use `instructions.md`,
98
- validators require `instructions.md`, and `agentera hej --format json
99
- --capability-context <name>` emits `source_contract.capability_context.first_invocation_read`.
93
+ instruction-file boundary, including the canonical `instructions.ts` module,
94
+ legacy `prose.md` and `instructions.md` compatibility boundaries, the
95
+ implemented `first_invocation_read: prime_context` value, the
96
+ `prime --context <name> --format json` ownership statement, and the runtime
97
+ enforcement boundary promoted to `true` in D65.
98
+
99
+ Use this prose as guidance only: the default is that the first capability
100
+ invocation shells out to `agentera prime --context <name> --format json` and
101
+ reads the returned `instructions` field. Today, capability directories carry
102
+ the `schemas/` files only, the instructions module lives at
103
+ `packages/cli/src/capabilities/<name>/instructions.ts`, and the `agentera prime --context <name> --format
104
+ json` response emits `capability_context.instructions` plus
105
+ `first_invocation_read` metadata.
100
106
 
101
107
  Do not replace this with a parallel Markdown table of read modes or migration
102
108
  surfaces. Update the YAML authority first, then keep this section as the short
103
- human-facing boundary. Runtime first-invocation read behavior and broad
104
- required-read validation regression remain separate follow-up work.
109
+ human-facing boundary. The `prime_context` runtime enforcement is owned by the
110
+ CLI process; agent runtimes shell out to the prime command instead of reading
111
+ the prose module directly.
112
+
113
+ Status startup is the one-call exception to the general compact-data wording
114
+ above: `agentera prime --context status --format json` returns
115
+ `capability_context.instructions` and bounded
116
+ `capability_context.context.status_context` together. Consumers do not make a
117
+ second bare-prime call or read raw artifacts; omitted detail names its
118
+ authoritative recovery command.
105
119
 
106
120
  ## Invocation and routing grammar
107
121
 
108
- | Term | Definition |
109
- | --- | --- |
110
- | CLI-first state access | Read project state through `agentera` top-level commands before raw artifact reads. |
111
- | Top-level state commands | The canonical namespace command is `state` followed by a subcommand (`plan`, `progress`, `health`, `todo`, `decisions`, `docs`, `objective`, `experiments`, `query`). Legacy top-level aliases remain during migration; see [audience-namespace-cli-migration.yaml](references/cli/audience-namespace-cli-migration.yaml). |
112
- | Artifact-backed briefing | Any briefing or routing decision backed by Agentera project artifacts. It must use CLI-first state access. |
113
- | Bare `/agentera` | Invocation without a specific request. It delegates to `hej` and renders the Hej dashboard from one composite source command. |
114
- | Hej dashboard | User-facing project briefing with logo, status metrics, a narrative read inside `status`, attention, next action, and `⌂ hej · <status>`. Issues summary uses `critical · degraded · annoying` only. |
115
- | `agentera hej` | Compact CLI source data for the caller-rendered dashboard. It is not the dashboard itself. |
116
- | Direct route | A canonical capability name with optional following topic text, `/agentera <capability-name>` with optional topic text, or `/agentera <primary-alias>` routes directly to that capability and bypasses natural-language matching. |
117
- | Canonical capability route | A Swedish capability name such as `resonera`, `planera`, or `orkestrera`, optionally followed by topic text, plus the slash form `/agentera <capability-name>` with optional topic text. Canonical names remain protocol identity. |
118
- | Primary route alias | The one plain `/agentera <alias>` direct route for a capability, owned by `ROUTE_ALIASES.primary_aliases`. Each canonical capability has exactly one primary alias. |
119
- | Secondary request wording | Natural-language phrases in capability trigger schemas, such as `deliberate`, `brainstorm`, `rubber duck`, `brief`, and `what's next`. They route through trigger matching and are not primary aliases. |
120
- | Natural-language trigger | A phrase in `schemas/triggers.yaml` that maps a request to a capability. |
121
- | Trigger priority | `high`, `medium`, or `low`; owned by the schema contract. |
122
- | High-confidence match | A natural-language request with enough trigger evidence to route without asking. |
123
- | Borderline match | A request with competing plausible routes. Agentera asks for disambiguation. |
124
- | Fallback to hej | No sufficient match routes to hej for orientation. |
125
- | Concrete next action | A route suggestion tied to an object such as `PLAN Task N`, `TODO`, `OBJECTIVE`, or `VISION refresh`. |
126
- | Suggest, don't force | Hej recommends the next capability but waits for user confirmation. |
127
- | Capability handoff label | A recommendation from one capability to another. Use glyph plus canonical name, such as `⧉ realisera` or `≡ planera`, not standalone slash-capability names. SG priority codes are internal protocol references and are not user-facing handoff labels. |
128
- | Explicit route documentation | User-facing examples that teach the actual entry route. Use `/agentera <alias>` such as `/agentera build`; do not present aliases as CLI commands. |
129
- | Runtime question tool | Host-native bounded-choice prompt. Current examples: Claude Code `AskUserQuestion`, Copilot `ask_user`, Codex `request_user_input`, and OpenCode `question`. These are guidance examples, not schema authority. |
130
- | Question-tool gating | Use a native question tool only for at least two meaningful non-terminal next actions or consequential Proceed/Cancel; `Done` and custom/free-form answers do not count as alternatives. Initial Agentera/hej briefs stay free-form unless bounded choices were requested or the suggested next step is a state-changing Proceed/Cancel handoff. A single non-mutating suggested handoff may use a free-form prompt, but a single state-changing handoff uses native Proceed/Cancel confirmation. State-changing means the proposed next step may write artifacts, edit code, run optimization or orchestration cycles, apply migrations, refresh app/runtime state, or otherwise mutate project/runtime state. Apply the behavior rule first, with examples such as ⧉ realisera, ≡ planera when creating or updating plans, ▤ dokumentera when writing docs, ⎘ optimera when running or applying optimization cycles, and ⎈ orkestrera when dispatching cycles. This dispatcher rule governs hej and capability handoff prompts; invoked capability prose can impose stricter question-tool requirements. |
131
- | Handoff confirmation | Clear free-form acceptance of the named single suggestion confirms invocation. Selecting a downstream capability option in a bounded prompt also confirms invocation; selecting `Done` stops without routing. Ambiguous replies get one clarifying question. |
132
- | Route | Direct user invocation by canonical capability name, primary alias, or slash route. A route is already consent to invoke the capability and does not need an extra handoff confirmation. |
133
- | Suggest | Recommend a downstream capability and wait for confirmation. |
134
- | Delegate | Orkestrera assigns approved plan work to a worker capability during an explicitly orchestrated flow. |
135
- | Spawn | Realisera or Optimera launches an isolated runtime worker through the host subagent mechanism. |
136
- | Subagent mechanism | Runtime support for worker execution through Claude Code, OpenCode, Codex CLI, Copilot CLI, Cursor IDE, or another host-native worker surface. |
137
- | Legacy bridge | Temporary v1 entry points, especially `/hej`, that guide users to `/agentera` and the v2 upgrade path. |
138
-
139
- CLI-visible `agentera hej` labels are source labels. Preserve them in CLI tests
122
+ | Term | Definition |
123
+ | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
124
+ | CLI-first state access | Read project state through `agentera` top-level commands before raw artifact reads. |
125
+ | Top-level state commands | The canonical namespace command is `state` followed by a subcommand (`plan`, `progress`, `health`, `todo`, `decisions`, `docs`, `objective`, `experiments`, `query`). Legacy top-level aliases remain during migration; see [audience-namespace-cli-migration.yaml](audience-namespace-cli-migration.yaml). |
126
+ | Artifact-backed briefing | Any briefing or routing decision backed by Agentera project artifacts. It must use CLI-first state access. |
127
+ | Bare `/agentera` | Invocation without a specific request. It delegates to `status` and renders the status dashboard from one composite source command. |
128
+ | Status dashboard | User-facing project briefing with logo, status metrics, a narrative read inside `status`, attention, next action, and `⌂ status · <status>`. Issues summary uses `critical · degraded · annoying` only. |
129
+ | `agentera prime` | Compact CLI source data for the caller-rendered dashboard. It is not the dashboard itself. |
130
+ | Direct route | A canonical capability name with optional following topic text, `/agentera <capability-name>` with optional topic text, or `/agentera <primary-alias>` routes directly to that capability and bypasses natural-language matching. |
131
+ | Canonical capability route | An English capability name such as `discuss`, `plan`, or `orchestrate`, optionally followed by topic text, plus the slash form `/agentera <capability-name>` with optional topic text. Canonical names remain protocol identity. |
132
+ | Primary route alias | The one plain `/agentera <alias>` direct route for a capability, owned by `ROUTE_ALIASES.primary_aliases`. Each canonical capability has exactly one primary alias. |
133
+ | Secondary request wording | LLM-readable intent descriptions in capability trigger entries. They describe secondary wording and are not primary aliases. |
134
+ | Natural-language trigger | A trigger entry in `schemas/triggers.yaml` whose description and collision hints a host reads only after deterministic routing returns `semantic_required`. The host's semantic judgment must be submitted as a receipt the CLI validates before startup. |
135
+ | Trigger priority | `high`, `medium`, or `low`; an advisory relevance-precedence hint owned by the schema contract, not a score. |
136
+ | Genuine consequential ambiguity | Two materially plausible capabilities without enough intent to choose responsibly. Ask one clarification. |
137
+ | Fallback to status | Route to status for orientation only when no capability fits. |
138
+ | Concrete next action | A route suggestion tied to an object such as `PLAN Task N`, `TODO`, `OBJECTIVE`, or `VISION refresh`. |
139
+ | Suggest, don't force | Status recommends the next capability but waits for user confirmation. |
140
+ | Capability handoff label | A recommendation from one capability to another. Use glyph plus canonical name, such as `⧉ build` or `≡ plan`, not standalone slash-capability names. SG priority codes are internal protocol references and are not user-facing handoff labels. |
141
+ | Explicit route documentation | User-facing examples that teach the actual entry route. Use `/agentera <alias>` such as `/agentera build`; do not present aliases as CLI commands. |
142
+ | Bounded-choice prompt | A question surface supplied by the coding host. Agentera may use one when available but does not install, configure, or advertise a host-specific prompt integration. |
143
+ | Question gating | Use bounded choices only for at least two meaningful non-terminal next actions or consequential Proceed/Cancel; `Done` and custom/free-form answers do not count as alternatives. Initial Agentera/status briefs stay free-form unless bounded choices were requested or the suggested next step is a state-changing Proceed/Cancel handoff. A single non-mutating suggested handoff may use a free-form prompt, but a single state-changing handoff uses Proceed/Cancel confirmation. State-changing means the proposed next step may write artifacts, edit code, run optimization or orchestration cycles, apply migrations, or otherwise mutate project state. Apply the behavior rule first; invoked capability prose can impose stricter requirements. |
144
+ | Handoff confirmation | Clear free-form acceptance of the named single suggestion confirms invocation. Selecting a downstream capability option in a bounded prompt also confirms invocation; selecting `Done` stops without routing. Ambiguous replies get one clarifying question. |
145
+ | Route | Direct user invocation by canonical capability name, primary alias, or slash route. A route is already consent to invoke the capability and does not need an extra handoff confirmation. |
146
+ | Suggest | Recommend a downstream capability and wait for confirmation. |
147
+ | Delegate | Orchestrate assigns approved plan work to a worker capability during an explicitly orchestrated flow. |
148
+ | Spawn | Build or Optimize asks the coding host to launch an isolated worker when the host provides that facility. |
149
+ | Worker mechanism | A host-provided worker facility. Agentera ships no host-specific worker descriptor, adapter, plugin, hook, or package. |
150
+ | Legacy bridge | Temporary v1 entry points, especially `/hej`, that guide users to `/agentera` and the v2 upgrade path. |
151
+
152
+ CLI-visible `agentera prime` labels are source labels. Preserve them in CLI tests
140
153
  and parsing code, but transform them before presenting a user dashboard:
141
- `mode:`, `profile:`, `health:`, `issues:`, `plan:`, `objective:`,
154
+ `mode:`, `profile:`, `health:`, `todo:`, `plan:`, `objective:`,
142
155
  `attention:`, `next_action:`, and `source_contract:`.
143
156
 
144
157
  Primary route aliases are slash-route vocabulary, not CLI command vocabulary:
145
158
 
146
- | Canonical capability | Primary route alias |
147
- | --- | --- |
148
- | `hej` | `/agentera status` |
149
- | `visionera` | `/agentera vision` |
150
- | `resonera` | `/agentera discuss` |
151
- | `inspirera` | `/agentera research` |
152
- | `planera` | `/agentera plan` |
153
- | `realisera` | `/agentera build` |
154
- | `optimera` | `/agentera optimize` |
155
- | `inspektera` | `/agentera audit` |
156
- | `dokumentera` | `/agentera document` |
157
- | `profilera` | `/agentera profile` |
158
- | `visualisera` | `/agentera design` |
159
- | `orkestrera` | `/agentera orchestrate` |
160
-
161
- Do not teach primary aliases as CLI state commands. The CLI state surface
162
- remains `hej`, `plan`, `progress`, `health`, `todo`, `decisions`, `docs`,
163
- `objective`, `experiments`, and advanced `query`.
159
+ | Canonical capability (v3) | Legacy Swedish ID (v2 stable) | Slash route |
160
+ | ------------------------- | ----------------------------- | ------------------------ |
161
+ | `status` | `hej` | `/agentera status` |
162
+ | `vision` | `visionera` | `/agentera vision` |
163
+ | `discuss` | `resonera` | `/agentera discuss` |
164
+ | `research` | `inspirera` | `/agentera research` |
165
+ | `plan` | `planera` | `/agentera plan` |
166
+ | `build` | `realisera` | `/agentera build` |
167
+ | `optimize` | `optimera` | `/agentera optimize` |
168
+ | `audit` | `inspektera` | `/agentera audit` |
169
+ | `document` | `dokumentera` | `/agentera document` |
170
+ | `profile` | `profilera` | `/agentera profile` |
171
+ | `design` | `visualisera` | `/agentera design` |
172
+ | `orchestrate` | `orkestrera` | `/agentera orchestrate` |
173
+
174
+ Do not teach primary aliases as CLI state commands. v3 orientation is
175
+ `agentera prime` (capability ID `status` via `prime --context status`); routine
176
+ state reads use `agentera state plan`, `state progress`, `state health`,
177
+ `state todo`, `state decisions`, `state docs`, `state objective`,
178
+ `state experiments`, and advanced `state query`. The v2 stable distribution
179
+ retains `hej` and the rest of the Swedish capability surface per Decision 70.
164
180
 
165
181
  When capability prose recommends another capability, use the handoff label
166
182
  grammar (`<glyph> <capability>`). Keep slash forms only when documenting the
@@ -189,80 +205,81 @@ ambiguous-term sweep remain separate follow-up work.
189
205
 
190
206
  ## Artifact grammar
191
207
 
192
- | Term | Definition |
193
- | --- | --- |
194
- | Artifact | A project or agent state file owned by one or more capabilities. |
195
- | Human-facing artifact | A root-level Markdown artifact intended for people, such as `TODO.md`, `CHANGELOG.md`, or `DESIGN.md`. |
196
- | Agent-facing artifact | A structured YAML artifact under `.agentera/`, such as `.agentera/progress.yaml`. |
197
- | Global artifact | A user-level artifact outside a project, such as `PROFILE.md` or `USAGE.md`. |
198
- | Canonical artifact name | Display identifier such as `VISION.md`, `PROGRESS.md`, or `DOCS.md`; not always a literal path. |
199
- | Resolved artifact path | The actual path after consulting `.agentera/docs.yaml` mapping or the default layout. |
200
- | Artifact mapping | `.agentera/docs.yaml` rows that map canonical names to project-local paths and producers. |
201
- | ArtifactRegistry | The registry interface model for artifact IDs, display names, default paths, producers, consumers, type, scope, and special cases. |
202
- | `artifact_id` | Machine identifier such as `progress`, `health`, `docs`, or `objective`. |
203
- | `display_name` | Human-readable canonical name, usually the v1-style Markdown name. |
204
- | `default_path` | Registry-owned path used when no docs mapping overrides it. |
205
- | `local_role` | Capability relationship to an artifact: `produces`, `consumes`, or `produces_and_consumes`. |
206
- | Docs override boundary | `docs.yaml` may override paths for known display names; it must not redefine canonical identity facts. |
207
- | Objective state | Optimera state under `.agentera/optimera/<objective-name>/`, including `objective.yaml`, `experiments.yaml`, and harness files. |
208
+ | Term | Definition |
209
+ | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
210
+ | Artifact | A project or agent state file owned by one or more capabilities. |
211
+ | Human-facing artifact | A root-level Markdown artifact intended for people, such as `TODO.md`, `CHANGELOG.md`, or `DESIGN.md`. |
212
+ | Severity band policy | TODO.md severity bands (⇶ Critical, Degraded, Normal, ⇢ Annoying) may be header-only when they have no open work; open items use `- [ ] [type:train]` only. Authority: `skills/agentera/schemas/artifacts/todo.yaml` CONVENTION TC5; executable rule in `packages/cli/src/hooks/validateArtifact/markdown.ts` `validateMdItems`. |
213
+ | Agent-facing artifact | A structured YAML artifact under `.agentera/`, such as `.agentera/progress.yaml`. |
214
+ | Global artifact | A user-level artifact outside a project, such as `PROFILE.md` or `USAGE.md`. |
215
+ | Canonical artifact name | Public `artifact` value such as `plan`, `progress`, or `docs`; human-facing Markdown filenames such as `TODO.md` are display labels, not protocol identity. |
216
+ | Resolved artifact path | The actual path after consulting `.agentera/docs.yaml` mapping or the default layout. |
217
+ | Artifact mapping | `.agentera/docs.yaml` rows that map `artifact` values to project-local paths and producers. |
218
+ | ArtifactRegistry | The registry interface model for artifact IDs, display names, default paths, producers, consumers, type, scope, and special cases. |
219
+ | `artifact` | Public artifact-family value such as `progress`, `health`, `docs`, or `objective`. Entity envelopes pair it with `id`, the stable public identifier whose grammar is owned by `references/artifacts/state-storage-authority.yaml`. |
220
+ | `display_name` | Human-readable filename label such as `VISION.md` or `TODO.md`; registry-owned, not protocol identity. |
221
+ | `default_path` | Registry-owned path used when no docs mapping overrides it. |
222
+ | `local_role` | Capability relationship to an artifact: `produces`, `consumes`, or `produces_and_consumes`. |
223
+ | Docs override boundary | `docs.yaml` may override paths for known display names; it must not redefine canonical identity facts. |
224
+ | Objective state | Optimize state under `.agentera/optimize/<objective-name>/`, including `objective.yaml`, `experiments.yaml`, and harness files. |
208
225
 
209
226
  Canonical artifact IDs include `vision`, `decisions`, `plan`, `progress`,
210
227
  `todo`, `health`, `docs`, `design`, `profile`, `objective`, `experiments`,
211
- `changelog`, `session`, `plan_archive`, `optimera_harness`, and
228
+ `changelog`, `session`, `plan_archive`, `optimize_harness`, and
212
229
  `semantic_fixture`.
213
230
 
214
231
  ## Status, severity, confidence, and exits
215
232
 
216
233
  ### Exit signals
217
234
 
218
- | Signal | Meaning | Use |
219
- | --- | --- | --- |
220
- | `complete` | The workflow finished successfully. | Normal completion. |
221
- | `flagged` | Work completed with caveats the user should know. | List each concern. |
222
- | `stuck` | The capability cannot proceed. | State blocker and attempted work. |
223
- | `waiting` | Required information is missing. | State exactly what is needed. |
235
+ | Signal | Meaning | Use |
236
+ | ---------- | ------------------------------------------------- | --------------------------------- |
237
+ | `complete` | The workflow finished successfully. | Normal completion. |
238
+ | `flagged` | Work completed with caveats the user should know. | List each concern. |
239
+ | `stuck` | The capability cannot proceed. | State blocker and attempted work. |
240
+ | `waiting` | Required information is missing. | State exactly what is needed. |
224
241
 
225
242
  Exit marker grammar is `<glyph> <capability> · <status>`, for example
226
- `▤ dokumentera · complete`. For `flagged`, `stuck`, and `waiting`, add `▸`
243
+ `▤ document · complete`. For `flagged`, `stuck`, and `waiting`, add `▸`
227
244
  details.
228
245
 
229
246
  ### Finding severity
230
247
 
231
- | Value | Meaning |
232
- | --- | --- |
248
+ | Value | Meaning |
249
+ | ---------- | -------------------------------------------------------- |
233
250
  | `critical` | Broken functionality, security issue, or data-loss risk. |
234
- | `warning` | Works but poorly, confusingly, or in a fragile way. |
235
- | `info` | Minor, cosmetic, or low-impact improvement. |
251
+ | `warning` | Works but poorly, confusingly, or in a fragile way. |
252
+ | `info` | Minor, cosmetic, or low-impact improvement. |
236
253
 
237
254
  ### Issue severity
238
255
 
239
- | Value | Glyph | Meaning |
240
- | --- | --- | --- |
241
- | `critical` | `⇶` | Blocks progress or breaks functionality. |
242
- | `degraded` | `⇉` | Works, but poorly, slowly, or fragily. |
243
- | `normal` | `→` | Standard work. |
244
- | `annoying` | `⇢` | Cosmetic or minor friction. |
256
+ | Value | Glyph | Meaning |
257
+ | ---------- | ----- | ---------------------------------------- |
258
+ | `critical` | `⇶` | Blocks progress or breaks functionality. |
259
+ | `degraded` | `⇉` | Works, but poorly, slowly, or fragily. |
260
+ | `normal` | `→` | Standard work. |
261
+ | `annoying` | `⇢` | Cosmetic or minor friction. |
245
262
 
246
263
  ### Confidence language
247
264
 
248
- | Value | Meaning |
249
- | --- | --- |
250
- | `firm` | User is committed. Treat as a hard constraint. |
265
+ | Value | Meaning |
266
+ | ------------- | ----------------------------------------------- |
267
+ | `firm` | User is committed. Treat as a hard constraint. |
251
268
  | `provisional` | Best current answer. Treat as a strong default. |
252
- | `exploratory` | Direction to try. Treat as a suggestion. |
269
+ | `exploratory` | Direction to try. Treat as a suggestion. |
253
270
 
254
271
  Numeric confidence is `0-100`: `90-100` verified, `70-89` strong,
255
272
  `50-69` moderate, `30-49` weak, and `0-29` speculative.
256
273
 
257
274
  ### Phase language
258
275
 
259
- | Phase | Primary capabilities | Meaning |
260
- | --- | --- | --- |
261
- | `envision` | visionera | Define north star and direction. |
262
- | `deliberate` | resonera | Think through tradeoffs and decisions. |
263
- | `plan` | planera | Break intent into scoped work. |
264
- | `build` | realisera, optimera, dokumentera, visualisera | Produce code, docs, designs, or measured improvements. |
265
- | `audit` | inspektera | Evaluate health, risks, and state alignment. |
276
+ | Phase | Primary capabilities | Meaning |
277
+ | ------------ | --------------------------------------------- | ------------------------------------------------------ |
278
+ | `envision` | vision | Define north star and direction. |
279
+ | `deliberate` | discuss | Think through tradeoffs and decisions. |
280
+ | `plan` | plan | Break intent into scoped work. |
281
+ | `build` | build, optimize, document, design | Produce code, docs, designs, or measured improvements. |
282
+ | `audit` | audit | Evaluate health, risks, and state alignment. |
266
283
 
267
284
  Use `phase` for protocol-level lifecycle state. Use `step` for capability-local
268
285
  progress markers such as `── step 2/6: verify`.
@@ -278,88 +295,84 @@ tests, labels, or active state.
278
295
 
279
296
  ## Workflow grammar
280
297
 
281
- | Form | Meaning | Example |
282
- | --- | --- | --- |
283
- | `Each invocation = one ...` | Capability scope limit. | `Each invocation = one experiment.` |
284
- | `─── <glyph> <capability> · <context> ───` | Capability introduction marker. | `─── ⎘ optimera · measure ───` |
285
- | `── step N/M: verb` | Capability-local progress marker. | `── step 4/8: implement` |
286
- | `## Safety rails` plus `<critical>` | Non-negotiable constraints. | `NEVER push to remote repos without explicit instruction.` |
287
- | `Detect mode/context/level` | Step 0 classification before the main workflow. | Dokumentera detects create, update, audit, or first-run survey. |
288
- | Decision gate | Explicit condition-based branch before proceeding. | Optimera keep/discard decision. |
289
- | Exit-early stop condition | Stop condition when work is already complete or unnecessary. | Docs current, no stale work found. |
290
- | Behavioral verification gate | Realisera check that behavior was verified against real project state. | Tests, builds, or manual verification. |
291
- | Pre-write self-audit | Prose check for verbosity mismatch, abstraction creep, and filler accumulation. | `agentera lint --artifact <ARTIFACT>` exposes the checks through the CLI. |
292
- | Plan-completion sweep | Realisera cleanup when plan tasks finish. | Progress rollup, changelog, TODO, health cross-reference, archive. |
293
- | Worker spawn | Isolated implementation or measurement by a worker through the host subagent mechanism. | Realisera and optimera can use it. |
294
- | Stale-base awareness | Prevent workers from branching from old `origin/main` or stale HEAD. | Use pre-spawn Git commits before spawning workers. |
295
- | Orchestration loop | Orkestrera loop: select, delegate, evaluate, resolve, log. | Orkestrera delegates; it does not implement. |
296
- | Evidence audit | Check that recorded verification actually proves acceptance criteria. | Orkestrera and inspektera use this language. |
297
- | Loop stop condition | Stop repeated failed cycles, tasks, or experiments. | Prevents endless retries. |
298
+ | Form | Meaning | Example |
299
+ | ------------------------------------------ | --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
300
+ | `Each invocation = one ...` | Capability scope limit. | `Each invocation = one experiment.` |
301
+ | `─── <glyph> <capability> · <context> ───` | Capability introduction marker. | `─── ⎘ optimize · measure ───` |
302
+ | `── step N/M: verb` | Capability-local progress marker. | `── step 4/8: implement` |
303
+ | `## Safety rails` plus `<critical>` | Non-negotiable constraints. | `NEVER push to remote repos without explicit instruction.` |
304
+ | `Detect mode/context/level` | Step 0 classification before the main workflow. | Document detects create, update, audit, or first-run survey. |
305
+ | Decision gate | Explicit condition-based branch before proceeding. | Optimize keep/discard decision. |
306
+ | Exit-early stop condition | Stop condition when work is already complete or unnecessary. | Docs current, no stale work found. |
307
+ | Behavioral verification gate | Build check that behavior was verified against real project state. | Tests, builds, or manual verification. |
308
+ | Draft lint preview | Optional early feedback for verbosity mismatch, abstraction creep, and filler accumulation. | `agentera check lint --artifact <ARTIFACT>` previews a draft; the typed writer validates final bytes when publishing. |
309
+ | Plan-completion sweep | Build cleanup when plan tasks finish. | Progress rollup, changelog, TODO, health cross-reference, archive. |
310
+ | Worker spawn | Isolated implementation or measurement by a worker through the host subagent mechanism. | Build and optimize can use it. |
311
+ | Stale-base awareness | Prevent workers from branching from old `origin/main` or stale HEAD. | Use pre-spawn Git commits before spawning workers. |
312
+ | Orchestration loop | Orchestrate loop: select, delegate, evaluate, resolve, log. | Orchestrate delegates; it does not implement. |
313
+ | Evidence audit | Check that recorded verification actually proves acceptance criteria. | Orchestrate and audit use this language. |
314
+ | Loop stop condition | Stop repeated failed cycles, tasks, or experiments. | Prevents endless retries. |
298
315
 
299
316
  For user-facing operations, prefer plain aliases when the branded phrase does
300
317
  not add precision:
301
318
 
302
- | Internal or branded phrase | User-facing phrase |
303
- | --- | --- |
304
- | Reality Verification Gate | behavioral verification gate |
305
- | Conductor protocol | orchestration loop |
306
- | Evidence audit | verification review |
307
- | Memory layer | saved project context |
319
+ | Internal or branded phrase | User-facing phrase |
320
+ | -------------------------- | ---------------------------- |
321
+ | Reality Verification Gate | behavioral verification gate |
322
+ | Conductor protocol | orchestration loop |
323
+ | Evidence audit | verification review |
324
+ | Memory layer | saved project context |
308
325
 
309
326
  ### Artifact-writing checks
310
327
 
311
- | Term | Definition |
312
- | --- | --- |
313
- | Verbosity mismatch | Artifact prose exceeds the intended budget or grows without adding signal. |
314
- | Abstraction creep | Prose lacks a concrete anchor such as a path, line number, metric, identifier, commit, or quote. |
315
- | Filler accumulation | Prose accumulates hedges, redundant transitions, self-reference, summary preambles, or generic justification. |
316
- | Concrete anchor | A file path, line number, commit hash, metric value, identifier, or direct quote. |
317
- | Lead-with-conclusion | Start with the actionable conclusion, then provide evidence. |
318
- | Compaction | Keep recent full entries, preserve older one-line archives, and drop beyond retention limits. |
328
+ | Term | Definition |
329
+ | -------------------- | ------------------------------------------------------------------------------------------------------------- |
330
+ | Verbosity mismatch | Artifact prose exceeds the intended budget or grows without adding signal. |
331
+ | Abstraction creep | Prose lacks a concrete anchor such as a path, line number, metric, identifier, commit, or quote. |
332
+ | Filler accumulation | Prose accumulates hedges, redundant transitions, self-reference, summary preambles, or generic justification. |
333
+ | Concrete anchor | A file path, line number, commit hash, metric value, identifier, or direct quote. |
334
+ | Lead-with-conclusion | Start with the actionable conclusion, then provide evidence. |
335
+ | Compaction | Keep recent full entries, preserve older one-line archives, and drop beyond retention limits. |
319
336
 
320
337
  ## Capability-specific recurring vocabulary
321
338
 
322
- | Capability | Common terms |
323
- | --- | --- |
324
- | hej | Orientation, dashboard, returning project, fresh project, attention, next action, concrete object, route suggestion. |
325
- | visionera | North star, persona, principles, direction, identity, tensions, create/refine/replace/audit modes. |
326
- | resonera | Socratic questioning, one question at a time, honest friction, steelman, tradeoffs, decision pressure. |
327
- | inspirera | Source analysis, pattern extraction, cross-pollination, worth stealing, external practice, adaptation. |
328
- | planera | WHAT and WHY, behavioral acceptance criteria, scope, included/excluded/deferred, task dependencies, plan-level current-state check. |
329
- | realisera | Cycle, orient/select/research/plan/spawn/verify/commit/audit/log, HOW, progress log, worker spawn. |
330
- | optimera | Objective, experiment, baseline, harness, locked measurement, hypothesis, metric, regression, keep/discard gate. |
331
- | inspektera | Audit, health grade, dimensions, findings, evidence, impact, suggested action, artifact current-state review, deliberate decisions. |
332
- | dokumentera | Intent-first docs, explore-and-generate, update-and-verify, first-run survey, evergreen docs, docs become the spec. |
333
- | profilera | Decision profile, signal extraction, confidence, preference, validation, reusable user model. |
334
- | visualisera | Visual identity, design tokens, semantic weight, terminal-native, glyphs, logo scarcity. |
335
- | orkestrera | Plan execution, delegate, task-notification result, presence check, evaluate, resolve, loop stop condition. |
339
+ | Capability | Common terms |
340
+ | ----------- | ----------------------------------------------------------------------------------------------------------------------------------- |
341
+ | status | Orientation, dashboard, returning project, fresh project, attention, next action, concrete object, route suggestion. |
342
+ | vision | North star, persona, principles, direction, identity, tensions, create/refine/replace/audit modes. |
343
+ | discuss | Socratic questioning, one question at a time, honest friction, steelman, tradeoffs, decision pressure. |
344
+ | research | Source analysis, pattern extraction, cross-pollination, worth stealing, external practice, adaptation. |
345
+ | plan | WHAT and WHY, behavioral acceptance criteria, scope, included/excluded/deferred, task dependencies, plan-level current-state check. |
346
+ | build | Cycle, orient/select/research/plan/spawn/verify/commit/audit/log, HOW, progress log, worker spawn. |
347
+ | optimize | Objective, experiment, baseline, harness, locked measurement, hypothesis, metric, regression, keep/discard gate. |
348
+ | audit | Audit, health grade, dimensions, findings, evidence, impact, suggested action, artifact current-state review, deliberate decisions. |
349
+ | document | Intent-first docs, explore-and-generate, update-and-verify, first-run survey, evergreen docs, docs become the spec. |
350
+ | profile | Decision profile, signal extraction, confidence, preference, validation, reusable user model. |
351
+ | design | Visual identity, design tokens, semantic weight, terminal-native, glyphs, logo scarcity. |
352
+ | orchestrate | Plan execution, delegate, task-notification result, presence check, evaluate, resolve, loop stop condition. |
336
353
 
337
354
  ## Runtime, install, and release grammar
338
355
 
339
- | Term | Definition |
340
- | --- | --- |
341
- | Agentera directory | Plain-language name for the local directory named by `AGENTERA_HOME`; user data stays at this directory root. |
342
- | App files directory | Plain-language name for `$AGENTERA_HOME/app`, where Agentera's scripts and skill files live. Internal JSON may call this `managedAppRoot`; do not use that phrase in prompts. |
343
- | User data directory | The `AGENTERA_HOME` root that keeps `PROFILE.md`, `USAGE.md`, `history/`, `benchmarks/`, `intermediate/`, `sessions/`, and other preserved user-state paths. |
344
- | `AGENTERA_HOME` | Environment variable pointing at the Agentera directory. Explain this only when the user needs the exact setting. |
345
- | Normal Agentera directory | Platform data directory for Agentera when `AGENTERA_HOME` is unset. |
346
- | `--install-root` | Compatibility flag name for existing CLI options; surrounding text should say Agentera directory. |
347
- | Directory with unknown files | A directory Agentera must not overwrite silently. Say this instead of unmanaged root. |
348
- | Missing normal directory | Previewable. Agentera can show a no-write repair preview. |
349
- | Missing chosen directory | Needs a user decision when provided through `AGENTERA_HOME` or explicit `--install-root`. |
350
- | Package refresh | Package-manager or marketplace update. It does not prove Agentera's app files are current. |
351
- | App repair | Normal repair flow that previews or applies Agentera app files plus managed runtime config, plugins, hooks, commands, and safe cleanup together. It must not edit shell startup files, and package-manager commands remain opt-in through `--update-packages`. |
352
- | `--only bundle` | Compatibility selector for narrow app-file work. Do not present it as the normal repair recommendation when managed runtime surfaces may also need repair. |
353
- | Preview | No-write mode. Required before upgrade or app repair writes; the underlying command flag is `--dry-run`. |
354
- | `--yes` | Explicit apply flag after preview and approval. |
355
- | Final check | Setup validation after upgrade apply. Uses the same app-home probe as `agentera doctor` (`build_doctor_status`), not `setup_doctor.build_report`. |
356
- | Package-update opt-in | External package manager changes require `--update-packages`. |
357
- | Runtime adapter | Runtime-specific Agentera adapter support for skill loading, hooks, artifact validation, lifecycle metadata, and diagnostics. |
358
- | Host support | What a runtime can theoretically do. Distinguish it from shipped Agentera behavior. |
359
- | Hook lifecycle | Runtime callbacks such as `SessionStart`, `Stop`, `PreToolUse`, and `PostToolUse`. |
360
- | Setup doctor | Diagnostic command surface for install/runtime health. |
361
-
362
- Canonical runtime names are Claude Code, OpenCode, Copilot CLI, Codex CLI, Cursor IDE, and Cursor Agent CLI.
356
+ | Term | Definition |
357
+ | ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
358
+ | Agentera directory | Plain-language name for the local directory named by `AGENTERA_HOME`; user data stays at this directory root. |
359
+ | App files directory | Plain-language name for `$AGENTERA_HOME/app`, where Agentera's scripts and skill files live. Internal JSON may call this `managedAppRoot`; do not use that phrase in prompts. |
360
+ | User data directory | The `AGENTERA_HOME` root that keeps `PROFILE.md`, `USAGE.md`, `history/`, `benchmarks/`, `intermediate/`, `sessions/`, and other preserved user-state paths. |
361
+ | `AGENTERA_HOME` | Environment variable pointing at the Agentera directory. Explain this only when the user needs the exact setting. |
362
+ | Normal Agentera directory | Platform data directory for Agentera when `AGENTERA_HOME` is unset. |
363
+ | `--install-root` | Compatibility flag name for existing CLI options; surrounding text should say Agentera directory. |
364
+ | Directory with unknown files | A directory Agentera must not overwrite silently. Say this instead of unmanaged root. |
365
+ | Missing normal directory | Previewable. Agentera can show a no-write repair preview. |
366
+ | Missing chosen directory | Needs a user decision when provided through `AGENTERA_HOME` or explicit `--install-root`. |
367
+ | Package refresh | Package-manager or marketplace update. It does not prove Agentera's app files are current. |
368
+ | App repair | Normal flow that previews or applies Agentera app/project work. It does not install, update, authenticate, enable, trust, or repair host-native resources. |
369
+ | Preview | No-write mode. Required before upgrade or app repair writes; the underlying command flag is `--dry-run`. |
370
+ | `--yes` | Explicit apply flag after preview and approval. |
371
+ | Final check | Validation after upgrade apply using the same app/project evidence reported by `agentera doctor`. |
372
+ | Host support | What a runtime can theoretically do. Distinguish it from shipped Agentera behavior. |
373
+ | Retired native integration vocabulary | Runtime selectors, adapter repair, plugin-shipped hooks, setup-doctor runtime health, and package-update flags describe released history or migration evidence only. They are not current Agentera features. |
374
+
375
+ Claude Code is a retired migration and consent-gated historical-import source, not an active runtime. Current coding hosts consume the shared skill and CLI without entering an Agentera runtime inventory.
363
376
 
364
377
  ### App lifecycle status vocabulary
365
378
 
@@ -367,7 +380,7 @@ Decision 54 makes app lifecycle state a protocol surface, not ad hoc output
367
380
  copy. The machine-readable authority is
368
381
  `references/cli/app-lifecycle-vocabulary.yaml`; it owns the canonical status
369
382
  order, status definitions, deprecated aliases, cross-major status concepts,
370
- scoped operation verbs, and consumer ownership boundaries for doctor, hej,
383
+ scoped operation verbs, and consumer ownership boundaries for doctor, status,
371
384
  upgrade, docs, and tests.
372
385
 
373
386
  Use this prose as guidance only: human-readable text can be friendlier, but it
@@ -404,9 +417,12 @@ prime resolve. The machine-readable authority is
404
417
  npm dist-tag and git ref resolution, override precedence, and consumer ownership
405
418
  for upgrade, doctor, prime, docs, and tests.
406
419
 
407
- Use this prose as guidance only: **stable** tracks the supported 2.x line;
408
- **development** tracks 3.x alphas and release candidates. Default channel is
409
- stable. Override with `--channel`, `AGENTERA_UPDATE_CHANNEL`, or
420
+ Use this prose as guidance only: **stable** tracks the supported 2.x line on
421
+ `npx -y agentera@latest` and, for maintainers, `uvx --from git+...@main` (Python
422
+ CLI). **development** tracks 3.x alphas and release candidates on **npm only**
423
+ (`npx -y agentera@next`); feat/v3 is TypeScript-only and has no uv/git install
424
+ path. v2→v3 is a one-way upgrade through the development npm channel. Default
425
+ channel is stable. Override with `--channel`, `AGENTERA_UPDATE_CHANNEL`, or
410
426
  `update.channel` in user config. Cross-major v2→v3 migration is never implied by
411
427
  stable-channel `@latest` while stable tracks 2.x; it is migrate work tagged
412
428
  `major_boundary_crossing` in the app lifecycle authority and requires semver
@@ -429,12 +445,11 @@ identifiers, package metadata, historical records, fixtures, path-like
429
445
  references, generic plain language, and ambiguous current prose.
430
446
 
431
447
  Use this prose as guidance only: current conceptual docs should say the object
432
- they mean, such as Agentera app files, suite package, plugin-shipped hooks,
433
- removed `bundle-status` command, Agentera routing entry point, skill entry file,
434
- v1 skill entry file, or legacy hej bridge. Preserve shipped identifiers and
435
- literal paths such as `.agentera-bundle.json`, `bundle.status`,
436
- `activeBundleRoot`, `--only bundle`, and `skills/agentera/SKILL.md` unless an
437
- explicit compatibility migration is in scope.
448
+ they mean, such as Agentera app files, suite package, Agentera routing entry
449
+ point, or skill entry file. Plugin-shipped hooks and `--only bundle` are retired
450
+ v2 vocabulary and may appear only in released history, fixtures, or explicit
451
+ migration evidence. Literal current paths such as `skills/agentera/SKILL.md`
452
+ remain valid.
438
453
 
439
454
  Do not replace this with a parallel Markdown table of allowed and forbidden
440
455
  terms. Update the YAML authority first, then keep this section as the short
@@ -442,61 +457,61 @@ human-facing boundary.
442
457
 
443
458
  ## Evaluation and evidence grammar
444
459
 
445
- | Term | Definition |
446
- | --- | --- |
447
- | Validation passed | Evidence that required checks completed successfully. Name the checks. |
448
- | Focused tests | Targeted tests for the changed surface. |
449
- | Full pytest | Repository-wide pytest run. Use exact counts when recorded. |
450
- | Capability validator | `uv run agentera check validate capability skills/agentera/capabilities/<name>`. |
451
- | Cross-capability validation | Checks that capability schemas agree with registry, protocol, routing, and exit contracts. |
452
- | Smoke eval | Runtime/setup check for crashes, non-zero exits, or obvious host failures. |
453
- | Live-host smoke | Explicit opt-in model-host check against real runtime access. |
454
- | Semantic eval | Offline fixture evaluation that checks whether captured output means the right thing. |
455
- | Semantic fixture | Markdown fixture with prompt, seeded project state, captured output, tool trace, and expected facts. |
456
- | Startup-overhead analysis | Local-only Decision 51 measurement surface for raw Agentera artifact access after CLI state calls during capability startup/state gathering. It replaced an uncommitted route/intro startup-window draft that found zero qualifying windows, and must report the retained `CLI state -> raw artifact access` metric before recommending a startup envelope or guidance fix. |
457
- | Startup report | Human-readable and structured report pair that includes boundary source, runtime coverage, startup metrics, threshold rationale, recommendation, and privacy caveats without raw transcript text or raw local paths. |
458
- | Seeded project state | Fixture-provided artifacts used as the source of truth for expected behavior. |
459
- | Oracle | Artifact-derived expectation, such as the exact plan task hej should route to. |
460
- | Regression | Required safety check for behavior that must not degrade. |
461
- | Harness | Optimera measurement substrate. Once approved, it is immutable ground truth. |
462
- | Objective | Measurable optimization charter under `.agentera/optimera/<name>/`. |
463
- | Experiment | One falsifiable optimization attempt with hypothesis, method, metric, regression, status, and conclusion. |
464
- | Keep/discard gate | Keep only if the metric improves and regression gates pass; discard otherwise. |
460
+ | Term | Definition |
461
+ | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
462
+ | Validation passed | Evidence that required checks completed successfully. Name the checks. |
463
+ | Focused tests | Targeted tests for the changed surface. |
464
+ | Full pytest | Repository-wide pytest run. Use exact counts when recorded. |
465
+ | Capability validator | `uv run agentera check validate capability skills/agentera/capabilities/<name>`. |
466
+ | Cross-capability validation | Checks that capability schemas agree with registry, protocol, routing, and exit contracts. |
467
+ | Smoke eval | Runtime/setup check for crashes, non-zero exits, or obvious host failures. |
468
+ | Live-host smoke | Explicit opt-in model-host check against real runtime access. |
469
+ | Semantic eval | Offline fixture evaluation that checks whether captured output means the right thing. |
470
+ | Semantic fixture | Markdown fixture with prompt, seeded project state, captured output, tool trace, and expected facts. |
471
+ | Startup-overhead analysis | Local-only Decision 51 measurement surface for raw Agentera artifact access after CLI state calls during capability startup/state gathering. It replaced an uncommitted route/intro startup-window draft that found zero qualifying windows, and must report the retained `CLI state -> raw artifact access` metric before recommending a startup envelope or guidance fix. |
472
+ | Startup report | Human-readable and structured report pair that includes boundary source, runtime coverage, startup metrics, threshold rationale, recommendation, and privacy caveats without raw transcript text or raw local paths. |
473
+ | Seeded project state | Fixture-provided artifacts used as the source of truth for expected behavior. |
474
+ | Oracle | Artifact-derived expectation, such as the exact plan task status should route to. |
475
+ | Regression | Required safety check for behavior that must not degrade. |
476
+ | Harness | Optimera measurement substrate. Once approved, it is immutable ground truth. |
477
+ | Objective | Measurable optimization charter under `.agentera/optimera/<name>/`. |
478
+ | Experiment | One falsifiable optimization attempt with hypothesis, method, metric, regression, status, and conclusion. |
479
+ | Keep/discard gate | Keep only if the metric improves and regression gates pass; discard otherwise. |
465
480
 
466
481
  ## Visual grammar
467
482
 
468
- | Token family | Values |
469
- | --- | --- |
470
- | Status tokens | `■` complete, `▣` in progress, `□` open, `▨` blocked. |
471
- | Severity tokens | `⇶` critical, `⇉` degraded, `→` normal, `⇢` annoying. |
472
- | Confidence tokens | `━` firm, `─` provisional, `┄` exploratory. |
473
- | Trend tokens | `⮉` improving, `⮋` degrading. |
474
- | Structural tokens | `───` section divider, `▸` list item, `·` separator, `→` flow, `█▓░` progress bar. |
475
- | Logo | Box-drawing Agentera logo. Use for the Hej dashboard, major completions, and significant artifacts. |
483
+ | Token family | Values |
484
+ | ----------------- | --------------------------------------------------------------------------------------------------- |
485
+ | Status tokens | `■` complete, `▣` in progress, `□` open, `▨` blocked. |
486
+ | Severity tokens | `⇶` critical, `⇉` degraded, `→` normal, `⇢` annoying. |
487
+ | Confidence tokens | `━` firm, `─` provisional, `┄` exploratory. |
488
+ | Trend tokens | `⮉` improving, `⮋` degrading. |
489
+ | Structural tokens | `───` section divider, `▸` list item, `·` separator, `→` flow, `█▓░` progress bar. |
490
+ | Logo | Box-drawing Agentera logo. Use for the Hej dashboard, major completions, and significant artifacts. |
476
491
 
477
492
  Visualisera owns visual identity in `DESIGN.md`. Protocol owns token meanings in
478
493
  `skills/agentera/protocol.yaml`.
479
494
 
480
495
  ## Canonical phrases
481
496
 
482
- | Phrase | Use |
483
- | --- | --- |
484
- | “The open protocol for turning AI agents into engineering teams.” | Product identity. |
485
- | “One install, one entry point, one query interface to all project state.” | v2 app-home promise. |
486
- | “Continuity lives in files, not memory.” | Realisera/project-state principle. |
487
- | “The conversation preserves reasoning; the artifact preserves the plan.” | Planera boundary. |
488
- | “Planera owns WHAT and WHY; realisera owns HOW.” | Planning/building boundary. |
489
- | “The colleague says what they think, then shows the evidence.” | Inspektera voice. |
490
- | “Findings contradicting deliberate decisions are not findings.” | Audit boundary. |
491
- | “Select the concrete next action before selecting the skill.” | Hej routing discipline. |
492
- | “A skill name without a concrete object is not a valid suggestion.” | Hej next-action rule. |
493
- | “Suggest, don’t force.” | Hej confirmation rule. |
494
- | “Document intended behavior before building.” | Dokumentera intent-first mode. |
495
- | “Write as intended steady state.” | Evergreen documentation rule. |
496
- | “Keep it DRY: reference, don’t repeat.” | Documentation maintenance rule. |
497
- | “The harness is the immutable ground truth.” | Optimera measurement rule. |
498
- | “Improve + pass regression = keep; everything else is discarded.” | Optimera experiment rule. |
499
- | “The orchestrator delegates; it does not implement.” | Orkestrera role boundary. |
497
+ | Phrase | Use |
498
+ | ------------------------------------------------------------------------- | ------------------------------------------------------ |
499
+ | "One agent, one CLI, many capabilities." | Product identity headline (Decision 74). |
500
+ | “One install, one entry point, one query interface to all project state.” | CLI state-access promise (internals/contributor docs). |
501
+ | “Continuity lives in files, not memory.” | Realisera/project-state principle. |
502
+ | “The conversation preserves reasoning; the artifact preserves the plan.” | Plan boundary. |
503
+ | “Plan owns WHAT and WHY; build owns HOW.” | Planning/building boundary. |
504
+ | “The colleague says what they think, then shows the evidence.” | Audit voice. |
505
+ | “Findings contradicting deliberate decisions are not findings.” | Audit boundary. |
506
+ | “Select the concrete next action before selecting the capability.” | Hej routing discipline. |
507
+ | “A capability name without a concrete object is not a valid suggestion.” | Hej next-action rule. |
508
+ | “Suggest, don’t force.” | Hej confirmation rule. |
509
+ | “Document intended behavior before building.” | Dokumentera intent-first mode. |
510
+ | “Write as intended steady state.” | Evergreen documentation rule. |
511
+ | “Keep it DRY: reference, don’t repeat.” | Documentation maintenance rule. |
512
+ | “The harness is the immutable ground truth.” | Optimera measurement rule. |
513
+ | “Improve + pass regression = keep; everything else is discarded.” | Optimera experiment rule. |
514
+ | “The orchestrator delegates; it does not implement.” | Orkestrera role boundary. |
500
515
 
501
516
  ## Ambiguous terms to qualify
502
517
 
@@ -504,63 +519,63 @@ Do not use these terms bare. A busy developer should be able to search the
504
519
  phrase, identify the affected object, and know whether the term describes a
505
520
  schema concept, runtime capability, install state, or user action.
506
521
 
507
- | Ambiguous term | Why bare usage is risky | Required wording |
508
- | --- | --- | --- |
509
- | Skill | Confuses v1 standalone skills, the v2 Agentera skill, and internal workflows. | Use `Agentera skill` for the installed runtime surface, `v1 skill` for history, and `capability` for v2 workflows. |
510
- | Contract | Could mean schema structure, artifact shape, protocol primitive, adapter behavior, or product promise. | Use `schema contract`, `artifact schema`, `protocol primitives`, `runtime adapter contract`, or `product promise`. |
511
- | Status | Different surfaces use different state machines and output labels. | Use `exit status`, `task status`, `installed-app status`, `install status`, `docs status`, or `health status`. |
512
- | Freshness | Sounds like a branded synonym for several normal states: current, stale, synced, or out of date. | Use object-specific state wording such as `artifact is current`, `Agentera app files need repair`, `docs are current`, or `plan-level current-state check`. |
513
- | Checkpoint | In software, can mean commit, savepoint, restore point, model checkpoint, or milestone. | Use `final state sync`, `plan-level current-state check`, `checkpoint commit`, or `pre-dispatch checkpoint commit`. |
514
- | Stale | The cause and fix differ by object. | Use `stale artifact`, `Agentera app files need repair`, `stale marker`, or `stale worktree base`. Avoid `stale` in recovery prompts when `out of date` or `needs repair` is clearer. |
515
- | Phase | Conflicts with numbered workflow steps. | Use `phase` only for protocol lifecycle: `envision`, `deliberate`, `plan`, `build`, `audit`. Use `step` for capability-local actions. |
516
- | Objective state | Clear only inside optimera. | First mention `optimization objective state`; then `objective state` is fine in optimera context. Do not modify outside optimera or explicit user instruction. |
517
- | Support | Could mean theoretical host capability, shipped Agentera wiring, or verified behavior. | Use `host capability`, `Agentera adapter support`, or `tested support`. |
518
- | Runtime support | Too broad to be actionable in compatibility docs. | Replace with `host capability`, `Agentera adapter support`, or `tested support`, whichever is true. |
519
- | AskUserQuestion | Internal primitive leaking into human prose. | In user docs, say `ask the user`. In adapter docs, say `runtime question tool`. |
520
- | MCP | Optional substrate, not a core Agentera requirement. | Say `optional MCP integration` only where the feature literally depends on MCP. |
522
+ | Ambiguous term | Why bare usage is risky | Required wording |
523
+ | --------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
524
+ | Skill | Confuses v1 standalone skills, the host editor skill bundle, and internal workflows. | Per Decision 74, `skill` is internal transport, not product vocabulary. Use `capability` for Agentera workflows; reserve `skill` for the `skills/` directory and host editor manifests; `v1 skill` for history. |
525
+ | Contract | Could mean schema structure, artifact shape, protocol primitive, package behavior, or product promise. | Use `schema contract`, `artifact schema`, `protocol primitives`, `package contract`, or `product promise`. |
526
+ | Status | Different surfaces use different state machines and output labels. | Use `exit status`, `task status`, `installed-app status`, `install status`, `docs status`, or `health status`. |
527
+ | Freshness | Sounds like a branded synonym for several normal states: current, stale, synced, or out of date. | Use object-specific state wording such as `artifact is current`, `Agentera app files need repair`, `docs are current`, or `plan-level current-state check`. |
528
+ | Checkpoint | In software, can mean commit, savepoint, restore point, model checkpoint, or milestone. | Use `final state sync`, `plan-level current-state check`, `checkpoint commit`, or `pre-dispatch checkpoint commit`. |
529
+ | Stale | The cause and fix differ by object. | Use `stale artifact`, `Agentera app files need repair`, `stale marker`, or `stale worktree base`. Avoid `stale` in recovery prompts when `out of date` or `needs repair` is clearer. |
530
+ | Phase | Conflicts with numbered workflow steps. | Use `phase` only for protocol lifecycle: `envision`, `deliberate`, `plan`, `build`, `audit`. Use `step` for capability-local actions. |
531
+ | Objective state | Clear only inside optimera. | First mention `optimization objective state`; then `objective state` is fine in optimera context. Do not modify outside optimera or explicit user instruction. |
532
+ | Support | Could mean theoretical host capability, shipped Agentera wiring, or verified behavior. | Use `host capability`, `Agentera adapter support`, or `tested support`. |
533
+ | Runtime support | Too broad to be actionable in compatibility docs. | Replace with `host capability`, `Agentera adapter support`, or `tested support`, whichever is true. |
534
+ | AskUserQuestion | Internal primitive leaking into human prose. | In user docs, say `ask the user`. In adapter docs, say `runtime question tool`. |
535
+ | MCP | Optional substrate, not a core Agentera requirement. | Say `optional MCP integration` only where the feature literally depends on MCP. |
521
536
 
522
537
  High-risk diagnostic rewrites:
523
538
 
524
- | Avoid in diagnostics | Use instead |
525
- | --- | --- |
526
- | `bundle freshness gap detected` | `Agentera app files need repair` |
527
- | `bundle freshness guard failed` | `install status check failed` |
528
- | `bundle refresh required` | `repair Agentera app files` |
529
- | `app refresh required` | `Agentera app files need repair` or `Agentera app files are outdated` |
530
- | `upgrade guard triggered` | `v1 migration check found legacy files` |
531
- | `stale marker` | `missing or outdated version marker` |
532
- | `artifact freshness failed` | `artifact is stale` or `artifact needs sync` |
539
+ | Avoid in diagnostics | Use instead |
540
+ | ------------------------------- | --------------------------------------------------------------------- |
541
+ | `bundle freshness gap detected` | `Agentera app files need repair` |
542
+ | `bundle freshness guard failed` | `install status check failed` |
543
+ | `bundle refresh required` | `repair Agentera app files` |
544
+ | `app refresh required` | `Agentera app files need repair` or `Agentera app files are outdated` |
545
+ | `upgrade guard triggered` | `v1 migration check found legacy files` |
546
+ | `stale marker` | `missing or outdated version marker` |
547
+ | `artifact freshness failed` | `artifact is stale` or `artifact needs sync` |
533
548
 
534
549
  ## Source index
535
550
 
536
551
  High-signal source surfaces for this vocabulary:
537
552
 
538
- | Source | Vocabulary surface |
539
- | --- | --- |
540
- | `skills/agentera/SKILL.md` | Routing entry, routing layers, CLI-first access, installed-app status check, and v1 migration check. |
541
- | `skills/agentera/protocol.yaml` | Protocol primitives, glyphs, phases, visual tokens, exit signals. |
542
- | `skills/agentera/capability_schema_contract.yaml` | Schema groups, priorities, stable IDs, primitive-reference fields. |
543
- | `skills/agentera/capabilities/*/instructions.md` | Workflow grammar, capability roles, safety rails, exit marker forms. |
544
- | `skills/agentera/capabilities/*/schemas/*.yaml` | Trigger patterns, artifact roles, validation rules, exit conditions. |
545
- | `skills/agentera/schemas/artifacts/*.yaml` | Artifact fields, status enums, validation vocabulary, and protected current-state fields. |
546
- | `references/artifacts/artifact-registry-interface-model.yaml` | Canonical artifact registry language. |
547
- | `references/cli/app-lifecycle-vocabulary.yaml` | App lifecycle canonical status and operation vocabulary authority. |
548
- | `references/cli/update-channels.yaml` | Update channel resolution and override-key authority. |
549
- | `references/cli/bundle-skill-vocabulary.yaml` | Bundle and `SKILL.md` concept classification authority. |
550
- | `references/cli/capability-instruction-contract.yaml` | Decision 57 capability instruction-file and first-invocation read contract authority. |
551
- | `references/cli/routing-execution-vocabulary.yaml` | Routing and execution vocabulary authority. |
552
- | `the agentera CLI` | Flat State CLI labels and `agentera hej` source contract. |
553
- | `packages/cli/src/upgrade (doctor/upgrade)` | Upgrade and doctor output grammar. |
554
- | `packages/cli/src/state/installRoot.ts` | Install-root classification semantics. |
555
- | `hooks/validate_artifact.py` | Runtime artifact-write validation and hook exit codes. |
556
- | `README.md` | Product, invocation, artifact, and user-facing capability language. |
557
- | `UPGRADE.md` | Upgrade flow, package refresh, app-home repair, and runtime migration terms. |
558
- | `DESIGN.md` | Visual identity, glyph, severity, confidence, and structural token language. |
559
- | `.agentera/docs.yaml` | Current documentation registry, mapping, coverage, and audit vocabulary. |
560
- | `.agentera/decisions.yaml` | Decision grammar, v2 architecture rationale, routing decisions. |
561
- | `.agentera/progress.yaml` | Cycle, evidence, context, and final state-sync examples. |
562
- | `.agentera/health.yaml` | Audit dimensions, grades, trajectories, findings, and artifact current-state review. |
563
- | `.agentera/archive/*.md` | Historical plan-level current-state checks and staleness rationale. |
564
- | `.agentera/optimera/*` | Objective, experiment, harness, metric, and keep/discard examples. |
565
- | `fixtures/semantic/*.md` | Semantic eval fixture, oracle, and Hej dashboard constraints. |
566
- | `tests/` | Regression evidence for CLI labels, installed-app status, routing, exits, and schema contracts. |
553
+ | Source | Vocabulary surface |
554
+ | ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
555
+ | `skills/agentera/SKILL.md` | Routing entry, routing layers, CLI-first access, installed-app status check, and v1 migration check. |
556
+ | `skills/agentera/protocol.yaml` | Protocol primitives, glyphs, phases, visual tokens, exit signals. |
557
+ | `skills/agentera/capability_schema_contract.yaml` | Schema groups, priorities, stable IDs, primitive-reference fields. |
558
+ | `packages/cli/src/capabilities/*/instructions.ts` | Workflow grammar, capability roles, safety rails, exit marker forms. Loaded as a default-exported string constant; runtime serves it via `agentera prime --context <name> --format json`. |
559
+ | `skills/agentera/capabilities/*/schemas/*.yaml` | Trigger patterns, artifact roles, validation rules, exit conditions. |
560
+ | `skills/agentera/schemas/artifacts/*.yaml` | Artifact fields, status enums, validation vocabulary, and protected current-state fields. |
561
+ | `references/artifacts/artifact-registry-interface-model.yaml` | Canonical artifact registry language. |
562
+ | `references/cli/app-lifecycle-vocabulary.yaml` | App lifecycle canonical status and operation vocabulary authority. |
563
+ | `references/cli/update-channels.yaml` | Update channel resolution and override-key authority. |
564
+ | `references/cli/bundle-skill-vocabulary.yaml` | Bundle and `SKILL.md` concept classification authority. |
565
+ | `references/cli/capability-instruction-contract.yaml` | Decision 57 capability instruction-file and first-invocation read contract authority. |
566
+ | `references/cli/routing-execution-vocabulary.yaml` | Routing and execution vocabulary authority. |
567
+ | `the agentera CLI` | Flat State CLI labels and `agentera hej` source contract. |
568
+ | `packages/cli/src/upgrade (doctor/upgrade)` | Upgrade and doctor output grammar. |
569
+ | `packages/cli/src/state/installRoot.ts` | Install-root classification semantics. |
570
+ | `hooks/validate_artifact.py` | Runtime artifact-write validation and hook exit codes. |
571
+ | `README.md` | Product, invocation, artifact, and user-facing capability language. |
572
+ | `UPGRADE.md` | Upgrade flow, package refresh, app-home repair, and runtime migration terms. |
573
+ | `DESIGN.md` | Visual identity, glyph, severity, confidence, and structural token language. |
574
+ | `.agentera/docs.yaml` | Current documentation registry, mapping, coverage, and audit vocabulary. |
575
+ | `.agentera/decisions.yaml` | Decision grammar, v2 architecture rationale, routing decisions. |
576
+ | `.agentera/progress.yaml` | Cycle, evidence, context, and final state-sync examples. |
577
+ | `.agentera/health.yaml` | Audit dimensions, grades, trajectories, findings, and artifact current-state review. |
578
+ | `.agentera/archive/*.md` | Historical plan-level current-state checks and staleness rationale. |
579
+ | `.agentera/optimera/*` | Objective, experiment, harness, metric, and keep/discard examples. |
580
+ | `fixtures/semantic/*.md` | Semantic eval fixture, oracle, and Hej dashboard constraints. |
581
+ | `tests/` | Regression evidence for CLI labels, installed-app status, routing, exits, and schema contracts. |