agentera 3.0.0-dev.5 → 3.0.0-dev.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (510) hide show
  1. package/README.md +4 -3
  2. package/bundle/extract-corpus-parity.json +23 -0
  3. package/bundle/references/adapters/cursor.md +10 -9
  4. package/bundle/references/adapters/opencode.md +26 -26
  5. package/bundle/references/adapters/package-registry.yaml +0 -1
  6. package/bundle/references/adapters/package-surface-characterization.md +1 -2
  7. package/bundle/references/adapters/runtime-adapter-characterization.md +1 -1
  8. package/bundle/references/adapters/runtime-adapter-registry.yaml +16 -10
  9. package/bundle/references/adapters/runtime-feature-parity.md +2 -2
  10. package/bundle/references/analysis/benchmark.md +1 -1
  11. package/bundle/references/analysis/startup-measurement-contract.yaml +18 -18
  12. package/bundle/references/artifacts/artifact-registry-interface-model.yaml +4 -3
  13. package/bundle/references/cli/agent-ready-state-contract.yaml +6 -6
  14. package/bundle/references/cli/app-lifecycle-vocabulary.yaml +4 -4
  15. package/bundle/references/cli/audience-namespace-cli-migration.yaml +40 -26
  16. package/bundle/references/cli/bundle-skill-vocabulary.yaml +1 -29
  17. package/bundle/references/cli/capability-tool-classification.yaml +12 -12
  18. package/bundle/references/cli/coexistence-probe.yaml +13 -0
  19. package/bundle/references/cli/parity-expected-actual-template.md +30 -0
  20. package/bundle/references/cli/routing-execution-vocabulary.yaml +6 -6
  21. package/bundle/references/cli/routing-model.md +96 -0
  22. package/bundle/references/cli/single-name-protocol.yaml +42 -0
  23. package/bundle/references/cli/trigger-schema-enrichment.md +136 -0
  24. package/bundle/references/cli/update-channels.yaml +16 -0
  25. package/bundle/references/cli/upgrade-repair-wording.md +45 -0
  26. package/bundle/references/cli/v3-handoff-manifest.schema.yaml +98 -0
  27. package/bundle/references/cli/vocabulary-index.yaml +17 -12
  28. package/bundle/references/cli/vocabulary.md +316 -309
  29. package/bundle/references/meta/documentation-inventory.md +9 -3
  30. package/bundle/registry.json +13 -13
  31. package/bundle/skills/agentera/.claude-plugin/plugin.json +13 -13
  32. package/bundle/skills/agentera/SKILL.md +99 -415
  33. package/bundle/skills/agentera/agents/audit.toml +6 -0
  34. package/bundle/skills/agentera/agents/build.toml +6 -0
  35. package/bundle/skills/agentera/agents/design.toml +6 -0
  36. package/bundle/skills/agentera/agents/{planera.toml → discuss.toml} +3 -3
  37. package/bundle/skills/agentera/agents/{resonera.toml → document.toml} +3 -3
  38. package/bundle/skills/agentera/agents/{optimera.toml → optimize.toml} +2 -2
  39. package/bundle/skills/agentera/agents/orchestrate.toml +6 -0
  40. package/bundle/skills/agentera/agents/plan.toml +6 -0
  41. package/bundle/skills/agentera/agents/profile.toml +6 -0
  42. package/bundle/skills/agentera/agents/research.toml +6 -0
  43. package/bundle/skills/agentera/agents/status.toml +6 -0
  44. package/bundle/skills/agentera/agents/vision.toml +6 -0
  45. package/bundle/skills/agentera/capabilities/{inspektera → audit}/schemas/artifacts.yaml +10 -10
  46. package/bundle/skills/agentera/capabilities/{inspektera → audit}/schemas/triggers.yaml +15 -6
  47. package/bundle/skills/agentera/capabilities/{inspektera → audit}/schemas/validation.yaml +9 -9
  48. package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/artifacts.yaml +11 -11
  49. package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/triggers.yaml +13 -3
  50. package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/validation.yaml +7 -7
  51. package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/artifacts.yaml +6 -6
  52. package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/triggers.yaml +15 -3
  53. package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/validation.yaml +5 -5
  54. package/bundle/skills/agentera/capabilities/{resonera → discuss}/schemas/artifacts.yaml +6 -6
  55. package/bundle/skills/agentera/capabilities/{resonera → discuss}/schemas/triggers.yaml +11 -3
  56. package/bundle/skills/agentera/capabilities/{resonera → discuss}/schemas/validation.yaml +4 -4
  57. package/bundle/skills/agentera/capabilities/{dokumentera → document}/schemas/artifacts.yaml +10 -10
  58. package/bundle/skills/agentera/capabilities/{dokumentera → document}/schemas/triggers.yaml +14 -3
  59. package/bundle/skills/agentera/capabilities/{dokumentera → document}/schemas/validation.yaml +8 -8
  60. package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/artifacts.yaml +8 -8
  61. package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/triggers.yaml +11 -3
  62. package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/validation.yaml +7 -7
  63. package/bundle/skills/agentera/capabilities/{orkestrera → orchestrate}/schemas/artifacts.yaml +10 -10
  64. package/bundle/skills/agentera/capabilities/{orkestrera → orchestrate}/schemas/triggers.yaml +16 -3
  65. package/bundle/skills/agentera/capabilities/{orkestrera → orchestrate}/schemas/validation.yaml +27 -27
  66. package/bundle/skills/agentera/capabilities/{planera → plan}/schemas/artifacts.yaml +8 -8
  67. package/bundle/skills/agentera/capabilities/{planera → plan}/schemas/exit.yaml +2 -2
  68. package/bundle/skills/agentera/capabilities/{planera → plan}/schemas/triggers.yaml +15 -3
  69. package/bundle/skills/agentera/capabilities/{planera → plan}/schemas/validation.yaml +3 -3
  70. package/bundle/skills/agentera/capabilities/{profilera → profile}/schemas/artifacts.yaml +2 -2
  71. package/bundle/skills/agentera/capabilities/{profilera → profile}/schemas/exit.yaml +2 -1
  72. package/bundle/skills/agentera/capabilities/{profilera → profile}/schemas/triggers.yaml +7 -3
  73. package/bundle/skills/agentera/capabilities/{profilera → profile}/schemas/validation.yaml +2 -2
  74. package/bundle/skills/agentera/capabilities/{inspirera → research}/schemas/artifacts.yaml +5 -5
  75. package/bundle/skills/agentera/capabilities/{inspirera → research}/schemas/triggers.yaml +9 -3
  76. package/bundle/skills/agentera/capabilities/{inspirera → research}/schemas/validation.yaml +2 -2
  77. package/bundle/skills/agentera/capabilities/{hej → status}/schemas/artifacts.yaml +14 -11
  78. package/bundle/skills/agentera/capabilities/{hej → status}/schemas/triggers.yaml +10 -4
  79. package/bundle/skills/agentera/capabilities/{hej → status}/schemas/validation.yaml +5 -5
  80. package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/artifacts.yaml +8 -8
  81. package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/triggers.yaml +17 -3
  82. package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/validation.yaml +7 -7
  83. package/bundle/skills/agentera/capability_schema_contract.yaml +178 -34
  84. package/bundle/skills/agentera/protocol.yaml +29 -29
  85. package/bundle/skills/agentera/references/contract.md +328 -319
  86. package/bundle/skills/agentera/schemas/artifacts/changelog.yaml +4 -4
  87. package/bundle/skills/agentera/schemas/artifacts/decisions.yaml +9 -9
  88. package/bundle/skills/agentera/schemas/artifacts/design.yaml +4 -4
  89. package/bundle/skills/agentera/schemas/artifacts/docs.yaml +8 -7
  90. package/bundle/skills/agentera/schemas/artifacts/experiments.yaml +5 -5
  91. package/bundle/skills/agentera/schemas/artifacts/health.yaml +5 -5
  92. package/bundle/skills/agentera/schemas/artifacts/objective.yaml +4 -4
  93. package/bundle/skills/agentera/schemas/artifacts/plan.yaml +5 -5
  94. package/bundle/skills/agentera/schemas/artifacts/progress.yaml +5 -5
  95. package/bundle/skills/agentera/schemas/artifacts/todo.yaml +40 -35
  96. package/bundle/skills/agentera/schemas/artifacts/vision.yaml +3 -3
  97. package/dist/analytics/extractCorpus/cli.js +149 -0
  98. package/dist/analytics/extractCorpus/cli.js.map +1 -0
  99. package/dist/analytics/extractCorpus/copilotSessions.js +273 -0
  100. package/dist/analytics/extractCorpus/copilotSessions.js.map +1 -0
  101. package/dist/analytics/extractCorpus/core.js +364 -0
  102. package/dist/analytics/extractCorpus/core.js.map +1 -0
  103. package/dist/analytics/extractCorpus/corpus.js +145 -0
  104. package/dist/analytics/extractCorpus/corpus.js.map +1 -0
  105. package/dist/analytics/extractCorpus/coverageAudit.js +261 -0
  106. package/dist/analytics/extractCorpus/coverageAudit.js.map +1 -0
  107. package/dist/analytics/extractCorpus/cursorSessions.js +423 -0
  108. package/dist/analytics/extractCorpus/cursorSessions.js.map +1 -0
  109. package/dist/analytics/extractCorpus/extractCorpusParity.js +105 -0
  110. package/dist/analytics/extractCorpus/extractCorpusParity.js.map +1 -0
  111. package/dist/analytics/extractCorpus/filesystemSources.js +122 -0
  112. package/dist/analytics/extractCorpus/filesystemSources.js.map +1 -0
  113. package/dist/analytics/extractCorpus/index.js +12 -0
  114. package/dist/analytics/extractCorpus/index.js.map +1 -0
  115. package/dist/analytics/extractCorpus/jsonlSessions.js +185 -0
  116. package/dist/analytics/extractCorpus/jsonlSessions.js.map +1 -0
  117. package/dist/analytics/extractCorpus/sqliteCaps.js +44 -0
  118. package/dist/analytics/extractCorpus/sqliteCaps.js.map +1 -0
  119. package/dist/analytics/extractCorpus/sqliteSessions.js +368 -0
  120. package/dist/analytics/extractCorpus/sqliteSessions.js.map +1 -0
  121. package/dist/analytics/extractCorpus.js +2 -1790
  122. package/dist/analytics/extractCorpus.js.map +1 -1
  123. package/dist/analytics/usageStats.js +20 -20
  124. package/dist/analytics/usageStats.js.map +1 -1
  125. package/dist/capabilities/audit/instructions.js +6 -0
  126. package/dist/capabilities/audit/instructions.js.map +1 -0
  127. package/dist/capabilities/build/instructions.js +6 -0
  128. package/dist/capabilities/build/instructions.js.map +1 -0
  129. package/dist/capabilities/design/instructions.js +5 -0
  130. package/dist/capabilities/design/instructions.js.map +1 -0
  131. package/dist/capabilities/discuss/instructions.js +6 -0
  132. package/dist/capabilities/discuss/instructions.js.map +1 -0
  133. package/dist/capabilities/document/instructions.js +6 -0
  134. package/dist/capabilities/document/instructions.js.map +1 -0
  135. package/dist/capabilities/index.js +24 -24
  136. package/dist/capabilities/index.js.map +1 -1
  137. package/dist/capabilities/inspirera/instructions.js +1 -1
  138. package/dist/capabilities/inspirera/instructions.js.map +1 -1
  139. package/dist/capabilities/optimize/instructions.js +6 -0
  140. package/dist/capabilities/optimize/instructions.js.map +1 -0
  141. package/dist/capabilities/orchestrate/instructions.js +6 -0
  142. package/dist/capabilities/orchestrate/instructions.js.map +1 -0
  143. package/dist/capabilities/plan/instructions.js +6 -0
  144. package/dist/capabilities/plan/instructions.js.map +1 -0
  145. package/dist/capabilities/planera/instructions.js +1 -1
  146. package/dist/capabilities/planera/instructions.js.map +1 -1
  147. package/dist/capabilities/profile/instructions.js +6 -0
  148. package/dist/capabilities/profile/instructions.js.map +1 -0
  149. package/dist/capabilities/profilera/instructions.js +1 -1
  150. package/dist/capabilities/profilera/instructions.js.map +1 -1
  151. package/dist/capabilities/realisera/instructions.js +1 -1
  152. package/dist/capabilities/realisera/instructions.js.map +1 -1
  153. package/dist/capabilities/research/instructions.js +6 -0
  154. package/dist/capabilities/research/instructions.js.map +1 -0
  155. package/dist/capabilities/resonera/instructions.js +1 -1
  156. package/dist/capabilities/resonera/instructions.js.map +1 -1
  157. package/dist/capabilities/status/instructions.js +6 -0
  158. package/dist/capabilities/status/instructions.js.map +1 -0
  159. package/dist/capabilities/vision/instructions.js +6 -0
  160. package/dist/capabilities/vision/instructions.js.map +1 -0
  161. package/dist/capabilities/visionera/instructions.js +1 -1
  162. package/dist/capabilities/visionera/instructions.js.map +1 -1
  163. package/dist/capabilities/visualisera/instructions.js +3 -4
  164. package/dist/capabilities/visualisera/instructions.js.map +1 -1
  165. package/dist/cli/appContext.js +16 -17
  166. package/dist/cli/appContext.js.map +1 -1
  167. package/dist/cli/capabilityContext/benchmark.js +564 -0
  168. package/dist/cli/capabilityContext/benchmark.js.map +1 -0
  169. package/dist/cli/capabilityContext/bespoke.js +36 -0
  170. package/dist/cli/capabilityContext/bespoke.js.map +1 -0
  171. package/dist/cli/capabilityContext/build.js +177 -0
  172. package/dist/cli/capabilityContext/build.js.map +1 -0
  173. package/dist/cli/capabilityContext/closeout.js +230 -0
  174. package/dist/cli/capabilityContext/closeout.js.map +1 -0
  175. package/dist/cli/capabilityContext/contract.js +188 -0
  176. package/dist/cli/capabilityContext/contract.js.map +1 -0
  177. package/dist/cli/capabilityContext/evidence.js +456 -0
  178. package/dist/cli/capabilityContext/evidence.js.map +1 -0
  179. package/dist/cli/capabilityContext/index.js +4 -0
  180. package/dist/cli/capabilityContext/index.js.map +1 -0
  181. package/dist/cli/capabilityContext/orchestration.js +107 -0
  182. package/dist/cli/capabilityContext/orchestration.js.map +1 -0
  183. package/dist/cli/capabilityContext/planState.js +271 -0
  184. package/dist/cli/capabilityContext/planState.js.map +1 -0
  185. package/dist/cli/capabilityContext/progress.js +103 -0
  186. package/dist/cli/capabilityContext/progress.js.map +1 -0
  187. package/dist/cli/capabilityContext/realisera.js +174 -0
  188. package/dist/cli/capabilityContext/realisera.js.map +1 -0
  189. package/dist/cli/capabilityContext/shared.js +94 -0
  190. package/dist/cli/capabilityContext/shared.js.map +1 -0
  191. package/dist/cli/capabilityContext/slim.js +108 -0
  192. package/dist/cli/capabilityContext/slim.js.map +1 -0
  193. package/dist/cli/capabilityContext/startup.js +213 -0
  194. package/dist/cli/capabilityContext/startup.js.map +1 -0
  195. package/dist/cli/capabilityContext/types.js +40 -0
  196. package/dist/cli/capabilityContext/types.js.map +1 -0
  197. package/dist/cli/capabilityContext.js +1 -2486
  198. package/dist/cli/capabilityContext.js.map +1 -1
  199. package/dist/cli/commands/appHome.js +23 -0
  200. package/dist/cli/commands/appHome.js.map +1 -0
  201. package/dist/cli/commands/backfill.js +84 -0
  202. package/dist/cli/commands/backfill.js.map +1 -0
  203. package/dist/cli/commands/capability.js +2 -2
  204. package/dist/cli/commands/capability.js.map +1 -1
  205. package/dist/cli/commands/compact.js +1 -1
  206. package/dist/cli/commands/compact.js.map +1 -1
  207. package/dist/cli/commands/doctor.js +17 -98
  208. package/dist/cli/commands/doctor.js.map +1 -1
  209. package/dist/cli/commands/lint.js +4 -36
  210. package/dist/cli/commands/lint.js.map +1 -1
  211. package/dist/cli/commands/prime/bundleStatus.js +140 -0
  212. package/dist/cli/commands/prime/bundleStatus.js.map +1 -0
  213. package/dist/cli/commands/prime/collectOrientationState.js +156 -0
  214. package/dist/cli/commands/prime/collectOrientationState.js.map +1 -0
  215. package/dist/cli/commands/prime/orientationOutput.js +210 -0
  216. package/dist/cli/commands/prime/orientationOutput.js.map +1 -0
  217. package/dist/cli/commands/prime/routeOutput.js +50 -0
  218. package/dist/cli/commands/prime/routeOutput.js.map +1 -0
  219. package/dist/cli/commands/prime/types.js +2 -0
  220. package/dist/cli/commands/prime/types.js.map +1 -0
  221. package/dist/cli/commands/prime/v1Migration.js +39 -0
  222. package/dist/cli/commands/prime/v1Migration.js.map +1 -0
  223. package/dist/cli/commands/prime.js +11 -554
  224. package/dist/cli/commands/prime.js.map +1 -1
  225. package/dist/cli/commands/query.js +5 -2
  226. package/dist/cli/commands/query.js.map +1 -1
  227. package/dist/cli/commands/report.js +27 -10
  228. package/dist/cli/commands/report.js.map +1 -1
  229. package/dist/cli/commands/schema.js +24 -20
  230. package/dist/cli/commands/schema.js.map +1 -1
  231. package/dist/cli/commands/state/decisions.js +403 -0
  232. package/dist/cli/commands/state/decisions.js.map +1 -0
  233. package/dist/cli/commands/state/docs.js +97 -0
  234. package/dist/cli/commands/state/docs.js.map +1 -0
  235. package/dist/cli/commands/state/experiments.js +68 -0
  236. package/dist/cli/commands/state/experiments.js.map +1 -0
  237. package/dist/cli/commands/state/health.js +116 -0
  238. package/dist/cli/commands/state/health.js.map +1 -0
  239. package/dist/cli/commands/state/index.js +51 -0
  240. package/dist/cli/commands/state/index.js.map +1 -0
  241. package/dist/cli/commands/state/objective.js +69 -0
  242. package/dist/cli/commands/state/objective.js.map +1 -0
  243. package/dist/cli/commands/state/plan.js +173 -0
  244. package/dist/cli/commands/state/plan.js.map +1 -0
  245. package/dist/cli/commands/state/progress.js +47 -0
  246. package/dist/cli/commands/state/progress.js.map +1 -0
  247. package/dist/cli/commands/state/shared.js +15 -0
  248. package/dist/cli/commands/state/shared.js.map +1 -0
  249. package/dist/cli/commands/state/todo.js +121 -0
  250. package/dist/cli/commands/state/todo.js.map +1 -0
  251. package/dist/cli/commands/state.js +7 -7
  252. package/dist/cli/commands/state.js.map +1 -1
  253. package/dist/cli/commands/validate.js +50 -100
  254. package/dist/cli/commands/validate.js.map +1 -1
  255. package/dist/cli/commands/verify.js +1 -1
  256. package/dist/cli/commands/verify.js.map +1 -1
  257. package/dist/cli/contracts/bundleStatus.js +2 -0
  258. package/dist/cli/contracts/bundleStatus.js.map +1 -0
  259. package/dist/cli/contracts/orientationState.js +2 -0
  260. package/dist/cli/contracts/orientationState.js.map +1 -0
  261. package/dist/cli/dispatch/argvParser.js +33 -0
  262. package/dist/cli/dispatch/argvParser.js.map +1 -0
  263. package/dist/cli/dispatch/check.js +328 -0
  264. package/dist/cli/dispatch/check.js.map +1 -0
  265. package/dist/cli/dispatch/commands.js +27 -0
  266. package/dist/cli/dispatch/commands.js.map +1 -0
  267. package/dist/cli/dispatch/index.js +182 -0
  268. package/dist/cli/dispatch/index.js.map +1 -0
  269. package/dist/cli/dispatch/lifecycle.js +597 -0
  270. package/dist/cli/dispatch/lifecycle.js.map +1 -0
  271. package/dist/cli/dispatch/prime.js +104 -0
  272. package/dist/cli/dispatch/prime.js.map +1 -0
  273. package/dist/cli/dispatch/shared.js +64 -0
  274. package/dist/cli/dispatch/shared.js.map +1 -0
  275. package/dist/cli/dispatch/state.js +144 -0
  276. package/dist/cli/dispatch/state.js.map +1 -0
  277. package/dist/cli/dispatch.js +1 -1293
  278. package/dist/cli/dispatch.js.map +1 -1
  279. package/dist/cli/help.js +41 -8
  280. package/dist/cli/help.js.map +1 -1
  281. package/dist/cli/orientation/attention.js +61 -0
  282. package/dist/cli/orientation/attention.js.map +1 -0
  283. package/dist/cli/orientation/corpusCoverage.js +71 -0
  284. package/dist/cli/orientation/corpusCoverage.js.map +1 -0
  285. package/dist/cli/orientation.js +129 -78
  286. package/dist/cli/orientation.js.map +1 -1
  287. package/dist/cli/prime-blob.js +1 -1
  288. package/dist/cli/startupCompletenessContract.js +56 -0
  289. package/dist/cli/startupCompletenessContract.js.map +1 -0
  290. package/dist/cli/stateQuery.js +9 -2
  291. package/dist/cli/stateQuery.js.map +1 -1
  292. package/dist/cli/todoSeverity.js +19 -0
  293. package/dist/cli/todoSeverity.js.map +1 -0
  294. package/dist/core/envPaths.js +21 -0
  295. package/dist/core/envPaths.js.map +1 -0
  296. package/dist/core/git.js +43 -0
  297. package/dist/core/git.js.map +1 -0
  298. package/dist/core/jsonValue.js +6 -0
  299. package/dist/core/jsonValue.js.map +1 -0
  300. package/dist/core/pyjson.js +67 -2
  301. package/dist/core/pyjson.js.map +1 -1
  302. package/dist/eval/evalSkills.js +17 -12
  303. package/dist/eval/evalSkills.js.map +1 -1
  304. package/dist/eval/semanticEval.js +43 -19
  305. package/dist/eval/semanticEval.js.map +1 -1
  306. package/dist/eval/semanticFixtures.js +16 -4
  307. package/dist/eval/semanticFixtures.js.map +1 -1
  308. package/dist/hooks/common.js +8 -23
  309. package/dist/hooks/common.js.map +1 -1
  310. package/dist/hooks/compaction/apply.js +269 -0
  311. package/dist/hooks/compaction/apply.js.map +1 -0
  312. package/dist/hooks/compaction/dryRun.js +183 -0
  313. package/dist/hooks/compaction/dryRun.js.map +1 -0
  314. package/dist/hooks/compaction/index.js +23 -0
  315. package/dist/hooks/compaction/index.js.map +1 -0
  316. package/dist/hooks/compaction/parse.js +258 -0
  317. package/dist/hooks/compaction/parse.js.map +1 -0
  318. package/dist/hooks/compaction/retention.js +199 -0
  319. package/dist/hooks/compaction/retention.js.map +1 -0
  320. package/dist/hooks/compaction/status.js +241 -0
  321. package/dist/hooks/compaction/status.js.map +1 -0
  322. package/dist/hooks/compaction/todoResolved.js +137 -0
  323. package/dist/hooks/compaction/todoResolved.js.map +1 -0
  324. package/dist/hooks/compaction/types.js +6 -0
  325. package/dist/hooks/compaction/types.js.map +1 -0
  326. package/dist/hooks/compaction.js +20 -20
  327. package/dist/hooks/compaction.js.map +1 -1
  328. package/dist/hooks/cursorPreToolUse.js +1 -1
  329. package/dist/hooks/cursorPreToolUse.js.map +1 -1
  330. package/dist/hooks/cursorSessionStart.js +10 -2
  331. package/dist/hooks/cursorSessionStart.js.map +1 -1
  332. package/dist/hooks/sessionStart.js +18 -11
  333. package/dist/hooks/sessionStart.js.map +1 -1
  334. package/dist/hooks/sessionStop.js +6 -12
  335. package/dist/hooks/sessionStop.js.map +1 -1
  336. package/dist/hooks/todoLayout.js +177 -0
  337. package/dist/hooks/todoLayout.js.map +1 -0
  338. package/dist/hooks/validateArtifact/agentFacing.js +10 -0
  339. package/dist/hooks/validateArtifact/agentFacing.js.map +1 -0
  340. package/dist/hooks/validateArtifact/index.js +151 -0
  341. package/dist/hooks/validateArtifact/index.js.map +1 -0
  342. package/dist/hooks/validateArtifact/markdown.js +146 -0
  343. package/dist/hooks/validateArtifact/markdown.js.map +1 -0
  344. package/dist/hooks/validateArtifact/runtime.js +86 -0
  345. package/dist/hooks/validateArtifact/runtime.js.map +1 -0
  346. package/dist/hooks/validateArtifact/schema.js +459 -0
  347. package/dist/hooks/validateArtifact/schema.js.map +1 -0
  348. package/dist/hooks/validateArtifact/traversal.js +106 -0
  349. package/dist/hooks/validateArtifact/traversal.js.map +1 -0
  350. package/dist/hooks/validateArtifact/violations.js +105 -0
  351. package/dist/hooks/validateArtifact/violations.js.map +1 -0
  352. package/dist/hooks/validateArtifact.js +29 -40
  353. package/dist/hooks/validateArtifact.js.map +1 -1
  354. package/dist/migrate/v2HandoffManifest.js +447 -0
  355. package/dist/migrate/v2HandoffManifest.js.map +1 -0
  356. package/dist/registries/artifactProtocolIds.js +77 -0
  357. package/dist/registries/artifactProtocolIds.js.map +1 -0
  358. package/dist/registries/artifactRegistry.js +23 -9
  359. package/dist/registries/artifactRegistry.js.map +1 -1
  360. package/dist/registries/capabilityContract.js +144 -1
  361. package/dist/registries/capabilityContract.js.map +1 -1
  362. package/dist/registries/evaluatorHandoffContract.js +2 -2
  363. package/dist/registries/evaluatorHandoffContract.js.map +1 -1
  364. package/dist/registries/packageRegistry.js +4 -3
  365. package/dist/registries/packageRegistry.js.map +1 -1
  366. package/dist/registries/runtimeAdapterRegistry.js +5 -4
  367. package/dist/registries/runtimeAdapterRegistry.js.map +1 -1
  368. package/dist/registries/triggerLoader.js +211 -0
  369. package/dist/registries/triggerLoader.js.map +1 -0
  370. package/dist/release/releaseMetadata.js +235 -0
  371. package/dist/release/releaseMetadata.js.map +1 -0
  372. package/dist/routing/index.js +2 -0
  373. package/dist/routing/index.js.map +1 -0
  374. package/dist/routing/routeEngine.js +189 -0
  375. package/dist/routing/routeEngine.js.map +1 -0
  376. package/dist/setup/codex/agents.js +96 -0
  377. package/dist/setup/codex/agents.js.map +1 -0
  378. package/dist/setup/codex/cli.js +161 -0
  379. package/dist/setup/codex/cli.js.map +1 -0
  380. package/dist/setup/codex/configToml.js +639 -0
  381. package/dist/setup/codex/configToml.js.map +1 -0
  382. package/dist/setup/codex/constants.js +29 -0
  383. package/dist/setup/codex/constants.js.map +1 -0
  384. package/dist/setup/codex/installRoot.js +64 -0
  385. package/dist/setup/codex/installRoot.js.map +1 -0
  386. package/dist/setup/codex/state.js +270 -0
  387. package/dist/setup/codex/state.js.map +1 -0
  388. package/dist/setup/codex.js +11 -1196
  389. package/dist/setup/codex.js.map +1 -1
  390. package/dist/setup/cursor.js +6 -4
  391. package/dist/setup/cursor.js.map +1 -1
  392. package/dist/setup/cursorSurfaces.js +67 -0
  393. package/dist/setup/cursorSurfaces.js.map +1 -0
  394. package/dist/setup/doctor/core.js +300 -0
  395. package/dist/setup/doctor/core.js.map +1 -0
  396. package/dist/setup/doctor/diagnostics.js +240 -0
  397. package/dist/setup/doctor/diagnostics.js.map +1 -0
  398. package/dist/setup/doctor/opencode.js +313 -0
  399. package/dist/setup/doctor/opencode.js.map +1 -0
  400. package/dist/setup/doctor/report.js +425 -0
  401. package/dist/setup/doctor/report.js.map +1 -0
  402. package/dist/setup/doctor.js +9 -1296
  403. package/dist/setup/doctor.js.map +1 -1
  404. package/dist/setup/opencode.js +13 -0
  405. package/dist/setup/opencode.js.map +1 -0
  406. package/dist/setup/smokeChecks.js +11 -11
  407. package/dist/setup/smokeChecks.js.map +1 -1
  408. package/dist/state/installRoot.js +49 -18
  409. package/dist/state/installRoot.js.map +1 -1
  410. package/dist/state/progressCommit.js +289 -0
  411. package/dist/state/progressCommit.js.map +1 -0
  412. package/dist/state/startupAnalysis/benchmark.js +371 -0
  413. package/dist/state/startupAnalysis/benchmark.js.map +1 -0
  414. package/dist/state/startupAnalysis/contract.js +126 -0
  415. package/dist/state/startupAnalysis/contract.js.map +1 -0
  416. package/dist/state/startupAnalysis/helpers.js +287 -0
  417. package/dist/state/startupAnalysis/helpers.js.map +1 -0
  418. package/dist/state/startupAnalysis/index.js +7 -0
  419. package/dist/state/startupAnalysis/index.js.map +1 -0
  420. package/dist/state/startupAnalysis/metrics.js +341 -0
  421. package/dist/state/startupAnalysis/metrics.js.map +1 -0
  422. package/dist/state/startupAnalysis/records.js +199 -0
  423. package/dist/state/startupAnalysis/records.js.map +1 -0
  424. package/dist/state/startupAnalysis/report.js +112 -0
  425. package/dist/state/startupAnalysis/report.js.map +1 -0
  426. package/dist/state/startupAnalysis/threshold.js +500 -0
  427. package/dist/state/startupAnalysis/threshold.js.map +1 -0
  428. package/dist/state/startupAnalysis.js +2 -1952
  429. package/dist/state/startupAnalysis.js.map +1 -1
  430. package/dist/upgrade/appContentRefresh.js +342 -0
  431. package/dist/upgrade/appContentRefresh.js.map +1 -0
  432. package/dist/upgrade/appModel.js +8 -6
  433. package/dist/upgrade/appModel.js.map +1 -1
  434. package/dist/upgrade/bundleEvidence.js +34 -0
  435. package/dist/upgrade/bundleEvidence.js.map +1 -0
  436. package/dist/upgrade/channels.js +11 -4
  437. package/dist/upgrade/channels.js.map +1 -1
  438. package/dist/upgrade/cliProbe.js +22 -0
  439. package/dist/upgrade/cliProbe.js.map +1 -0
  440. package/dist/upgrade/coexistenceProbe.js +107 -0
  441. package/dist/upgrade/coexistenceProbe.js.map +1 -0
  442. package/dist/upgrade/compatibility.js +13 -4
  443. package/dist/upgrade/compatibility.js.map +1 -1
  444. package/dist/upgrade/doctor.js +165 -183
  445. package/dist/upgrade/doctor.js.map +1 -1
  446. package/dist/upgrade/doctorClassifier.js +177 -0
  447. package/dist/upgrade/doctorClassifier.js.map +1 -0
  448. package/dist/upgrade/installedHooksRetirement.js +190 -0
  449. package/dist/upgrade/installedHooksRetirement.js.map +1 -0
  450. package/dist/upgrade/legacyAgentCleanup.js +116 -0
  451. package/dist/upgrade/legacyAgentCleanup.js.map +1 -0
  452. package/dist/upgrade/migrateArtifactsV2ToV3.js +57 -109
  453. package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -1
  454. package/dist/upgrade/nextMajorDoctor.js +42 -7
  455. package/dist/upgrade/nextMajorDoctor.js.map +1 -1
  456. package/dist/upgrade/npxPlatformStatus.js +23 -0
  457. package/dist/upgrade/npxPlatformStatus.js.map +1 -0
  458. package/dist/upgrade/projectIntegration.js +69 -73
  459. package/dist/upgrade/projectIntegration.js.map +1 -1
  460. package/dist/upgrade/projectIntegrationDecision.js +93 -0
  461. package/dist/upgrade/projectIntegrationDecision.js.map +1 -0
  462. package/dist/upgrade/runtimeMigration.js +169 -68
  463. package/dist/upgrade/runtimeMigration.js.map +1 -1
  464. package/dist/upgrade/v3CapabilitySurface.js +15 -0
  465. package/dist/upgrade/v3CapabilitySurface.js.map +1 -0
  466. package/dist/upgrade/versionResolution.js +8 -0
  467. package/dist/upgrade/versionResolution.js.map +1 -1
  468. package/dist/validate/appHomeContract.js +4 -4
  469. package/dist/validate/appHomeContract.js.map +1 -1
  470. package/dist/validate/capability.js +124 -11
  471. package/dist/validate/capability.js.map +1 -1
  472. package/dist/validate/crossCapability.js +1 -1
  473. package/dist/validate/crossCapability.js.map +1 -1
  474. package/dist/validate/lifecycleAdapters/legacyPythonParity.js +93 -0
  475. package/dist/validate/lifecycleAdapters/legacyPythonParity.js.map +1 -0
  476. package/dist/validate/lifecycleAdapters/nodeFormChecks.js +488 -0
  477. package/dist/validate/lifecycleAdapters/nodeFormChecks.js.map +1 -0
  478. package/dist/validate/lifecycleAdapters/shared.js +198 -0
  479. package/dist/validate/lifecycleAdapters/shared.js.map +1 -0
  480. package/dist/validate/lifecycleAdapters.js +13 -723
  481. package/dist/validate/lifecycleAdapters.js.map +1 -1
  482. package/dist/validate/selfAudit.js +62 -20
  483. package/dist/validate/selfAudit.js.map +1 -1
  484. package/dist/validate/vocabularyAuthority.js +303 -0
  485. package/dist/validate/vocabularyAuthority.js.map +1 -0
  486. package/package.json +27 -24
  487. package/bundle/references/v1-section-mapping.md +0 -47
  488. package/bundle/skills/agentera/agents/dokumentera.toml +0 -6
  489. package/bundle/skills/agentera/agents/hej.toml +0 -6
  490. package/bundle/skills/agentera/agents/inspektera.toml +0 -6
  491. package/bundle/skills/agentera/agents/inspirera.toml +0 -6
  492. package/bundle/skills/agentera/agents/orkestrera.toml +0 -6
  493. package/bundle/skills/agentera/agents/profilera.toml +0 -6
  494. package/bundle/skills/agentera/agents/realisera.toml +0 -6
  495. package/bundle/skills/agentera/agents/visionera.toml +0 -6
  496. package/bundle/skills/agentera/agents/visualisera.toml +0 -6
  497. package/bundle/skills/hej/.claude-plugin/plugin.json +0 -6
  498. package/bundle/skills/hej/SKILL.md +0 -69
  499. package/bundle/skills/hej/agents/hej.toml +0 -11
  500. package/bundle/skills/hej/agents/openai.yaml +0 -8
  501. /package/bundle/skills/agentera/capabilities/{inspektera → audit}/schemas/exit.yaml +0 -0
  502. /package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/exit.yaml +0 -0
  503. /package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/exit.yaml +0 -0
  504. /package/bundle/skills/agentera/capabilities/{resonera → discuss}/schemas/exit.yaml +0 -0
  505. /package/bundle/skills/agentera/capabilities/{dokumentera → document}/schemas/exit.yaml +0 -0
  506. /package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/exit.yaml +0 -0
  507. /package/bundle/skills/agentera/capabilities/{orkestrera → orchestrate}/schemas/exit.yaml +0 -0
  508. /package/bundle/skills/agentera/capabilities/{inspirera → research}/schemas/exit.yaml +0 -0
  509. /package/bundle/skills/agentera/capabilities/{hej → status}/schemas/exit.yaml +0 -0
  510. /package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/exit.yaml +0 -0
