agentera 3.0.0-dev.75 → 3.0.0-dev.77

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 (64) hide show
  1. package/README.md +23 -0
  2. package/bundle/.agentera-build-source.json +5 -5
  3. package/bundle/CHANGELOG.md +15 -1
  4. package/bundle/UPGRADE.md +24 -5
  5. package/bundle/references/adapters/package-publication.json +4 -4
  6. package/bundle/references/adapters/package-registry.yaml +153 -151
  7. package/bundle/references/adapters/product-v1-reset.yaml +101 -0
  8. package/bundle/references/artifacts/glossary-entry-contract.yaml +163 -9
  9. package/bundle/references/artifacts/state-storage-authority.yaml +0 -5
  10. package/bundle/references/cli/update-channels.yaml +1 -1
  11. package/bundle/references/cli/vocabulary-index.yaml +2 -2
  12. package/bundle/references/cli/vocabulary.md +2 -3
  13. package/bundle/references/meta/retained-reference-authority.yaml +5 -0
  14. package/bundle/skills/agentera/schemas/artifacts/decisions.yaml +1 -20
  15. package/bundle/skills/agentera/schemas/artifacts/docs.yaml +0 -31
  16. package/bundle/skills/agentera/schemas/artifacts/experiments.yaml +0 -25
  17. package/bundle/skills/agentera/schemas/artifacts/glossary.yaml +1 -1
  18. package/bundle/skills/agentera/schemas/artifacts/health.yaml +1 -36
  19. package/bundle/skills/agentera/schemas/artifacts/objective.yaml +0 -31
  20. package/bundle/skills/agentera/schemas/artifacts/plan.yaml +1 -35
  21. package/bundle/skills/agentera/schemas/artifacts/progress.yaml +1 -25
  22. package/bundle/skills/agentera/schemas/artifacts/vision.yaml +0 -19
  23. package/dist/.agentera-build-source.json +5 -5
  24. package/dist/analytics/personalGlossaryAdmission.js +1 -1
  25. package/dist/analytics/personalGlossaryCandidateProjection.js +96 -0
  26. package/dist/analytics/personalGlossaryCandidateProjectionModel.js +1 -0
  27. package/dist/analytics/personalGlossaryRefreshProjection.js +351 -0
  28. package/dist/capabilities/status/instructions.js +1 -1
  29. package/dist/cli/commands/doctor.js +1 -0
  30. package/dist/cli/commands/personalGlossaryCandidateReads.js +12 -1
  31. package/dist/cli/commands/prime/briefOrientation.js +1 -1
  32. package/dist/cli/commands/prime/collectOrientationState.js +0 -7
  33. package/dist/cli/commands/prime/orientationOutput.js +3 -9
  34. package/dist/cli/commands/report.js +98 -8
  35. package/dist/cli/commands/upgrade.js +30 -0
  36. package/dist/cli/dispatch/index.js +7 -0
  37. package/dist/cli/dispatch/lifecycle.js +20 -0
  38. package/dist/cli/help.js +10 -3
  39. package/dist/cli/orientation/attention.js +1 -4
  40. package/dist/cli/productV1Eol.js +55 -0
  41. package/dist/cli/startupCompletenessContract.js +0 -1
  42. package/dist/cli/stateQuery.js +1 -1
  43. package/dist/registries/activationTuples.js +11 -2
  44. package/dist/registries/glossaryCandidateProjectionAuthority.js +154 -6
  45. package/dist/registries/glossaryCandidateProjectionContract.js +4 -0
  46. package/dist/registries/glossaryEntryContract.js +3 -3
  47. package/dist/registries/packagePublication.js +2 -2
  48. package/dist/runtime/nativeResourceCleanup.js +1 -0
  49. package/dist/state/entityMigrationTodo.js +1 -1
  50. package/dist/state/todoDocsEntities.js +8 -3
  51. package/dist/state/todoMarkdownProjection.js +18 -6
  52. package/dist/state/todoReconciliationInspection.js +15 -2
  53. package/dist/state/todoReconciliationRepair.js +3 -1
  54. package/dist/state/todoSeverityHeadings.js +71 -0
  55. package/dist/upgrade/legacyAgentCleanup.js +1 -1
  56. package/dist/upgrade/migrateArtifactsV2ToV3.js +1 -27
  57. package/dist/upgrade/nextMajorDoctor.js +0 -21
  58. package/dist/upgrade/productV1Reset.js +515 -0
  59. package/dist/upgrade/productV1ResetAuthority.js +139 -0
  60. package/dist/upgrade/projectIntegration.js +4 -6
  61. package/dist/upgrade/upgradeOrchestrator.js +4 -12
  62. package/dist/validate/{v1LegacyCruft.js → glossaryVariantGuard.js} +3 -38
  63. package/package.json +2 -2
  64. package/dist/cli/commands/prime/v1Migration.js +0 -38
