agentera 3.0.0-dev.22 → 3.0.0-dev.25
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.
- package/README.md +9 -5
- package/bundle/.cursor/agents/agentera.md +1 -1
- package/bundle/.opencode/agents/agentera.md +1 -1
- package/bundle/CHANGELOG.md +15 -5
- package/bundle/README.md +9 -8
- package/bundle/UPGRADE.md +10 -24
- package/bundle/agents/openai.yaml +1 -1
- package/bundle/references/adapters/package-manifest-interface-model.yaml +2 -0
- package/bundle/references/adapters/package-registry.yaml +9 -0
- package/bundle/references/artifacts/state-storage-authority.yaml +842 -15
- package/bundle/references/cli/agent-ready-state-contract.yaml +25 -17
- package/bundle/references/cli/prime-consumer-compatibility.yaml +676 -0
- package/bundle/references/cli/update-channels.yaml +4 -2
- package/bundle/references/cli/vocabulary-index.yaml +3 -3
- package/bundle/references/cli/vocabulary.md +14 -7
- package/bundle/skills/agentera/SKILL.md +35 -20
- package/bundle/skills/agentera/agents/audit.toml +1 -1
- package/bundle/skills/agentera/agents/build.toml +1 -1
- package/bundle/skills/agentera/agents/design.toml +1 -1
- package/bundle/skills/agentera/agents/discuss.toml +1 -1
- package/bundle/skills/agentera/agents/document.toml +1 -1
- package/bundle/skills/agentera/agents/optimize.toml +1 -1
- package/bundle/skills/agentera/agents/orchestrate.toml +1 -1
- package/bundle/skills/agentera/agents/plan.toml +1 -1
- package/bundle/skills/agentera/agents/profile.toml +1 -1
- package/bundle/skills/agentera/agents/research.toml +1 -1
- package/bundle/skills/agentera/agents/status.toml +1 -1
- package/bundle/skills/agentera/agents/vision.toml +1 -1
- package/bundle/skills/agentera/capabilities/audit/schemas/artifacts.yaml +12 -12
- package/bundle/skills/agentera/capabilities/audit/schemas/validation.yaml +2 -2
- package/bundle/skills/agentera/capabilities/build/schemas/artifacts.yaml +12 -12
- package/bundle/skills/agentera/capabilities/build/schemas/validation.yaml +8 -8
- package/bundle/skills/agentera/capabilities/design/schemas/artifacts.yaml +6 -6
- package/bundle/skills/agentera/capabilities/discuss/schemas/artifacts.yaml +7 -7
- package/bundle/skills/agentera/capabilities/document/schemas/artifacts.yaml +12 -12
- package/bundle/skills/agentera/capabilities/optimize/schemas/artifacts.yaml +9 -9
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/artifacts.yaml +11 -11
- package/bundle/skills/agentera/capabilities/plan/schemas/artifacts.yaml +9 -9
- package/bundle/skills/agentera/capabilities/profile/schemas/artifacts.yaml +2 -2
- package/bundle/skills/agentera/capabilities/research/schemas/artifacts.yaml +3 -3
- package/bundle/skills/agentera/capabilities/status/schemas/artifacts.yaml +11 -11
- package/bundle/skills/agentera/capabilities/vision/schemas/artifacts.yaml +8 -8
- package/bundle/skills/agentera/schemas/artifacts/decisions.yaml +15 -2
- package/bundle/skills/agentera/schemas/artifacts/docs.yaml +4 -1
- package/bundle/skills/agentera/schemas/artifacts/experiments.yaml +21 -21
- package/bundle/skills/agentera/schemas/artifacts/health.yaml +15 -2
- package/bundle/skills/agentera/schemas/artifacts/plan.yaml +36 -15
- package/bundle/skills/agentera/schemas/artifacts/progress.yaml +15 -2
- package/bundle/skills/agentera/schemas/artifacts/todo.yaml +4 -4
- package/dist/capabilities/audit/instructions.js +13 -1
- package/dist/capabilities/audit/instructions.js.map +1 -1
- package/dist/capabilities/build/instructions.js +14 -1
- package/dist/capabilities/build/instructions.js.map +1 -1
- package/dist/capabilities/discuss/instructions.js +11 -1
- package/dist/capabilities/discuss/instructions.js.map +1 -1
- package/dist/capabilities/document/instructions.js +9 -1
- package/dist/capabilities/document/instructions.js.map +1 -1
- package/dist/capabilities/index.js +9 -8
- package/dist/capabilities/index.js.map +1 -1
- package/dist/capabilities/optimize/instructions.js +10 -1
- package/dist/capabilities/optimize/instructions.js.map +1 -1
- package/dist/capabilities/orchestrate/instructions.js +13 -2
- package/dist/capabilities/orchestrate/instructions.js.map +1 -1
- package/dist/capabilities/plan/instructions.js +10 -1
- package/dist/capabilities/plan/instructions.js.map +1 -1
- package/dist/capabilities/status/startupInstructions.js +35 -0
- package/dist/capabilities/status/startupInstructions.js.map +1 -0
- package/dist/cli/capabilityContext/build.js +3 -3
- package/dist/cli/capabilityContext/build.js.map +1 -1
- package/dist/cli/capabilityContext/closeout.js +5 -5
- package/dist/cli/capabilityContext/closeout.js.map +1 -1
- package/dist/cli/capabilityContext/contract.js +14 -19
- package/dist/cli/capabilityContext/contract.js.map +1 -1
- package/dist/cli/capabilityContext/evidence.js +7 -7
- package/dist/cli/capabilityContext/evidence.js.map +1 -1
- package/dist/cli/capabilityContext/planState.js +12 -11
- package/dist/cli/capabilityContext/planState.js.map +1 -1
- package/dist/cli/capabilityContext/progress.js +1 -1
- package/dist/cli/capabilityContext/progress.js.map +1 -1
- package/dist/cli/capabilityContext/shared.js +8 -2
- package/dist/cli/capabilityContext/shared.js.map +1 -1
- package/dist/cli/capabilityContext/slim.js +2 -1
- package/dist/cli/capabilityContext/slim.js.map +1 -1
- package/dist/cli/capabilityContext/startup.js +22 -11
- package/dist/cli/capabilityContext/startup.js.map +1 -1
- package/dist/cli/capabilityContext/types.js +4 -4
- package/dist/cli/capabilityContext/types.js.map +1 -1
- package/dist/cli/commands/backfill.js +39 -2
- package/dist/cli/commands/backfill.js.map +1 -1
- package/dist/cli/commands/durability.js +34 -1
- package/dist/cli/commands/durability.js.map +1 -1
- package/dist/cli/commands/entityMigrate.js +128 -0
- package/dist/cli/commands/entityMigrate.js.map +1 -0
- package/dist/cli/commands/migrate.js +4 -0
- package/dist/cli/commands/migrate.js.map +1 -1
- package/dist/cli/commands/prime/briefOrientation.js +584 -0
- package/dist/cli/commands/prime/briefOrientation.js.map +1 -0
- package/dist/cli/commands/prime/collectEntityOrientation.js +148 -0
- package/dist/cli/commands/prime/collectEntityOrientation.js.map +1 -0
- package/dist/cli/commands/prime/collectOrientationState.js +21 -27
- package/dist/cli/commands/prime/collectOrientationState.js.map +1 -1
- package/dist/cli/commands/prime/orientationOutput.js +118 -24
- package/dist/cli/commands/prime/orientationOutput.js.map +1 -1
- package/dist/cli/commands/prime.js +32 -3
- package/dist/cli/commands/prime.js.map +1 -1
- package/dist/cli/commands/query.js +41 -15
- package/dist/cli/commands/query.js.map +1 -1
- package/dist/cli/commands/schema.js +10 -34
- package/dist/cli/commands/schema.js.map +1 -1
- package/dist/cli/commands/state/decisions.js +13 -0
- package/dist/cli/commands/state/decisions.js.map +1 -1
- package/dist/cli/commands/state/docs.js +38 -0
- package/dist/cli/commands/state/docs.js.map +1 -1
- package/dist/cli/commands/state/experimentRecords.js +82 -0
- package/dist/cli/commands/state/experimentRecords.js.map +1 -1
- package/dist/cli/commands/state/experiments.js +13 -0
- package/dist/cli/commands/state/experiments.js.map +1 -1
- package/dist/cli/commands/state/get.js +69 -2
- package/dist/cli/commands/state/get.js.map +1 -1
- package/dist/cli/commands/state/health.js +13 -0
- package/dist/cli/commands/state/health.js.map +1 -1
- package/dist/cli/commands/state/index.js +9 -0
- package/dist/cli/commands/state/index.js.map +1 -1
- package/dist/cli/commands/state/list.js +40 -7
- package/dist/cli/commands/state/list.js.map +1 -1
- package/dist/cli/commands/state/objective.js +24 -0
- package/dist/cli/commands/state/objective.js.map +1 -1
- package/dist/cli/commands/state/plan.js +17 -2
- package/dist/cli/commands/state/plan.js.map +1 -1
- package/dist/cli/commands/state/planTasks.js +38 -25
- package/dist/cli/commands/state/planTasks.js.map +1 -1
- package/dist/cli/commands/state/plans.js +32 -16
- package/dist/cli/commands/state/plans.js.map +1 -1
- package/dist/cli/commands/state/progress.js +12 -0
- package/dist/cli/commands/state/progress.js.map +1 -1
- package/dist/cli/commands/state/shared.js.map +1 -1
- package/dist/cli/commands/state/todo.js +30 -0
- package/dist/cli/commands/state/todo.js.map +1 -1
- package/dist/cli/commands/state/write.js +79 -4
- package/dist/cli/commands/state/write.js.map +1 -1
- package/dist/cli/commands/upgrade.js +65 -31
- package/dist/cli/commands/upgrade.js.map +1 -1
- package/dist/cli/commands/upgradeVerify.js +46 -14
- package/dist/cli/commands/upgradeVerify.js.map +1 -1
- package/dist/cli/commands/validate.js +65 -0
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/dispatch/check.js +8 -1
- package/dist/cli/dispatch/check.js.map +1 -1
- package/dist/cli/dispatch/index.js +6 -0
- package/dist/cli/dispatch/index.js.map +1 -1
- package/dist/cli/dispatch/lifecycle.js +2 -5
- package/dist/cli/dispatch/lifecycle.js.map +1 -1
- package/dist/cli/dispatch/prime.js +15 -0
- package/dist/cli/dispatch/prime.js.map +1 -1
- package/dist/cli/dispatch/state.js +7 -1
- package/dist/cli/dispatch/state.js.map +1 -1
- package/dist/cli/help.js +79 -21
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/migrationRequired.js +84 -0
- package/dist/cli/migrationRequired.js.map +1 -0
- package/dist/cli/orientation/attention.js +2 -2
- package/dist/cli/orientation/attention.js.map +1 -1
- package/dist/cli/orientation.js +13 -10
- package/dist/cli/orientation.js.map +1 -1
- package/dist/cli/planArtifacts.js +192 -42
- package/dist/cli/planArtifacts.js.map +1 -1
- package/dist/cli/prime-blob.js +5 -5
- package/dist/cli/prime-blob.js.map +1 -1
- package/dist/cli/startupCompletenessContract.js +3 -3
- package/dist/cli/startupCompletenessContract.js.map +1 -1
- package/dist/cli/stateQuery.js +42 -5
- package/dist/cli/stateQuery.js.map +1 -1
- package/dist/hooks/compaction/status.js +25 -1
- package/dist/hooks/compaction/status.js.map +1 -1
- package/dist/hooks/cursorSessionStart.js +6 -0
- package/dist/hooks/cursorSessionStart.js.map +1 -1
- package/dist/hooks/sessionStart.js +62 -0
- package/dist/hooks/sessionStart.js.map +1 -1
- package/dist/registries/artifactRegistry.js +23 -14
- package/dist/registries/artifactRegistry.js.map +1 -1
- package/dist/registries/packageRegistry.js +1 -1
- package/dist/registries/packageRegistry.js.map +1 -1
- package/dist/state/archivePublication.js +3 -2
- package/dist/state/archivePublication.js.map +1 -1
- package/dist/state/decisionEntities.js +279 -0
- package/dist/state/decisionEntities.js.map +1 -0
- package/dist/state/decisionLegacyValidation.js +185 -0
- package/dist/state/decisionLegacyValidation.js.map +1 -0
- package/dist/state/decisionOverlay.js +26 -3
- package/dist/state/decisionOverlay.js.map +1 -1
- package/dist/state/decisionRevision.js +632 -0
- package/dist/state/decisionRevision.js.map +1 -0
- package/dist/state/decisionRevisionPublication.js +532 -0
- package/dist/state/decisionRevisionPublication.js.map +1 -0
- package/dist/state/directRetrieval.js +55 -4
- package/dist/state/directRetrieval.js.map +1 -1
- package/dist/state/durability.js +92 -1
- package/dist/state/durability.js.map +1 -1
- package/dist/state/entityCutover.js +390 -0
- package/dist/state/entityCutover.js.map +1 -0
- package/dist/state/entityCutoverGit.js +128 -0
- package/dist/state/entityCutoverGit.js.map +1 -0
- package/dist/state/entityMigrationPreview.js +803 -0
- package/dist/state/entityMigrationPreview.js.map +1 -0
- package/dist/state/entityPublicationContext.js +612 -0
- package/dist/state/entityPublicationContext.js.map +1 -0
- package/dist/state/entityStorage.js +807 -0
- package/dist/state/entityStorage.js.map +1 -0
- package/dist/state/experimentIdentity.js +23 -11
- package/dist/state/experimentIdentity.js.map +1 -1
- package/dist/state/gitBackfill.js.map +1 -1
- package/dist/state/healthEntities.js +227 -0
- package/dist/state/healthEntities.js.map +1 -0
- package/dist/state/healthEntityValidation.js +6 -0
- package/dist/state/healthEntityValidation.js.map +1 -0
- package/dist/state/legacyEntityCutoverEvidence.js +66 -0
- package/dist/state/legacyEntityCutoverEvidence.js.map +1 -0
- package/dist/state/listRetrieval.js +42 -11
- package/dist/state/listRetrieval.js.map +1 -1
- package/dist/state/objectiveExperimentEntities.js +321 -0
- package/dist/state/objectiveExperimentEntities.js.map +1 -0
- package/dist/state/planEntities.js +358 -0
- package/dist/state/planEntities.js.map +1 -0
- package/dist/state/progressEntities.js +382 -0
- package/dist/state/progressEntities.js.map +1 -0
- package/dist/state/projectRoot.js +63 -0
- package/dist/state/projectRoot.js.map +1 -0
- package/dist/state/projectionRecovery.js +458 -0
- package/dist/state/projectionRecovery.js.map +1 -0
- package/dist/state/retrievalAuthority.js +13 -6
- package/dist/state/retrievalAuthority.js.map +1 -1
- package/dist/state/safeProjectFile.js +153 -0
- package/dist/state/safeProjectFile.js.map +1 -0
- package/dist/state/startupProjection.js +68 -1
- package/dist/state/startupProjection.js.map +1 -1
- package/dist/state/stateMode.js +76 -0
- package/dist/state/stateMode.js.map +1 -0
- package/dist/state/todoDocsEntities.js +223 -0
- package/dist/state/todoDocsEntities.js.map +1 -0
- package/dist/state/todoDocsEntityValidation.js +26 -0
- package/dist/state/todoDocsEntityValidation.js.map +1 -0
- package/dist/state/write/candidateMutation.js +281 -0
- package/dist/state/write/candidateMutation.js.map +1 -0
- package/dist/state/write/explain.js +156 -33
- package/dist/state/write/explain.js.map +1 -1
- package/dist/state/write/helpers.js +22 -0
- package/dist/state/write/helpers.js.map +1 -1
- package/dist/state/write/lock.js +794 -87
- package/dist/state/write/lock.js.map +1 -1
- package/dist/state/write/mutation.js +47 -2
- package/dist/state/write/mutation.js.map +1 -1
- package/dist/state/write/operations.js +99 -6
- package/dist/state/write/operations.js.map +1 -1
- package/dist/state/write/planEvaluation.js +107 -0
- package/dist/state/write/planEvaluation.js.map +1 -0
- package/dist/state/write/planPublication.js +11 -55
- package/dist/state/write/planPublication.js.map +1 -1
- package/dist/state/write/transaction.js +111 -358
- package/dist/state/write/transaction.js.map +1 -1
- package/dist/upgrade/compatibility.js +4 -4
- package/dist/upgrade/compatibility.js.map +1 -1
- package/dist/upgrade/migrateArtifactsV2ToV3.js +13 -14
- package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -1
- package/dist/upgrade/upgradeOrchestrator.js +126 -23
- package/dist/upgrade/upgradeOrchestrator.js.map +1 -1
- package/dist/validate/crossCapability.js +2 -2
- package/dist/validate/crossCapability.js.map +1 -1
- package/dist/validate/lifecycleAdapters/lifecycleMain.js +154 -0
- package/dist/validate/lifecycleAdapters/lifecycleMain.js.map +1 -0
- package/dist/validate/lifecycleAdapters.js +5 -156
- package/dist/validate/lifecycleAdapters.js.map +1 -1
- package/package.json +3 -3
- package/dist/upgrade/upgradeSnapshot.js +0 -93
- package/dist/upgrade/upgradeSnapshot.js.map +0 -1
package/README.md
CHANGED
|
@@ -12,9 +12,13 @@ npx -y agentera@next prime --format json
|
|
|
12
12
|
npx -y agentera@next doctor --format json
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
`prime` returns a bounded
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
`prime --format json` returns a bounded decision brief (at most 12000 UTF-8
|
|
16
|
+
bytes); use `prime --dashboard --format json` for the full orientation payload.
|
|
17
|
+
Status startup is one call: `prime --context status --format json` returns
|
|
18
|
+
`capability_context.instructions` and bounded
|
|
19
|
+
`capability_context.context.status_context` together (at most 25000 UTF-8
|
|
20
|
+
bytes). Omitted detail names its authoritative recovery command. `doctor`
|
|
21
|
+
returns detailed read-only evidence and exact user actions.
|
|
18
22
|
|
|
19
23
|
## Runtime lifecycle
|
|
20
24
|
|
|
@@ -56,10 +60,10 @@ and is projected by `agentera schema --format json`.
|
|
|
56
60
|
|
|
57
61
|
```bash
|
|
58
62
|
agentera state plan list --format json
|
|
59
|
-
agentera state plan get --
|
|
63
|
+
agentera state plan get --id PLAN_ID --format json
|
|
60
64
|
agentera state plan tasks list --limit 20 --format json
|
|
61
65
|
agentera state experiments list --objective OBJECTIVE_ID --format json
|
|
62
|
-
agentera state experiments get --objective OBJECTIVE_ID --
|
|
66
|
+
agentera state experiments get --objective OBJECTIVE_ID --id EXPERIMENT_ID --format json
|
|
63
67
|
```
|
|
64
68
|
|
|
65
69
|
Pages use opaque snapshot cursors, explicit omission fields, whole-entry output
|
|
@@ -4,4 +4,4 @@ description: Turn your coding agent into an engineering team.
|
|
|
4
4
|
|
|
5
5
|
<!-- agentera: managed -->
|
|
6
6
|
|
|
7
|
-
Load the Agentera skill for request routing and project orientation. When a capability is invoked, run `agentera prime --context build --format json` (or the relevant capability name) to fetch the authoritative instructions as a JSON capsule, then dispatch to a general-purpose subagent with the `
|
|
7
|
+
Load the Agentera skill for request routing and project orientation. When a capability is invoked, run `agentera prime --context build --format json` (or the relevant capability name) to fetch the authoritative instructions as a JSON capsule, then dispatch to a general-purpose subagent with the `capability_context.instructions` field as the task prompt. Do not invent unsupported capability-name CLI commands. Do not invoke per-capability subagents; the single Agentera agent handles all capability dispatch.
|
|
@@ -9,4 +9,4 @@ permission:
|
|
|
9
9
|
|
|
10
10
|
<!-- agentera: managed -->
|
|
11
11
|
|
|
12
|
-
Load the Agentera skill for request routing and project orientation. When a capability is invoked, run `agentera prime --context build --format json` (or the relevant capability name) to fetch the authoritative instructions as a JSON capsule, then dispatch to a general-purpose subagent with the `
|
|
12
|
+
Load the Agentera skill for request routing and project orientation. When a capability is invoked, run `agentera prime --context build --format json` (or the relevant capability name) to fetch the authoritative instructions as a JSON capsule, then dispatch to a general-purpose subagent with the `capability_context.instructions` field as the task prompt. Do not invent unsupported capability-name CLI commands. Do not invoke per-capability subagents; the single Agentera agent handles all capability dispatch.
|
package/bundle/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
### Changed
|
|
6
6
|
|
|
7
|
+
- Changed the v2-to-v3 development upgrade to one full Git-backed command that requires every migration input to match tracked `HEAD`, activates entity authority last, and validates state and `prime` startup automatically. The optional dry-run is read-only; cross-major apply is one-way and has no rollback, restore, non-Git, or partial workflow.
|
|
8
|
+
- Cut ordinary project state over to one canonical writer-owned file per entity. Public records now use only bare `id` and `artifact` identity, bounded `list` and exact `get --id` reads, and typed writers discovered through `agentera state <artifact> explain`; aggregate state files and ordinal selectors remain migration or historical evidence only.
|
|
9
|
+
- Split lifecycle validation orchestration from the public validation facade while preserving its import surface and validation behavior.
|
|
7
10
|
- Eliminated the monolithic `corpus.json` publication output from the extract CLI; report dry-run diagnostics now reference tier files and the `privacy.corpus_write` field is renamed to `privacy.tier_write`.
|
|
8
11
|
- Changed `agentera check lint` verbosity checks to consume schema-owned full-file and per-entry word limits, skip no-limit and token-only dimensions, and report authority failures without fallback budgets.
|
|
9
12
|
- Corrected packaged experiment-publication authority to declare validated objective-scoped archive-before-projection ownership and reject contradictory structured scope metadata.
|
|
@@ -11,6 +14,11 @@
|
|
|
11
14
|
|
|
12
15
|
### Added
|
|
13
16
|
|
|
17
|
+
- Added post-cutover entity-backed default state views, bare-ID durability diagnostics, and read-only migration-manifest target validation while preserving legacy numbered behavior before cutover.
|
|
18
|
+
- Added a Git-backed entity cutover owned by the full development-channel `upgrade --yes` command, with deterministic projection, marker-last authority activation, and bounded forward-only interruption recovery.
|
|
19
|
+
- Added post-cutover decision entities for immutable bases and content revisions, replaceable satisfaction ownership, bare-ID exact and bounded reads, deterministic effective provenance, stale-base and transition validation, and explicit same-decision conflict detection; marker-absent projects retain the legacy numbered authority without dual writes.
|
|
20
|
+
- Added the post-cutover progress entity writer and `state progress get|list` reads with bare IDs, one canonical file per cycle, atomic replay-safe publication, full provenance, bounded snapshot pagination, and no legacy projection or archive writes; legacy projects remain unchanged until the durable cutover marker exists.
|
|
21
|
+
- Added authority-driven, one-file-per-entity storage primitives with secure project-wide IDs, symlink-safe discovery, conflict-safe publication, relationship validation, and `agentera check validate state` diagnostics.
|
|
14
22
|
- Added an authoritative evidence-tier contract (`references/analysis/evidence-tier-authority.yaml`) and contract-model loader (`packages/cli/src/registries/evidenceTierContract.ts`) fixing the bounded full-evidence and signal tiers, supported Codex, Cursor, OpenCode, Copilot, and historical Claude source coverage, the consumer field-supply map including the latent startup-analysis reader, reserved signal semantics for the deferred glossary, and deterministic recovery outcomes for oversized, legacy, missing, corrupt, and incomplete state.
|
|
15
23
|
- Added bounded tier publication and direct retrieval (`packages/cli/src/analytics/extractCorpus/evidenceTiers.ts`): complete local evidence is retained as independently bounded, source-family shards that split when exceeding the reader cap; a derived, content-addressable bounded signal tier carries only contract-required fields plus a resolvable `evidence_anchor`; generations are staged and revealed by an atomic current-pointer swap so no consumer observes a partial publication; and direct retrieval resolves a signal identity to its full record. The monolithic `corpus.json` write is eliminated; tiers are the only canonical publication output.
|
|
16
24
|
- Added bounded tier-aware reads for usage analytics, report status, prime corpus coverage, startup analysis, and profile synthesis so every analytics consumer reads from bounded evidence shards one at a time instead of loading the monolithic `corpus.json`. A new `tierReader.ts` module projects contract compatibility states and recovery guidance, streams full-evidence records, and reads signal-tier metadata. A new `profileSignals.ts` module reads the bounded signal tier, assesses per-family retention sufficiency against the contract threshold, and resolves synthesized claims' evidence anchors to retained full-evidence shards. Legacy `corpus.json` remains a fallback when no tiers are published; oversized legacy state is never loaded whole.
|
|
@@ -23,6 +31,7 @@
|
|
|
23
31
|
- Added `agentera state plan list` and `agentera state plan get --plan PLAN_ID` for deterministic, cursor-paginated active and archived plan retrieval, full-plan exact reads, lifecycle provenance, and explicit legacy, invalid, missing, and ambiguous archive outcomes.
|
|
24
32
|
- Added persisted plan identity across active-to-archive transitions, deterministic read-only identity for legacy plans, explicit lifecycle provenance, mirrored-path reporting, and structured ambiguity failures for identity collisions.
|
|
25
33
|
- Added `agentera state plan tasks list` and `agentera state plan tasks get --task N` for bounded active-plan task retrieval with declared task-number order, opaque snapshot cursors, structured not-found and compatibility errors, and exact omission recovery in text and JSON plan output.
|
|
34
|
+
- Added `agentera state decisions amend --number N [--question ... --context ... --alternative-chosen ... --alternative-rejected ... --choice ... --reasoning ... --confidence firm|provisional|exploratory --feeds-into ...] [--dry-run] --format json`: validates and publishes a record-local revision under `.agentera/revisions/decisions.yaml` that composes over the immutable numbered archive at read time. Apply never rewrites the decisions projection, preserves unrelated decisions' bytes (including comments, block scalars, quoting, and inherited legacy confidence labels), refuses a broken revision document or unsafe record-local boundary without side effects, retries converge on a stable revision identity, and an identical re-submission is an idempotent replay. Append, satisfaction update, and amend tolerate untouched inherited confidence labels as explicit legacy caveats while requiring current vocabulary for new or amended content.
|
|
26
35
|
|
|
27
36
|
- Added an executable bounded-retrieval authority and reserved CLI grammar for plan tasks, plans, and objective-scoped experiments, including stable and legacy identity rules, experiment `0`, opaque cursors, explicit omissions, and structured compatibility errors; retrieval execution remains staged for subsequent tasks.
|
|
28
37
|
- Added a canonical runtime lifecycle projection with deterministic snapshot identity, applicability, ownership, action classes, counts, and command eligibility for OpenCode, Codex, Cursor, and Copilot.
|
|
@@ -49,11 +58,11 @@
|
|
|
49
58
|
- Changed `agentera state backfill` to remain optional local-Git enrichment: direct
|
|
50
59
|
`--apply --force` revalidates the project, `HEAD`, candidate, reachability, and
|
|
51
60
|
immutable target, while bounded history and no-remote behavior remain explicit.
|
|
52
|
-
- Changed
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
61
|
+
- Changed deterministic plan lifecycle migration to run inside the full
|
|
62
|
+
development-channel v2-to-v3 upgrade. Legacy `active` and `completed` plan
|
|
63
|
+
statuses become `open` and `complete` without rewriting retained task
|
|
64
|
+
evidence; archive recency uses persisted creation dates instead of file
|
|
65
|
+
modification times.
|
|
57
66
|
- Changed plan reads to normalize legacy `active` and `completed` statuses within
|
|
58
67
|
the current-plan and archive boundary, with structured diagnostics for
|
|
59
68
|
malformed current plans and archives.
|
|
@@ -80,6 +89,7 @@
|
|
|
80
89
|
|
|
81
90
|
### Fixed
|
|
82
91
|
|
|
92
|
+
- Fixed post-cutover routine query aliases, canonical-boundary Git recovery, migration-marker evidence binding, entity page byte caps, plan recovery guidance, and nested entity identity metadata.
|
|
83
93
|
- Fixed the npm shim to diagnose a configured `AGENTERA_HOME` whose managed script is missing or not runnable before continuing through repository and `uvx` fallback resolution.
|
|
84
94
|
- Fixed `agentera check lint` to report findings without failing by default, fail the same findings with `--strict`, and keep invalid input, authority failures, and validated plan publication nonzero.
|
|
85
95
|
- Fixed schema/runtime alias parity: introspection now advertises exactly the six Phase 3 transitional aliases, Build startup and compaction guidance use canonical `agentera check compact`, check/fix output reports `command: "check compact"`, top-level `compact` remains behavior-compatible, and removed names such as `gate` return structured runnable corrections.
|
package/bundle/README.md
CHANGED
|
@@ -99,10 +99,10 @@ explicit omissions, and exact detail commands. The runtime contract is
|
|
|
99
99
|
|
|
100
100
|
```bash
|
|
101
101
|
agentera state plan list --format json
|
|
102
|
-
agentera state plan get --
|
|
102
|
+
agentera state plan get --id PLAN_ID --format json
|
|
103
103
|
agentera state plan tasks list --limit 20 --format json
|
|
104
104
|
agentera state experiments list --objective OBJECTIVE_ID --format json
|
|
105
|
-
agentera state experiments get --objective OBJECTIVE_ID --
|
|
105
|
+
agentera state experiments get --objective OBJECTIVE_ID --id EXPERIMENT_ID --format json
|
|
106
106
|
```
|
|
107
107
|
|
|
108
108
|
Plan list/get spans the active plan and immutable plan archives. Plan task
|
|
@@ -110,14 +110,15 @@ list/get is active-plan-only. Experiment retrieval merges its bounded projection
|
|
|
110
110
|
with objective-owned immutable archives and reports detail as full, summary-only,
|
|
111
111
|
or unavailable.
|
|
112
112
|
|
|
113
|
-
|
|
113
|
+
Ordinary mutable state uses one canonical file per entity. Every public record
|
|
114
|
+
has only `id` and `artifact` identity, and is accessed through bounded `list`,
|
|
115
|
+
exact `get --id`, and typed `agentera state <artifact> explain` write contracts.
|
|
116
|
+
Do not edit files under `.agentera/entities/` directly.
|
|
117
|
+
|
|
118
|
+
The intentional singleton project state is:
|
|
114
119
|
|
|
115
120
|
- `.agentera/vision.yaml` — product direction
|
|
116
|
-
- `.agentera/
|
|
117
|
-
- `.agentera/progress.yaml` — shipped work and verification
|
|
118
|
-
- `.agentera/decisions.yaml` — durable reasoning
|
|
119
|
-
- `.agentera/health.yaml` — architecture and project health
|
|
120
|
-
- `.agentera/docs.yaml` — documentation inventory and path/version mappings
|
|
121
|
+
- `.agentera/docs.yaml` — documentation policy and path/version mappings
|
|
121
122
|
- `TODO.md`, `CHANGELOG.md`, and `DESIGN.md` — human-facing project artifacts
|
|
122
123
|
|
|
123
124
|
## Capabilities
|
package/bundle/UPGRADE.md
CHANGED
|
@@ -169,27 +169,15 @@ npx -y agentera@next upgrade --channel development --project "$PWD" --dry-run
|
|
|
169
169
|
npx -y agentera@next upgrade --channel development --project "$PWD" --yes
|
|
170
170
|
```
|
|
171
171
|
|
|
172
|
-
The
|
|
173
|
-
|
|
174
|
-
|
|
172
|
+
The dry-run is optional and read-only. Before applying, commit or restore the
|
|
173
|
+
complete v2 migration source: every input must be a regular file tracked by Git
|
|
174
|
+
and unchanged at `HEAD`. The apply command performs the full runtime and entity
|
|
175
|
+
state upgrade, then validates state and representative `prime` startup.
|
|
175
176
|
|
|
176
|
-
Forward migration to v3 is one-way. Returning to the
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
Useful phase filters are repeatable:
|
|
181
|
-
|
|
182
|
-
```bash
|
|
183
|
-
npx -y agentera@next upgrade --only artifacts --dry-run
|
|
184
|
-
npx -y agentera@next upgrade --only runtime --dry-run
|
|
185
|
-
npx -y agentera@next upgrade --only cleanup --dry-run
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
`--only runtime` filters the v2-to-v3 project-migration runtime phase. It does
|
|
189
|
-
not select an Agentera runtime identity or limit lifecycle diagnosis. Use
|
|
190
|
-
`--runtime all|opencode|codex|cursor|copilot` for lifecycle work; it cannot be
|
|
191
|
-
combined with `--only`. Development-channel dry-runs without `--runtime` still
|
|
192
|
-
observe all active lifecycle runtimes.
|
|
177
|
+
Forward migration to v3 is one-way. Returning to the Python 2.x line is not
|
|
178
|
+
supported, and cross-major apply has no rollback, restore, non-Git, or partial
|
|
179
|
+
workflow. If an apply is interrupted, rerun the same full apply command to
|
|
180
|
+
continue forward.
|
|
193
181
|
|
|
194
182
|
## Legacy state and optional Git enrichment
|
|
195
183
|
|
|
@@ -241,10 +229,8 @@ npx -y agentera@next prime --format json
|
|
|
241
229
|
`upgrade --verify` without `--yes` is a read-only doctor and capability-context
|
|
242
230
|
verification. With `--yes`, it runs those checks after the approved upgrade
|
|
243
231
|
apply. Lifecycle selections with `--verify` require `--yes`.
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
failure, rerun the same preview and apply selection. Do not delete or hand-edit
|
|
247
|
-
the ownership journal to force adoption.
|
|
232
|
+
For lifecycle partial failure, rerun the same preview and apply selection. Do
|
|
233
|
+
not delete or hand-edit the ownership journal to force adoption.
|
|
248
234
|
|
|
249
235
|
`--force` applies only where the owning migration contract explicitly permits
|
|
250
236
|
replacement. It does not convert user-owned resources into Agentera-owned
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
display_name: Agentera
|
|
2
|
-
description: Portable Agentera suite for Codex: one bundled skill with exact bare `/agentera` routing and twelve routed capabilities.
|
|
2
|
+
description: "Portable Agentera suite for Codex: one bundled skill with exact bare `/agentera` routing and twelve routed capabilities."
|
|
3
3
|
icon: AG
|
|
4
4
|
brand_color: "#111827"
|
|
5
5
|
default_prompt: Use $agentera to inspect project state and route to the right capability; exact bare `/agentera` uses the agentera prime dashboard path.
|
|
@@ -64,11 +64,13 @@ record:
|
|
|
64
64
|
owns:
|
|
65
65
|
- bundled directories
|
|
66
66
|
- bundled files
|
|
67
|
+
- generated-only bundled files
|
|
67
68
|
- bundle skip rules
|
|
68
69
|
- bundle mismatch standardization target
|
|
69
70
|
required_fields:
|
|
70
71
|
directories: list[repo_relative_path]
|
|
71
72
|
files: list[repo_relative_path]
|
|
73
|
+
generated_files: list[generated_bundle_file]
|
|
72
74
|
skip_parts: list[string]
|
|
73
75
|
skip_suffixes: list[string]
|
|
74
76
|
package_commands:
|
|
@@ -135,6 +135,15 @@ records:
|
|
|
135
135
|
path: .opencode/package.json
|
|
136
136
|
- id: cursor-hooks
|
|
137
137
|
path: .cursor/hooks.json
|
|
138
|
+
generated_files:
|
|
139
|
+
- id: npx-bundle-marker
|
|
140
|
+
path: .agentera-npx-bundle.json
|
|
141
|
+
format: json
|
|
142
|
+
classification: active
|
|
143
|
+
- id: extract-corpus-parity
|
|
144
|
+
path: extract-corpus-parity.json
|
|
145
|
+
format: json
|
|
146
|
+
classification: active
|
|
138
147
|
skip_parts:
|
|
139
148
|
- __pycache__
|
|
140
149
|
- .pytest_cache
|