@@ -0,0 +1,6 @@
1
+ # agentera_managed: true
2
+ name = "orchestrate"
3
+ description = "Multi-cycle orchestration over active plans."
4
+ developer_instructions = """
5
+ You are the Agentera orchestrate capability subagent. You have full file write, file edit, and shell execution tools available — use them to implement code changes, run tests, and commit results. Run `agentera prime --context orchestrate --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
6
+ """
@@ -0,0 +1,6 @@
1
+ # agentera_managed: true
2
+ name = "plan"
3
+ description = "Planning with acceptance criteria."
4
+ developer_instructions = """
5
+ You are the Agentera plan capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts. Run `agentera prime --context plan --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
6
+ """
@@ -0,0 +1,6 @@
1
+ # agentera_managed: true
2
+ name = "profile"
3
+ description = "Decision profiling and preference memory."
4
+ developer_instructions = """
5
+ You are the Agentera profile capability subagent. You have full file write, file edit, and shell execution tools available — use them to implement code changes, run tests, and commit results. Run `agentera prime --context profile --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
6
+ """
@@ -0,0 +1,6 @@
1
+ # agentera_managed: true
2
+ name = "research"
3
+ description = "External pattern research and synthesis."
4
+ developer_instructions = """
5
+ You are the Agentera research capability subagent. You are a read-only agent — do not write files or execute shell commands. Run `agentera prime --context research --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
6
+ """
@@ -0,0 +1,6 @@
1
+ # agentera_managed: true
2
+ name = "status"
3
+ description = "Agentera orientation and routing dashboard."
4
+ developer_instructions = """
5
+ You are the Agentera status capability subagent. You are a read-only agent — do not write files or execute shell commands. Run `agentera prime --context status --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
6
+ """
@@ -0,0 +1,6 @@
1
+ # agentera_managed: true
2
+ name = "vision"
3
+ description = "Define and refine project direction."
4
+ developer_instructions = """
5
+ You are the Agentera vision capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts. Run `agentera prime --context vision --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
6
+ """
@@ -5,16 +5,16 @@ ARTIFACTS:
5
5
  local_role: produces_and_consumes