package/README.md CHANGED
@@ -78,6 +78,15 @@ Preview has no side effects. The apply path is the explicit, one-way v2-to-v3
78
78
  migration described in [UPGRADE.md](../../UPGRADE.md); it does not run a native
79
79
  package installer.
80
80
 
81
+ Agentera product v1 is unsupported. V3 does not migrate or preserve v1 state.
82
+ If product-v1 evidence is detected, ordinary commands stop without mutation and
83
+ the upgrade guide's separate `--reset-product-v1` workflow is the only
84
+ continuation. Its reviewed apply deletes all Agentera state in the listed
85
+ project, profile, installation, and runtime scopes with no backup or restore.
86
+ That reset is destructive and irreversible. It does not replace the supported
87
+ v2-to-v3 migration above. Current schema identifiers ending in `.v1` remain
88
+ valid and do not identify product v1.
89
+
81
90
  Native Agentera resource cleanup is intentionally separate from host support:
82
91
 
83
92
  ```bash
@@ -114,6 +123,20 @@ details.
114
123
 
115
124
  ## Private personal glossary candidate reads
116
125
 
126
+ An explicitly consented refresh is the production candidate producer:
127
+
128
+ ```bash
129
+ npx -y agentera@next report refresh --consent local-history
130
+ ```
131
+
132
+ After publishing bounded evidence, the same refresh mines explicit and recurring
133
+ signals and writes one private projection bound to that evidence generation.
134
+ Candidate-list summaries include fixed-key aggregate candidate and abstention
135
+ counts for each mining family. They do not expose rejected terms, sources,
136
+ anchors, projects, paths, or excerpts. If projection publication fails, the
137
+ evidence remains current and the nonzero response gives the same consented
138
+ refresh command as recovery.
139
+
117
140
  The user-local candidate projection has a separate read-only surface. It does
118
141
  not need a project checkout and never reads a project glossary.
119
142
 
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": "agentera.generatedBuildSource.v1",
3
- "commit": "01a0c460f2310bae5805a637973021af30960ee5",
4
- "tree": "998eef2c833de05d61612ce021a02ecb28a0b2b5",
5
- "files": 6748,
6
- "workingTreeSha256": "3c780bac24a26ed1c40735614d2e9313eb30114901d6b71beb427a74e144bb22",
7
- "identitySha256": "04d4e2a388eb6420f37ce0ee4c7052d3a85035d2e0e23e4eaaa980b96e36bf58"
3
+ "commit": "df1d7a16aa38028099462135eed9f3485e9b2976",
4
+ "tree": "92881acdddaeb9e0cda57eb37a66ef839437b418",
5
+ "files": 6815,
6
+ "workingTreeSha256": "aa5a547104def37dc4cad08cc57312e5b8ed1693db759ca573f436542a4bed77",
7
+ "identitySha256": "1d8e4406fbd4e18f39e2d32eaf8f9494a78e17a1b225e5d8cd5ba1fd5c652728"
8
8
  }
@@ -18,6 +18,15 @@
18
18
 
19
19
  ### Changed
20
20
 
21
+ - Consented `agentera report refresh --consent local-history` now publishes the
22
+ deterministic personal-glossary candidate projection for the new evidence
23
+ generation. Projection failures keep evidence current, return nonzero with
24
+ separate evidence and projection outcomes, and provide the consented retry command.
25
+ Refresh ownership now rejects active or unknown owners and safely reclaims a
26
+ lock only after its recorded process is proven dead. Candidate lists expose
27
+ privacy-safe fixed-key aggregate candidate and abstention counts, while Profile
28
+ Full preserves an existing Glossary when mining returns no candidates. Inferred
29
+ candidates remain review-only and are not automatically admitted.
21
30
  - Every passing `feat/v3` push now publishes one CI-allocated rolling
22
31
  `3.0.0-dev.N` package to npm `@next` without a metadata-only commit. The
23
32
  bounded workflow builds one isolated tarball, validates and smokes those exact
@@ -92,6 +101,11 @@
92
101
 
93
102
  ### Fixed
94
103
 
104
+ - Fixed TODO reconciliation so typed writes use canonical severity headings and
105
+ insert missing bands before later sections. Duplicate, mismatched, or
106
+ out-of-order headings now return one bounded actionable diagnosis through
107
+ TODO reads, Prime, Doctor, and state validation, and block writes before effects.
108
+ Recognized v2 `## Resolved` headings normalize during entity cutover.
95
109
  - Fixed large unsafe inactive TODO status startup to fit its 22,500-byte JSON limit with bounded recovery details.
96
110
  - Fixed fresh projects so they can initialize Plan entity state without a legacy upgrade route.
97
111
  - Fixed `agentera doctor --format json` to report bounded, read-only retirement
