agentera 3.0.0-dev.4 → 3.0.0-dev.41
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 +79 -22
- package/bundle/.agentera-npx-bundle.json +1 -1
- package/bundle/CHANGELOG.md +1261 -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-publication.json +43 -0
- package/bundle/references/adapters/package-registry.yaml +20 -188
- package/bundle/references/adapters/package-surface-characterization.md +59 -48
- 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 +518 -0
- package/bundle/references/analysis/startup-measurement-contract.yaml +37 -26
- package/bundle/references/analysis/verification-policy.yaml +143 -0
- package/bundle/references/artifacts/artifact-registry-interface-model.yaml +20 -10
- package/bundle/references/artifacts/glossary-entry-contract.yaml +1254 -0
- package/bundle/references/artifacts/state-storage-authority.yaml +2930 -0
- package/bundle/references/artifacts/verbosity-budget-authority.yaml +42 -0
- package/bundle/references/cli/agent-ready-state-contract.yaml +133 -71
- package/bundle/references/cli/app-lifecycle-vocabulary.yaml +7 -8
- package/bundle/references/cli/audience-namespace-cli-migration.yaml +73 -33
- 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 +701 -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 +35 -2
- 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 +341 -328
- package/bundle/references/meta/documentation-inventory.md +10 -3
- package/bundle/registry.json +14 -14
- package/bundle/skills/agentera/SKILL.md +202 -408
- 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 +37 -18
- package/bundle/skills/agentera/capabilities/build/schemas/artifacts.yaml +102 -0
- package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/exit.yaml +6 -5
- package/bundle/skills/agentera/capabilities/build/schemas/triggers.yaml +27 -0
- package/bundle/skills/agentera/capabilities/build/schemas/validation.yaml +176 -0
- 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 +51 -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/discuss/schemas/validation.yaml +144 -0
- 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 +66 -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 +121 -0
- package/bundle/skills/agentera/capabilities/profile/schemas/artifacts.yaml +23 -0
- package/bundle/skills/agentera/capabilities/{profilera → profile}/schemas/exit.yaml +6 -5
- package/bundle/skills/agentera/capabilities/profile/schemas/triggers.yaml +20 -0
- package/bundle/skills/agentera/capabilities/profile/schemas/validation.yaml +115 -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 +73 -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/glossary.yaml +82 -0
- 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 +419 -33
- package/bundle/skills/agentera/schemas/artifacts/progress.yaml +143 -53
- package/bundle/skills/agentera/schemas/artifacts/todo.yaml +343 -31
- 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 +604 -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/glossaryAdviceResolution.js +167 -0
- package/dist/analytics/glossaryAdviceResolution.js.map +1 -0
- package/dist/analytics/glossaryInputAcquisition.js +320 -0
- package/dist/analytics/glossaryInputAcquisition.js.map +1 -0
- package/dist/analytics/personalGlossaryAdmission.js +134 -0
- package/dist/analytics/personalGlossaryAdmission.js.map +1 -0
- package/dist/analytics/personalGlossaryProfile.js +220 -0
- package/dist/analytics/personalGlossaryProfile.js.map +1 -0
- package/dist/analytics/profileSignals.js +212 -0
- package/dist/analytics/profileSignals.js.map +1 -0
- package/dist/analytics/usageStats.js +169 -41
- package/dist/analytics/usageStats.js.map +1 -1
- package/dist/audit/terminologyDrift.js +282 -0
- package/dist/audit/terminologyDrift.js.map +1 -0
- package/dist/bin/agentera.js +3 -1
- package/dist/bin/agentera.js.map +1 -1
- package/dist/capabilities/audit/instructions.js +17 -0
- package/dist/capabilities/audit/instructions.js.map +1 -0
- package/dist/capabilities/build/instructions.js +57 -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 +30 -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 +15 -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 +33 -0
- package/dist/capabilities/plan/instructions.js.map +1 -0
- package/dist/capabilities/profile/instructions.js +71 -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 +12 -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 +565 -0
- package/dist/cli/capabilityContext/benchmark.js.map +1 -0
- package/dist/cli/capabilityContext/bespoke.js +45 -0
- package/dist/cli/capabilityContext/bespoke.js.map +1 -0
- package/dist/cli/capabilityContext/build.js +244 -0
- package/dist/cli/capabilityContext/build.js.map +1 -0
- package/dist/cli/capabilityContext/closeout.js +235 -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 +465 -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 +133 -0
- package/dist/cli/capabilityContext/orchestration.js.map +1 -0
- package/dist/cli/capabilityContext/planState.js +261 -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/projectVerification.js +410 -0
- package/dist/cli/capabilityContext/projectVerification.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 +278 -0
- package/dist/cli/capabilityContext/startup.js.map +1 -0
- package/dist/cli/capabilityContext/types.js +56 -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 +34 -99
- 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/glossaryAdvice.js +139 -0
- package/dist/cli/commands/glossaryAdvice.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/personalGlossary.js +177 -0
- package/dist/cli/commands/personalGlossary.js.map +1 -0
- package/dist/cli/commands/prime/briefOrientation.js +808 -0
- package/dist/cli/commands/prime/briefOrientation.js.map +1 -0
- package/dist/cli/commands/prime/buildExecutionRequest.js +165 -0
- package/dist/cli/commands/prime/buildExecutionRequest.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 +291 -0
- package/dist/cli/commands/prime/collectEntityOrientation.js.map +1 -0
- package/dist/cli/commands/prime/collectOrientationState.js +178 -0
- package/dist/cli/commands/prime/collectOrientationState.js.map +1 -0
- package/dist/cli/commands/prime/orientationOutput.js +377 -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 +96 -556
- package/dist/cli/commands/prime.js.map +1 -1
- package/dist/cli/commands/profileGrounding.js +56 -0
- package/dist/cli/commands/profileGrounding.js.map +1 -0
- package/dist/cli/commands/query.js +77 -52
- package/dist/cli/commands/query.js.map +1 -1
- package/dist/cli/commands/report.js +96 -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 +258 -105
- 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 +152 -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 +130 -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 +17 -0
- package/dist/cli/commands/state/index.js.map +1 -0
- package/dist/cli/commands/state/list.js +195 -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 +155 -0
- package/dist/cli/commands/state/planTasks.js.map +1 -0
- package/dist/cli/commands/state/plans.js +155 -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 +43 -0
- package/dist/cli/commands/state/todo.js.map +1 -0
- package/dist/cli/commands/state/write.js +425 -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 +173 -210
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/commands/verify.js +24 -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 +234 -0
- package/dist/cli/dispatch/index.js.map +1 -0
- package/dist/cli/dispatch/lifecycle.js +698 -0
- package/dist/cli/dispatch/lifecycle.js.map +1 -0
- package/dist/cli/dispatch/prime.js +140 -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 +141 -0
- package/dist/cli/dispatch/state.js.map +1 -0
- package/dist/cli/dispatch.js +1 -995
- 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 +356 -30
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/migrationRequired.js +89 -0
- package/dist/cli/migrationRequired.js.map +1 -0
- package/dist/cli/orientation/attention.js +72 -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 +443 -172
- 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 +36 -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 +70 -2
- package/dist/cli/prime-blob.js.map +1 -1
- package/dist/cli/profileAcquisition.js +168 -0
- package/dist/cli/profileAcquisition.js.map +1 -0
- package/dist/cli/startupCompletenessContract.js +60 -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 +47 -0
- package/dist/cli/todoMarkdown.js.map +1 -0
- package/dist/cli/todoReadinessSelection.js +192 -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/shell.js +5 -0
- package/dist/core/shell.js.map +1 -0
- 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 +547 -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 +79 -0
- package/dist/registries/artifactProtocolIds.js.map +1 -0
- package/dist/registries/artifactRegistry.js +224 -62
- package/dist/registries/artifactRegistry.js.map +1 -1
- package/dist/registries/artifactSchemaProjection.js +46 -0
- package/dist/registries/artifactSchemaProjection.js.map +1 -0
- 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 +372 -0
- package/dist/registries/evidenceTierContract.js.map +1 -0
- package/dist/registries/glossaryAdviceContract.js +79 -0
- package/dist/registries/glossaryAdviceContract.js.map +1 -0
- package/dist/registries/glossaryCaveatContract.js +68 -0
- package/dist/registries/glossaryCaveatContract.js.map +1 -0
- package/dist/registries/glossaryConsumerContractValidation.js +788 -0
- package/dist/registries/glossaryConsumerContractValidation.js.map +1 -0
- package/dist/registries/glossaryEntryContract.js +757 -0
- package/dist/registries/glossaryEntryContract.js.map +1 -0
- package/dist/registries/glossaryTermIdentity.js +18 -0
- package/dist/registries/glossaryTermIdentity.js.map +1 -0
- package/dist/registries/glossaryTermOccurrence.js +21 -0
- package/dist/registries/glossaryTermOccurrence.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 +449 -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 +24 -53
- package/dist/setup/smokeChecks.js.map +1 -1
- package/dist/state/archiveDiscovery.js +581 -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/changelog.js +222 -0
- package/dist/state/changelog.js.map +1 -0
- package/dist/state/decisionEntities.js +368 -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 +200 -0
- package/dist/state/decisionMigrationProvenance.js.map +1 -0
- package/dist/state/decisionOverlay.js +255 -0
- package/dist/state/decisionOverlay.js.map +1 -0
- package/dist/state/decisionRevision.js +257 -0
- package/dist/state/decisionRevision.js.map +1 -0
- package/dist/state/decisionRevisionMigration.js +90 -0
- package/dist/state/decisionRevisionMigration.js.map +1 -0
- package/dist/state/directRetrieval.js +324 -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/entityGlossaryAuthority.js +14 -0
- package/dist/state/entityGlossaryAuthority.js.map +1 -0
- package/dist/state/entityListProjection.js +188 -0
- package/dist/state/entityListProjection.js.map +1 -0
- package/dist/state/entityListRuntimeRegistry.js +50 -0
- package/dist/state/entityListRuntimeRegistry.js.map +1 -0
- package/dist/state/entityMigrationCausality.js +99 -0
- package/dist/state/entityMigrationCausality.js.map +1 -0
- package/dist/state/entityMigrationIdentity.js +6 -0
- package/dist/state/entityMigrationIdentity.js.map +1 -0
- package/dist/state/entityMigrationPreview.js +884 -0
- package/dist/state/entityMigrationPreview.js.map +1 -0
- package/dist/state/entityPublicationContext.js +807 -0
- package/dist/state/entityPublicationContext.js.map +1 -0
- package/dist/state/entityRetrievalHelp.js +476 -0
- package/dist/state/entityRetrievalHelp.js.map +1 -0
- package/dist/state/entityStorage.js +897 -0
- package/dist/state/entityStorage.js.map +1 -0
- package/dist/state/exactReplacementRecovery.js +19 -0
- package/dist/state/exactReplacementRecovery.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/healthEntities.js +263 -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 +782 -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 +531 -0
- package/dist/state/planEntities.js.map +1 -0
- package/dist/state/planIdentity.js +48 -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 +295 -0
- package/dist/state/planTaskRetrieval.js.map +1 -0
- package/dist/state/progressEntities.js +513 -0
- package/dist/state/progressEntities.js.map +1 -0
- package/dist/state/progressGlossaryCaveat.js +169 -0
- package/dist/state/progressGlossaryCaveat.js.map +1 -0
- package/dist/state/progressPublicationOrder.js +20 -0
- package/dist/state/progressPublicationOrder.js.map +1 -0
- package/dist/state/projectRoot.js +63 -0
- package/dist/state/projectRoot.js.map +1 -0
- package/dist/state/projectionPolicy.js +191 -0
- package/dist/state/projectionPolicy.js.map +1 -0
- package/dist/state/retrievalAuthority.js +157 -0
- package/dist/state/retrievalAuthority.js.map +1 -0
- package/dist/state/safeProjectFile.js +156 -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 +499 -0
- package/dist/state/startupProjection.js.map +1 -0
- package/dist/state/stateMode.js +86 -0
- package/dist/state/stateMode.js.map +1 -0
- package/dist/state/stateStorageAuthority.js +48 -0
- package/dist/state/stateStorageAuthority.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 +986 -0
- package/dist/state/todoDocsEntities.js.map +1 -0
- package/dist/state/todoDocsEntityValidation.js +159 -0
- package/dist/state/todoDocsEntityValidation.js.map +1 -0
- package/dist/state/todoReconciliationActivation.js +63 -0
- package/dist/state/todoReconciliationActivation.js.map +1 -0
- package/dist/state/todoReconciliationTransaction.js +554 -0
- package/dist/state/todoReconciliationTransaction.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 +270 -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 +333 -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/glossaryPublication.js +264 -0
- package/dist/state/write/glossaryPublication.js.map +1 -0
- package/dist/state/write/grammar.js +271 -0
- package/dist/state/write/grammar.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 +13 -0
- package/dist/state/write/index.js.map +1 -0
- package/dist/state/write/input.js +368 -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 +170 -0
- package/dist/state/write/operations.js.map +1 -0
- package/dist/state/write/planEvaluation.js +129 -0
- package/dist/state/write/planEvaluation.js.map +1 -0
- package/dist/state/write/planPublication.js +180 -0
- package/dist/state/write/planPublication.js.map +1 -0
- package/dist/state/write/runtimeOperations.js +65 -0
- package/dist/state/write/runtimeOperations.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 +53 -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 +12 -7
- 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 +217 -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 +15 -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/v1LegacyCruft.js +141 -0
- package/dist/validate/v1LegacyCruft.js.map +1 -0
- package/dist/validate/vocabularyAuthority.js +305 -0
- package/dist/validate/vocabularyAuthority.js.map +1 -0
- package/package.json +46 -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/artifacts.yaml +0 -18
- 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/realisera/schemas/validation.yaml +0 -110
- 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/resonera/schemas/validation.yaml +0 -77
- 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 -1297
- 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
|
@@ -0,0 +1,518 @@
|
|
|
1
|
+
schema_version: agentera.evidenceTierAuthority.v1
|
|
2
|
+
status: active_authority
|
|
3
|
+
purpose: >-
|
|
4
|
+
Define the authoritative tier model for local agent-history evidence so that
|
|
5
|
+
bounded consumers receive useful analysis at realistic corpus scale instead
|
|
6
|
+
of degrading solely because complete local evidence exceeds a single-reader
|
|
7
|
+
limit. The contract fixes the tiers, supported source families, the consumer
|
|
8
|
+
map, the required signal semantics, and the deterministic compatibility
|
|
9
|
+
outcomes for oversized, legacy, missing, corrupt, and incomplete state. It is
|
|
10
|
+
the single source of truth for what every bounded input contract must supply.
|
|
11
|
+
|
|
12
|
+
authority:
|
|
13
|
+
source: references/analysis/evidence-tier-authority.yaml
|
|
14
|
+
single_source_rule: >-
|
|
15
|
+
Extraction, readers, validators, tests, help, and capability source
|
|
16
|
+
contracts may project this authority but must not create a second map of
|
|
17
|
+
tiers, source families, consumer required fields, signal semantics,
|
|
18
|
+
compatibility outcomes, or evidence bounds. A consumer that needs a field
|
|
19
|
+
declares it here; a field declared here is the only name a consumer may
|
|
20
|
+
require from a bounded tier.
|
|
21
|
+
implementation_boundary: >-
|
|
22
|
+
This contract defines and verifies the tier model, source coverage, signal
|
|
23
|
+
semantics, consumer field supply, and compatibility outcomes. It does not
|
|
24
|
+
implement the complete extraction writer, migrate consumers to bounded
|
|
25
|
+
tiers, change profile levels, generate a glossary, or alter suite version
|
|
26
|
+
metadata. Tasks 2 through 4 of the approved plan implement publication,
|
|
27
|
+
consumer migration, and bounded profile synthesis against this contract.
|
|
28
|
+
|
|
29
|
+
decision_55_reconciliation:
|
|
30
|
+
decision_number: 55
|
|
31
|
+
date: 2026-05-17
|
|
32
|
+
preserved_intent: >-
|
|
33
|
+
Decision 55 established `agentera stats` as the user-facing analytics
|
|
34
|
+
workflow, forbade a top-level `agentera corpus` command, bound local
|
|
35
|
+
history to explicit consent, and wrote the internal corpus to a single
|
|
36
|
+
`$AGENTERA_PROFILE_DIR/intermediate/corpus.json` envelope. The intent
|
|
37
|
+
survives: analytics remain behind `agentera stats`/`agentera usage`, no
|
|
38
|
+
`agentera corpus` namespace is introduced, and local-history extraction
|
|
39
|
+
remains consent-bound and read-only.
|
|
40
|
+
superseded_surface: >-
|
|
41
|
+
The single monolithic `corpus.json` envelope is superseded by the tier
|
|
42
|
+
model below. Complete local evidence is retained as independently bounded
|
|
43
|
+
shards; a derived bounded signal view replaces the monolithic record array
|
|
44
|
+
as the analytic input. Decision history itself is not rewritten: the
|
|
45
|
+
decision record stands as adopted, and this reconciliation is recorded in
|
|
46
|
+
the tier authority rather than by editing the decision.
|
|
47
|
+
non_goal: >-
|
|
48
|
+
Do not rewrite, renumber, or restate Decision 55's adopted text. Do not
|
|
49
|
+
introduce `agentera corpus` or any new top-level analytics command.
|
|
50
|
+
|
|
51
|
+
tiers:
|
|
52
|
+
full_evidence:
|
|
53
|
+
tier_id: full_evidence
|
|
54
|
+
rank: 1
|
|
55
|
+
definition: >-
|
|
56
|
+
Complete local evidence retained as independently bounded shards. Every
|
|
57
|
+
record ever extracted from a supported source is addressable here; nothing
|
|
58
|
+
is dropped to fit a reader limit. Each shard is independently bounded so a
|
|
59
|
+
single oversized shard cannot poison the whole tier.
|
|
60
|
+
stored_fields:
|
|
61
|
+
required:
|
|
62
|
+
- source_id
|
|
63
|
+
- source_kind
|
|
64
|
+
- timestamp
|
|
65
|
+
- project_id
|
|
66
|
+
- runtime
|
|
67
|
+
- source_class
|
|
68
|
+
- source_product
|
|
69
|
+
- active_runtime
|
|
70
|
+
- adapter_version
|
|
71
|
+
- data
|
|
72
|
+
optional:
|
|
73
|
+
- project_path
|
|
74
|
+
- session_id
|
|
75
|
+
- conversation_key
|
|
76
|
+
source_identity_rule: >-
|
|
77
|
+
`source_id` is the stable, content-addressable identity of one full
|
|
78
|
+
record. It is derived deterministically from source kind and source parts
|
|
79
|
+
and must resolve to exactly one retained full-evidence shard. No other
|
|
80
|
+
tier may invent identities that do not resolve here.
|
|
81
|
+
completeness_rule: >-
|
|
82
|
+
The union of full-evidence shards is the lossless local history for the
|
|
83
|
+
selected source scope. Consumers that need an entire record read it here;
|
|
84
|
+
consumers that need only a derived view read the signal tier instead.
|
|
85
|
+
signal:
|
|
86
|
+
tier_id: signal
|
|
87
|
+
rank: 2
|
|
88
|
+
definition: >-
|
|
89
|
+
A reproducible, bounded, derived view of the full-evidence tier. It
|
|
90
|
+
carries only the fields each declared consumer needs plus a resolvable
|
|
91
|
+
evidence anchor back to full evidence. It is small enough to load under
|
|
92
|
+
the reader bound even when the full-evidence tier is hundreds of
|
|
93
|
+
megabytes.
|
|
94
|
+
stored_fields:
|
|
95
|
+
required:
|
|
96
|
+
- source_id
|
|
97
|
+
- source_kind
|
|
98
|
+
- signal_type
|
|
99
|
+
- timestamp
|
|
100
|
+
- project_id
|
|
101
|
+
- runtime
|
|
102
|
+
- source_product
|
|
103
|
+
- evidence_anchor
|
|
104
|
+
optional:
|
|
105
|
+
- conversation_key
|
|
106
|
+
- session_id
|
|
107
|
+
derivation_rule: >-
|
|
108
|
+
The signal tier is a pure function of the full-evidence tier: identical
|
|
109
|
+
inputs produce identical signal membership and ordering. It never stores
|
|
110
|
+
transcript text, raw tool arguments, raw store paths, or raw session ids
|
|
111
|
+
beyond what a declared consumer requires with provenance visible.
|
|
112
|
+
evidence_anchor_rule: >-
|
|
113
|
+
Every signal record carries `evidence_anchor` resolving to the
|
|
114
|
+
`source_id` of exactly one retained full-evidence shard. A bounded
|
|
115
|
+
consumer that needs the full record follows the anchor; it must not
|
|
116
|
+
re-scan unbounded history.
|
|
117
|
+
|
|
118
|
+
source_families:
|
|
119
|
+
coverage_rule: >-
|
|
120
|
+
The supported source families are fixed. A source family is either supplied
|
|
121
|
+
by an active runtime or imported as historical Claude history. No supported
|
|
122
|
+
family may be silently omitted from the contract, the coverage audit, or
|
|
123
|
+
the compatibility evaluation. An unavailable family reports a deterministic
|
|
124
|
+
discovery status; it is never absent from the map.
|
|
125
|
+
families:
|
|
126
|
+
codex:
|
|
127
|
+
source_class: active_runtime
|
|
128
|
+
source_product: codex
|
|
129
|
+
active_runtime: true
|
|
130
|
+
accepted_input: JSONL session/turn/response_item and tool_call records
|
|
131
|
+
store_glob: "*.jsonl"
|
|
132
|
+
cursor:
|
|
133
|
+
source_class: active_runtime
|
|
134
|
+
source_products:
|
|
135
|
+
- cursor
|
|
136
|
+
- cursor-agent
|
|
137
|
+
active_runtime: true
|
|
138
|
+
accepted_input: >-
|
|
139
|
+
Cursor project JSONL sessions and Cursor Agent CLI store.db SQLite
|
|
140
|
+
conversations. cursor-agent is a Cursor source product, never a
|
|
141
|
+
separate runtime identity.
|
|
142
|
+
store_glob: "*.jsonl"
|
|
143
|
+
opencode:
|
|
144
|
+
source_class: active_runtime
|
|
145
|
+
source_product: opencode
|
|
146
|
+
active_runtime: true
|
|
147
|
+
accepted_input: SQLite opencode.db with session, message, and part tables
|
|
148
|
+
store_glob: opencode.db
|
|
149
|
+
copilot:
|
|
150
|
+
source_class: active_runtime
|
|
151
|
+
source_product: github-copilot
|
|
152
|
+
active_runtime: true
|
|
153
|
+
accepted_input: SQLite session-store.db with conversation message rows
|
|
154
|
+
store_glob: session-store.db
|
|
155
|
+
claude-code:
|
|
156
|
+
source_class: historical_import
|
|
157
|
+
source_product: claude-code
|
|
158
|
+
active_runtime: false
|
|
159
|
+
inclusion_rule: >-
|
|
160
|
+
Explicit `--import-source claude` only. Excluded from default
|
|
161
|
+
active-runtime metrics and never described as runtime health, Claude
|
|
162
|
+
support, or active-runtime coverage.
|
|
163
|
+
accepted_input: JSONL project session files with user/assistant and tool_use events
|
|
164
|
+
store_glob: "*.jsonl"
|
|
165
|
+
filesystem_substrate:
|
|
166
|
+
note: >-
|
|
167
|
+
instruction_document and project_config_signal records are extracted
|
|
168
|
+
from the project filesystem (AGENTS.md, package manifests, config files).
|
|
169
|
+
They are source kinds, not runtime families, and follow source identity
|
|
170
|
+
and bounds rules like any other record.
|
|
171
|
+
|
|
172
|
+
signal_semantics:
|
|
173
|
+
fixed_taxonomy_rule: >-
|
|
174
|
+
The signal semantics below are fixed. Current profile and personal-glossary
|
|
175
|
+
consumers depend on their meaning. A semantic kind present here must remain
|
|
176
|
+
derivable from a bounded signal record without restoring unbounded
|
|
177
|
+
transcript content.
|
|
178
|
+
kinds:
|
|
179
|
+
correction:
|
|
180
|
+
meaning: >-
|
|
181
|
+
A user signal that revises a prior position ("no", "not quite",
|
|
182
|
+
"actually", "instead"). Used to detect decision drift and overrides.
|
|
183
|
+
derivable_from: history_prompt and conversation_turn records
|
|
184
|
+
consumer: glossary
|
|
185
|
+
decision:
|
|
186
|
+
meaning: >-
|
|
187
|
+
A decision-bearing signal (decide, prefer, trade-off, scope, approve,
|
|
188
|
+
reject). The primary profile-synthesis input.
|
|
189
|
+
derivable_from: history_prompt and conversation_turn records
|
|
190
|
+
consumer: glossary
|
|
191
|
+
current_consumer: profile_synthesis
|
|
192
|
+
question:
|
|
193
|
+
meaning: >-
|
|
194
|
+
An interrogative signal ("why", "how", "should", or a "?"). Surfaces
|
|
195
|
+
uncertainty and information-gathering intent.
|
|
196
|
+
derivable_from: history_prompt and conversation_turn records
|
|
197
|
+
consumer: glossary
|
|
198
|
+
instruction:
|
|
199
|
+
meaning: >-
|
|
200
|
+
Explicit user-authored instructions (AGENTS.md and project memory
|
|
201
|
+
documents). The highest-signal, most durable evidence.
|
|
202
|
+
derivable_from: instruction_document records
|
|
203
|
+
consumer: glossary
|
|
204
|
+
current_consumer: profile_synthesis
|
|
205
|
+
configuration:
|
|
206
|
+
meaning: >-
|
|
207
|
+
Recurring config patterns across projects (manifest names, scripts,
|
|
208
|
+
dependencies, build/tool config). Objective evidence of what shipped.
|
|
209
|
+
derivable_from: project_config_signal records
|
|
210
|
+
consumer: glossary
|
|
211
|
+
current_consumer: profile_synthesis
|
|
212
|
+
record_identity:
|
|
213
|
+
meaning: >-
|
|
214
|
+
The stable, addressable identity (`source_id`) of one full record. Lets
|
|
215
|
+
any consumer cite evidence without retaining its content.
|
|
216
|
+
derivable_from: every record's source_id
|
|
217
|
+
consumer: glossary
|
|
218
|
+
date:
|
|
219
|
+
meaning: >-
|
|
220
|
+
The record timestamp anchoring evidence in time. Drives decay,
|
|
221
|
+
recency, and watermark windows.
|
|
222
|
+
derivable_from: every record's timestamp field
|
|
223
|
+
consumer: glossary
|
|
224
|
+
evidence_anchor:
|
|
225
|
+
meaning: >-
|
|
226
|
+
The resolvable link from a bounded signal record back to exactly one
|
|
227
|
+
retained full-evidence shard. Guarantees that bounded analysis never
|
|
228
|
+
severs the citation chain.
|
|
229
|
+
derivable_from: signal record evidence_anchor -> full_evidence source_id
|
|
230
|
+
consumer: glossary
|
|
231
|
+
preservation_rule: >-
|
|
232
|
+
Fixing the contract must not remove the required meaning of any kind above
|
|
233
|
+
from current consumers. Personal glossary synthesis is named here because it
|
|
234
|
+
actively consumes these bounded-history fields and semantics.
|
|
235
|
+
|
|
236
|
+
consumer_map:
|
|
237
|
+
supply_rule: >-
|
|
238
|
+
Each supported consumer maps to exactly one bounded input contract that
|
|
239
|
+
supplies every required field with source identity. The input tier is the
|
|
240
|
+
smallest sufficient tier; consumers that need full records read
|
|
241
|
+
full_evidence, others read signal. No consumer may require a field not
|
|
242
|
+
declared in its input contract.
|
|
243
|
+
consumers:
|
|
244
|
+
usage_stats:
|
|
245
|
+
tier: signal
|
|
246
|
+
purpose: Skill-invocation analytics and USAGE.md reporting
|
|
247
|
+
required_fields:
|
|
248
|
+
- source_kind
|
|
249
|
+
- timestamp
|
|
250
|
+
- project_id
|
|
251
|
+
- runtime
|
|
252
|
+
- source_product
|
|
253
|
+
source_identity: source_id with source_product provenance
|
|
254
|
+
input_contract: signal tier conversation_turn projection
|
|
255
|
+
report_status:
|
|
256
|
+
tier: signal
|
|
257
|
+
purpose: Truthful corpus/coverage status (missing, stale, available)
|
|
258
|
+
required_fields:
|
|
259
|
+
- source_kind
|
|
260
|
+
- source_product
|
|
261
|
+
source_identity: tier presence and discovery status per source family
|
|
262
|
+
input_contract: signal tier metadata projection
|
|
263
|
+
prime_coverage:
|
|
264
|
+
tier: signal
|
|
265
|
+
purpose: Prime startup coverage of supported sources and selected scope
|
|
266
|
+
required_fields:
|
|
267
|
+
- runtime
|
|
268
|
+
- source_product
|
|
269
|
+
- source_class
|
|
270
|
+
- active_runtime
|
|
271
|
+
source_identity: available/selected/skipped per source family
|
|
272
|
+
input_contract: signal tier coverage projection
|
|
273
|
+
startup_analysis:
|
|
274
|
+
tier: signal
|
|
275
|
+
purpose: >-
|
|
276
|
+
Latent startup-analysis reader measuring state-gathering overhead. Reads
|
|
277
|
+
conversation_turn and tool_call signals; full tool arguments stay in
|
|
278
|
+
full_evidence.
|
|
279
|
+
required_fields:
|
|
280
|
+
- source_kind
|
|
281
|
+
- timestamp
|
|
282
|
+
- runtime
|
|
283
|
+
- source_class
|
|
284
|
+
- source_product
|
|
285
|
+
- evidence_anchor
|
|
286
|
+
source_identity: source_id and evidence_anchor to full evidence
|
|
287
|
+
input_contract: signal tier conversation_turn + tool_call projection
|
|
288
|
+
profile_synthesis:
|
|
289
|
+
tier: signal
|
|
290
|
+
purpose: Current profile synthesis (PROFILE.md) from bounded signals
|
|
291
|
+
required_fields:
|
|
292
|
+
- source_kind
|
|
293
|
+
- signal_type
|
|
294
|
+
- timestamp
|
|
295
|
+
- project_id
|
|
296
|
+
- runtime
|
|
297
|
+
- source_product
|
|
298
|
+
- evidence_anchor
|
|
299
|
+
source_identity: source_id and evidence_anchor for every synthesized claim
|
|
300
|
+
input_contract: signal tier instruction/decision/question/config projection
|
|
301
|
+
semantic_consumers:
|
|
302
|
+
glossary:
|
|
303
|
+
tier: signal
|
|
304
|
+
status: active
|
|
305
|
+
input_scope: bounded_personal_history
|
|
306
|
+
excluded_evidence_classes: [project_file]
|
|
307
|
+
required_semantics:
|
|
308
|
+
- correction
|
|
309
|
+
- decision
|
|
310
|
+
- question
|
|
311
|
+
- instruction
|
|
312
|
+
- configuration
|
|
313
|
+
- record_identity
|
|
314
|
+
- date
|
|
315
|
+
- evidence_anchor
|
|
316
|
+
rule: >-
|
|
317
|
+
Personal glossary synthesis actively consumes bounded personal-history
|
|
318
|
+
signals. Project-file provenance remains repository evidence under the
|
|
319
|
+
shared glossary ownership contract and is never represented as retained-
|
|
320
|
+
history evidence. Implementations must not drop a required semantic or
|
|
321
|
+
remove the field that carries it.
|
|
322
|
+
|
|
323
|
+
profile_sufficiency:
|
|
324
|
+
question: >-
|
|
325
|
+
Does bounded profile synthesis preserve useful evidence distribution
|
|
326
|
+
compared with the current full-corpus intent? (planning Unknown 2)
|
|
327
|
+
profile_signal_types:
|
|
328
|
+
- decision
|
|
329
|
+
- question
|
|
330
|
+
- correction
|
|
331
|
+
- instruction
|
|
332
|
+
- configuration
|
|
333
|
+
prior_intended_distribution: >-
|
|
334
|
+
The prior intended distribution is the complete set of profile-relevant
|
|
335
|
+
signals (the profile_signal_types above) across all supported source
|
|
336
|
+
families, mirroring what a full-corpus read would have surfaced before
|
|
337
|
+
tiering. The signal tier's derivation is total when no cap is applied:
|
|
338
|
+
every full-evidence record yields exactly one signal, so the bounded and
|
|
339
|
+
intended distributions are identical. The comparison below is the safety
|
|
340
|
+
net that detects when signal selection reduces a family below a useful
|
|
341
|
+
threshold.
|
|
342
|
+
threshold_rule: >-
|
|
343
|
+
Profile synthesis is sufficient when the signal tier is uncapped (retained
|
|
344
|
+
== total) or every profile-relevant source family retains at least the
|
|
345
|
+
minimum representative fraction of its intended decision-bearing signals.
|
|
346
|
+
A family with zero intended signals is not a sufficiency violation; a
|
|
347
|
+
family with intended signals that retains none is.
|
|
348
|
+
minimum_family_retention: 0.5
|
|
349
|
+
minimum_family_retention_note: >-
|
|
350
|
+
The minimum per-family retention is 0.5 (half of the family's intended
|
|
351
|
+
profile-relevant signals). Below this, a family is underrepresented and
|
|
352
|
+
profile synthesis must surface the limitation rather than silently reduce
|
|
353
|
+
confidence for that family's contributions. The threshold is deliberately
|
|
354
|
+
lenient because proportional-per-family selection already preserves the
|
|
355
|
+
relative distribution; the check exists to catch a cap severe enough to
|
|
356
|
+
distort a family's evidence below a useful floor.
|
|
357
|
+
insufficiency_rule: >-
|
|
358
|
+
When insufficient, profile synthesis surfaces the underrepresented families
|
|
359
|
+
with their retained and intended counts, caps confidence for affected
|
|
360
|
+
categories to the single-signal band (CS4, 30-49) or below, and never
|
|
361
|
+
fabricates high-confidence claims from sparse or missing evidence. The
|
|
362
|
+
limitation is reported in the profile output and exit signal, not silently
|
|
363
|
+
absorbed.
|
|
364
|
+
derivation: >-
|
|
365
|
+
Resolves planning Unknown 2. The comparison is reproducible: identical
|
|
366
|
+
full evidence yields an identical sufficiency assessment because signal
|
|
367
|
+
derivation and selection are deterministic (Unknown 1). The prior
|
|
368
|
+
intended distribution is reconstructed from the signal tier's selection
|
|
369
|
+
report (total per family) and the retained distribution from the published
|
|
370
|
+
signal records (retained per family), so the comparison needs no separate
|
|
371
|
+
full-corpus read.
|
|
372
|
+
|
|
373
|
+
bounds:
|
|
374
|
+
reader_byte_cap: 67108864
|
|
375
|
+
reader_byte_cap_note: >-
|
|
376
|
+
64 MiB. Existing bounded readers cap monolithic reads at this size and
|
|
377
|
+
safely degrade. The tier model replaces "safely degrade" with "useful
|
|
378
|
+
analysis" by feeding consumers bounded tiers that fit under this cap even
|
|
379
|
+
when complete local evidence is hundreds of megabytes.
|
|
380
|
+
shard_bound_rule: >-
|
|
381
|
+
Each full-evidence shard is independently bounded. A single oversized shard
|
|
382
|
+
is reported and recoverable; it cannot make the whole tier unloadable.
|
|
383
|
+
shard_byte_cap: 67108864
|
|
384
|
+
shard_byte_cap_note: >-
|
|
385
|
+
A full-evidence shard encodes no more than `reader_byte_cap` bytes. Shards
|
|
386
|
+
are grouped by source family; when a family's encoded records exceed the
|
|
387
|
+
cap the family is split into numbered sub-shards so no shard exceeds it and
|
|
388
|
+
no record is dropped. This is the measured bound a bounded reader loads.
|
|
389
|
+
signal_bound_rule: >-
|
|
390
|
+
The signal tier is bounded to fit under the reader cap. Selection must
|
|
391
|
+
preserve representative evidence across all supported sources rather than
|
|
392
|
+
silently truncating one source.
|
|
393
|
+
signal_byte_cap: 67108864
|
|
394
|
+
signal_byte_cap_note: >-
|
|
395
|
+
The whole signal tier encodes no more than `reader_byte_cap` bytes. A signal
|
|
396
|
+
record carries only the contract's required fields plus `evidence_anchor` and
|
|
397
|
+
no transcript text, raw tool arguments, or raw store paths; measured
|
|
398
|
+
per-record size is far below the cap for realistic corpora, so the natural
|
|
399
|
+
outcome is to retain every derived signal. The selection below is the
|
|
400
|
+
deterministic safety net that keeps the bound when a real-scale corpus would
|
|
401
|
+
otherwise exceed it.
|
|
402
|
+
signal_selection:
|
|
403
|
+
rule: >-
|
|
404
|
+
Applied only when the derived signal tier exceeds `signal_byte_cap`. The
|
|
405
|
+
derivation is otherwise total: identical full evidence yields identical
|
|
406
|
+
signal membership and ordering.
|
|
407
|
+
algorithm: >-
|
|
408
|
+
Group derived signal records by source family. Allocate a per-family record
|
|
409
|
+
quota proportional to that family's share of the total record count, with a
|
|
410
|
+
minimum of one record per family so no supported source is silently
|
|
411
|
+
truncated to zero. Within each family, keep the most recent records first
|
|
412
|
+
(timestamp descending, then `source_id` ascending as the deterministic
|
|
413
|
+
tie-break). Reassemble the kept records in the stable tier order
|
|
414
|
+
(timestamp ascending, then `source_id` ascending). The generation identity
|
|
415
|
+
is derived from the retained membership so identical input reproduces an
|
|
416
|
+
identical selected tier.
|
|
417
|
+
derivation: >-
|
|
418
|
+
Resolves planning Unknown 1. The bound is the existing reader cap reused as
|
|
419
|
+
the signal cap because a bounded consumer must load the whole signal tier in
|
|
420
|
+
one read. Proportional-per-family selection preserves the relative evidence
|
|
421
|
+
distribution across all supported sources; recency-within-family preserves
|
|
422
|
+
the most decision-relevant signals; the fixed `(timestamp, source_id)`
|
|
423
|
+
ordering makes membership and ordering reproducible.
|
|
424
|
+
real_scale_acknowledgement: >-
|
|
425
|
+
Real corpora exceed 500 MB. The goal is useful analysis, not merely
|
|
426
|
+
graceful failure; bounded tiers exist so consumers analyze real scale
|
|
427
|
+
rather than reporting unavailable or stale results.
|
|
428
|
+
|
|
429
|
+
compatibility_states:
|
|
430
|
+
determinism_rule: >-
|
|
431
|
+
Every compatibility state has a fixed status, reason, recovery action, and
|
|
432
|
+
outcome. Recovery is actionable: it names the command or correction that
|
|
433
|
+
restores useful analysis. outcomes are limited to `recover` and `degrade`;
|
|
434
|
+
a `degrade` outcome must keep provenance visible and never fabricate
|
|
435
|
+
coverage. These outcomes are covered by passing and failing checks.
|
|
436
|
+
states:
|
|
437
|
+
oversized:
|
|
438
|
+
trigger: A full-evidence shard or legacy monolithic corpus exceeds the reader cap.
|
|
439
|
+
status: stale
|
|
440
|
+
reason: oversized
|
|
441
|
+
outcome: degrade
|
|
442
|
+
recovery: >-
|
|
443
|
+
Refresh bounded tiers with `agentera stats refresh --consent
|
|
444
|
+
local-history` or read the signal tier, which is bounded to fit. Do not
|
|
445
|
+
attempt to load the oversized artifact whole.
|
|
446
|
+
determinism: >-
|
|
447
|
+
Size is computed before read; the artifact is never partially loaded.
|
|
448
|
+
The signal tier remains usable.
|
|
449
|
+
legacy:
|
|
450
|
+
trigger: >-
|
|
451
|
+
A pre-tiering monolithic corpus.json exists but no bounded tiers have
|
|
452
|
+
been published.
|
|
453
|
+
status: stale
|
|
454
|
+
reason: legacy_monolithic_state
|
|
455
|
+
outcome: degrade
|
|
456
|
+
recovery: >-
|
|
457
|
+
Emit deterministic refresh guidance: run `agentera stats refresh
|
|
458
|
+
--consent local-history` to publish bounded tiers. Legacy monolithic
|
|
459
|
+
state receives refresh guidance rather than indefinite read
|
|
460
|
+
compatibility.
|
|
461
|
+
determinism: >-
|
|
462
|
+
Legacy state is detected by envelope shape and missing tier markers; it
|
|
463
|
+
is never silently treated as current.
|
|
464
|
+
missing:
|
|
465
|
+
trigger: No evidence artifact or tier exists at the resolved path.
|
|
466
|
+
status: missing
|
|
467
|
+
reason: no_evidence
|
|
468
|
+
outcome: degrade
|
|
469
|
+
recovery: >-
|
|
470
|
+
Report `agentera stats refresh --consent local-history` and the
|
|
471
|
+
`--corpus PATH` override. Must not auto-build, scan home directories, or
|
|
472
|
+
run live extraction without consent.
|
|
473
|
+
determinism: >-
|
|
474
|
+
Missing is reported as a concrete status with a path, never as an empty
|
|
475
|
+
success.
|
|
476
|
+
corrupt:
|
|
477
|
+
trigger: An artifact exists but is not readable JSON or fails schema validation.
|
|
478
|
+
status: stale
|
|
479
|
+
reason: unreadable_or_schema_divergent
|
|
480
|
+
outcome: degrade
|
|
481
|
+
recovery: >-
|
|
482
|
+
Refresh from source history. If a single shard is corrupt, the other
|
|
483
|
+
shards and the signal tier remain usable; only the corrupt shard is
|
|
484
|
+
flagged.
|
|
485
|
+
determinism: >-
|
|
486
|
+
Parse errors are caught per artifact/shard and reported with the
|
|
487
|
+
failing reason; one corrupt shard cannot crash tier reads.
|
|
488
|
+
incomplete:
|
|
489
|
+
trigger: >-
|
|
490
|
+
Tiers exist but a supported source family is unavailable, skipped
|
|
491
|
+
without acceptance, or extracted zero records.
|
|
492
|
+
status: flagged
|
|
493
|
+
reason: coverage_gap_or_sparse
|
|
494
|
+
outcome: degrade
|
|
495
|
+
recovery: >-
|
|
496
|
+
Surface the skipped/sparse family with its reason. Available skipped
|
|
497
|
+
sources require explicit `--accept-coverage-gap`; sparse (zero-record)
|
|
498
|
+
extraction is distinct from schema divergence.
|
|
499
|
+
determinism: >-
|
|
500
|
+
Coverage gaps and sparse extraction are reported per family with
|
|
501
|
+
discovery status; none is silently omitted.
|
|
502
|
+
|
|
503
|
+
scope:
|
|
504
|
+
in_scope:
|
|
505
|
+
- Tier contract definition, source coverage, consumer field supply.
|
|
506
|
+
- Signal semantics reservation for current and deferred consumers.
|
|
507
|
+
- Compatibility state definitions and deterministic recovery outcomes.
|
|
508
|
+
- Small contract-model code and focused tests making invariants executable.
|
|
509
|
+
out_of_scope:
|
|
510
|
+
- Complete extraction writer implementation.
|
|
511
|
+
- Migration of all consumers to bounded tiers.
|
|
512
|
+
- Bounded profile synthesis runtime.
|
|
513
|
+
- Glossary implementation.
|
|
514
|
+
- Profile level selection.
|
|
515
|
+
- Suite version bump, release, or publish.
|
|
516
|
+
version_constraint: >-
|
|
517
|
+
Suite and version metadata remain at 3.0.0. This contract does not bump,
|
|
518
|
+
release, or publish anything.
|
|
@@ -15,7 +15,7 @@ boundary:
|
|
|
15
15
|
rule: include records with timestamps strictly after committed_at
|
|
16
16
|
|
|
17
17
|
section_22_compatibility:
|
|
18
|
-
consumes_adapter_version: agentera-
|
|
18
|
+
consumes_adapter_version: agentera-v3-corpus-2
|
|
19
19
|
required_record_families:
|
|
20
20
|
- conversation_turn
|
|
21
21
|
- tool_call
|
|
@@ -39,7 +39,9 @@ benchmark_execution:
|
|
|
39
39
|
live_host_checks: forbidden_by_default
|
|
40
40
|
runtime_path_approval: >-
|
|
41
41
|
Running mage bench:startupState authorizes inspection of the documented
|
|
42
|
-
default runtime stores for codex,
|
|
42
|
+
default active-runtime stores for codex, cursor, opencode, and copilot.
|
|
43
|
+
Claude history is excluded unless the caller separately supplies
|
|
44
|
+
--import-source claude with its concrete local path.
|
|
43
45
|
Custom runtime history sources must be supplied as exact runtime labels and
|
|
44
46
|
concrete filesystem paths. A generic consent flag or runtime label without
|
|
45
47
|
its concrete path is insufficient for custom sources.
|
|
@@ -59,10 +61,10 @@ benchmark_execution:
|
|
|
59
61
|
|
|
60
62
|
runtime_extraction_contract:
|
|
61
63
|
supported_runtime_order:
|
|
62
|
-
- codex
|
|
63
|
-
- claude-code
|
|
64
64
|
- opencode
|
|
65
|
-
-
|
|
65
|
+
- codex
|
|
66
|
+
- cursor
|
|
67
|
+
- copilot
|
|
66
68
|
normalized_record_fields:
|
|
67
69
|
required:
|
|
68
70
|
- source_id
|
|
@@ -70,6 +72,9 @@ runtime_extraction_contract:
|
|
|
70
72
|
- project_id
|
|
71
73
|
- source_kind
|
|
72
74
|
- runtime
|
|
75
|
+
- source_class
|
|
76
|
+
- source_product
|
|
77
|
+
- active_runtime
|
|
73
78
|
- adapter_version
|
|
74
79
|
- data
|
|
75
80
|
optional:
|
|
@@ -90,16 +95,16 @@ runtime_extraction_contract:
|
|
|
90
95
|
parsing encountered schema errors. This is extraction failure evidence,
|
|
91
96
|
not a successful zero-record benchmark window.
|
|
92
97
|
required_counts:
|
|
93
|
-
-
|
|
98
|
+
- file_count when discovery can count store files
|
|
94
99
|
- record_count, which may be zero or partial
|
|
95
100
|
- error_count greater than zero
|
|
96
101
|
current_examples:
|
|
97
|
-
- runtime:
|
|
98
|
-
|
|
102
|
+
- runtime: cursor
|
|
103
|
+
file_count: 4836
|
|
99
104
|
record_count: 0
|
|
100
105
|
error_count: 2
|
|
101
|
-
- runtime:
|
|
102
|
-
|
|
106
|
+
- runtime: copilot
|
|
107
|
+
file_count: 1
|
|
103
108
|
record_count: 0
|
|
104
109
|
error_count: 1
|
|
105
110
|
no_matching_records:
|
|
@@ -110,7 +115,7 @@ runtime_extraction_contract:
|
|
|
110
115
|
shape, but no supported message or tool records were extracted. This is
|
|
111
116
|
sparse coverage evidence and remains distinct from schema divergence.
|
|
112
117
|
required_counts:
|
|
113
|
-
-
|
|
118
|
+
- file_count when discovery can count store files
|
|
114
119
|
- "record_count: 0"
|
|
115
120
|
- no error_count greater than zero
|
|
116
121
|
successful_zero_record_window:
|
|
@@ -127,7 +132,7 @@ runtime_extraction_contract:
|
|
|
127
132
|
- runtime: codex
|
|
128
133
|
record_count: 0
|
|
129
134
|
error_count: 0
|
|
130
|
-
|
|
135
|
+
source_products:
|
|
131
136
|
codex:
|
|
132
137
|
accepted_input_schema_classes:
|
|
133
138
|
- JSONL session files containing session_meta or turn_context records
|
|
@@ -146,6 +151,9 @@ runtime_extraction_contract:
|
|
|
146
151
|
- Do not retain cwd, project_path, store_path, file_path, raw session ids, or generated salted hashes.
|
|
147
152
|
- Retain only canonical runtime labels, canonical artifact labels, bounded counts, and aggregate status fields.
|
|
148
153
|
claude-code:
|
|
154
|
+
source_class: historical_import
|
|
155
|
+
active_runtime: false
|
|
156
|
+
inclusion_rule: explicit --import-source claude only; excluded from default active-runtime metrics
|
|
149
157
|
accepted_input_schema_classes:
|
|
150
158
|
- JSONL project session files with top-level role or type user/assistant events
|
|
151
159
|
- JSONL message objects with nested message.role plus content/text/message content variants
|
|
@@ -180,6 +188,9 @@ runtime_extraction_contract:
|
|
|
180
188
|
- Do not retain SQLite file paths, project paths, transcript text, raw session ids, or generated salted hashes.
|
|
181
189
|
- Retain only canonical runtime labels, canonical artifact labels, bounded counts, and aggregate status fields.
|
|
182
190
|
github-copilot:
|
|
191
|
+
runtime: copilot
|
|
192
|
+
source_class: active_runtime
|
|
193
|
+
active_runtime: true
|
|
183
194
|
accepted_input_schema_classes:
|
|
184
195
|
- SQLite session-store.db with sessions and turns tables
|
|
185
196
|
- session id columns id, session_id, or sessionID
|
|
@@ -312,8 +323,8 @@ state_gathering_sequence:
|
|
|
312
323
|
start_anchor: first_agentera_state_call_after_capability_related_user_turn
|
|
313
324
|
capability_invocation_markers:
|
|
314
325
|
- slash route such as /agentera plan or /agentera build
|
|
315
|
-
- bare capability name such as
|
|
316
|
-
- natural-language capability mention such as run
|
|
326
|
+
- bare capability name such as plan, discuss, or orchestrate
|
|
327
|
+
- natural-language capability mention such as run orchestrate
|
|
317
328
|
- assistant capability intro marker
|
|
318
329
|
end_anchors:
|
|
319
330
|
- first_implementation_boundary
|
|
@@ -324,7 +335,7 @@ state_gathering_sequence:
|
|
|
324
335
|
|
|
325
336
|
counted_event_classes:
|
|
326
337
|
- class: cli_state_call
|
|
327
|
-
description: Agentera state CLI reads such as
|
|
338
|
+
description: Agentera state CLI reads such as prime, todo, docs, plan, progress, decisions, health, and query.
|
|
328
339
|
- class: raw_artifact_access
|
|
329
340
|
description: Direct read, grep, or glob access to Agentera state artifacts after CLI state access.
|
|
330
341
|
- class: capability_prose_read
|
|
@@ -362,17 +373,17 @@ privacy_boundary:
|
|
|
362
373
|
- canonical_event_class
|
|
363
374
|
- salted_non_reconstructable_hash
|
|
364
375
|
canonical_artifact_labels:
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
+
todo: todo
|
|
377
|
+
changelog: changelog
|
|
378
|
+
design: design
|
|
379
|
+
plan: plan
|
|
380
|
+
progress: progress
|
|
381
|
+
docs: docs
|
|
382
|
+
decisions: decisions
|
|
383
|
+
health: health
|
|
384
|
+
vision: vision
|
|
385
|
+
objective: objective
|
|
386
|
+
experiments: experiments
|
|
376
387
|
AGENTS.md: AGENTS.md
|
|
377
388
|
SKILL.md: SKILL.md
|
|
378
389
|
AGENTERA_ARTIFACTS: AGENTERA_ARTIFACTS
|