6
6
  description: >-
7
7
  Codebase health assessment with findings, dimension grades, and trajectory.
8
- Inspektera writes audit entries with per-dimension grades, findings with
8
+ Audit writes audit entries with per-dimension grades, findings with
9
9
  severity and confidence scores, trend comparisons, and de facto
10
- architecture patterns. During evaluation startup, Inspektera consumes health
10
+ architecture patterns. During evaluation startup, Audit consumes health
11
11
  state through CLI `evidence_context` before raw health artifact fallback.
12
12
  2:
13
13
  id: A2
14
14
  artifact_id: vision
15
15
  local_role: consumes
16
16
  description: >-
17
- Inspektera treats vision state as protected during evidence-context startup;
17
+ Audit treats vision state as protected during evidence-context startup;
18
18
  missing or not-checked vision caveats from CLI `evidence_context` are preserved
19
19
  instead of forcing a raw vision read.
20
20
  3:
@@ -22,7 +22,7 @@ ARTIFACTS:
22
22
  artifact_id: decisions
23
23
  local_role: consumes
24
24
  description: >-
25
- Inspektera consumes decision caveats through CLI `evidence_context` and the
25
+ Audit consumes decision caveats through CLI `evidence_context` and the
26
26
  listed `agentera decisions --format json` fallback before raw decisions artifact fallback.