@@ -362,7 +376,7 @@
362
376
  - Removed Claude Code as an active runtime, runtime selector, installation target, plugin marketplace, and default analytics source. Historical transcript parsing remains available only with explicit `--import-source claude` consent and inactive provenance.
363
377
  - Removed `cursor-agent` as an independent runtime identity. Its binary and corpus source now map to the single `cursor` identity.
364
378
  - Removed `rootStatus` from public JSON output (`prime --format json` and `doctor --format json`). The field remains internal for classifier logic but is no longer exposed in diagnostic output.
365
- - Removed v1 legacy migration paths, standalone skill bundle wording, and obsolete v1 fixture assumptions from the 3.x tree after the 3.0 boundary (`packages/cli/test/cli/v1LegacyCruft.test.ts` guards against reintroduction).
379
+ - Agentera product v1 is unsupported in v3. Product-v1 evidence blocks ordinary commands without mutation and requires a separately previewed and authorized fresh reset. That reset permanently deletes all Agentera state in its listed project, profile, installation, and runtime scopes, retains no backup, and initializes fresh v3 state. The supported one-way v2-to-v3 migration is unchanged, and current schema identifiers ending in `.v1` remain valid.
366
380
  - Removed `hej`, `describe`, and `gate` from top-level `agentera --help` and dispatch; unsupported structured requests return runnable corrections to `agentera prime`, `agentera schema`, and `agentera check compact`.
367
381
  - Removed the requirement for `uv` or a git checkout on the development channel; `uvx --from git+https://github.com/jgabor/agentera@main agentera` remains the stable 2.x Python line only.
368
382
  - Removed `agentera state migrate`, `agentera state backfill`, projection repair, and automatic v1 conversion. Recognized v2 aggregate projects now use `agentera upgrade --dry-run` for preview and full `agentera upgrade --yes` for the one forward mutation path.
package/bundle/UPGRADE.md CHANGED
@@ -208,11 +208,30 @@ create dual authority, or add a repair or import command.
208
208
 
209
209
  ## Unsupported legacy state
210
210
 
211
- Pending v1 Markdown, partial, corrupt, and unknown marker-absent state are not
212
- automatic mutation inputs. `state migrate`, `state backfill`, projection repair,
213
- v1 conversion, restore, and downgrade are unsupported. Only
214
- `npx -y agentera@next upgrade --channel development --project "$PWD" --dry-run`
215
- may inventory cutover input; it cannot publish it.
211
+ Agentera product v1 is unsupported. V3 does not migrate, convert, import, back
212
+ up, restore, or retain v1 state. Current schema identifiers that end in `.v1`
213
+ are not product-v1 evidence and remain supported.
214
+
215
+ When v3 detects product-v1 evidence, ordinary commands stop without mutation.
216
+ The only continuation is a fresh-v3 reset. Preview the exact bounded project,
217
+ profile, installation, and runtime effects first:
218
+
219
+ ```bash
220
+ npx -y agentera@next upgrade --reset-product-v1 --dry-run --format json
221
+ ```
222
+
223
+ To apply after review, rerun the same scoped command and replace `--dry-run`
224
+ with `--yes --authorization TOKEN`, using the unchanged authorization digest.
225
+
226
+ This reset is destructive and irreversible. It deletes all Agentera state in
227
+ the listed scopes, retains no backup, and initializes fresh v3 installation
228
+ state. Review `irreversible_loss`, every deletion, and every recreation in the
229
+ preview before applying it. Do not use the reset for v2 projects. Supported v2
230
+ state continues to use the one-way v2-to-v3 preview and apply commands above.
231
+
232
+ Partial, corrupt, and unknown marker-absent state is not an automatic mutation
233
+ input. `state migrate`, `state backfill`, projection repair, v1 conversion,
234
+ restore, and downgrade are unsupported.
216
235
 
217
236
  ## Verification and recovery
218
237
 
@@ -308,8 +308,8 @@
308
308
  "sha256": "03fe600a3a27f05daf0d1b59c16b00bedc354a13c70ea60be0b457175fdf743c"
309
309
  },
310
310
  "reference": {
311
- "count": 25,
312
- "sha256": "2094946cd6e189c6ab3db16dd0725596cec759abcea88d8335b05215b65ccfc2"
311
+ "count": 26,
312
+ "sha256": "aa1ad513d89b66c9133a8572cef2dce760e76d6ee39d2ffa2d4e312578dcc847"
313
313
  },
314
314
  "state": {
315
315
  "count": 38,
@@ -325,8 +325,8 @@
325
325
  }
326
326
  },
327
327
  "total": {
328
- "count": 284,
329
- "sha256": "3f30b26839aec47639f2197c9efda5caf2a73d5afca9fb38ff9a341e18a72b98"
328
+ "count": 285,
329
+ "sha256": "042700a26b34afba57b60eaf4a4529d9e02ce39d8574e6883dfb892eebc64fd5"
330
330
  }
331
331
  }
332
332
  },