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.
- package/README.md +7 -5
- package/bundle/CHANGELOG.md +17 -2
- package/bundle/DESIGN.md +3 -7
- package/bundle/README.md +8 -10
- package/bundle/UPGRADE.md +60 -16
- package/bundle/fixtures/routing/hybrid-corpus.yaml +154 -0
- package/bundle/references/adapters/package-registry.yaml +2 -0
- package/bundle/references/adapters/package-surface-characterization.md +2 -3
- package/bundle/references/adapters/runtime-lifecycle-authority.yaml +2 -3
- package/bundle/references/adapters/runtime-retired-resources.yaml +78 -14
- package/bundle/references/analysis/benchmark.md +2 -9
- package/bundle/references/artifacts/state-storage-authority.yaml +308 -14
- package/bundle/references/cli/audience-namespace-cli-migration.yaml +1 -1
- package/bundle/references/cli/bundle-skill-vocabulary.yaml +1 -1
- package/bundle/references/cli/capability-instruction-contract.yaml +0 -3
- package/bundle/references/cli/capability-instruction-structure.md +2 -2
- package/bundle/references/cli/hybrid-route-contract.yaml +416 -0
- package/bundle/references/cli/prime-consumer-compatibility.yaml +12 -11
- package/bundle/references/cli/routing-execution-vocabulary.yaml +0 -4
- package/bundle/references/cli/routing-model.md +136 -91
- package/bundle/references/cli/trigger-schema-enrichment.md +50 -46
- package/bundle/references/cli/vocabulary.md +8 -11
- package/bundle/references/meta/documentation-inventory.md +1 -3
- package/bundle/skills/agentera/SKILL.md +50 -18
- package/bundle/skills/agentera/capabilities/audit/schemas/triggers.yaml +13 -35
- package/bundle/skills/agentera/capabilities/build/schemas/triggers.yaml +14 -36
- package/bundle/skills/agentera/capabilities/design/schemas/triggers.yaml +5 -34
- package/bundle/skills/agentera/capabilities/discuss/schemas/triggers.yaml +6 -40
- package/bundle/skills/agentera/capabilities/document/schemas/triggers.yaml +5 -34
- package/bundle/skills/agentera/capabilities/optimize/schemas/triggers.yaml +4 -35
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/artifacts.yaml +10 -6
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/exit.yaml +3 -2
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/triggers.yaml +5 -37
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/validation.yaml +6 -5
- package/bundle/skills/agentera/capabilities/plan/schemas/triggers.yaml +8 -31
- package/bundle/skills/agentera/capabilities/profile/schemas/triggers.yaml +8 -37
- package/bundle/skills/agentera/capabilities/research/schemas/triggers.yaml +5 -29
- package/bundle/skills/agentera/capabilities/status/schemas/triggers.yaml +7 -47
- package/bundle/skills/agentera/capabilities/vision/schemas/triggers.yaml +7 -39
- package/bundle/skills/agentera/capability_schema_contract.yaml +29 -29
- package/bundle/skills/agentera/route-phrases.yaml +81 -0
- package/bundle/skills/agentera/schemas/artifacts/health.yaml +25 -7
- package/bundle/skills/agentera/schemas/artifacts/plan.yaml +1 -2
- package/dist/capabilities/discuss/instructions.js +1 -1
- package/dist/capabilities/discuss/instructions.js.map +1 -1
- package/dist/capabilities/orchestrate/instructions.js +22 -2
- package/dist/capabilities/orchestrate/instructions.js.map +1 -1
- package/dist/capabilities/plan/instructions.js +1 -1
- package/dist/capabilities/plan/instructions.js.map +1 -1
- package/dist/cli/capabilityContext/evidence.js +1 -1
- package/dist/cli/capabilityContext/evidence.js.map +1 -1
- package/dist/cli/capabilityContext/startup.js +2 -0
- package/dist/cli/capabilityContext/startup.js.map +1 -1
- package/dist/cli/commands/entityMigrate.js +7 -3
- package/dist/cli/commands/entityMigrate.js.map +1 -1
- package/dist/cli/commands/prime/briefOrientation.js +10 -3
- package/dist/cli/commands/prime/briefOrientation.js.map +1 -1
- package/dist/cli/commands/prime/collectEntityOrientation.js +64 -4
- package/dist/cli/commands/prime/collectEntityOrientation.js.map +1 -1
- package/dist/cli/commands/prime/orientationOutput.js +41 -15
- package/dist/cli/commands/prime/orientationOutput.js.map +1 -1
- package/dist/cli/commands/prime.js +4 -3
- package/dist/cli/commands/prime.js.map +1 -1
- package/dist/cli/commands/route.js +142 -0
- package/dist/cli/commands/route.js.map +1 -0
- package/dist/cli/commands/schema.js +21 -23
- package/dist/cli/commands/schema.js.map +1 -1
- package/dist/cli/commands/state/write.js +19 -0
- package/dist/cli/commands/state/write.js.map +1 -1
- package/dist/cli/commands/upgrade.js +1 -1
- package/dist/cli/commands/upgrade.js.map +1 -1
- package/dist/cli/commands/validate.js +2 -119
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/commands/verify.js +17 -1
- package/dist/cli/commands/verify.js.map +1 -1
- package/dist/cli/dispatch/check.js +2 -7
- package/dist/cli/dispatch/check.js.map +1 -1
- package/dist/cli/dispatch/index.js +18 -0
- package/dist/cli/dispatch/index.js.map +1 -1
- package/dist/cli/dispatch/lifecycle.js +7 -5
- package/dist/cli/dispatch/lifecycle.js.map +1 -1
- package/dist/cli/errors.js +2 -2
- package/dist/cli/errors.js.map +1 -1
- package/dist/cli/help.js +24 -5
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/migrationRequired.js +1 -1
- package/dist/cli/migrationRequired.js.map +1 -1
- package/dist/eval/hybridRouteEvaluation.js +156 -0
- package/dist/eval/hybridRouteEvaluation.js.map +1 -0
- package/dist/registries/capabilityContract.js +5 -20
- package/dist/registries/capabilityContract.js.map +1 -1
- package/dist/registries/hybridRoute.js +203 -0
- package/dist/registries/hybridRoute.js.map +1 -0
- package/dist/registries/hybridRouteReceipt.js +221 -0
- package/dist/registries/hybridRouteReceipt.js.map +1 -0
- package/dist/registries/triggerLoader.js +7 -43
- package/dist/registries/triggerLoader.js.map +1 -1
- package/dist/release/releaseMetadata.js +2 -0
- package/dist/release/releaseMetadata.js.map +1 -1
- package/dist/runtime/lifecycleAuthority.js +10 -11
- package/dist/runtime/lifecycleAuthority.js.map +1 -1
- package/dist/runtime/nativeResourceCleanup.js +317 -0
- package/dist/runtime/nativeResourceCleanup.js.map +1 -0
- package/dist/setup/codex/cli.js +9 -40
- package/dist/setup/codex/cli.js.map +1 -1
- package/dist/setup/codex/configToml.js +2 -83
- package/dist/setup/codex/configToml.js.map +1 -1
- package/dist/setup/codex/constants.js +0 -15
- package/dist/setup/codex/constants.js.map +1 -1
- package/dist/setup/codex/state.js +2 -20
- package/dist/setup/codex/state.js.map +1 -1
- package/dist/setup/codex.js +2 -4
- package/dist/setup/codex.js.map +1 -1
- package/dist/state/archiveDiscovery.js +24 -35
- package/dist/state/archiveDiscovery.js.map +1 -1
- package/dist/state/canonicalMigrationRecord.js +37 -0
- package/dist/state/canonicalMigrationRecord.js.map +1 -0
- package/dist/state/decisionEntities.js +73 -33
- package/dist/state/decisionEntities.js.map +1 -1
- package/dist/state/decisionLegacyValidation.js +31 -0
- package/dist/state/decisionLegacyValidation.js.map +1 -1
- package/dist/state/decisionMigrationProvenance.js +117 -0
- package/dist/state/decisionMigrationProvenance.js.map +1 -0
- package/dist/state/durability.js +24 -5
- package/dist/state/durability.js.map +1 -1
- package/dist/state/entityCutover.js +2 -2
- package/dist/state/entityCutover.js.map +1 -1
- package/dist/state/entityMigrationCausality.js +99 -0
- package/dist/state/entityMigrationCausality.js.map +1 -0
- package/dist/state/entityMigrationPreview.js +138 -77
- package/dist/state/entityMigrationPreview.js.map +1 -1
- package/dist/state/entityStorage.js +59 -24
- package/dist/state/entityStorage.js.map +1 -1
- package/dist/state/healthEntities.js +69 -33
- package/dist/state/healthEntities.js.map +1 -1
- package/dist/state/healthEntityValidation.js +14 -1
- package/dist/state/healthEntityValidation.js.map +1 -1
- package/dist/state/legacySummaryRecord.js +7 -0
- package/dist/state/legacySummaryRecord.js.map +1 -0
- package/dist/state/listCursor.js +43 -0
- package/dist/state/listCursor.js.map +1 -0
- package/dist/state/migrationSourceBinding.js +29 -0
- package/dist/state/migrationSourceBinding.js.map +1 -0
- package/dist/state/progressEntities.js +35 -59
- package/dist/state/progressEntities.js.map +1 -1
- package/dist/state/retrievalAuthority.js +10 -0
- package/dist/state/retrievalAuthority.js.map +1 -1
- package/dist/state/summaryEntityRead.js +26 -0
- package/dist/state/summaryEntityRead.js.map +1 -0
- package/dist/state/summaryMigrationProvenance.js +67 -0
- package/dist/state/summaryMigrationProvenance.js.map +1 -0
- package/dist/state/summarySourceRowAuthority.js +37 -0
- package/dist/state/summarySourceRowAuthority.js.map +1 -0
- package/dist/state/write/explain.js +2 -1
- package/dist/state/write/explain.js.map +1 -1
- package/dist/upgrade/lifecycleUpgrade.js +14 -14
- package/dist/upgrade/lifecycleUpgrade.js.map +1 -1
- package/dist/upgrade/upgradeOrchestrator.js +12 -12
- package/dist/upgrade/upgradeOrchestrator.js.map +1 -1
- package/dist/validate/capability.js +11 -2
- package/dist/validate/capability.js.map +1 -1
- package/package.json +2 -2
- package/bundle/references/analysis/analytics-boundary-proportional-2026-07-20.yaml +0 -74
- package/bundle/references/analysis/evidence/analytics-boundary-proportional-2026-07-20/source-focused-1.json.gz +0 -0
- package/bundle/references/analysis/evidence/analytics-boundary-proportional-2026-07-20/source-focused-2.json.gz +0 -0
- package/bundle/references/analysis/evidence/analytics-boundary-proportional-2026-07-20/source-focused-3.json.gz +0 -0
- package/bundle/references/analysis/evidence/migration-pagination-proportional-2026-07-20/source-focused-1.json.gz +0 -0
- package/bundle/references/analysis/evidence/migration-pagination-proportional-2026-07-20/source-focused-2.json.gz +0 -0
- package/bundle/references/analysis/evidence/migration-pagination-proportional-2026-07-20/source-focused-3.json.gz +0 -0
- package/bundle/references/analysis/evidence/verification-baseline-2026-07-20/precommit-cli-route.log.gz +0 -0
- package/bundle/references/analysis/evidence/verification-baseline-2026-07-20/precommit-cli.log.gz +0 -0
- package/bundle/references/analysis/evidence/verification-baseline-2026-07-20/precommit-documentation.log.gz +0 -0
- package/bundle/references/analysis/evidence/verification-baseline-2026-07-20/recompute.mjs +0 -98
- package/bundle/references/analysis/evidence/verification-baseline-2026-07-20/source-1.json.gz +0 -0
- package/bundle/references/analysis/evidence/verification-baseline-2026-07-20/source-2.json.gz +0 -0
- package/bundle/references/analysis/evidence/verification-baseline-2026-07-20/source-3.json.gz +0 -0
- package/bundle/references/analysis/migration-pagination-proportional-2026-07-20.yaml +0 -64
- package/bundle/references/analysis/verification-baseline-2026-07-20.yaml +0 -313
- package/bundle/references/analysis/verification-final-proof-2026-07-21.yaml +0 -340
- package/bundle/references/analysis/worker-policy-2026-07-21.yaml +0 -207
- package/bundle/skills/agentera/agents/audit.toml +0 -6
- package/bundle/skills/agentera/agents/build.toml +0 -6
- package/bundle/skills/agentera/agents/design.toml +0 -6
- package/bundle/skills/agentera/agents/discuss.toml +0 -6
- package/bundle/skills/agentera/agents/document.toml +0 -6
- package/bundle/skills/agentera/agents/optimize.toml +0 -6
- package/bundle/skills/agentera/agents/orchestrate.toml +0 -6
- package/bundle/skills/agentera/agents/plan.toml +0 -6
- package/bundle/skills/agentera/agents/profile.toml +0 -6
- package/bundle/skills/agentera/agents/research.toml +0 -6
- package/bundle/skills/agentera/agents/status.toml +0 -6
- package/bundle/skills/agentera/agents/vision.toml +0 -6
- package/dist/runtime/retiredRuntimeCleanup.js +0 -238
- package/dist/runtime/retiredRuntimeCleanup.js.map +0 -1
- package/dist/setup/codex/agents.js +0 -96
- package/dist/setup/codex/agents.js.map +0 -1
package/README.md
CHANGED
|
@@ -38,15 +38,17 @@ Preview has no side effects. The apply path is the explicit, one-way v2-to-v3
|
|
|
38
38
|
migration described in [UPGRADE.md](../../UPGRADE.md); it does not run a native
|
|
39
39
|
package installer.
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
Native Agentera resource cleanup is intentionally separate from host support:
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
|
-
npx -y agentera@next upgrade --legacy-cleanup claude --dry-run
|
|
44
|
+
npx -y agentera@next upgrade --legacy-cleanup claude.agentera-skill-link --dry-run
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
It
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
It selects declared native Agentera resources only. Each removal needs a
|
|
48
|
+
matching whole-resource ledger identity and fingerprint; shared Codex config
|
|
49
|
+
keys require unavailable key-level evidence and remain action-required.
|
|
50
|
+
Historical transcript import is also explicit (`agentera report refresh
|
|
51
|
+
--import-source claude`) and is excluded from default active-runtime analytics.
|
|
50
52
|
|
|
51
53
|
## Bounded state retrieval
|
|
52
54
|
|
package/bundle/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
### Changed
|
|
6
6
|
|
|
7
|
+
- Health audit appends now receive a CLI-owned UTC timestamp. Bounded health
|
|
8
|
+
reads and `prime` select timestamped records newest-first regardless of random
|
|
9
|
+
ID; legacy records retain deterministic date-and-ID ordering without inferred
|
|
10
|
+
chronology.
|
|
11
|
+
- Removed bundled native capability descriptors and `agentera check validate descriptors`; Codex setup no longer installs descriptors or writes agent-dispatch settings, and the canonical shared skill and CLI are the only active integration seam.
|
|
12
|
+
- `agentera route receipt` now requires the phase-one `semantic_capsule_sha256` as well as `request_sha256`; it fails closed when the current trigger-intent capsule differs, preventing startup from a receipt classified against stale routing authority.
|
|
13
|
+
- Defined the portable routing boundary: `agentera route request` deterministically resolves bare `/agentera`, explicit capability names or aliases, and curated leading phrases to a capability; every other request remains host-owned open-ended semantic classification. `agentera route receipt` validates the host result before authorizing startup, while `agentera route evaluate` and `agentera check verify eval routing` gate implementation with the frozen offline synthetic corpus; Agentera ships no built-in model service or live benchmark.
|
|
14
|
+
- Added ordinary progress, decision, and health reads plus startup handling for
|
|
15
|
+
immutable v2-compaction summaries. Summary-only history now remains explicitly
|
|
16
|
+
degraded with source provenance and caveats instead of appearing as current
|
|
17
|
+
detail. Migration preview now separates corrupt source roots from generated
|
|
18
|
+
relationship dependents, and a Git-backed lifecycle proof covers interrupted
|
|
19
|
+
retry without changing aggregate source bytes. The contract excludes
|
|
20
|
+
reconstruction, dual authority, and repair/import commands.
|
|
7
21
|
- Changed the v2-to-v3 development upgrade to one full Git-backed command that converts unchanged tracked input directly into canonical entities, accepts exact partial targets on retry, validates the complete graph, and activates entity authority last. Runtime blockers are reported as post-activation action-required work without modifying the blocked resource. The optional dry-run is read-only; cross-major apply is one-way and has no staging graph, recovery journal, rollback, restore, non-Git, or partial workflow.
|
|
8
22
|
- 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
23
|
- Split lifecycle validation orchestration from the public validation facade while preserving its import surface and validation behavior.
|
|
@@ -35,7 +49,7 @@
|
|
|
35
49
|
|
|
36
50
|
- 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.
|
|
37
51
|
- Added one shared skill at `~/.agents/skills/agentera` plus the CLI and entity-backed project state as the active integration contract; host-native plugin, hook, agent, and package surfaces are not shipped.
|
|
38
|
-
-
|
|
52
|
+
- Defined native-resource cleanup evidence for supported hosts and explicit `agentera upgrade --legacy-cleanup RESOURCE_ID --dry-run|--yes` selection. Cleanup retains only ledger-proven whole resources; Codex descriptor reports preserve shared configuration keys as report-only action-required items without durable key-level ownership.
|
|
39
53
|
- Added typed artifact writes under `agentera state`: progress/decision/audit appends, decision satisfaction updates, plan create/task/status/archive lifecycle operations, schema-derived `explain`, server-assigned identifiers, exact retry replay, dry-run diffs, project locking, strict mapped-path safety, staged 10/40/50 compaction, final-byte validation, and atomic publication.
|
|
40
54
|
- Added `install_track` to `prime --format json` (`app_home.install_track`) and `doctor --format json`. Values are `v2`, `v3`, `source`, and `unknown`.
|
|
41
55
|
- Added the TypeScript CLI on the npm development channel (`npx -y agentera@next`) as a self-contained package whose governed isolated construction stages compiled commands, registry-owned app data, and the `.agentera-npx-bundle.json` sentinel before packing with lifecycle scripts disabled.
|
|
@@ -74,6 +88,7 @@
|
|
|
74
88
|
|
|
75
89
|
### Fixed
|
|
76
90
|
|
|
91
|
+
- Fixed natural-language capability routing to select from the user's expressed intent and trigger metadata before capability startup; status `next_action` now remains an orientation readiness suggestion rather than a classifier for non-status requests.
|
|
77
92
|
- Fixed overlapping source, build, and package verification to use isolated construction and one atomically selected `dist` + `bundle` generation; clean source no longer requires checkout output, package proof still runs from an extracted tarball, and `pnpm -C packages/cli run pack:dry-run` replaces direct checkout `npm pack`.
|
|
78
93
|
- Fixed `agentera prime --context status` to report severity totals across every open TODO while keeping attention and routing detail bounded with explicit omission recovery.
|
|
79
94
|
- Fixed `agentera prime --context status` to exclude resolved entity TODOs before bounded pagination, so severity counts, attention, and next-action routing reflect only open work.
|
|
@@ -118,7 +133,7 @@
|
|
|
118
133
|
- 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`.
|
|
119
134
|
- 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.
|
|
120
135
|
- Removed `agentera state migrate`, `agentera state backfill`, projection repair, and automatic v1 conversion. Recognized v2 aggregate projects now have one forward mutation path: full `agentera upgrade --yes`; `state migrate entities --dry-run` remains read-only.
|
|
121
|
-
- Removed host-native runtime selectors, repair actions, package manifests, plugins, hooks, agents, and Bun single-binary delivery from the v3 distribution. Migration fixtures, ownership evidence, and explicit
|
|
136
|
+
- Removed host-native runtime selectors, repair actions, package manifests, plugins, hooks, agents, and Bun single-binary delivery from the v3 distribution. Migration fixtures, ownership evidence, and explicit native Agentera resource cleanup remain internal migration surfaces.
|
|
122
137
|
|
|
123
138
|
### Migration notes
|
|
124
139
|
|
package/bundle/DESIGN.md
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
# Agentera
|
|
2
2
|
|
|
3
|
-
Visual identity system for Agentera
|
|
3
|
+
Visual identity system for Agentera's CLI and agent-rendered Markdown.
|
|
4
4
|
|
|
5
5
|
## Surface register
|
|
6
6
|
|
|
7
|
-
One brand (Agentera),
|
|
7
|
+
One brand (Agentera), with brand-vs-product output registers and suite-vs-project design authorities.
|
|
8
8
|
|
|
9
9
|
| Surface | Authority | Renders |
|
|
10
10
|
| --- | --- | --- |
|
|
11
11
|
| `terminal` | This file (`DESIGN.md`) | CLI dashboard, capability introductions, structured artifact headers in Markdown |
|
|
12
|
-
| `mobile` | `packages/mobile/DESIGN.md` | Touch UI, smart bar, sidebar, chat composer, responsive layouts |
|
|
13
|
-
|
|
14
|
-
Shared across surfaces: product name, capability glyphs, sharp-colleague voice.
|
|
15
|
-
Not shared: box-drawing logo usage (terminal key moments only), terminal severity arrows in mobile UI, Tailwind touch targets in terminal output.
|
|
16
12
|
|
|
17
13
|
## Output Registers
|
|
18
14
|
|
|
@@ -65,7 +61,7 @@ Governs the **host repository's own product** — web UI, the user's coding-agen
|
|
|
65
61
|
- Design in a host project writes **project** `DESIGN.md` only; never merge suite design sources into it.
|
|
66
62
|
- Status reads project design for **status metadata** (exists, stale, missing) — not to style suite chrome.
|
|
67
63
|
- When both authorities apply in one session, suite chrome follows suite sources; the host product follows project `DESIGN.md`.
|
|
68
|
-
- In the Agentera repository, root `DESIGN.md` is suite terminal dogfood
|
|
64
|
+
- In the Agentera repository, root `DESIGN.md` is the suite terminal dogfood and brand register.
|
|
69
65
|
|
|
70
66
|
## Philosophy
|
|
71
67
|
|
package/bundle/README.md
CHANGED
|
@@ -41,19 +41,20 @@ skill at `~/.agents/skills/agentera` plus the Agentera CLI. Normal `upgrade`
|
|
|
41
41
|
previews and applies only app/project migration; it has no current-runtime
|
|
42
42
|
selector and creates no native plugin, hook, agent, command, descriptor, or
|
|
43
43
|
marketplace file. See [UPGRADE.md](./UPGRADE.md) for the distinct one-way v2
|
|
44
|
-
migration and explicit
|
|
45
|
-
`agentera upgrade --legacy-cleanup
|
|
44
|
+
migration and explicit native-resource cleanup route:
|
|
45
|
+
`agentera upgrade --legacy-cleanup RESOURCE_ID --dry-run|--yes`.
|
|
46
46
|
|
|
47
47
|
`doctor` reports read-only app, project-state, shared-skill, and CLI evidence.
|
|
48
48
|
`prime`, status, and project-integration output use the app/project recommendation
|
|
49
49
|
and shared-skill diagnosis to select the next action.
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
Supported hosts continue to use the canonical shared skill and CLI. Cleanup
|
|
52
|
+
selects a native Agentera resource, never a host. Claude Code is retired from
|
|
53
|
+
active support; its legacy link remains one selectable resource:
|
|
53
54
|
|
|
54
55
|
```bash
|
|
55
|
-
npx -y agentera@next upgrade --legacy-cleanup claude --dry-run
|
|
56
|
-
npx -y agentera@next upgrade --legacy-cleanup claude --yes
|
|
56
|
+
npx -y agentera@next upgrade --legacy-cleanup claude.agentera-skill-link --dry-run
|
|
57
|
+
npx -y agentera@next upgrade --legacy-cleanup claude.agentera-skill-link --yes
|
|
57
58
|
```
|
|
58
59
|
|
|
59
60
|
Historical Claude transcripts are excluded by default. A local import requires
|
|
@@ -117,13 +118,11 @@ The intentional singleton project state is:
|
|
|
117
118
|
| ♾ | profile | Reusable decision profile |
|
|
118
119
|
| ⎈ | orchestrate | Autonomous plan execution with evaluation |
|
|
119
120
|
|
|
120
|
-
##
|
|
121
|
+
## Package
|
|
121
122
|
|
|
122
123
|
| Package | Role |
|
|
123
124
|
| --- | --- |
|
|
124
125
|
| `packages/cli` (`agentera`) | Primary TypeScript CLI and bundled runtime data |
|
|
125
|
-
| `packages/web` (`@agentera/web`) | Marketing and Starlight documentation site |
|
|
126
|
-
| `packages/mobile` (`@agentera/mobile`) | Docs-only mobile product stub |
|
|
127
126
|
|
|
128
127
|
Contributor commands and repository rules live in [AGENTS.md](./AGENTS.md).
|
|
129
128
|
Migration and recovery details live in [UPGRADE.md](./UPGRADE.md).
|
|
@@ -132,7 +131,6 @@ Migration and recovery details live in [UPGRADE.md](./UPGRADE.md).
|
|
|
132
131
|
pnpm -C packages/cli test
|
|
133
132
|
pnpm -C packages/cli run typecheck
|
|
134
133
|
pnpm -C packages/cli build
|
|
135
|
-
vp run web:check
|
|
136
134
|
```
|
|
137
135
|
|
|
138
136
|
License: [Apache-2.0](./LICENSE) · Author: Jonathan Gabor
|
package/bundle/UPGRADE.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Upgrade and migration
|
|
2
2
|
|
|
3
3
|
Agentera 3.0 uses one upgrade command for app/project migration and explicit
|
|
4
|
-
|
|
5
|
-
runtime installation and repair are not upgrade operations.
|
|
4
|
+
native Agentera resource cleanup. Preview and apply are separate operations.
|
|
5
|
+
Current runtime installation and repair are not upgrade operations.
|
|
6
6
|
|
|
7
7
|
Before the npm stable dist-tag promotion, use `agentera@next`. The stable 2.x
|
|
8
8
|
channel remains `agentera@latest` until that promotion; upgrade does not publish
|
|
@@ -24,8 +24,8 @@ runtime package managers, authentication, enablement, or trust operations.
|
|
|
24
24
|
|
|
25
25
|
Passing `--runtime` fails before mutation. Remove `--runtime`, ensure the runtime
|
|
26
26
|
can read `~/.agents/skills/agentera`, and invoke the CLI directly. The supported
|
|
27
|
-
v2 migration and
|
|
28
|
-
integration.
|
|
27
|
+
v2 migration and native Agentera resource cleanup routes below are separate from
|
|
28
|
+
normal active integration.
|
|
29
29
|
|
|
30
30
|
## Preview and apply
|
|
31
31
|
|
|
@@ -55,20 +55,30 @@ Retries re-observe the current app/project state. Completed migration work
|
|
|
55
55
|
converges to no change; interrupted v2 migration continues through the same full
|
|
56
56
|
apply command.
|
|
57
57
|
|
|
58
|
-
##
|
|
58
|
+
## Native Agentera resource cleanup
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
Cleanup is a distinct resource route, not a host selection. Codex, Cursor,
|
|
61
|
+
OpenCode, and Copilot remain supported through the canonical shared skill and
|
|
62
|
+
CLI. Accepted smoke evidence records that Codex and Cursor loaded Agentera's
|
|
63
|
+
skill instructions, OpenCode listed the canonical skill, and Copilot's listed
|
|
64
|
+
canonical skill is intentionally disabled.
|
|
65
|
+
|
|
66
|
+
Use `agentera upgrade --legacy-cleanup RESOURCE_ID --dry-run|--yes` with one
|
|
67
|
+
declared native Agentera resource ID.
|
|
61
68
|
|
|
62
69
|
```bash
|
|
63
|
-
npx -y agentera@next upgrade --legacy-cleanup claude --dry-run
|
|
64
|
-
npx -y agentera@next upgrade --legacy-cleanup claude --yes
|
|
70
|
+
npx -y agentera@next upgrade --legacy-cleanup claude.agentera-skill-link --dry-run
|
|
71
|
+
npx -y agentera@next upgrade --legacy-cleanup claude.agentera-skill-link --yes
|
|
65
72
|
```
|
|
66
73
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
74
|
+
The contract also inventories retired Codex descriptor files. Each file needs a
|
|
75
|
+
matching whole-resource ledger identity and fingerprint before it can be
|
|
76
|
+
removed. Codex descriptor previews report each shared configuration key as
|
|
77
|
+
`action_required` without adding it to the selected resource's apply work.
|
|
78
|
+
Agentera has no durable key-level ownership proof, so matching values, markers,
|
|
79
|
+
names, or whole file contents never authorize a shared `config.toml` mutation.
|
|
80
|
+
Preview is read-only; approved apply is idempotent and preserves ambiguous or
|
|
81
|
+
unowned resources.
|
|
72
82
|
|
|
73
83
|
Historical transcript import is independent of cleanup. Default extraction and
|
|
74
84
|
analytics do not read Claude history. Import requires explicit local consent:
|
|
@@ -112,6 +122,39 @@ Forward migration is one-way. Returning to the Python 2.x line is unsupported,
|
|
|
112
122
|
and cross-major apply has no rollback, restore, non-Git, or partial workflow.
|
|
113
123
|
If apply is interrupted, rerun the same full apply command.
|
|
114
124
|
|
|
125
|
+
### Compacted v2 summaries
|
|
126
|
+
|
|
127
|
+
Entity-cutover publication for valid v2 compaction output is implemented for
|
|
128
|
+
`progress`, `decisions`, and `health`. Each valid summary becomes one immutable,
|
|
129
|
+
read-only canonical
|
|
130
|
+
`progress_summary`, `decision_summary`, or `health_summary` entity. The entity
|
|
131
|
+
requires `summary`, preserves every source-retained field except forbidden
|
|
132
|
+
identity aliases, and records the source path plus source-record SHA-256.
|
|
133
|
+
|
|
134
|
+
Ordinary summary readers and startup projection are implemented. Reads report
|
|
135
|
+
`detail_availability: summary`, `compatibility: degraded`, record-level source
|
|
136
|
+
provenance, and applicable caveats; startup presents summary-only history as
|
|
137
|
+
degraded history rather than current detail. Full records retain their existing
|
|
138
|
+
temporal order; the degraded-summary segment follows in deterministic canonical-ID
|
|
139
|
+
order and makes no chronology claim. Retained decision-summary satisfaction is
|
|
140
|
+
inline and read-only, may be absent, and never creates a standalone satisfaction
|
|
141
|
+
target. Preview reports independent source roots separately from generated
|
|
142
|
+
relationship dependents: `root_blockers + dependent_blockers = blockers`, and
|
|
143
|
+
each dependent names its stable `root_source_identity`. A Git-backed regression
|
|
144
|
+
copies the supported `progress`, `decisions`, and `health` sources from pinned
|
|
145
|
+
v2.7.11 compaction output; its protected experiment evidence remains unchanged
|
|
146
|
+
and excluded. It verifies preview bindings and target hashes, marker-last
|
|
147
|
+
publication and interrupted exact-target retry, canonical validation, ordinary
|
|
148
|
+
list/get reads for retained full and summary entries, human/JSON prime, and
|
|
149
|
+
repeated no-change upgrade behavior while aggregate source hashes remain stable.
|
|
150
|
+
Inherited full-decision `high`, `medium`, and `low` confidence remains readable
|
|
151
|
+
with a legacy caveat; newly supplied or amended confidence remains strict.
|
|
152
|
+
|
|
153
|
+
Protected objective experiments, runtime-local session state, and compacted TODO
|
|
154
|
+
rows that already satisfy the canonical TODO shape are outside this summary
|
|
155
|
+
scope. This contract does not reconstruct Git history, normalize source records,
|
|
156
|
+
create dual authority, or add a repair or import command.
|
|
157
|
+
|
|
115
158
|
## Unsupported legacy state
|
|
116
159
|
|
|
117
160
|
Pending v1 Markdown state and unknown marker-absent state are not automatic
|
|
@@ -131,7 +174,7 @@ npx -y agentera@next prime --format json
|
|
|
131
174
|
|
|
132
175
|
`upgrade --verify` without `--yes` is a read-only doctor and capability-context
|
|
133
176
|
verification. With `--yes`, it runs those checks after approved migration.
|
|
134
|
-
Explicit
|
|
177
|
+
Explicit native Agentera resource cleanup with `--verify` requires `--yes`.
|
|
135
178
|
|
|
136
179
|
`--force` applies only where the owning migration contract explicitly permits
|
|
137
180
|
replacement. It never adopts user-owned resources.
|
|
@@ -151,7 +194,8 @@ node packages/cli/dist/bin/agentera.js check validate release-metadata
|
|
|
151
194
|
## Mutation ownership
|
|
152
195
|
|
|
153
196
|
Upgrade apply holds the required project lock before migration begins. Explicit
|
|
154
|
-
|
|
155
|
-
creation is atomic, and release succeeds only for the matching
|
|
197
|
+
native Agentera resource cleanup additionally uses its ownership journal and
|
|
198
|
+
shared lock. Lock creation is atomic, and release succeeds only for the matching
|
|
199
|
+
ownership token.
|
|
156
200
|
A stale or malformed lock stops the operation; inspect the named lock file,
|
|
157
201
|
remove only that file after confirming no operation owns it, then rerun.
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
schema_version: agentera.hybrid_routing_corpus.v3
|
|
2
|
+
status: frozen
|
|
3
|
+
text_provenance: All request text in this fixture is synthetic and authored for conformance testing.
|
|
4
|
+
retention_policy: >-
|
|
5
|
+
This fixture may contain only synthetic or explicitly consented text. Evaluation
|
|
6
|
+
reports retain case IDs and aggregate metrics, never private request strings.
|
|
7
|
+
freeze_policy: >-
|
|
8
|
+
Development and adversarial entries are the sole frozen synthetic implementation
|
|
9
|
+
corpus. Additions or expectation changes require a new schema_version and a new
|
|
10
|
+
corpus file; no hidden, sealed, or vendor-host corpus is required.
|
|
11
|
+
partitions:
|
|
12
|
+
development: { status: frozen, purpose: phrase inventory and structural contract development }
|
|
13
|
+
adversarial: { status: frozen, purpose: "abstention, separator, and invalid-receipt safety" }
|
|
14
|
+
|
|
15
|
+
route_cases:
|
|
16
|
+
- { id: DEV-PHRASE-STATUS, partition: development, request: "show project briefing for the checkout", expected: { phase1: deterministic_selection, tier: phrase, capability: status } }
|
|
17
|
+
- { id: DEV-PHRASE-VISION, partition: development, request: "define product direction for collaboration", expected: { phase1: deterministic_selection, tier: phrase, capability: vision } }
|
|
18
|
+
- { id: DEV-PHRASE-DISCUSS, partition: development, request: "help me decide: cache or queue", expected: { phase1: deterministic_selection, tier: phrase, capability: discuss, topic: ": cache or queue" } }
|
|
19
|
+
- { id: DEV-PHRASE-RESEARCH, partition: development, request: "study external patterns for durable jobs", expected: { phase1: deterministic_selection, tier: phrase, capability: research } }
|
|
20
|
+
- { id: DEV-PHRASE-PLAN, partition: development, request: "make an implementation plan for import safety", expected: { phase1: deterministic_selection, tier: phrase, capability: plan } }
|
|
21
|
+
- { id: DEV-PHRASE-BUILD, partition: development, request: "implement the approved plan for task one", expected: { phase1: deterministic_selection, tier: phrase, capability: build } }
|
|
22
|
+
- { id: DEV-PHRASE-OPTIMIZE, partition: development, request: "improve a measured bottleneck in startup", expected: { phase1: deterministic_selection, tier: phrase, capability: optimize } }
|
|
23
|
+
- { id: DEV-PHRASE-AUDIT, partition: development, request: "check codebase health before release", expected: { phase1: deterministic_selection, tier: phrase, capability: audit } }
|
|
24
|
+
- { id: DEV-PHRASE-DOCUMENT, partition: development, request: "refresh project documentation for setup", expected: { phase1: deterministic_selection, tier: phrase, capability: document } }
|
|
25
|
+
- { id: DEV-PHRASE-PROFILE, partition: development, request: "save a decision profile for local work", expected: { phase1: deterministic_selection, tier: phrase, capability: profile } }
|
|
26
|
+
- { id: DEV-PHRASE-DESIGN, partition: development, request: "shape the interface for review", expected: { phase1: deterministic_selection, tier: phrase, capability: design } }
|
|
27
|
+
- { id: DEV-PHRASE-ORCHESTRATE, partition: development, request: "execute the approved plan for phase two", expected: { phase1: deterministic_selection, tier: phrase, capability: orchestrate } }
|
|
28
|
+
- { id: DEV-ABSTAIN-STATUS, partition: development, request: "show project briefings", expected: { phase1: semantic_required, reason: literal_abstention, boundary: status } }
|
|
29
|
+
- { id: DEV-ABSTAIN-VISION, partition: development, request: "define our product direction", expected: { phase1: semantic_required, reason: literal_abstention, boundary: vision } }
|
|
30
|
+
- { id: DEV-ABSTAIN-DISCUSS, partition: development, request: "help us decide", expected: { phase1: semantic_required, reason: literal_abstention, boundary: discuss } }
|
|
31
|
+
- { id: DEV-ABSTAIN-RESEARCH, partition: development, request: "research patterns", expected: { phase1: semantic_required, reason: literal_abstention, boundary: research } }
|
|
32
|
+
- { id: DEV-ABSTAIN-PLAN, partition: development, request: "make implementation plan", expected: { phase1: semantic_required, reason: literal_abstention, boundary: plan } }
|
|
33
|
+
- { id: DEV-ABSTAIN-BUILD, partition: development, request: "implement approved plan", expected: { phase1: semantic_required, reason: literal_abstention, boundary: build } }
|
|
34
|
+
- { id: DEV-ABSTAIN-OPTIMIZE, partition: development, request: "optimize measured bottleneck", expected: { phase1: semantic_required, reason: literal_abstention, boundary: optimize } }
|
|
35
|
+
- { id: DEV-ABSTAIN-AUDIT, partition: development, request: "audit the codebase health", expected: { phase1: semantic_required, reason: literal_abstention, boundary: audit } }
|
|
36
|
+
- { id: DEV-ABSTAIN-DOCUMENT, partition: development, request: "update documentation", expected: { phase1: semantic_required, reason: literal_abstention, boundary: document } }
|
|
37
|
+
- { id: DEV-ABSTAIN-PROFILE, partition: development, request: "save decision profile", expected: { phase1: semantic_required, reason: literal_abstention, boundary: profile } }
|
|
38
|
+
- { id: DEV-ABSTAIN-DESIGN, partition: development, request: "design an interface", expected: { phase1: semantic_required, reason: literal_abstention, boundary: design } }
|
|
39
|
+
- { id: DEV-ABSTAIN-ORCHESTRATE, partition: development, request: "execute approved plan", expected: { phase1: semantic_required, reason: literal_abstention, boundary: orchestrate } }
|
|
40
|
+
- { id: DEV-BARE, partition: development, request: "/agentera", expected: { phase1: deterministic_selection, tier: bare, capability: status } }
|
|
41
|
+
- { id: DEV-DIRECT, partition: development, request: "/agentera plan import safety", expected: { phase1: deterministic_selection, tier: direct, capability: plan } }
|
|
42
|
+
- { id: ADV-BARE-WITH-TEXT, partition: adversarial, request: "/agentera what time is it", expected: { phase1: semantic_required, reason: nonbare_request, boundary: bare } }
|
|
43
|
+
- { id: ADV-DIRECT-PARTIAL, partition: adversarial, request: "/agentera planner import safety", expected: { phase1: semantic_required, reason: invalid_direct_name, boundary: direct } }
|
|
44
|
+
- { id: ADV-QUOTED-PHRASE, partition: adversarial, request: 'The words "help me decide" appear in this quote.', expected: { phase1: semantic_required, reason: nonleading_phrase } }
|
|
45
|
+
- { id: ADV-NEGATED-PHRASE, partition: adversarial, request: "Do not help me decide; just show alternatives.", expected: { phase1: semantic_required, reason: nonleading_phrase } }
|
|
46
|
+
- { id: ADV-PUNCTUATED-PHRASE, partition: adversarial, request: "help me decide: now", expected: { phase1: deterministic_selection, tier: phrase, capability: discuss, topic: ": now" } }
|
|
47
|
+
- { id: ADV-EMDASH-SEPARATOR, partition: adversarial, request: "help me decide—now", expected: { phase1: deterministic_selection, tier: phrase, capability: discuss, topic: "—now" } }
|
|
48
|
+
- { id: ADV-FULLWIDTH-PHRASE, partition: adversarial, request: "HELP ME DECIDE: cache", expected: { phase1: deterministic_selection, tier: phrase, capability: discuss, topic: ": cache" } }
|
|
49
|
+
- { id: ADV-REPEATED-WHITESPACE, partition: adversarial, request: "help\t\tme decide\ncache", expected: { phase1: deterministic_selection, tier: phrase, capability: discuss, topic: "\ncache" } }
|
|
50
|
+
- { id: ADV-PARTIAL-PHRASE, partition: adversarial, request: "help me deciding now", expected: { phase1: semantic_required, reason: partial_token } }
|
|
51
|
+
- { id: ADV-UNSUPPORTED-PUNCTUATION, partition: adversarial, request: "help me decide! now", expected: { phase1: semantic_required, reason: unsupported_separator } }
|
|
52
|
+
|
|
53
|
+
receipt_cases:
|
|
54
|
+
- id: DEV-RECEIPT-SELECT-PASS
|
|
55
|
+
partition: development
|
|
56
|
+
valid: true
|
|
57
|
+
request: "How should we divide the import work?"
|
|
58
|
+
expected_terminal: selected
|
|
59
|
+
receipt: { version: agentera.route_receipt.v1, request_sha256: c28396095a91d6b3f0f6485f8cc4a898f7d012a1d01d000653786fa869626b70, semantic_capsule_sha256: f885d882a3d08a59aac28cebbb9a3270a28096b6f411f55f99e8772c3ce7637e, outcome: select, capability: plan, compound: none }
|
|
60
|
+
- id: ADV-RECEIPT-SELECT-MISSING-CAPABILITY
|
|
61
|
+
partition: adversarial
|
|
62
|
+
valid: false
|
|
63
|
+
request: "How should we divide the import work?"
|
|
64
|
+
expected_terminal: invalid_receipt
|
|
65
|
+
error: required.capability
|
|
66
|
+
receipt: { version: agentera.route_receipt.v1, request_sha256: c28396095a91d6b3f0f6485f8cc4a898f7d012a1d01d000653786fa869626b70, semantic_capsule_sha256: f885d882a3d08a59aac28cebbb9a3270a28096b6f411f55f99e8772c3ce7637e, outcome: select, compound: none }
|
|
67
|
+
- id: DEV-RECEIPT-CLARIFY-PASS
|
|
68
|
+
partition: development
|
|
69
|
+
valid: true
|
|
70
|
+
request: "Make it better"
|
|
71
|
+
expected_terminal: clarification
|
|
72
|
+
receipt: { version: agentera.route_receipt.v1, request_sha256: d71e91121b85d9e84a5dea968dc995878667e4b631b92f8742622427a23cdaa6, semantic_capsule_sha256: f885d882a3d08a59aac28cebbb9a3270a28096b6f411f55f99e8772c3ce7637e, outcome: clarify, question: "Do you want a plan or implementation?" }
|
|
73
|
+
- id: ADV-RECEIPT-CLARIFY-MISSING-QUESTION
|
|
74
|
+
partition: adversarial
|
|
75
|
+
valid: false
|
|
76
|
+
request: "Make it better"
|
|
77
|
+
expected_terminal: invalid_receipt
|
|
78
|
+
error: required.question
|
|
79
|
+
receipt: { version: agentera.route_receipt.v1, request_sha256: d71e91121b85d9e84a5dea968dc995878667e4b631b92f8742622427a23cdaa6, semantic_capsule_sha256: f885d882a3d08a59aac28cebbb9a3270a28096b6f411f55f99e8772c3ce7637e, outcome: clarify }
|
|
80
|
+
- id: DEV-RECEIPT-NO-MATCH-PASS
|
|
81
|
+
partition: development
|
|
82
|
+
valid: true
|
|
83
|
+
request: "What time is the train?"
|
|
84
|
+
expected_terminal: status_fallback
|
|
85
|
+
receipt: { version: agentera.route_receipt.v1, request_sha256: b712acb8d881cc37a94f06c8ec9efb91f6ce24fa4e7349883dbbb36b57c5d7bc, semantic_capsule_sha256: f885d882a3d08a59aac28cebbb9a3270a28096b6f411f55f99e8772c3ce7637e, outcome: no_match }
|
|
86
|
+
- id: ADV-RECEIPT-NO-MATCH-FORBIDDEN-CAPABILITY
|
|
87
|
+
partition: adversarial
|
|
88
|
+
valid: false
|
|
89
|
+
request: "What time is the train?"
|
|
90
|
+
expected_terminal: invalid_receipt
|
|
91
|
+
error: not
|
|
92
|
+
receipt: { version: agentera.route_receipt.v1, request_sha256: b712acb8d881cc37a94f06c8ec9efb91f6ce24fa4e7349883dbbb36b57c5d7bc, semantic_capsule_sha256: f885d882a3d08a59aac28cebbb9a3270a28096b6f411f55f99e8772c3ce7637e, outcome: no_match, capability: plan }
|
|
93
|
+
- id: DEV-RECEIPT-COMPOUND-PRESERVE-PASS
|
|
94
|
+
partition: development
|
|
95
|
+
valid: true
|
|
96
|
+
request: "Plan the migration and then implement it"
|
|
97
|
+
expected_terminal: selected
|
|
98
|
+
receipt: { version: agentera.route_receipt.v1, request_sha256: f26da5835071b706a176032b263b0131817a56dcd2965f4198e57e2e23b0ac60, semantic_capsule_sha256: f885d882a3d08a59aac28cebbb9a3270a28096b6f411f55f99e8772c3ce7637e, outcome: select, capability: plan, compound: preserve, remainder_span: { start: 4, end: 40 } }
|
|
99
|
+
- id: ADV-RECEIPT-COMPOUND-INVALID
|
|
100
|
+
partition: adversarial
|
|
101
|
+
valid: false
|
|
102
|
+
request: "Plan the migration and then implement it"
|
|
103
|
+
expected_terminal: invalid_receipt
|
|
104
|
+
error: compound.enum
|
|
105
|
+
receipt: { version: agentera.route_receipt.v1, request_sha256: f26da5835071b706a176032b263b0131817a56dcd2965f4198e57e2e23b0ac60, semantic_capsule_sha256: f885d882a3d08a59aac28cebbb9a3270a28096b6f411f55f99e8772c3ce7637e, outcome: select, capability: plan, compound: clarify }
|
|
106
|
+
- id: ADV-RECEIPT-MISSING-VERSION
|
|
107
|
+
partition: adversarial
|
|
108
|
+
valid: false
|
|
109
|
+
request: "Map the migration before implementation."
|
|
110
|
+
expected_terminal: invalid_receipt
|
|
111
|
+
error: required.version
|
|
112
|
+
receipt: { request_sha256: fc8dfdefc423ea7c375669b044a01c443b48be880e0c4e769579d296ef048f74, semantic_capsule_sha256: f885d882a3d08a59aac28cebbb9a3270a28096b6f411f55f99e8772c3ce7637e, outcome: select, capability: plan, compound: none }
|
|
113
|
+
- id: ADV-RECEIPT-INVALID-DIGEST
|
|
114
|
+
partition: adversarial
|
|
115
|
+
valid: false
|
|
116
|
+
request: "Which capability should handle this?"
|
|
117
|
+
expected_terminal: invalid_receipt
|
|
118
|
+
error: request_sha256.pattern
|
|
119
|
+
receipt: { version: agentera.route_receipt.v1, request_sha256: not-a-digest, semantic_capsule_sha256: f885d882a3d08a59aac28cebbb9a3270a28096b6f411f55f99e8772c3ce7637e, outcome: select, capability: plan, compound: none }
|
|
120
|
+
- id: ADV-RECEIPT-UNKNOWN-CAPABILITY
|
|
121
|
+
partition: adversarial
|
|
122
|
+
valid: false
|
|
123
|
+
request: "Which capability should handle this?"
|
|
124
|
+
expected_terminal: invalid_receipt
|
|
125
|
+
error: binding.capability
|
|
126
|
+
receipt: { version: agentera.route_receipt.v1, request_sha256: 9516783492db2d389ec305dfea5f60d23e6d136c7cd27e236bbc29daeca427df, semantic_capsule_sha256: f885d882a3d08a59aac28cebbb9a3270a28096b6f411f55f99e8772c3ce7637e, outcome: select, capability: unknown, compound: none }
|
|
127
|
+
- id: ADV-RECEIPT-OUT-OF-BOUNDS-SPAN
|
|
128
|
+
partition: adversarial
|
|
129
|
+
valid: false
|
|
130
|
+
request: "Keep the second request deferred."
|
|
131
|
+
expected_terminal: invalid_receipt
|
|
132
|
+
error: binding.remainder_span
|
|
133
|
+
receipt: { version: agentera.route_receipt.v1, request_sha256: 8b5ea821ff9831f5d5c9a87e2b5a2eefbfbbce54032d2f1bc160ada48eb82180, semantic_capsule_sha256: f885d882a3d08a59aac28cebbb9a3270a28096b6f411f55f99e8772c3ce7637e, outcome: select, capability: plan, compound: preserve, remainder_span: { start: 0, end: 999 } }
|
|
134
|
+
- id: ADV-RECEIPT-MISSING-CAPSULE-DIGEST
|
|
135
|
+
partition: adversarial
|
|
136
|
+
valid: false
|
|
137
|
+
request: "Which capability should handle this?"
|
|
138
|
+
expected_terminal: invalid_receipt
|
|
139
|
+
error: required.semantic_capsule_sha256
|
|
140
|
+
receipt: { version: agentera.route_receipt.v1, request_sha256: 9516783492db2d389ec305dfea5f60d23e6d136c7cd27e236bbc29daeca427df, outcome: select, capability: plan, compound: none }
|
|
141
|
+
- id: ADV-RECEIPT-INVALID-CAPSULE-DIGEST
|
|
142
|
+
partition: adversarial
|
|
143
|
+
valid: false
|
|
144
|
+
request: "Which capability should handle this?"
|
|
145
|
+
expected_terminal: invalid_receipt
|
|
146
|
+
error: semantic_capsule_sha256.pattern
|
|
147
|
+
receipt: { version: agentera.route_receipt.v1, request_sha256: 9516783492db2d389ec305dfea5f60d23e6d136c7cd27e236bbc29daeca427df, semantic_capsule_sha256: not-a-digest, outcome: select, capability: plan, compound: none }
|
|
148
|
+
- id: ADV-RECEIPT-STALE-CAPSULE-DIGEST
|
|
149
|
+
partition: adversarial
|
|
150
|
+
valid: false
|
|
151
|
+
request: "Which capability should handle this?"
|
|
152
|
+
expected_terminal: invalid_receipt
|
|
153
|
+
error: binding.semantic_capsule_sha256
|
|
154
|
+
receipt: { version: agentera.route_receipt.v1, request_sha256: 9516783492db2d389ec305dfea5f60d23e6d136c7cd27e236bbc29daeca427df, semantic_capsule_sha256: "0000000000000000000000000000000000000000000000000000000000000000", outcome: select, capability: plan, compound: none }
|
|
@@ -30,9 +30,8 @@ by [`docs/packaging/v3-packaging.md`](../../docs/packaging/v3-packaging.md).
|
|
|
30
30
|
|
|
31
31
|
The self-contained npm package ships `dist/` plus `bundle/`. Bundle data
|
|
32
32
|
includes the canonical `skills/` tree, required `references/`, `registry.json`,
|
|
33
|
-
and package guidance. Compiled commands
|
|
34
|
-
includes its capability schemas
|
|
35
|
-
`skills/agentera/agents/*.toml` descriptors.
|
|
33
|
+
the frozen routing evaluation corpus, and package guidance. Compiled commands
|
|
34
|
+
ship in `dist/`. The shared-skill tree includes its capability schemas and artifact schemas.
|
|
36
35
|
|
|
37
36
|
The package lane's isolated package fixture invokes `npm pack --json
|
|
38
37
|
--ignore-scripts` after governed construction and fails if the CLI or required
|
|
@@ -3,7 +3,7 @@ status: migration_only_authority
|
|
|
3
3
|
decision: 92
|
|
4
4
|
operation_contract: references/adapters/runtime-lifecycle-operation-contract.yaml
|
|
5
5
|
adapter_contract: references/adapters/runtime-lifecycle-adapters.yaml
|
|
6
|
-
|
|
6
|
+
native_resource_cleanup_contract: references/adapters/runtime-retired-resources.yaml
|
|
7
7
|
canonical_skill:
|
|
8
8
|
path: ~/.agents/skills/agentera
|
|
9
9
|
required_for_support_floor: true
|
|
@@ -52,11 +52,10 @@ support_floor:
|
|
|
52
52
|
not_applicable_scope: unobserved_conditional_surface_only
|
|
53
53
|
unmet_blocks_release: true
|
|
54
54
|
active_runtimes: []
|
|
55
|
-
|
|
55
|
+
historical_inputs:
|
|
56
56
|
- id: claude
|
|
57
57
|
purposes:
|
|
58
58
|
- consent_gated_historical_import
|
|
59
|
-
- owned_legacy_resource_cleanup
|
|
60
59
|
migration_aliases:
|
|
61
60
|
cursor-agent:
|
|
62
61
|
runtime_id: cursor
|
|
@@ -1,25 +1,58 @@
|
|
|
1
|
-
schema_version: agentera.
|
|
2
|
-
status:
|
|
3
|
-
decision:
|
|
1
|
+
schema_version: agentera.nativeResourceCleanup.v1
|
|
2
|
+
status: resource_retirement_contract
|
|
3
|
+
decision: nksvqmnevm
|
|
4
4
|
authority: references/adapters/runtime-lifecycle-authority.yaml
|
|
5
5
|
operation_contract: references/adapters/runtime-lifecycle-operation-contract.yaml
|
|
6
6
|
policy:
|
|
7
|
-
|
|
7
|
+
host_inventory_exposure: evidence_only
|
|
8
|
+
selection: native_agentera_resource_only
|
|
8
9
|
preview: strictly_read_only
|
|
9
10
|
apply_requires: explicit_approval
|
|
10
|
-
ownership:
|
|
11
|
+
ownership: matching_whole_resource_ledger_identity_and_fingerprint
|
|
12
|
+
shared_configuration: action_required_without_key_level_ownership
|
|
13
|
+
forbidden_ownership_evidence:
|
|
14
|
+
- value_equality
|
|
15
|
+
- managed_marker
|
|
16
|
+
- resource_name
|
|
17
|
+
- file_equality
|
|
11
18
|
unsupported_platform_result: action_required
|
|
12
|
-
|
|
19
|
+
accepted_host_evidence:
|
|
20
|
+
- host: codex
|
|
21
|
+
state: supported
|
|
22
|
+
proof: Codex loaded Agentera's specific canonical skill instructions and bootstrap command.
|
|
23
|
+
- host: cursor
|
|
24
|
+
state: supported
|
|
25
|
+
proof: Cursor loaded Agentera's specific canonical skill instructions and bootstrap command.
|
|
26
|
+
- host: opencode
|
|
27
|
+
state: supported
|
|
28
|
+
proof: OpenCode's native CLI listed /home/jgabor/.agents/skills/agentera/SKILL.md.
|
|
29
|
+
- host: copilot
|
|
30
|
+
state: supported_disabled
|
|
31
|
+
proof: Copilot's native CLI listed the canonical personal-agents skill; its disabled state is intentional.
|
|
32
|
+
hosts:
|
|
33
|
+
- id: codex
|
|
34
|
+
display_name: Codex
|
|
35
|
+
support_status: supported
|
|
36
|
+
- id: cursor
|
|
37
|
+
display_name: Cursor
|
|
38
|
+
support_status: supported
|
|
39
|
+
- id: opencode
|
|
40
|
+
display_name: OpenCode
|
|
41
|
+
support_status: supported
|
|
42
|
+
- id: copilot
|
|
43
|
+
display_name: Copilot
|
|
44
|
+
support_status: supported_disabled
|
|
13
45
|
- id: claude
|
|
14
46
|
display_name: Claude Code historical migration
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
47
|
+
support_status: retired_historical
|
|
48
|
+
resources:
|
|
49
|
+
- id: claude.agentera-skill-link
|
|
50
|
+
host: claude
|
|
51
|
+
kind: symlink
|
|
52
|
+
intent: remove
|
|
53
|
+
destination: "{home}/.claude/skills/agentera"
|
|
54
|
+
ledger_status: legacy
|
|
55
|
+
durable_proof: matching whole-resource legacy ledger identity and fingerprint
|
|
23
56
|
never_touch:
|
|
24
57
|
- "{home}/.claude/projects"
|
|
25
58
|
- "{home}/.claude/statsig"
|
|
@@ -31,3 +64,34 @@ retired_runtimes:
|
|
|
31
64
|
- "{home}/.claude/conversations"
|
|
32
65
|
- "{home}/.claude/credentials"
|
|
33
66
|
safety_note: Only the declared Agentera skill symlink may be removed, and only when a matching legacy ownership ledger still binds its identity and target fingerprint. Transcript, settings, credential, conversation, stats, cache, and ambiguous paths are never cleanup targets.
|
|
67
|
+
- id: codex.agent-descriptor
|
|
68
|
+
host: codex
|
|
69
|
+
kind: file
|
|
70
|
+
intent: remove
|
|
71
|
+
destination: "{home}/.codex/agents/{descriptor}.toml"
|
|
72
|
+
descriptors: [status, vision, discuss, research, plan, build, optimize, audit, document, profile, design, orchestrate]
|
|
73
|
+
ledger_status: managed
|
|
74
|
+
durable_proof: matching whole-resource ledger identity and fingerprint for each declared descriptor file
|
|
75
|
+
safety_note: Each descriptor is an independently owned file. A managed marker, descriptor name, or matching content never establishes ownership.
|
|
76
|
+
configuration_inventory:
|
|
77
|
+
- id: codex.config.shell_environment_policy.set.AGENTERA_HOME
|
|
78
|
+
host: codex
|
|
79
|
+
destination: "{home}/.codex/config.toml"
|
|
80
|
+
key: shell_environment_policy.set.AGENTERA_HOME
|
|
81
|
+
durable_proof: key-level ownership ledger identity and fingerprint
|
|
82
|
+
ownership_available: false
|
|
83
|
+
result_without_proof: action_required
|
|
84
|
+
- id: codex.config.agents.max_depth
|
|
85
|
+
host: codex
|
|
86
|
+
destination: "{home}/.codex/config.toml"
|
|
87
|
+
key: agents.max_depth
|
|
88
|
+
durable_proof: key-level ownership ledger identity and fingerprint
|
|
89
|
+
ownership_available: false
|
|
90
|
+
result_without_proof: action_required
|
|
91
|
+
- id: codex.config.features.multi_agent_v2
|
|
92
|
+
host: codex
|
|
93
|
+
destination: "{home}/.codex/config.toml"
|
|
94
|
+
key: features.multi_agent_v2
|
|
95
|
+
durable_proof: key-level ownership ledger identity and fingerprint
|
|
96
|
+
ownership_available: false
|
|
97
|
+
result_without_proof: action_required
|
|
@@ -23,16 +23,9 @@ contract validators, and runtime smoke checks.
|
|
|
23
23
|
| --- | --- | --- | --- |
|
|
24
24
|
| Startup state benchmark | `mage bench:startupState` | Measures how often Agentera CLI state reads are followed by raw artifact access during startup/state gathering. | Manual only; forbidden in normal CI. |
|
|
25
25
|
|
|
26
|
-
Verification
|
|
27
|
-
|
|
28
|
-
production-scale ownership map, and unresolved worker/lane criteria live in
|
|
29
|
-
[`verification-baseline-2026-07-20.yaml`](./verification-baseline-2026-07-20.yaml).
|
|
30
|
-
That baseline remains measurement authority. Current test ownership, independent
|
|
31
|
-
owner commands, mixed-file separation markers, conservative routing, and named
|
|
32
|
-
execution-policy compositions live in
|
|
26
|
+
Verification ownership, independent owner commands, mixed-file separation
|
|
27
|
+
markers, conservative routing, and named execution-policy compositions live in
|
|
33
28
|
[`verification-policy.yaml`](./verification-policy.yaml).
|
|
34
|
-
Losslessly compressed raw reports live beside a dependency-free recomputation
|
|
35
|
-
command under `references/analysis/evidence/verification-baseline-2026-07-20/`.
|
|
36
29
|
|
|
37
30
|
The startup benchmark is an optimization signal for Decision 51 and Decision 52.
|
|
38
31
|
It does not implement a startup state envelope or change runtime behavior.
|