27
27
  Compacted decision caveats must be preserved rather than reconstructed.
28
28
  4:
@@ -30,7 +30,7 @@ ARTIFACTS:
30
30
  artifact_id: todo
31
31
  local_role: produces_and_consumes
32
32
  description: >-
33
- Inspektera reads this to avoid re-reporting known issues and writes to it
33
+ Audit reads this to avoid re-reporting known issues and writes to it
34
34
  with user confirmation when filing
35
35
  critical and warning findings. During evaluation startup, known TODO state is
36
36
  consumed through CLI `evidence_context` before raw TODO artifact fallback.
@@ -39,14 +39,14 @@ ARTIFACTS:
39
39
  artifact_id: progress
40
40
  local_role: consumes
41
41
  description: >-
42
- Inspektera consumes latest progress verification and progress caveats through
42
+ Audit consumes latest progress verification and progress caveats through
43
43
  CLI `evidence_context` before raw progress artifact fallback.
44
44
  6:
45
45
  id: A6
46
46
  artifact_id: plan
47
47
  local_role: consumes
48
48
  description: >-
49
- Inspektera consumes evaluation target and plan criteria through CLI
49
+ Audit consumes evaluation target and plan criteria through CLI
50
50
  `evidence_context` before raw plan artifact fallback. The plan's Created date
