agentera 3.0.0-dev.25 → 3.0.0-dev.27
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/LICENSE +201 -0
- package/README.md +29 -23
- package/bundle/CHANGELOG.md +18 -25
- package/bundle/README.md +13 -34
- package/bundle/UPGRADE.md +71 -165
- package/bundle/references/adapters/package-manifest-interface-model.yaml +40 -241
- package/bundle/references/adapters/package-registry.yaml +0 -145
- package/bundle/references/adapters/package-surface-characterization.md +22 -42
- package/bundle/references/adapters/runtime-lifecycle-adapters.yaml +5 -219
- package/bundle/references/adapters/runtime-lifecycle-authority.yaml +2 -29
- package/bundle/references/adapters/runtime-lifecycle-operation-contract.yaml +1 -1
- package/bundle/references/analysis/analytics-boundary-proportional-2026-07-20.yaml +74 -0
- package/bundle/references/analysis/benchmark.md +11 -0
- 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 +98 -0
- 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 +64 -0
- package/bundle/references/analysis/verification-baseline-2026-07-20.yaml +313 -0
- package/bundle/references/analysis/verification-final-proof-2026-07-21.yaml +340 -0
- package/bundle/references/analysis/verification-policy.yaml +142 -0
- package/bundle/references/analysis/worker-policy-2026-07-21.yaml +207 -0
- package/bundle/references/artifacts/state-storage-authority.yaml +48 -448
- package/bundle/references/cli/agent-ready-state-contract.yaml +9 -9
- package/bundle/references/cli/app-lifecycle-vocabulary.yaml +3 -4
- package/bundle/references/cli/bundle-skill-vocabulary.yaml +9 -18
- package/bundle/references/cli/capability-tool-classification.yaml +2 -2
- package/bundle/references/cli/prime-consumer-compatibility.yaml +86 -112
- package/bundle/references/cli/routing-execution-vocabulary.yaml +4 -22
- package/bundle/references/cli/upgrade-repair-wording.md +8 -28
- package/bundle/references/cli/v3-handoff-manifest.schema.yaml +2 -3
- package/bundle/references/cli/vocabulary.md +18 -23
- package/bundle/references/meta/documentation-inventory.md +3 -1
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/artifacts.yaml +3 -2
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/exit.yaml +1 -1
- package/bundle/skills/agentera/schemas/artifacts/docs.yaml +3 -11
- package/bundle/skills/agentera/schemas/artifacts/plan.yaml +23 -5
- package/dist/analytics/extractCorpus/cli.js.map +1 -1
- package/dist/analytics/extractCorpus/copilotSessions.js.map +1 -1
- package/dist/analytics/extractCorpus/core.js.map +1 -1
- package/dist/analytics/extractCorpus/corpus.js.map +1 -1
- package/dist/analytics/extractCorpus/coverageAudit.js.map +1 -1
- package/dist/analytics/extractCorpus/cursorSessions.js.map +1 -1
- package/dist/analytics/extractCorpus/evidenceTiers.js.map +1 -1
- package/dist/analytics/extractCorpus/extractCorpusParity.js +1 -1
- package/dist/analytics/extractCorpus/extractCorpusParity.js.map +1 -1
- package/dist/analytics/extractCorpus/filesystemSources.js.map +1 -1
- package/dist/analytics/extractCorpus/index.js.map +1 -1
- package/dist/analytics/extractCorpus/jsonlSessions.js.map +1 -1
- package/dist/analytics/extractCorpus/sqliteCaps.js.map +1 -1
- package/dist/analytics/extractCorpus/sqliteSessions.js.map +1 -1
- package/dist/analytics/extractCorpus/tierReader.js.map +1 -1
- package/dist/analytics/extractCorpus.js.map +1 -1
- package/dist/analytics/profileSignals.js.map +1 -1
- package/dist/analytics/usageStats.js.map +1 -1
- package/dist/bin/agentera.js.map +1 -1
- package/dist/capabilities/audit/instructions.js.map +1 -1
- package/dist/capabilities/build/instructions.js.map +1 -1
- package/dist/capabilities/design/instructions.js.map +1 -1
- package/dist/capabilities/discuss/instructions.js.map +1 -1
- package/dist/capabilities/document/instructions.js.map +1 -1
- package/dist/capabilities/index.js.map +1 -1
- package/dist/capabilities/optimize/instructions.js.map +1 -1
- package/dist/capabilities/orchestrate/instructions.js +1 -1
- package/dist/capabilities/orchestrate/instructions.js.map +1 -1
- package/dist/capabilities/plan/instructions.js.map +1 -1
- package/dist/capabilities/profile/instructions.js.map +1 -1
- package/dist/capabilities/research/instructions.js.map +1 -1
- package/dist/capabilities/status/instructions.js.map +1 -1
- package/dist/capabilities/status/startupInstructions.js.map +1 -1
- package/dist/capabilities/vision/instructions.js.map +1 -1
- package/dist/cli/appContext.js.map +1 -1
- package/dist/cli/argvalidate.js.map +1 -1
- package/dist/cli/capabilityContext/benchmark.js.map +1 -1
- package/dist/cli/capabilityContext/bespoke.js +8 -2
- package/dist/cli/capabilityContext/bespoke.js.map +1 -1
- package/dist/cli/capabilityContext/build.js.map +1 -1
- package/dist/cli/capabilityContext/closeout.js +3 -3
- package/dist/cli/capabilityContext/closeout.js.map +1 -1
- package/dist/cli/capabilityContext/contract.js.map +1 -1
- package/dist/cli/capabilityContext/evidence.js +52 -40
- package/dist/cli/capabilityContext/evidence.js.map +1 -1
- package/dist/cli/capabilityContext/index.js.map +1 -1
- package/dist/cli/capabilityContext/orchestration.js +15 -5
- package/dist/cli/capabilityContext/orchestration.js.map +1 -1
- package/dist/cli/capabilityContext/planState.js +1 -1
- package/dist/cli/capabilityContext/planState.js.map +1 -1
- package/dist/cli/capabilityContext/progress.js.map +1 -1
- package/dist/cli/capabilityContext/shared.js.map +1 -1
- package/dist/cli/capabilityContext/slim.js +16 -3
- package/dist/cli/capabilityContext/slim.js.map +1 -1
- package/dist/cli/capabilityContext/startup.js +4 -1
- package/dist/cli/capabilityContext/startup.js.map +1 -1
- package/dist/cli/capabilityContext/types.js.map +1 -1
- package/dist/cli/capabilityContext.js.map +1 -1
- package/dist/cli/commands/appHome.js.map +1 -1
- package/dist/cli/commands/capability.js.map +1 -1
- package/dist/cli/commands/compact.js.map +1 -1
- package/dist/cli/commands/doctor.js +6 -64
- package/dist/cli/commands/doctor.js.map +1 -1
- package/dist/cli/commands/durability.js +12 -48
- package/dist/cli/commands/durability.js.map +1 -1
- package/dist/cli/commands/entityMigrate.js.map +1 -1
- package/dist/cli/commands/lint.js.map +1 -1
- package/dist/cli/commands/prime/briefOrientation.js +25 -24
- package/dist/cli/commands/prime/briefOrientation.js.map +1 -1
- package/dist/cli/commands/prime/bundleStatus.js +8 -2
- package/dist/cli/commands/prime/bundleStatus.js.map +1 -1
- package/dist/cli/commands/prime/collectEntityOrientation.js +76 -24
- package/dist/cli/commands/prime/collectEntityOrientation.js.map +1 -1
- package/dist/cli/commands/prime/collectOrientationState.js +34 -53
- package/dist/cli/commands/prime/collectOrientationState.js.map +1 -1
- package/dist/cli/commands/prime/orientationOutput.js +9 -14
- package/dist/cli/commands/prime/orientationOutput.js.map +1 -1
- package/dist/cli/commands/prime/types.js.map +1 -1
- package/dist/cli/commands/prime/v1Migration.js.map +1 -1
- package/dist/cli/commands/prime.js +43 -25
- package/dist/cli/commands/prime.js.map +1 -1
- package/dist/cli/commands/query.js +17 -49
- package/dist/cli/commands/query.js.map +1 -1
- package/dist/cli/commands/report.js.map +1 -1
- package/dist/cli/commands/schema.js +19 -78
- package/dist/cli/commands/schema.js.map +1 -1
- package/dist/cli/commands/state/decisions.js +11 -57
- package/dist/cli/commands/state/decisions.js.map +1 -1
- package/dist/cli/commands/state/docs.js +56 -120
- package/dist/cli/commands/state/docs.js.map +1 -1
- package/dist/cli/commands/state/experimentRecords.js +22 -121
- package/dist/cli/commands/state/experimentRecords.js.map +1 -1
- package/dist/cli/commands/state/experiments.js +9 -75
- package/dist/cli/commands/state/experiments.js.map +1 -1
- package/dist/cli/commands/state/get.js +62 -143
- package/dist/cli/commands/state/get.js.map +1 -1
- package/dist/cli/commands/state/health.js +9 -123
- package/dist/cli/commands/state/health.js.map +1 -1
- package/dist/cli/commands/state/index.js +2 -2
- package/dist/cli/commands/state/index.js.map +1 -1
- package/dist/cli/commands/state/list.js +20 -36
- package/dist/cli/commands/state/list.js.map +1 -1
- package/dist/cli/commands/state/objective.js +19 -86
- package/dist/cli/commands/state/objective.js.map +1 -1
- package/dist/cli/commands/state/plan.js +9 -388
- package/dist/cli/commands/state/plan.js.map +1 -1
- package/dist/cli/commands/state/planTasks.js +58 -93
- package/dist/cli/commands/state/planTasks.js.map +1 -1
- package/dist/cli/commands/state/plans.js +13 -40
- package/dist/cli/commands/state/plans.js.map +1 -1
- package/dist/cli/commands/state/progress.js +10 -55
- 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 +24 -133
- package/dist/cli/commands/state/todo.js.map +1 -1
- package/dist/cli/commands/state/write.js +13 -35
- package/dist/cli/commands/state/write.js.map +1 -1
- package/dist/cli/commands/upgrade.js +48 -18
- package/dist/cli/commands/upgrade.js.map +1 -1
- package/dist/cli/commands/upgradeVerify.js +21 -15
- package/dist/cli/commands/upgradeVerify.js.map +1 -1
- package/dist/cli/commands/validate.js +1 -9
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/commands/verify.js.map +1 -1
- package/dist/cli/contracts/bundleStatus.js.map +1 -1
- package/dist/cli/contracts/orientationState.js.map +1 -1
- package/dist/cli/dispatch/argvParser.js.map +1 -1
- package/dist/cli/dispatch/check.js +5 -12
- package/dist/cli/dispatch/check.js.map +1 -1
- package/dist/cli/dispatch/commands.js.map +1 -1
- package/dist/cli/dispatch/index.js +30 -29
- package/dist/cli/dispatch/index.js.map +1 -1
- package/dist/cli/dispatch/lifecycle.js +23 -40
- package/dist/cli/dispatch/lifecycle.js.map +1 -1
- package/dist/cli/dispatch/prime.js.map +1 -1
- package/dist/cli/dispatch/shared.js.map +1 -1
- package/dist/cli/dispatch/state.js.map +1 -1
- package/dist/cli/dispatch.js.map +1 -1
- package/dist/cli/errors.js.map +1 -1
- package/dist/cli/help.js +20 -100
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/migrationRequired.js +22 -19
- package/dist/cli/migrationRequired.js.map +1 -1
- package/dist/cli/orientation/attention.js +1 -97
- package/dist/cli/orientation/attention.js.map +1 -1
- package/dist/cli/orientation/corpusCoverage.js.map +1 -1
- package/dist/cli/orientation.js +18 -4
- package/dist/cli/orientation.js.map +1 -1
- package/dist/cli/planArtifacts.js.map +1 -1
- package/dist/cli/planEvidence.js.map +1 -1
- package/dist/cli/planLifecycleState.js.map +1 -1
- package/dist/cli/planTaskIndex.js +12 -0
- package/dist/cli/planTaskIndex.js.map +1 -0
- package/dist/cli/prime-blob.js +1 -1
- package/dist/cli/prime-blob.js.map +1 -1
- package/dist/cli/startupCompletenessContract.js.map +1 -1
- package/dist/cli/stateQuery.js +1 -2
- package/dist/cli/stateQuery.js.map +1 -1
- package/dist/cli/structured.js.map +1 -1
- package/dist/cli/todoMarkdown.js.map +1 -1
- package/dist/cli/todoSeverity.js.map +1 -1
- package/dist/core/atomicWriter.js.map +1 -1
- package/dist/core/difflib.js.map +1 -1
- package/dist/core/envPaths.js.map +1 -1
- package/dist/core/jsonValue.js.map +1 -1
- package/dist/core/paths.js.map +1 -1
- package/dist/core/pyjson.js.map +1 -1
- package/dist/core/skillIdentity.js +24 -0
- package/dist/core/skillIdentity.js.map +1 -0
- package/dist/core/sourceRoot.js.map +1 -1
- package/dist/core/text.js.map +1 -1
- package/dist/core/toml.js.map +1 -1
- package/dist/core/yaml.js.map +1 -1
- package/dist/eval/evalSkills.js.map +1 -1
- package/dist/eval/semanticEval.js.map +1 -1
- package/dist/eval/semanticFixtures.js.map +1 -1
- package/dist/hooks/common.js +1 -1
- package/dist/hooks/common.js.map +1 -1
- package/dist/hooks/compaction/apply.js.map +1 -1
- package/dist/hooks/compaction/dryRun.js.map +1 -1
- package/dist/hooks/compaction/index.js.map +1 -1
- package/dist/hooks/compaction/parse.js.map +1 -1
- package/dist/hooks/compaction/retention.js.map +1 -1
- package/dist/hooks/compaction/status.js +2 -1
- package/dist/hooks/compaction/status.js.map +1 -1
- package/dist/hooks/compaction/types.js.map +1 -1
- package/dist/hooks/cursorPreToolUse.js.map +1 -1
- package/dist/hooks/cursorSessionStart.js +4 -25
- package/dist/hooks/cursorSessionStart.js.map +1 -1
- package/dist/hooks/projectHookInput.js +26 -0
- package/dist/hooks/projectHookInput.js.map +1 -0
- package/dist/hooks/sessionStart.js +23 -239
- package/dist/hooks/sessionStart.js.map +1 -1
- package/dist/hooks/sessionStop.js +4 -12
- package/dist/hooks/sessionStop.js.map +1 -1
- package/dist/hooks/validateArtifact/agentFacing.js.map +1 -1
- package/dist/hooks/validateArtifact/index.js.map +1 -1
- package/dist/hooks/validateArtifact/markdown.js.map +1 -1
- package/dist/hooks/validateArtifact/runtime.js.map +1 -1
- package/dist/hooks/validateArtifact/schema.js.map +1 -1
- package/dist/hooks/validateArtifact/traversal.js +1 -1
- package/dist/hooks/validateArtifact/traversal.js.map +1 -1
- package/dist/hooks/validateArtifact/violations.js.map +1 -1
- package/dist/migrate/v2HandoffManifest.js.map +1 -1
- package/dist/registries/artifactProtocolIds.js.map +1 -1
- package/dist/registries/artifactRegistry.js +2 -1
- package/dist/registries/artifactRegistry.js.map +1 -1
- package/dist/registries/capabilityContract.js.map +1 -1
- package/dist/registries/evaluatorHandoffContract.js.map +1 -1
- package/dist/registries/evidenceTierContract.js.map +1 -1
- package/dist/registries/packageRegistry.js +57 -231
- package/dist/registries/packageRegistry.js.map +1 -1
- package/dist/registries/triggerLoader.js.map +1 -1
- package/dist/registries/verbosityBudgetContract.js.map +1 -1
- package/dist/release/releaseMetadata.js +1 -13
- package/dist/release/releaseMetadata.js.map +1 -1
- package/dist/runtime/lifecycleAdapterContract.js +4 -4
- package/dist/runtime/lifecycleAdapterContract.js.map +1 -1
- package/dist/runtime/lifecycleAdapters.js +14 -2
- package/dist/runtime/lifecycleAdapters.js.map +1 -1
- package/dist/runtime/lifecycleAuthority.js +5 -43
- package/dist/runtime/lifecycleAuthority.js.map +1 -1
- package/dist/runtime/lifecycleOperationContract.js +3 -2
- package/dist/runtime/lifecycleOperationContract.js.map +1 -1
- package/dist/runtime/lifecycleOperations.js.map +1 -1
- package/dist/runtime/lifecycleOwnershipJournal.js.map +1 -1
- package/dist/runtime/lifecyclePublication.js +21 -0
- package/dist/runtime/lifecyclePublication.js.map +1 -1
- package/dist/runtime/lifecycleSnapshot.js.map +1 -1
- package/dist/runtime/retiredRuntimeCleanup.js.map +1 -1
- package/dist/setup/codex/agents.js.map +1 -1
- package/dist/setup/codex/cli.js.map +1 -1
- package/dist/setup/codex/configToml.js.map +1 -1
- package/dist/setup/codex/constants.js.map +1 -1
- package/dist/setup/codex/installRoot.js.map +1 -1
- package/dist/setup/codex/state.js.map +1 -1
- package/dist/setup/codex.js.map +1 -1
- package/dist/setup/opencode.js +20 -12
- package/dist/setup/opencode.js.map +1 -1
- package/dist/setup/opencodeConstants.js.map +1 -1
- package/dist/setup/sharedSkill.js +46 -0
- package/dist/setup/sharedSkill.js.map +1 -0
- package/dist/setup/smokeChecks.js +16 -43
- package/dist/setup/smokeChecks.js.map +1 -1
- package/dist/state/archiveDiscovery.js.map +1 -1
- package/dist/state/archivePublication.js.map +1 -1
- package/dist/state/archiveRecovery.js.map +1 -1
- package/dist/state/archiveReplay.js.map +1 -1
- package/dist/state/decisionEntities.js +7 -4
- package/dist/state/decisionEntities.js.map +1 -1
- package/dist/state/decisionLegacyValidation.js.map +1 -1
- package/dist/state/decisionOverlay.js.map +1 -1
- package/dist/state/decisionRevision.js.map +1 -1
- package/dist/state/decisionRevisionPublication.js.map +1 -1
- package/dist/state/directRetrieval.js.map +1 -1
- package/dist/state/durability.js +4 -240
- package/dist/state/durability.js.map +1 -1
- package/dist/state/entityCutover.js +90 -186
- package/dist/state/entityCutover.js.map +1 -1
- package/dist/state/entityCutoverGit.js.map +1 -1
- package/dist/state/entityMigrationPreview.js +3 -3
- package/dist/state/entityMigrationPreview.js.map +1 -1
- package/dist/state/entityPublicationContext.js.map +1 -1
- package/dist/state/entityStorage.js +49 -10
- package/dist/state/entityStorage.js.map +1 -1
- package/dist/state/experimentArchive.js.map +1 -1
- package/dist/state/experimentIdentity.js.map +1 -1
- package/dist/state/experimentRetrieval.js.map +1 -1
- package/dist/state/healthEntities.js +7 -4
- package/dist/state/healthEntities.js.map +1 -1
- package/dist/state/healthEntityValidation.js.map +1 -1
- package/dist/state/healthRepair.js.map +1 -1
- package/dist/state/installRoot.js.map +1 -1
- package/dist/state/legacyEntityCutoverEvidence.js.map +1 -1
- package/dist/state/legacyIdentity.js.map +1 -1
- package/dist/state/listAccounting.js.map +1 -1
- package/dist/state/listClassification.js.map +1 -1
- package/dist/state/listRetrieval.js.map +1 -1
- package/dist/state/objectiveExperimentEntities.js +7 -5
- package/dist/state/objectiveExperimentEntities.js.map +1 -1
- package/dist/state/planEntities.js +60 -12
- package/dist/state/planEntities.js.map +1 -1
- package/dist/state/planIdentity.js.map +1 -1
- package/dist/state/planRetrieval.js.map +1 -1
- package/dist/state/planTaskRetrieval.js.map +1 -1
- package/dist/state/progressEntities.js +4 -2
- package/dist/state/progressEntities.js.map +1 -1
- package/dist/state/projectRoot.js.map +1 -1
- package/dist/state/projectionPolicy.js.map +1 -1
- package/dist/state/retrievalAuthority.js.map +1 -1
- package/dist/state/safeProjectFile.js.map +1 -1
- package/dist/state/startupAnalysis/benchmark.js.map +1 -1
- package/dist/state/startupAnalysis/contract.js.map +1 -1
- package/dist/state/startupAnalysis/helpers.js.map +1 -1
- package/dist/state/startupAnalysis/index.js.map +1 -1
- package/dist/state/startupAnalysis/metrics.js.map +1 -1
- package/dist/state/startupAnalysis/records.js.map +1 -1
- package/dist/state/startupAnalysis/report.js.map +1 -1
- package/dist/state/startupAnalysis/threshold.js.map +1 -1
- package/dist/state/startupAnalysis.js.map +1 -1
- package/dist/state/startupProjection.js +5 -3
- package/dist/state/startupProjection.js.map +1 -1
- package/dist/state/stateMode.js +7 -0
- package/dist/state/stateMode.js.map +1 -1
- package/dist/state/todoDocsEntities.js +6 -4
- package/dist/state/todoDocsEntities.js.map +1 -1
- package/dist/state/todoDocsEntityValidation.js.map +1 -1
- package/dist/state/write/assign.js.map +1 -1
- package/dist/state/write/candidateMutation.js.map +1 -1
- package/dist/state/write/errors.js.map +1 -1
- package/dist/state/write/experimentPublication.js.map +1 -1
- package/dist/state/write/explain.js +10 -12
- package/dist/state/write/explain.js.map +1 -1
- package/dist/state/write/fields.js.map +1 -1
- package/dist/state/write/helpers.js.map +1 -1
- package/dist/state/write/index.js.map +1 -1
- package/dist/state/write/input.js.map +1 -1
- package/dist/state/write/lock.js.map +1 -1
- package/dist/state/write/mutation.js.map +1 -1
- package/dist/state/write/operations.js +6 -0
- package/dist/state/write/operations.js.map +1 -1
- package/dist/state/write/planEvaluation.js +19 -5
- package/dist/state/write/planEvaluation.js.map +1 -1
- package/dist/state/write/planPublication.js +7 -0
- package/dist/state/write/planPublication.js.map +1 -1
- package/dist/state/write/serialize.js.map +1 -1
- package/dist/state/write/transaction.js +23 -532
- package/dist/state/write/transaction.js.map +1 -1
- package/dist/state/write/validate.js.map +1 -1
- package/dist/upgrade/appContentRefresh.js +54 -44
- package/dist/upgrade/appContentRefresh.js.map +1 -1
- package/dist/upgrade/appModel.js.map +1 -1
- package/dist/upgrade/atomicWriter.js.map +1 -1
- package/dist/upgrade/bundleEvidence.js.map +1 -1
- package/dist/upgrade/channels.js.map +1 -1
- package/dist/upgrade/coexistenceProbe.js.map +1 -1
- package/dist/upgrade/compatibility.js.map +1 -1
- package/dist/upgrade/doctor.js +5 -1
- package/dist/upgrade/doctor.js.map +1 -1
- package/dist/upgrade/doctorClassifier.js.map +1 -1
- package/dist/upgrade/installedHooksRetirement.js +46 -39
- package/dist/upgrade/installedHooksRetirement.js.map +1 -1
- package/dist/upgrade/legacyAgentCleanup.js +132 -32
- package/dist/upgrade/legacyAgentCleanup.js.map +1 -1
- package/dist/upgrade/lifecycleUpgrade.js +65 -378
- package/dist/upgrade/lifecycleUpgrade.js.map +1 -1
- package/dist/upgrade/migrateArtifactsV2ToV3.js +151 -52
- package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -1
- package/dist/upgrade/migrationPublication.js +123 -0
- package/dist/upgrade/migrationPublication.js.map +1 -0
- package/dist/upgrade/nextMajorDoctor.js.map +1 -1
- package/dist/upgrade/npxPlatformStatus.js.map +1 -1
- package/dist/upgrade/projectIntegration.js +46 -113
- package/dist/upgrade/projectIntegration.js.map +1 -1
- package/dist/upgrade/projectIntegrationDecision.js +6 -96
- package/dist/upgrade/projectIntegrationDecision.js.map +1 -1
- package/dist/upgrade/runtimeMigration.js +222 -402
- package/dist/upgrade/runtimeMigration.js.map +1 -1
- package/dist/upgrade/upgradeCommands.js +5 -4
- package/dist/upgrade/upgradeCommands.js.map +1 -1
- package/dist/upgrade/upgradeLock.js +73 -41
- package/dist/upgrade/upgradeLock.js.map +1 -1
- package/dist/upgrade/upgradeOrchestrator.js +91 -158
- package/dist/upgrade/upgradeOrchestrator.js.map +1 -1
- package/dist/upgrade/v3CapabilitySurface.js +2 -2
- package/dist/upgrade/v3CapabilitySurface.js.map +1 -1
- package/dist/upgrade/versionResolution.js.map +1 -1
- package/dist/validate/appHomeContract.js +0 -4
- package/dist/validate/appHomeContract.js.map +1 -1
- package/dist/validate/capability.js.map +1 -1
- package/dist/validate/crossCapability.js.map +1 -1
- package/dist/validate/selfAudit.js.map +1 -1
- package/dist/validate/vocabularyAuthority.js.map +1 -1
- package/package.json +23 -8
- package/bundle/.codex-plugin/plugin.json +0 -92
- package/bundle/.cursor/agents/agentera.md +0 -7
- package/bundle/.cursor/hooks.json +0 -32
- package/bundle/.cursor-plugin/plugin.json +0 -34
- package/bundle/.github/hooks/postToolUse.json +0 -9
- package/bundle/.github/hooks/preToolUse.json +0 -8
- package/bundle/.github/hooks/sessionEnd.json +0 -8
- package/bundle/.github/hooks/sessionStart.json +0 -8
- package/bundle/.github/plugin/plugin.json +0 -7
- package/bundle/.opencode/agents/agentera.md +0 -12
- package/bundle/.opencode/commands/agentera.md +0 -5
- package/bundle/.opencode/package.json +0 -31
- package/bundle/.opencode/plugins/agentera.js +0 -820
- package/bundle/agents/openai.yaml +0 -87
- package/bundle/hooks/codex-hooks.json +0 -31
- package/bundle/hooks/codex-plugin-hooks.json +0 -31
- package/bundle/plugin.json +0 -13
- package/bundle/references/adapters/cursor.md +0 -224
- package/bundle/references/adapters/opencode.md +0 -529
- package/bundle/references/adapters/runtime-adapter-characterization.md +0 -44
- package/bundle/references/adapters/runtime-adapter-interface-model.yaml +0 -200
- package/bundle/references/adapters/runtime-adapter-registry.yaml +0 -387
- package/bundle/references/adapters/runtime-feature-parity.md +0 -129
- package/dist/cli/commands/backfill.js +0 -231
- package/dist/cli/commands/backfill.js.map +0 -1
- package/dist/cli/commands/migrate.js +0 -681
- package/dist/cli/commands/migrate.js.map +0 -1
- package/dist/registries/runtimeAdapterRegistry.js +0 -324
- package/dist/registries/runtimeAdapterRegistry.js.map +0 -1
- package/dist/setup/copilot.js +0 -227
- package/dist/setup/copilot.js.map +0 -1
- package/dist/setup/cursor.js +0 -129
- package/dist/setup/cursor.js.map +0 -1
- package/dist/setup/cursorSurfaces.js +0 -67
- package/dist/setup/cursorSurfaces.js.map +0 -1
- package/dist/setup/doctor/core.js +0 -296
- package/dist/setup/doctor/core.js.map +0 -1
- package/dist/setup/doctor/diagnostics.js +0 -201
- package/dist/setup/doctor/diagnostics.js.map +0 -1
- package/dist/setup/doctor/opencode.js +0 -301
- package/dist/setup/doctor/opencode.js.map +0 -1
- package/dist/setup/doctor/report.js +0 -425
- package/dist/setup/doctor/report.js.map +0 -1
- package/dist/setup/doctor.js +0 -10
- package/dist/setup/doctor.js.map +0 -1
- package/dist/state/gitBackfill.js +0 -561
- package/dist/state/gitBackfill.js.map +0 -1
- package/dist/state/gitBackfillAuthority.js +0 -141
- package/dist/state/gitBackfillAuthority.js.map +0 -1
- package/dist/state/gitBackfillHistory.js +0 -278
- package/dist/state/gitBackfillHistory.js.map +0 -1
- package/dist/state/gitBackfillOutput.js +0 -209
- package/dist/state/gitBackfillOutput.js.map +0 -1
- package/dist/state/legacyMigration.js +0 -516
- package/dist/state/legacyMigration.js.map +0 -1
- package/dist/state/legacyMigrationParser.js +0 -489
- package/dist/state/legacyMigrationParser.js.map +0 -1
- package/dist/state/migrationAuthority.js +0 -413
- package/dist/state/migrationAuthority.js.map +0 -1
- package/dist/state/migrationEnrichment.js +0 -35
- package/dist/state/migrationEnrichment.js.map +0 -1
- package/dist/state/projectionRecovery.js +0 -458
- package/dist/state/projectionRecovery.js.map +0 -1
- package/dist/upgrade/migrateArtifactsV1ToV2.js +0 -568
- package/dist/upgrade/migrateArtifactsV1ToV2.js.map +0 -1
- package/dist/validate/lifecycleAdapters/legacyPythonParity.js +0 -93
- package/dist/validate/lifecycleAdapters/legacyPythonParity.js.map +0 -1
- package/dist/validate/lifecycleAdapters/lifecycleMain.js +0 -154
- package/dist/validate/lifecycleAdapters/lifecycleMain.js.map +0 -1
- package/dist/validate/lifecycleAdapters/nodeFormChecks.js +0 -481
- package/dist/validate/lifecycleAdapters/nodeFormChecks.js.map +0 -1
- package/dist/validate/lifecycleAdapters/shared.js +0 -198
- package/dist/validate/lifecycleAdapters/shared.js.map +0 -1
- package/dist/validate/lifecycleAdapters.js +0 -10
- package/dist/validate/lifecycleAdapters.js.map +0 -1
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
display_name: Agentera
|
|
2
|
-
description: "Portable Agentera suite for Codex: one bundled skill with exact bare `/agentera` routing and twelve routed capabilities."
|
|
3
|
-
icon: AG
|
|
4
|
-
brand_color: "#111827"
|
|
5
|
-
default_prompt: Use $agentera to inspect project state and route to the right capability; exact bare `/agentera` uses the agentera prime dashboard path.
|
|
6
|
-
policy:
|
|
7
|
-
allow_implicit_invocation: true
|
|
8
|
-
support:
|
|
9
|
-
skill_discovery: /skills
|
|
10
|
-
plugin_discovery: /plugins
|
|
11
|
-
explicit_invocation: $agentera
|
|
12
|
-
implicit_invocation: the bundled skill may be invoked implicitly; exact bare `/agentera` belongs to agentera, not the legacy hej bridge
|
|
13
|
-
lifecycle_hooks: stable via codex_hooks; bundled config lives at hooks/codex-hooks.json and can be copied to ~/.codex/hooks.json or a project .codex/hooks.json for apply_patch artifact validation
|
|
14
|
-
skills:
|
|
15
|
-
- name: agentera
|
|
16
|
-
display_name: agentera
|
|
17
|
-
path: ./skills/agentera
|
|
18
|
-
metadata: ./agents/openai.yaml
|
|
19
|
-
description: Compound agent orchestration suite with exact bare `/agentera` routing and twelve capabilities in one bundled skill.
|
|
20
|
-
invocation_hint: Use $agentera, or inspect it with /skills and /plugins. For a complete bare `/agentera` message, use the agentera prime dashboard path.
|
|
21
|
-
policy:
|
|
22
|
-
allow_implicit_invocation: true
|
|
23
|
-
capabilities:
|
|
24
|
-
- name: status
|
|
25
|
-
description: Entry-point orientation and routing for fresh or returning projects, including a complete user message exactly `/agentera`.
|
|
26
|
-
invocation_hint: Use $agentera status or ask $agentera for project status; exact bare `/agentera` uses this dashboard path.
|
|
27
|
-
policy:
|
|
28
|
-
allow_implicit_invocation: true
|
|
29
|
-
- name: research
|
|
30
|
-
description: External-source analysis mapped onto a project through Agentera artifacts.
|
|
31
|
-
invocation_hint: Use $agentera research for links or external source analysis.
|
|
32
|
-
policy:
|
|
33
|
-
allow_implicit_invocation: true
|
|
34
|
-
- name: profile
|
|
35
|
-
description: Decision-profile mining. Limited to available bounded Codex history, session, or config corpus data.
|
|
36
|
-
invocation_hint: Use $agentera profile when bounded Codex history, session, or config corpus data is available.
|
|
37
|
-
policy:
|
|
38
|
-
allow_implicit_invocation: false
|
|
39
|
-
required_capabilities:
|
|
40
|
-
- name: codex_session_corpus
|
|
41
|
-
status: ok
|
|
42
|
-
action: Run profile extraction; bounded Codex history, session, or config corpus data lands in the Section 22 corpus when present, with absent source families reported in corpus metadata.
|
|
43
|
-
- name: build
|
|
44
|
-
description: Autonomous development cycles grounded in project vision, TODO, and verification.
|
|
45
|
-
invocation_hint: Use $agentera build for autonomous development cycles.
|
|
46
|
-
policy:
|
|
47
|
-
allow_implicit_invocation: true
|
|
48
|
-
- name: optimize
|
|
49
|
-
description: Metric-driven optimization loops for measurable objectives.
|
|
50
|
-
invocation_hint: Use $agentera optimize for measured optimization work.
|
|
51
|
-
policy:
|
|
52
|
-
allow_implicit_invocation: true
|
|
53
|
-
- name: discuss
|
|
54
|
-
description: Structured deliberation for consequential decisions and tradeoffs.
|
|
55
|
-
invocation_hint: Use $agentera discuss for decision framing.
|
|
56
|
-
policy:
|
|
57
|
-
allow_implicit_invocation: true
|
|
58
|
-
- name: audit
|
|
59
|
-
description: Codebase health audits with severity, confidence, and trend tracking.
|
|
60
|
-
invocation_hint: Use $agentera audit for codebase health audits.
|
|
61
|
-
policy:
|
|
62
|
-
allow_implicit_invocation: true
|
|
63
|
-
- name: plan
|
|
64
|
-
description: Scale-adaptive planning with behavioral acceptance criteria.
|
|
65
|
-
invocation_hint: Use $agentera plan for multi-step planning.
|
|
66
|
-
policy:
|
|
67
|
-
allow_implicit_invocation: true
|
|
68
|
-
- name: vision
|
|
69
|
-
description: Project vision creation and refinement.
|
|
70
|
-
invocation_hint: Use $agentera vision for project direction work.
|
|
71
|
-
policy:
|
|
72
|
-
allow_implicit_invocation: true
|
|
73
|
-
- name: document
|
|
74
|
-
description: DTC-first documentation creation, maintenance, and audit.
|
|
75
|
-
invocation_hint: Use $agentera document for documentation work.
|
|
76
|
-
policy:
|
|
77
|
-
allow_implicit_invocation: true
|
|
78
|
-
- name: design
|
|
79
|
-
description: Visual identity system creation, refinement, and audit.
|
|
80
|
-
invocation_hint: Use $agentera design for design system work.
|
|
81
|
-
policy:
|
|
82
|
-
allow_implicit_invocation: true
|
|
83
|
-
- name: orchestrate
|
|
84
|
-
description: Plan-driven orchestration that dispatches capabilities and evaluates results.
|
|
85
|
-
invocation_hint: Use $agentera orchestrate for plan execution.
|
|
86
|
-
policy:
|
|
87
|
-
allow_implicit_invocation: true
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"description": "agentera v3 Codex CLI hooks (PascalCase lifecycle events PreToolUse, PostToolUse): schema-backed apply_patch artifact validation; copied to ~/.codex/hooks/codex-hooks.json by upgrade",
|
|
3
|
-
"hooks": {
|
|
4
|
-
"PreToolUse": [
|
|
5
|
-
{
|
|
6
|
-
"matcher": "^apply_patch$",
|
|
7
|
-
"hooks": [
|
|
8
|
-
{
|
|
9
|
-
"type": "command",
|
|
10
|
-
"command": "npx -y agentera@next hook validate-artifact",
|
|
11
|
-
"timeout": 10,
|
|
12
|
-
"statusMessage": "validating artifact"
|
|
13
|
-
}
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"PostToolUse": [
|
|
18
|
-
{
|
|
19
|
-
"matcher": "^apply_patch$",
|
|
20
|
-
"hooks": [
|
|
21
|
-
{
|
|
22
|
-
"type": "command",
|
|
23
|
-
"command": "npx -y agentera@next hook validate-artifact",
|
|
24
|
-
"timeout": 10,
|
|
25
|
-
"statusMessage": "validating artifact"
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"description": "agentera v3 Codex plugin hooks (PascalCase lifecycle events PreToolUse, PostToolUse): schema-backed apply_patch artifact validation bundled via .codex-plugin/plugin.json using PLUGIN_ROOT",
|
|
3
|
-
"hooks": {
|
|
4
|
-
"PreToolUse": [
|
|
5
|
-
{
|
|
6
|
-
"matcher": "^apply_patch$",
|
|
7
|
-
"hooks": [
|
|
8
|
-
{
|
|
9
|
-
"type": "command",
|
|
10
|
-
"command": "npx -y agentera@next hook validate-artifact",
|
|
11
|
-
"timeout": 10,
|
|
12
|
-
"statusMessage": "validating artifact"
|
|
13
|
-
}
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"PostToolUse": [
|
|
18
|
-
{
|
|
19
|
-
"matcher": "^apply_patch$",
|
|
20
|
-
"hooks": [
|
|
21
|
-
{
|
|
22
|
-
"type": "command",
|
|
23
|
-
"command": "npx -y agentera@next hook validate-artifact",
|
|
24
|
-
"timeout": 10,
|
|
25
|
-
"statusMessage": "validating artifact"
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
}
|
package/bundle/plugin.json
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "agentera",
|
|
3
|
-
"version": "3.0.0",
|
|
4
|
-
"description": "Agentera 3.0.0 for GitHub Copilot CLI: one portable skill, twelve capabilities, shared project state, lifecycle hooks, and exact /agentera dashboard routing. profile uses bounded Copilot corpus metadata when present and reports missing source families. Runtime installation, enablement, authentication, and trust remain user-owned.",
|
|
5
|
-
"skills": "skills",
|
|
6
|
-
"hooks": ".github/hooks",
|
|
7
|
-
"agentera": {
|
|
8
|
-
"packageShape": "suite-bundle",
|
|
9
|
-
"installRoot": ".",
|
|
10
|
-
"sharedPaths": ["skills", "hooks", "registry.json", "plugin.json", "README.md", "UPGRADE.md"],
|
|
11
|
-
"singleSkillInstall": "Single-skill installs keep core SKILL.md workflow behavior; suite tools are bundle-only enhancements."
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
# Cursor adapter reference
|
|
2
|
-
|
|
3
|
-
Agentera ships one active Cursor registry identity: `cursor`. The accepted
|
|
4
|
-
`cursor-agent` spelling is an inactive compatibility alias that resolves to
|
|
5
|
-
Cursor-owned behavior and source data; it is not independently discoverable.
|
|
6
|
-
|
|
7
|
-
Cursor Agent CLI is the required lifecycle surface and Cursor IDE is
|
|
8
|
-
conditional. Cloud agents are unsupported. Bare prompt routing remains
|
|
9
|
-
metadata-only like GitHub Copilot and Codex.
|
|
10
|
-
|
|
11
|
-
## Quick install
|
|
12
|
-
|
|
13
|
-
**Local plugin (no Marketplace listing required)**
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
git clone https://github.com/jgabor/agentera.git ~/.cursor/plugins/local/agentera
|
|
17
|
-
# or: ln -s /path/to/agentera ~/.cursor/plugins/local/agentera
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
Restart Cursor or run **Developer: Reload Window**. The plugin root must contain
|
|
21
|
-
`.cursor-plugin/plugin.json`. Agentera is not published to the Cursor Marketplace
|
|
22
|
-
yet; use this manual local path or Cursor's local plugin loading UI instead.
|
|
23
|
-
|
|
24
|
-
The plugin loads skills, managed capability agents, and plugin hooks. When you open
|
|
25
|
-
a project that is not an Agentera install root, `sessionStart` exports
|
|
26
|
-
`AGENTERA_HOME` from the plugin checkout (including a plugin-root fallback when env
|
|
27
|
-
and project walk-up do not resolve a managed root).
|
|
28
|
-
|
|
29
|
-
**Portable skill plus project upgrade**
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
npx skills add jgabor/agentera -g -a cursor --skill agentera -y
|
|
33
|
-
npx -y agentera@next upgrade --project "$PWD" --runtime cursor --dry-run
|
|
34
|
-
npx -y agentera@next upgrade --project "$PWD" --runtime cursor --yes
|
|
35
|
-
npx -y agentera@next doctor --format json
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
Use the plugin path for a user-global install. Use upgrade when you need
|
|
39
|
-
project-committed `.cursor/hooks.json` and `.cursor/agents/` copies. Both paths can
|
|
40
|
-
be combined.
|
|
41
|
-
|
|
42
|
-
User-facing install steps also live in [`README.md`](../../README.md) and
|
|
43
|
-
[`UPGRADE.md`](../../UPGRADE.md).
|
|
44
|
-
|
|
45
|
-
## Repo-native surfaces
|
|
46
|
-
|
|
47
|
-
This repository dogfoods committed Cursor surfaces:
|
|
48
|
-
|
|
49
|
-
- `.cursor/hooks.json` — sessionStart env export, preToolUse hard gate, postToolUse advisory validation
|
|
50
|
-
- `.cursor/agents/agentera.md` — single managed agent descriptor (D73)
|
|
51
|
-
- `.cursor-plugin/plugin.json` — marketplace submission-ready manifest
|
|
52
|
-
|
|
53
|
-
Install and repair these Cursor IDE resources through the public lifecycle command
|
|
54
|
-
`agentera upgrade --runtime cursor`: use `--dry-run` to preview and `--yes` to
|
|
55
|
-
apply Agentera-owned operations. The installed hook file calls private lifecycle
|
|
56
|
-
callbacks packaged with the CLI; those callbacks are runtime wiring, not a
|
|
57
|
-
user-facing command namespace, and are intentionally absent from public CLI help.
|
|
58
|
-
The managed `sessionStart` callback exports `AGENTERA_HOME` through Cursor hook JSON
|
|
59
|
-
(`env`) before subsequent callbacks run.
|
|
60
|
-
|
|
61
|
-
## AGENTERA_HOME wiring
|
|
62
|
-
|
|
63
|
-
Primary path: the managed Cursor IDE `sessionStart` callback resolves the install
|
|
64
|
-
root from `AGENTERA_HOME`, project walk-up, the plugin/checkout root, or the
|
|
65
|
-
platform default app home when env and walk-up do not resolve a managed root,
|
|
66
|
-
then returns `{"env": {"AGENTERA_HOME": "<root>"}}` plus optional
|
|
67
|
-
`additional_context` from the shared session digest.
|
|
68
|
-
|
|
69
|
-
Fallback: `packages/cli/src/setup/cursor.ts` reports persistent shell configuration
|
|
70
|
-
only when live shell-tool smoke proves session env does not propagate to CLI
|
|
71
|
-
subprocesses. Agentera does not write shell rc files by default.
|
|
72
|
-
|
|
73
|
-
## Artifact validation
|
|
74
|
-
|
|
75
|
-
| Surface | Behavior | Claim status |
|
|
76
|
-
| ------- | -------- | ------------ |
|
|
77
|
-
| IDE `preToolUse` (Write/Edit) | Deny invalid reconstructable artifact candidates | Verified after live preToolUse Write smoke (2026-05-24) |
|
|
78
|
-
| IDE `postToolUse` (Write/Edit) | Advisory validation through the managed artifact-validation callback | Active |
|
|
79
|
-
| CLI | Degraded; depends on workspace hook install and env propagation | Follows IDE smoke evidence only |
|
|
80
|
-
|
|
81
|
-
Live preToolUse Write smoke passed on 2026-05-24 with invalid-block and valid-allow
|
|
82
|
-
cases recorded in `.agentera/smoke-cursor-pretooluse-evidence.txt`. Conditional
|
|
83
|
-
hard-gate claims for reconstructable IDE Write and Edit candidates are verified;
|
|
84
|
-
release tagging and marketplace publication remain blocked pending broader release
|
|
85
|
-
closeout.
|
|
86
|
-
|
|
87
|
-
## Subagent dispatch
|
|
88
|
-
|
|
89
|
-
IDE: managed descriptors under `.cursor/agents/` with `<!-- agentera: managed -->`
|
|
90
|
-
ownership markers. Upgrade refreshes Agentera-owned targets and preserves unknown
|
|
91
|
-
collisions.
|
|
92
|
-
|
|
93
|
-
CLI: host-managed `cursor-agent` print mode through the inactive Cursor alias;
|
|
94
|
-
there is no separate descriptor install. Eval coverage may accept the alias but
|
|
95
|
-
must report the canonical runtime identity as `cursor`.
|
|
96
|
-
|
|
97
|
-
## Upgrade and doctor
|
|
98
|
-
|
|
99
|
-
```bash
|
|
100
|
-
npx -y agentera@next upgrade --project "$PWD" --runtime cursor --dry-run
|
|
101
|
-
npx -y agentera@next upgrade --project "$PWD" --runtime cursor --yes
|
|
102
|
-
npx -y agentera@next doctor --format json
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
Upgrade treats Cursor Agent CLI and Cursor IDE as surfaces of one `cursor` runtime.
|
|
106
|
-
It manages the shared canonical skill used by both surfaces and, for the
|
|
107
|
-
conditional IDE surface, project hooks, the Agentera descriptor, and plugin
|
|
108
|
-
metadata. The shared lifecycle engine creates or repairs only Agentera-owned
|
|
109
|
-
resources and preserves unowned collisions.
|
|
110
|
-
|
|
111
|
-
Doctor reports all active runtimes in one read-only lifecycle snapshot, including
|
|
112
|
-
Cursor CLI and IDE evidence; it does not accept a Cursor-only runtime filter.
|
|
113
|
-
|
|
114
|
-
## Eval
|
|
115
|
-
|
|
116
|
-
```bash
|
|
117
|
-
agentera check verify eval skills --runtime cursor --skill agentera --dry-run
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
Print mode uses `cursor-agent -p --output-format json --force`. Harnesses apply
|
|
121
|
-
bounded timeouts because some CLI builds hang after completion.
|
|
122
|
-
|
|
123
|
-
## Current limitations
|
|
124
|
-
|
|
125
|
-
- Cloud agents (no project hook or managed-agent guarantees)
|
|
126
|
-
- Bare prompt rewrite routing
|
|
127
|
-
- Session compaction injection beyond shared hook helpers
|
|
128
|
-
- No separate Cursor Agent CLI hook install distinct from Cursor workspace surfaces
|
|
129
|
-
|
|
130
|
-
## Profilera session corpus (Section 22)
|
|
131
|
-
|
|
132
|
-
Profilera mines five canonical record types from host session data. This section
|
|
133
|
-
maps each record type to Cursor IDE local storage on disk.
|
|
134
|
-
|
|
135
|
-
### Probe paths
|
|
136
|
-
|
|
137
|
-
| Path | Purpose |
|
|
138
|
-
| ---- | ------- |
|
|
139
|
-
| `~/.cursor/projects/` | Root directory for workspace-scoped Cursor state |
|
|
140
|
-
| `~/.cursor/projects/<project-slug>/agent-transcripts/<session-id>/*.jsonl` | Agent session transcripts (Composer / Agent) |
|
|
141
|
-
| `~/.cursor/projects/<project-slug>/repo.json` | Workspace metadata (`id` UUID); slug mapping is primary for project scoping |
|
|
142
|
-
| `~/.config/cursor/chats/<md5(project-path)>/<session-id>/store.db` | Cursor Agent CLI chat store (gap-fill when JSONL absent) |
|
|
143
|
-
|
|
144
|
-
Override the projects root with `--cursor-projects-dir`, the CLI chats root with
|
|
145
|
-
`--cursor-chats-dir`, or disable both Cursor source stores with `--no-cursor` on
|
|
146
|
-
`agentera report refresh`. The Python extractor wrapper is a maintainer-only parity
|
|
147
|
-
surface, not the user-facing command.
|
|
148
|
-
|
|
149
|
-
Project slug convention: absolute project path segments joined with `-`, lowercased
|
|
150
|
-
(for example `/home/user/git/agentera` → `home-user-git-agentera`). CLI workspace
|
|
151
|
-
hashes use `md5(absolute-project-path)` hex (same string Cursor uses under
|
|
152
|
-
`~/.config/cursor/chats/`). When `--project-root` is supplied, extraction prefers
|
|
153
|
-
matching slugs and workspace hashes over unrelated stores.
|
|
154
|
-
|
|
155
|
-
### Transcript JSONL shape
|
|
156
|
-
|
|
157
|
-
Each line is a JSON object:
|
|
158
|
-
|
|
159
|
-
```json
|
|
160
|
-
{"role": "user", "message": {"content": [{"type": "text", "text": "..."}]}}
|
|
161
|
-
{"role": "assistant", "message": {"content": [{"type": "text", "text": "..."}, {"type": "tool_use", "name": "grep", "input": {"pattern": "..."}}]}}
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
Roles are `user` or `assistant`. `message.content` is a list of blocks. Text blocks
|
|
165
|
-
use `type: "text"`. Tool blocks use `type: "tool_use"` with `name` and `input`.
|
|
166
|
-
|
|
167
|
-
### Cursor source-product `store.db` shape
|
|
168
|
-
|
|
169
|
-
The inactive `cursor-agent` input alias reads Cursor-owned SQLite stores at
|
|
170
|
-
`~/.config/cursor/chats/<workspace-hash>/<session-id>/store.db`. Each store has:
|
|
171
|
-
|
|
172
|
-
| Table | Purpose |
|
|
173
|
-
| ----- | ------- |
|
|
174
|
-
| `blobs` | JSON message payloads keyed by content hash (`role`, `content`, optional tool blocks) |
|
|
175
|
-
| `meta` | Session metadata (`agentId`, model, mode) |
|
|
176
|
-
|
|
177
|
-
JSON blobs use `role` values such as `user`, `assistant`, and `tool`. User content is
|
|
178
|
-
often a plain string; assistant content is a list that may include `text` and
|
|
179
|
-
`tool-call` items (`toolName`, `args`). Sessions that already have IDE JSONL under
|
|
180
|
-
`agent-transcripts/<same-session-id>/` are skipped (gap-fill only).
|
|
181
|
-
|
|
182
|
-
### Portable record families
|
|
183
|
-
|
|
184
|
-
| Family | Cursor source | Status |
|
|
185
|
-
| ------ | ------------- | ------ |
|
|
186
|
-
| Decision history | `history_prompt` from decision-rich user text blocks | Yes (local JSONL) |
|
|
187
|
-
| Conversation exchanges | `conversation_turn` from user/assistant lines | Yes (local JSONL) |
|
|
188
|
-
| Tool usage | `tool_call` from `tool_use` / `tool-call` blocks | Yes (bounded args) |
|
|
189
|
-
| Instruction documents | Project `AGENTS.md` via shared `--project-root` scan | Yes (filesystem) |
|
|
190
|
-
| Project config signals | Project manifests via shared `--project-root` scan | Yes (filesystem) |
|
|
191
|
-
|
|
192
|
-
### Degradation and privacy
|
|
193
|
-
|
|
194
|
-
Extraction is read-only and local-only. Runtime status uses the shared
|
|
195
|
-
`runtime_statuses` vocabulary (`ok`, `missing`, `sparse`, `degraded`, `skipped`).
|
|
196
|
-
Diagnostics report counts and bounded reasons only; raw transcript text must not
|
|
197
|
-
appear in errors, smoke output, or test assertions.
|
|
198
|
-
|
|
199
|
-
| Condition | Status | Reason |
|
|
200
|
-
| --------- | ------ | ------ |
|
|
201
|
-
| Store path disabled (`--no-cursor`) | `skipped` | `disabled` |
|
|
202
|
-
| `~/.cursor/projects` or `~/.config/cursor/chats` absent | `missing` | `store_absent` |
|
|
203
|
-
| No `*.jsonl` under `agent-transcripts` / no gap-fill `store.db` | `sparse` | `no_candidate_files` / `no_matching_records` |
|
|
204
|
-
| Permission denied | `degraded` | `store_locked` |
|
|
205
|
-
| Invalid JSONL lines | `degraded` | `schema_divergent` |
|
|
206
|
-
| Candidates present but no normalized records | `sparse` | `no_matching_records` |
|
|
207
|
-
|
|
208
|
-
### Gaps
|
|
209
|
-
|
|
210
|
-
- Numeric or opaque project directory names (no slug) skip filesystem project-path
|
|
211
|
-
inference; `--project-root` mapping still scopes extraction when the slug matches.
|
|
212
|
-
- Cloud agent sessions do not write local `agent-transcripts` in v1.
|
|
213
|
-
- `cursor-agent` `store.db` sessions that already have IDE JSONL transcripts are skipped
|
|
214
|
-
to avoid duplicate corpus records; gap-fill covers chat-only CLI sessions.
|
|
215
|
-
- Binary or non-JSON blobs in `store.db` degrade with bounded diagnostics and do not
|
|
216
|
-
leak transcript text.
|
|
217
|
-
|
|
218
|
-
## Source of truth
|
|
219
|
-
|
|
220
|
-
Runtime identity and surfaces live in
|
|
221
|
-
`references/adapters/runtime-lifecycle-authority.yaml`; eight-category behavior
|
|
222
|
-
lives in `references/adapters/runtime-lifecycle-adapters.yaml`. Host-event facts
|
|
223
|
-
remain in `references/adapters/runtime-adapter-registry.yaml`, and parity
|
|
224
|
-
comparisons belong in `references/adapters/runtime-feature-parity.md`.
|