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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (376) hide show
  1. package/README.md +18 -22
  2. package/bundle/CHANGELOG.md +25 -27
  3. package/bundle/README.md +22 -42
  4. package/bundle/UPGRADE.md +71 -179
  5. package/bundle/references/adapters/package-manifest-interface-model.yaml +41 -240
  6. package/bundle/references/adapters/package-registry.yaml +9 -145
  7. package/bundle/references/adapters/package-surface-characterization.md +13 -38
  8. package/bundle/references/adapters/runtime-lifecycle-adapters.yaml +5 -219
  9. package/bundle/references/adapters/runtime-lifecycle-authority.yaml +2 -29
  10. package/bundle/references/adapters/runtime-lifecycle-operation-contract.yaml +1 -1
  11. package/bundle/references/artifacts/state-storage-authority.yaml +729 -412
  12. package/bundle/references/cli/agent-ready-state-contract.yaml +12 -12
  13. package/bundle/references/cli/app-lifecycle-vocabulary.yaml +3 -4
  14. package/bundle/references/cli/bundle-skill-vocabulary.yaml +9 -18
  15. package/bundle/references/cli/capability-tool-classification.yaml +2 -2
  16. package/bundle/references/cli/prime-consumer-compatibility.yaml +28 -98
  17. package/bundle/references/cli/routing-execution-vocabulary.yaml +4 -22
  18. package/bundle/references/cli/update-channels.yaml +4 -2
  19. package/bundle/references/cli/upgrade-repair-wording.md +8 -28
  20. package/bundle/references/cli/v3-handoff-manifest.schema.yaml +2 -3
  21. package/bundle/references/cli/vocabulary.md +22 -27
  22. package/bundle/references/meta/documentation-inventory.md +1 -1
  23. package/bundle/skills/agentera/SKILL.md +28 -14
  24. package/bundle/skills/agentera/capabilities/audit/schemas/artifacts.yaml +12 -12
  25. package/bundle/skills/agentera/capabilities/audit/schemas/validation.yaml +2 -2
  26. package/bundle/skills/agentera/capabilities/build/schemas/artifacts.yaml +12 -12
  27. package/bundle/skills/agentera/capabilities/build/schemas/validation.yaml +8 -8
  28. package/bundle/skills/agentera/capabilities/design/schemas/artifacts.yaml +6 -6
  29. package/bundle/skills/agentera/capabilities/discuss/schemas/artifacts.yaml +7 -7
  30. package/bundle/skills/agentera/capabilities/document/schemas/artifacts.yaml +12 -12
  31. package/bundle/skills/agentera/capabilities/optimize/schemas/artifacts.yaml +9 -9
  32. package/bundle/skills/agentera/capabilities/orchestrate/schemas/artifacts.yaml +11 -11
  33. package/bundle/skills/agentera/capabilities/plan/schemas/artifacts.yaml +9 -9
  34. package/bundle/skills/agentera/capabilities/profile/schemas/artifacts.yaml +2 -2
  35. package/bundle/skills/agentera/capabilities/research/schemas/artifacts.yaml +3 -3
  36. package/bundle/skills/agentera/capabilities/status/schemas/artifacts.yaml +11 -11
  37. package/bundle/skills/agentera/capabilities/vision/schemas/artifacts.yaml +8 -8
  38. package/bundle/skills/agentera/schemas/artifacts/decisions.yaml +15 -2
  39. package/bundle/skills/agentera/schemas/artifacts/docs.yaml +7 -12
  40. package/bundle/skills/agentera/schemas/artifacts/experiments.yaml +21 -21
  41. package/bundle/skills/agentera/schemas/artifacts/health.yaml +15 -2
  42. package/bundle/skills/agentera/schemas/artifacts/plan.yaml +36 -15
  43. package/bundle/skills/agentera/schemas/artifacts/progress.yaml +15 -2
  44. package/bundle/skills/agentera/schemas/artifacts/todo.yaml +4 -4
  45. package/dist/capabilities/audit/instructions.js +13 -1
  46. package/dist/capabilities/audit/instructions.js.map +1 -1
  47. package/dist/capabilities/build/instructions.js +14 -1
  48. package/dist/capabilities/build/instructions.js.map +1 -1
  49. package/dist/capabilities/discuss/instructions.js +11 -1
  50. package/dist/capabilities/discuss/instructions.js.map +1 -1
  51. package/dist/capabilities/document/instructions.js +9 -1
  52. package/dist/capabilities/document/instructions.js.map +1 -1
  53. package/dist/capabilities/index.js +7 -7
  54. package/dist/capabilities/index.js.map +1 -1
  55. package/dist/capabilities/optimize/instructions.js +10 -1
  56. package/dist/capabilities/optimize/instructions.js.map +1 -1
  57. package/dist/capabilities/orchestrate/instructions.js +13 -2
  58. package/dist/capabilities/orchestrate/instructions.js.map +1 -1
  59. package/dist/capabilities/plan/instructions.js +10 -1
  60. package/dist/capabilities/plan/instructions.js.map +1 -1
  61. package/dist/cli/capabilityContext/bespoke.js +8 -2
  62. package/dist/cli/capabilityContext/bespoke.js.map +1 -1
  63. package/dist/cli/capabilityContext/closeout.js +3 -3
  64. package/dist/cli/capabilityContext/closeout.js.map +1 -1
  65. package/dist/cli/capabilityContext/contract.js +10 -15
  66. package/dist/cli/capabilityContext/contract.js.map +1 -1
  67. package/dist/cli/capabilityContext/evidence.js +55 -43
  68. package/dist/cli/capabilityContext/evidence.js.map +1 -1
  69. package/dist/cli/capabilityContext/planState.js +5 -5
  70. package/dist/cli/capabilityContext/planState.js.map +1 -1
  71. package/dist/cli/capabilityContext/progress.js +1 -1
  72. package/dist/cli/capabilityContext/progress.js.map +1 -1
  73. package/dist/cli/capabilityContext/shared.js +8 -2
  74. package/dist/cli/capabilityContext/shared.js.map +1 -1
  75. package/dist/cli/capabilityContext/slim.js +2 -1
  76. package/dist/cli/capabilityContext/slim.js.map +1 -1
  77. package/dist/cli/capabilityContext/startup.js +19 -8
  78. package/dist/cli/capabilityContext/startup.js.map +1 -1
  79. package/dist/cli/capabilityContext/types.js +4 -4
  80. package/dist/cli/capabilityContext/types.js.map +1 -1
  81. package/dist/cli/commands/doctor.js +6 -64
  82. package/dist/cli/commands/doctor.js.map +1 -1
  83. package/dist/cli/commands/durability.js +27 -30
  84. package/dist/cli/commands/durability.js.map +1 -1
  85. package/dist/cli/commands/entityMigrate.js +128 -0
  86. package/dist/cli/commands/entityMigrate.js.map +1 -0
  87. package/dist/cli/commands/prime/briefOrientation.js +7 -22
  88. package/dist/cli/commands/prime/briefOrientation.js.map +1 -1
  89. package/dist/cli/commands/prime/bundleStatus.js +8 -2
  90. package/dist/cli/commands/prime/bundleStatus.js.map +1 -1
  91. package/dist/cli/commands/prime/collectEntityOrientation.js +161 -0
  92. package/dist/cli/commands/prime/collectEntityOrientation.js.map +1 -0
  93. package/dist/cli/commands/prime/collectOrientationState.js +32 -59
  94. package/dist/cli/commands/prime/collectOrientationState.js.map +1 -1
  95. package/dist/cli/commands/prime/orientationOutput.js +4 -12
  96. package/dist/cli/commands/prime/orientationOutput.js.map +1 -1
  97. package/dist/cli/commands/prime.js +2 -5
  98. package/dist/cli/commands/prime.js.map +1 -1
  99. package/dist/cli/commands/query.js +43 -49
  100. package/dist/cli/commands/query.js.map +1 -1
  101. package/dist/cli/commands/schema.js +26 -83
  102. package/dist/cli/commands/schema.js.map +1 -1
  103. package/dist/cli/commands/state/decisions.js +14 -47
  104. package/dist/cli/commands/state/decisions.js.map +1 -1
  105. package/dist/cli/commands/state/docs.js +58 -84
  106. package/dist/cli/commands/state/docs.js.map +1 -1
  107. package/dist/cli/commands/state/experimentRecords.js +27 -44
  108. package/dist/cli/commands/state/experimentRecords.js.map +1 -1
  109. package/dist/cli/commands/state/experiments.js +11 -64
  110. package/dist/cli/commands/state/experiments.js.map +1 -1
  111. package/dist/cli/commands/state/get.js +74 -88
  112. package/dist/cli/commands/state/get.js.map +1 -1
  113. package/dist/cli/commands/state/health.js +11 -112
  114. package/dist/cli/commands/state/health.js.map +1 -1
  115. package/dist/cli/commands/state/index.js +11 -2
  116. package/dist/cli/commands/state/index.js.map +1 -1
  117. package/dist/cli/commands/state/list.js +30 -13
  118. package/dist/cli/commands/state/list.js.map +1 -1
  119. package/dist/cli/commands/state/objective.js +21 -64
  120. package/dist/cli/commands/state/objective.js.map +1 -1
  121. package/dist/cli/commands/state/plan.js +11 -376
  122. package/dist/cli/commands/state/plan.js.map +1 -1
  123. package/dist/cli/commands/state/planTasks.js +58 -80
  124. package/dist/cli/commands/state/planTasks.js.map +1 -1
  125. package/dist/cli/commands/state/plans.js +27 -38
  126. package/dist/cli/commands/state/plans.js.map +1 -1
  127. package/dist/cli/commands/state/progress.js +11 -44
  128. package/dist/cli/commands/state/progress.js.map +1 -1
  129. package/dist/cli/commands/state/shared.js.map +1 -1
  130. package/dist/cli/commands/state/todo.js +27 -106
  131. package/dist/cli/commands/state/todo.js.map +1 -1
  132. package/dist/cli/commands/state/write.js +57 -4
  133. package/dist/cli/commands/state/write.js.map +1 -1
  134. package/dist/cli/commands/upgrade.js +99 -35
  135. package/dist/cli/commands/upgrade.js.map +1 -1
  136. package/dist/cli/commands/upgradeVerify.js +52 -14
  137. package/dist/cli/commands/upgradeVerify.js.map +1 -1
  138. package/dist/cli/commands/validate.js +66 -9
  139. package/dist/cli/commands/validate.js.map +1 -1
  140. package/dist/cli/dispatch/check.js +13 -13
  141. package/dist/cli/dispatch/check.js.map +1 -1
  142. package/dist/cli/dispatch/index.js +35 -28
  143. package/dist/cli/dispatch/index.js.map +1 -1
  144. package/dist/cli/dispatch/lifecycle.js +23 -43
  145. package/dist/cli/dispatch/lifecycle.js.map +1 -1
  146. package/dist/cli/dispatch/prime.js +15 -0
  147. package/dist/cli/dispatch/prime.js.map +1 -1
  148. package/dist/cli/dispatch/state.js +7 -1
  149. package/dist/cli/dispatch/state.js.map +1 -1
  150. package/dist/cli/help.js +90 -112
  151. package/dist/cli/help.js.map +1 -1
  152. package/dist/cli/migrationRequired.js +87 -0
  153. package/dist/cli/migrationRequired.js.map +1 -0
  154. package/dist/cli/orientation/attention.js +3 -99
  155. package/dist/cli/orientation/attention.js.map +1 -1
  156. package/dist/cli/orientation.js +10 -7
  157. package/dist/cli/orientation.js.map +1 -1
  158. package/dist/cli/planArtifacts.js +192 -42
  159. package/dist/cli/planArtifacts.js.map +1 -1
  160. package/dist/cli/prime-blob.js +5 -5
  161. package/dist/cli/prime-blob.js.map +1 -1
  162. package/dist/cli/stateQuery.js +6 -7
  163. package/dist/cli/stateQuery.js.map +1 -1
  164. package/dist/core/skillIdentity.js +24 -0
  165. package/dist/core/skillIdentity.js.map +1 -0
  166. package/dist/hooks/common.js +1 -1
  167. package/dist/hooks/common.js.map +1 -1
  168. package/dist/hooks/compaction/status.js +27 -2
  169. package/dist/hooks/compaction/status.js.map +1 -1
  170. package/dist/hooks/cursorSessionStart.js +4 -19
  171. package/dist/hooks/cursorSessionStart.js.map +1 -1
  172. package/dist/hooks/projectHookInput.js +26 -0
  173. package/dist/hooks/projectHookInput.js.map +1 -0
  174. package/dist/hooks/sessionStart.js +58 -212
  175. package/dist/hooks/sessionStart.js.map +1 -1
  176. package/dist/hooks/sessionStop.js +4 -12
  177. package/dist/hooks/sessionStop.js.map +1 -1
  178. package/dist/hooks/validateArtifact/traversal.js +1 -1
  179. package/dist/hooks/validateArtifact/traversal.js.map +1 -1
  180. package/dist/registries/artifactRegistry.js +24 -14
  181. package/dist/registries/artifactRegistry.js.map +1 -1
  182. package/dist/registries/packageRegistry.js +58 -232
  183. package/dist/registries/packageRegistry.js.map +1 -1
  184. package/dist/release/releaseMetadata.js +1 -13
  185. package/dist/release/releaseMetadata.js.map +1 -1
  186. package/dist/runtime/lifecycleAdapterContract.js +4 -4
  187. package/dist/runtime/lifecycleAdapterContract.js.map +1 -1
  188. package/dist/runtime/lifecycleAdapters.js +14 -2
  189. package/dist/runtime/lifecycleAdapters.js.map +1 -1
  190. package/dist/runtime/lifecycleAuthority.js +5 -43
  191. package/dist/runtime/lifecycleAuthority.js.map +1 -1
  192. package/dist/runtime/lifecycleOperationContract.js +3 -2
  193. package/dist/runtime/lifecycleOperationContract.js.map +1 -1
  194. package/dist/runtime/lifecyclePublication.js +21 -0
  195. package/dist/runtime/lifecyclePublication.js.map +1 -1
  196. package/dist/setup/opencode.js +20 -12
  197. package/dist/setup/opencode.js.map +1 -1
  198. package/dist/setup/sharedSkill.js +46 -0
  199. package/dist/setup/sharedSkill.js.map +1 -0
  200. package/dist/setup/smokeChecks.js +16 -43
  201. package/dist/setup/smokeChecks.js.map +1 -1
  202. package/dist/state/archivePublication.js +3 -2
  203. package/dist/state/archivePublication.js.map +1 -1
  204. package/dist/state/decisionEntities.js +282 -0
  205. package/dist/state/decisionEntities.js.map +1 -0
  206. package/dist/state/decisionOverlay.js +2 -2
  207. package/dist/state/decisionOverlay.js.map +1 -1
  208. package/dist/state/decisionRevision.js +44 -34
  209. package/dist/state/decisionRevision.js.map +1 -1
  210. package/dist/state/directRetrieval.js.map +1 -1
  211. package/dist/state/durability.js +81 -226
  212. package/dist/state/durability.js.map +1 -1
  213. package/dist/state/entityCutover.js +294 -0
  214. package/dist/state/entityCutover.js.map +1 -0
  215. package/dist/state/entityCutoverGit.js +128 -0
  216. package/dist/state/entityCutoverGit.js.map +1 -0
  217. package/dist/state/entityMigrationPreview.js +803 -0
  218. package/dist/state/entityMigrationPreview.js.map +1 -0
  219. package/dist/state/entityPublicationContext.js +612 -0
  220. package/dist/state/entityPublicationContext.js.map +1 -0
  221. package/dist/state/entityStorage.js +826 -0
  222. package/dist/state/entityStorage.js.map +1 -0
  223. package/dist/state/experimentIdentity.js +23 -11
  224. package/dist/state/experimentIdentity.js.map +1 -1
  225. package/dist/state/healthEntities.js +230 -0
  226. package/dist/state/healthEntities.js.map +1 -0
  227. package/dist/state/healthEntityValidation.js +6 -0
  228. package/dist/state/healthEntityValidation.js.map +1 -0
  229. package/dist/state/legacyEntityCutoverEvidence.js +66 -0
  230. package/dist/state/legacyEntityCutoverEvidence.js.map +1 -0
  231. package/dist/state/listRetrieval.js.map +1 -1
  232. package/dist/state/objectiveExperimentEntities.js +323 -0
  233. package/dist/state/objectiveExperimentEntities.js.map +1 -0
  234. package/dist/state/planEntities.js +362 -0
  235. package/dist/state/planEntities.js.map +1 -0
  236. package/dist/state/progressEntities.js +384 -0
  237. package/dist/state/progressEntities.js.map +1 -0
  238. package/dist/state/projectRoot.js +63 -0
  239. package/dist/state/projectRoot.js.map +1 -0
  240. package/dist/state/retrievalAuthority.js +13 -6
  241. package/dist/state/retrievalAuthority.js.map +1 -1
  242. package/dist/state/safeProjectFile.js +153 -0
  243. package/dist/state/safeProjectFile.js.map +1 -0
  244. package/dist/state/startupProjection.js +3 -2
  245. package/dist/state/startupProjection.js.map +1 -1
  246. package/dist/state/stateMode.js +83 -0
  247. package/dist/state/stateMode.js.map +1 -0
  248. package/dist/state/todoDocsEntities.js +225 -0
  249. package/dist/state/todoDocsEntities.js.map +1 -0
  250. package/dist/state/todoDocsEntityValidation.js +26 -0
  251. package/dist/state/todoDocsEntityValidation.js.map +1 -0
  252. package/dist/state/write/candidateMutation.js +5 -55
  253. package/dist/state/write/candidateMutation.js.map +1 -1
  254. package/dist/state/write/explain.js +119 -28
  255. package/dist/state/write/explain.js.map +1 -1
  256. package/dist/state/write/lock.js +794 -87
  257. package/dist/state/write/lock.js.map +1 -1
  258. package/dist/state/write/mutation.js +5 -2
  259. package/dist/state/write/mutation.js.map +1 -1
  260. package/dist/state/write/operations.js +52 -7
  261. package/dist/state/write/operations.js.map +1 -1
  262. package/dist/state/write/planEvaluation.js +107 -0
  263. package/dist/state/write/planEvaluation.js.map +1 -0
  264. package/dist/state/write/planPublication.js +11 -55
  265. package/dist/state/write/planPublication.js.map +1 -1
  266. package/dist/state/write/transaction.js +32 -455
  267. package/dist/state/write/transaction.js.map +1 -1
  268. package/dist/upgrade/appContentRefresh.js +43 -28
  269. package/dist/upgrade/appContentRefresh.js.map +1 -1
  270. package/dist/upgrade/compatibility.js +4 -4
  271. package/dist/upgrade/compatibility.js.map +1 -1
  272. package/dist/upgrade/doctor.js +5 -1
  273. package/dist/upgrade/doctor.js.map +1 -1
  274. package/dist/upgrade/installedHooksRetirement.js +46 -39
  275. package/dist/upgrade/installedHooksRetirement.js.map +1 -1
  276. package/dist/upgrade/legacyAgentCleanup.js +132 -32
  277. package/dist/upgrade/legacyAgentCleanup.js.map +1 -1
  278. package/dist/upgrade/lifecycleUpgrade.js +65 -378
  279. package/dist/upgrade/lifecycleUpgrade.js.map +1 -1
  280. package/dist/upgrade/migrateArtifactsV2ToV3.js +164 -66
  281. package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -1
  282. package/dist/upgrade/migrationPublication.js +123 -0
  283. package/dist/upgrade/migrationPublication.js.map +1 -0
  284. package/dist/upgrade/projectIntegration.js +46 -113
  285. package/dist/upgrade/projectIntegration.js.map +1 -1
  286. package/dist/upgrade/projectIntegrationDecision.js +6 -96
  287. package/dist/upgrade/projectIntegrationDecision.js.map +1 -1
  288. package/dist/upgrade/runtimeMigration.js +222 -402
  289. package/dist/upgrade/runtimeMigration.js.map +1 -1
  290. package/dist/upgrade/upgradeCommands.js +5 -4
  291. package/dist/upgrade/upgradeCommands.js.map +1 -1
  292. package/dist/upgrade/upgradeLock.js +73 -41
  293. package/dist/upgrade/upgradeLock.js.map +1 -1
  294. package/dist/upgrade/upgradeOrchestrator.js +181 -145
  295. package/dist/upgrade/upgradeOrchestrator.js.map +1 -1
  296. package/dist/upgrade/v3CapabilitySurface.js +2 -2
  297. package/dist/validate/appHomeContract.js +0 -4
  298. package/dist/validate/appHomeContract.js.map +1 -1
  299. package/dist/validate/crossCapability.js +2 -2
  300. package/dist/validate/crossCapability.js.map +1 -1
  301. package/package.json +8 -6
  302. package/bundle/.codex-plugin/plugin.json +0 -92
  303. package/bundle/.cursor/agents/agentera.md +0 -7
  304. package/bundle/.cursor/hooks.json +0 -32
  305. package/bundle/.cursor-plugin/plugin.json +0 -34
  306. package/bundle/.github/hooks/postToolUse.json +0 -9
  307. package/bundle/.github/hooks/preToolUse.json +0 -8
  308. package/bundle/.github/hooks/sessionEnd.json +0 -8
  309. package/bundle/.github/hooks/sessionStart.json +0 -8
  310. package/bundle/.github/plugin/plugin.json +0 -7
  311. package/bundle/.opencode/agents/agentera.md +0 -12
  312. package/bundle/.opencode/commands/agentera.md +0 -5
  313. package/bundle/.opencode/package.json +0 -31
  314. package/bundle/.opencode/plugins/agentera.js +0 -820
  315. package/bundle/agents/openai.yaml +0 -87
  316. package/bundle/hooks/codex-hooks.json +0 -31
  317. package/bundle/hooks/codex-plugin-hooks.json +0 -31
  318. package/bundle/plugin.json +0 -13
  319. package/bundle/references/adapters/cursor.md +0 -224
  320. package/bundle/references/adapters/opencode.md +0 -529
  321. package/bundle/references/adapters/runtime-adapter-characterization.md +0 -44
  322. package/bundle/references/adapters/runtime-adapter-interface-model.yaml +0 -200
  323. package/bundle/references/adapters/runtime-adapter-registry.yaml +0 -387
  324. package/bundle/references/adapters/runtime-feature-parity.md +0 -129
  325. package/dist/cli/commands/backfill.js +0 -194
  326. package/dist/cli/commands/backfill.js.map +0 -1
  327. package/dist/cli/commands/migrate.js +0 -677
  328. package/dist/cli/commands/migrate.js.map +0 -1
  329. package/dist/registries/runtimeAdapterRegistry.js +0 -324
  330. package/dist/registries/runtimeAdapterRegistry.js.map +0 -1
  331. package/dist/setup/copilot.js +0 -227
  332. package/dist/setup/copilot.js.map +0 -1
  333. package/dist/setup/cursor.js +0 -129
  334. package/dist/setup/cursor.js.map +0 -1
  335. package/dist/setup/cursorSurfaces.js +0 -67
  336. package/dist/setup/cursorSurfaces.js.map +0 -1
  337. package/dist/setup/doctor/core.js +0 -296
  338. package/dist/setup/doctor/core.js.map +0 -1
  339. package/dist/setup/doctor/diagnostics.js +0 -201
  340. package/dist/setup/doctor/diagnostics.js.map +0 -1
  341. package/dist/setup/doctor/opencode.js +0 -301
  342. package/dist/setup/doctor/opencode.js.map +0 -1
  343. package/dist/setup/doctor/report.js +0 -425
  344. package/dist/setup/doctor/report.js.map +0 -1
  345. package/dist/setup/doctor.js +0 -10
  346. package/dist/setup/doctor.js.map +0 -1
  347. package/dist/state/gitBackfill.js +0 -561
  348. package/dist/state/gitBackfill.js.map +0 -1
  349. package/dist/state/gitBackfillAuthority.js +0 -141
  350. package/dist/state/gitBackfillAuthority.js.map +0 -1
  351. package/dist/state/gitBackfillHistory.js +0 -278
  352. package/dist/state/gitBackfillHistory.js.map +0 -1
  353. package/dist/state/gitBackfillOutput.js +0 -209
  354. package/dist/state/gitBackfillOutput.js.map +0 -1
  355. package/dist/state/legacyMigration.js +0 -516
  356. package/dist/state/legacyMigration.js.map +0 -1
  357. package/dist/state/legacyMigrationParser.js +0 -489
  358. package/dist/state/legacyMigrationParser.js.map +0 -1
  359. package/dist/state/migrationAuthority.js +0 -413
  360. package/dist/state/migrationAuthority.js.map +0 -1
  361. package/dist/state/migrationEnrichment.js +0 -35
  362. package/dist/state/migrationEnrichment.js.map +0 -1
  363. package/dist/upgrade/migrateArtifactsV1ToV2.js +0 -568
  364. package/dist/upgrade/migrateArtifactsV1ToV2.js.map +0 -1
  365. package/dist/upgrade/upgradeSnapshot.js +0 -93
  366. package/dist/upgrade/upgradeSnapshot.js.map +0 -1
  367. package/dist/validate/lifecycleAdapters/legacyPythonParity.js +0 -93
  368. package/dist/validate/lifecycleAdapters/legacyPythonParity.js.map +0 -1
  369. package/dist/validate/lifecycleAdapters/lifecycleMain.js +0 -154
  370. package/dist/validate/lifecycleAdapters/lifecycleMain.js.map +0 -1
  371. package/dist/validate/lifecycleAdapters/nodeFormChecks.js +0 -481
  372. package/dist/validate/lifecycleAdapters/nodeFormChecks.js.map +0 -1
  373. package/dist/validate/lifecycleAdapters/shared.js +0 -198
  374. package/dist/validate/lifecycleAdapters/shared.js.map +0 -1
  375. package/dist/validate/lifecycleAdapters.js +0 -10
  376. package/dist/validate/lifecycleAdapters.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  ARTIFACTS:
2
2
  1:
3
3
  id: A1
4
- artifact_id: docs
4
+ artifact: docs
5
5
  local_role: produces_and_consumes
6
6
  description: >-
7
7
  Documentation contract with conventions, artifact mapping, and
@@ -12,44 +12,44 @@ ARTIFACTS:
12
12
  raw reads are diagnostic-only for corruption or CLI-defect investigation.
13
13
  2:
14
14
  id: A2
15
- artifact_id: vision
15
+ artifact: vision
16
16
  local_role: consumes
17
17
  description: >-
18
18
  Document reads this to understand who the documentation is for
19
19
  and what tone to use.
20
20
  3:
21
21
  id: A3
22
- artifact_id: progress
22
+ artifact: progress
23
23
  local_role: consumes
24
24
  description: >-
25
25
  Document reads this during explore-and-generate mode to understand
26
26
  recent project context. During closeout, latest progress evidence and
27
27
  verification pointers are consumed through CLI `closeout_context`, then
28
28
  bounded `agentera state progress list --limit 20 --format json` discovery
29
- or exact `state progress get --number N` retrieval. Raw reads are
29
+ or exact `state progress get --id ID` retrieval. Raw reads are
30
30
  diagnostic-only for corruption or CLI-defect investigation.
31
31
  4:
32
32
  id: A4
33
- artifact_id: decisions
33
+ artifact: decisions
34
34
  local_role: consumes
35
35
  description: >-
36
36
  Document reads this during explore-and-generate mode for project
37
37
  context and decision awareness through bounded `agentera state decisions
38
38
  list --limit 20 --format json` discovery or exact `state decisions get
39
- --number N` retrieval. Raw reads are diagnostic-only for corruption or
39
+ --id ID` retrieval. Raw reads are diagnostic-only for corruption or
40
40
  CLI-defect investigation.
41
41
  5:
42
42
  id: A5
43
- artifact_id: health
43
+ artifact: health
44
44
  local_role: consumes
45
45
  description: >-
46
46
  Document reads this to discover documentation gaps surfaced during health
47
47
  audits through bounded `agentera state health list --limit 20 --format
48
- json` discovery or exact `state health get --number N` retrieval. Raw reads
48
+ json` discovery or exact `state health get --id ID` retrieval. Raw reads
49
49
  are diagnostic-only for corruption or CLI-defect investigation.
50
50
  6:
51
51
  id: A6
52
- artifact_id: todo
52
+ artifact: todo
53
53
  local_role: produces_and_consumes
54
54
  description: >-
55
55
  Document writes to this when code diverges from docs (per DTC,
@@ -58,21 +58,21 @@ ARTIFACTS:
58
58
  any diagnostic-only raw TODO read.
59
59
  7:
60
60
  id: A7
61
- artifact_id: design
61
+ artifact: design
62
62
  local_role: consumes
63
63
  description: >-
64
64
  Document reads this to respect the declared aesthetic and voice
65
65
  when generating user-facing documentation.
66
66
  8:
67
67
  id: A8
68
- artifact_id: profile
68
+ artifact: profile
69
69
  local_role: consumes
70
70
  description: >-
71
71
  Document reads this to calibrate documentation style preferences:
72
72
  detail level, tone, format.
73
73
  9:
74
74
  id: A9
75
- artifact_id: changelog
75
+ artifact: changelog
76
76
  local_role: consumes
77
77
  description: >-
78
78
  Document reads this during closeout synchronization through CLI
@@ -1,7 +1,7 @@
1
1
  ARTIFACTS:
2
2
  1:
3
3
  id: A1
4
- artifact_id: objective
4
+ artifact: objective
5
5
  local_role: produces_and_consumes
6
6
  description: >-
7
7
  Optimization target definition: metric, current value, target, constraints,
@@ -10,7 +10,7 @@ ARTIFACTS:
10
10
  canonical closure.
11
11
  2:
12
12
  id: A2
13
- artifact_id: optimize_harness
13
+ artifact: optimize_harness
14
14
  local_role: produces
15
15
  description: >-
16
16
  Eval script that measures the metric and outputs structured JSON. Written
@@ -18,7 +18,7 @@ ARTIFACTS:
18
18
  Never modified during optimization cycles.
19
19
  3:
20
20
  id: A3
21
- artifact_id: experiments
21
+ artifact: experiments
22
22
  local_role: produces_and_consumes
23
23
  description: >-
24
24
  Log of every experiment: hypothesis, method, change, metric before/after,
@@ -26,42 +26,42 @@ ARTIFACTS:
26
26
  suggestion. Optimize appends to this each cycle.
27
27
  4:
28
28
  id: A4
29
- artifact_id: progress
29
+ artifact: progress
30
30
  local_role: consumes
31
31
  description: >-
32
32
  Optimize inspects the last 3 entries to detect 3 consecutive failures
33
33
  before reporting exit status.
34
34
  5:
35
35
  id: A5
36
- artifact_id: todo
36
+ artifact: todo
37
37
  local_role: produces
38
38
  description: >-
39
39
  Optimize writes to this when logging a failure pattern after 3
40
40
  consecutive failures.
41
41
  6:
42
42
  id: A6
43
- artifact_id: decisions
43
+ artifact: decisions
44
44
  local_role: consumes
45
45
  description: >-
46
46
  Optimize reads this during Orient for context on prior deliberations
47
47
  about the optimization objective.
48
48
  7:
49
49
  id: A7
50
- artifact_id: profile
50
+ artifact: profile
51
51
  local_role: consumes
52
52
  description: >-
53
53
  Optimize reads this to modulate experiment aggressiveness and constraint
54
54
  tolerance based on user preferences.
55
55
  8:
56
56
  id: A8
57
- artifact_id: docs
57
+ artifact: docs
58
58
  local_role: consumes
59
59
  description: >-
60
60
  Optimize reads this first to resolve project-local artifact mappings
61
61
  before accessing other artifacts.
62
62
  9:
63
63
  id: A9
64
- artifact_id: benchmark_context
64
+ artifact: benchmark_context
65
65
  local_role: consumes
66
66
  description: >-
67
67
  CLI-provided startup benchmark summary from `agentera prime --context
@@ -1,7 +1,7 @@
1
1
  ARTIFACTS:
2
2
  1:
3
3
  id: A1
4
- artifact_id: plan
4
+ artifact: plan
5
5
  local_role: produces_and_consumes
6
6
  description: >-
7
7
  Orchestrate consumes plan task queue state through
@@ -11,51 +11,51 @@ ARTIFACTS:
11
11
  retry-safe typed `record-evaluation` mutation before retry or blocking.
12
12
  2:
13
13
  id: A2
14
- artifact_id: progress
14
+ artifact: progress
15
15
  local_role: consumes
16
16
  description: >-
17
17
  Orchestrate consumes progress verification state from the returned
18
18
  orchestration context first, then bounded `agentera state progress list
19
19
  --limit 20 --format json` fallback output. Exact detail uses `state
20
- progress get --number N`; raw reads are diagnostic-only for corruption or
20
+ progress get --id ID`; raw reads are diagnostic-only for corruption or
21
21
  CLI-defect investigation.
22
22
  3:
23
23
  id: A3
24
- artifact_id: health
24
+ artifact: health
25
25
  local_role: consumes
26
26
  description: >-
27
27
  Orchestrate consumes returned health state first after plan completion to
28
28
  decide whether to start a new plan cycle; bounded `agentera state health
29
- list --limit 20 --format json` and exact `state health get --number N`
29
+ list --limit 20 --format json` and exact `state health get --id ID`
30
30
  are the fallback contracts. Raw reads are diagnostic-only for corruption
31
31
  or CLI-defect investigation.
32
32
  4:
33
33
  id: A4
34
- artifact_id: todo
34
+ artifact: todo
35
35
  local_role: produces
36
36
  description: >-
37
37
  Orchestrate consumes TODO caveats from CLI startup context and writes
38
38
  blocked task logging only when a task exhausts its retry budget.
39
39
  5:
40
40
  id: A5
41
- artifact_id: decisions
41
+ artifact: decisions
42
42
  local_role: consumes
43
43
  description: >-
44
44
  Orchestrate consumes included decision context or bounded
45
45
  `agentera state decisions list --limit 20 --format json` discovery and
46
- exact `state decisions get --number N` retrieval, preserving firm
46
+ exact `state decisions get --id ID` retrieval, preserving firm
47
47
  constraints, exploratory uncertainties, and compacted-entry caveats.
48
48
  Raw reads are diagnostic-only for corruption or CLI-defect investigation.
49
49
  6:
50
50
  id: A6
51
- artifact_id: vision
51
+ artifact: vision
52
52
  local_role: consumes
53
53
  description: >-
54
54
  Orchestrate consumes returned vision state or missing-state caveats during
55
55
  bootstrap when chaining research for vision-gap analysis.
56
56
  7:
57
57
  id: A7
58
- artifact_id: profile
58
+ artifact: profile
59
59
  local_role: consumes
60
60
  description: >-
61
61
  Orchestrate consumes returned profile status and caveats first for persona
@@ -63,7 +63,7 @@ ARTIFACTS:
63
63
  state and preserves the caveat.
64
64
  8:
65
65
  id: A8
66
- artifact_id: docs
66
+ artifact: docs
67
67
  local_role: consumes
68
68
  description: >-
69
69
  Orchestrate uses docs mapping from CLI startup context first to resolve
@@ -1,7 +1,7 @@
1
1
  ARTIFACTS:
2
2
  1:
3
3
  id: A1
4
- artifact_id: plan
4
+ artifact: plan
5
5
  local_role: produces_and_consumes
6
6
  description: >-
7
7
  Current plan with tasks, dependencies, and behavioral acceptance criteria.
@@ -10,7 +10,7 @@ ARTIFACTS:
10
10
  session and may read existing plan context before replacing or refining it.
11
11
  2:
12
12
  id: A2
13
- artifact_id: plan_archive
13
+ artifact: plan_archive
14
14
  local_role: produces
15
15
  description: >-
16
16
  Immutable, non-executable history created when a plan is complete or
@@ -18,45 +18,45 @@ ARTIFACTS:
18
18
  plan's open status rather than claiming completion.
19
19
  3:
20
20
  id: A3
21
- artifact_id: vision
21
+ artifact: vision
22
22
  local_role: consumes
23
23
  description: >-
24
24
  Plan reads this during Orient to understand project direction and
25
25
  align the plan with the vision.
26
26
  4:
27
27
  id: A4
28
- artifact_id: decisions
28
+ artifact: decisions
29
29
  local_role: consumes
30
30
  description: >-
31
31
  Plan reads firm (DL1) entries only as hard constraints for planning.
32
32
  5:
33
33
  id: A5
34
- artifact_id: todo
34
+ artifact: todo
35
35
  local_role: consumes
36
36
  description: >-
37
37
  Plan reads this to identify related known
38
38
  issues that the plan should address.
39
39
  6:
40
40
  id: A6
41
- artifact_id: health
41
+ artifact: health
42
42
  local_role: consumes
43
43
  description: >-
44
44
  Plan reads this to factor structural issues into the plan.
45
45
  7:
46
46
  id: A7
47
- artifact_id: progress
47
+ artifact: progress
48
48
  local_role: consumes
49
49
  description: >-
50
50
  Plan reads this to understand what was built recently.
51
51
  8:
52
52
  id: A8
53
- artifact_id: profile
53
+ artifact: profile
54
54
  local_role: consumes
55
55
  description: >-
56
56
  Plan reads this to calibrate planning depth and pattern preferences.
57
57
  9:
58
58
  id: A9
59
- artifact_id: docs
59
+ artifact: docs
60
60
  local_role: consumes
61
61
  description: >-
62
62
  Plan reads this first to resolve project-local artifact mappings and
@@ -1,7 +1,7 @@
1
1
  ARTIFACTS:
2
2
  1:
3
3
  id: A1
4
- artifact_id: profile
4
+ artifact: profile
5
5
  local_role: produces_and_consumes
6
6
  description: >-
7
7
  Decision profile with per-entry confidence scoring, permanence
@@ -9,7 +9,7 @@ ARTIFACTS:
9
9
  and Validate modes, then reads it for validation and update context.
10
10
  2:
11
11
  id: A2
12
- artifact_id: decisions
12
+ artifact: decisions
13
13
  local_role: consumes
14
14
  description: >-
15
15
  Profile treats this as a high-signal source for extraction scripts.
@@ -1,7 +1,7 @@
1
1
  ARTIFACTS:
2
2
  1:
3
3
  id: A1
4
- artifact_id: todo
4
+ artifact: todo
5
5
  local_role: produces
6
6
  description: >-
7
7
  Open problems by severity. Research writes actionable findings here
@@ -9,14 +9,14 @@ ARTIFACTS:
9
9
  SF1-SF3. Build picks up changes automatically in its next cycle.
10
10
  2:
11
11
  id: A2
12
- artifact_id: vision
12
+ artifact: vision
13
13
  local_role: produces
14
14
  description: >-
15
15
  Research may refine project direction with user confirmation when the
16
16
  analysis shifts thinking about the project's direction.
17
17
  3:
18
18
  id: A3
19
- artifact_id: profile
19
+ artifact: profile
20
20
  local_role: consumes
21
21
  description: >-
22
22
  Research reads the profile via research_context.profile from the prime
@@ -1,63 +1,63 @@
1
1
  ARTIFACTS:
2
2
  1:
3
3
  id: A1
4
- artifact_id: vision
4
+ artifact: vision
5
5
  local_role: consumes
6
6
  description: >-
7
7
  Status reads this for the briefing's project context.
8
8
  2:
9
9
  id: A2
10
- artifact_id: decisions
10
+ artifact: decisions
11
11
  local_role: consumes
12
12
  description: >-
13
13
  Status reads this to identify unresolved decisions requiring follow-up.
14
14
  3:
15
15
  id: A3
16
- artifact_id: plan
16
+ artifact: plan
17
17
  local_role: consumes
18
18
  description: >-
19
19
  Status reads this to identify the next executable task and plan progress.
20
20
  4:
21
21
  id: A4
22
- artifact_id: progress
22
+ artifact: progress
23
23
  local_role: consumes
24
24
  description: >-
25
25
  Status reads this for the briefing's "what shipped" context.
26
26
  5:
27
27
  id: A5
28
- artifact_id: todo
28
+ artifact: todo
29
29
  local_role: consumes
30
30
  description: >-
31
31
  Status reads this to identify high-severity open items for routing.
32
32
  6:
33
33
  id: A6
34
- artifact_id: health
34
+ artifact: health
35
35
  local_role: consumes
36
36
  description: >-
37
37
  Status reads this for the health status line and attention items.
38
38
  7:
39
39
  id: A7
40
- artifact_id: objective
40
+ artifact: objective
41
41
  local_role: consumes
42
42
  description: >-
43
43
  Status reads this to check for active optimization objectives.
44
44
  8:
45
45
  id: A8
46
- artifact_id: experiments
46
+ artifact: experiments
47
47
  local_role: consumes
48
48
  description: >-
49
49
  Status reads this alongside the active optimization target to determine
50
50
  optimization status.
51
51
  9:
52
52
  id: A9
53
- artifact_id: docs
53
+ artifact: docs
54
54
  local_role: consumes
55
55
  description: >-
56
56
  Status reads this first to resolve project-local artifact mappings before
57
57
  reading other artifacts.
58
58
  10:
59
59
  id: A10
60
- artifact_id: design
60
+ artifact: design
61
61
  local_role: consumes
62
62
  description: >-
63
63
  Status reads this for project design status metadata (exists, stale, missing).
@@ -66,7 +66,7 @@ ARTIFACTS:
66
66
  artifact.
67
67
  11:
68
68
  id: A11
69
- artifact_id: profile
69
+ artifact: profile
70
70
  local_role: consumes
71
71
  description: >-
72
72
  Status reads this to report profile status (loaded/not found) in the briefing.
@@ -1,56 +1,56 @@
1
1
  ARTIFACTS:
2
2
  1:
3
3
  id: A1
4
- artifact_id: vision
4
+ artifact: vision
5
5
  local_role: produces_and_consumes
6
6
  description: >-
7
7
  Vision writes and refines project direction, principles, personas,
8
8
  aspirations, and identity.
9
9
  2:
10
10
  id: A2
11
- artifact_id: decisions
11
+ artifact: decisions
12
12
  local_role: consumes
13
13
  description: >-
14
14
  Vision reads this to detect shifted thinking during refine mode
15
15
  and to surface unresolved tensions with the vision.
16
16
  3:
17
17
  id: A3
18
- artifact_id: progress
18
+ artifact: progress
19
19
  local_role: consumes
20
20
  description: >-
21
21
  Vision reads this during refine mode to understand what has been
22
22
  built since the vision was last updated.
23
23
  4:
24
24
  id: A4
25
- artifact_id: health
25
+ artifact: health
26
26
  local_role: consumes
27
27
  description: >-
28
28
  Vision reads this to understand structural realities that
29
29
  constrain or inform the vision.
30
30
  5:
31
31
  id: A5
32
- artifact_id: todo
32
+ artifact: todo
33
33
  local_role: consumes
34
34
  description: >-
35
35
  Vision reads this during refine mode to detect recurring problems
36
36
  that suggest the vision needs adjustment.
37
37
  6:
38
38
  id: A6
39
- artifact_id: design
39
+ artifact: design
40
40
  local_role: consumes
41
41
  description: >-
42
42
  Vision reads this during codebase exploration to ensure the
43
43
  Identity section in project direction coheres with the visual system.
44
44
  7:
45
45
  id: A7
46
- artifact_id: docs
46
+ artifact: docs
47
47
  local_role: consumes
48
48
  description: >-
49
49
  Vision reads this first to resolve project-local artifact mappings
50
50
  before accessing other artifacts.
51
51
  8:
52
52
  id: A8
53
- artifact_id: profile
53
+ artifact: profile
54
54
  local_role: consumes
55
55
  description: >-
56
56
  Vision reads this to calibrate the vision conversation: high-confidence
@@ -4,8 +4,9 @@
4
4
  # one entry. Decisions are referenced by build, optimize, and profile
5
5
  # for context on why choices were made.
6
6
  #
7
- # Structural pattern: UPPER_CASE groups with numbered entries and stable IDs,
8
- # following capability_schema_contract.yaml and protocol.yaml conventions.
7
+ # The active authority uses writer-owned decision, revision, and satisfaction
8
+ # entity files. The numbered projection model below is retained only as an exact
9
+ # legacy migration input schema; it is not an ordinary post-cutover contract.
9
10
  #
10
11
  # ── Field-by-field mapping: v1 DECISIONS.md → v2 decisions.yaml ──
11
12
  #
@@ -38,10 +39,22 @@ meta:
38
39
  and orchestrate for context on why choices were made.
39
40
  artifact_type: agent_facing
40
41
  path: ".agentera/decisions.yaml"
42
+ authority: legacy_migration_input_only
41
43
  producer: discuss
42
44
  consumers: [document, status, audit, optimize, orchestrate, plan, profile, build, discuss, vision]
43
45
  format: yaml
44
46
 
47
+ ENTITY_AUTHORITY:
48
+ identity_fields: [id, artifact]
49
+ artifact: decisions
50
+ boundaries: [decision, decision_revision, decision_satisfaction]
51
+ retrieval:
52
+ list: agentera state decisions list --format json
53
+ get: agentera state decisions get --id ID --format json
54
+ mutation: agentera state decisions explain --format json
55
+ direct_file_edits: forbidden
56
+ legacy_schema_below: migration_input_only
57
+
45
58
  GROUP_PREFIXES:
46
59
  BUDGET: DB
47
60
  COMPACTION: DX
@@ -2,7 +2,10 @@
2
2
  #
3
3
  # Documentation contract maintained by document. Tracks project doc
4
4
  # conventions, artifact path overrides, document index with status, coverage
5
- # metrics, and timestamped audit findings.
5
+ # metrics, and timestamped audit findings. After durable entity cutover only
6
+ # index entries become independent entities; mappings, conventions, coverage,
7
+ # audit/editorial configuration, and other singleton sections retain
8
+ # intentional whole-document authority in docs.yaml.
6
9
  #
7
10
  # Structural pattern: UPPER_CASE groups with numbered entries and stable IDs,
8
11
  # following capability_schema_contract.yaml and protocol.yaml conventions.
@@ -70,10 +73,10 @@ BUDGET:
70
73
  1:
71
74
  id: DB1
72
75
  scope: full_file
73
- max_words: 2000
76
+ max_words: null
74
77
  description: >-
75
- Maximum words for the full file. If a write would exceed this
76
- budget, compact older audit log entries.
78
+ No full-file word budget. Historical audit_log entries are immutable;
79
+ keep the active inventory and coverage sections concise.
77
80
 
78
81
  HEADER:
79
82
  1:
@@ -393,11 +396,3 @@ VALIDATION:
393
396
  Index status values should be from the allowed set.
394
397
  checks:
395
398
  - "Each status is one of: current, stale, missing, intent, generated"
396
- 4:
397
- id: DVL4
398
- rule: word_budget
399
- severity: advisory
400
- description: >-
401
- Advisory check. Full file should be <=2000 words.
402
- checks:
403
- - "Total file word count <= 2000"
@@ -275,16 +275,17 @@ PUBLICATION:
275
275
  id: EP1
276
276
  operation: publish
277
277
  command: >-
278
- agentera state experiments publish --objective OBJECTIVE_ID --number N
278
+ agentera state experiments publish --objective ID [--id ID]
279
279
  --input EXPERIMENT.yaml --format json
280
280
  description: >-
281
281
  The typed state writer is the mutation authority. It validates the
282
- objective, identity, caller entry, existing projection, and final bytes
283
- before assigning number and atomically publishing one experiment.
282
+ objective, identity, caller entry, and canonical entity state before
283
+ atomically publishing one experiment entity.
284
284
  2:
285
285
  id: EP2
286
- identity: '<objective-id>/experiment:<non-negative-integer>'
287
- cli_owned_fields: [number]
286
+ identity: bare_ten_letter_id
287
+ classification: experiments
288
+ cli_owned_fields: [id, artifact, objective]
288
289
  retry: byte_equivalent_identity_is_idempotent
289
290
  collision: same_identity_with_different_content_fails
290
291
  description: >-
@@ -292,14 +293,14 @@ PUBLICATION:
292
293
  pre-publication failures preserve active and archive projection bytes.
293
294
  3:
294
295
  id: EP3
295
- projection: uniform_10_40_50
296
- durable_archive: objective_scoped_immutable_full_detail
296
+ projection: bounded_entity_list
297
+ durable_archive: not_applicable
297
298
  description: >-
298
- Publication validates and durably publishes the full experiment under
299
- the objective directory before replacing the compacted projection. The
300
- projection still retains 10 full entries and 40 one-line summaries.
299
+ Publication validates and durably publishes one immutable canonical
300
+ experiment entity. Bounded list output never compacts entity records.
301
301
  4:
302
302
  id: EP4
303
+ classification: legacy_migration_source_provenance
303
304
  archive_path: '.agentera/<objective-root>/<objective>/archive/experiments/<experiment-number>.yaml'
304
305
  canonical_objective_root: optimize
305
306
  readable_legacy_objective_roots: [optimera]
@@ -333,14 +334,13 @@ RETRIEVAL:
333
334
  1:
334
335
  id: ER1
335
336
  list: >-
336
- agentera state experiments list --objective OBJECTIVE_ID [--limit N]
337
+ agentera state experiments list --objective ID [--limit N]
337
338
  [--cursor TOKEN] --format json
338
339
  get: >-
339
- agentera state experiments get --objective OBJECTIVE_ID --number N
340
- --format json
340
+ agentera state experiments get --id ID --format json
341
341
  description: >-
342
- List returns newest-first objective-scoped identities from the bounded
343
- projection and immutable archive. Get returns one exact identity.
342
+ List returns newest-first objective-scoped canonical entities. Get returns
343
+ one exact entity by bare ID.
344
344
  2:
345
345
  id: ER2
346
346
  cursor: opaque_snapshot_cursor
@@ -408,22 +408,22 @@ ARCHIVE:
408
408
  VALIDATION:
409
409
  1:
410
410
  id: EV1
411
- rule: unique_experiment_numbers
411
+ rule: unique_entity_ids
412
412
  severity: error
413
413
  description: >-
414
- Experiment numbers must be unique and sequential.
414
+ Experiment IDs must be unique project-wide and match the canonical pattern.
415
415
  checks:
416
- - "All experiment numbers are unique across active and archived entries"
417
- - "Experiment numbers are sequential starting from 0"
416
+ - "All experiment IDs are unique across canonical entities"
417
+ - "Every ID is ten lowercase letters"
418
418
  2:
419
419
  id: EV2
420
420
  rule: required_fields
421
421
  severity: error
422
422
  description: >-
423
- Each full-detail experiment entry must have: number, date, label,
423
+ Each full-detail experiment entity record must have: date, label,
424
424
  hypothesis, method, change, metric, status, and conclusion.
425
425
  checks:
426
- - "number is present and is a non-negative integer"
426
+ - "the envelope has id and artifact fields"
427
427
  - "date is present and matches YYYY-MM-DD HH:MM"
428
428
  - "label is present and non-empty"
429
429
  - "hypothesis is present and non-empty"