51
51
  still provides the artifact-current-state baseline when that state is needed.
52
52
  7:
@@ -54,7 +54,7 @@ ARTIFACTS:
54
54
  artifact_id: design
55
55
  local_role: consumes
56
56
  description: >-
57
- Inspektera treats design state as optional during evidence-context startup;
57
+ Audit treats design state as optional during evidence-context startup;
58
58
  missing design caveats from CLI `evidence_context` are preserved before any raw
59
59
  design artifact fallback.
60
60
  8:
@@ -62,7 +62,7 @@ ARTIFACTS:
62
62
  artifact_id: docs
63
63
  local_role: consumes
64
64
  description: >-
65
- Inspektera reads this first to resolve project-local artifact mappings
65
+ Audit reads this first to resolve project-local artifact mappings
66
66
  and checks the versioning convention for the version health dimension. During
67
67
  evaluation startup, docs state and version-boundary caveats are consumed through
68
68
  CLI `evidence_context` before raw docs artifact fallback.
@@ -71,6 +71,6 @@ ARTIFACTS:
71
71
  artifact_id: profile
72
72
  local_role: consumes
73
73
  description: >-
74
- Inspektera consumes profile status and stale-profile caveats through CLI
74
+ Audit consumes profile status and stale-profile caveats through CLI
75
75
  `evidence_context`; stale or missing profile state is preserved as a caveat and
