agentera 3.0.0-dev.7 → 3.0.0-dev.74
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 +229 -22
- package/bundle/.agentera-build-source.json +8 -0
- 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 +484 -0
- package/bundle/references/adapters/package-registry.yaml +439 -188
- package/bundle/references/adapters/package-surface-characterization.md +68 -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 +559 -0
- package/bundle/references/analysis/personal-glossary-evaluation-authority.yaml +175 -0
- package/bundle/references/analysis/personal-glossary-evaluation-corpus.yaml +291 -0
- package/bundle/references/analysis/personal-glossary-holdout.yaml +192 -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 +2752 -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 +6 -4
- package/bundle/references/cli/vocabulary-index.yaml +5 -7
- package/bundle/references/cli/vocabulary.md +52 -94
- package/bundle/references/meta/retained-reference-authority.yaml +166 -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 +13 -4
- package/bundle/skills/agentera/capabilities/profile/schemas/exit.yaml +8 -5
- package/bundle/skills/agentera/capabilities/profile/schemas/triggers.yaml +8 -37
- package/bundle/skills/agentera/capabilities/profile/schemas/validation.yaml +67 -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 +87 -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 +464 -32
- package/bundle/skills/agentera/schemas/artifacts/progress.yaml +131 -18
- package/bundle/skills/agentera/schemas/artifacts/todo.yaml +302 -7
- package/dist/.agentera-build-source.json +8 -0
- package/dist/analytics/extractCorpus/cli.js +52 -11
- package/dist/analytics/extractCorpus/copilotSessions.js +19 -8
- package/dist/analytics/extractCorpus/core.js +262 -14
- package/dist/analytics/extractCorpus/corpus.js +57 -18
- package/dist/analytics/extractCorpus/coverageAudit.js +44 -45
- package/dist/analytics/extractCorpus/cursorSessions.js +28 -8
- package/dist/analytics/extractCorpus/evidenceTiers.js +709 -0
- package/dist/analytics/extractCorpus/extractCorpusParity.js +4 -4
- package/dist/analytics/extractCorpus/filesystemSources.js +5 -5
- package/dist/analytics/extractCorpus/index.js +4 -2
- package/dist/analytics/extractCorpus/jsonlSessions.js +76 -8
- package/dist/analytics/extractCorpus/sqliteCaps.js +0 -1
- package/dist/analytics/extractCorpus/sqliteSessions.js +12 -4
- 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 +113 -0
- package/dist/analytics/personalGlossaryCandidateProjection.js +692 -0
- package/dist/analytics/personalGlossaryCandidateProjectionExcerpts.js +144 -0
- package/dist/analytics/personalGlossaryCandidateReadView.js +23 -0
- package/dist/analytics/personalGlossaryCurrentGeneration.js +25 -0
- package/dist/analytics/personalGlossaryDecision.js +203 -0
- package/dist/analytics/personalGlossaryExplicit.js +788 -0
- package/dist/analytics/personalGlossaryExplicitMining.js +285 -0
- package/dist/analytics/personalGlossaryExplicitScope.js +41 -0
- package/dist/analytics/personalGlossaryExplicitSegments.js +418 -0
- package/dist/analytics/personalGlossaryExplicitTypes.js +26 -0
- package/dist/analytics/personalGlossaryLexicalClassifier.js +175 -0
- package/dist/analytics/personalGlossaryProfile.js +229 -0
- package/dist/analytics/personalGlossaryRecurrence.js +618 -0
- package/dist/analytics/personalGlossaryReviewRecordStorage.js +428 -0
- package/dist/analytics/personalGlossaryReviewRecords.js +332 -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 +20 -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 +104 -5
- 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/personalGlossaryCandidateReads.js +744 -0
- package/dist/cli/commands/personalGlossaryDecision.js +349 -0
- package/dist/cli/commands/personalGlossaryPublish.js +484 -0
- package/dist/cli/commands/personalGlossaryReviewRecordReads.js +209 -0
- package/dist/cli/commands/personalGlossaryReviewRecords.js +623 -0
- package/dist/cli/commands/prime/briefOrientation.js +845 -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 +91 -21
- package/dist/cli/commands/route.js +142 -0
- package/dist/cli/commands/schema.js +436 -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 +73 -16
- 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 +162 -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 +404 -39
- package/dist/cli/migrationRequired.js +125 -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 +23 -0
- package/dist/core/developmentChannel.js +1 -0
- package/dist/core/developmentInvocation.js +377 -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 +61 -2
- package/dist/eval/evalSkills.js +13 -14
- package/dist/eval/glossaryEvaluation.js +751 -0
- package/dist/eval/glossaryEvaluationProcess.js +29 -0
- package/dist/eval/glossaryEvaluationRunner.js +571 -0
- package/dist/eval/glossaryEvaluationSuccessReport.js +297 -0
- 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 +136 -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 +375 -0
- package/dist/registries/explicitSegmentGrammarContract.js +619 -0
- package/dist/registries/glossaryAdviceContract.js +79 -0
- package/dist/registries/glossaryCandidateContractPaths.js +6 -0
- package/dist/registries/glossaryCandidateContracts.js +820 -0
- package/dist/registries/glossaryCandidateDecisionAuthority.js +119 -0
- package/dist/registries/glossaryCandidateDecisionContract.js +62 -0
- package/dist/registries/glossaryCandidateProjectionAuthority.js +197 -0
- package/dist/registries/glossaryCandidateProjectionContract.js +104 -0
- package/dist/registries/glossaryCaveatContract.js +67 -0
- package/dist/registries/glossaryConsumerContractValidation.js +787 -0
- package/dist/registries/glossaryEntryContract.js +759 -0
- package/dist/registries/glossaryEntryTemporal.js +12 -0
- package/dist/registries/glossaryMiningAuthority.js +764 -0
- package/dist/registries/glossaryProfileFullContract.js +24 -0
- package/dist/registries/glossaryReviewRecordsAuthority.js +426 -0
- package/dist/registries/glossaryReviewRecordsContract.js +129 -0
- package/dist/registries/glossaryTermIdentity.js +139 -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/personalGlossaryContracts.js +1 -0
- 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 +167 -10
- 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 +2 -2
- package/dist/upgrade/projectIntegration.js +128 -160
- 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 +866 -0
- package/dist/validate/activationArtifactEvidenceTypes.js +12 -0
- package/dist/validate/activationConjunction.js +816 -0
- package/dist/validate/activationEvidenceManifest.js +610 -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 +39 -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
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# Parity EXPECTED/ACTUAL bug-demonstration template
|
|
2
|
-
|
|
3
|
-
Apply this pattern to `npmParityMatrix` / Python-oracle parity rows when fixing a
|
|
4
|
-
regression: land a **demonstrate** commit first, then a **fix** commit that only
|
|
5
|
-
flips the assertion.
|
|
6
|
-
|
|
7
|
-
## Workflow
|
|
8
|
-
|
|
9
|
-
1. **Demonstrate commit** — test passes on broken behavior; correct expectation
|
|
10
|
-
preserved in a block comment (`EXPECTED`); wrong behavior asserted (`ACTUAL`).
|
|
11
|
-
2. **Fix commit** — delete comment markers and `ACTUAL` line; `EXPECTED` becomes the
|
|
12
|
-
live assertion. No other edits in the fix commit.
|
|
13
|
-
|
|
14
|
-
## Minimal vitest shape
|
|
15
|
-
|
|
16
|
-
See `packages/cli/test/cli/parityExpectedActualTemplate.test.ts` for a runnable
|
|
17
|
-
micro-example. For real parity rows, mirror the pattern in the oracle fixture row
|
|
18
|
-
and `npmParityMatrix.test.ts` drift assertions.
|
|
19
|
-
|
|
20
|
-
## npmParityMatrix row
|
|
21
|
-
|
|
22
|
-
When adding a row to the parity matrix for a pre-existing bug:
|
|
23
|
-
|
|
24
|
-
- Register the row with `drift_direction: equal` as the target after fix.
|
|
25
|
-
- In the demonstrate pass, temporarily pin oracle shape to the **wrong** envelope
|
|
26
|
-
or assert `ACTUAL` substring in a dedicated regression test.
|
|
27
|
-
- Fix pass restores `equal` against the corrected CLI output.
|
|
28
|
-
|
|
29
|
-
Do not apply EXPECTED/ACTUAL by default to every row — only where bisect clarity
|
|
30
|
-
justifies the two-commit ritual.
|
|
@@ -1,281 +0,0 @@
|
|
|
1
|
-
schema_version: agentera.routing_execution_vocabulary.v1
|
|
2
|
-
status: active_authority
|
|
3
|
-
purpose: >-
|
|
4
|
-
Define routing and execution vocabulary boundaries so request routing, next-action
|
|
5
|
-
recommendation, Orkestrera task assignment, worker launch, runtime support, and
|
|
6
|
-
worker-safety Git commits stay distinct without forcing mechanical renames of
|
|
7
|
-
shipped compatibility identifiers or historical evidence.
|
|
8
|
-
sources:
|
|
9
|
-
prose:
|
|
10
|
-
- references/cli/vocabulary.md#routing-and-execution-vocabulary
|
|
11
|
-
scope:
|
|
12
|
-
includes:
|
|
13
|
-
- Request-to-capability routing through the Agentera skill entry point.
|
|
14
|
-
- Hej and capability next-action recommendations that wait for confirmation.
|
|
15
|
-
- Orkestrera assignment of approved plan work to worker capabilities.
|
|
16
|
-
- Realisera and Optimera launch of runtime workers.
|
|
17
|
-
- Runtime subagent support mechanisms and compatibility identifiers.
|
|
18
|
-
- Git commit safety language before spawning isolated worker execution.
|
|
19
|
-
excludes:
|
|
20
|
-
- Broad current-prose replacement across capability instructions.
|
|
21
|
-
- Repository-wide ambiguous dispatcher/dispatch/router/conductor occurrence rejection.
|
|
22
|
-
- Capability instruction-file rename work.
|
|
23
|
-
- "`first_invocation_read` metadata or startup-read behavior."
|
|
24
|
-
- Objective state, decision satisfaction state, package publication, and installed app refreshes.
|
|
25
|
-
compatibility_boundary: >-
|
|
26
|
-
Compatibility identifiers, code symbols, fixture names, literal paths, archived
|
|
27
|
-
plans, changelog/progress/decision history, and concrete runtime API names may
|
|
28
|
-
keep older dispatcher, dispatch, conductor, worktree dispatch, and pre-dispatch
|
|
29
|
-
wording when the spelling is the contract or historical evidence. New conceptual
|
|
30
|
-
prose should use the canonical concept terms below.
|
|
31
|
-
canonical_concept_order:
|
|
32
|
-
- request_to_capability_routing
|
|
33
|
-
- next_action_recommendation
|
|
34
|
-
- orchestrate_task_assignment
|
|
35
|
-
- worker_launch
|
|
36
|
-
- runtime_subagent_support
|
|
37
|
-
- worker_safety_git_commit
|
|
38
|
-
canonical_concepts:
|
|
39
|
-
request_to_capability_routing:
|
|
40
|
-
definition: >-
|
|
41
|
-
Agentera chooses the capability that should handle a user request, using
|
|
42
|
-
direct routes, primary route aliases, trigger schemas, disambiguation, or
|
|
43
|
-
fallback to status.
|
|
44
|
-
preferred_terms:
|
|
45
|
-
- Agentera router
|
|
46
|
-
- request-to-capability routing
|
|
47
|
-
- route
|
|
48
|
-
- routing
|
|
49
|
-
forbidden_ambiguous_shortcuts:
|
|
50
|
-
- master dispatcher
|
|
51
|
-
- bare dispatch
|
|
52
|
-
- skill dispatcher
|
|
53
|
-
- conductor
|
|
54
|
-
next_action_recommendation:
|
|
55
|
-
definition: >-
|
|
56
|
-
A capability recommends a concrete next capability or action and waits for
|
|
57
|
-
user confirmation before state-changing work begins.
|
|
58
|
-
preferred_terms:
|
|
59
|
-
- suggest
|
|
60
|
-
- suggestion
|
|
61
|
-
- next-action recommendation
|
|
62
|
-
- suggested next action
|
|
63
|
-
forbidden_ambiguous_shortcuts:
|
|
64
|
-
- dispatch
|
|
65
|
-
- force
|
|
66
|
-
- chain
|
|
67
|
-
- conductor handoff
|
|
68
|
-
orchestrate_task_assignment:
|
|
69
|
-
definition: >-
|
|
70
|
-
Orchestrate assigns approved plan work to a worker capability during an
|
|
71
|
-
explicitly orchestrated flow; it evaluates the result instead of implementing
|
|
72
|
-
the task itself.
|
|
73
|
-
preferred_terms:
|
|
74
|
-
- delegate
|
|
75
|
-
- delegation
|
|
76
|
-
- Orchestrate task delegation
|
|
77
|
-
- assigned plan work
|
|
78
|
-
forbidden_ambiguous_shortcuts:
|
|
79
|
-
- conductor
|
|
80
|
-
- conductor protocol
|
|
81
|
-
- dispatch
|
|
82
|
-
- orchestrator implementation
|
|
83
|
-
worker_launch:
|
|
84
|
-
definition: >-
|
|
85
|
-
Build or Optimize starts a worker through the host runtime when an
|
|
86
|
-
implementation or measurement cycle needs isolated execution.
|
|
87
|
-
preferred_terms:
|
|
88
|
-
- spawn
|
|
89
|
-
- spawn worker
|
|
90
|
-
- worker spawn
|
|
91
|
-
- worker launch
|
|
92
|
-
forbidden_ambiguous_shortcuts:
|
|
93
|
-
- dispatch
|
|
94
|
-
- worktree dispatch
|
|
95
|
-
- subagent dispatch
|
|
96
|
-
- launch substrate
|
|
97
|
-
runtime_subagent_support:
|
|
98
|
-
definition: >-
|
|
99
|
-
Runtime-specific support that lets Agentera use a host's subagent surface,
|
|
100
|
-
descriptor model, or equivalent worker mechanism.
|
|
101
|
-
preferred_terms:
|
|
102
|
-
- subagent mechanism
|
|
103
|
-
- runtime subagent mechanism
|
|
104
|
-
- host subagent mechanism
|
|
105
|
-
- runtime worker mechanism
|
|
106
|
-
forbidden_ambiguous_shortcuts:
|
|
107
|
-
- runtime dispatch substrate
|
|
108
|
-
- dispatch substrate
|
|
109
|
-
- subagent dispatch
|
|
110
|
-
- adapter dispatch
|
|
111
|
-
worker_safety_git_commit:
|
|
112
|
-
definition: >-
|
|
113
|
-
The Git-only commit synchronization required before spawning isolated worker
|
|
114
|
-
execution so the worker starts from a coherent base.
|
|
115
|
-
preferred_terms:
|
|
116
|
-
- pre-spawn Git commit
|
|
117
|
-
- pre-spawn commit
|
|
118
|
-
- Git commit before spawning workers
|
|
119
|
-
- commit before worker spawn
|
|
120
|
-
forbidden_ambiguous_shortcuts:
|
|
121
|
-
- pre-dispatch commit
|
|
122
|
-
- pre-dispatch checkpoint commit
|
|
123
|
-
- pre-dispatch commit gate
|
|
124
|
-
- checkpoint before dispatch
|
|
125
|
-
classification_order:
|
|
126
|
-
- canonical_concept
|
|
127
|
-
- compatibility_identifier
|
|
128
|
-
- code_identifier
|
|
129
|
-
- path_like_reference
|
|
130
|
-
- historical_record
|
|
131
|
-
- fixture_only
|
|
132
|
-
- generic_plain_language
|
|
133
|
-
- ambiguous_current_prose
|
|
134
|
-
classification_rules:
|
|
135
|
-
canonical_concept:
|
|
136
|
-
meaning: Usage matches one of the canonical concepts and uses a preferred term.
|
|
137
|
-
action: Keep and prefer in new current prose.
|
|
138
|
-
compatibility_identifier:
|
|
139
|
-
meaning: The spelling is a shipped field, command flag, runtime group name, descriptor key, or parseable label.
|
|
140
|
-
action: Preserve until an explicit migration exists.
|
|
141
|
-
code_identifier:
|
|
142
|
-
meaning: The spelling is a Python, JavaScript, TOML, YAML, test, or API identifier consumed by code or runtime descriptors.
|
|
143
|
-
action: Preserve unless a code migration is explicitly in scope.
|
|
144
|
-
path_like_reference:
|
|
145
|
-
meaning: The occurrence is a literal file path, glob, manifest path, fixture path, archive path, or code path.
|
|
146
|
-
action: Preserve the concrete path spelling.
|
|
147
|
-
historical_record:
|
|
148
|
-
meaning: The occurrence is in changelog, progress, decision, archived plan, migration history, or release evidence.
|
|
149
|
-
action: Do not rewrite solely for vocabulary cleanup; qualify when current prose interprets it.
|
|
150
|
-
fixture_only:
|
|
151
|
-
meaning: The occurrence is test fixture input, expected compatibility output, stale-path data, or semantic-eval evidence.
|
|
152
|
-
action: Preserve when the test proves compatibility or rejection behavior.
|
|
153
|
-
generic_plain_language:
|
|
154
|
-
meaning: The occurrence is ordinary English unrelated to Agentera routing, recommendation, orchestration assignment, worker launch, runtime support, or Git safety.
|
|
155
|
-
action: Allowed, but prefer object-specific terms when risk is high.
|
|
156
|
-
ambiguous_current_prose:
|
|
157
|
-
meaning: The occurrence uses dispatcher, dispatch, router, conductor, worktree dispatch, runtime dispatch substrate, or pre-dispatch commit language as a conceptual shortcut in current prose.
|
|
158
|
-
action: Replace or qualify with the relevant canonical concept term.
|
|
159
|
-
focused_scan:
|
|
160
|
-
allowed_classifications:
|
|
161
|
-
- canonical
|
|
162
|
-
- compatibility-preserved
|
|
163
|
-
- historical
|
|
164
|
-
- fixture-only
|
|
165
|
-
- code-identifier
|
|
166
|
-
- generic
|
|
167
|
-
paths:
|
|
168
|
-
- AGENTS.md
|
|
169
|
-
- references/cli/vocabulary.md
|
|
170
|
-
- references/adapters/runtime-feature-parity.md
|
|
171
|
-
- (retired maintainer measurement tool)
|
|
172
|
-
- skills/agentera/SKILL.md
|
|
173
|
-
- skills/agentera/references/contract.md
|
|
174
|
-
- packages/cli/src/capabilities/realisera/instructions.ts
|
|
175
|
-
- packages/cli/src/capabilities/optimera/instructions.ts
|
|
176
|
-
- packages/cli/src/capabilities/orkestrera/instructions.ts
|
|
177
|
-
- tests/test_skill_dispatch_contract.py
|
|
178
|
-
- tests/test_runtime_adapters.py
|
|
179
|
-
- tests/test_runtime_adapter_registry.py
|
|
180
|
-
allowed_occurrences:
|
|
181
|
-
- path: ^AGENTS\.md$
|
|
182
|
-
text: Agentera router routes incoming requests
|
|
183
|
-
classification: canonical
|
|
184
|
-
reason: AGENTS names the canonical request-to-capability routing term.
|
|
185
|
-
- path: ^references/cli/vocabulary\.md$
|
|
186
|
-
text: Agentera router|request-to-capability routing|suggest|delegate|spawn|subagent mechanism|pre-spawn Git commit
|
|
187
|
-
classification: canonical
|
|
188
|
-
reason: Vocabulary docs present the canonical routing and execution terms.
|
|
189
|
-
- path: ^references/cli/vocabulary\.md$
|
|
190
|
-
text: pre-dispatch commit gate|pre-dispatch checkpoint commit|Conductor protocol|orchestration loop|The loop is select, dispatch, evaluate, resolve, and log
|
|
191
|
-
classification: historical
|
|
192
|
-
reason: Decision 44 and glossary tables preserve deprecated wording as historical examples.
|
|
193
|
-
- path: ^references/cli/vocabulary\.md$
|
|
194
|
-
text: dispatching cycles|dispatcher rule governs hej and capability handoff prompts
|
|
195
|
-
classification: canonical
|
|
196
|
-
reason: Handoff guidance uses dispatch only for the Orkestrera-owned autonomous orchestration flow.
|
|
197
|
-
- path: ^references/cli/vocabulary\.md$
|
|
198
|
-
text: subagent_dispatch|fixture names
|
|
199
|
-
classification: compatibility-preserved
|
|
200
|
-
reason: Routing vocabulary docs preserve explicit compatibility identifiers and fixture terminology.
|
|
201
|
-
- path: ^references/adapters/runtime-feature-parity\.md$
|
|
202
|
-
text: prompt rewrite router|Subagent Dispatch|Dispatch surface|Capability dispatch|subagent dispatch
|
|
203
|
-
classification: compatibility-preserved
|
|
204
|
-
reason: Runtime parity docs name concrete host and compatibility surfaces around descriptor dispatch support.
|
|
205
|
-
- path: ^scripts/measure_token_payload\.py$
|
|
206
|
-
text: static dispatch payload|Agentera router
|
|
207
|
-
classification: historical
|
|
208
|
-
reason: The payload metric retains the historical dispatch-payload measurement name while listing canonical contents.
|
|
209
|
-
- path: ^skills/agentera/SKILL\.md$
|
|
210
|
-
text: '`dispatch`: invoke another capability autonomously|`chain`: dispatch multiple capabilities autonomously'
|
|
211
|
-
classification: canonical
|
|
212
|
-
reason: Agentera router guidance reserves dispatch and chain for explicitly owned orchestration flows.
|
|
213
|
-
- path: ^skills/agentera/references/contract\.md$
|
|
214
|
-
text: '\| hej \| \(router; reads artifacts but produces none\) \|'
|
|
215
|
-
classification: canonical
|
|
216
|
-
reason: The contract uses router for the hej request-routing role.
|
|
217
|
-
- path: ^skills/agentera/references/contract\.md$
|
|
218
|
-
text: Dispatch the skill via the eval mechanism capability
|
|
219
|
-
classification: generic
|
|
220
|
-
reason: Evaluation-gate prose uses dispatch as ordinary test-run invocation wording, not Agentera routing authority.
|
|
221
|
-
- path: ^skills/agentera/references/contract\.md$
|
|
222
|
-
text: checkpoint before worktree dispatch
|
|
223
|
-
classification: compatibility-preserved
|
|
224
|
-
reason: The contract preserves the parseable historical checkpoint commit message string.
|
|
225
|
-
- path: ^packages/cli/src/capabilities/realisera/instructions\.ts$
|
|
226
|
-
text: 'Step 5: Dispatch|checkpoint before worktree dispatch'
|
|
227
|
-
classification: compatibility-preserved
|
|
228
|
-
reason: Realisera preserves the current step heading and checkpoint commit message compatibility string.
|
|
229
|
-
- path: ^packages/cli/src/capabilities/optimera/instructions\.ts$
|
|
230
|
-
text: checkpoint before worktree dispatch
|
|
231
|
-
classification: compatibility-preserved
|
|
232
|
-
reason: Optimera preserves the current checkpoint commit message compatibility string.
|
|
233
|
-
- path: ^packages/cli/src/capabilities/orkestrera/instructions\.ts$
|
|
234
|
-
text: review pressure in dispatch|dispatch/evaluation context|`dispatch` and `chain` are autonomous orchestration verbs
|
|
235
|
-
classification: canonical
|
|
236
|
-
reason: Orkestrera capability prose uses dispatch for its explicitly owned orchestration loop.
|
|
237
|
-
- path: ^tests/test_skill_dispatch_contract\.py$
|
|
238
|
-
text: '`dispatch`: invoke another capability autonomously|`chain`: dispatch multiple capabilities autonomously|In orkestrera only, `dispatch` and `chain` are autonomous'
|
|
239
|
-
classification: fixture-only
|
|
240
|
-
reason: Skill dispatch contract tests assert the canonical Orkestrera dispatch reservation.
|
|
241
|
-
- path: ^tests/test_runtime_adapters\.py$
|
|
242
|
-
text: opencode bare-hej router|routeBareHejMessage|subagent_dispatch
|
|
243
|
-
classification: fixture-only
|
|
244
|
-
reason: Runtime adapter tests assert plugin routing helpers and compatibility identifier fixtures.
|
|
245
|
-
- path: ^tests/test_runtime_adapter_registry\.py$
|
|
246
|
-
text: subagent_dispatch
|
|
247
|
-
classification: code-identifier
|
|
248
|
-
reason: Runtime adapter registry tests preserve the shipped subagent_dispatch field name.
|
|
249
|
-
compatibility_identifiers:
|
|
250
|
-
runtime_adapter:
|
|
251
|
-
- subagent_dispatch
|
|
252
|
-
- RuntimeAdapter.subagent_dispatch
|
|
253
|
-
- subagent_dispatch.supported
|
|
254
|
-
- subagent_dispatch.group
|
|
255
|
-
route_aliases:
|
|
256
|
-
- ROUTE_ALIASES
|
|
257
|
-
- primary_aliases
|
|
258
|
-
command_and_schema_surfaces:
|
|
259
|
-
- agentera validate descriptors
|
|
260
|
-
- descriptor_sources
|
|
261
|
-
- invocation_pattern
|
|
262
|
-
code_identifiers:
|
|
263
|
-
- subagent_dispatch
|
|
264
|
-
- test_runtime_adapter_subagent_dispatch_metadata_is_complete
|
|
265
|
-
- test_cross_runtime_capability_subagent_dispatch_support
|
|
266
|
-
historical_terms:
|
|
267
|
-
- pre-dispatch commit
|
|
268
|
-
- pre-dispatch checkpoint commit
|
|
269
|
-
- pre-dispatch commit gate
|
|
270
|
-
- worktree dispatch
|
|
271
|
-
- runtime dispatch substrate
|
|
272
|
-
- master dispatcher
|
|
273
|
-
- conductor protocol
|
|
274
|
-
fixture_terms:
|
|
275
|
-
- subagent_dispatch fixture
|
|
276
|
-
- worktree dispatch fixture
|
|
277
|
-
docs_delegation:
|
|
278
|
-
document: references/cli/vocabulary.md
|
|
279
|
-
required_anchor: Routing and execution vocabulary
|
|
280
|
-
authority_path: references/cli/routing-execution-vocabulary.yaml
|
|
281
|
-
must_not_duplicate_large_table: true
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
schema_version: agentera.single_name_protocol.v1
|
|
2
|
-
status: active_authority
|
|
3
|
-
decision: 58
|
|
4
|
-
purpose: >-
|
|
5
|
-
Machine-readable Decision 58 boundary: forbidden legacy protocol identifiers
|
|
6
|
-
and scan surfaces for the single-name protocol regression test.
|
|
7
|
-
human_index:
|
|
8
|
-
document: references/cli/vocabulary.md
|
|
9
|
-
forbidden_protocol_substrings:
|
|
10
|
-
- pattern: instruction_file
|
|
11
|
-
rationale: D65 renamed DIRECTORY_REQUIREMENTS and contract fields to instruction_module.
|
|
12
|
-
- pattern: canonical_instruction_file
|
|
13
|
-
rationale: Use canonical_instruction_module in capability-instruction-contract.yaml.
|
|
14
|
-
- pattern: legacy_instruction_file
|
|
15
|
-
rationale: Historical paths belong in archive or migration modules only.
|
|
16
|
-
- pattern: instructionPath
|
|
17
|
-
rationale: capabilityContract loader exposes instructionModulePath only.
|
|
18
|
-
forbidden_storage_protocol_markdown_artifacts:
|
|
19
|
-
- PROGRESS.md
|
|
20
|
-
- PLAN.md
|
|
21
|
-
- DECISIONS.md
|
|
22
|
-
- VISION.md
|
|
23
|
-
- HEALTH.md
|
|
24
|
-
- DOCS.md
|
|
25
|
-
- OBJECTIVE.md
|
|
26
|
-
- EXPERIMENTS.md
|
|
27
|
-
scan_roots:
|
|
28
|
-
- packages/cli/src
|
|
29
|
-
- skills/agentera/capability_schema_contract.yaml
|
|
30
|
-
- skills/agentera/protocol.yaml
|
|
31
|
-
- references/cli/capability-instruction-contract.yaml
|
|
32
|
-
- references/cli/vocabulary.md
|
|
33
|
-
- references/cli/vocabulary-index.yaml
|
|
34
|
-
- registry.json
|
|
35
|
-
scan_exclude_globs:
|
|
36
|
-
- "**/capabilities/**/instructions.ts"
|
|
37
|
-
- "**/migrateArtifactsV1ToV2.ts"
|
|
38
|
-
- "**/migrateArtifactsV2ToV3.ts"
|
|
39
|
-
- "**/migrateArtifacts*.ts"
|
|
40
|
-
- "**/*.test.ts"
|
|
41
|
-
- "**/test/**"
|
|
42
|
-
comment_line_exempt: true
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# Upgrade repair wording — v3 cursor agent skip
|
|
2
|
-
|
|
3
|
-
When `agentera upgrade --runtime cursor` (or a full runtime phase) runs against a
|
|
4
|
-
**project** directory, managed `.cursor/agents/*.md` descriptors are normally
|
|
5
|
-
copied from the active app-home bundle. On a **v3 capability-surface** project
|
|
6
|
-
that signal is suppressed so D65 `prime --context` bodies are not regressed to
|
|
7
|
-
the retired `instructions.md` read path.
|
|
8
|
-
|
|
9
|
-
## v3 surface probe
|
|
10
|
-
|
|
11
|
-
Treat the project as v3 when **all twelve** instruction modules exist:
|
|
12
|
-
|
|
13
|
-
`packages/cli/src/capabilities/<name>/instructions.ts`
|
|
14
|
-
|
|
15
|
-
for every routed capability (`status`, `vision`, `discuss`, `research`,
|
|
16
|
-
`plan`, `build`, `optimize`, `audit`, `document`, `profile`,
|
|
17
|
-
`design`, `orchestrate`).
|
|
18
|
-
|
|
19
|
-
If any module is missing, preserve v2 upgrade behavior (copy/refresh managed
|
|
20
|
-
agents from the bundle).
|
|
21
|
-
|
|
22
|
-
## Orchestrator behavior
|
|
23
|
-
|
|
24
|
-
| Orchestrator | Branch | Behavior |
|
|
25
|
-
| --- | --- | --- |
|
|
26
|
-
| TypeScript (`packages/cli/src/upgrade/runtimeMigration.ts`) | `feat/v3` | On v3 probe match, emit `skipped` `copy-agent` items for in-tree `.cursor/agents/` instead of copying from the bundle. |
|
|
27
|
-
| Python (`scripts/agentera_upgrade.py`) | `main` (stable) | Same probe before the cursor agent copy loop; do not schedule `copy-agent` targets under the project when the probe matches. Backport per the both-branch pattern. |
|
|
28
|
-
|
|
29
|
-
## User-visible skip message
|
|
30
|
-
|
|
31
|
-
`v3 capability instruction modules present; in-tree .cursor/agents/ uses prime --context and is not overwritten`
|
|
32
|
-
|
|
33
|
-
## v2 install track successor surfacing (#32)
|
|
34
|
-
|
|
35
|
-
When a **v2-classified** managed app-home (`install_track: v2`) runs the **v3 TypeScript
|
|
36
|
-
CLI** (`agentera doctor` / `agentera prime`), the next-major successor block must surface
|
|
37
|
-
the stable-line forward successor (`3.0.0` on the development channel) with the preview
|
|
38
|
-
command (`npx -y agentera@next upgrade --dry-run`) and the v2→v3 guide URL from
|
|
39
|
-
`references/cli/update-channels.yaml`. A v2 install must not be silently reported as
|
|
40
|
-
up to date against the v3 line.
|
|
41
|
-
|
|
42
|
-
| Surface | Branch | Behavior |
|
|
43
|
-
| --- | --- | --- |
|
|
44
|
-
| TypeScript (`packages/cli/src/upgrade/nextMajorDoctor.ts`, doctor/prime wiring) | `feat/v3` | Resolve successor from `channels.stable.next_major` for v2 installs; omit the block for v3 npm installs and feat/v3 source checkouts. |
|
|
45
|
-
| Python (`scripts/agentera_upgrade.py` doctor/prime writer) | `main` (stable) | Mirror the same v2-install successor block and preview command in stable-line doctor/prime output. Backport per the both-branch pattern; verify by round-trip parity with the v3 reader, not pytest in the feat/v3 worktree. |
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
schema_version: agentera.v3_handoff_manifest.v1
|
|
2
|
-
status: active_authority
|
|
3
|
-
purpose: >-
|
|
4
|
-
Contract for the v2→v3 handoff manifest written by the stable Python CLI at the
|
|
5
|
-
app-home root and read by the v3 TypeScript migration preflight. The manifest
|
|
6
|
-
lets v3 migration classify preserved user state in O(1) time instead of
|
|
7
|
-
scanning the entire app home.
|
|
8
|
-
manifest_file: v3-handoff.json
|
|
9
|
-
manifest_path: >-
|
|
10
|
-
{app_home}/v3-handoff.json where app_home is the platform data-home install
|
|
11
|
-
root (for example ~/.local/share/agentera on Linux).
|
|
12
|
-
writers:
|
|
13
|
-
- v2 stable Python CLI on install, upgrade apply, and doctor (refresh when stale)
|
|
14
|
-
readers:
|
|
15
|
-
- v3 TypeScript migration preflight in packages/cli/src/migrate/v2HandoffManifest.ts
|
|
16
|
-
performance:
|
|
17
|
-
reader_preflight_budget_ms: 100
|
|
18
|
-
note: >-
|
|
19
|
-
When the manifest is present and valid, the v3 reader must complete parsing
|
|
20
|
-
and validation within 100ms. When absent or invalid, the reader may fall
|
|
21
|
-
back to a full app-home scan with no time budget.
|
|
22
|
-
required_top_level_fields:
|
|
23
|
-
schema_version:
|
|
24
|
-
type: string
|
|
25
|
-
const: agentera.v3_handoff_manifest.v1
|
|
26
|
-
written_at:
|
|
27
|
-
type: string
|
|
28
|
-
format: iso8601_utc
|
|
29
|
-
description: UTC timestamp when the manifest was last written.
|
|
30
|
-
installed_v2_version:
|
|
31
|
-
type: string
|
|
32
|
-
min_length: 1
|
|
33
|
-
description: Installed Agentera suite version from the active v2 bundle marker.
|
|
34
|
-
app_home_path:
|
|
35
|
-
type: string
|
|
36
|
-
min_length: 1
|
|
37
|
-
description: Absolute resolved app-home path the writer used.
|
|
38
|
-
user_data_inventory:
|
|
39
|
-
type: array
|
|
40
|
-
min_items: 6
|
|
41
|
-
description: >-
|
|
42
|
-
One entry per catalog id below. Entries for paths that do not exist on disk
|
|
43
|
-
set exists=false; writers still emit the full catalog so v3 preflight can
|
|
44
|
-
trust absence without rescanning.
|
|
45
|
-
runtime_adapters:
|
|
46
|
-
type: array
|
|
47
|
-
items:
|
|
48
|
-
type: string
|
|
49
|
-
description: >-
|
|
50
|
-
Runtime adapter ids (references/adapters/runtime-adapter-registry.yaml)
|
|
51
|
-
that the v2 install actively uses — runtimes whose setup doctor status is
|
|
52
|
-
pass at write time.
|
|
53
|
-
user_data_inventory_catalog:
|
|
54
|
-
- id: benchmarks
|
|
55
|
-
relative_path: benchmarks
|
|
56
|
-
kind: directory
|
|
57
|
-
- id: intermediate
|
|
58
|
-
relative_path: intermediate
|
|
59
|
-
kind: directory
|
|
60
|
-
- id: sessions
|
|
61
|
-
relative_path: sessions
|
|
62
|
-
kind: directory
|
|
63
|
-
- id: history
|
|
64
|
-
relative_path: history
|
|
65
|
-
kind: directory
|
|
66
|
-
- id: corpus
|
|
67
|
-
relative_path: corpus
|
|
68
|
-
kind: directory
|
|
69
|
-
- id: profile_files
|
|
70
|
-
kind: profile_files
|
|
71
|
-
members:
|
|
72
|
-
- relative_path: PROFILE.md
|
|
73
|
-
kind: file
|
|
74
|
-
- relative_path: USAGE.md
|
|
75
|
-
kind: file
|
|
76
|
-
user_data_inventory_entry_shapes:
|
|
77
|
-
directory:
|
|
78
|
-
required: [id, relative_path, kind, exists]
|
|
79
|
-
kind_const: directory
|
|
80
|
-
file:
|
|
81
|
-
required: [id, relative_path, kind, exists]
|
|
82
|
-
kind_const: file
|
|
83
|
-
profile_files:
|
|
84
|
-
required: [id, kind, members]
|
|
85
|
-
kind_const: profile_files
|
|
86
|
-
members:
|
|
87
|
-
required: [relative_path, kind, exists]
|
|
88
|
-
kind_const: file
|
|
89
|
-
freshness:
|
|
90
|
-
writer_obligations:
|
|
91
|
-
- Refresh the manifest on every v2 upgrade apply.
|
|
92
|
-
- Refresh the manifest on v2 doctor when stale or missing (after warning).
|
|
93
|
-
stale_when_any:
|
|
94
|
-
- Manifest file missing.
|
|
95
|
-
- schema_version mismatch.
|
|
96
|
-
- app_home_path differs from the resolved install root.
|
|
97
|
-
- installed_v2_version differs from the active bundle marker version.
|
|
98
|
-
- written_at is older than the bundle marker mtime.
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# Documentation and file inventory
|
|
2
|
-
|
|
3
|
-
Maintainer inventory of repository documentation, workpapers, and legacy surfaces.
|
|
4
|
-
Authoritative Agentera docs live under `references/`, `skills/agentera/`, and root
|
|
5
|
-
guides — not under `docs/`.
|
|
6
|
-
|
|
7
|
-
**Last reviewed:** 2026-06-05
|
|
8
|
-
|
|
9
|
-
## Design docs under `docs/`
|
|
10
|
-
|
|
11
|
-
| Path | Topic |
|
|
12
|
-
| ---- | ----- |
|
|
13
|
-
| `docs/packaging/v3-packaging.md` | v3 CLI npm/Bun distribution contract |
|
|
14
|
-
| `docs/consolidation/monorepo-plan.md` | Product pivot, `@agentera/*` package layout, migration checklist (D67) |
|
|
15
|
-
|
|
16
|
-
## Authority stack
|
|
17
|
-
|
|
18
|
-
| Layer | Location |
|
|
19
|
-
| --- | --- |
|
|
20
|
-
| Protocol | `skills/agentera/protocol.yaml` |
|
|
21
|
-
| CLI vocabulary authorities | `references/cli/*.yaml` |
|
|
22
|
-
| Vocabulary index (normalization, Decision 44) | `references/cli/vocabulary-index.yaml` |
|
|
23
|
-
| Human vocabulary index | `references/cli/vocabulary.md` |
|
|
24
|
-
| Benchmark contract | `references/analysis/startup-measurement-contract.yaml` |
|
|
25
|
-
| Benchmark runbook | `references/analysis/benchmark.md` |
|
|
26
|
-
| JSON surface budgets | `scripts/json_output_surface_manifest.yaml` |
|
|
27
|
-
| Project drafts | `docs/` (gitignored except `docs/README.md`, `docs/packaging/`, `docs/consolidation/`) |
|
|
28
|
-
|
|
29
|
-
## `docs/` policy
|
|
30
|
-
|
|
31
|
-
`docs/` is for **non-authoritative** local notes only. Nothing under `docs/` ships
|
|
32
|
-
in the Agentera app bundle.
|
|
33
|
-
|
|
34
|
-
## Archived workpapers
|
|
35
|
-
|
|
36
|
-
| Archive path | Former location |
|
|
37
|
-
| --- | --- |
|
|
38
|
-
| `.agentera/archive/d47-app-home-vocabulary-inventory.md` | `docs/d47-app-home-vocabulary-inventory.md` |
|
|
39
|
-
| `.agentera/archive/d58-json-output-surface-inventory.md` | `docs/d58-json-output-surface-inventory.md` |
|
|
40
|
-
| `.agentera/archive/d59-json-output-budget-proposal.md` | `docs/d59-json-output-budget-proposal.md` |
|
|
41
|
-
| `.agentera/archive/d59-json-output-closeout-measurements.md` | `docs/d59-json-output-closeout-measurements.md` |
|
|
42
|
-
| `.agentera/archive/gap-analysis-2026-05-05.md` | `.agentera/gap-analysis-2026-05-05.md` |
|
|
43
|
-
|
|
44
|
-
Live JSON enforcement uses `scripts/json_output_surface_manifest.yaml` only.
|
|
45
|
-
|
|
46
|
-
## Remaining cleanup (see TODO.md)
|
|
47
|
-
|
|
48
|
-
- Replace live `SPEC.md` references in `UPGRADE.md`, hooks, adapter docs, `contract.md`
|
|
49
|
-
- Refresh or drop assertions against pre-migration characterization snapshots
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "agentera",
|
|
3
|
-
"version": "2.0.3",
|
|
4
|
-
"description": "Turn your coding agent into an engineering team. One bundled skill with twelve capabilities. Use for /agentera and Agentera capability requests; bare `/agentera` runs the Agentera prime dashboard path.",
|
|
5
|
-
"author": {
|
|
6
|
-
"name": "jgabor"
|
|
7
|
-
},
|
|
8
|
-
"agentera": {
|
|
9
|
-
"packageShape": "bundled-skill",
|
|
10
|
-
"capabilities": [
|
|
11
|
-
"status",
|
|
12
|
-
"vision",
|
|
13
|
-
"discuss",
|
|
14
|
-
"research",
|
|
15
|
-
"plan",
|
|
16
|
-
"build",
|
|
17
|
-
"optimize",
|
|
18
|
-
"audit",
|
|
19
|
-
"document",
|
|
20
|
-
"profile",
|
|
21
|
-
"design",
|
|
22
|
-
"orchestrate"
|
|
23
|
-
],
|
|
24
|
-
"schemas": "schemas",
|
|
25
|
-
"protocol": "protocol.yaml"
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# agentera_managed: true
|
|
2
|
-
name = "audit"
|
|
3
|
-
description = "Codebase health audit."
|
|
4
|
-
developer_instructions = """
|
|
5
|
-
You are the Agentera audit capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts. Run `agentera prime --context audit --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
|
-
"""
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# agentera_managed: true
|
|
2
|
-
name = "build"
|
|
3
|
-
description = "Autonomous development execution."
|
|
4
|
-
developer_instructions = """
|
|
5
|
-
You are the Agentera build capability subagent. You have full file write, file edit, and shell execution tools available — use them to implement code changes, run tests, and commit results. Run `agentera prime --context build --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
|
-
"""
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# agentera_managed: true
|
|
2
|
-
name = "design"
|
|
3
|
-
description = "Visual identity and design systems."
|
|
4
|
-
developer_instructions = """
|
|
5
|
-
You are the Agentera design capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts. Run `agentera prime --context design --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
|
-
"""
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# agentera_managed: true
|
|
2
|
-
name = "discuss"
|
|
3
|
-
description = "Structured deliberation and decision support."
|
|
4
|
-
developer_instructions = """
|
|
5
|
-
You are the Agentera discuss capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts. Run `agentera prime --context discuss --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
|
-
"""
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# agentera_managed: true
|
|
2
|
-
name = "document"
|
|
3
|
-
description = "Documentation updates and synchronization."
|
|
4
|
-
developer_instructions = """
|
|
5
|
-
You are the Agentera document capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts. Run `agentera prime --context document --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
|
-
"""
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# agentera_managed: true
|
|
2
|
-
name = "optimize"
|
|
3
|
-
description = "Metric-driven optimization cycles."
|
|
4
|
-
developer_instructions = """
|
|
5
|
-
You are the Agentera optimize capability subagent. You have full file write, file edit, and shell execution tools available — use them to implement code changes, run tests, and commit results. Run `agentera prime --context optimize --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
|
-
"""
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# agentera_managed: true
|
|
2
|
-
name = "orchestrate"
|
|
3
|
-
description = "Multi-cycle orchestration over active plans."
|
|
4
|
-
developer_instructions = """
|
|
5
|
-
You are the Agentera orchestrate capability subagent. You have full file write, file edit, and shell execution tools available — use them to implement code changes, run tests, and commit results. Run `agentera prime --context orchestrate --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
|
-
"""
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# agentera_managed: true
|
|
2
|
-
name = "plan"
|
|
3
|
-
description = "Planning with acceptance criteria."
|
|
4
|
-
developer_instructions = """
|
|
5
|
-
You are the Agentera plan capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts. Run `agentera prime --context plan --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
|
-
"""
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# agentera_managed: true
|
|
2
|
-
name = "profile"
|
|
3
|
-
description = "Decision profiling and preference memory."
|
|
4
|
-
developer_instructions = """
|
|
5
|
-
You are the Agentera profile capability subagent. You have full file write, file edit, and shell execution tools available — use them to implement code changes, run tests, and commit results. Run `agentera prime --context profile --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
|
-
"""
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# agentera_managed: true
|
|
2
|
-
name = "research"
|
|
3
|
-
description = "External pattern research and synthesis."
|
|
4
|
-
developer_instructions = """
|
|
5
|
-
You are the Agentera research capability subagent. You are a read-only agent — do not write files or execute shell commands. Run `agentera prime --context research --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
|
-
"""
|