agentera 3.0.0-dev.27 → 3.0.0-dev.29

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 (196) hide show
  1. package/README.md +7 -5
  2. package/bundle/CHANGELOG.md +17 -2
  3. package/bundle/DESIGN.md +3 -7
  4. package/bundle/README.md +8 -10
  5. package/bundle/UPGRADE.md +60 -16
  6. package/bundle/fixtures/routing/hybrid-corpus.yaml +154 -0
  7. package/bundle/references/adapters/package-registry.yaml +2 -0
  8. package/bundle/references/adapters/package-surface-characterization.md +2 -3
  9. package/bundle/references/adapters/runtime-lifecycle-authority.yaml +2 -3
  10. package/bundle/references/adapters/runtime-retired-resources.yaml +78 -14
  11. package/bundle/references/analysis/benchmark.md +2 -9
  12. package/bundle/references/artifacts/state-storage-authority.yaml +308 -14
  13. package/bundle/references/cli/audience-namespace-cli-migration.yaml +1 -1
  14. package/bundle/references/cli/bundle-skill-vocabulary.yaml +1 -1
  15. package/bundle/references/cli/capability-instruction-contract.yaml +0 -3
  16. package/bundle/references/cli/capability-instruction-structure.md +2 -2
  17. package/bundle/references/cli/hybrid-route-contract.yaml +416 -0
  18. package/bundle/references/cli/prime-consumer-compatibility.yaml +12 -11
  19. package/bundle/references/cli/routing-execution-vocabulary.yaml +0 -4
  20. package/bundle/references/cli/routing-model.md +136 -91
  21. package/bundle/references/cli/trigger-schema-enrichment.md +50 -46
  22. package/bundle/references/cli/vocabulary.md +8 -11
  23. package/bundle/references/meta/documentation-inventory.md +1 -3
  24. package/bundle/skills/agentera/SKILL.md +50 -18
  25. package/bundle/skills/agentera/capabilities/audit/schemas/triggers.yaml +13 -35
  26. package/bundle/skills/agentera/capabilities/build/schemas/triggers.yaml +14 -36
  27. package/bundle/skills/agentera/capabilities/design/schemas/triggers.yaml +5 -34
  28. package/bundle/skills/agentera/capabilities/discuss/schemas/triggers.yaml +6 -40
  29. package/bundle/skills/agentera/capabilities/document/schemas/triggers.yaml +5 -34
  30. package/bundle/skills/agentera/capabilities/optimize/schemas/triggers.yaml +4 -35
  31. package/bundle/skills/agentera/capabilities/orchestrate/schemas/artifacts.yaml +10 -6
  32. package/bundle/skills/agentera/capabilities/orchestrate/schemas/exit.yaml +3 -2
  33. package/bundle/skills/agentera/capabilities/orchestrate/schemas/triggers.yaml +5 -37
  34. package/bundle/skills/agentera/capabilities/orchestrate/schemas/validation.yaml +6 -5
  35. package/bundle/skills/agentera/capabilities/plan/schemas/triggers.yaml +8 -31
  36. package/bundle/skills/agentera/capabilities/profile/schemas/triggers.yaml +8 -37
  37. package/bundle/skills/agentera/capabilities/research/schemas/triggers.yaml +5 -29
  38. package/bundle/skills/agentera/capabilities/status/schemas/triggers.yaml +7 -47
  39. package/bundle/skills/agentera/capabilities/vision/schemas/triggers.yaml +7 -39
  40. package/bundle/skills/agentera/capability_schema_contract.yaml +29 -29
  41. package/bundle/skills/agentera/route-phrases.yaml +81 -0
  42. package/bundle/skills/agentera/schemas/artifacts/health.yaml +25 -7
  43. package/bundle/skills/agentera/schemas/artifacts/plan.yaml +1 -2
  44. package/dist/capabilities/discuss/instructions.js +1 -1
  45. package/dist/capabilities/discuss/instructions.js.map +1 -1
  46. package/dist/capabilities/orchestrate/instructions.js +22 -2
  47. package/dist/capabilities/orchestrate/instructions.js.map +1 -1
  48. package/dist/capabilities/plan/instructions.js +1 -1
  49. package/dist/capabilities/plan/instructions.js.map +1 -1
  50. package/dist/cli/capabilityContext/evidence.js +1 -1
  51. package/dist/cli/capabilityContext/evidence.js.map +1 -1
  52. package/dist/cli/capabilityContext/startup.js +2 -0
  53. package/dist/cli/capabilityContext/startup.js.map +1 -1
  54. package/dist/cli/commands/entityMigrate.js +7 -3
  55. package/dist/cli/commands/entityMigrate.js.map +1 -1
  56. package/dist/cli/commands/prime/briefOrientation.js +10 -3
  57. package/dist/cli/commands/prime/briefOrientation.js.map +1 -1
  58. package/dist/cli/commands/prime/collectEntityOrientation.js +64 -4
  59. package/dist/cli/commands/prime/collectEntityOrientation.js.map +1 -1
  60. package/dist/cli/commands/prime/orientationOutput.js +41 -15
  61. package/dist/cli/commands/prime/orientationOutput.js.map +1 -1
  62. package/dist/cli/commands/prime.js +4 -3
  63. package/dist/cli/commands/prime.js.map +1 -1
  64. package/dist/cli/commands/route.js +142 -0
  65. package/dist/cli/commands/route.js.map +1 -0
  66. package/dist/cli/commands/schema.js +21 -23
  67. package/dist/cli/commands/schema.js.map +1 -1
  68. package/dist/cli/commands/state/write.js +19 -0
  69. package/dist/cli/commands/state/write.js.map +1 -1
  70. package/dist/cli/commands/upgrade.js +1 -1
  71. package/dist/cli/commands/upgrade.js.map +1 -1
  72. package/dist/cli/commands/validate.js +2 -119
  73. package/dist/cli/commands/validate.js.map +1 -1
  74. package/dist/cli/commands/verify.js +17 -1
  75. package/dist/cli/commands/verify.js.map +1 -1
  76. package/dist/cli/dispatch/check.js +2 -7
  77. package/dist/cli/dispatch/check.js.map +1 -1
  78. package/dist/cli/dispatch/index.js +18 -0
  79. package/dist/cli/dispatch/index.js.map +1 -1
  80. package/dist/cli/dispatch/lifecycle.js +7 -5
  81. package/dist/cli/dispatch/lifecycle.js.map +1 -1
  82. package/dist/cli/errors.js +2 -2
  83. package/dist/cli/errors.js.map +1 -1
  84. package/dist/cli/help.js +24 -5
  85. package/dist/cli/help.js.map +1 -1
  86. package/dist/cli/migrationRequired.js +1 -1
  87. package/dist/cli/migrationRequired.js.map +1 -1
  88. package/dist/eval/hybridRouteEvaluation.js +156 -0
  89. package/dist/eval/hybridRouteEvaluation.js.map +1 -0
  90. package/dist/registries/capabilityContract.js +5 -20
  91. package/dist/registries/capabilityContract.js.map +1 -1
  92. package/dist/registries/hybridRoute.js +203 -0
  93. package/dist/registries/hybridRoute.js.map +1 -0
  94. package/dist/registries/hybridRouteReceipt.js +221 -0
  95. package/dist/registries/hybridRouteReceipt.js.map +1 -0
  96. package/dist/registries/triggerLoader.js +7 -43
  97. package/dist/registries/triggerLoader.js.map +1 -1
  98. package/dist/release/releaseMetadata.js +2 -0
  99. package/dist/release/releaseMetadata.js.map +1 -1
  100. package/dist/runtime/lifecycleAuthority.js +10 -11
  101. package/dist/runtime/lifecycleAuthority.js.map +1 -1
  102. package/dist/runtime/nativeResourceCleanup.js +317 -0
  103. package/dist/runtime/nativeResourceCleanup.js.map +1 -0
  104. package/dist/setup/codex/cli.js +9 -40
  105. package/dist/setup/codex/cli.js.map +1 -1
  106. package/dist/setup/codex/configToml.js +2 -83
  107. package/dist/setup/codex/configToml.js.map +1 -1
  108. package/dist/setup/codex/constants.js +0 -15
  109. package/dist/setup/codex/constants.js.map +1 -1
  110. package/dist/setup/codex/state.js +2 -20
  111. package/dist/setup/codex/state.js.map +1 -1
  112. package/dist/setup/codex.js +2 -4
  113. package/dist/setup/codex.js.map +1 -1
  114. package/dist/state/archiveDiscovery.js +24 -35
  115. package/dist/state/archiveDiscovery.js.map +1 -1
  116. package/dist/state/canonicalMigrationRecord.js +37 -0
  117. package/dist/state/canonicalMigrationRecord.js.map +1 -0
  118. package/dist/state/decisionEntities.js +73 -33
  119. package/dist/state/decisionEntities.js.map +1 -1
  120. package/dist/state/decisionLegacyValidation.js +31 -0
  121. package/dist/state/decisionLegacyValidation.js.map +1 -1
  122. package/dist/state/decisionMigrationProvenance.js +117 -0
  123. package/dist/state/decisionMigrationProvenance.js.map +1 -0
  124. package/dist/state/durability.js +24 -5
  125. package/dist/state/durability.js.map +1 -1
  126. package/dist/state/entityCutover.js +2 -2
  127. package/dist/state/entityCutover.js.map +1 -1
  128. package/dist/state/entityMigrationCausality.js +99 -0
  129. package/dist/state/entityMigrationCausality.js.map +1 -0
  130. package/dist/state/entityMigrationPreview.js +138 -77
  131. package/dist/state/entityMigrationPreview.js.map +1 -1
  132. package/dist/state/entityStorage.js +59 -24
  133. package/dist/state/entityStorage.js.map +1 -1
  134. package/dist/state/healthEntities.js +69 -33
  135. package/dist/state/healthEntities.js.map +1 -1
  136. package/dist/state/healthEntityValidation.js +14 -1
  137. package/dist/state/healthEntityValidation.js.map +1 -1
  138. package/dist/state/legacySummaryRecord.js +7 -0
  139. package/dist/state/legacySummaryRecord.js.map +1 -0
  140. package/dist/state/listCursor.js +43 -0
  141. package/dist/state/listCursor.js.map +1 -0
  142. package/dist/state/migrationSourceBinding.js +29 -0
  143. package/dist/state/migrationSourceBinding.js.map +1 -0
  144. package/dist/state/progressEntities.js +35 -59
  145. package/dist/state/progressEntities.js.map +1 -1
  146. package/dist/state/retrievalAuthority.js +10 -0
  147. package/dist/state/retrievalAuthority.js.map +1 -1
  148. package/dist/state/summaryEntityRead.js +26 -0
  149. package/dist/state/summaryEntityRead.js.map +1 -0
  150. package/dist/state/summaryMigrationProvenance.js +67 -0
  151. package/dist/state/summaryMigrationProvenance.js.map +1 -0
  152. package/dist/state/summarySourceRowAuthority.js +37 -0
  153. package/dist/state/summarySourceRowAuthority.js.map +1 -0
  154. package/dist/state/write/explain.js +2 -1
  155. package/dist/state/write/explain.js.map +1 -1
  156. package/dist/upgrade/lifecycleUpgrade.js +14 -14
  157. package/dist/upgrade/lifecycleUpgrade.js.map +1 -1
  158. package/dist/upgrade/upgradeOrchestrator.js +12 -12
  159. package/dist/upgrade/upgradeOrchestrator.js.map +1 -1
  160. package/dist/validate/capability.js +11 -2
  161. package/dist/validate/capability.js.map +1 -1
  162. package/package.json +2 -2
  163. package/bundle/references/analysis/analytics-boundary-proportional-2026-07-20.yaml +0 -74
  164. package/bundle/references/analysis/evidence/analytics-boundary-proportional-2026-07-20/source-focused-1.json.gz +0 -0
  165. package/bundle/references/analysis/evidence/analytics-boundary-proportional-2026-07-20/source-focused-2.json.gz +0 -0
  166. package/bundle/references/analysis/evidence/analytics-boundary-proportional-2026-07-20/source-focused-3.json.gz +0 -0
  167. package/bundle/references/analysis/evidence/migration-pagination-proportional-2026-07-20/source-focused-1.json.gz +0 -0
  168. package/bundle/references/analysis/evidence/migration-pagination-proportional-2026-07-20/source-focused-2.json.gz +0 -0
  169. package/bundle/references/analysis/evidence/migration-pagination-proportional-2026-07-20/source-focused-3.json.gz +0 -0
  170. package/bundle/references/analysis/evidence/verification-baseline-2026-07-20/precommit-cli-route.log.gz +0 -0
  171. package/bundle/references/analysis/evidence/verification-baseline-2026-07-20/precommit-cli.log.gz +0 -0
  172. package/bundle/references/analysis/evidence/verification-baseline-2026-07-20/precommit-documentation.log.gz +0 -0
  173. package/bundle/references/analysis/evidence/verification-baseline-2026-07-20/recompute.mjs +0 -98
  174. package/bundle/references/analysis/evidence/verification-baseline-2026-07-20/source-1.json.gz +0 -0
  175. package/bundle/references/analysis/evidence/verification-baseline-2026-07-20/source-2.json.gz +0 -0
  176. package/bundle/references/analysis/evidence/verification-baseline-2026-07-20/source-3.json.gz +0 -0
  177. package/bundle/references/analysis/migration-pagination-proportional-2026-07-20.yaml +0 -64
  178. package/bundle/references/analysis/verification-baseline-2026-07-20.yaml +0 -313
  179. package/bundle/references/analysis/verification-final-proof-2026-07-21.yaml +0 -340
  180. package/bundle/references/analysis/worker-policy-2026-07-21.yaml +0 -207
  181. package/bundle/skills/agentera/agents/audit.toml +0 -6
  182. package/bundle/skills/agentera/agents/build.toml +0 -6
  183. package/bundle/skills/agentera/agents/design.toml +0 -6
  184. package/bundle/skills/agentera/agents/discuss.toml +0 -6
  185. package/bundle/skills/agentera/agents/document.toml +0 -6
  186. package/bundle/skills/agentera/agents/optimize.toml +0 -6
  187. package/bundle/skills/agentera/agents/orchestrate.toml +0 -6
  188. package/bundle/skills/agentera/agents/plan.toml +0 -6
  189. package/bundle/skills/agentera/agents/profile.toml +0 -6
  190. package/bundle/skills/agentera/agents/research.toml +0 -6
  191. package/bundle/skills/agentera/agents/status.toml +0 -6
  192. package/bundle/skills/agentera/agents/vision.toml +0 -6
  193. package/dist/runtime/retiredRuntimeCleanup.js +0 -238
  194. package/dist/runtime/retiredRuntimeCleanup.js.map +0 -1
  195. package/dist/setup/codex/agents.js +0 -96
  196. package/dist/setup/codex/agents.js.map +0 -1
