agentera 3.0.0-dev.3 → 3.0.0-dev.31
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 +96 -6
- package/bundle/.agentera-npx-bundle.json +1 -1
- package/bundle/CHANGELOG.md +1144 -0
- package/bundle/DESIGN.md +229 -0
- package/bundle/LICENSE +201 -0
- package/bundle/README.md +136 -0
- package/bundle/UPGRADE.md +201 -0
- package/bundle/extract-corpus-parity.json +21 -0
- package/bundle/fixtures/routing/hybrid-corpus.yaml +154 -0
- package/bundle/references/adapters/package-manifest-interface-model.yaml +42 -252
- package/bundle/references/adapters/package-registry.yaml +20 -188
- package/bundle/references/adapters/package-surface-characterization.md +36 -37
- 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 +97 -0
- package/bundle/references/analysis/benchmark.md +10 -6
- package/bundle/references/analysis/evidence-tier-authority.yaml +516 -0
- package/bundle/references/analysis/startup-measurement-contract.yaml +37 -26
- package/bundle/references/analysis/verification-policy.yaml +142 -0
- package/bundle/references/artifacts/artifact-registry-interface-model.yaml +9 -8
- package/bundle/references/artifacts/state-storage-authority.yaml +2167 -0
- package/bundle/references/artifacts/verbosity-budget-authority.yaml +42 -0
- package/bundle/references/cli/agent-ready-state-contract.yaml +64 -81
- package/bundle/references/cli/app-lifecycle-vocabulary.yaml +7 -8
- package/bundle/references/cli/audience-namespace-cli-migration.yaml +58 -29
- package/bundle/references/cli/bundle-skill-vocabulary.yaml +12 -49
- package/bundle/references/cli/capability-instruction-contract.yaml +96 -58
- package/bundle/references/cli/capability-instruction-structure.md +144 -0
- package/bundle/references/cli/capability-tool-classification.yaml +14 -14
- package/bundle/references/cli/coexistence-probe.yaml +13 -0
- package/bundle/references/cli/hybrid-route-contract.yaml +416 -0
- package/bundle/references/cli/parity-expected-actual-template.md +30 -0
- package/bundle/references/cli/prime-consumer-compatibility.yaml +651 -0
- package/bundle/references/cli/routing-execution-vocabulary.yaml +16 -38
- package/bundle/references/cli/routing-model.md +139 -0
- package/bundle/references/cli/single-name-protocol.yaml +42 -0
- package/bundle/references/cli/trigger-schema-enrichment.md +140 -0
- package/bundle/references/cli/update-channels.yaml +45 -7
- package/bundle/references/cli/upgrade-repair-wording.md +25 -0
- package/bundle/references/cli/v3-handoff-manifest.schema.yaml +97 -0
- package/bundle/references/cli/vocabulary-index.yaml +23 -18
- package/bundle/references/cli/vocabulary.md +346 -331
- package/bundle/references/meta/documentation-inventory.md +10 -3
- package/bundle/registry.json +14 -14
- package/bundle/skills/agentera/SKILL.md +182 -407
- package/bundle/skills/agentera/capabilities/audit/schemas/artifacts.yaml +84 -0
- package/bundle/skills/agentera/capabilities/{inspektera → audit}/schemas/exit.yaml +2 -2
- package/bundle/skills/agentera/capabilities/audit/schemas/triggers.yaml +25 -0
- package/bundle/skills/agentera/capabilities/{inspektera → audit}/schemas/validation.yaml +20 -19
- package/bundle/skills/agentera/capabilities/build/schemas/artifacts.yaml +85 -0
- package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/exit.yaml +3 -3
- package/bundle/skills/agentera/capabilities/build/schemas/triggers.yaml +27 -0
- package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/validation.yaml +16 -16
- package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/artifacts.yaml +12 -12
- package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/exit.yaml +5 -5
- package/bundle/skills/agentera/capabilities/design/schemas/triggers.yaml +16 -0
- package/bundle/skills/agentera/capabilities/{visualisera → design}/schemas/validation.yaml +7 -7
- package/bundle/skills/agentera/capabilities/discuss/schemas/artifacts.yaml +49 -0
- package/bundle/skills/agentera/capabilities/{resonera → discuss}/schemas/exit.yaml +2 -2
- package/bundle/skills/agentera/capabilities/discuss/schemas/triggers.yaml +20 -0
- package/bundle/skills/agentera/capabilities/{resonera → discuss}/schemas/validation.yaml +9 -8
- package/bundle/skills/agentera/capabilities/document/schemas/artifacts.yaml +80 -0
- package/bundle/skills/agentera/capabilities/document/schemas/triggers.yaml +16 -0
- package/bundle/skills/agentera/capabilities/{dokumentera → document}/schemas/validation.yaml +18 -18
- package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/artifacts.yaml +17 -17
- package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/exit.yaml +2 -2
- package/bundle/skills/agentera/capabilities/optimize/schemas/triggers.yaml +16 -0
- package/bundle/skills/agentera/capabilities/{optimera → optimize}/schemas/validation.yaml +9 -9
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/artifacts.yaml +76 -0
- package/bundle/skills/agentera/capabilities/{orkestrera → orchestrate}/schemas/exit.yaml +9 -7
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/triggers.yaml +23 -0
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/validation.yaml +121 -0
- package/bundle/skills/agentera/capabilities/plan/schemas/artifacts.yaml +63 -0
- package/bundle/skills/agentera/capabilities/{planera → plan}/schemas/exit.yaml +2 -2
- package/bundle/skills/agentera/capabilities/plan/schemas/triggers.yaml +23 -0
- package/bundle/skills/agentera/capabilities/plan/schemas/validation.yaml +89 -0
- package/bundle/skills/agentera/capabilities/{profilera → profile}/schemas/artifacts.yaml +4 -4
- package/bundle/skills/agentera/capabilities/{profilera → profile}/schemas/exit.yaml +3 -3
- package/bundle/skills/agentera/capabilities/profile/schemas/triggers.yaml +20 -0
- package/bundle/skills/agentera/capabilities/profile/schemas/validation.yaml +85 -0
- package/bundle/skills/agentera/capabilities/research/schemas/artifacts.yaml +24 -0
- package/bundle/skills/agentera/capabilities/research/schemas/triggers.yaml +16 -0
- package/bundle/skills/agentera/capabilities/{inspirera → research}/schemas/validation.yaml +2 -2
- package/bundle/skills/agentera/capabilities/status/schemas/artifacts.yaml +72 -0
- package/bundle/skills/agentera/capabilities/status/schemas/triggers.yaml +22 -0
- package/bundle/skills/agentera/capabilities/{hej → status}/schemas/validation.yaml +5 -5
- package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/artifacts.yaml +16 -16
- package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/exit.yaml +7 -6
- package/bundle/skills/agentera/capabilities/vision/schemas/triggers.yaml +23 -0
- package/bundle/skills/agentera/capabilities/{visionera → vision}/schemas/validation.yaml +18 -20
- package/bundle/skills/agentera/capability_schema_contract.yaml +200 -37
- package/bundle/skills/agentera/protocol.yaml +31 -31
- package/bundle/skills/agentera/references/contract.md +387 -329
- package/bundle/skills/agentera/route-phrases.yaml +81 -0
- package/bundle/skills/agentera/schemas/artifacts/changelog.yaml +5 -4
- package/bundle/skills/agentera/schemas/artifacts/decisions.yaml +40 -22
- package/bundle/skills/agentera/schemas/artifacts/design.yaml +5 -4
- package/bundle/skills/agentera/schemas/artifacts/docs.yaml +15 -19
- package/bundle/skills/agentera/schemas/artifacts/experiments.yaml +145 -14
- package/bundle/skills/agentera/schemas/artifacts/health.yaml +58 -21
- package/bundle/skills/agentera/schemas/artifacts/objective.yaml +22 -8
- package/bundle/skills/agentera/schemas/artifacts/plan.yaml +327 -15
- package/bundle/skills/agentera/schemas/artifacts/progress.yaml +51 -53
- package/bundle/skills/agentera/schemas/artifacts/todo.yaml +257 -28
- package/bundle/skills/agentera/schemas/artifacts/vision.yaml +3 -3
- package/dist/analytics/extractCorpus/cli.js +191 -0
- package/dist/analytics/extractCorpus/cli.js.map +1 -0
- package/dist/analytics/extractCorpus/copilotSessions.js +276 -0
- package/dist/analytics/extractCorpus/copilotSessions.js.map +1 -0
- package/dist/analytics/extractCorpus/core.js +393 -0
- package/dist/analytics/extractCorpus/core.js.map +1 -0
- package/dist/analytics/extractCorpus/corpus.js +168 -0
- package/dist/analytics/extractCorpus/corpus.js.map +1 -0
- package/dist/analytics/extractCorpus/coverageAudit.js +261 -0
- package/dist/analytics/extractCorpus/coverageAudit.js.map +1 -0
- package/dist/analytics/extractCorpus/cursorSessions.js +426 -0
- package/dist/analytics/extractCorpus/cursorSessions.js.map +1 -0
- package/dist/analytics/extractCorpus/evidenceTiers.js +561 -0
- package/dist/analytics/extractCorpus/evidenceTiers.js.map +1 -0
- package/dist/analytics/extractCorpus/extractCorpusParity.js +106 -0
- package/dist/analytics/extractCorpus/extractCorpusParity.js.map +1 -0
- package/dist/analytics/extractCorpus/filesystemSources.js +119 -0
- package/dist/analytics/extractCorpus/filesystemSources.js.map +1 -0
- package/dist/analytics/extractCorpus/index.js +15 -0
- package/dist/analytics/extractCorpus/index.js.map +1 -0
- package/dist/analytics/extractCorpus/jsonlSessions.js +205 -0
- package/dist/analytics/extractCorpus/jsonlSessions.js.map +1 -0
- package/dist/analytics/extractCorpus/sqliteCaps.js +44 -0
- package/dist/analytics/extractCorpus/sqliteCaps.js.map +1 -0
- package/dist/analytics/extractCorpus/sqliteSessions.js +368 -0
- package/dist/analytics/extractCorpus/sqliteSessions.js.map +1 -0
- package/dist/analytics/extractCorpus/tierReader.js +109 -0
- package/dist/analytics/extractCorpus/tierReader.js.map +1 -0
- package/dist/analytics/extractCorpus.js +2 -1790
- package/dist/analytics/extractCorpus.js.map +1 -1
- package/dist/analytics/profileSignals.js +212 -0
- package/dist/analytics/profileSignals.js.map +1 -0
- package/dist/analytics/usageStats.js +191 -41
- package/dist/analytics/usageStats.js.map +1 -1
- package/dist/bin/agentera.js +3 -1
- package/dist/bin/agentera.js.map +1 -1
- package/dist/capabilities/audit/instructions.js +16 -0
- package/dist/capabilities/audit/instructions.js.map +1 -0
- package/dist/capabilities/build/instructions.js +18 -0
- package/dist/capabilities/build/instructions.js.map +1 -0
- package/dist/capabilities/design/instructions.js +5 -0
- package/dist/capabilities/design/instructions.js.map +1 -0
- package/dist/capabilities/discuss/instructions.js +16 -0
- package/dist/capabilities/discuss/instructions.js.map +1 -0
- package/dist/capabilities/document/instructions.js +12 -0
- package/dist/capabilities/document/instructions.js.map +1 -0
- package/dist/capabilities/index.js +39 -0
- package/dist/capabilities/index.js.map +1 -0
- package/dist/capabilities/optimize/instructions.js +14 -0
- package/dist/capabilities/optimize/instructions.js.map +1 -0
- package/dist/capabilities/orchestrate/instructions.js +41 -0
- package/dist/capabilities/orchestrate/instructions.js.map +1 -0
- package/dist/capabilities/plan/instructions.js +15 -0
- package/dist/capabilities/plan/instructions.js.map +1 -0
- package/dist/capabilities/profile/instructions.js +5 -0
- package/dist/capabilities/profile/instructions.js.map +1 -0
- package/dist/capabilities/research/instructions.js +6 -0
- package/dist/capabilities/research/instructions.js.map +1 -0
- package/dist/capabilities/status/instructions.js +5 -0
- package/dist/capabilities/status/instructions.js.map +1 -0
- package/dist/capabilities/status/startupInstructions.js +39 -0
- package/dist/capabilities/status/startupInstructions.js.map +1 -0
- package/dist/capabilities/vision/instructions.js +5 -0
- package/dist/capabilities/vision/instructions.js.map +1 -0
- package/dist/cli/appContext.js +30 -23
- package/dist/cli/appContext.js.map +1 -1
- package/dist/cli/argvalidate.js.map +1 -1
- package/dist/cli/capabilityContext/benchmark.js +564 -0
- package/dist/cli/capabilityContext/benchmark.js.map +1 -0
- package/dist/cli/capabilityContext/bespoke.js +44 -0
- package/dist/cli/capabilityContext/bespoke.js.map +1 -0
- package/dist/cli/capabilityContext/build.js +191 -0
- package/dist/cli/capabilityContext/build.js.map +1 -0
- package/dist/cli/capabilityContext/closeout.js +231 -0
- package/dist/cli/capabilityContext/closeout.js.map +1 -0
- package/dist/cli/capabilityContext/contract.js +214 -0
- package/dist/cli/capabilityContext/contract.js.map +1 -0
- package/dist/cli/capabilityContext/evidence.js +469 -0
- package/dist/cli/capabilityContext/evidence.js.map +1 -0
- package/dist/cli/capabilityContext/index.js +4 -0
- package/dist/cli/capabilityContext/index.js.map +1 -0
- package/dist/cli/capabilityContext/orchestration.js +128 -0
- package/dist/cli/capabilityContext/orchestration.js.map +1 -0
- package/dist/cli/capabilityContext/planState.js +280 -0
- package/dist/cli/capabilityContext/planState.js.map +1 -0
- package/dist/cli/capabilityContext/progress.js +143 -0
- package/dist/cli/capabilityContext/progress.js.map +1 -0
- package/dist/cli/capabilityContext/shared.js +100 -0
- package/dist/cli/capabilityContext/shared.js.map +1 -0
- package/dist/cli/capabilityContext/slim.js +153 -0
- package/dist/cli/capabilityContext/slim.js.map +1 -0
- package/dist/cli/capabilityContext/startup.js +257 -0
- package/dist/cli/capabilityContext/startup.js.map +1 -0
- package/dist/cli/capabilityContext/types.js +51 -0
- package/dist/cli/capabilityContext/types.js.map +1 -0
- package/dist/cli/capabilityContext.js +1 -2420
- package/dist/cli/capabilityContext.js.map +1 -1
- package/dist/cli/commands/appHome.js +23 -0
- package/dist/cli/commands/appHome.js.map +1 -0
- package/dist/cli/commands/capability.js +3 -10
- package/dist/cli/commands/capability.js.map +1 -1
- package/dist/cli/commands/compact.js +41 -12
- package/dist/cli/commands/compact.js.map +1 -1
- package/dist/cli/commands/doctor.js +59 -97
- package/dist/cli/commands/doctor.js.map +1 -1
- package/dist/cli/commands/durability.js +82 -0
- package/dist/cli/commands/durability.js.map +1 -0
- package/dist/cli/commands/entityMigrate.js +132 -0
- package/dist/cli/commands/entityMigrate.js.map +1 -0
- package/dist/cli/commands/lint.js +26 -43
- package/dist/cli/commands/lint.js.map +1 -1
- package/dist/cli/commands/prime/briefOrientation.js +592 -0
- package/dist/cli/commands/prime/briefOrientation.js.map +1 -0
- package/dist/cli/commands/prime/bundleStatus.js +191 -0
- package/dist/cli/commands/prime/bundleStatus.js.map +1 -0
- package/dist/cli/commands/prime/collectEntityOrientation.js +266 -0
- package/dist/cli/commands/prime/collectEntityOrientation.js.map +1 -0
- package/dist/cli/commands/prime/collectOrientationState.js +180 -0
- package/dist/cli/commands/prime/collectOrientationState.js.map +1 -0
- package/dist/cli/commands/prime/orientationOutput.js +360 -0
- package/dist/cli/commands/prime/orientationOutput.js.map +1 -0
- package/dist/cli/commands/prime/types.js +2 -0
- package/dist/cli/commands/prime/types.js.map +1 -0
- package/dist/cli/commands/prime/v1Migration.js +39 -0
- package/dist/cli/commands/prime/v1Migration.js.map +1 -0
- package/dist/cli/commands/prime.js +61 -556
- package/dist/cli/commands/prime.js.map +1 -1
- package/dist/cli/commands/query.js +66 -51
- package/dist/cli/commands/query.js.map +1 -1
- package/dist/cli/commands/report.js +100 -24
- package/dist/cli/commands/report.js.map +1 -1
- package/dist/cli/commands/route.js +142 -0
- package/dist/cli/commands/route.js.map +1 -0
- package/dist/cli/commands/schema.js +260 -78
- package/dist/cli/commands/schema.js.map +1 -1
- package/dist/cli/commands/state/decisions.js +388 -0
- package/dist/cli/commands/state/decisions.js.map +1 -0
- package/dist/cli/commands/state/docs.js +71 -0
- package/dist/cli/commands/state/docs.js.map +1 -0
- package/dist/cli/commands/state/experimentRecords.js +139 -0
- package/dist/cli/commands/state/experimentRecords.js.map +1 -0
- package/dist/cli/commands/state/experiments.js +15 -0
- package/dist/cli/commands/state/experiments.js.map +1 -0
- package/dist/cli/commands/state/get.js +127 -0
- package/dist/cli/commands/state/get.js.map +1 -0
- package/dist/cli/commands/state/health.js +15 -0
- package/dist/cli/commands/state/health.js.map +1 -0
- package/dist/cli/commands/state/index.js +60 -0
- package/dist/cli/commands/state/index.js.map +1 -0
- package/dist/cli/commands/state/list.js +176 -0
- package/dist/cli/commands/state/list.js.map +1 -0
- package/dist/cli/commands/state/objective.js +26 -0
- package/dist/cli/commands/state/objective.js.map +1 -0
- package/dist/cli/commands/state/plan.js +15 -0
- package/dist/cli/commands/state/plan.js.map +1 -0
- package/dist/cli/commands/state/planTasks.js +142 -0
- package/dist/cli/commands/state/planTasks.js.map +1 -0
- package/dist/cli/commands/state/plans.js +143 -0
- package/dist/cli/commands/state/plans.js.map +1 -0
- package/dist/cli/commands/state/progress.js +14 -0
- package/dist/cli/commands/state/progress.js.map +1 -0
- package/dist/cli/commands/state/shared.js +15 -0
- package/dist/cli/commands/state/shared.js.map +1 -0
- package/dist/cli/commands/state/todo.js +42 -0
- package/dist/cli/commands/state/todo.js.map +1 -0
- package/dist/cli/commands/state/write.js +418 -0
- package/dist/cli/commands/state/write.js.map +1 -0
- package/dist/cli/commands/upgrade.js +146 -4
- package/dist/cli/commands/upgrade.js.map +1 -1
- package/dist/cli/commands/upgradeVerify.js +119 -0
- package/dist/cli/commands/upgradeVerify.js.map +1 -0
- package/dist/cli/commands/validate.js +133 -210
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/commands/verify.js +30 -8
- package/dist/cli/commands/verify.js.map +1 -1
- package/dist/cli/contracts/bundleStatus.js +2 -0
- package/dist/cli/contracts/bundleStatus.js.map +1 -0
- package/dist/cli/contracts/orientationState.js +2 -0
- package/dist/cli/contracts/orientationState.js.map +1 -0
- package/dist/cli/dispatch/argvParser.js +33 -0
- package/dist/cli/dispatch/argvParser.js.map +1 -0
- package/dist/cli/dispatch/check.js +390 -0
- package/dist/cli/dispatch/check.js.map +1 -0
- package/dist/cli/dispatch/commands.js +27 -0
- package/dist/cli/dispatch/commands.js.map +1 -0
- package/dist/cli/dispatch/index.js +226 -0
- package/dist/cli/dispatch/index.js.map +1 -0
- package/dist/cli/dispatch/lifecycle.js +653 -0
- package/dist/cli/dispatch/lifecycle.js.map +1 -0
- package/dist/cli/dispatch/prime.js +119 -0
- package/dist/cli/dispatch/prime.js.map +1 -0
- package/dist/cli/dispatch/shared.js +64 -0
- package/dist/cli/dispatch/shared.js.map +1 -0
- package/dist/cli/dispatch/state.js +174 -0
- package/dist/cli/dispatch/state.js.map +1 -0
- package/dist/cli/dispatch.js +1 -957
- package/dist/cli/dispatch.js.map +1 -1
- package/dist/cli/errors.js +53 -0
- package/dist/cli/errors.js.map +1 -0
- package/dist/cli/help.js +419 -0
- package/dist/cli/help.js.map +1 -0
- package/dist/cli/migrationRequired.js +87 -0
- package/dist/cli/migrationRequired.js.map +1 -0
- package/dist/cli/orientation/attention.js +67 -0
- package/dist/cli/orientation/attention.js.map +1 -0
- package/dist/cli/orientation/corpusCoverage.js +103 -0
- package/dist/cli/orientation/corpusCoverage.js.map +1 -0
- package/dist/cli/orientation.js +407 -159
- package/dist/cli/orientation.js.map +1 -1
- package/dist/cli/planArtifacts.js +351 -0
- package/dist/cli/planArtifacts.js.map +1 -0
- package/dist/cli/planEvidence.js +158 -0
- package/dist/cli/planEvidence.js.map +1 -0
- package/dist/cli/planLifecycleState.js +34 -0
- package/dist/cli/planLifecycleState.js.map +1 -0
- package/dist/cli/planTaskIndex.js +12 -0
- package/dist/cli/planTaskIndex.js.map +1 -0
- package/dist/cli/prime-blob.js +69 -2
- package/dist/cli/prime-blob.js.map +1 -1
- package/dist/cli/startupCompletenessContract.js +57 -0
- package/dist/cli/startupCompletenessContract.js.map +1 -0
- package/dist/cli/stateQuery.js +63 -10
- package/dist/cli/stateQuery.js.map +1 -1
- package/dist/cli/structured.js.map +1 -1
- package/dist/cli/todoMarkdown.js +33 -0
- package/dist/cli/todoMarkdown.js.map +1 -0
- package/dist/cli/todoReadinessSelection.js +157 -0
- package/dist/cli/todoReadinessSelection.js.map +1 -0
- package/dist/cli/todoSeverity.js +19 -0
- package/dist/cli/todoSeverity.js.map +1 -0
- package/dist/core/atomicWriter.js +21 -0
- package/dist/core/atomicWriter.js.map +1 -0
- package/dist/core/difflib.js.map +1 -1
- package/dist/core/envPaths.js +21 -0
- package/dist/core/envPaths.js.map +1 -0
- package/dist/core/jsonValue.js +6 -0
- package/dist/core/jsonValue.js.map +1 -0
- package/dist/core/paths.js.map +1 -1
- package/dist/core/pyjson.js +67 -2
- package/dist/core/pyjson.js.map +1 -1
- package/dist/core/skillIdentity.js +24 -0
- package/dist/core/skillIdentity.js.map +1 -0
- package/dist/core/sourceRoot.js.map +1 -1
- package/dist/core/text.js +11 -0
- package/dist/core/text.js.map +1 -0
- package/dist/core/toml.js.map +1 -1
- package/dist/core/yaml.js +8 -0
- package/dist/core/yaml.js.map +1 -1
- package/dist/eval/evalSkills.js +30 -25
- package/dist/eval/evalSkills.js.map +1 -1
- package/dist/eval/hybridRouteEvaluation.js +156 -0
- package/dist/eval/hybridRouteEvaluation.js.map +1 -0
- package/dist/eval/semanticEval.js +43 -19
- package/dist/eval/semanticEval.js.map +1 -1
- package/dist/eval/semanticFixtures.js +16 -4
- package/dist/eval/semanticFixtures.js.map +1 -1
- package/dist/hooks/common.js +10 -27
- package/dist/hooks/common.js.map +1 -1
- package/dist/hooks/compaction/apply.js +447 -0
- package/dist/hooks/compaction/apply.js.map +1 -0
- package/dist/hooks/compaction/dryRun.js +185 -0
- package/dist/hooks/compaction/dryRun.js.map +1 -0
- package/dist/hooks/compaction/index.js +23 -0
- package/dist/hooks/compaction/index.js.map +1 -0
- package/dist/hooks/compaction/parse.js +326 -0
- package/dist/hooks/compaction/parse.js.map +1 -0
- package/dist/hooks/compaction/retention.js +203 -0
- package/dist/hooks/compaction/retention.js.map +1 -0
- package/dist/hooks/compaction/status.js +361 -0
- package/dist/hooks/compaction/status.js.map +1 -0
- package/dist/hooks/compaction/types.js +6 -0
- package/dist/hooks/compaction/types.js.map +1 -0
- package/dist/hooks/cursorPreToolUse.js +1 -1
- package/dist/hooks/cursorPreToolUse.js.map +1 -1
- package/dist/hooks/cursorSessionStart.js +14 -21
- package/dist/hooks/cursorSessionStart.js.map +1 -1
- package/dist/hooks/projectHookInput.js +26 -0
- package/dist/hooks/projectHookInput.js.map +1 -0
- package/dist/hooks/sessionStart.js +55 -170
- package/dist/hooks/sessionStart.js.map +1 -1
- package/dist/hooks/sessionStop.js +12 -26
- package/dist/hooks/sessionStop.js.map +1 -1
- package/dist/hooks/validateArtifact/agentFacing.js +10 -0
- package/dist/hooks/validateArtifact/agentFacing.js.map +1 -0
- package/dist/hooks/validateArtifact/index.js +151 -0
- package/dist/hooks/validateArtifact/index.js.map +1 -0
- package/dist/hooks/validateArtifact/markdown.js +146 -0
- package/dist/hooks/validateArtifact/markdown.js.map +1 -0
- package/dist/hooks/validateArtifact/runtime.js +86 -0
- package/dist/hooks/validateArtifact/runtime.js.map +1 -0
- package/dist/hooks/validateArtifact/schema.js +541 -0
- package/dist/hooks/validateArtifact/schema.js.map +1 -0
- package/dist/hooks/validateArtifact/traversal.js +108 -0
- package/dist/hooks/validateArtifact/traversal.js.map +1 -0
- package/dist/hooks/validateArtifact/violations.js +108 -0
- package/dist/hooks/validateArtifact/violations.js.map +1 -0
- package/dist/migrate/v2HandoffManifest.js +455 -0
- package/dist/migrate/v2HandoffManifest.js.map +1 -0
- package/dist/registries/artifactProtocolIds.js +77 -0
- package/dist/registries/artifactProtocolIds.js.map +1 -0
- package/dist/registries/artifactRegistry.js +222 -62
- package/dist/registries/artifactRegistry.js.map +1 -1
- package/dist/registries/capabilityContract.js +141 -12
- package/dist/registries/capabilityContract.js.map +1 -1
- package/dist/registries/evaluatorHandoffContract.js +171 -0
- package/dist/registries/evaluatorHandoffContract.js.map +1 -0
- package/dist/registries/evidenceTierContract.js +362 -0
- package/dist/registries/evidenceTierContract.js.map +1 -0
- package/dist/registries/hybridRoute.js +203 -0
- package/dist/registries/hybridRoute.js.map +1 -0
- package/dist/registries/hybridRouteReceipt.js +221 -0
- package/dist/registries/hybridRouteReceipt.js.map +1 -0
- package/dist/registries/packageRegistry.js +90 -230
- package/dist/registries/packageRegistry.js.map +1 -1
- package/dist/registries/todoReadinessContract.js +406 -0
- package/dist/registries/todoReadinessContract.js.map +1 -0
- package/dist/registries/triggerLoader.js +175 -0
- package/dist/registries/triggerLoader.js.map +1 -0
- package/dist/registries/verbosityBudgetContract.js +206 -0
- package/dist/registries/verbosityBudgetContract.js.map +1 -0
- package/dist/release/releaseMetadata.js +319 -0
- package/dist/release/releaseMetadata.js.map +1 -0
- package/dist/runtime/lifecycleAdapterContract.js +458 -0
- package/dist/runtime/lifecycleAdapterContract.js.map +1 -0
- package/dist/runtime/lifecycleAdapters.js +778 -0
- package/dist/runtime/lifecycleAdapters.js.map +1 -0
- package/dist/runtime/lifecycleAuthority.js +454 -0
- package/dist/runtime/lifecycleAuthority.js.map +1 -0
- package/dist/runtime/lifecycleOperationContract.js +114 -0
- package/dist/runtime/lifecycleOperationContract.js.map +1 -0
- package/dist/runtime/lifecycleOperations.js +635 -0
- package/dist/runtime/lifecycleOperations.js.map +1 -0
- package/dist/runtime/lifecycleOwnershipJournal.js +623 -0
- package/dist/runtime/lifecycleOwnershipJournal.js.map +1 -0
- package/dist/runtime/lifecyclePublication.js +416 -0
- package/dist/runtime/lifecyclePublication.js.map +1 -0
- package/dist/runtime/lifecycleSnapshot.js +439 -0
- package/dist/runtime/lifecycleSnapshot.js.map +1 -0
- package/dist/runtime/nativeResourceCleanup.js +317 -0
- package/dist/runtime/nativeResourceCleanup.js.map +1 -0
- package/dist/setup/codex/cli.js +130 -0
- package/dist/setup/codex/cli.js.map +1 -0
- package/dist/setup/codex/configToml.js +558 -0
- package/dist/setup/codex/configToml.js.map +1 -0
- package/dist/setup/codex/constants.js +14 -0
- package/dist/setup/codex/constants.js.map +1 -0
- package/dist/setup/codex/installRoot.js +64 -0
- package/dist/setup/codex/installRoot.js.map +1 -0
- package/dist/setup/codex/state.js +252 -0
- package/dist/setup/codex/state.js.map +1 -0
- package/dist/setup/codex.js +9 -1055
- package/dist/setup/codex.js.map +1 -1
- package/dist/setup/opencode.js +21 -0
- package/dist/setup/opencode.js.map +1 -0
- package/dist/setup/opencodeConstants.js +2 -0
- package/dist/setup/opencodeConstants.js.map +1 -0
- package/dist/setup/sharedSkill.js +46 -0
- package/dist/setup/sharedSkill.js.map +1 -0
- package/dist/setup/smokeChecks.js +82 -0
- package/dist/setup/smokeChecks.js.map +1 -0
- package/dist/state/archiveDiscovery.js +578 -0
- package/dist/state/archiveDiscovery.js.map +1 -0
- package/dist/state/archivePublication.js +226 -0
- package/dist/state/archivePublication.js.map +1 -0
- package/dist/state/archiveRecovery.js +238 -0
- package/dist/state/archiveRecovery.js.map +1 -0
- package/dist/state/archiveReplay.js +54 -0
- package/dist/state/archiveReplay.js.map +1 -0
- package/dist/state/canonicalMigrationRecord.js +37 -0
- package/dist/state/canonicalMigrationRecord.js.map +1 -0
- package/dist/state/decisionEntities.js +322 -0
- package/dist/state/decisionEntities.js.map +1 -0
- package/dist/state/decisionLegacyValidation.js +216 -0
- package/dist/state/decisionLegacyValidation.js.map +1 -0
- package/dist/state/decisionMigrationProvenance.js +117 -0
- package/dist/state/decisionMigrationProvenance.js.map +1 -0
- package/dist/state/decisionOverlay.js +278 -0
- package/dist/state/decisionOverlay.js.map +1 -0
- package/dist/state/decisionRevision.js +632 -0
- package/dist/state/decisionRevision.js.map +1 -0
- package/dist/state/decisionRevisionPublication.js +532 -0
- package/dist/state/decisionRevisionPublication.js.map +1 -0
- package/dist/state/directRetrieval.js +373 -0
- package/dist/state/directRetrieval.js.map +1 -0
- package/dist/state/durability.js +325 -0
- package/dist/state/durability.js.map +1 -0
- package/dist/state/entityCutover.js +294 -0
- package/dist/state/entityCutover.js.map +1 -0
- package/dist/state/entityCutoverGit.js +128 -0
- package/dist/state/entityCutoverGit.js.map +1 -0
- package/dist/state/entityMigrationCausality.js +99 -0
- package/dist/state/entityMigrationCausality.js.map +1 -0
- package/dist/state/entityMigrationPreview.js +864 -0
- package/dist/state/entityMigrationPreview.js.map +1 -0
- package/dist/state/entityPublicationContext.js +662 -0
- package/dist/state/entityPublicationContext.js.map +1 -0
- package/dist/state/entityStorage.js +881 -0
- package/dist/state/entityStorage.js.map +1 -0
- package/dist/state/experimentArchive.js +64 -0
- package/dist/state/experimentArchive.js.map +1 -0
- package/dist/state/experimentIdentity.js +203 -0
- package/dist/state/experimentIdentity.js.map +1 -0
- package/dist/state/experimentRetrieval.js +447 -0
- package/dist/state/experimentRetrieval.js.map +1 -0
- package/dist/state/healthEntities.js +266 -0
- package/dist/state/healthEntities.js.map +1 -0
- package/dist/state/healthEntityValidation.js +19 -0
- package/dist/state/healthEntityValidation.js.map +1 -0
- package/dist/state/healthRepair.js +70 -0
- package/dist/state/healthRepair.js.map +1 -0
- package/dist/state/installRoot.js +64 -24
- package/dist/state/installRoot.js.map +1 -1
- package/dist/state/legacyEntityCutoverEvidence.js +66 -0
- package/dist/state/legacyEntityCutoverEvidence.js.map +1 -0
- package/dist/state/legacyIdentity.js +48 -0
- package/dist/state/legacyIdentity.js.map +1 -0
- package/dist/state/legacySummaryRecord.js +7 -0
- package/dist/state/legacySummaryRecord.js.map +1 -0
- package/dist/state/listAccounting.js +55 -0
- package/dist/state/listAccounting.js.map +1 -0
- package/dist/state/listClassification.js +18 -0
- package/dist/state/listClassification.js.map +1 -0
- package/dist/state/listCursor.js +43 -0
- package/dist/state/listCursor.js.map +1 -0
- package/dist/state/listRetrieval.js +813 -0
- package/dist/state/listRetrieval.js.map +1 -0
- package/dist/state/migrationSourceBinding.js +31 -0
- package/dist/state/migrationSourceBinding.js.map +1 -0
- package/dist/state/objectiveExperimentEntities.js +323 -0
- package/dist/state/objectiveExperimentEntities.js.map +1 -0
- package/dist/state/planEntities.js +444 -0
- package/dist/state/planEntities.js.map +1 -0
- package/dist/state/planIdentity.js +45 -0
- package/dist/state/planIdentity.js.map +1 -0
- package/dist/state/planRetrieval.js +314 -0
- package/dist/state/planRetrieval.js.map +1 -0
- package/dist/state/planTaskRetrieval.js +285 -0
- package/dist/state/planTaskRetrieval.js.map +1 -0
- package/dist/state/progressEntities.js +360 -0
- package/dist/state/progressEntities.js.map +1 -0
- package/dist/state/projectRoot.js +63 -0
- package/dist/state/projectRoot.js.map +1 -0
- package/dist/state/projectionPolicy.js +184 -0
- package/dist/state/projectionPolicy.js.map +1 -0
- package/dist/state/retrievalAuthority.js +343 -0
- package/dist/state/retrievalAuthority.js.map +1 -0
- package/dist/state/safeProjectFile.js +153 -0
- package/dist/state/safeProjectFile.js.map +1 -0
- package/dist/state/startupAnalysis/benchmark.js +433 -0
- package/dist/state/startupAnalysis/benchmark.js.map +1 -0
- package/dist/state/startupAnalysis/contract.js +126 -0
- package/dist/state/startupAnalysis/contract.js.map +1 -0
- package/dist/state/startupAnalysis/helpers.js +287 -0
- package/dist/state/startupAnalysis/helpers.js.map +1 -0
- package/dist/state/startupAnalysis/index.js +7 -0
- package/dist/state/startupAnalysis/index.js.map +1 -0
- package/dist/state/startupAnalysis/metrics.js +341 -0
- package/dist/state/startupAnalysis/metrics.js.map +1 -0
- package/dist/state/startupAnalysis/records.js +199 -0
- package/dist/state/startupAnalysis/records.js.map +1 -0
- package/dist/state/startupAnalysis/report.js +112 -0
- package/dist/state/startupAnalysis/report.js.map +1 -0
- package/dist/state/startupAnalysis/threshold.js +513 -0
- package/dist/state/startupAnalysis/threshold.js.map +1 -0
- package/dist/state/startupAnalysis.js +2 -1952
- package/dist/state/startupAnalysis.js.map +1 -1
- package/dist/state/startupProjection.js +567 -0
- package/dist/state/startupProjection.js.map +1 -0
- package/dist/state/stateMode.js +83 -0
- package/dist/state/stateMode.js.map +1 -0
- package/dist/state/summaryEntityRead.js +26 -0
- package/dist/state/summaryEntityRead.js.map +1 -0
- package/dist/state/summaryMigrationProvenance.js +67 -0
- package/dist/state/summaryMigrationProvenance.js.map +1 -0
- package/dist/state/summarySourceRowAuthority.js +37 -0
- package/dist/state/summarySourceRowAuthority.js.map +1 -0
- package/dist/state/todoDocsEntities.js +267 -0
- package/dist/state/todoDocsEntities.js.map +1 -0
- package/dist/state/todoDocsEntityValidation.js +34 -0
- package/dist/state/todoDocsEntityValidation.js.map +1 -0
- package/dist/state/write/assign.js +21 -0
- package/dist/state/write/assign.js.map +1 -0
- package/dist/state/write/candidateMutation.js +281 -0
- package/dist/state/write/candidateMutation.js.map +1 -0
- package/dist/state/write/errors.js +12 -0
- package/dist/state/write/errors.js.map +1 -0
- package/dist/state/write/experimentPublication.js +193 -0
- package/dist/state/write/experimentPublication.js.map +1 -0
- package/dist/state/write/explain.js +303 -0
- package/dist/state/write/explain.js.map +1 -0
- package/dist/state/write/fields.js +62 -0
- package/dist/state/write/fields.js.map +1 -0
- package/dist/state/write/helpers.js +30 -0
- package/dist/state/write/helpers.js.map +1 -0
- package/dist/state/write/index.js +12 -0
- package/dist/state/write/index.js.map +1 -0
- package/dist/state/write/input.js +22 -0
- package/dist/state/write/input.js.map +1 -0
- package/dist/state/write/lock.js +838 -0
- package/dist/state/write/lock.js.map +1 -0
- package/dist/state/write/mutation.js +235 -0
- package/dist/state/write/mutation.js.map +1 -0
- package/dist/state/write/operations.js +375 -0
- package/dist/state/write/operations.js.map +1 -0
- package/dist/state/write/planEvaluation.js +121 -0
- package/dist/state/write/planEvaluation.js.map +1 -0
- package/dist/state/write/planPublication.js +135 -0
- package/dist/state/write/planPublication.js.map +1 -0
- package/dist/state/write/serialize.js +2 -0
- package/dist/state/write/serialize.js.map +1 -0
- package/dist/state/write/transaction.js +44 -0
- package/dist/state/write/transaction.js.map +1 -0
- package/dist/state/write/validate.js +8 -0
- package/dist/state/write/validate.js.map +1 -0
- package/dist/upgrade/appContentRefresh.js +384 -0
- package/dist/upgrade/appContentRefresh.js.map +1 -0
- package/dist/upgrade/appModel.js +8 -6
- package/dist/upgrade/appModel.js.map +1 -1
- package/dist/upgrade/atomicWriter.js +2 -0
- package/dist/upgrade/atomicWriter.js.map +1 -0
- package/dist/upgrade/bundleEvidence.js +34 -0
- package/dist/upgrade/bundleEvidence.js.map +1 -0
- package/dist/upgrade/channels.js +21 -10
- package/dist/upgrade/channels.js.map +1 -1
- package/dist/upgrade/coexistenceProbe.js +105 -0
- package/dist/upgrade/coexistenceProbe.js.map +1 -0
- package/dist/upgrade/compatibility.js +56 -20
- package/dist/upgrade/compatibility.js.map +1 -1
- package/dist/upgrade/doctor.js +197 -191
- package/dist/upgrade/doctor.js.map +1 -1
- package/dist/upgrade/doctorClassifier.js +188 -0
- package/dist/upgrade/doctorClassifier.js.map +1 -0
- package/dist/upgrade/installedHooksRetirement.js +197 -0
- package/dist/upgrade/installedHooksRetirement.js.map +1 -0
- package/dist/upgrade/legacyAgentCleanup.js +283 -0
- package/dist/upgrade/legacyAgentCleanup.js.map +1 -0
- package/dist/upgrade/lifecycleUpgrade.js +114 -0
- package/dist/upgrade/lifecycleUpgrade.js.map +1 -0
- package/dist/upgrade/migrateArtifactsV2ToV3.js +363 -137
- package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -1
- package/dist/upgrade/migrationPublication.js +123 -0
- package/dist/upgrade/migrationPublication.js.map +1 -0
- package/dist/upgrade/nextMajorDoctor.js +156 -0
- package/dist/upgrade/nextMajorDoctor.js.map +1 -0
- package/dist/upgrade/npxPlatformStatus.js +23 -0
- package/dist/upgrade/npxPlatformStatus.js.map +1 -0
- package/dist/upgrade/projectIntegration.js +142 -171
- package/dist/upgrade/projectIntegration.js.map +1 -1
- package/dist/upgrade/projectIntegrationDecision.js +51 -0
- package/dist/upgrade/projectIntegrationDecision.js.map +1 -0
- package/dist/upgrade/runtimeMigration.js +336 -281
- package/dist/upgrade/runtimeMigration.js.map +1 -1
- package/dist/upgrade/upgradeCommands.js +9 -0
- package/dist/upgrade/upgradeCommands.js.map +1 -1
- package/dist/upgrade/upgradeLock.js +86 -0
- package/dist/upgrade/upgradeLock.js.map +1 -0
- package/dist/upgrade/upgradeOrchestrator.js +212 -56
- package/dist/upgrade/upgradeOrchestrator.js.map +1 -1
- package/dist/upgrade/v3CapabilitySurface.js +15 -0
- package/dist/upgrade/v3CapabilitySurface.js.map +1 -0
- package/dist/upgrade/versionResolution.js +12 -4
- package/dist/upgrade/versionResolution.js.map +1 -1
- package/dist/validate/appHomeContract.js +5 -9
- package/dist/validate/appHomeContract.js.map +1 -1
- package/dist/validate/capability.js +144 -14
- package/dist/validate/capability.js.map +1 -1
- package/dist/validate/crossCapability.js +12 -9
- package/dist/validate/crossCapability.js.map +1 -1
- package/dist/validate/selfAudit.js +73 -36
- package/dist/validate/selfAudit.js.map +1 -1
- package/dist/validate/vocabularyAuthority.js +303 -0
- package/dist/validate/vocabularyAuthority.js.map +1 -0
- package/package.json +45 -27
- package/bundle/references/adapters/cursor.md +0 -213
- package/bundle/references/adapters/opencode.md +0 -530
- 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 -548
- package/bundle/references/adapters/runtime-feature-parity.md +0 -189
- package/bundle/references/v1-section-mapping.md +0 -47
- package/bundle/skills/agentera/.claude-plugin/plugin.json +0 -27
- package/bundle/skills/agentera/agents/dokumentera.toml +0 -6
- package/bundle/skills/agentera/agents/hej.toml +0 -6
- package/bundle/skills/agentera/agents/inspektera.toml +0 -6
- package/bundle/skills/agentera/agents/inspirera.toml +0 -6
- package/bundle/skills/agentera/agents/optimera.toml +0 -6
- package/bundle/skills/agentera/agents/orkestrera.toml +0 -6
- package/bundle/skills/agentera/agents/planera.toml +0 -6
- package/bundle/skills/agentera/agents/profilera.toml +0 -6
- package/bundle/skills/agentera/agents/realisera.toml +0 -6
- package/bundle/skills/agentera/agents/resonera.toml +0 -6
- package/bundle/skills/agentera/agents/visionera.toml +0 -6
- package/bundle/skills/agentera/agents/visualisera.toml +0 -6
- package/bundle/skills/agentera/capabilities/dokumentera/instructions.md +0 -428
- package/bundle/skills/agentera/capabilities/dokumentera/schemas/artifacts.yaml +0 -73
- package/bundle/skills/agentera/capabilities/dokumentera/schemas/triggers.yaml +0 -35
- package/bundle/skills/agentera/capabilities/hej/instructions.md +0 -331
- package/bundle/skills/agentera/capabilities/hej/schemas/artifacts.yaml +0 -69
- package/bundle/skills/agentera/capabilities/hej/schemas/triggers.yaml +0 -58
- package/bundle/skills/agentera/capabilities/inspektera/instructions.md +0 -514
- package/bundle/skills/agentera/capabilities/inspektera/schemas/artifacts.yaml +0 -76
- package/bundle/skills/agentera/capabilities/inspektera/schemas/triggers.yaml +0 -38
- package/bundle/skills/agentera/capabilities/inspirera/instructions.md +0 -280
- package/bundle/skills/agentera/capabilities/inspirera/schemas/artifacts.yaml +0 -24
- package/bundle/skills/agentera/capabilities/inspirera/schemas/triggers.yaml +0 -34
- package/bundle/skills/agentera/capabilities/optimera/instructions.md +0 -437
- package/bundle/skills/agentera/capabilities/optimera/schemas/triggers.yaml +0 -39
- package/bundle/skills/agentera/capabilities/orkestrera/instructions.md +0 -433
- package/bundle/skills/agentera/capabilities/orkestrera/schemas/artifacts.yaml +0 -64
- package/bundle/skills/agentera/capabilities/orkestrera/schemas/triggers.yaml +0 -42
- package/bundle/skills/agentera/capabilities/orkestrera/schemas/validation.yaml +0 -107
- package/bundle/skills/agentera/capabilities/planera/instructions.md +0 -368
- package/bundle/skills/agentera/capabilities/planera/schemas/artifacts.yaml +0 -62
- package/bundle/skills/agentera/capabilities/planera/schemas/triggers.yaml +0 -34
- package/bundle/skills/agentera/capabilities/planera/schemas/validation.yaml +0 -61
- package/bundle/skills/agentera/capabilities/profilera/instructions.md +0 -419
- package/bundle/skills/agentera/capabilities/profilera/schemas/triggers.yaml +0 -45
- package/bundle/skills/agentera/capabilities/profilera/schemas/validation.yaml +0 -57
- package/bundle/skills/agentera/capabilities/realisera/instructions.md +0 -403
- package/bundle/skills/agentera/capabilities/realisera/schemas/artifacts.yaml +0 -80
- package/bundle/skills/agentera/capabilities/realisera/schemas/triggers.yaml +0 -39
- package/bundle/skills/agentera/capabilities/resonera/instructions.md +0 -329
- package/bundle/skills/agentera/capabilities/resonera/schemas/artifacts.yaml +0 -47
- package/bundle/skills/agentera/capabilities/resonera/schemas/triggers.yaml +0 -46
- package/bundle/skills/agentera/capabilities/visionera/instructions.md +0 -309
- package/bundle/skills/agentera/capabilities/visionera/schemas/triggers.yaml +0 -41
- package/bundle/skills/agentera/capabilities/visualisera/instructions.md +0 -400
- package/bundle/skills/agentera/capabilities/visualisera/schemas/triggers.yaml +0 -33
- package/bundle/skills/hej/.claude-plugin/plugin.json +0 -6
- package/bundle/skills/hej/SKILL.md +0 -69
- package/bundle/skills/hej/agents/hej.toml +0 -11
- package/bundle/skills/hej/agents/openai.yaml +0 -8
- package/dist/cli/commands/backfill.js +0 -84
- package/dist/cli/commands/backfill.js.map +0 -1
- package/dist/cli/commands/state.js +0 -1012
- package/dist/cli/commands/state.js.map +0 -1
- package/dist/core/git.js +0 -43
- package/dist/core/git.js.map +0 -1
- package/dist/hooks/compaction.js +0 -935
- package/dist/hooks/compaction.js.map +0 -1
- package/dist/hooks/validateArtifact.js +0 -933
- package/dist/hooks/validateArtifact.js.map +0 -1
- package/dist/registries/runtimeAdapterRegistry.js +0 -315
- package/dist/registries/runtimeAdapterRegistry.js.map +0 -1
- package/dist/setup/copilot.js +0 -227
- package/dist/setup/copilot.js.map +0 -1
- package/dist/setup/cursor.js +0 -127
- package/dist/setup/cursor.js.map +0 -1
- package/dist/setup/doctor.js +0 -1276
- package/dist/setup/doctor.js.map +0 -1
- package/dist/state/progressCommit.js +0 -289
- package/dist/state/progressCommit.js.map +0 -1
- package/dist/upgrade/migrateArtifactsV1ToV2.js +0 -571
- package/dist/upgrade/migrateArtifactsV1ToV2.js.map +0 -1
- package/dist/validate/lifecycleAdapters.js +0 -772
- package/dist/validate/lifecycleAdapters.js.map +0 -1
- /package/bundle/skills/agentera/capabilities/{dokumentera → document}/schemas/exit.yaml +0 -0
- /package/bundle/skills/agentera/capabilities/{inspirera → research}/schemas/exit.yaml +0 -0
- /package/bundle/skills/agentera/capabilities/{hej → status}/schemas/exit.yaml +0 -0
|
@@ -2,7 +2,7 @@ schema_version: agentera.routing_execution_vocabulary.v1
|
|
|
2
2
|
status: active_authority
|
|
3
3
|
purpose: >-
|
|
4
4
|
Define routing and execution vocabulary boundaries so request routing, next-action
|
|
5
|
-
recommendation, Orkestrera task assignment, worker launch,
|
|
5
|
+
recommendation, Orkestrera task assignment, worker launch, host-provided worker support, and
|
|
6
6
|
worker-safety Git commits stay distinct without forcing mechanical renames of
|
|
7
7
|
shipped compatibility identifiers or historical evidence.
|
|
8
8
|
sources:
|
|
@@ -14,7 +14,7 @@ scope:
|
|
|
14
14
|
- Hej and capability next-action recommendations that wait for confirmation.
|
|
15
15
|
- Orkestrera assignment of approved plan work to worker capabilities.
|
|
16
16
|
- Realisera and Optimera launch of runtime workers.
|
|
17
|
-
-
|
|
17
|
+
- Host-provided worker mechanisms without Agentera-owned runtime integration.
|
|
18
18
|
- Git commit safety language before spawning isolated worker execution.
|
|
19
19
|
excludes:
|
|
20
20
|
- Broad current-prose replacement across capability instructions.
|
|
@@ -31,7 +31,7 @@ compatibility_boundary: >-
|
|
|
31
31
|
canonical_concept_order:
|
|
32
32
|
- request_to_capability_routing
|
|
33
33
|
- next_action_recommendation
|
|
34
|
-
-
|
|
34
|
+
- orchestrate_task_assignment
|
|
35
35
|
- worker_launch
|
|
36
36
|
- runtime_subagent_support
|
|
37
37
|
- worker_safety_git_commit
|
|
@@ -40,7 +40,7 @@ canonical_concepts:
|
|
|
40
40
|
definition: >-
|
|
41
41
|
Agentera chooses the capability that should handle a user request, using
|
|
42
42
|
direct routes, primary route aliases, trigger schemas, disambiguation, or
|
|
43
|
-
fallback to
|
|
43
|
+
fallback to status.
|
|
44
44
|
preferred_terms:
|
|
45
45
|
- Agentera router
|
|
46
46
|
- request-to-capability routing
|
|
@@ -65,15 +65,15 @@ canonical_concepts:
|
|
|
65
65
|
- force
|
|
66
66
|
- chain
|
|
67
67
|
- conductor handoff
|
|
68
|
-
|
|
68
|
+
orchestrate_task_assignment:
|
|
69
69
|
definition: >-
|
|
70
|
-
|
|
70
|
+
Orchestrate assigns approved plan work to a worker capability during an
|
|
71
71
|
explicitly orchestrated flow; it evaluates the result instead of implementing
|
|
72
72
|
the task itself.
|
|
73
73
|
preferred_terms:
|
|
74
74
|
- delegate
|
|
75
75
|
- delegation
|
|
76
|
-
-
|
|
76
|
+
- Orchestrate task delegation
|
|
77
77
|
- assigned plan work
|
|
78
78
|
forbidden_ambiguous_shortcuts:
|
|
79
79
|
- conductor
|
|
@@ -82,7 +82,7 @@ canonical_concepts:
|
|
|
82
82
|
- orchestrator implementation
|
|
83
83
|
worker_launch:
|
|
84
84
|
definition: >-
|
|
85
|
-
|
|
85
|
+
Build or Optimize starts a worker through the host runtime when an
|
|
86
86
|
implementation or measurement cycle needs isolated execution.
|
|
87
87
|
preferred_terms:
|
|
88
88
|
- spawn
|
|
@@ -96,8 +96,8 @@ canonical_concepts:
|
|
|
96
96
|
- launch substrate
|
|
97
97
|
runtime_subagent_support:
|
|
98
98
|
definition: >-
|
|
99
|
-
|
|
100
|
-
descriptor
|
|
99
|
+
A worker mechanism supplied by the coding host. Agentera may request a
|
|
100
|
+
worker but ships no host-specific descriptor, adapter, plugin, or hook.
|
|
101
101
|
preferred_terms:
|
|
102
102
|
- subagent mechanism
|
|
103
103
|
- runtime subagent mechanism
|
|
@@ -167,13 +167,12 @@ focused_scan:
|
|
|
167
167
|
paths:
|
|
168
168
|
- AGENTS.md
|
|
169
169
|
- references/cli/vocabulary.md
|
|
170
|
-
- references/adapters/runtime-feature-parity.md
|
|
171
170
|
- (retired maintainer measurement tool)
|
|
172
171
|
- skills/agentera/SKILL.md
|
|
173
172
|
- skills/agentera/references/contract.md
|
|
174
|
-
-
|
|
175
|
-
-
|
|
176
|
-
-
|
|
173
|
+
- packages/cli/src/capabilities/realisera/instructions.ts
|
|
174
|
+
- packages/cli/src/capabilities/optimera/instructions.ts
|
|
175
|
+
- packages/cli/src/capabilities/orkestrera/instructions.ts
|
|
177
176
|
- tests/test_skill_dispatch_contract.py
|
|
178
177
|
- tests/test_runtime_adapters.py
|
|
179
178
|
- tests/test_runtime_adapter_registry.py
|
|
@@ -198,10 +197,6 @@ focused_scan:
|
|
|
198
197
|
text: subagent_dispatch|fixture names
|
|
199
198
|
classification: compatibility-preserved
|
|
200
199
|
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
200
|
- path: ^scripts/measure_token_payload\.py$
|
|
206
201
|
text: static dispatch payload|Agentera router
|
|
207
202
|
classification: historical
|
|
@@ -222,15 +217,15 @@ focused_scan:
|
|
|
222
217
|
text: checkpoint before worktree dispatch
|
|
223
218
|
classification: compatibility-preserved
|
|
224
219
|
reason: The contract preserves the parseable historical checkpoint commit message string.
|
|
225
|
-
- path: ^
|
|
220
|
+
- path: ^packages/cli/src/capabilities/realisera/instructions\.ts$
|
|
226
221
|
text: 'Step 5: Dispatch|checkpoint before worktree dispatch'
|
|
227
222
|
classification: compatibility-preserved
|
|
228
223
|
reason: Realisera preserves the current step heading and checkpoint commit message compatibility string.
|
|
229
|
-
- path: ^
|
|
224
|
+
- path: ^packages/cli/src/capabilities/optimera/instructions\.ts$
|
|
230
225
|
text: checkpoint before worktree dispatch
|
|
231
226
|
classification: compatibility-preserved
|
|
232
227
|
reason: Optimera preserves the current checkpoint commit message compatibility string.
|
|
233
|
-
- path: ^
|
|
228
|
+
- path: ^packages/cli/src/capabilities/orkestrera/instructions\.ts$
|
|
234
229
|
text: review pressure in dispatch|dispatch/evaluation context|`dispatch` and `chain` are autonomous orchestration verbs
|
|
235
230
|
classification: canonical
|
|
236
231
|
reason: Orkestrera capability prose uses dispatch for its explicitly owned orchestration loop.
|
|
@@ -238,27 +233,10 @@ focused_scan:
|
|
|
238
233
|
text: '`dispatch`: invoke another capability autonomously|`chain`: dispatch multiple capabilities autonomously|In orkestrera only, `dispatch` and `chain` are autonomous'
|
|
239
234
|
classification: fixture-only
|
|
240
235
|
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
236
|
compatibility_identifiers:
|
|
250
|
-
runtime_adapter:
|
|
251
|
-
- subagent_dispatch
|
|
252
|
-
- RuntimeAdapter.subagent_dispatch
|
|
253
|
-
- subagent_dispatch.supported
|
|
254
|
-
- subagent_dispatch.group
|
|
255
237
|
route_aliases:
|
|
256
238
|
- ROUTE_ALIASES
|
|
257
239
|
- primary_aliases
|
|
258
|
-
command_and_schema_surfaces:
|
|
259
|
-
- agentera validate descriptors
|
|
260
|
-
- descriptor_sources
|
|
261
|
-
- invocation_pattern
|
|
262
240
|
code_identifiers:
|
|
263
241
|
- subagent_dispatch
|
|
264
242
|
- test_runtime_adapter_subagent_dispatch_metadata_is_complete
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
# Hybrid routing model
|
|
2
|
+
|
|
3
|
+
The portable shared skill and CLI use one hybrid cascade. Explicit routes and
|
|
4
|
+
curated, globally unique literal phrases provide deterministic tiers; open-ended
|
|
5
|
+
language remains host-owned. The normative protocol is
|
|
6
|
+
[`hybrid-route-contract.yaml`](./hybrid-route-contract.yaml); this page is a
|
|
7
|
+
reader-oriented model, not a second contract.
|
|
8
|
+
|
|
9
|
+
Decision 76 remains in force for natural-language judgment. Decision mpulyomlyl supersedes it only for the curated literal fast path: there is still no scoring engine, no confidence threshold, and no borderline band. Legacy trigger patterns, regexes, thresholds, and bands do not route requests.
|
|
10
|
+
|
|
11
|
+
## Cascade and precedence
|
|
12
|
+
|
|
13
|
+
1. **Bare `/agentera`.** With no added text, select status deterministically.
|
|
14
|
+
2. **Explicit direct route.** A canonical capability name or primary alias uses
|
|
15
|
+
the established direct-route grammar and passes its remaining text as topic.
|
|
16
|
+
3. **Curated leading phrase.** Match one active phrase from
|
|
17
|
+
[`skills/agentera/route-phrases.yaml`](../../skills/agentera/route-phrases.yaml)
|
|
18
|
+
only when it is the exact normalized leading phrase. It selects that phrase's
|
|
19
|
+
sole owner and preserves the original remainder as topic.
|
|
20
|
+
4. **Deterministic abstention.** Every other request returns
|
|
21
|
+
`semantic_required`. This tier never guesses from trigger prose, substrings,
|
|
22
|
+
regexes, scores, thresholds, bands, state, or `next_action`.
|
|
23
|
+
5. **Validated semantic receipt.** The host makes an LLM-native semantic
|
|
24
|
+
judgment and submits `select`, `clarify`, or `no_match`; the CLI validates it
|
|
25
|
+
before capability startup. `select` starts one selected capability, `clarify` starts none, and `no_match` must route to status for orientation only after no capability matches.
|
|
26
|
+
|
|
27
|
+
The direct grammar has precedence over phrase matching. A phrase collision is a
|
|
28
|
+
registry validation error, not a tie to resolve at runtime.
|
|
29
|
+
|
|
30
|
+
## Phase one: route request
|
|
31
|
+
|
|
32
|
+
`agentera.route_request.v1` takes the transient original request. Its response
|
|
33
|
+
is exactly one of:
|
|
34
|
+
|
|
35
|
+
- `deterministic_selection`: a `bare`, `direct`, or `phrase` selection with
|
|
36
|
+
capability, provenance, recognized span, and topic span.
|
|
37
|
+
- `semantic_required`: a request digest, semantic intent capsule, and canonical
|
|
38
|
+
capsule digest. It does not start a capability.
|
|
39
|
+
|
|
40
|
+
The request itself is not persisted. The semantic capsule contains active
|
|
41
|
+
trigger `description`, `priority`, and `disambiguates_against` documentation,
|
|
42
|
+
not executable matcher inputs. Its digest is SHA-256 over contract-owned
|
|
43
|
+
canonical JSON (recursively sorted object keys, no insignificant whitespace,
|
|
44
|
+
and the presented array order) for exactly that capsule. It excludes private
|
|
45
|
+
request text, request digests, diagnostics, state, and matcher authorities the
|
|
46
|
+
host did not see.
|
|
47
|
+
|
|
48
|
+
## Phase two: semantic receipt
|
|
49
|
+
|
|
50
|
+
For `semantic_required`, the host sends the same transient original request and
|
|
51
|
+
the complete nullable host receipt to `agentera route receipt --input - --format
|
|
52
|
+
json`. The receipt binds to the SHA-256 of the request's UTF-8 bytes and the
|
|
53
|
+
`semantic_capsule_sha256` returned in phase one. The CLI first validates the
|
|
54
|
+
unmodified host shape, removes only contract-listed nulls, then reruns
|
|
55
|
+
deterministic routing and accepts the receipt only when the same request still
|
|
56
|
+
produces `semantic_required` with both bound digests. It then validates the
|
|
57
|
+
projected CLI receipt with canonical-capability binding and request-bound span
|
|
58
|
+
rules:
|
|
59
|
+
|
|
60
|
+
| Receipt | Required result | Startup |
|
|
61
|
+
| --- | --- | --- |
|
|
62
|
+
| `select` | one canonical capability and `none` or `preserve` compound disposition | selected capability only |
|
|
63
|
+
| `clarify` | one non-empty question | none |
|
|
64
|
+
| `no_match` | no capability or question | status only |
|
|
65
|
+
| invalid | bounded field-level correction, exit 64 | none |
|
|
66
|
+
|
|
67
|
+
The resulting `selected` or `status_fallback` authorization contains bounded
|
|
68
|
+
route provenance and the existing `agentera prime --context <capability>
|
|
69
|
+
--format json` startup path. A `clarification` contains exactly one bounded
|
|
70
|
+
question and no startup. This is intentionally a shared CLI contract, not a
|
|
71
|
+
runtime-specific adapter. The portable shared skill is the sole host integration
|
|
72
|
+
surface.
|
|
73
|
+
|
|
74
|
+
## Phrase, span, and topic behavior
|
|
75
|
+
|
|
76
|
+
The phrase registry owns stable IDs, capability ownership, literal phrases,
|
|
77
|
+
global collision detection, and deprecation. Per-capability trigger schemas
|
|
78
|
+
never create phrase ownership. Matching uses the contract's normalized token
|
|
79
|
+
view (Unicode NFKC, case folding, whitespace normalization) while returning
|
|
80
|
+
source UTF-8 byte offsets and exact slices from the original request. A `:`,
|
|
81
|
+
`-`, or `—` that terminates the final phrase token is recognized in the
|
|
82
|
+
comparison view but starts the preserved topic slice; other attached
|
|
83
|
+
punctuation abstains.
|
|
84
|
+
|
|
85
|
+
For example, `HELP\tME decide: migrate the store` recognizes only
|
|
86
|
+
`HELP\tME decide`; its topic is the exact original `: migrate the store`.
|
|
87
|
+
The separator is deliberately preserved. Quoted, negated, later-in-sentence,
|
|
88
|
+
partial, and unregistered wording abstains; it belongs to the semantic phase.
|
|
89
|
+
|
|
90
|
+
## Selection, ambiguity, and compounds
|
|
91
|
+
|
|
92
|
+
The LLM host owns semantic selection and genuine consequential ambiguity. It
|
|
93
|
+
consults trigger intent documentation, then chooses one of `select`, `clarify`,
|
|
94
|
+
or `no_match`. A compound request never authorizes implicit chaining:
|
|
95
|
+
|
|
96
|
+
- A direct or phrase selection preserves its entire original remainder as one
|
|
97
|
+
topic without interpreting it as follow-on work.
|
|
98
|
+
- A semantic `select` may mark one original, UTF-8 code-point-aligned trailing
|
|
99
|
+
remainder span `preserve`; it is deferred intent, not a second startup.
|
|
100
|
+
`clarify` is an outcome, never a compound disposition.
|
|
101
|
+
- Independent or consequential compound intent uses the `clarify` outcome when
|
|
102
|
+
one primary capability cannot be named safely.
|
|
103
|
+
|
|
104
|
+
`next_action` informs readiness only after classification and cannot override the message intent. It never classifies a request.
|
|
105
|
+
|
|
106
|
+
## Evaluation and privacy
|
|
107
|
+
|
|
108
|
+
The visible frozen development and adversarial regression data live in
|
|
109
|
+
[`fixtures/routing/hybrid-corpus.yaml`](../../fixtures/routing/hybrid-corpus.yaml).
|
|
110
|
+
They use synthetic or explicitly consented text only and are the sole frozen
|
|
111
|
+
implementation conformance corpus; no sealed holdout, credential, privacy
|
|
112
|
+
approval, or provider-host benchmark is required.
|
|
113
|
+
Retained evaluation evidence contains IDs, partition, outcome, tier,
|
|
114
|
+
capability, timing, and aggregate metrics; private raw request
|
|
115
|
+
text, topic text, receipt questions, and semantic rationale are absent by
|
|
116
|
+
default.
|
|
117
|
+
|
|
118
|
+
The portable host receipt shape has all fields required, using nullable fields
|
|
119
|
+
for outcome-inapplicable values; the bounded host-to-CLI normalization seam first
|
|
120
|
+
validates that unmodified shape, removes only contract-listed nulls, and preserves
|
|
121
|
+
every non-null value unchanged. The CLI schema then separately validates outcome
|
|
122
|
+
relationships, request binding, spans, canonical capabilities, and startup authorization.
|
|
123
|
+
Normalization never authorizes startup or weakens a cross-field rule.
|
|
124
|
+
The evaluator reports separate, run-specific local deterministic and
|
|
125
|
+
receipt-validation p95 values. They prove protocol conformance for this visible
|
|
126
|
+
corpus, not semantic generalization or an end-to-end latency commitment. Semantic
|
|
127
|
+
model quality and latency remain host-dependent and unmeasured; it makes no live
|
|
128
|
+
model calls.
|
|
129
|
+
|
|
130
|
+
## Ownership boundaries
|
|
131
|
+
|
|
132
|
+
- `references/cli/hybrid-route-contract.yaml` owns protocol, outcome vocabulary,
|
|
133
|
+
precedence, span rules, privacy, evaluation gates, and deprecations.
|
|
134
|
+
- `skills/agentera/route-phrases.yaml` owns the deterministic phrase inventory.
|
|
135
|
+
- `references/cli/trigger-schema-enrichment.md` owns semantic trigger intent
|
|
136
|
+
documentation only.
|
|
137
|
+
- `packages/cli/src/eval/hybridRouteEvaluation.ts` evaluates the frozen offline
|
|
138
|
+
conformance corpus; its tests verify the evaluator and protocol structure.
|
|
139
|
+
- `skills/agentera/SKILL.md` remains the thin portable host integration surface.
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
# Trigger intent documentation contract
|
|
2
|
+
|
|
3
|
+
Authority for semantic-phase trigger intent documentation. This document
|
|
4
|
+
defines the trigger-schema fields a host consults only after the CLI
|
|
5
|
+
deterministically abstains, so it can make a semantic judgment and submit a
|
|
6
|
+
receipt. The fields are documentation, not inputs to a routing engine.
|
|
7
|
+
|
|
8
|
+
- **Authority path:** `references/cli/trigger-schema-enrichment.md`
|
|
9
|
+
- **Schema contract:** `skills/agentera/capability_schema_contract.yaml` (the
|
|
10
|
+
contract loader at `packages/cli/src/registries/capabilityContract.ts` consumes it)
|
|
11
|
+
- **Trigger files:** `skills/agentera/capabilities/<name>/schemas/triggers.yaml`
|
|
12
|
+
- **Scope:** The semantic phase of the two-phase route contract. See
|
|
13
|
+
`references/cli/hybrid-route-contract.yaml` for the authoritative precedence,
|
|
14
|
+
abstention, receipt validation, and startup authorization rules.
|
|
15
|
+
|
|
16
|
+
## Current boundary and obsolete layer numbering
|
|
17
|
+
|
|
18
|
+
Earlier Decision 76 material described open-ended routing as Layer 3 and folded
|
|
19
|
+
the former Layer 4 into it. That layer numbering is obsolete; it is not another
|
|
20
|
+
routing model. The hybrid route contract now has one deterministic request phase
|
|
21
|
+
(bare, direct, and curated phrase selection) and one semantic receipt phase.
|
|
22
|
+
|
|
23
|
+
Only a `semantic_required` response may expose these fields to a host. The host
|
|
24
|
+
uses them to choose `select`, `clarify`, or `no_match`, then submits the complete
|
|
25
|
+
receipt. The CLI validates that receipt before authorizing capability startup.
|
|
26
|
+
`priority` and `disambiguates_against` are advisory semantic-judgment context,
|
|
27
|
+
not scoring weights. There is no scoring algorithm, confidence threshold,
|
|
28
|
+
borderline band, or `prime --route` output schema.
|
|
29
|
+
|
|
30
|
+
## 1. Field shape
|
|
31
|
+
|
|
32
|
+
The fields below are the LLM-readable intent documentation the host consults.
|
|
33
|
+
`description` and `priority` are base trigger fields required on every
|
|
34
|
+
`TRIGGERS` entry; `disambiguates_against` is an optional enrichment that gives
|
|
35
|
+
the host disambiguation words to surface when a request could match more than
|
|
36
|
+
one capability.
|
|
37
|
+
|
|
38
|
+
### 1.1 `description`
|
|
39
|
+
|
|
40
|
+
- **Type:** non-empty string (required on every `TRIGGERS` entry).
|
|
41
|
+
- **Meaning:** the semantic-judgment explanation of this capability's intent.
|
|
42
|
+
After `semantic_required`, the host reads it to decide whether a request fits
|
|
43
|
+
the capability. Prose that names the capability's purpose and request shapes
|
|
44
|
+
reads better than keyword lists; write it for a reader who has never seen the
|
|
45
|
+
capability before.
|
|
46
|
+
- **Validation failure:** a missing, empty, or non-string `description` fails
|
|
47
|
+
validation with an error message naming the offending entry ID.
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
TRIGGERS:
|
|
51
|
+
1:
|
|
52
|
+
id: T2
|
|
53
|
+
description: >-
|
|
54
|
+
Audit local codebase health, architecture, quality, or technical debt.
|
|
55
|
+
priority: high
|
|
56
|
+
disambiguates_against:
|
|
57
|
+
- capability: document
|
|
58
|
+
hint: "audit owns code and architecture health; document owns documentation maintenance"
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### 1.2 `disambiguates_against`
|
|
62
|
+
|
|
63
|
+
- **Type:** list of mappings. Each entry MUST contain:
|
|
64
|
+
- `capability` — string referencing a valid capability ID (one of the twelve
|
|
65
|
+
English canonical IDs enumerated by `ROUTE_ALIASES.primary_aliases` in
|
|
66
|
+
`capability_schema_contract.yaml`: `status`, `vision`, `discuss`, `research`,
|
|
67
|
+
`plan`, `build`, `optimize`, `audit`, `document`, `profile`, `design`,
|
|
68
|
+
`orchestrate`).
|
|
69
|
+
- `hint` — non-empty string distinguishing this trigger's intent from the
|
|
70
|
+
named capability on near-equal requests.
|
|
71
|
+
- **Meaning:** declares which other capabilities this trigger's intent could be
|
|
72
|
+
confused with, with a hint the host consults after `semantic_required`. The
|
|
73
|
+
list is advisory: the host resolves ambiguity and MAY surface the hint when
|
|
74
|
+
asking the user to clarify. The hint supplies the words; the host supplies the
|
|
75
|
+
judgment in a receipt the CLI validates.
|
|
76
|
+
- **Validation failure:** a `capability` value that is not one of the twelve
|
|
77
|
+
canonical IDs, a missing `hint`, an empty `hint`, or an entry that is not a
|
|
78
|
+
mapping fails validation with the offending entry ID and the constraint.
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
disambiguates_against:
|
|
82
|
+
- capability: build
|
|
83
|
+
hint: "vision refines existing project direction; build implements code"
|
|
84
|
+
- capability: optimize
|
|
85
|
+
hint: "vision is about what to build, not tuning existing code"
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### 1.3 `priority`
|
|
89
|
+
|
|
90
|
+
- **Type:** string enum `high` | `medium` | `low` (required on every `TRIGGERS`
|
|
91
|
+
entry).
|
|
92
|
+
- **Meaning:** advisory relevance-precedence hint the LLM host reads alongside
|
|
93
|
+
`description` when deciding which capability best fits a semantically
|
|
94
|
+
abstained request. `high`
|
|
95
|
+
marks a capability that owns the request strongly; `low` marks a capability
|
|
96
|
+
that is a plausible but weaker fit. It is not a scoring weight and feeds no
|
|
97
|
+
weighted-average calculation; the LLM host uses it as one signal among the
|
|
98
|
+
intent documentation.
|
|
99
|
+
- **Validation failure:** a missing `priority` or a value outside `high`,
|
|
100
|
+
`medium`, `low` fails validation with the offending entry ID.
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
priority: high
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## 2. Defaults summary
|
|
107
|
+
|
|
108
|
+
| Field | Required | Default when absent |
|
|
109
|
+
| --- | --- | --- |
|
|
110
|
+
| `description` | required | — |
|
|
111
|
+
| `disambiguates_against` | optional | empty list (no explicit collisions declared) |
|
|
112
|
+
| `priority` | required (`TRIGGERS`) | — |
|
|
113
|
+
|
|
114
|
+
`description` and `priority` are required on every `TRIGGERS` entry and have no
|
|
115
|
+
default. `disambiguates_against` is optional and defaults to an empty list. The
|
|
116
|
+
loader at `packages/cli/src/registries/capabilityContract.ts` is the consumer of
|
|
117
|
+
these shapes; tests and source that need them read through the loader rather than
|
|
118
|
+
re-declaring the values (per the AGENTS.md rule against duplicating
|
|
119
|
+
contract-owned values).
|
|
120
|
+
|
|
121
|
+
## 3. Acceptance criteria mapping
|
|
122
|
+
|
|
123
|
+
| Criterion | Section |
|
|
124
|
+
| --- | --- |
|
|
125
|
+
| `description` is a non-empty string on every `TRIGGERS` entry | §1.1 |
|
|
126
|
+
| `disambiguates_against` entries reference a valid capability ID and include a non-empty hint | §1.2 |
|
|
127
|
+
| `priority` is one of `high` / `medium` / `low` on every `TRIGGERS` entry | §1.3 |
|
|
128
|
+
| Trigger fields are semantic-phase documentation; no scoring algorithm, thresholds, borderline band, or `--route` output schema | Current boundary, §1 |
|
|
129
|
+
| Deterministic precedence and validated receipt authorization remain singular | `hybrid-route-contract.yaml` |
|
|
130
|
+
|
|
131
|
+
## 4. Legacy enriched fields
|
|
132
|
+
|
|
133
|
+
`patterns`, `patterns_regex`, `confidence_threshold`, and `borderline_band`
|
|
134
|
+
remain accepted only so inherited enriched trigger files validate and load. They
|
|
135
|
+
are discarded by the loader: the active trigger model does not expose strings,
|
|
136
|
+
`RegExp` objects, scores, thresholds, or bands from them. The capability
|
|
137
|
+
validator validates their compatibility shapes; specifically, it validates the
|
|
138
|
+
numeric fields' integer 0..100 range, while the loader accepts and discards
|
|
139
|
+
their values. Do not add them to new active trigger entries. Their presence
|
|
140
|
+
cannot change a natural-language classification.
|
|
@@ -10,12 +10,13 @@ sources:
|
|
|
10
10
|
scope:
|
|
11
11
|
includes:
|
|
12
12
|
- Channel names, default selection, and resolution precedence.
|
|
13
|
-
- npm dist-tag and git ref resolution
|
|
13
|
+
- npm dist-tag resolution per channel and git ref resolution for the stable line only.
|
|
14
14
|
- Environment, config, and CLI override keys.
|
|
15
15
|
excludes:
|
|
16
16
|
- App lifecycle canonical statuses and operation verb definitions.
|
|
17
17
|
- Migration orchestration phases, apply semantics, and compatibility detection.
|
|
18
18
|
- Package publication, dist-tag retirement, and release approval decisions.
|
|
19
|
+
- uv/git install paths for the development (3.x) channel; feat/v3 is TS-only on npm.
|
|
19
20
|
compatibility_boundary: >-
|
|
20
21
|
Stable channel must continue resolving to 2.x until an explicit release decision
|
|
21
22
|
retires it. Cross-major v2→v3 migration is never implied by default channel
|
|
@@ -32,6 +33,23 @@ channels:
|
|
|
32
33
|
Tracks the supported 2.x release line for users who must not cross the v2→v3
|
|
33
34
|
major boundary without explicit opt-in.
|
|
34
35
|
distribution_major: 2
|
|
36
|
+
next_major:
|
|
37
|
+
concept: forward_successor_line
|
|
38
|
+
channel: development
|
|
39
|
+
version: "3.0.0"
|
|
40
|
+
announced: true
|
|
41
|
+
npm:
|
|
42
|
+
dist_tag: next
|
|
43
|
+
npm_only_advisory: >-
|
|
44
|
+
The successor line is npm-only; stable git/uvx installs remain on the
|
|
45
|
+
supported 2.x line until you explicitly opt in through npm.
|
|
46
|
+
guide_url: >-
|
|
47
|
+
https://github.com/jgabor/agentera/blob/main/UPGRADE.md#upgrading-v2-to-v3-development-channel-irreversible
|
|
48
|
+
preview_command: npx -y agentera@next upgrade --channel development --project "$PWD" --dry-run
|
|
49
|
+
apply_command: npx -y agentera@next upgrade --channel development --project "$PWD" --yes
|
|
50
|
+
irreversible_advisory: >-
|
|
51
|
+
Forward migration to the successor line is one-way; return to the prior
|
|
52
|
+
Python support line is permanently unsupported.
|
|
35
53
|
resolution:
|
|
36
54
|
npm:
|
|
37
55
|
dist_tag: latest
|
|
@@ -43,16 +61,36 @@ channels:
|
|
|
43
61
|
concept: v3_pre_release_line
|
|
44
62
|
definition: >-
|
|
45
63
|
Tracks 3.x alphas, betas, and release candidates for early adopters and
|
|
46
|
-
maintainers testing the npm self-contained distribution.
|
|
64
|
+
maintainers testing the npm self-contained TypeScript distribution. The
|
|
65
|
+
feat/v3 branch and v3 CLI are npm-only; v2→v3 is a one-way upgrade through
|
|
66
|
+
npx @next, not through uvx or git checkout installs.
|
|
47
67
|
distribution_major: 3
|
|
68
|
+
next_major:
|
|
69
|
+
concept: forward_successor_line
|
|
70
|
+
channel: development
|
|
71
|
+
version: "3.0.0"
|
|
72
|
+
announced: true
|
|
73
|
+
npm:
|
|
74
|
+
dist_tag: next
|
|
75
|
+
npm_only_advisory: >-
|
|
76
|
+
The v3 successor line is npm-only; opt in to v2→v3 migration through npx @next.
|
|
77
|
+
guide_url: >-
|
|
78
|
+
https://github.com/jgabor/agentera/blob/main/UPGRADE.md#upgrading-v2-to-v3-development-channel-irreversible
|
|
79
|
+
preview_command: npx -y agentera@next upgrade --channel development --project "$PWD" --dry-run
|
|
80
|
+
apply_command: npx -y agentera@next upgrade --channel development --project "$PWD" --yes
|
|
81
|
+
irreversible_advisory: >-
|
|
82
|
+
Forward migration to the v3 line is one-way; return to the prior
|
|
83
|
+
Python support line is permanently unsupported.
|
|
48
84
|
resolution:
|
|
49
85
|
npm:
|
|
50
86
|
dist_tag: next
|
|
51
87
|
update_command: npx -y agentera@next
|
|
52
88
|
git:
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
89
|
+
supported: false
|
|
90
|
+
reason: >-
|
|
91
|
+
feat/v3 has no Python packaging; development-channel CLI delivery is
|
|
92
|
+
npm-only. Stable-channel git/uvx remains the Python 2.x maintainer path
|
|
93
|
+
on @main.
|
|
56
94
|
override_precedence:
|
|
57
95
|
- cli_flag
|
|
58
96
|
- env_var
|
|
@@ -122,8 +160,8 @@ version_resolution:
|
|
|
122
160
|
latest_on_channel:
|
|
123
161
|
resolver: npm_dist_tag_with_offline_defaults
|
|
124
162
|
offline_defaults:
|
|
125
|
-
stable: "2.7.
|
|
126
|
-
development: "3.0.0
|
|
163
|
+
stable: "2.7.7"
|
|
164
|
+
development: "3.0.0"
|
|
127
165
|
irreversibility:
|
|
128
166
|
downgrade_to_v2: permanently_blocked
|
|
129
167
|
supported_downgrade_lines: []
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Upgrade repair wording
|
|
2
|
+
|
|
3
|
+
## Runtime migration boundary
|
|
4
|
+
|
|
5
|
+
Recognized v2-to-v3 project migration rewires existing Agentera v2 hook
|
|
6
|
+
configurations to the npm CLI and retires only proven Agentera-owned legacy hook
|
|
7
|
+
files. It does not copy or refresh plugins, agents, commands, or skill links.
|
|
8
|
+
|
|
9
|
+
Runtime lifecycle installation and remediation are separate. Apply requires an
|
|
10
|
+
explicit `--runtime` selector and `--yes`; declared ownership, collision
|
|
11
|
+
remediation, and convergent retry behavior remain governed by `UPGRADE.md`.
|
|
12
|
+
|
|
13
|
+
## v2 install track successor surfacing (#32)
|
|
14
|
+
|
|
15
|
+
When a **v2-classified** managed app-home (`install_track: v2`) runs the **v3 TypeScript
|
|
16
|
+
CLI** (`agentera doctor` / `agentera prime`), the next-major successor block must surface
|
|
17
|
+
the stable-line forward successor (`3.0.0` on the development channel) with the preview
|
|
18
|
+
command (`npx -y agentera@next upgrade --dry-run`) and the v2→v3 guide URL from
|
|
19
|
+
`references/cli/update-channels.yaml`. A v2 install must not be silently reported as
|
|
20
|
+
up to date against the v3 line.
|
|
21
|
+
|
|
22
|
+
| Surface | Branch | Behavior |
|
|
23
|
+
| --- | --- | --- |
|
|
24
|
+
| 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. |
|
|
25
|
+
| 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. |
|