76
76
  is not approval to refresh profile state or read profile directly during startup.
@@ -3,11 +3,15 @@ TRIGGERS:
3
3
  id: T1
4
4
  description: >-
5
5
  Direct invocation by name or slash command. Matches when the user
6
- explicitly requests inspektera.
6
+ explicitly requests audit.
7
7
  priority: high
8
8
  patterns:
9
- - "inspektera"
10
- - "/inspektera"
9
+ - "audit"
10
+ - "/audit"
11
+ confidence_threshold: 60
12
+ borderline_band: 10
13
+ patterns_regex:
14
+ - "\\b/audit\\b"
11
15
  2:
12
16
  id: T2
13
17
  description: >-
@@ -26,13 +30,18 @@ TRIGGERS:
26
30
  - "pattern audit"
27
31
  - "dependency check"
28
32
  - "test coverage audit"
33
+ confidence_threshold: 55
29
34
  3:
30
35
  id: T3
31
36
  description: >-
32
- Implicit trigger after extended realisera activity. Matches when
33
- realisera has run 5+ cycles without a health check and the system
37
+ Implicit trigger after extended build activity. Matches when
38
+ build has run 5+ cycles without a health check and the system
34
39
  detects an overdue audit.
35
40
  priority: medium
36
41
  patterns:
37
42
  - "health check overdue"
38
- - "audit after realisera"
43
+ - "audit after build"
44
+ confidence_threshold: 50
45
+ disambiguates_against:
46
+ - capability: build
47
+ hint: "audit checks codebase health after build activity; build continues development"
@@ -3,8 +3,8 @@ VALIDATION:
3
3
  id: V1
4
4
  rule: read_only_codebase
5
5
  description: >-
6
- Inspektera MUST NOT modify any source code files. It is a read-only
7
- assessment capability. Other capabilities fix what inspektera finds.
6
+ Audit MUST NOT modify any source code files. It is a read-only
7
+ assessment capability. Other capabilities fix what audit finds.
8
8
  severity: critical
9
9
  checks:
10
10
  - "No source code files are modified during audit"
@@ -53,8 +53,8 @@ VALIDATION:
53
53
  id: V6
54
54
  rule: exit_marker_required
55
55
  description: >-
56
- Every inspektera invocation MUST emit an exit marker. The marker uses
57
- the canonical glyph ⛶ (SG3) in the format ⛶ inspektera · <status>
56
+ Every audit invocation MUST emit an exit marker. The marker uses
57
+ the canonical glyph ⛶ (SG3) in the format ⛶ audit · <status>
58
58
  where status is one of EX1-EX4.
59
59
  severity: critical
60
60
  checks:
@@ -65,8 +65,8 @@ VALIDATION:
65
65
  id: V7
66
66
  rule: evidence_context_first
67
67
  description: >-
68
- Inspektera evaluation startup MUST begin with `agentera prime --context
69
- inspektera --format json` and use complete CLI `evidence_context` before
68
+ Audit evaluation startup MUST begin with `agentera prime --context
69
+ audit --format json` and use complete CLI `evidence_context` before
70
70
  raw plan, progress, docs, health, TODO, or decisions artifacts.
71
71
  severity: critical
72
72
  checks:
@@ -77,7 +77,7 @@ VALIDATION:
77
77
  rule: evidence_context_fallback_before_raw
78
78
  description: >-
79
79
  When evidence_context is absent, incomplete, or caveated for needed state,
80
- Inspektera MUST run listed existing CLI fallback commands before any last-resort
80
+ Audit MUST run listed existing CLI fallback commands before any last-resort
81
81
  raw artifact read.
82
82
  severity: critical
83
83
  checks:
@@ -88,7 +88,7 @@ VALIDATION:
88
88
  id: V9
89
89
  rule: evidence_context_caveats_preserved
90
90
  description: >-
91
- Inspektera reports MUST preserve evidence_context caveats for stale app/profile
91
+ Audit reports MUST preserve evidence_context caveats for stale app/profile
92
92
  state, compacted decisions, protected-state boundaries, unavailable version or
93
93
  publication evidence, manual-check states, and residual risks instead of hiding,
94
94
  flattening, or reconstructing them.
@@ -101,7 +101,7 @@ VALIDATION:
101
101
  id: V10
102
102
  rule: satisfaction_authority_boundary
103
103
  description: >-
104
- When Inspektera touches decision satisfaction, it may report provisional
104
+ When Audit touches decision satisfaction, it may report provisional
105
105
  satisfaction with evidence but MUST NOT user-confirm satisfaction. Missing,
106
106
  compacted, open, provisional, or review-needed satisfaction state remains a
107
107
  caveat and review pressure; automation must not reconstruct hidden outcomes
@@ -4,7 +4,7 @@ ARTIFACTS:
4
4
  artifact_id: vision
5
5
  local_role: produces_and_consumes
6
6
  description: >-
7
- Realisera consumes this through CLI execution_context caveats or explicit
7
+ Build consumes this through CLI execution_context caveats or explicit
8
8
  fallback state when available, and never modifies it during cycles. Created
9
9
  during brainstorm (bootstrap or user-requested refinement).
10
10
  2:
@@ -12,7 +12,7 @@ ARTIFACTS:
12
12
  artifact_id: todo
13
13
  local_role: produces_and_consumes
14
14
  description: >-
15
- Realisera consumes TODO state from execution_context and included hej state
15
+ Build consumes TODO state from execution_context and included status state
16
16
  before direct reads, then writes newly discovered issues and resolved
17
17
  entries. Severity classified per protocol SI1-SI4.
18
18
  3:
@@ -20,7 +20,7 @@ ARTIFACTS:
20
20
  artifact_id: changelog
21
21
  local_role: produces_and_consumes
22
22
  description: >-
23
- Realisera consumes changelog boundary from execution_context or the listed
23
+ Build consumes changelog boundary from execution_context or the listed
24
24
  CLI fallback before direct reads. It appends public change entries under
25
25
  [Unreleased] based on commit type and promotes on version bumps.
26
26
  4:
@@ -28,7 +28,7 @@ ARTIFACTS:
28
28
  artifact_id: progress
29
29
  local_role: produces_and_consumes
30
30
  description: >-
31
- Operational cycle log. Realisera consumes latest progress evidence from
31
+ Operational cycle log. Build consumes latest progress evidence from
32
32
  execution_context first, then appends one entry per cycle with mandatory
33
33
  Verified field. Compacted by applying schema COMPACTION rules.
34
34
  5:
@@ -36,7 +36,7 @@ ARTIFACTS:
36
36
  artifact_id: health
37
37
  local_role: consumes
38
38
  description: >-