@@ -1,340 +0,0 @@
1
- schemaVersion: agentera.verificationFinalProof.v1
2
- status: accepted
3
- captured: 2026-07-21
4
- task: ymkdnqmroi
5
-
6
- scope:
7
- authoritative_policy: references/analysis/verification-policy.yaml
8
- historical_baseline: references/analysis/verification-baseline-2026-07-20.yaml
9
- measured_selector: AGENTERA_VITEST_RUNNER_POLICY=local-16-logical-cpu-node22
10
- worker_policy: references/analysis/worker-policy-2026-07-21.yaml
11
- measured_parent: 2e84ba028a3c8ec76649e06b00e21e9452b4ef60
12
- parent_worktree_diff_sha256: 58d4b87c4caa29990af3a32238a96bd89503016db4d74aaaf4c088df8d18bba6
13
- runner:
14
- name: local-16-logical-cpu-node22
15
- os: Linux 7.1.4-1-cachyos x86_64
16
- cpu: AMD Ryzen 7 9800X3D 8-Core Processor
17
- physical_cores: 8
18
- logical_cpus: 16
19
- node: v22.23.1
20
- pnpm: 10.30.3
21
- resolved_workers: 8
22
- final_inventory_sha256: 37b16a0224f75b2160fd85094d3a9ee3d77a6ac31eaf36f2f2df600a3cb54e61
23
- final_input_sha256:
24
- packages/cli/test/state/planEntities.test.ts: 5b08500e57f31b13d89201e490c35aaa9fd73ee25ac70ecfbb431dc6bfef868e
25
- packages/cli/test/cli/primeCompatibilityBoundary.test.ts: a1b0000b0534908ce380c4c604973689e149654faf0ef6b22b107fe53dc35ffe
26
- packages/cli/test/cli/activeProtocolSurface.test.ts: 7f4f44267adaad08209c3d8346ba4fbe45cdefa223560cbe494eef5e92ece4e0
27
- packages/cli/test/cli/lifecycleProtocol.test.ts: 0eb13ce63e8b4078e3aa566633bca850a0840ffafeac1ade96ab9b39344b0435
28
- packages/cli/test/cli/retiredVocabulary.ts: 60d6282180579ec5edc0f8bed7e285e21629c3191d1e0995b76a0bb35462aba6
29
- packages/cli/test/verification/laneOwnership.test.ts: 67388a1cb38c430351ddef22a59afdf981c616b0f40fe5cf0710718a817cb51f
30
- docs/packaging/v3-packaging.md: f9fab7467c3740d2c5a5c185846bb2ab8efcdfdd48bcc69cd4958c6c1fb0f5fb
31
-
32
- controlled_parent_block:
33
- purpose: establish the exact audit-1 retry tree before proof, classification, or optimization edits
34
- process_conditions:
35
- captured_at: 2026-07-21T15:42:00+02:00
36
- one_user: true
37
- competing_cpu_bound_process_observed: false
38
- VITEST_MAX_WORKERS: unset
39
- selector_resolution: named selector resolved to eight workers
40
- command: >-
41
- AGENTERA_VITEST_RUNNER_POLICY=local-16-logical-cpu-node22
42
- AGENTERA_VERIFICATION_RESULT=/tmp/opencode/ymkdnqmroi-current-<phase>.json
43
- pnpm -C packages/cli run test:source
44
- warmup:
45
- retained: false
46
- wall_seconds: 45.765
47
- status: pass
48
- retained_runs:
49
- - sample: 1
50
- wall_seconds: 46.401
51
- files: 194
52
- tests_passed: 2369
53
- tests_skipped: 1
54
- - sample: 2
55
- wall_seconds: 45.973
56
- files: 194
57
- tests_passed: 2369
58
- tests_skipped: 1
59
- - sample: 3
60
- wall_seconds: 45.697
61
- files: 194
62
- tests_passed: 2369
63
- tests_skipped: 1
64
- median_wall_seconds: 45.973
65
- result: fail
66
- interpretation: >-
67
- The exact audit-1 retry tree still exceeded 45 seconds without one outlier,
68
- so fixture/setup optimization was required. The JSON-only owner channel did
69
- not emit Vitest transform/import dimensions; those are not reconstructed.
70
-
71
- root_cause:
72
- finding: >-
73
- Source tests repeatedly rebuilt equivalent fixture state. The prime
74
- compatibility selector ran one complete prime projection per declared field;
75
- the archived-plan read test ran 21 already-covered public create/archive
76
- cycles; and activeProtocolSurface regenerated every capability context even
77
- though it already scans every capability instruction while lifecycleProtocol
78
- separately generates every context for canonical plan projection.
79
- correction: >-
80
- Batch all declared fields through the documented comma-separated selector,
81
- seed canonical archived read fixtures while retaining the separate public
82
- lifecycle/archive acceptance, capture one representative runtime context in
83
- activeProtocolSurface while retaining all-instruction scanning, and reconcile
84
- retired vocabulary in lifecycleProtocol's already-generated all-capability
85
- contexts alongside its canonical plan assertion.
86
- assertions_removed: 0
87
- tests_skipped_or_deleted: 0
88
- thresholds_changed: false
89
-
90
- ownership:
91
- inventory:
92
- total_files: 200
93
- source: 194
94
- stress: 1
95
- performance: 3
96
- package: 2
97
- mixed_files: 0
98
- result: pass
99
- independent_owners:
100
- - owner: source
101
- command: pnpm -C packages/cli run test:source
102
- wall_seconds: 43.194
103
- files: 194
104
- passed_tests: 2369
105
- skipped_tests: 1
106
- result: pass
107
- - owner: stress
108
- command: pnpm -C packages/cli run test:stress
109
- wall_seconds: 19.668
110
- files: 1
111
- passed_tests: 2
112
- result: pass
113
- - owner: performance
114
- command: pnpm -C packages/cli run test:performance
115
- wall_seconds: 18.495
116
- files: 3
117
- passed_tests: 3
118
- structured_evidence: pass
119
- result: pass
120
- - owner: package
121
- command: pnpm -C packages/cli run verify:package
122
- wall_seconds: 16.533
123
- files: 2
124
- passed_tests: 10
125
- result: pass
126
-
127
- policy_compositions:
128
- result: pass
129
- runs:
130
- - { policy: targeted, owners: [source], wall_seconds: 42.701, result: pass }
131
- - { policy: precommit, owners: [source], wall_seconds: 42.754, result: pass }
132
- - { policy: fast, owners: [source], wall_seconds: 43.486, result: pass }
133
- - { policy: local, owners: [source], wall_seconds: 42.343, result: pass }
134
- - { policy: merge, owners: [source, package], wall_seconds: 50.191, result: pass }
135
- - { policy: scheduled, owners: [source, stress, performance], wall_seconds: 81.380, result: pass }
136
- - { policy: release, owners: [source, stress, performance, package], wall_seconds: 98.976, result: pass }
137
- interpretation: >-
138
- Every canonical policy executed the exact ordered owner list declared by the
139
- policy authority. Inventory validation found no gap, overlap, or mixed file.
140
-
141
- final_measurement:
142
- classification_boundary: >-
143
- All code, test, packaging documentation, and evidence-file location choices
144
- were final before this block. Retained evidence lives under evidence/ rather
145
- than package-copied references/, so retaining reports does not alter the
146
- source owner inventory or package fixture input. Only typed state records are
147
- appended after this proof.
148
- process_conditions:
149
- captured_at: 2026-07-21T16:32:32+02:00
150
- load_average: [1.11, 2.78, 5.52]
151
- cpu_temperature_celsius: 44.2
152
- one_user: true
153
- competing_cpu_bound_process_observed: false
154
- VITEST_MAX_WORKERS: unset
155
- selector_resolution: named selector resolved to eight workers
156
- command: >-
157
- Resolve files.source from `node packages/cli/scripts/verify-lane.mjs
158
- inventory --json`, then from packages/cli run `AGENTERA_VITEST_RUNNER_POLICY=
159
- local-16-logical-cpu-node22 pnpm exec vp test run --config vite.config.ts
160
- --reporter=default --reporter=json --outputFile=<sample>.json <exact files>`.
161
- wall_definition: Bash process wall around the complete pnpm observer
162
- dimensions_definition: Vitest default reporter from the same process
163
- cumulative_definition: sum of JSON assertion durations; concurrent assertions overlap
164
- warmup:
165
- retained: false
166
- wall_seconds: 41.675
167
- vitest_duration_seconds: 41.09
168
- transform_seconds: 4.00
169
- setup_seconds: 0
170
- import_seconds: 21.00
171
- cumulative_test_seconds: 276.35
172
- status: pass
173
- retained_runs:
174
- - sample: 1
175
- wall_seconds: 41.803
176
- vitest_duration_seconds: 41.23
177
- transform_seconds: 4.14
178
- setup_seconds: 0
179
- import_seconds: 21.07
180
- cumulative_test_seconds: 277.24
181
- cumulative_assertion_seconds: 268.853
182
- files: 194
183
- tests_passed: 2369
184
- tests_skipped: 1
185
- - sample: 2
186
- wall_seconds: 43.020
187
- vitest_duration_seconds: 42.45
188
- transform_seconds: 4.30
189
- setup_seconds: 0
190
- import_seconds: 22.35
191
- cumulative_test_seconds: 284.94
192
- cumulative_assertion_seconds: 276.478
193
- files: 194
194
- tests_passed: 2369
195
- tests_skipped: 1
196
- - sample: 3
197
- wall_seconds: 42.908
198
- vitest_duration_seconds: 42.33
199
- transform_seconds: 4.53
200
- setup_seconds: 0
201
- import_seconds: 22.00
202
- cumulative_test_seconds: 284.11
203
- cumulative_assertion_seconds: 275.542
204
- files: 194
205
- tests_passed: 2369
206
- tests_skipped: 1
207
- median:
208
- wall_seconds: 42.908
209
- vitest_duration_seconds: 42.33
210
- transform_seconds: 4.30
211
- setup_seconds: 0
212
- import_seconds: 22.00
213
- cumulative_test_seconds: 284.11
214
- cumulative_assertion_seconds: 275.542
215
- files: 194
216
- tests_total: 2370
217
-
218
- comparison_to_four_worker_baseline:
219
- baseline:
220
- wall_seconds: 81.466
221
- vitest_duration_seconds: 80.90
222
- transform_seconds: 1.76
223
- setup_seconds: 0
224
- import_seconds: 14.10
225
- cumulative_assertion_seconds: 280.978
226
- files: 191
227
- tests: 2230
228
- workers: 4
229
- final:
230
- wall_seconds: 42.908
231
- vitest_duration_seconds: 42.33
232
- transform_seconds: 4.30
233
- setup_seconds: 0
234
- import_seconds: 22.00
235
- cumulative_assertion_seconds: 275.542
236
- files: 194
237
- tests: 2370
238
- workers: 8
239
- arithmetic:
240
- wall_seconds_saved: 38.558
241
- wall_improvement_percent: 47.330
242
- file_count_change: 3
243
- file_count_change_percent: 1.571
244
- test_count_change: 140
245
- test_count_change_percent: 6.278
246
- cumulative_assertion_time_change_percent: -1.935
247
- inventory_caveat: >-
248
- The historical baseline has three fewer files and 140 fewer tests. Wall
249
- improvement is process-level acceptance evidence; component and cumulative
250
- assertion comparisons are not like-for-like speed claims.
251
-
252
- slowest_tests:
253
- audit_1_before_observer:
254
- - { test: planEntities active beside archived plans, milliseconds: 7717 }
255
- - { test: primeCompatibility declared selector fields, milliseconds: 5533 }
256
- - { test: activeProtocol retired vocabulary surface, milliseconds: 4256 }
257
- - { test: lifecycleProtocol canonical startup and compact, milliseconds: 3868 }
258
- - { test: listRetrieval bounded yaml cursor, milliseconds: 3522 }
259
- final_target_medians:
260
- - { test: planEntities active beside archived plans, milliseconds: 587.414 }
261
- - { test: primeCompatibility declared selector fields, milliseconds: 359.191 }
262
- - { test: activeProtocol retired vocabulary surface, milliseconds: 1290.204 }
263
- - { test: lifecycleProtocol canonical startup and compact, milliseconds: 3896.026 }
264
- final_top_five_medians:
265
- - { test: lifecycleProtocol canonical startup and compact, milliseconds: 3896.026 }
266
- - { test: listRetrieval bounded yaml cursor, milliseconds: 3593.758 }
267
- - { test: listRetrieval bounded json cursor, milliseconds: 3493.647 }
268
- - { test: listRetrieval bounded text cursor, milliseconds: 3396.428 }
269
- - { test: prime projection emoji boundary, milliseconds: 3247.478 }
270
-
271
- raw_evidence:
272
- root: evidence/ymkdnqmroi
273
- compression: deterministic gzip with mtime zero
274
- files:
275
- current-warmup.log.gz: 9dbc7e00caece9d35f509817c8e7c6ccbefe670e69c8811a988b2cba66ffb24d
276
- current-run1.log.gz: 7948e21a0106f62cedaf8f1b4183f8d44a37ab6e03992f42b8b21ef03902b989
277
- current-run2.log.gz: 99f212158e94d028eff9c7e74e13686f2a505866604658fe0f0a9136ba0d90c1
278
- current-run3.log.gz: ee9f52621e5a842cce784ab1b7dd549f516c563160d58b1a3da35f87f5a2ed41
279
- final-warmup.log.gz: 465a27912a194b452020ac0aa74cd765bec0eed6e4108f9817d46af648177779
280
- final-run1.log.gz: 824d383262fe2f80a882ba271e07ee7a8630cd4bce6a41106b9c9b026b54c6d0
281
- final-run1.json.gz: eec0244f5f18ff2050d0b40d8ea594653017f5c472a7cc6dbea8753b83ade1c7
282
- final-run2.log.gz: 69526e343d003d69f470c7906935d3fb183b2c2a77864b5e7eda0c5bbef8a989
283
- final-run2.json.gz: f7240ced75283ef764855856eea4bc37a91dd0aac11f13416572e740e555fac3
284
- final-run3.log.gz: c7ec7f4c0fbe4d544a1ab13ec996c2fceae2c49aaede16ed85a98dfe6ee8e11b
285
- final-run3.json.gz: eba2c5fe1f58234ba9b20b6ffe0d417f3db6088c421d9386ff5a62f444d75385
286
- original_current_json_sha256:
287
- warmup: 07c1bdf72bbbee6d150cd2d3e39f4e58d43e71c092c40f798ee9f7d62b1b6865
288
- run1: d3ec0f4d95351c0c889eb41e6488a351c0b5a75437bfaf8c3561958c567b35bb
289
- run2: ebcec8e6e61fe75d8bc695ec7f564e24063f6a62ae841eff363340a115482cfe
290
- run3: dafa94e46ccc8df16130cf3c17f62bca863046ceae445d10b1365fc2265490f5
291
- recompute: >-
292
- Run `sha256sum evidence/ymkdnqmroi/*`; use `gzip -dc` on each log to
293
- recover timestamps, command, Vitest dimensions, and Bash wall; parse each
294
- final JSON with Node, sum finite assertionResults[].duration values, and
295
- median the three per-assertion durations for slow-test ranking.
296
-
297
- gates:
298
- - { command: pnpm -C packages/cli run verify:generated-overlap, result: pass, detail: source 194/2370; package 2/10; build pass; zero mismatches }
299
- - { command: pnpm -C packages/cli run typecheck, result: pass }
300
- - { command: pnpm -C packages/cli build, result: pass }
301
- - { command: node packages/cli/dist/bin/agentera.js check validate capability-contract --format json, result: pass }
302
- - { command: node packages/cli/dist/bin/agentera.js check compact, result: pass }
303
- - { command: pnpm -C packages/cli run pack:dry-run, result: pass, detail: 686 package entries }
304
- - { command: bash packages/cli/scripts/py_ts_parity.sh --check --json, result: pass, detail: drift none }
305
- - { command: bunx markdownlint docs/packaging/v3-packaging.md TODO.md, result: pass }
306
-
307
- narrow_repair_verification:
308
- focused_runtime_and_ownership:
309
- command: >-
310
- pnpm -C packages/cli run test:source --
311
- test/cli/activeProtocolSurface.test.ts test/cli/lifecycleProtocol.test.ts
312
- test/verification/laneOwnership.test.ts
313
- result: pass
314
- detail: 3 files, 84 tests; lifecycleProtocol reconciled all 12 already-generated capability payloads, and lane ownership remained green.
315
- ordinary_source:
316
- command: >-
317
- AGENTERA_VITEST_RUNNER_POLICY=local-16-logical-cpu-node22
318
- pnpm -C packages/cli run test:source
319
- result: pass
320
- detail: 194 files, 2369 passed, 1 skipped; Vitest duration 42.83 seconds.
321
- typecheck:
322
- command: pnpm -C packages/cli run typecheck
323
- result: pass
324
-
325
- acceptance:
326
- owners_independent: pass
327
- policy_compositions: pass
328
- worker_count_at_most_eight: pass
329
- median_wall_at_most_45_seconds: pass
330
- wall_improvement_at_least_35_percent: pass
331
- documentation_synchronized: pass
332
- changelog_unchanged: pass
333
- conclusion: qgkxggjber is complete; ymkdnqmroi remains blocked as audit-2 historical provenance.
334
-
335
- caveats:
336
- - Approximately two seconds of ordinary wall-time variance on this non-isolated developer machine is nonblocking and not a refactor trigger; the retained meaningful improvement, eight-worker bound, and functional correctness evidence remain accepted.
337
- - Decisions retrieval remained degraded to 5 of 50; omitted records were not reconstructed.
338
- - Satisfaction remains unavailable for llavvlpcmb and djmjbmruyk.
339
- - Vision and profile were absent; no approval was inferred.
340
- - The missing NPM_TOKEN warning is nonblocking and no publication was attempted.
@@ -1,207 +0,0 @@
1
- schemaVersion: agentera.workerPolicyBenchmark.v1
2
- status: selected
3
- captured: 2026-07-21
4
-
5
- runner:
6
- baseline_reference: references/analysis/verification-baseline-2026-07-20.yaml
7
- name: local-16-logical-cpu-node22
8
- plan_label: named 16-core Node 22 runner
9
- plan_label_mapping: >-
10
- "16-core" means the 16 logical scheduling CPUs reported by nproc and
11
- os.cpus(), not physical cores. The named runner is an AMD Ryzen 7 9800X3D
12
- with 8 physical cores and 16 threads, running Linux 7.1.4-1-cachyos,
13
- Node v22.23.1, and pnpm 10.30.3. This preserves the historical baseline's
14
- terminology without claiming 16 physical cores.
15
-
16
- method:
17
- command: pnpm run test:source
18
- working_directory: packages/cli
19
- selection: >-
20
- Each candidate was supplied only through VITEST_MAX_WORKERS, after which
21
- the source owner selected its complete inventory through verify-lane.mjs.
22
- No file filters, retries, reporter overrides, or concurrent invocations
23
- were used.
24
- protocol: >-
25
- Run one unretained warmup followed immediately by three retained runs for
26
- each safe candidate, serially in ascending worker order. Record Bash
27
- process wall time and Vitest's reported duration, file count, and test
28
- count. The shell emitted comma decimal separators; table values normalize
29
- them to decimal points.
30
- reproduction: >-
31
- From packages/cli, for each workers value and phase in warmup sample-1
32
- sample-2 sample-3, run: TIMEFORMAT="workers=$workers phase=$phase
33
- wall_seconds=%3R"; time env VITEST_MAX_WORKERS="$workers" pnpm run
34
- test:source. Run candidates serially; retain only the three samples after
35
- each warmup.
36
- pass_conditions:
37
- - source command exits zero
38
- - 193 test files pass and 2365 tests pass with one declared Darwin skip
39
- - no test exceeds the configured 30000 ms timeout
40
- - no retry, shared-output failure, or generated-output race is reported
41
-
42
- candidates:
43
- - workers: 6
44
- warmup:
45
- wall_seconds: 66.085
46
- vitest_duration_seconds: 64.47
47
- retained:
48
- - wall_seconds: 55.297
49
- vitest_duration_seconds: 54.30
50
- - wall_seconds: 50.028
51
- vitest_duration_seconds: 49.09
52
- - wall_seconds: 49.322
53
- vitest_duration_seconds: 48.38
54
- median:
55
- wall_seconds: 50.028
56
- vitest_duration_seconds: 49.09
57
- result: pass
58
- - workers: 8
59
- warmup:
60
- wall_seconds: 43.899
61
- vitest_duration_seconds: 42.94
62
- retained:
63
- - wall_seconds: 43.968
64
- vitest_duration_seconds: 43.03
65
- - wall_seconds: 43.598
66
- vitest_duration_seconds: 42.66
67
- - wall_seconds: 43.926
68
- vitest_duration_seconds: 42.99
69
- median:
70
- wall_seconds: 43.926
71
- vitest_duration_seconds: 42.99
72
- result: pass
73
-
74
- selection:
75
- precedence:
76
- - VITEST_MAX_WORKERS explicit numeric override
77
- - AGENTERA_VITEST_RUNNER_POLICY=local-16-logical-cpu-node22
78
- - unmeasured fallback
79
- measured_local:
80
- selector: AGENTERA_VITEST_RUNNER_POLICY=local-16-logical-cpu-node22
81
- workers: 8
82
- evidence_status: measured
83
- rationale: >-
84
- Eight is the faster of the two safe, repeatably passing candidates: its
85
- 43.926-second retained median is 6.102 seconds (12.197 percent) below the
86
- six-worker median. It is also the plan's stated maximum safe candidate.
87
- It is selected only through the named runner-policy selector, never from
88
- CPU count or host fingerprinting.
89
- unmeasured_fallback:
90
- selector: AGENTERA_VITEST_RUNNER_POLICY=unmeasured or no recognized selector
91
- workers: 4
92
- evidence_status: unmeasured_pending_benchmark
93
- evidence: >-
94
- references/analysis/verification-baseline-2026-07-20.yaml retains only
95
- the named local runner's measurements and requires each CI runner to be
96
- benchmarked. No retained GitHub-hosted runner measurement is available.
97
- rationale: >-
98
- Four workers is a conservative bounded fallback, not a GitHub-hosted
99
- runner measurement. Every CI runner needs its own retained benchmark
100
- before a tuned policy may replace it.
101
- explicit_override:
102
- selector: VITEST_MAX_WORKERS=<Vitest-supported worker count>
103
- evidence_status: operator_selected
104
- rationale: >-
105
- This takes precedence over runner policy and is not presented as a
106
- benchmarked setting unless separately measured and recorded.
107
- historical_baseline: >-
108
- The preserved four-worker baseline is 81.466 seconds median at source
109
- revision af9cf773 (references/analysis/verification-baseline-2026-07-20.yaml).
110
- Its 191 files and 2230 tests differ from this checkout's 193 files and
111
- 2365 tests, so it provides historical context rather than a like-for-like
112
- speedup calculation.
113
- unsafe_upper_bound: >-
114
- Twelve workers previously failed under contention. It was not rerun and
115
- is not a supported candidate, a selection target, or evidence superseded
116
- by this measurement.
117
-
118
- superseded_confirmation:
119
- command: pnpm run test:source
120
- environment: VITEST_MAX_WORKERS unset; previous global default selected eight workers
121
- consecutive_runs:
122
- - wall_seconds: 43.869
123
- vitest_duration_seconds: 42.90
124
- files_passed: 194
125
- tests_passed: 2366
126
- tests_skipped: 1
127
- - wall_seconds: 43.972
128
- vitest_duration_seconds: 43.02
129
- files_passed: 194
130
- tests_passed: 2366
131
- tests_skipped: 1
132
- - wall_seconds: 44.210
133
- vitest_duration_seconds: 43.27
134
- files_passed: 194
135
- tests_passed: 2366
136
- tests_skipped: 1
137
- result: >-
138
- These three serial source runs passed without timeout, retry, shared-output
139
- race, or generated-output failure, but they predate the runner-specific
140
- correction and must not be treated as evidence for the selector below.
141
-
142
- corrected_final_confirmation:
143
- command: pnpm run test:source
144
- environment: AGENTERA_VITEST_RUNNER_POLICY=local-16-logical-cpu-node22; VITEST_MAX_WORKERS unset
145
- consecutive_runs:
146
- - wall_seconds: 43.508
147
- vitest_duration_seconds: 42.56
148
- files_passed: 194
149
- tests_passed: 2369
150
- tests_skipped: 1
151
- - wall_seconds: 43.806
152
- vitest_duration_seconds: 42.85
153
- files_passed: 194
154
- tests_passed: 2369
155
- tests_skipped: 1
156
- - wall_seconds: 43.330
157
- vitest_duration_seconds: 42.39
158
- files_passed: 194
159
- tests_passed: 2369
160
- tests_skipped: 1
161
- result: >-
162
- All three serial runs selected the named measured-local policy and passed
163
- without timeout, retry, shared-output race, or generated-output failure.
164
-
165
- unmeasured_path_verification:
166
- environment: AGENTERA_VITEST_RUNNER_POLICY=unmeasured
167
- runner: local-16-logical-cpu-node22
168
- workers: 4
169
- wall_seconds: 71.296
170
- vitest_duration_seconds: 70.34
171
- files_passed: 194
172
- tests_passed: 2369
173
- tests_skipped: 1
174
- interpretation: >-
175
- This is one local integration check of the unmeasured selector, not a
176
- GitHub-hosted benchmark or evidence that CI can be tuned to four workers.
177
-
178
- policy_composition:
179
- authority: references/analysis/verification-policy.yaml
180
- verification: >-
181
- laneOwnership.test.ts requires the exact Task 2 policy compositions:
182
- targeted/precommit/fast/local=[source], merge=[source, package],
183
- scheduled=[source, stress, performance], and
184
- release=[source, stress, performance, package]. verify-lane validates
185
- exactly one primary owner per inventory file before composing a policy.
186
- precommit: >-
187
- scripts/precommit-vitest.sh routes ordinary staged source work to source
188
- and conservative authority surfaces to release; it delegates composition
189
- to verify-lane rather than declaring a second owner policy.
190
- ci: >-
191
- .github/workflows/ci.yml explicitly supplies
192
- AGENTERA_VITEST_RUNNER_POLICY=unmeasured to source verification. This
193
- selects the four-worker pending-benchmark fallback; it does not claim a
194
- GitHub-hosted measurement. CI separately invokes source and package
195
- owners; stress and performance remain scheduled/release policy owners.
196
- No new composition or owner was added for worker selection.
197
-
198
- caveats:
199
- - >-
200
- references/analysis/verification-final-proof-2026-07-21.yaml reran the
201
- classified final tree on this selector after measured fixture deduplication.
202
- All owner and policy evidence passed; the 42.908-second source median is
203
- 47.330 percent below the historical four-worker baseline and satisfies the
204
- 45-second task limit.
205
- - Decisions retrieval was degraded to 5 of 50 records; missing detail was not reconstructed.
206
- - Satisfaction records remain unavailable for llavvlpcmb and djmjbmruyk.
207
- - Vision and profile state were absent from the original build context; no approval was inferred.
@@ -1,6 +0,0 @@
1
- # agentera_managed: true
2
- name = "audit"
3
- description = "Codebase health audit."
4
- developer_instructions = """
5
- You are the Agentera audit 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 audit --format json` to fetch the authoritative instructions as a JSON capsule (the `capability_context.instructions` 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
- """
@@ -1,6 +0,0 @@
1
- # agentera_managed: true
2
- name = "build"
3
- description = "Autonomous development execution."
4
- developer_instructions = """
5
- You are the Agentera build 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 build --format json` to fetch the authoritative instructions as a JSON capsule (the `capability_context.instructions` 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
- """
@@ -1,6 +0,0 @@
1
- # agentera_managed: true
2
- name = "design"
3
- description = "Visual identity and design systems."
4
- developer_instructions = """
5
- You are the Agentera design 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 design --format json` to fetch the authoritative instructions as a JSON capsule (the `capability_context.instructions` 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
- """
@@ -1,6 +0,0 @@
1
- # agentera_managed: true
2
- name = "discuss"
3
- description = "Structured deliberation and decision support."
4
- developer_instructions = """
5
- You are the Agentera discuss 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 discuss --format json` to fetch the authoritative instructions as a JSON capsule (the `capability_context.instructions` 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
- """
@@ -1,6 +0,0 @@
1
- # agentera_managed: true
2
- name = "document"
3
- description = "Documentation updates and synchronization."
4
- developer_instructions = """
5
- You are the Agentera document 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 document --format json` to fetch the authoritative instructions as a JSON capsule (the `capability_context.instructions` 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
- """
@@ -1,6 +0,0 @@
1
- # agentera_managed: true
2
- name = "optimize"
3
- description = "Metric-driven optimization cycles."
4
- developer_instructions = """
5
- You are the Agentera optimize 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 optimize --format json` to fetch the authoritative instructions as a JSON capsule (the `capability_context.instructions` 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
- """
@@ -1,6 +0,0 @@
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 `capability_context.instructions` 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
- """
@@ -1,6 +0,0 @@
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 `capability_context.instructions` 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
- """
@@ -1,6 +0,0 @@
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 `capability_context.instructions` 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
- """
@@ -1,6 +0,0 @@
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 `capability_context.instructions` 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
- """
@@ -1,6 +0,0 @@
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 `capability_context.instructions` 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
- """
@@ -1,6 +0,0 @@
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 `capability_context.instructions` 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
- """