agentera 3.0.0-dev.7 → 3.0.0-dev.72
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 +118 -22
- package/bundle/CHANGELOG.md +1361 -0
- package/bundle/DESIGN.md +229 -0
- package/bundle/LICENSE +201 -0
- package/bundle/README.md +143 -0
- package/bundle/UPGRADE.md +252 -0
- package/bundle/extract-corpus-parity.json +2 -4
- package/bundle/fixtures/routing/hybrid-corpus.yaml +154 -0
- package/bundle/references/adapters/package-publication.json +488 -0
- package/bundle/references/adapters/package-registry.yaml +435 -188
- package/bundle/references/adapters/package-surface-characterization.md +66 -34
- package/bundle/references/adapters/runtime-lifecycle-adapters.yaml +74 -0
- package/bundle/references/adapters/runtime-lifecycle-authority.yaml +62 -0
- package/bundle/references/adapters/runtime-lifecycle-operation-contract.yaml +84 -0
- package/bundle/references/adapters/runtime-retired-resources.yaml +333 -0
- package/bundle/references/analysis/evidence-tier-authority.yaml +518 -0
- package/bundle/references/analysis/verification-policy.yaml +266 -0
- package/bundle/references/artifacts/artifact-registry-interface-model.yaml +17 -8
- package/bundle/references/artifacts/glossary-entry-contract.yaml +1254 -0
- package/bundle/references/artifacts/state-storage-authority.yaml +3061 -0
- package/bundle/references/artifacts/verbosity-budget-authority.yaml +42 -0
- package/bundle/references/cli/app-lifecycle-vocabulary.yaml +3 -4
- package/bundle/references/cli/capability-instruction-contract.yaml +11 -14
- package/bundle/references/cli/hybrid-route-contract.yaml +438 -0
- package/bundle/references/cli/routing-model.md +152 -93
- package/bundle/references/cli/trigger-schema-enrichment.md +57 -46
- package/bundle/references/cli/update-channels.yaml +4 -2
- package/bundle/references/cli/vocabulary-index.yaml +5 -7
- package/bundle/references/cli/vocabulary.md +51 -93
- package/bundle/references/meta/retained-reference-authority.yaml +151 -0
- package/bundle/skills/agentera/SKILL.md +183 -63
- package/bundle/skills/agentera/capabilities/audit/schemas/artifacts.yaml +27 -19
- package/bundle/skills/agentera/capabilities/audit/schemas/exit.yaml +2 -2
- package/bundle/skills/agentera/capabilities/audit/schemas/triggers.yaml +13 -35
- package/bundle/skills/agentera/capabilities/audit/schemas/validation.yaml +30 -11
- package/bundle/skills/agentera/capabilities/build/schemas/artifacts.yaml +44 -21
- package/bundle/skills/agentera/capabilities/build/schemas/exit.yaml +8 -6
- package/bundle/skills/agentera/capabilities/build/schemas/triggers.yaml +14 -36
- package/bundle/skills/agentera/capabilities/build/schemas/validation.yaml +95 -21
- package/bundle/skills/agentera/capabilities/design/schemas/artifacts.yaml +6 -6
- package/bundle/skills/agentera/capabilities/design/schemas/exit.yaml +5 -5
- package/bundle/skills/agentera/capabilities/design/schemas/triggers.yaml +5 -34
- package/bundle/skills/agentera/capabilities/design/schemas/validation.yaml +2 -2
- package/bundle/skills/agentera/capabilities/discuss/schemas/artifacts.yaml +17 -13
- package/bundle/skills/agentera/capabilities/discuss/schemas/exit.yaml +2 -2
- package/bundle/skills/agentera/capabilities/discuss/schemas/triggers.yaml +6 -40
- package/bundle/skills/agentera/capabilities/discuss/schemas/validation.yaml +72 -5
- package/bundle/skills/agentera/capabilities/document/schemas/artifacts.yaml +24 -17
- package/bundle/skills/agentera/capabilities/document/schemas/triggers.yaml +5 -35
- package/bundle/skills/agentera/capabilities/document/schemas/validation.yaml +13 -13
- package/bundle/skills/agentera/capabilities/optimize/schemas/artifacts.yaml +10 -10
- package/bundle/skills/agentera/capabilities/optimize/schemas/exit.yaml +2 -2
- package/bundle/skills/agentera/capabilities/optimize/schemas/triggers.yaml +4 -35
- package/bundle/skills/agentera/capabilities/optimize/schemas/validation.yaml +3 -3
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/artifacts.yaml +34 -22
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/exit.yaml +9 -7
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/triggers.yaml +5 -37
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/validation.yaml +38 -37
- package/bundle/skills/agentera/capabilities/plan/schemas/artifacts.yaml +20 -16
- package/bundle/skills/agentera/capabilities/plan/schemas/triggers.yaml +8 -31
- package/bundle/skills/agentera/capabilities/plan/schemas/validation.yaml +66 -6
- package/bundle/skills/agentera/capabilities/profile/schemas/artifacts.yaml +9 -4
- package/bundle/skills/agentera/capabilities/profile/schemas/exit.yaml +4 -4
- package/bundle/skills/agentera/capabilities/profile/schemas/triggers.yaml +8 -37
- package/bundle/skills/agentera/capabilities/profile/schemas/validation.yaml +61 -3
- package/bundle/skills/agentera/capabilities/research/schemas/artifacts.yaml +6 -6
- package/bundle/skills/agentera/capabilities/research/schemas/triggers.yaml +5 -29
- package/bundle/skills/agentera/capabilities/status/schemas/artifacts.yaml +13 -12
- package/bundle/skills/agentera/capabilities/status/schemas/triggers.yaml +7 -49
- package/bundle/skills/agentera/capabilities/vision/schemas/artifacts.yaml +8 -8
- package/bundle/skills/agentera/capabilities/vision/schemas/exit.yaml +7 -6
- package/bundle/skills/agentera/capabilities/vision/schemas/triggers.yaml +7 -39
- package/bundle/skills/agentera/capabilities/vision/schemas/validation.yaml +14 -16
- package/bundle/skills/agentera/capability_schema_contract.yaml +32 -32
- package/bundle/skills/agentera/protocol.yaml +4 -4
- package/bundle/skills/agentera/route-phrases.yaml +81 -0
- package/bundle/skills/agentera/schemas/artifacts/changelog.yaml +1 -0
- package/bundle/skills/agentera/schemas/artifacts/decisions.yaml +30 -12
- package/bundle/skills/agentera/schemas/artifacts/design.yaml +1 -0
- package/bundle/skills/agentera/schemas/artifacts/docs.yaml +7 -12
- package/bundle/skills/agentera/schemas/artifacts/experiments.yaml +140 -9
- package/bundle/skills/agentera/schemas/artifacts/glossary.yaml +82 -0
- package/bundle/skills/agentera/schemas/artifacts/health.yaml +56 -19
- package/bundle/skills/agentera/schemas/artifacts/objective.yaml +18 -4
- package/bundle/skills/agentera/schemas/artifacts/plan.yaml +457 -32
- package/bundle/skills/agentera/schemas/artifacts/progress.yaml +131 -18
- package/bundle/skills/agentera/schemas/artifacts/todo.yaml +302 -7
- package/dist/analytics/extractCorpus/cli.js +52 -11
- package/dist/analytics/extractCorpus/copilotSessions.js +6 -4
- package/dist/analytics/extractCorpus/core.js +40 -12
- package/dist/analytics/extractCorpus/corpus.js +39 -17
- package/dist/analytics/extractCorpus/coverageAudit.js +44 -45
- package/dist/analytics/extractCorpus/cursorSessions.js +6 -4
- package/dist/analytics/extractCorpus/evidenceTiers.js +603 -0
- package/dist/analytics/extractCorpus/extractCorpusParity.js +4 -4
- package/dist/analytics/extractCorpus/filesystemSources.js +1 -5
- package/dist/analytics/extractCorpus/index.js +3 -1
- package/dist/analytics/extractCorpus/jsonlSessions.js +24 -5
- package/dist/analytics/extractCorpus/sqliteCaps.js +0 -1
- package/dist/analytics/extractCorpus/sqliteSessions.js +0 -1
- package/dist/analytics/extractCorpus/tierReader.js +108 -0
- package/dist/analytics/extractCorpus.js +0 -1
- package/dist/analytics/glossaryAdviceResolution.js +166 -0
- package/dist/analytics/glossaryInputAcquisition.js +319 -0
- package/dist/analytics/personalGlossaryAdmission.js +133 -0
- package/dist/analytics/personalGlossaryProfile.js +219 -0
- package/dist/analytics/profileSignals.js +211 -0
- package/dist/analytics/usageStats.js +150 -23
- package/dist/audit/terminologyDrift.js +281 -0
- package/dist/bin/agentera.js +3 -2
- package/dist/capabilities/audit/instructions.js +16 -6
- package/dist/capabilities/build/instructions.js +59 -6
- package/dist/capabilities/design/instructions.js +3 -4
- package/dist/capabilities/discuss/instructions.js +29 -6
- package/dist/capabilities/document/instructions.js +11 -6
- package/dist/capabilities/index.js +16 -14
- package/dist/capabilities/optimize/instructions.js +14 -6
- package/dist/capabilities/orchestrate/instructions.js +42 -6
- package/dist/capabilities/plan/instructions.js +30 -3
- package/dist/capabilities/profile/instructions.js +70 -6
- package/dist/capabilities/research/instructions.js +4 -5
- package/dist/capabilities/status/instructions.js +15 -6
- package/dist/capabilities/status/startupInstructions.js +34 -0
- package/dist/capabilities/vision/instructions.js +3 -5
- package/dist/cli/appContext.js +14 -7
- package/dist/cli/argvalidate.js +0 -1
- package/dist/cli/capabilityContext/benchmark.js +5 -4
- package/dist/cli/capabilityContext/bespoke.js +14 -6
- package/dist/cli/capabilityContext/build.js +116 -42
- package/dist/cli/capabilityContext/closeout.js +30 -27
- package/dist/cli/capabilityContext/contract.js +18 -27
- package/dist/cli/capabilityContext/evidence.js +84 -77
- package/dist/cli/capabilityContext/index.js +0 -1
- package/dist/cli/capabilityContext/orchestration.js +42 -18
- package/dist/cli/capabilityContext/planState.js +89 -96
- package/dist/cli/capabilityContext/progress.js +51 -12
- package/dist/cli/capabilityContext/projectVerification.js +409 -0
- package/dist/cli/capabilityContext/shared.js +9 -20
- package/dist/cli/capabilityContext/slim.js +52 -8
- package/dist/cli/capabilityContext/startup.js +51 -114
- package/dist/cli/capabilityContext/startupAggregation.js +68 -0
- package/dist/cli/capabilityContext/types.js +26 -10
- package/dist/cli/capabilityContext.js +0 -1
- package/dist/cli/commands/appHome.js +0 -1
- package/dist/cli/commands/capability.js +2 -2
- package/dist/cli/commands/compact.js +163 -13
- package/dist/cli/commands/doctor.js +117 -11
- package/dist/cli/commands/durability.js +81 -0
- package/dist/cli/commands/glossaryAdvice.js +138 -0
- package/dist/cli/commands/lint.js +22 -8
- package/dist/cli/commands/personalGlossary.js +176 -0
- package/dist/cli/commands/prime/briefOrientation.js +746 -0
- package/dist/cli/commands/prime/buildExecutionRequest.js +165 -0
- package/dist/cli/commands/prime/bundleStatus.js +54 -4
- package/dist/cli/commands/prime/collectEntityOrientation.js +326 -0
- package/dist/cli/commands/prime/collectOrientationState.js +126 -63
- package/dist/cli/commands/prime/orientationOutput.js +267 -56
- package/dist/cli/commands/prime/types.js +0 -1
- package/dist/cli/commands/prime/v1Migration.js +0 -1
- package/dist/cli/commands/prime.js +76 -11
- package/dist/cli/commands/profileGrounding.js +55 -0
- package/dist/cli/commands/query.js +74 -52
- package/dist/cli/commands/report.js +73 -19
- package/dist/cli/commands/route.js +142 -0
- package/dist/cli/commands/schema.js +257 -138
- package/dist/cli/commands/state/decisions.js +40 -56
- package/dist/cli/commands/state/docs.js +58 -85
- package/dist/cli/commands/state/experimentRecords.js +151 -0
- package/dist/cli/commands/state/experiments.js +11 -65
- package/dist/cli/commands/state/get.js +129 -0
- package/dist/cli/commands/state/health.js +11 -113
- package/dist/cli/commands/state/index.js +6 -41
- package/dist/cli/commands/state/list.js +194 -0
- package/dist/cli/commands/state/objective.js +21 -65
- package/dist/cli/commands/state/plan.js +11 -170
- package/dist/cli/commands/state/planTasks.js +154 -0
- package/dist/cli/commands/state/plans.js +154 -0
- package/dist/cli/commands/state/progress.js +11 -45
- package/dist/cli/commands/state/shared.js +0 -1
- package/dist/cli/commands/state/todo.js +28 -107
- package/dist/cli/commands/state/write.js +433 -0
- package/dist/cli/commands/upgrade.js +146 -5
- package/dist/cli/commands/upgradeVerify.js +118 -0
- package/dist/cli/commands/validate.js +235 -136
- package/dist/cli/commands/verify.js +23 -8
- package/dist/cli/contracts/bundleStatus.js +0 -1
- package/dist/cli/contracts/orientationState.js +0 -1
- package/dist/cli/dispatch/argvParser.js +0 -1
- package/dist/cli/dispatch/check.js +84 -40
- package/dist/cli/dispatch/commands.js +3 -3
- package/dist/cli/dispatch/index.js +77 -52
- package/dist/cli/dispatch/lifecycle.js +117 -62
- package/dist/cli/dispatch/prime.js +37 -2
- package/dist/cli/dispatch/projections.js +17 -0
- package/dist/cli/dispatch/shared.js +1 -2
- package/dist/cli/dispatch/state.js +62 -66
- package/dist/cli/dispatch.js +0 -1
- package/dist/cli/errors.js +16 -17
- package/dist/cli/help.js +358 -39
- package/dist/cli/migrationRequired.js +122 -0
- package/dist/cli/orientation/attention.js +19 -19
- package/dist/cli/orientation/corpusCoverage.js +32 -1
- package/dist/cli/orientation.js +346 -129
- package/dist/cli/planArtifacts.js +350 -0
- package/dist/cli/planEvidence.js +157 -0
- package/dist/cli/planLifecycleState.js +36 -0
- package/dist/cli/planTaskIndex.js +11 -0
- package/dist/cli/preCutoverCommand.js +32 -0
- package/dist/cli/prime-blob.js +71 -3
- package/dist/cli/profileAcquisition.js +167 -0
- package/dist/cli/startupCompletenessContract.js +11 -8
- package/dist/cli/stateQuery.js +47 -12
- package/dist/cli/structured.js +0 -1
- package/dist/cli/todoMarkdown.js +25 -12
- package/dist/cli/todoReadinessSelection.js +192 -0
- package/dist/cli/todoSeverity.js +0 -1
- package/dist/core/atomicWriter.js +20 -0
- package/dist/core/developmentChannel.js +1 -0
- package/dist/core/developmentInvocation.js +374 -0
- package/dist/core/difflib.js +0 -1
- package/dist/core/envPaths.js +0 -1
- package/dist/core/jsonValue.js +0 -1
- package/dist/core/paths.js +0 -1
- package/dist/core/pyjson.js +0 -1
- package/dist/core/shell.js +4 -0
- package/dist/core/skillIdentity.js +23 -0
- package/dist/core/sourceRoot.js +9 -12
- package/dist/core/text.js +10 -0
- package/dist/core/toml.js +0 -1
- package/dist/core/yaml.js +8 -1
- package/dist/eval/evalSkills.js +13 -14
- package/dist/eval/hybridRouteEvaluation.js +155 -0
- package/dist/eval/semanticEval.js +0 -1
- package/dist/eval/semanticFixtures.js +0 -1
- package/dist/hooks/common.js +3 -56
- package/dist/hooks/compaction/apply.js +224 -47
- package/dist/hooks/compaction/dryRun.js +2 -1
- package/dist/hooks/compaction/index.js +5 -6
- package/dist/hooks/compaction/parse.js +73 -6
- package/dist/hooks/compaction/retention.js +28 -25
- package/dist/hooks/compaction/status.js +145 -26
- package/dist/hooks/compaction/types.js +0 -1
- package/dist/hooks/validateArtifact/agentFacing.js +0 -1
- package/dist/hooks/validateArtifact/index.js +6 -65
- package/dist/hooks/validateArtifact/markdown.js +9 -10
- package/dist/hooks/validateArtifact/schema.js +96 -9
- package/dist/hooks/validateArtifact/traversal.js +12 -11
- package/dist/hooks/validateArtifact/violations.js +5 -3
- package/dist/migrate/v2HandoffManifest.js +8 -3
- package/dist/registries/activationContract.js +2 -0
- package/dist/registries/activationTuples.js +108 -0
- package/dist/registries/artifactProtocolIds.js +2 -1
- package/dist/registries/artifactRegistry.js +207 -60
- package/dist/registries/artifactSchemaProjection.js +45 -0
- package/dist/registries/capabilityContract.js +5 -21
- package/dist/registries/evaluatorHandoffContract.js +0 -1
- package/dist/registries/evidenceTierContract.js +371 -0
- package/dist/registries/glossaryAdviceContract.js +79 -0
- package/dist/registries/glossaryCaveatContract.js +67 -0
- package/dist/registries/glossaryConsumerContractValidation.js +787 -0
- package/dist/registries/glossaryEntryContract.js +757 -0
- package/dist/registries/glossaryTermIdentity.js +17 -0
- package/dist/registries/glossaryTermOccurrence.js +20 -0
- package/dist/registries/hybridRoute.js +274 -0
- package/dist/registries/hybridRouteReceipt.js +221 -0
- package/dist/registries/packagePublication.js +273 -0
- package/dist/registries/packageRegistry.js +184 -209
- package/dist/registries/todoReadinessContract.js +448 -0
- package/dist/registries/triggerLoader.js +7 -44
- package/dist/registries/verbosityBudgetContract.js +205 -0
- package/dist/release/releaseMetadata.js +155 -5
- package/dist/runtime/lifecycleAdapterContract.js +457 -0
- package/dist/runtime/lifecycleAdapters.js +777 -0
- package/dist/runtime/lifecycleAuthority.js +453 -0
- package/dist/runtime/lifecycleOperationContract.js +123 -0
- package/dist/runtime/lifecycleOperations.js +634 -0
- package/dist/runtime/lifecycleOwnershipJournal.js +622 -0
- package/dist/runtime/lifecyclePublication.js +415 -0
- package/dist/runtime/lifecycleSnapshot.js +438 -0
- package/dist/runtime/nativeResourceCleanup.js +502 -0
- package/dist/setup/opencode.js +20 -13
- package/dist/setup/opencodeConstants.js +1 -0
- package/dist/setup/sharedSkill.js +45 -0
- package/dist/setup/smokeChecks.js +14 -75
- package/dist/state/archiveDiscovery.js +580 -0
- package/dist/state/archivePublication.js +225 -0
- package/dist/state/archiveRecovery.js +237 -0
- package/dist/state/archiveReplay.js +53 -0
- package/dist/state/canonicalMigrationRecord.js +36 -0
- package/dist/state/changelog.js +221 -0
- package/dist/state/decisionEntities.js +367 -0
- package/dist/state/decisionLegacyValidation.js +215 -0
- package/dist/state/decisionMigrationProvenance.js +199 -0
- package/dist/state/decisionOverlay.js +254 -0
- package/dist/state/decisionRevision.js +256 -0
- package/dist/state/decisionRevisionMigration.js +89 -0
- package/dist/state/directRetrieval.js +323 -0
- package/dist/state/durability.js +324 -0
- package/dist/state/entityCutover.js +459 -0
- package/dist/state/entityCutoverGit.js +127 -0
- package/dist/state/entityGlossaryAuthority.js +13 -0
- package/dist/state/entityListProjection.js +187 -0
- package/dist/state/entityListRuntimeRegistry.js +85 -0
- package/dist/state/entityMigrationCausality.js +97 -0
- package/dist/state/entityMigrationIdentity.js +5 -0
- package/dist/state/entityMigrationPreview.js +840 -0
- package/dist/state/entityMigrationTodo.js +133 -0
- package/dist/state/entityPublicationContext.js +859 -0
- package/dist/state/entityRetrievalHelp.js +506 -0
- package/dist/state/entityStorage.js +899 -0
- package/dist/state/exactReplacementRecovery.js +18 -0
- package/dist/state/experimentArchive.js +63 -0
- package/dist/state/experimentIdentity.js +202 -0
- package/dist/state/healthEntities.js +262 -0
- package/dist/state/healthEntityValidation.js +18 -0
- package/dist/state/healthRepair.js +69 -0
- package/dist/state/installRoot.js +15 -7
- package/dist/state/legacyEntityCutoverEvidence.js +65 -0
- package/dist/state/legacyIdentity.js +47 -0
- package/dist/state/legacySummaryRecord.js +6 -0
- package/dist/state/listAccounting.js +54 -0
- package/dist/state/listClassification.js +17 -0
- package/dist/state/listCursor.js +42 -0
- package/dist/state/listRetrieval.js +781 -0
- package/dist/state/migrationSourceBinding.js +30 -0
- package/dist/state/objectiveExperimentEntities.js +322 -0
- package/dist/state/planEntities.js +1027 -0
- package/dist/state/planIdentity.js +47 -0
- package/dist/state/planLineageValidation.js +52 -0
- package/dist/state/planReplacementTransaction.js +475 -0
- package/dist/state/planRetrieval.js +313 -0
- package/dist/state/planTaskRetrieval.js +294 -0
- package/dist/state/progressEntities.js +512 -0
- package/dist/state/progressGlossaryCaveat.js +168 -0
- package/dist/state/progressPublicationOrder.js +19 -0
- package/dist/state/progressWritePolicy.js +33 -0
- package/dist/state/projectRoot.js +62 -0
- package/dist/state/projectionPolicy.js +190 -0
- package/dist/state/retrievalAuthority.js +156 -0
- package/dist/state/safeProjectFile.js +155 -0
- package/dist/state/startupAnalysis/benchmark.js +70 -9
- package/dist/state/startupAnalysis/contract.js +44 -10
- package/dist/state/startupAnalysis/helpers.js +1 -2
- package/dist/state/startupAnalysis/index.js +0 -1
- package/dist/state/startupAnalysis/metrics.js +0 -1
- package/dist/state/startupAnalysis/records.js +0 -1
- package/dist/state/startupAnalysis/report.js +0 -1
- package/dist/state/startupAnalysis/threshold.js +13 -1
- package/dist/state/startupAnalysis.js +0 -1
- package/dist/state/startupProjection.js +499 -0
- package/dist/state/stateMode.js +222 -0
- package/dist/state/stateStorageAuthority.js +47 -0
- package/dist/state/summaryEntityRead.js +25 -0
- package/dist/state/summaryMigrationProvenance.js +66 -0
- package/dist/state/summarySourceRowAuthority.js +36 -0
- package/dist/state/todoActivationSafety.js +58 -0
- package/dist/state/todoDocsEntities.js +1124 -0
- package/dist/state/todoDocsEntityValidation.js +158 -0
- package/dist/state/todoMarkdownProjection.js +51 -0
- package/dist/state/todoReconciliationActivation.js +182 -0
- package/dist/state/todoReconciliationInspection.js +171 -0
- package/dist/state/todoReconciliationRepair.js +318 -0
- package/dist/state/todoReconciliationTransaction.js +595 -0
- package/dist/state/write/assign.js +20 -0
- package/dist/state/write/candidateMutation.js +269 -0
- package/dist/state/write/errors.js +11 -0
- package/dist/state/write/experimentPublication.js +192 -0
- package/dist/state/write/explain.js +377 -0
- package/dist/state/write/fields.js +61 -0
- package/dist/state/write/glossaryPublication.js +263 -0
- package/dist/state/write/grammar.js +285 -0
- package/dist/state/write/helpers.js +29 -0
- package/dist/state/write/index.js +12 -0
- package/dist/state/write/input.js +391 -0
- package/dist/state/write/lock.js +837 -0
- package/dist/state/write/mutation.js +234 -0
- package/dist/state/write/operations.js +170 -0
- package/dist/state/write/planEvaluation.js +128 -0
- package/dist/state/write/planPublication.js +179 -0
- package/dist/state/write/runtimeOperations.js +146 -0
- package/dist/state/write/serialize.js +1 -0
- package/dist/state/write/transaction.js +57 -0
- package/dist/state/write/validate.js +7 -0
- package/dist/upgrade/appContentRefresh.js +77 -36
- package/dist/upgrade/appModel.js +0 -1
- package/dist/upgrade/atomicWriter.js +1 -0
- package/dist/upgrade/bundleEvidence.js +0 -1
- package/dist/upgrade/channels.js +6 -9
- package/dist/upgrade/compatibility.js +43 -17
- package/dist/upgrade/doctor.js +55 -32
- package/dist/upgrade/doctorClassifier.js +11 -1
- package/dist/upgrade/installedHooksRetirement.js +46 -40
- package/dist/upgrade/legacyAgentCleanup.js +187 -21
- package/dist/upgrade/lifecycleUpgrade.js +113 -0
- package/dist/upgrade/migrateArtifactsV2ToV3.js +334 -64
- package/dist/upgrade/migrationPublication.js +122 -0
- package/dist/upgrade/nextMajorDoctor.js +0 -1
- package/dist/upgrade/npxPlatformStatus.js +0 -1
- package/dist/upgrade/projectIntegration.js +121 -159
- package/dist/upgrade/projectIntegrationDecision.js +42 -85
- package/dist/upgrade/retiredResourceDiagnostics.js +117 -0
- package/dist/upgrade/runtimeMigration.js +262 -453
- package/dist/upgrade/upgradeCommands.js +14 -1
- package/dist/upgrade/upgradeLock.js +85 -0
- package/dist/upgrade/upgradeOrchestrator.js +263 -59
- package/dist/upgrade/v3CapabilitySurface.js +2 -3
- package/dist/upgrade/versionResolution.js +0 -1
- package/dist/validate/activationArtifactEvidence.js +852 -0
- package/dist/validate/activationArtifactEvidenceTypes.js +12 -0
- package/dist/validate/activationConjunction.js +816 -0
- package/dist/validate/activationEvidenceManifest.js +531 -0
- package/dist/validate/activationPackageSemantics.js +29 -0
- package/dist/validate/appHomeContract.js +1 -7
- package/dist/validate/bootstrapAuthority.js +44 -0
- package/dist/validate/capability.js +11 -3
- package/dist/validate/crossCapability.js +14 -9
- package/dist/validate/retainedReferenceAuthority.js +879 -0
- package/dist/validate/selfAudit.js +39 -45
- package/dist/validate/v1LegacyCruft.js +131 -0
- package/dist/validate/vocabularyAuthority.js +8 -8
- package/package.json +41 -13
- package/bundle/references/adapters/cursor.md +0 -214
- package/bundle/references/adapters/opencode.md +0 -530
- package/bundle/references/adapters/package-manifest-interface-model.yaml +0 -337
- package/bundle/references/adapters/runtime-adapter-characterization.md +0 -79
- package/bundle/references/adapters/runtime-adapter-interface-model.yaml +0 -200
- package/bundle/references/adapters/runtime-adapter-registry.yaml +0 -554
- package/bundle/references/adapters/runtime-feature-parity.md +0 -189
- package/bundle/references/analysis/benchmark.md +0 -267
- package/bundle/references/analysis/startup-measurement-contract.yaml +0 -424
- package/bundle/references/cli/agent-ready-state-contract.yaml +0 -953
- package/bundle/references/cli/audience-namespace-cli-migration.yaml +0 -369
- package/bundle/references/cli/bundle-skill-vocabulary.yaml +0 -250
- package/bundle/references/cli/capability-tool-classification.yaml +0 -53
- package/bundle/references/cli/coexistence-probe.yaml +0 -13
- package/bundle/references/cli/parity-expected-actual-template.md +0 -30
- package/bundle/references/cli/routing-execution-vocabulary.yaml +0 -281
- package/bundle/references/cli/single-name-protocol.yaml +0 -42
- package/bundle/references/cli/upgrade-repair-wording.md +0 -45
- package/bundle/references/cli/v3-handoff-manifest.schema.yaml +0 -98
- package/bundle/references/meta/documentation-inventory.md +0 -49
- package/bundle/skills/agentera/.claude-plugin/plugin.json +0 -27
- 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/bundle/skills/agentera/references/contract.md +0 -1048
- package/dist/analytics/extractCorpus/cli.js.map +0 -1
- package/dist/analytics/extractCorpus/copilotSessions.js.map +0 -1
- package/dist/analytics/extractCorpus/core.js.map +0 -1
- package/dist/analytics/extractCorpus/corpus.js.map +0 -1
- package/dist/analytics/extractCorpus/coverageAudit.js.map +0 -1
- package/dist/analytics/extractCorpus/cursorSessions.js.map +0 -1
- package/dist/analytics/extractCorpus/extractCorpusParity.js.map +0 -1
- package/dist/analytics/extractCorpus/filesystemSources.js.map +0 -1
- package/dist/analytics/extractCorpus/index.js.map +0 -1
- package/dist/analytics/extractCorpus/jsonlSessions.js.map +0 -1
- package/dist/analytics/extractCorpus/sqliteCaps.js.map +0 -1
- package/dist/analytics/extractCorpus/sqliteSessions.js.map +0 -1
- package/dist/analytics/extractCorpus.js.map +0 -1
- package/dist/analytics/usageStats.js.map +0 -1
- package/dist/bin/agentera.js.map +0 -1
- package/dist/capabilities/audit/instructions.js.map +0 -1
- package/dist/capabilities/build/instructions.js.map +0 -1
- package/dist/capabilities/design/instructions.js.map +0 -1
- package/dist/capabilities/discuss/instructions.js.map +0 -1
- package/dist/capabilities/document/instructions.js.map +0 -1
- package/dist/capabilities/dokumentera/instructions.js +0 -6
- package/dist/capabilities/dokumentera/instructions.js.map +0 -1
- package/dist/capabilities/hej/instructions.js +0 -6
- package/dist/capabilities/hej/instructions.js.map +0 -1
- package/dist/capabilities/index.js.map +0 -1
- package/dist/capabilities/inspektera/instructions.js +0 -6
- package/dist/capabilities/inspektera/instructions.js.map +0 -1
- package/dist/capabilities/inspirera/instructions.js +0 -6
- package/dist/capabilities/inspirera/instructions.js.map +0 -1
- package/dist/capabilities/optimera/instructions.js +0 -6
- package/dist/capabilities/optimera/instructions.js.map +0 -1
- package/dist/capabilities/optimize/instructions.js.map +0 -1
- package/dist/capabilities/orchestrate/instructions.js.map +0 -1
- package/dist/capabilities/orkestrera/instructions.js +0 -6
- package/dist/capabilities/orkestrera/instructions.js.map +0 -1
- package/dist/capabilities/plan/instructions.js.map +0 -1
- package/dist/capabilities/planera/instructions.js +0 -6
- package/dist/capabilities/planera/instructions.js.map +0 -1
- package/dist/capabilities/profile/instructions.js.map +0 -1
- package/dist/capabilities/profilera/instructions.js +0 -6
- package/dist/capabilities/profilera/instructions.js.map +0 -1
- package/dist/capabilities/realisera/instructions.js +0 -6
- package/dist/capabilities/realisera/instructions.js.map +0 -1
- package/dist/capabilities/research/instructions.js.map +0 -1
- package/dist/capabilities/resonera/instructions.js +0 -6
- package/dist/capabilities/resonera/instructions.js.map +0 -1
- package/dist/capabilities/status/instructions.js.map +0 -1
- package/dist/capabilities/vision/instructions.js.map +0 -1
- package/dist/capabilities/visionera/instructions.js +0 -6
- package/dist/capabilities/visionera/instructions.js.map +0 -1
- package/dist/capabilities/visualisera/instructions.js +0 -5
- package/dist/capabilities/visualisera/instructions.js.map +0 -1
- package/dist/cli/appContext.js.map +0 -1
- package/dist/cli/argvalidate.js.map +0 -1
- package/dist/cli/capabilityContext/benchmark.js.map +0 -1
- package/dist/cli/capabilityContext/bespoke.js.map +0 -1
- package/dist/cli/capabilityContext/build.js.map +0 -1
- package/dist/cli/capabilityContext/closeout.js.map +0 -1
- package/dist/cli/capabilityContext/contract.js.map +0 -1
- package/dist/cli/capabilityContext/evidence.js.map +0 -1
- package/dist/cli/capabilityContext/index.js.map +0 -1
- package/dist/cli/capabilityContext/orchestration.js.map +0 -1
- package/dist/cli/capabilityContext/planState.js.map +0 -1
- package/dist/cli/capabilityContext/progress.js.map +0 -1
- package/dist/cli/capabilityContext/realisera.js +0 -174
- package/dist/cli/capabilityContext/realisera.js.map +0 -1
- package/dist/cli/capabilityContext/shared.js.map +0 -1
- package/dist/cli/capabilityContext/slim.js.map +0 -1
- package/dist/cli/capabilityContext/startup.js.map +0 -1
- package/dist/cli/capabilityContext/types.js.map +0 -1
- package/dist/cli/capabilityContext.js.map +0 -1
- package/dist/cli/commands/appHome.js.map +0 -1
- package/dist/cli/commands/backfill.js +0 -84
- package/dist/cli/commands/backfill.js.map +0 -1
- package/dist/cli/commands/capability.js.map +0 -1
- package/dist/cli/commands/compact.js.map +0 -1
- package/dist/cli/commands/doctor.js.map +0 -1
- package/dist/cli/commands/lint.js.map +0 -1
- package/dist/cli/commands/prime/bundleStatus.js.map +0 -1
- package/dist/cli/commands/prime/collectOrientationState.js.map +0 -1
- package/dist/cli/commands/prime/orientationOutput.js.map +0 -1
- package/dist/cli/commands/prime/routeOutput.js +0 -50
- package/dist/cli/commands/prime/routeOutput.js.map +0 -1
- package/dist/cli/commands/prime/types.js.map +0 -1
- package/dist/cli/commands/prime/v1Migration.js.map +0 -1
- package/dist/cli/commands/prime.js.map +0 -1
- package/dist/cli/commands/query.js.map +0 -1
- package/dist/cli/commands/report.js.map +0 -1
- package/dist/cli/commands/schema.js.map +0 -1
- package/dist/cli/commands/state/decisions.js.map +0 -1
- package/dist/cli/commands/state/docs.js.map +0 -1
- package/dist/cli/commands/state/experiments.js.map +0 -1
- package/dist/cli/commands/state/health.js.map +0 -1
- package/dist/cli/commands/state/index.js.map +0 -1
- package/dist/cli/commands/state/objective.js.map +0 -1
- package/dist/cli/commands/state/plan.js.map +0 -1
- package/dist/cli/commands/state/progress.js.map +0 -1
- package/dist/cli/commands/state/shared.js.map +0 -1
- package/dist/cli/commands/state/todo.js.map +0 -1
- package/dist/cli/commands/state.js +0 -1023
- package/dist/cli/commands/state.js.map +0 -1
- package/dist/cli/commands/upgrade.js.map +0 -1
- package/dist/cli/commands/validate.js.map +0 -1
- package/dist/cli/commands/verify.js.map +0 -1
- package/dist/cli/contracts/bundleStatus.js.map +0 -1
- package/dist/cli/contracts/orientationState.js.map +0 -1
- package/dist/cli/dispatch/argvParser.js.map +0 -1
- package/dist/cli/dispatch/check.js.map +0 -1
- package/dist/cli/dispatch/commands.js.map +0 -1
- package/dist/cli/dispatch/index.js.map +0 -1
- package/dist/cli/dispatch/lifecycle.js.map +0 -1
- package/dist/cli/dispatch/prime.js.map +0 -1
- package/dist/cli/dispatch/shared.js.map +0 -1
- package/dist/cli/dispatch/state.js.map +0 -1
- package/dist/cli/dispatch.js.map +0 -1
- package/dist/cli/errors.js.map +0 -1
- package/dist/cli/help.js.map +0 -1
- package/dist/cli/orientation/attention.js.map +0 -1
- package/dist/cli/orientation/corpusCoverage.js.map +0 -1
- package/dist/cli/orientation.js.map +0 -1
- package/dist/cli/prime-blob.js.map +0 -1
- package/dist/cli/startupCompletenessContract.js.map +0 -1
- package/dist/cli/stateQuery.js.map +0 -1
- package/dist/cli/structured.js.map +0 -1
- package/dist/cli/todoMarkdown.js.map +0 -1
- package/dist/cli/todoSeverity.js.map +0 -1
- package/dist/core/difflib.js.map +0 -1
- package/dist/core/envPaths.js.map +0 -1
- package/dist/core/git.js +0 -43
- package/dist/core/git.js.map +0 -1
- package/dist/core/jsonValue.js.map +0 -1
- package/dist/core/paths.js.map +0 -1
- package/dist/core/pyjson.js.map +0 -1
- package/dist/core/sourceRoot.js.map +0 -1
- package/dist/core/toml.js.map +0 -1
- package/dist/core/yaml.js.map +0 -1
- package/dist/eval/evalSkills.js.map +0 -1
- package/dist/eval/semanticEval.js.map +0 -1
- package/dist/eval/semanticFixtures.js.map +0 -1
- package/dist/hooks/common.js.map +0 -1
- package/dist/hooks/compaction/apply.js.map +0 -1
- package/dist/hooks/compaction/dryRun.js.map +0 -1
- package/dist/hooks/compaction/index.js.map +0 -1
- package/dist/hooks/compaction/parse.js.map +0 -1
- package/dist/hooks/compaction/retention.js.map +0 -1
- package/dist/hooks/compaction/status.js.map +0 -1
- package/dist/hooks/compaction/todoResolved.js +0 -137
- package/dist/hooks/compaction/todoResolved.js.map +0 -1
- package/dist/hooks/compaction/types.js.map +0 -1
- package/dist/hooks/compaction.js +0 -935
- package/dist/hooks/compaction.js.map +0 -1
- package/dist/hooks/cursorPreToolUse.js +0 -19
- package/dist/hooks/cursorPreToolUse.js.map +0 -1
- package/dist/hooks/cursorSessionStart.js +0 -79
- package/dist/hooks/cursorSessionStart.js.map +0 -1
- package/dist/hooks/sessionStart.js +0 -216
- package/dist/hooks/sessionStart.js.map +0 -1
- package/dist/hooks/sessionStop.js +0 -206
- package/dist/hooks/sessionStop.js.map +0 -1
- package/dist/hooks/todoLayout.js +0 -177
- package/dist/hooks/todoLayout.js.map +0 -1
- package/dist/hooks/validateArtifact/agentFacing.js.map +0 -1
- package/dist/hooks/validateArtifact/index.js.map +0 -1
- package/dist/hooks/validateArtifact/markdown.js.map +0 -1
- package/dist/hooks/validateArtifact/runtime.js +0 -86
- package/dist/hooks/validateArtifact/runtime.js.map +0 -1
- package/dist/hooks/validateArtifact/schema.js.map +0 -1
- package/dist/hooks/validateArtifact/traversal.js.map +0 -1
- package/dist/hooks/validateArtifact/violations.js.map +0 -1
- package/dist/hooks/validateArtifact.js +0 -924
- package/dist/hooks/validateArtifact.js.map +0 -1
- package/dist/migrate/v2HandoffManifest.js.map +0 -1
- package/dist/registries/artifactProtocolIds.js.map +0 -1
- package/dist/registries/artifactRegistry.js.map +0 -1
- package/dist/registries/capabilityContract.js.map +0 -1
- package/dist/registries/evaluatorHandoffContract.js.map +0 -1
- package/dist/registries/packageRegistry.js.map +0 -1
- package/dist/registries/runtimeAdapterRegistry.js +0 -316
- package/dist/registries/runtimeAdapterRegistry.js.map +0 -1
- package/dist/registries/triggerLoader.js.map +0 -1
- package/dist/release/releaseMetadata.js.map +0 -1
- package/dist/routing/index.js +0 -2
- package/dist/routing/index.js.map +0 -1
- package/dist/routing/routeEngine.js +0 -189
- package/dist/routing/routeEngine.js.map +0 -1
- package/dist/setup/codex/agents.js +0 -96
- package/dist/setup/codex/agents.js.map +0 -1
- package/dist/setup/codex/cli.js +0 -161
- package/dist/setup/codex/cli.js.map +0 -1
- package/dist/setup/codex/configToml.js +0 -639
- package/dist/setup/codex/configToml.js.map +0 -1
- package/dist/setup/codex/constants.js +0 -29
- package/dist/setup/codex/constants.js.map +0 -1
- package/dist/setup/codex/installRoot.js +0 -64
- package/dist/setup/codex/installRoot.js.map +0 -1
- package/dist/setup/codex/state.js +0 -270
- package/dist/setup/codex/state.js.map +0 -1
- package/dist/setup/codex.js +0 -12
- package/dist/setup/codex.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 -300
- package/dist/setup/doctor/core.js.map +0 -1
- package/dist/setup/doctor/diagnostics.js +0 -240
- package/dist/setup/doctor/diagnostics.js.map +0 -1
- package/dist/setup/doctor/opencode.js +0 -313
- 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/setup/opencode.js.map +0 -1
- package/dist/setup/smokeChecks.js.map +0 -1
- package/dist/state/installRoot.js.map +0 -1
- package/dist/state/progressCommit.js +0 -289
- package/dist/state/progressCommit.js.map +0 -1
- package/dist/state/startupAnalysis/benchmark.js.map +0 -1
- package/dist/state/startupAnalysis/contract.js.map +0 -1
- package/dist/state/startupAnalysis/helpers.js.map +0 -1
- package/dist/state/startupAnalysis/index.js.map +0 -1
- package/dist/state/startupAnalysis/metrics.js.map +0 -1
- package/dist/state/startupAnalysis/records.js.map +0 -1
- package/dist/state/startupAnalysis/report.js.map +0 -1
- package/dist/state/startupAnalysis/threshold.js.map +0 -1
- package/dist/state/startupAnalysis.js.map +0 -1
- package/dist/upgrade/appContentRefresh.js.map +0 -1
- package/dist/upgrade/appModel.js.map +0 -1
- package/dist/upgrade/bundleEvidence.js.map +0 -1
- package/dist/upgrade/channels.js.map +0 -1
- package/dist/upgrade/cliProbe.js +0 -22
- package/dist/upgrade/cliProbe.js.map +0 -1
- package/dist/upgrade/coexistenceProbe.js +0 -107
- package/dist/upgrade/coexistenceProbe.js.map +0 -1
- package/dist/upgrade/compatibility.js.map +0 -1
- package/dist/upgrade/doctor.js.map +0 -1
- package/dist/upgrade/doctorClassifier.js.map +0 -1
- package/dist/upgrade/installedHooksRetirement.js.map +0 -1
- package/dist/upgrade/legacyAgentCleanup.js.map +0 -1
- package/dist/upgrade/migrateArtifactsV1ToV2.js +0 -570
- package/dist/upgrade/migrateArtifactsV1ToV2.js.map +0 -1
- package/dist/upgrade/migrateArtifactsV2ToV3.js.map +0 -1
- package/dist/upgrade/nextMajorDoctor.js.map +0 -1
- package/dist/upgrade/npxPlatformStatus.js.map +0 -1
- package/dist/upgrade/projectIntegration.js.map +0 -1
- package/dist/upgrade/projectIntegrationDecision.js.map +0 -1
- package/dist/upgrade/runtimeMigration.js.map +0 -1
- package/dist/upgrade/upgradeCommands.js.map +0 -1
- package/dist/upgrade/upgradeOrchestrator.js.map +0 -1
- package/dist/upgrade/v3CapabilitySurface.js.map +0 -1
- package/dist/upgrade/versionResolution.js.map +0 -1
- package/dist/validate/appHomeContract.js.map +0 -1
- package/dist/validate/capability.js.map +0 -1
- package/dist/validate/crossCapability.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/nodeFormChecks.js +0 -488
- 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 -62
- package/dist/validate/lifecycleAdapters.js.map +0 -1
- package/dist/validate/selfAudit.js.map +0 -1
- package/dist/validate/vocabularyAuthority.js.map +0 -1
|
@@ -16,14 +16,12 @@ included when they shape cross-suite usage.
|
|
|
16
16
|
| `skills/agentera/protocol.yaml` | Confidence, severity, decision labels, exit signals, visual tokens, glyphs, and phases. |
|
|
17
17
|
| `skills/agentera/capability_schema_contract.yaml` | Capability schema structure, required groups, priorities, and primitive-reference fields. |
|
|
18
18
|
| `skills/agentera/schemas/artifacts/*.yaml` | Artifact field grammar, status values, path contracts, and validation rules. |
|
|
19
|
-
| `references/artifacts/artifact-registry-interface-model.yaml` |
|
|
19
|
+
| `references/artifacts/artifact-registry-interface-model.yaml` | Internal artifact registry facts. Public state envelopes use `artifact` for the family and `id` for the stable public identifier. |
|
|
20
20
|
| `references/cli/app-lifecycle-vocabulary.yaml` | App lifecycle canonical statuses, deprecated aliases, operation verbs, status concepts, and consumer ownership boundaries. |
|
|
21
21
|
| `references/cli/update-channels.yaml` | Stable and development update channels, dist-tag/git resolution, default channel, and override keys. |
|
|
22
|
-
| `references/cli/bundle-skill-vocabulary.yaml` | Canonical concepts, compatibility boundaries, and classification rules for `bundle` and `SKILL.md` usage. |
|
|
23
22
|
| `references/cli/capability-instruction-contract.yaml` | Decision 57 capability instruction-file contract, current `packages/cli/src/capabilities/<name>/instructions.ts` authority, and implemented `first_invocation_read` CLI/schema discoverability (D65 collapsed the legacy `full`/`compact_startup` distinction into a single `prime_context` value with runtime enforcement). |
|
|
24
|
-
| `references/cli/routing-execution-vocabulary.yaml` | Canonical concepts, compatibility boundaries, and classification rules for routing, suggestions, delegation, worker spawning, runtime subagent mechanisms, and pre-spawn Git commits. |
|
|
25
23
|
| `skills/agentera/SKILL.md` | Agentera routing entry point, routing model, CLI-first state access, installed-app status checks, and safety rails. |
|
|
26
|
-
| `packages/cli/src/capabilities/*/instructions.ts` | Capability behavior, workflow grammar, step markers, and cross-capability boundaries. Loaded as a default-exported string constant and served via `agentera prime --context <name> --format json`. |
|
|
24
|
+
| `packages/cli/src/capabilities/*/instructions.ts` | Capability behavior, workflow grammar, step markers, and cross-capability boundaries. Loaded as a default-exported string constant and served pre-cutover via `npx -y agentera@next prime --context <name> --format json`. |
|
|
27
25
|
| `the agentera CLI` and `packages/cli/src/upgrade (doctor/upgrade)` | CLI-visible command labels, upgrade output, and doctor diagnostics. |
|
|
28
26
|
| `README.md`, `UPGRADE.md`, `DESIGN.md`, `.agentera/*.yaml` | User-facing phrasing, design vocabulary, and current project-state examples. |
|
|
29
27
|
|
|
@@ -51,14 +49,13 @@ examples. Diagnostics should state object, state, cause, and fix.
|
|
|
51
49
|
|
|
52
50
|
| Term | Definition | Common sources |
|
|
53
51
|
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
|
|
54
|
-
| Agentera | The agent. One persistent identity that thinks through every step and keeps working when you walk away — the colleague, not the team. The CLI is the brain and spine: it owns routing, memory, capability prose, and the worker-spec contract.
|
|
55
|
-
| Host runtime (harness) | A
|
|
56
|
-
| Product surface |
|
|
57
|
-
|
|
|
58
|
-
| Agentera skill | Internal transport, not a product word. The bundle at `skills/agentera/` packages Agentera's routing entry and capability prose for host editor runtimes — the `skills/` directory and `plugin.json` manifests host editors require. It is the same fixed workflow, not user extensibility. Per Decision 74, "skill" is retired from product vocabulary and survives only as internal transport; the product word is capabilities. | `skills/agentera/SKILL.md`, `README.md` Internals, `.agentera/decisions.yaml` (D74) |
|
|
52
|
+
| Agentera | The agent. One persistent identity that thinks through every step and keeps working when you walk away — the colleague, not the team. The CLI is the brain and spine: it owns routing, memory, capability prose, and the worker-spec contract. Coding hosts consume the same shared skill and CLI contract; Agentera does not ship host-native package surfaces. Identity is per-project: same personality, same capabilities, different memory, no bleed. Headline: one agent, one CLI, many capabilities. | `README.md`, `.agentera/vision.yaml`, `.agentera/decisions.yaml` (D74), `skills/agentera/SKILL.md` |
|
|
53
|
+
| Host runtime (harness) | A coding agent host that provides the model, tools, and worker execution. Agentera is the agent; the host is the harness. Hosts consume the shared skill at `~/.agents/skills/agentera` and the JSON returned pre-cutover by `npx -y agentera@next prime`; Agentera does not install or repair host-native plugins, hooks, agents, or packages. | `.agentera/vision.yaml`, `.agentera/decisions.yaml` (D74), `skills/agentera/SKILL.md` |
|
|
54
|
+
| Product surface | The fixed Agentera workflow ships through the `agentera` package and CLI. Coding hosts consume the shared skill and CLI rather than receiving native Agentera package surfaces. | `README.md`, `AGENTS.md`, `packages/cli/README.md`, `.agentera/decisions.yaml` |
|
|
55
|
+
| Agentera skill | Shared transport, not a product extension point. The source at `skills/agentera/` is installed once at `~/.agents/skills/agentera` and packages Agentera's routing entry and capability prose without host-native manifests. It is the same fixed workflow, not user extensibility. Per Decision 74, the product word is capabilities. | `skills/agentera/SKILL.md`, `README.md` Internals, `.agentera/decisions.yaml` (D74) |
|
|
59
56
|
| Capability | A routed behavioral unit of the single Agentera agent, driven through the CLI. Eleven top-level capabilities (status, vision, discuss, research, plan, build, optimize, audit, document, design, orchestrate) plus profile, which surfaces through existing capabilities but appears as a peer row in user-facing docs. Each capability has a prose module at `packages/cli/src/capabilities/<name>/instructions.ts` plus `triggers.yaml`, `artifacts.yaml`, `validation.yaml`, and `exit.yaml`. English names are canonical per Decision 70; the Swedish `-era` names are legacy v2 stable only (see Legacy Swedish capability names). | `AGENTS.md`, `skills/agentera/capabilities/*`, `packages/cli/src/capabilities/*`, `.agentera/decisions.yaml` (D70, D74) |
|
|
60
|
-
| Capability canonical name (v3) | The English name binding for v3+ capability invocation, per Decision 70, under the single-agent identity crystallized in Decision 74. Promoted from the Decision 43 alias set.
|
|
61
|
-
| Legacy Swedish capability names (v2 stable) | The historical Swedish `-era` IDs (e.g. `hej`, `resonera`) used by the v2 stable distribution
|
|
57
|
+
| Capability canonical name (v3) | The English name binding for v3+ capability invocation, per Decision 70, under the single-agent identity crystallized in Decision 74. Promoted from the Decision 43 alias set. Host runtimes and the CLI use the same English name; the v2 stable distribution uses the legacy Swedish `-era` IDs (see `Legacy Swedish capability names`). | `.agentera/decisions.yaml` (D43, D70, D74), `references/cli/vocabulary-index.yaml` (protected_surfaces) |
|
|
58
|
+
| Legacy Swedish capability names (v2 stable) | The historical Swedish `-era` IDs (e.g. `hej`, `resonera`) used by the v2 stable npm distribution and preserved as historical references in archived plans, decisions, and changelogs. Out of scope for v3 surface per Decisions 70 and 74; the single-agent identity uses English capability names exclusively. Coexistence probe surfaces per-distribution naming divergence. | `.agentera/decisions.yaml` (D70, D74), `references/cli/vocabulary-index.yaml` (protected_surfaces) |
|
|
62
59
|
| Shared protocol | Internal primitive vocabulary in `protocol.yaml`: confidence, severity, decision labels, exits, visual tokens, glyphs, and phases. | `skills/agentera/protocol.yaml` |
|
|
63
60
|
| Capability schema contract | The executable contract for capability schema groups, stable IDs, priorities, deprecations, and primitive references. | `skills/agentera/capability_schema_contract.yaml` |
|
|
64
61
|
| Project state | Structured files that preserve intent, decisions, plans, progress, health, docs, design, and session continuity. | `README.md`, `.agentera/docs.yaml` |
|
|
@@ -98,12 +95,12 @@ implemented `first_invocation_read: prime_context` value, the
|
|
|
98
95
|
enforcement boundary promoted to `true` in D65.
|
|
99
96
|
|
|
100
97
|
Use this prose as guidance only: the default is that the first capability
|
|
101
|
-
invocation shells out to `agentera prime --context <name> --format json` and
|
|
102
|
-
reads the returned `
|
|
103
|
-
`schemas/` files only, the
|
|
104
|
-
`packages/cli/src/capabilities/<name>/instructions.ts`,
|
|
105
|
-
|
|
106
|
-
|
|
98
|
+
invocation shells out to `npx -y agentera@next prime --context <name> --format json` and
|
|
99
|
+
reads the returned `instructions` field. Today, capability directories carry
|
|
100
|
+
the `schemas/` files only, the instructions module lives at
|
|
101
|
+
`packages/cli/src/capabilities/<name>/instructions.ts`, and the
|
|
102
|
+
`npx -y agentera@next prime --context <name> --format json` response emits
|
|
103
|
+
`capability_context.instructions` plus
|
|
107
104
|
`first_invocation_read` metadata.
|
|
108
105
|
|
|
109
106
|
Do not replace this with a parallel Markdown table of read modes or migration
|
|
@@ -112,12 +109,20 @@ human-facing boundary. The `prime_context` runtime enforcement is owned by the
|
|
|
112
109
|
CLI process; agent runtimes shell out to the prime command instead of reading
|
|
113
110
|
the prose module directly.
|
|
114
111
|
|
|
112
|
+
Status startup is the one-call exception to the general compact-data wording
|
|
113
|
+
above: `npx -y agentera@next prime --context status --format json` returns
|
|
114
|
+
`capability_context.instructions` and bounded
|
|
115
|
+
`capability_context.context.status_context` together with the one
|
|
116
|
+
`capability_context.startup` availability projection. Consumers do not make a
|
|
117
|
+
second bare-prime call or read raw artifacts; omitted detail names its
|
|
118
|
+
authoritative recovery command.
|
|
119
|
+
|
|
115
120
|
## Invocation and routing grammar
|
|
116
121
|
|
|
117
122
|
| Term | Definition |
|
|
118
123
|
| ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
119
124
|
| CLI-first state access | Read project state through `agentera` top-level commands before raw artifact reads. |
|
|
120
|
-
| Top-level state commands | The canonical namespace command is `state` followed by a subcommand (`plan`, `progress`, `health`, `todo`, `decisions`, `docs`, `objective`, `experiments`, `query`). Legacy top-level aliases remain during migration
|
|
125
|
+
| Top-level state commands | The canonical namespace command is `state` followed by a subcommand (`plan`, `progress`, `health`, `todo`, `decisions`, `docs`, `objective`, `experiments`, `query`). Legacy top-level aliases remain during migration. |
|
|
121
126
|
| Artifact-backed briefing | Any briefing or routing decision backed by Agentera project artifacts. It must use CLI-first state access. |
|
|
122
127
|
| Bare `/agentera` | Invocation without a specific request. It delegates to `status` and renders the status dashboard from one composite source command. |
|
|
123
128
|
| Status dashboard | User-facing project briefing with logo, status metrics, a narrative read inside `status`, attention, next action, and `⌂ status · <status>`. Issues summary uses `critical · degraded · annoying` only. |
|
|
@@ -125,24 +130,23 @@ the prose module directly.
|
|
|
125
130
|
| Direct route | A canonical capability name with optional following topic text, `/agentera <capability-name>` with optional topic text, or `/agentera <primary-alias>` routes directly to that capability and bypasses natural-language matching. |
|
|
126
131
|
| Canonical capability route | An English capability name such as `discuss`, `plan`, or `orchestrate`, optionally followed by topic text, plus the slash form `/agentera <capability-name>` with optional topic text. Canonical names remain protocol identity. |
|
|
127
132
|
| Primary route alias | The one plain `/agentera <alias>` direct route for a capability, owned by `ROUTE_ALIASES.primary_aliases`. Each canonical capability has exactly one primary alias. |
|
|
128
|
-
| Secondary request wording |
|
|
129
|
-
| Natural-language trigger | A
|
|
130
|
-
| Trigger priority | `high`, `medium`, or `low`; owned by the schema contract.
|
|
131
|
-
|
|
|
132
|
-
|
|
|
133
|
-
| Fallback to status | No sufficient match routes to status for orientation. |
|
|
133
|
+
| Secondary request wording | LLM-readable intent descriptions in capability trigger entries. They describe secondary wording and are not primary aliases. |
|
|
134
|
+
| Natural-language trigger | A trigger entry in `schemas/triggers.yaml` whose description and collision hints a host reads only after deterministic routing returns `semantic_required`. The host's semantic judgment must be submitted as a receipt the CLI validates before startup. |
|
|
135
|
+
| Trigger priority | `high`, `medium`, or `low`; an advisory relevance-precedence hint owned by the schema contract, not a score. |
|
|
136
|
+
| Genuine consequential ambiguity | Two materially plausible capabilities without enough intent to choose responsibly. Ask one clarification. |
|
|
137
|
+
| Fallback to status | Route to status for orientation only when no capability fits. |
|
|
134
138
|
| Concrete next action | A route suggestion tied to an object such as `PLAN Task N`, `TODO`, `OBJECTIVE`, or `VISION refresh`. |
|
|
135
139
|
| Suggest, don't force | Status recommends the next capability but waits for user confirmation. |
|
|
136
140
|
| Capability handoff label | A recommendation from one capability to another. Use glyph plus canonical name, such as `⧉ build` or `≡ plan`, not standalone slash-capability names. SG priority codes are internal protocol references and are not user-facing handoff labels. |
|
|
137
141
|
| Explicit route documentation | User-facing examples that teach the actual entry route. Use `/agentera <alias>` such as `/agentera build`; do not present aliases as CLI commands. |
|
|
138
|
-
|
|
|
139
|
-
| Question
|
|
142
|
+
| Bounded-choice prompt | A question surface supplied by the coding host. Agentera may use one when available but does not install, configure, or advertise a host-specific prompt integration. |
|
|
143
|
+
| Question gating | Use bounded choices only for at least two meaningful non-terminal next actions or consequential Proceed/Cancel; `Done` and custom/free-form answers do not count as alternatives. Initial Agentera/status briefs stay free-form unless bounded choices were requested or the suggested next step is a state-changing Proceed/Cancel handoff. A single non-mutating suggested handoff may use a free-form prompt, but a single state-changing handoff uses Proceed/Cancel confirmation. State-changing means the proposed next step may write artifacts, edit code, run optimization or orchestration cycles, apply migrations, or otherwise mutate project state. Apply the behavior rule first; invoked capability prose can impose stricter requirements. |
|
|
140
144
|
| Handoff confirmation | Clear free-form acceptance of the named single suggestion confirms invocation. Selecting a downstream capability option in a bounded prompt also confirms invocation; selecting `Done` stops without routing. Ambiguous replies get one clarifying question. |
|
|
141
145
|
| Route | Direct user invocation by canonical capability name, primary alias, or slash route. A route is already consent to invoke the capability and does not need an extra handoff confirmation. |
|
|
142
146
|
| Suggest | Recommend a downstream capability and wait for confirmation. |
|
|
143
147
|
| Delegate | Orchestrate assigns approved plan work to a worker capability during an explicitly orchestrated flow. |
|
|
144
|
-
| Spawn | Build or Optimize
|
|
145
|
-
|
|
|
148
|
+
| Spawn | Build or Optimize asks the coding host to launch an isolated worker when the host provides that facility. |
|
|
149
|
+
| Worker mechanism | A host-provided worker facility. Agentera ships no host-specific worker descriptor, adapter, plugin, hook, or package. |
|
|
146
150
|
| Legacy bridge | Temporary v1 entry points, especially `/hej`, that guide users to `/agentera` and the v2 upgrade path. |
|
|
147
151
|
|
|
148
152
|
CLI-visible `agentera prime` labels are source labels. Preserve them in CLI tests
|
|
@@ -169,36 +173,16 @@ Primary route aliases are slash-route vocabulary, not CLI command vocabulary:
|
|
|
169
173
|
|
|
170
174
|
Do not teach primary aliases as CLI state commands. v3 orientation is
|
|
171
175
|
`agentera prime` (capability ID `status` via `prime --context status`); routine
|
|
172
|
-
|
|
173
|
-
`state
|
|
174
|
-
`state
|
|
176
|
+
record reads use `npx -y agentera@next state plan list`, `state progress list`,
|
|
177
|
+
`state health list`, `state todo list`, `state decisions list`, `state docs list`,
|
|
178
|
+
`state objective list`, objective-scoped `state experiments list`, exact
|
|
179
|
+
`get --id ID`, and advanced `state query`. The v2 stable distribution
|
|
175
180
|
retains `hej` and the rest of the Swedish capability surface per Decision 70.
|
|
176
181
|
|
|
177
182
|
When capability prose recommends another capability, use the handoff label
|
|
178
183
|
grammar (`<glyph> <capability>`). Keep slash forms only when documenting the
|
|
179
184
|
entry route (`/agentera <alias>`) or preserving clearly historical evidence.
|
|
180
185
|
|
|
181
|
-
### Routing and execution vocabulary
|
|
182
|
-
|
|
183
|
-
The machine-readable authority is
|
|
184
|
-
`references/cli/routing-execution-vocabulary.yaml`; it owns classification of
|
|
185
|
-
routing and execution terms into canonical concepts, compatibility identifiers,
|
|
186
|
-
code identifiers, historical records, fixtures, path-like references, generic
|
|
187
|
-
plain language, and ambiguous current prose.
|
|
188
|
-
|
|
189
|
-
Use this prose as guidance only: request-to-capability routing uses `Agentera router`
|
|
190
|
-
or routing language, next-action recommendations `suggest`, Orkestrera
|
|
191
|
-
task assignment `delegate`, Realisera/Optimera worker launch `spawn`, runtime
|
|
192
|
-
support `subagent mechanism`, and worker safety `pre-spawn Git commit`.
|
|
193
|
-
Preserve shipped identifiers and concrete code/path evidence such as
|
|
194
|
-
`subagent_dispatch`, historical `pre-dispatch commit` records, fixture names,
|
|
195
|
-
and archived plans unless an explicit compatibility migration is in scope.
|
|
196
|
-
|
|
197
|
-
Do not replace this with a parallel Markdown table of preferred and forbidden
|
|
198
|
-
terms. Update the YAML authority first, then keep this section as the short
|
|
199
|
-
human-facing boundary. The broader current-prose replacement and repository-wide
|
|
200
|
-
ambiguous-term sweep remain separate follow-up work.
|
|
201
|
-
|
|
202
186
|
## Artifact grammar
|
|
203
187
|
|
|
204
188
|
| Term | Definition |
|
|
@@ -208,11 +192,11 @@ ambiguous-term sweep remain separate follow-up work.
|
|
|
208
192
|
| Severity band policy | TODO.md severity bands (⇶ Critical, ⇉ Degraded, → Normal, ⇢ Annoying) may be header-only when they have no open work; open items use `- [ ] [type:train]` only. Authority: `skills/agentera/schemas/artifacts/todo.yaml` CONVENTION TC5; executable rule in `packages/cli/src/hooks/validateArtifact/markdown.ts` `validateMdItems`. |
|
|
209
193
|
| Agent-facing artifact | A structured YAML artifact under `.agentera/`, such as `.agentera/progress.yaml`. |
|
|
210
194
|
| Global artifact | A user-level artifact outside a project, such as `PROFILE.md` or `USAGE.md`. |
|
|
211
|
-
| Canonical artifact name |
|
|
195
|
+
| Canonical artifact name | Public `artifact` value such as `plan`, `progress`, or `docs`; human-facing Markdown filenames such as `TODO.md` are display labels, not protocol identity. |
|
|
212
196
|
| Resolved artifact path | The actual path after consulting `.agentera/docs.yaml` mapping or the default layout. |
|
|
213
|
-
| Artifact mapping | `.agentera/docs.yaml` rows that map `
|
|
197
|
+
| Artifact mapping | `.agentera/docs.yaml` rows that map `artifact` values to project-local paths and producers. |
|
|
214
198
|
| ArtifactRegistry | The registry interface model for artifact IDs, display names, default paths, producers, consumers, type, scope, and special cases. |
|
|
215
|
-
| `
|
|
199
|
+
| `artifact` | Public artifact-family value such as `progress`, `health`, `docs`, or `objective`. Entity envelopes pair it with `id`, the stable public identifier whose grammar is owned by `references/artifacts/state-storage-authority.yaml`. |
|
|
216
200
|
| `display_name` | Human-readable filename label such as `VISION.md` or `TODO.md`; registry-owned, not protocol identity. |
|
|
217
201
|
| `default_path` | Registry-owned path used when no docs mapping overrides it. |
|
|
218
202
|
| `local_role` | Capability relationship to an artifact: `produces`, `consumes`, or `produces_and_consumes`. |
|
|
@@ -221,7 +205,7 @@ ambiguous-term sweep remain separate follow-up work.
|
|
|
221
205
|
|
|
222
206
|
Canonical artifact IDs include `vision`, `decisions`, `plan`, `progress`,
|
|
223
207
|
`todo`, `health`, `docs`, `design`, `profile`, `objective`, `experiments`,
|
|
224
|
-
`changelog`, `session`, `plan_archive`, `
|
|
208
|
+
`changelog`, `session`, `plan_archive`, `optimize_harness`, and
|
|
225
209
|
`semantic_fixture`.
|
|
226
210
|
|
|
227
211
|
## Status, severity, confidence, and exits
|
|
@@ -301,7 +285,7 @@ tests, labels, or active state.
|
|
|
301
285
|
| Decision gate | Explicit condition-based branch before proceeding. | Optimize keep/discard decision. |
|
|
302
286
|
| Exit-early stop condition | Stop condition when work is already complete or unnecessary. | Docs current, no stale work found. |
|
|
303
287
|
| Behavioral verification gate | Build check that behavior was verified against real project state. | Tests, builds, or manual verification. |
|
|
304
|
-
|
|
|
288
|
+
| Draft lint preview | Optional early feedback for verbosity mismatch, abstraction creep, and filler accumulation. | Pre-cutover, `npx -y agentera@next check lint --artifact <ARTIFACT>` previews a draft; the typed writer validates final bytes when publishing. |
|
|
305
289
|
| Plan-completion sweep | Build cleanup when plan tasks finish. | Progress rollup, changelog, TODO, health cross-reference, archive. |
|
|
306
290
|
| Worker spawn | Isolated implementation or measurement by a worker through the host subagent mechanism. | Build and optimize can use it. |
|
|
307
291
|
| Stale-base awareness | Prevent workers from branching from old `origin/main` or stale HEAD. | Use pre-spawn Git commits before spawning workers. |
|
|
@@ -361,18 +345,14 @@ not add precision:
|
|
|
361
345
|
| Missing normal directory | Previewable. Agentera can show a no-write repair preview. |
|
|
362
346
|
| Missing chosen directory | Needs a user decision when provided through `AGENTERA_HOME` or explicit `--install-root`. |
|
|
363
347
|
| Package refresh | Package-manager or marketplace update. It does not prove Agentera's app files are current. |
|
|
364
|
-
| App repair | Normal
|
|
365
|
-
| `--only bundle` | Compatibility selector for narrow app-file work. Do not present it as the normal repair recommendation when managed runtime surfaces may also need repair. |
|
|
348
|
+
| App repair | Normal flow that previews or applies Agentera app/project work. It does not install, update, authenticate, enable, trust, or repair host-native resources. |
|
|
366
349
|
| Preview | No-write mode. Required before upgrade or app repair writes; the underlying command flag is `--dry-run`. |
|
|
367
350
|
| `--yes` | Explicit apply flag after preview and approval. |
|
|
368
|
-
| Final check |
|
|
369
|
-
| Package-update opt-in | External package manager changes require `--update-packages`. |
|
|
370
|
-
| Runtime adapter | Runtime-specific Agentera adapter support for skill loading, hooks, artifact validation, lifecycle metadata, and diagnostics. |
|
|
351
|
+
| Final check | Validation after upgrade apply using the same app/project evidence reported by `agentera doctor`. |
|
|
371
352
|
| Host support | What a runtime can theoretically do. Distinguish it from shipped Agentera behavior. |
|
|
372
|
-
|
|
|
373
|
-
| Setup doctor | Diagnostic command surface for install/runtime health. |
|
|
353
|
+
| Retired native integration vocabulary | Runtime selectors, adapter repair, plugin-shipped hooks, setup-doctor runtime health, and package-update flags describe released history or migration evidence only. They are not current Agentera features. |
|
|
374
354
|
|
|
375
|
-
|
|
355
|
+
Claude Code is a retired migration and consent-gated historical-import source, not an active runtime. Current coding hosts consume the shared skill and CLI without entering an Agentera runtime inventory.
|
|
376
356
|
|
|
377
357
|
### App lifecycle status vocabulary
|
|
378
358
|
|
|
@@ -389,7 +369,7 @@ words. `agentera upgrade` is the only repair command. When app files are
|
|
|
389
369
|
version-behind, the operation inside that command is an **update**; when files
|
|
390
370
|
are missing or broken, it is a **repair**; when v1 artifacts exist, it is a
|
|
391
371
|
**migrate**. Hej attention text should name both the operation and the command
|
|
392
|
-
(for example, app files outdated; run `agentera upgrade`).
|
|
372
|
+
(for example, app files outdated; run `npx -y agentera@next upgrade`).
|
|
393
373
|
Compatibility aliases are transitional classifications in the YAML authority,
|
|
394
374
|
not second source-of-truth status values.
|
|
395
375
|
|
|
@@ -417,8 +397,8 @@ prime resolve. The machine-readable authority is
|
|
|
417
397
|
npm dist-tag and git ref resolution, override precedence, and consumer ownership
|
|
418
398
|
for upgrade, doctor, prime, docs, and tests.
|
|
419
399
|
|
|
420
|
-
Use this prose as guidance only: **stable** tracks the supported 2.x line
|
|
421
|
-
|
|
400
|
+
Use this prose as guidance only: **stable** tracks the supported 2.x npm line
|
|
401
|
+
and, for maintainers, `uvx --from git+...@main` (Python
|
|
422
402
|
CLI). **development** tracks 3.x alphas and release candidates on **npm only**
|
|
423
403
|
(`npx -y agentera@next`); feat/v3 is TypeScript-only and has no uv/git install
|
|
424
404
|
path. v2→v3 is a one-way upgrade through the development npm channel. Default
|
|
@@ -436,26 +416,6 @@ Do not replace this with a parallel Markdown table of dist-tags, git refs, or
|
|
|
436
416
|
override keys. Update the YAML authority first, then keep this section as the
|
|
437
417
|
short human-facing boundary.
|
|
438
418
|
|
|
439
|
-
### Bundle and SKILL.md vocabulary
|
|
440
|
-
|
|
441
|
-
The machine-readable authority is
|
|
442
|
-
`references/cli/bundle-skill-vocabulary.yaml`; it owns classification of
|
|
443
|
-
`bundle` and `SKILL.md` usage into canonical concepts, compatibility
|
|
444
|
-
identifiers, package metadata, historical records, fixtures, path-like
|
|
445
|
-
references, generic plain language, and ambiguous current prose.
|
|
446
|
-
|
|
447
|
-
Use this prose as guidance only: current conceptual docs should say the object
|
|
448
|
-
they mean, such as Agentera app files, suite package, plugin-shipped hooks,
|
|
449
|
-
removed `bundle-status` command, Agentera routing entry point, skill entry file,
|
|
450
|
-
historical v1 skill entry paths (post-3.0 removed from the repo tree). Preserve shipped identifiers and
|
|
451
|
-
literal paths such as `.agentera-bundle.json`, `bundle.status`,
|
|
452
|
-
`activeBundleRoot`, `--only bundle`, and `skills/agentera/SKILL.md` unless an
|
|
453
|
-
explicit compatibility migration is in scope.
|
|
454
|
-
|
|
455
|
-
Do not replace this with a parallel Markdown table of allowed and forbidden
|
|
456
|
-
terms. Update the YAML authority first, then keep this section as the short
|
|
457
|
-
human-facing boundary.
|
|
458
|
-
|
|
459
419
|
## Evaluation and evidence grammar
|
|
460
420
|
|
|
461
421
|
| Term | Definition |
|
|
@@ -463,7 +423,7 @@ human-facing boundary.
|
|
|
463
423
|
| Validation passed | Evidence that required checks completed successfully. Name the checks. |
|
|
464
424
|
| Focused tests | Targeted tests for the changed surface. |
|
|
465
425
|
| Full pytest | Repository-wide pytest run. Use exact counts when recorded. |
|
|
466
|
-
| Capability validator | `
|
|
426
|
+
| Capability validator | `npx -y agentera@next check validate capability skills/agentera/capabilities/<name>`. |
|
|
467
427
|
| Cross-capability validation | Checks that capability schemas agree with registry, protocol, routing, and exit contracts. |
|
|
468
428
|
| Smoke eval | Runtime/setup check for crashes, non-zero exits, or obvious host failures. |
|
|
469
429
|
| Live-host smoke | Explicit opt-in model-host check against real runtime access. |
|
|
@@ -523,7 +483,7 @@ schema concept, runtime capability, install state, or user action.
|
|
|
523
483
|
| Ambiguous term | Why bare usage is risky | Required wording |
|
|
524
484
|
| --------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
525
485
|
| Skill | Confuses v1 standalone skills, the host editor skill bundle, and internal workflows. | Per Decision 74, `skill` is internal transport, not product vocabulary. Use `capability` for Agentera workflows; reserve `skill` for the `skills/` directory and host editor manifests; `v1 skill` for history. |
|
|
526
|
-
| Contract | Could mean schema structure, artifact shape, protocol primitive,
|
|
486
|
+
| Contract | Could mean schema structure, artifact shape, protocol primitive, package behavior, or product promise. | Use `schema contract`, `artifact schema`, `protocol primitives`, `package contract`, or `product promise`. |
|
|
527
487
|
| Status | Different surfaces use different state machines and output labels. | Use `exit status`, `task status`, `installed-app status`, `install status`, `docs status`, or `health status`. |
|
|
528
488
|
| Freshness | Sounds like a branded synonym for several normal states: current, stale, synced, or out of date. | Use object-specific state wording such as `artifact is current`, `Agentera app files need repair`, `docs are current`, or `plan-level current-state check`. |
|
|
529
489
|
| Checkpoint | In software, can mean commit, savepoint, restore point, model checkpoint, or milestone. | Use `final state sync`, `plan-level current-state check`, `checkpoint commit`, or `pre-dispatch checkpoint commit`. |
|
|
@@ -556,15 +516,13 @@ High-signal source surfaces for this vocabulary:
|
|
|
556
516
|
| `skills/agentera/SKILL.md` | Routing entry, routing layers, CLI-first access, installed-app status check, and v1 migration check. |
|
|
557
517
|
| `skills/agentera/protocol.yaml` | Protocol primitives, glyphs, phases, visual tokens, exit signals. |
|
|
558
518
|
| `skills/agentera/capability_schema_contract.yaml` | Schema groups, priorities, stable IDs, primitive-reference fields. |
|
|
559
|
-
| `packages/cli/src/capabilities/*/instructions.ts` | Workflow grammar, capability roles, safety rails, exit marker forms. Loaded as a default-exported string constant; runtime serves it via `agentera prime --context <name> --format json`. |
|
|
519
|
+
| `packages/cli/src/capabilities/*/instructions.ts` | Workflow grammar, capability roles, safety rails, exit marker forms. Loaded as a default-exported string constant; pre-cutover runtime serves it via `npx -y agentera@next prime --context <name> --format json`. |
|
|
560
520
|
| `skills/agentera/capabilities/*/schemas/*.yaml` | Trigger patterns, artifact roles, validation rules, exit conditions. |
|
|
561
521
|
| `skills/agentera/schemas/artifacts/*.yaml` | Artifact fields, status enums, validation vocabulary, and protected current-state fields. |
|
|
562
522
|
| `references/artifacts/artifact-registry-interface-model.yaml` | Canonical artifact registry language. |
|
|
563
523
|
| `references/cli/app-lifecycle-vocabulary.yaml` | App lifecycle canonical status and operation vocabulary authority. |
|
|
564
524
|
| `references/cli/update-channels.yaml` | Update channel resolution and override-key authority. |
|
|
565
|
-
| `references/cli/bundle-skill-vocabulary.yaml` | Bundle and `SKILL.md` concept classification authority. |
|
|
566
525
|
| `references/cli/capability-instruction-contract.yaml` | Decision 57 capability instruction-file and first-invocation read contract authority. |
|
|
567
|
-
| `references/cli/routing-execution-vocabulary.yaml` | Routing and execution vocabulary authority. |
|
|
568
526
|
| `the agentera CLI` | Flat State CLI labels and `agentera hej` source contract. |
|
|
569
527
|
| `packages/cli/src/upgrade (doctor/upgrade)` | Upgrade and doctor output grammar. |
|
|
570
528
|
| `packages/cli/src/state/installRoot.ts` | Install-root classification semantics. |
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
schema_version: agentera.retainedReferenceAuthority.v1
|
|
2
|
+
live_roots:
|
|
3
|
+
- references
|
|
4
|
+
- skills/agentera/references
|
|
5
|
+
inventory:
|
|
6
|
+
- path: references/adapters/package-publication.json
|
|
7
|
+
classification: current
|
|
8
|
+
production_owner: { module: packages/cli/scripts/publication-transaction.mjs, symbol: PUBLICATION_CONTRACT }
|
|
9
|
+
consumers:
|
|
10
|
+
- { kind: runtime, module: packages/cli/scripts/publication-transaction.mjs, symbol: PUBLICATION_CONTRACT, consumption: loads }
|
|
11
|
+
- { kind: runtime, module: packages/cli/src/registries/packagePublication.ts, symbol: loadPackagePublicationModel, consumption: loads }
|
|
12
|
+
- path: references/adapters/package-registry.yaml
|
|
13
|
+
classification: current
|
|
14
|
+
production_owner: { module: packages/cli/src/registries/packageRegistry.ts, symbol: loadRegistry }
|
|
15
|
+
consumers:
|
|
16
|
+
- { kind: runtime, module: packages/cli/src/registries/packageRegistry.ts, symbol: loadRegistry, consumption: loads }
|
|
17
|
+
- path: references/analysis/evidence-tier-authority.yaml
|
|
18
|
+
classification: current
|
|
19
|
+
production_owner: { module: packages/cli/src/registries/evidenceTierContract.ts, symbol: loadEvidenceTierContract }
|
|
20
|
+
consumers:
|
|
21
|
+
- { kind: runtime, module: packages/cli/src/registries/evidenceTierContract.ts, symbol: loadEvidenceTierContract, consumption: loads }
|
|
22
|
+
- path: references/analysis/verification-policy.yaml
|
|
23
|
+
classification: current
|
|
24
|
+
production_owner: { module: packages/cli/scripts/verify-lane.mjs, symbol: loadContract }
|
|
25
|
+
consumers:
|
|
26
|
+
- { kind: runtime, module: packages/cli/scripts/verify-lane.mjs, symbol: loadContract, consumption: loads }
|
|
27
|
+
- path: references/artifacts/artifact-registry-interface-model.yaml
|
|
28
|
+
classification: current
|
|
29
|
+
production_owner: { module: packages/cli/src/registries/artifactRegistry.ts, symbol: loadArtifactRegistry }
|
|
30
|
+
consumers:
|
|
31
|
+
- { kind: runtime, module: packages/cli/src/registries/artifactRegistry.ts, symbol: loadArtifactRegistry, consumption: loads }
|
|
32
|
+
- path: references/artifacts/glossary-entry-contract.yaml
|
|
33
|
+
classification: current
|
|
34
|
+
production_owner: { module: packages/cli/src/registries/glossaryEntryContract.ts, symbol: glossaryEntryAuthorityPath }
|
|
35
|
+
consumers:
|
|
36
|
+
- { kind: runtime, module: packages/cli/src/registries/glossaryEntryContract.ts, symbol: personalGlossaryOutputContract, consumption: loads }
|
|
37
|
+
- path: references/artifacts/state-storage-authority.yaml
|
|
38
|
+
classification: current
|
|
39
|
+
production_owner: { module: packages/cli/src/state/stateStorageAuthority.ts, symbol: loadStateStorageAuthority }
|
|
40
|
+
consumers:
|
|
41
|
+
- { kind: runtime, module: packages/cli/src/state/stateStorageAuthority.ts, symbol: loadStateStorageAuthority, consumption: loads }
|
|
42
|
+
- path: references/artifacts/verbosity-budget-authority.yaml
|
|
43
|
+
classification: current
|
|
44
|
+
production_owner: { module: packages/cli/src/registries/verbosityBudgetContract.ts, symbol: inspectArtifactVerbosityBudget }
|
|
45
|
+
consumers:
|
|
46
|
+
- { kind: runtime, module: packages/cli/src/registries/verbosityBudgetContract.ts, symbol: inspectArtifactVerbosityBudget, consumption: loads }
|
|
47
|
+
- path: references/cli/app-lifecycle-vocabulary.yaml
|
|
48
|
+
classification: current
|
|
49
|
+
production_owner: { module: packages/cli/src/validate/vocabularyAuthority.ts, symbol: validateVocabularyAuthority }
|
|
50
|
+
consumers:
|
|
51
|
+
- { kind: validator, module: packages/cli/src/validate/vocabularyAuthority.ts, symbol: validateVocabularyAuthority, consumption: loads }
|
|
52
|
+
- path: references/cli/bundle-skill-vocabulary.yaml
|
|
53
|
+
classification: delete
|
|
54
|
+
- path: references/cli/capability-instruction-contract.yaml
|
|
55
|
+
classification: current
|
|
56
|
+
production_owner: { module: packages/cli/src/cli/capabilityContext/progress.ts, symbol: evaluatorHandoffOutputRequirementsFromContract }
|
|
57
|
+
consumers:
|
|
58
|
+
- { kind: runtime, module: packages/cli/src/cli/capabilityContext/progress.ts, symbol: evaluatorHandoffOutputRequirementsFromContract, consumption: loads }
|
|
59
|
+
- path: references/cli/hybrid-route-contract.yaml
|
|
60
|
+
classification: current
|
|
61
|
+
production_owner: { module: packages/cli/src/registries/hybridRoute.ts, symbol: resolveRouteRequest }
|
|
62
|
+
consumers:
|
|
63
|
+
- { kind: runtime, module: packages/cli/src/registries/hybridRoute.ts, symbol: resolveRouteRequest, consumption: loads }
|
|
64
|
+
- path: references/cli/update-channels.yaml
|
|
65
|
+
classification: current
|
|
66
|
+
production_owner: { module: packages/cli/src/release/releaseMetadata.ts, symbol: readReleaseMetadata }
|
|
67
|
+
consumers:
|
|
68
|
+
- { kind: validator, module: packages/cli/src/release/releaseMetadata.ts, symbol: readReleaseMetadata, consumption: loads }
|
|
69
|
+
- path: references/cli/vocabulary-index.yaml
|
|
70
|
+
classification: current
|
|
71
|
+
production_owner: { module: packages/cli/src/validate/vocabularyAuthority.ts, symbol: validateVocabularyAuthority }
|
|
72
|
+
consumers:
|
|
73
|
+
- { kind: validator, module: packages/cli/src/validate/vocabularyAuthority.ts, symbol: validateVocabularyAuthority, consumption: loads }
|
|
74
|
+
- path: references/cli/vocabulary.md
|
|
75
|
+
classification: current
|
|
76
|
+
production_owner: { module: packages/cli/src/validate/vocabularyAuthority.ts, symbol: validateVocabularyAuthority }
|
|
77
|
+
consumers:
|
|
78
|
+
- { kind: validator, module: packages/cli/src/validate/vocabularyAuthority.ts, symbol: validateVocabularyAuthority, consumption: loads }
|
|
79
|
+
- path: references/adapters/runtime-lifecycle-adapters.yaml
|
|
80
|
+
classification: migration-only
|
|
81
|
+
production_owner: { module: packages/cli/src/runtime/lifecycleAdapterContract.ts, symbol: loadRuntimeLifecycleAdapterContract }
|
|
82
|
+
consumers:
|
|
83
|
+
- { kind: runtime, module: packages/cli/src/runtime/lifecycleAdapterContract.ts, symbol: loadRuntimeLifecycleAdapterContract, consumption: loads }
|
|
84
|
+
- path: references/adapters/runtime-lifecycle-authority.yaml
|
|
85
|
+
classification: migration-only
|
|
86
|
+
production_owner: { module: packages/cli/src/runtime/lifecycleAuthority.ts, symbol: loadLifecycleAuthority }
|
|
87
|
+
consumers:
|
|
88
|
+
- { kind: runtime, module: packages/cli/src/runtime/lifecycleAuthority.ts, symbol: loadLifecycleAuthority, consumption: loads }
|
|
89
|
+
- path: references/adapters/runtime-lifecycle-operation-contract.yaml
|
|
90
|
+
classification: migration-only
|
|
91
|
+
production_owner: { module: packages/cli/src/runtime/lifecycleOperationContract.ts, symbol: loadLifecycleOperationContract }
|
|
92
|
+
consumers:
|
|
93
|
+
- { kind: runtime, module: packages/cli/src/runtime/lifecycleOperationContract.ts, symbol: loadLifecycleOperationContract, consumption: loads }
|
|
94
|
+
- path: references/adapters/runtime-retired-resources.yaml
|
|
95
|
+
classification: migration-only
|
|
96
|
+
production_owner: { module: packages/cli/src/runtime/nativeResourceCleanup.ts, symbol: loadNativeResourceCleanupContract }
|
|
97
|
+
consumers:
|
|
98
|
+
- { kind: runtime, module: packages/cli/src/runtime/nativeResourceCleanup.ts, symbol: loadNativeResourceCleanupContract, consumption: loads }
|
|
99
|
+
- path: references/cli/v3-handoff-manifest.schema.yaml
|
|
100
|
+
classification: delete
|
|
101
|
+
- path: references/adapters/package-surface-characterization.md
|
|
102
|
+
classification: runbook
|
|
103
|
+
maintainer: Agentera CLI maintainers
|
|
104
|
+
source_checkout_root: .
|
|
105
|
+
working_directory: .
|
|
106
|
+
command: pnpm -C packages/cli run pack:dry-run
|
|
107
|
+
- path: references/cli/routing-model.md
|
|
108
|
+
classification: runbook
|
|
109
|
+
maintainer: Agentera CLI maintainers
|
|
110
|
+
source_checkout_root: .
|
|
111
|
+
working_directory: .
|
|
112
|
+
command: node packages/cli/dist/bin/agentera.js route evaluate --format json
|
|
113
|
+
- path: references/cli/trigger-schema-enrichment.md
|
|
114
|
+
classification: runbook
|
|
115
|
+
maintainer: Agentera CLI maintainers
|
|
116
|
+
source_checkout_root: .
|
|
117
|
+
working_directory: .
|
|
118
|
+
command: node packages/cli/dist/bin/agentera.js check validate capability-contract --format json
|
|
119
|
+
- path: references/meta/retained-reference-authority.yaml
|
|
120
|
+
classification: current
|
|
121
|
+
production_owner: { module: packages/cli/src/validate/retainedReferenceAuthority.ts, symbol: validateRetainedReferenceAuthority }
|
|
122
|
+
consumers:
|
|
123
|
+
- { kind: validator, module: packages/cli/src/validate/retainedReferenceAuthority.ts, symbol: validateRetainedReferenceAuthority, consumption: loads }
|
|
124
|
+
- path: references/cli/upgrade-repair-wording.md
|
|
125
|
+
classification: historical
|
|
126
|
+
- path: references/adapters/package-manifest-interface-model.yaml
|
|
127
|
+
classification: delete
|
|
128
|
+
- path: references/analysis/benchmark.md
|
|
129
|
+
classification: delete
|
|
130
|
+
- path: references/analysis/startup-measurement-contract.yaml
|
|
131
|
+
classification: delete
|
|
132
|
+
- path: references/cli/agent-ready-state-contract.yaml
|
|
133
|
+
classification: delete
|
|
134
|
+
- path: references/cli/audience-namespace-cli-migration.yaml
|
|
135
|
+
classification: delete
|
|
136
|
+
- path: references/cli/capability-instruction-structure.md
|
|
137
|
+
classification: delete
|
|
138
|
+
- path: references/cli/capability-tool-classification.yaml
|
|
139
|
+
classification: delete
|
|
140
|
+
- path: references/cli/parity-expected-actual-template.md
|
|
141
|
+
classification: delete
|
|
142
|
+
- path: references/cli/prime-consumer-compatibility.yaml
|
|
143
|
+
classification: delete
|
|
144
|
+
- path: references/cli/routing-execution-vocabulary.yaml
|
|
145
|
+
classification: delete
|
|
146
|
+
- path: references/cli/single-name-protocol.yaml
|
|
147
|
+
classification: delete
|
|
148
|
+
- path: references/meta/documentation-inventory.md
|
|
149
|
+
classification: delete
|
|
150
|
+
- path: skills/agentera/references/contract.md
|
|
151
|
+
classification: delete
|