39
- Realisera consumes health state from execution_context and included hej
39
+ Build consumes health state from execution_context and included status
40
40
  state before direct reads, focusing on critical and degraded findings for
41
41
  work selection.
42
42
  6:
@@ -44,7 +44,7 @@ ARTIFACTS:
44
44
  artifact_id: decisions
45
45
  local_role: consumes
46
46
  description: >-
47
- Realisera consumes decision caveats and fallback commands from
47
+ Build consumes decision caveats and fallback commands from
48
48
  execution_context first. Firm (DL1) entries are constraints and exploratory
49
49
  (DL3) entries are uncertain foundations during work selection.
50
50
  7:
@@ -52,7 +52,7 @@ ARTIFACTS:
52
52
  artifact_id: plan
53
53
  local_role: produces_and_consumes
54
54
  description: >-
55
- Realisera consumes selected task, acceptance criteria, dependencies,
55
+ Build consumes selected task, acceptance criteria, dependencies,
56
56
  constraints, and source contract metadata from CLI execution_context before
57
57
  direct plan reads, then updates task status and surprises during execution.
58
58
  8:
@@ -60,7 +60,7 @@ ARTIFACTS:
60
60
  artifact_id: profile
61
61
  local_role: consumes
62
62
  description: >-
63
- Realisera consumes hej profile summary first. Missing or stale profile state
63
+ Build consumes status profile summary first. Missing or stale profile state
64
64
  is a caveat and does not authorize profile refresh or direct profile reads
65
65
  during normal startup.
66
66
  9:
@@ -68,13 +68,13 @@ ARTIFACTS:
68
68
  artifact_id: docs
69
69
  local_role: consumes
70
70
  description: >-
71
- Realisera consumes artifact mappings and docs caveats from execution_context
72
- and included hej docs state before direct docs reads.
71
+ Build consumes artifact mappings and docs caveats from execution_context
72
+ and included status docs state before direct docs reads.
73
73
  10:
74
74
  id: A10
75
75
  artifact_id: design
76
76
  local_role: consumes
77
77
  description: >-
78
- Realisera treats design state missing from execution_context as a caveat or
78
+ Build treats design state missing from execution_context as a caveat or
79
79
  fallback-only need, and reads it only when building user-facing features
80
80
  after listed CLI fallbacks are exhausted.
@@ -3,11 +3,13 @@ TRIGGERS:
3
3
  id: T1
4
4
  description: >-
5
5
  Direct invocation by name or slash command. Matches when the user
6
- explicitly requests realisera for autonomous development.
6
+ explicitly requests build for autonomous development.
7
7
  priority: high
8
8
  patterns:
9
- - "realisera"
10
- - "/realisera"
9
+ - "build"
10
+ - "/build"
11
+ confidence_threshold: 60
12
+ borderline_band: 10
11
13
  2:
12
14
  id: T2
13
15
  description: >-
@@ -19,6 +21,7 @@ TRIGGERS:
19
21
  - "evolve the project"
20
22
  - "develop autonomously"
21
23
  - "build the next feature"
24
+ confidence_threshold: 50
22
25
  3:
23
26
  id: T3
24
27
  description: >-
@@ -29,6 +32,7 @@ TRIGGERS:
29
32
  - "keep building"
30
33
  - "start building"
31
34
  - "work on the project"
35
+ confidence_threshold: 50
32
36
  4:
33
37
  id: T4
34
38
  description: >-
@@ -37,3 +41,9 @@ TRIGGERS:
37
41
  priority: medium
38
42
  patterns:
39
43
  - "refine the vision"
44
+ confidence_threshold: 50
45
+ disambiguates_against:
46
+ - capability: vision
47
+ hint: "build implements code after vision work; vision defines direction"
48
+ patterns_regex:
49
+ - "\\brefine\\s+the\\s+vision\\b"
@@ -14,7 +14,7 @@ VALIDATION:
14
14
  id: V2
15
15
  rule: one_cycle_per_invocation
16
16
  description: >-
17
- Realisera executes exactly one cycle per invocation. After logging (Step 9),
17
+ Build executes exactly one cycle per invocation. After logging (Step 9),
18
18
  the capability MUST stop. Multiple cycles require separate invocations or
19
19
  /loop.
20
20
  severity: critical
@@ -24,7 +24,7 @@ VALIDATION:
24
24
  id: V3
25
25
  rule: no_remote_push
26
26
  description: >-
27
- Realisera MUST NEVER push to any remote repository. All commits are local
27
+ Build MUST NEVER push to any remote repository. All commits are local
28
28
  only. Remote operations require explicit user instruction outside this
29
29
  capability.
30
30
  severity: critical
@@ -43,7 +43,7 @@ VALIDATION:
43
43
  id: V5
44
44
  rule: consecutive_failure_guard
45
45
  description: >-
46
- If the last 3 PROGRESS.md entries all record failed cycles, realisera
46
+ If the last 3 PROGRESS.md entries all record failed cycles, build
47
47
  MUST stop and surface the pattern to the user. Do not attempt a 4th
48
48
  consecutive cycle on the same failing problem.
49
49
  severity: critical
@@ -64,7 +64,7 @@ VALIDATION:
64
64
  id: V7
65
65
  rule: execution_context_first
66
66
  description: >-
67
- Realisera startup SHOULD begin from `agentera prime --context realisera
67
+ Build startup SHOULD begin from `agentera prime --context build
68
68
  --format json` and consume complete execution_context
69
69
  state before direct reads of plan, progress, TODO, docs, health,
70
70
  decisions, changelog, vision, profile, or design artifacts.
@@ -76,7 +76,7 @@ VALIDATION:
76
76
  id: V8
77
77
  rule: fallback_before_raw
78
78
  description: >-
79
- When execution_context is incomplete or caveated, Realisera MUST run listed
79
+ When execution_context is incomplete or caveated, Build MUST run listed
80
80
  CLI fallback commands before any last-resort raw artifact diagnostic and
81
81
  MUST preserve caveats in cycle reporting.
82
82
  severity: critical
@@ -93,12 +93,12 @@ VALIDATION:
93
93
  severity: critical
94
94
  checks:
95
95
  - "No protected state mutation during context generation"
96
- - "No unsupported `agentera realisera` or `agentera build` command introduced"
96
+ - "No unsupported `agentera build` or `agentera build` command introduced"
97
97
  10:
98
98
  id: V10
99
99
  rule: satisfaction_authority_boundary
100
100
  description: >-
101
- When Realisera touches decision satisfaction, it may mark provisional
101
+ When Build touches decision satisfaction, it may mark provisional
102
102
  satisfaction with evidence but MUST NOT user-confirm satisfaction. Missing,
103
103
  compacted, open, provisional, or review-needed satisfaction state remains a
104
104
  caveat and review pressure; automation must not reconstruct hidden outcomes
@@ -5,40 +5,40 @@ ARTIFACTS:
5
5
  local_role: produces_and_consumes
6
6
  description: >-
7
7
  Visual identity system with design tokens, typography, colors,
8
- spacing, constraints, and component contracts. Visualisera writes and
8
+ spacing, constraints, and component contracts. Design writes and
9
9
  reads agent-readable YAML token blocks with HTML comment markers.
10
10
  2:
11
11
  id: A2
12
12
  artifact_id: vision
13
13
  local_role: consumes
14
14
  description: >-
15
- Visualisera reads the Identity section to propose visual tokens
15
+ Design reads the Identity section to propose visual tokens
16
16
  coherent with the declared verbal personality.
17
17
  3:
18
18
  id: A3
19
19
  artifact_id: progress
20
20
  local_role: consumes
21
21
  description: >-
22
- Visualisera reads this during refine mode to identify UI work and
22
+ Design reads this during refine mode to identify UI work and
23
23
  inline design decisions since the design system was written.
24
24
  4:
25
25
  id: A4
26
26
  artifact_id: todo
27
27
  local_role: produces_and_consumes
28
28
  description: >-
29
- Visualisera reads this to check for design-related issues and files
29
+ Design reads this to check for design-related issues and files
30
30
  code drift findings here during audit mode.
31
31
  5:
32
32
  id: A5
33
33
  artifact_id: docs
34
34
  local_role: consumes
35
35
  description: >-
36
- Visualisera reads this first to resolve project-local artifact mappings
36
+ Design reads this first to resolve project-local artifact mappings
37
37
  before accessing other artifacts.
38
38
  6:
39
39
  id: A6
40
40
  artifact_id: profile
41
41
  local_role: consumes
42
42
  description: >-
43
- Visualisera reads aesthetic preferences from the profile as defaults
43
+ Design reads aesthetic preferences from the profile as defaults
44
44
  during the create conversation.
@@ -3,11 +3,15 @@ TRIGGERS:
3
3
  id: T1
4
4
  description: >-
5
5
  Direct invocation by name or slash command. Matches when the user
6
- explicitly requests visualisera.
6
+ explicitly requests design.
7
7
  priority: high
8
8
  patterns:
9
- - "visualisera"
10
- - "/visualisera"
9
+ - "design"
10
+ - "/design"
11
+ confidence_threshold: 60
12
+ borderline_band: 10
13
+ patterns_regex:
14
+ - "\\b/design\\b"
11
15
  2:
12
16
  id: T2
13
17
  description: >-
@@ -21,6 +25,7 @@ TRIGGERS:
21
25
  - "visual identity"
22
26
  - "define the aesthetic"
23
27
  - "set up design system"
28
+ confidence_threshold: 50
24
29
  3:
25
30
  id: T3
26
31
  description: >-
@@ -31,3 +36,10 @@ TRIGGERS:
31
36
  - "audit design"
32
37
  - "refine design system"
33
38
  - "update DESIGN.md"
39
+ confidence_threshold: 50
40
+ disambiguates_against:
41
+ - capability: audit
42
+ hint: "design here is about visual identity, not codebase auditing"
43
+ patterns_regex:
44
+ - "\\baudit\\s+design\\b"
45
+ - "update\\s+DESIGN\\.md"
@@ -50,12 +50,12 @@ VALIDATION:
50
50
  id: V5
51
51
  rule: no_code_modification
52
52
  description: >-
53
- Visualisera MUST NOT modify code files. It writes DESIGN.md only.
54
- Realisera implements the design system in code. The separation
53
+ Design MUST NOT modify code files. It writes DESIGN.md only.
54
+ Build implements the design system in code. The separation
55
55
  of declaration and implementation is fundamental.
56
56
  severity: critical
57
57
  checks:
58
- - "No code files modified during visualisera invocation"
58
+ - "No code files modified during design invocation"
59
59
  6:
60
60
  id: V6
61
61
  rule: codebase_exploration_required
@@ -70,8 +70,8 @@ VALIDATION:
70
70
  id: V7
71
71
  rule: exit_marker_required
72
72
  description: >-
73
- Every visualisera invocation MUST emit an exit marker using the
74
- canonical glyph ◰ (SG11) in the format ◰ visualisera · <status>
73
+ Every design invocation MUST emit an exit marker using the
74
+ canonical glyph ◰ (SG11) in the format ◰ design · <status>
75
75
  where status is one of EX1-EX4.
76
76
  severity: critical
77
77
  checks:
@@ -4,7 +4,7 @@ ARTIFACTS:
4
4
  artifact_id: decisions
5
5
  local_role: produces_and_consumes
6
6
  description: >-
7
- Reasoning trail with confidence labels. Resonera reads existing decisions
7
+ Reasoning trail with confidence labels. Discuss reads existing decisions
8
8
  through `agentera decisions --format json` and its source_contract to avoid
9
9
  re-deliberation, and writes new decision entries with confidence (DL1
10
10
  firm, DL2 provisional, DL3 exploratory). Compact older entries by applying
@@ -15,7 +15,7 @@ ARTIFACTS:
15
15
  artifact_id: vision
16
16
  local_role: produces_and_consumes
17
17
  description: >-
18
- Resonera may update project direction only with explicit user
18
+ Discuss may update project direction only with explicit user
19
19
  confirmation when a decision feeds into project direction. Read for
20
20
  context during deliberation.
21
21
  3:
@@ -23,25 +23,25 @@ ARTIFACTS:
23
23
  artifact_id: todo
24
24
  local_role: produces_and_consumes
25
25
  description: >-
26
- Resonera may add tech debt items surfaced during deliberation only with
26
+ Discuss may add tech debt items surfaced during deliberation only with
27
27
  explicit user confirmation. Severity per protocol SI1-SI4.
28
28
  4:
29
29
  id: A4
30
30
  artifact_id: objective
31
31
  local_role: produces_and_consumes
32
32
  description: >-
33
- Resonera may write optimization decisions only with explicit user
33
+ Discuss may write optimization decisions only with explicit user
34
34
  confirmation when a decision feeds into what to optimize.
35
35
  5:
36
36
  id: A5
37
37
  artifact_id: profile
38
38
  local_role: consumes
39
39
  description: >-
40
- Resonera reads this at session start to acknowledge high-confidence
40
+ Discuss reads this at session start to acknowledge high-confidence
41
41
  entries and avoid re-deliberating settled ground.
42
42
  6:
43
43
  id: A6
44
44
  artifact_id: docs
45
45
  local_role: consumes
46
46
  description: >-
47
- Resonera reads this first to resolve project-local artifact mappings.
47
+ Discuss reads this first to resolve project-local artifact mappings.
@@ -3,11 +3,13 @@ TRIGGERS:
3
3
  id: T1
4
4
  description: >-
5
5
  Direct invocation by name or slash command. Matches when the user
6
- explicitly requests resonera for structured deliberation.
6
+ explicitly requests discuss for structured deliberation.
7
7
  priority: high
8
8
  patterns:
9
- - "resonera"
10
- - "/resonera"
9
+ - "discuss"
10
+ - "/discuss"
11
+ confidence_threshold: 60
12
+ borderline_band: 10
11
13
  2:
12
14
  id: T2
13
15
  description: >-
@@ -23,6 +25,7 @@ TRIGGERS:
23
25
  - "what are the tradeoffs"
24
26
  - "brainstorm"
25
27
  - "rubber duck"
28
+ confidence_threshold: 50
26
29
  3:
27
30
  id: T3
28
31
  description: >-
@@ -34,6 +37,7 @@ TRIGGERS:
34
37
  - "I'm torn between"
35
38
  - "what's the right approach"
36
39
  - "let's reason about"
40
+ confidence_threshold: 50
37
41
  4:
38
42
  id: T4
39
43
  description: >-
@@ -44,3 +48,7 @@ TRIGGERS:
44
48
  - "scope this out"
45
49
  - "before I build this"
46
50
  - "talk me through"
51
+ confidence_threshold: 50
52
+ disambiguates_against:
53
+ - capability: plan
54
+ hint: "discuss explores options before committing; plan structures committed work"
@@ -3,7 +3,7 @@ VALIDATION:
3
3
  id: V1
4
4
  rule: one_question_per_turn
5
5
  description: >-
6
- Resonera MUST ask exactly one question per turn. Compound questions
6
+ Discuss MUST ask exactly one question per turn. Compound questions
7
7
  are not allowed. Every question MUST include a Done option.
8
8
  severity: critical
9
9
  checks:
@@ -13,7 +13,7 @@ VALIDATION:
13
13
  id: V2
14
14
  rule: user_approval_for_artifact_writes
15
15
  description: >-
16
- Resonera MUST NOT modify VISION.md, OBJECTIVE.md, or TODO.md without
16
+ Discuss MUST NOT modify VISION.md, OBJECTIVE.md, or TODO.md without
17
17
  explicit user confirmation. Present drafts and get approval.
18
18
  severity: critical
19
19
  checks:
@@ -43,7 +43,7 @@ VALIDATION:
43
43
  id: V5
44
44
  rule: no_implementation
45
45
  description: >-
46
- Resonera MUST NOT skip to implementation. It deliberates; other
46
+ Discuss MUST NOT skip to implementation. It deliberates; other
47
47
  capabilities build. If the user wants to build, route to the
48
48
  appropriate capability.
49
49
  severity: critical
@@ -64,7 +64,7 @@ VALIDATION:
64
64
  id: V7
65
65
  rule: satisfaction_authority_boundary
66
66
  description: >-
67
- When Resonera touches decision satisfaction, it may capture provisional
67
+ When Discuss touches decision satisfaction, it may capture provisional
68
68
  satisfaction with evidence but MUST NOT user-confirm satisfaction unless the
69
69
  user explicitly confirms it. Missing, compacted, open, provisional, or
70
70
  review-needed satisfaction state remains a caveat and review pressure;