agentera 3.0.0-dev.41 → 3.0.0-dev.47
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/README.md +33 -4
- package/bundle/CHANGELOG.md +91 -1
- package/bundle/README.md +26 -19
- package/bundle/UPGRADE.md +50 -15
- package/bundle/references/adapters/package-publication.json +408 -14
- package/bundle/references/adapters/package-registry.yaml +414 -1
- package/bundle/references/adapters/package-surface-characterization.md +20 -0
- package/bundle/references/adapters/runtime-retired-resources.yaml +237 -1
- package/bundle/references/analysis/evidence-tier-authority.yaml +3 -3
- package/bundle/references/analysis/verification-policy.yaml +48 -0
- package/bundle/references/artifacts/artifact-registry-interface-model.yaml +1 -1
- package/bundle/references/artifacts/glossary-entry-contract.yaml +11 -11
- package/bundle/references/artifacts/state-storage-authority.yaml +170 -118
- package/bundle/references/cli/capability-instruction-contract.yaml +4 -4
- package/bundle/references/cli/hybrid-route-contract.yaml +27 -5
- package/bundle/references/cli/routing-model.md +20 -4
- package/bundle/references/cli/trigger-schema-enrichment.md +7 -0
- package/bundle/references/cli/vocabulary-index.yaml +1 -3
- package/bundle/references/cli/vocabulary.md +18 -60
- package/bundle/references/meta/retained-reference-authority.yaml +151 -0
- package/bundle/skills/agentera/SKILL.md +32 -16
- package/bundle/skills/agentera/capabilities/audit/schemas/artifacts.yaml +3 -3
- package/bundle/skills/agentera/capabilities/audit/schemas/validation.yaml +1 -1
- package/bundle/skills/agentera/capabilities/build/schemas/artifacts.yaml +5 -5
- package/bundle/skills/agentera/capabilities/build/schemas/validation.yaml +5 -5
- package/bundle/skills/agentera/capabilities/design/schemas/exit.yaml +2 -2
- package/bundle/skills/agentera/capabilities/discuss/schemas/artifacts.yaml +3 -3
- package/bundle/skills/agentera/capabilities/discuss/schemas/validation.yaml +2 -2
- package/bundle/skills/agentera/capabilities/document/schemas/artifacts.yaml +3 -3
- package/bundle/skills/agentera/capabilities/document/schemas/validation.yaml +1 -1
- package/bundle/skills/agentera/capabilities/optimize/schemas/artifacts.yaml +1 -1
- package/bundle/skills/agentera/capabilities/optimize/schemas/validation.yaml +1 -1
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/artifacts.yaml +5 -5
- package/bundle/skills/agentera/capabilities/orchestrate/schemas/validation.yaml +2 -2
- package/bundle/skills/agentera/capabilities/plan/schemas/artifacts.yaml +1 -1
- package/bundle/skills/agentera/capabilities/plan/schemas/validation.yaml +1 -1
- package/bundle/skills/agentera/capabilities/profile/schemas/validation.yaml +1 -1
- package/bundle/skills/agentera/capability_schema_contract.yaml +2 -2
- package/bundle/skills/agentera/schemas/artifacts/decisions.yaml +3 -3
- package/bundle/skills/agentera/schemas/artifacts/experiments.yaml +3 -3
- package/bundle/skills/agentera/schemas/artifacts/glossary.yaml +1 -1
- package/bundle/skills/agentera/schemas/artifacts/health.yaml +3 -3
- package/bundle/skills/agentera/schemas/artifacts/plan.yaml +12 -10
- package/bundle/skills/agentera/schemas/artifacts/progress.yaml +3 -3
- package/bundle/skills/agentera/schemas/artifacts/todo.yaml +6 -4
- package/dist/analytics/extractCorpus/cli.js +0 -1
- package/dist/analytics/extractCorpus/copilotSessions.js +0 -1
- package/dist/analytics/extractCorpus/core.js +0 -1
- package/dist/analytics/extractCorpus/corpus.js +0 -1
- package/dist/analytics/extractCorpus/coverageAudit.js +0 -1
- package/dist/analytics/extractCorpus/cursorSessions.js +0 -1
- package/dist/analytics/extractCorpus/evidenceTiers.js +0 -1
- package/dist/analytics/extractCorpus/extractCorpusParity.js +0 -1
- package/dist/analytics/extractCorpus/filesystemSources.js +0 -1
- package/dist/analytics/extractCorpus/index.js +0 -1
- package/dist/analytics/extractCorpus/jsonlSessions.js +0 -1
- package/dist/analytics/extractCorpus/sqliteCaps.js +0 -1
- package/dist/analytics/extractCorpus/sqliteSessions.js +0 -1
- package/dist/analytics/extractCorpus/tierReader.js +0 -1
- package/dist/analytics/extractCorpus.js +0 -1
- package/dist/analytics/glossaryAdviceResolution.js +0 -1
- package/dist/analytics/glossaryInputAcquisition.js +0 -1
- package/dist/analytics/personalGlossaryAdmission.js +0 -1
- package/dist/analytics/personalGlossaryProfile.js +0 -1
- package/dist/analytics/profileSignals.js +0 -1
- package/dist/analytics/usageStats.js +0 -1
- package/dist/audit/terminologyDrift.js +0 -1
- package/dist/bin/agentera.js +0 -1
- package/dist/capabilities/audit/instructions.js +3 -4
- package/dist/capabilities/build/instructions.js +2 -3
- package/dist/capabilities/design/instructions.js +1 -2
- package/dist/capabilities/discuss/instructions.js +2 -3
- package/dist/capabilities/document/instructions.js +2 -3
- package/dist/capabilities/index.js +5 -4
- package/dist/capabilities/optimize/instructions.js +1 -2
- package/dist/capabilities/orchestrate/instructions.js +3 -4
- package/dist/capabilities/plan/instructions.js +1 -2
- package/dist/capabilities/profile/instructions.js +1 -2
- package/dist/capabilities/research/instructions.js +1 -2
- package/dist/capabilities/status/instructions.js +1 -2
- package/dist/capabilities/status/startupInstructions.js +0 -5
- package/dist/capabilities/vision/instructions.js +1 -2
- package/dist/cli/appContext.js +0 -1
- package/dist/cli/argvalidate.js +0 -1
- package/dist/cli/capabilityContext/benchmark.js +4 -4
- package/dist/cli/capabilityContext/bespoke.js +0 -1
- package/dist/cli/capabilityContext/build.js +8 -10
- package/dist/cli/capabilityContext/closeout.js +8 -10
- package/dist/cli/capabilityContext/contract.js +7 -42
- package/dist/cli/capabilityContext/evidence.js +12 -14
- package/dist/cli/capabilityContext/index.js +0 -1
- package/dist/cli/capabilityContext/orchestration.js +6 -8
- package/dist/cli/capabilityContext/planState.js +0 -1
- package/dist/cli/capabilityContext/progress.js +0 -1
- package/dist/cli/capabilityContext/projectVerification.js +0 -1
- package/dist/cli/capabilityContext/shared.js +2 -19
- package/dist/cli/capabilityContext/slim.js +0 -1
- package/dist/cli/capabilityContext/startup.js +24 -152
- package/dist/cli/capabilityContext/startupAggregation.js +68 -0
- package/dist/cli/capabilityContext/types.js +4 -4
- package/dist/cli/capabilityContext.js +0 -1
- package/dist/cli/commands/appHome.js +0 -1
- package/dist/cli/commands/capability.js +2 -2
- package/dist/cli/commands/compact.js +0 -1
- package/dist/cli/commands/doctor.js +104 -9
- package/dist/cli/commands/durability.js +0 -1
- package/dist/cli/commands/glossaryAdvice.js +0 -1
- package/dist/cli/commands/lint.js +0 -1
- package/dist/cli/commands/personalGlossary.js +0 -1
- package/dist/cli/commands/prime/briefOrientation.js +24 -85
- package/dist/cli/commands/prime/buildExecutionRequest.js +2 -2
- package/dist/cli/commands/prime/bundleStatus.js +0 -1
- package/dist/cli/commands/prime/collectEntityOrientation.js +47 -27
- package/dist/cli/commands/prime/collectOrientationState.js +36 -2
- package/dist/cli/commands/prime/orientationOutput.js +104 -84
- package/dist/cli/commands/prime/types.js +0 -1
- package/dist/cli/commands/prime/v1Migration.js +0 -1
- package/dist/cli/commands/prime.js +18 -36
- package/dist/cli/commands/profileGrounding.js +0 -1
- package/dist/cli/commands/query.js +2 -2
- package/dist/cli/commands/report.js +0 -1
- package/dist/cli/commands/route.js +3 -3
- package/dist/cli/commands/schema.js +62 -92
- package/dist/cli/commands/state/decisions.js +0 -1
- package/dist/cli/commands/state/docs.js +0 -1
- package/dist/cli/commands/state/experimentRecords.js +0 -1
- package/dist/cli/commands/state/experiments.js +0 -1
- package/dist/cli/commands/state/get.js +0 -1
- package/dist/cli/commands/state/health.js +0 -1
- package/dist/cli/commands/state/index.js +0 -1
- package/dist/cli/commands/state/list.js +0 -1
- package/dist/cli/commands/state/objective.js +0 -1
- package/dist/cli/commands/state/plan.js +0 -1
- package/dist/cli/commands/state/planTasks.js +0 -1
- package/dist/cli/commands/state/plans.js +0 -1
- package/dist/cli/commands/state/progress.js +0 -1
- package/dist/cli/commands/state/shared.js +0 -1
- package/dist/cli/commands/state/todo.js +0 -1
- package/dist/cli/commands/state/write.js +10 -1
- package/dist/cli/commands/upgrade.js +0 -1
- package/dist/cli/commands/upgradeVerify.js +0 -1
- package/dist/cli/commands/validate.js +106 -10
- package/dist/cli/commands/verify.js +0 -1
- package/dist/cli/contracts/bundleStatus.js +0 -1
- package/dist/cli/contracts/orientationState.js +0 -1
- package/dist/cli/dispatch/argvParser.js +0 -1
- package/dist/cli/dispatch/check.js +6 -24
- package/dist/cli/dispatch/commands.js +3 -3
- package/dist/cli/dispatch/index.js +9 -36
- package/dist/cli/dispatch/lifecycle.js +11 -57
- package/dist/cli/dispatch/prime.js +0 -1
- package/dist/cli/dispatch/projections.js +17 -0
- package/dist/cli/dispatch/shared.js +0 -1
- package/dist/cli/dispatch/state.js +0 -1
- package/dist/cli/dispatch.js +0 -1
- package/dist/cli/errors.js +0 -1
- package/dist/cli/help.js +51 -30
- package/dist/cli/migrationRequired.js +3 -5
- package/dist/cli/orientation/attention.js +4 -17
- package/dist/cli/orientation/corpusCoverage.js +0 -1
- package/dist/cli/orientation.js +5 -5
- package/dist/cli/planArtifacts.js +0 -1
- package/dist/cli/planEvidence.js +0 -1
- package/dist/cli/planLifecycleState.js +2 -2
- package/dist/cli/planTaskIndex.js +0 -1
- package/dist/cli/preCutoverCommand.js +32 -0
- package/dist/cli/prime-blob.js +6 -6
- package/dist/cli/profileAcquisition.js +0 -1
- package/dist/cli/startupCompletenessContract.js +0 -1
- package/dist/cli/stateQuery.js +17 -21
- package/dist/cli/structured.js +0 -1
- package/dist/cli/todoMarkdown.js +0 -1
- package/dist/cli/todoReadinessSelection.js +2 -2
- package/dist/cli/todoSeverity.js +0 -1
- package/dist/core/atomicWriter.js +0 -1
- package/dist/core/developmentChannel.js +1 -0
- package/dist/core/developmentInvocation.js +374 -0
- package/dist/core/difflib.js +0 -1
- package/dist/core/envPaths.js +0 -1
- package/dist/core/jsonValue.js +0 -1
- package/dist/core/paths.js +0 -1
- package/dist/core/pyjson.js +0 -1
- package/dist/core/shell.js +0 -1
- package/dist/core/skillIdentity.js +0 -1
- package/dist/core/sourceRoot.js +9 -12
- package/dist/core/text.js +0 -1
- package/dist/core/toml.js +0 -1
- package/dist/core/yaml.js +0 -1
- package/dist/eval/evalSkills.js +0 -1
- package/dist/eval/hybridRouteEvaluation.js +0 -1
- package/dist/eval/semanticEval.js +0 -1
- package/dist/eval/semanticFixtures.js +0 -1
- package/dist/hooks/common.js +1 -54
- package/dist/hooks/compaction/apply.js +0 -1
- package/dist/hooks/compaction/dryRun.js +0 -1
- package/dist/hooks/compaction/index.js +1 -2
- package/dist/hooks/compaction/parse.js +0 -1
- package/dist/hooks/compaction/retention.js +0 -1
- package/dist/hooks/compaction/status.js +0 -1
- package/dist/hooks/compaction/types.js +0 -1
- package/dist/hooks/validateArtifact/agentFacing.js +0 -1
- package/dist/hooks/validateArtifact/index.js +6 -65
- package/dist/hooks/validateArtifact/markdown.js +0 -1
- package/dist/hooks/validateArtifact/schema.js +0 -1
- package/dist/hooks/validateArtifact/traversal.js +0 -1
- package/dist/hooks/validateArtifact/violations.js +0 -1
- package/dist/migrate/v2HandoffManifest.js +0 -3
- package/dist/registries/activationContract.js +2 -0
- package/dist/registries/activationTuples.js +106 -0
- package/dist/registries/artifactProtocolIds.js +0 -1
- package/dist/registries/artifactRegistry.js +0 -1
- package/dist/registries/artifactSchemaProjection.js +0 -1
- package/dist/registries/capabilityContract.js +0 -1
- package/dist/registries/evaluatorHandoffContract.js +0 -1
- package/dist/registries/evidenceTierContract.js +0 -1
- package/dist/registries/glossaryAdviceContract.js +2 -2
- package/dist/registries/glossaryCaveatContract.js +0 -1
- package/dist/registries/glossaryConsumerContractValidation.js +5 -6
- package/dist/registries/glossaryEntryContract.js +8 -8
- package/dist/registries/glossaryTermIdentity.js +0 -1
- package/dist/registries/glossaryTermOccurrence.js +0 -1
- package/dist/registries/hybridRoute.js +73 -2
- package/dist/registries/hybridRouteReceipt.js +2 -2
- package/dist/registries/packagePublication.js +229 -0
- package/dist/registries/packageRegistry.js +118 -2
- package/dist/registries/todoReadinessContract.js +0 -1
- package/dist/registries/triggerLoader.js +0 -1
- package/dist/registries/verbosityBudgetContract.js +0 -1
- package/dist/release/releaseMetadata.js +69 -3
- package/dist/runtime/lifecycleAdapterContract.js +0 -1
- package/dist/runtime/lifecycleAdapters.js +0 -1
- package/dist/runtime/lifecycleAuthority.js +0 -1
- package/dist/runtime/lifecycleOperationContract.js +12 -3
- package/dist/runtime/lifecycleOperations.js +0 -1
- package/dist/runtime/lifecycleOwnershipJournal.js +0 -1
- package/dist/runtime/lifecyclePublication.js +0 -1
- package/dist/runtime/lifecycleSnapshot.js +0 -1
- package/dist/runtime/nativeResourceCleanup.js +191 -6
- package/dist/setup/opencode.js +0 -1
- package/dist/setup/opencodeConstants.js +0 -1
- package/dist/setup/sharedSkill.js +0 -1
- package/dist/setup/smokeChecks.js +1 -33
- package/dist/state/archiveDiscovery.js +0 -1
- package/dist/state/archivePublication.js +0 -1
- package/dist/state/archiveRecovery.js +0 -1
- package/dist/state/archiveReplay.js +0 -1
- package/dist/state/canonicalMigrationRecord.js +0 -1
- package/dist/state/changelog.js +0 -1
- package/dist/state/decisionEntities.js +0 -1
- package/dist/state/decisionLegacyValidation.js +0 -1
- package/dist/state/decisionMigrationProvenance.js +0 -1
- package/dist/state/decisionOverlay.js +0 -1
- package/dist/state/decisionRevision.js +0 -1
- package/dist/state/decisionRevisionMigration.js +0 -1
- package/dist/state/directRetrieval.js +0 -1
- package/dist/state/durability.js +0 -1
- package/dist/state/entityCutover.js +174 -9
- package/dist/state/entityCutoverGit.js +0 -1
- package/dist/state/entityGlossaryAuthority.js +0 -1
- package/dist/state/entityListProjection.js +0 -1
- package/dist/state/entityListRuntimeRegistry.js +46 -11
- package/dist/state/entityMigrationCausality.js +3 -5
- package/dist/state/entityMigrationIdentity.js +0 -1
- package/dist/state/entityMigrationPreview.js +35 -73
- package/dist/state/entityMigrationTodo.js +133 -0
- package/dist/state/entityPublicationContext.js +0 -1
- package/dist/state/entityRetrievalHelp.js +53 -23
- package/dist/state/entityStorage.js +0 -1
- package/dist/state/exactReplacementRecovery.js +0 -1
- package/dist/state/experimentArchive.js +0 -1
- package/dist/state/experimentIdentity.js +0 -1
- package/dist/state/healthEntities.js +0 -1
- package/dist/state/healthEntityValidation.js +0 -1
- package/dist/state/healthRepair.js +0 -1
- package/dist/state/installRoot.js +0 -1
- package/dist/state/legacyEntityCutoverEvidence.js +0 -1
- package/dist/state/legacyIdentity.js +0 -1
- package/dist/state/legacySummaryRecord.js +0 -1
- package/dist/state/listAccounting.js +0 -1
- package/dist/state/listClassification.js +0 -1
- package/dist/state/listCursor.js +0 -1
- package/dist/state/listRetrieval.js +0 -1
- package/dist/state/migrationSourceBinding.js +0 -1
- package/dist/state/objectiveExperimentEntities.js +0 -1
- package/dist/state/planEntities.js +0 -1
- package/dist/state/planIdentity.js +0 -1
- package/dist/state/planRetrieval.js +0 -1
- package/dist/state/planTaskRetrieval.js +0 -1
- package/dist/state/progressEntities.js +0 -1
- package/dist/state/progressGlossaryCaveat.js +0 -1
- package/dist/state/progressPublicationOrder.js +0 -1
- package/dist/state/projectRoot.js +0 -1
- package/dist/state/projectionPolicy.js +0 -1
- package/dist/state/retrievalAuthority.js +0 -1
- package/dist/state/safeProjectFile.js +0 -1
- package/dist/state/startupAnalysis/benchmark.js +0 -1
- package/dist/state/startupAnalysis/contract.js +44 -10
- package/dist/state/startupAnalysis/helpers.js +0 -1
- package/dist/state/startupAnalysis/index.js +0 -1
- package/dist/state/startupAnalysis/metrics.js +0 -1
- package/dist/state/startupAnalysis/records.js +0 -1
- package/dist/state/startupAnalysis/report.js +0 -1
- package/dist/state/startupAnalysis/threshold.js +0 -1
- package/dist/state/startupAnalysis.js +0 -1
- package/dist/state/startupProjection.js +2 -2
- package/dist/state/stateMode.js +0 -1
- package/dist/state/stateStorageAuthority.js +0 -1
- package/dist/state/summaryEntityRead.js +0 -1
- package/dist/state/summaryMigrationProvenance.js +0 -1
- package/dist/state/summarySourceRowAuthority.js +0 -1
- package/dist/state/todoDocsEntities.js +161 -83
- package/dist/state/todoDocsEntityValidation.js +0 -1
- package/dist/state/todoMarkdownProjection.js +51 -0
- package/dist/state/todoReconciliationActivation.js +73 -4
- package/dist/state/todoReconciliationInspection.js +173 -0
- package/dist/state/todoReconciliationRepair.js +170 -0
- package/dist/state/todoReconciliationTransaction.js +41 -13
- package/dist/state/write/assign.js +0 -1
- package/dist/state/write/candidateMutation.js +0 -1
- package/dist/state/write/errors.js +0 -1
- package/dist/state/write/experimentPublication.js +0 -1
- package/dist/state/write/explain.js +0 -1
- package/dist/state/write/fields.js +0 -1
- package/dist/state/write/glossaryPublication.js +0 -1
- package/dist/state/write/grammar.js +13 -4
- package/dist/state/write/helpers.js +0 -1
- package/dist/state/write/index.js +0 -1
- package/dist/state/write/input.js +0 -1
- package/dist/state/write/lock.js +0 -1
- package/dist/state/write/mutation.js +0 -1
- package/dist/state/write/operations.js +0 -1
- package/dist/state/write/planEvaluation.js +0 -1
- package/dist/state/write/planPublication.js +0 -1
- package/dist/state/write/runtimeOperations.js +83 -6
- package/dist/state/write/serialize.js +0 -1
- package/dist/state/write/transaction.js +0 -1
- package/dist/state/write/validate.js +0 -1
- package/dist/upgrade/appContentRefresh.js +0 -1
- package/dist/upgrade/appModel.js +0 -1
- package/dist/upgrade/atomicWriter.js +0 -1
- package/dist/upgrade/bundleEvidence.js +0 -1
- package/dist/upgrade/channels.js +0 -1
- package/dist/upgrade/compatibility.js +0 -1
- package/dist/upgrade/doctor.js +0 -1
- package/dist/upgrade/doctorClassifier.js +0 -1
- package/dist/upgrade/installedHooksRetirement.js +0 -1
- package/dist/upgrade/legacyAgentCleanup.js +0 -1
- package/dist/upgrade/lifecycleUpgrade.js +0 -1
- package/dist/upgrade/migrateArtifactsV2ToV3.js +7 -15
- package/dist/upgrade/migrationPublication.js +0 -1
- package/dist/upgrade/nextMajorDoctor.js +0 -1
- package/dist/upgrade/npxPlatformStatus.js +0 -1
- package/dist/upgrade/projectIntegration.js +4 -17
- package/dist/upgrade/projectIntegrationDecision.js +0 -1
- package/dist/upgrade/retiredResourceDiagnostics.js +117 -0
- package/dist/upgrade/runtimeMigration.js +61 -190
- package/dist/upgrade/upgradeCommands.js +5 -1
- package/dist/upgrade/upgradeLock.js +0 -1
- package/dist/upgrade/upgradeOrchestrator.js +52 -9
- package/dist/upgrade/v3CapabilitySurface.js +0 -1
- package/dist/upgrade/versionResolution.js +0 -1
- package/dist/validate/activationArtifactEvidence.js +844 -0
- package/dist/validate/activationConjunction.js +816 -0
- package/dist/validate/activationEvidenceManifest.js +515 -0
- package/dist/validate/activationPackageSemantics.js +29 -0
- package/dist/validate/appHomeContract.js +0 -2
- package/dist/validate/bootstrapAuthority.js +44 -0
- package/dist/validate/capability.js +0 -1
- package/dist/validate/crossCapability.js +0 -1
- package/dist/validate/retainedReferenceAuthority.js +879 -0
- package/dist/validate/selfAudit.js +0 -1
- package/dist/validate/v1LegacyCruft.js +0 -10
- package/dist/validate/vocabularyAuthority.js +6 -8
- package/package.json +12 -5
- package/bundle/references/adapters/package-manifest-interface-model.yaml +0 -127
- package/bundle/references/analysis/benchmark.md +0 -271
- package/bundle/references/analysis/startup-measurement-contract.yaml +0 -435
- package/bundle/references/cli/agent-ready-state-contract.yaml +0 -1015
- package/bundle/references/cli/audience-namespace-cli-migration.yaml +0 -395
- package/bundle/references/cli/bundle-skill-vocabulary.yaml +0 -241
- package/bundle/references/cli/capability-instruction-structure.md +0 -144
- package/bundle/references/cli/capability-tool-classification.yaml +0 -53
- package/bundle/references/cli/coexistence-probe.yaml +0 -13
- package/bundle/references/cli/parity-expected-actual-template.md +0 -30
- package/bundle/references/cli/prime-consumer-compatibility.yaml +0 -701
- package/bundle/references/cli/routing-execution-vocabulary.yaml +0 -259
- package/bundle/references/cli/single-name-protocol.yaml +0 -42
- package/bundle/references/cli/upgrade-repair-wording.md +0 -25
- package/bundle/references/cli/v3-handoff-manifest.schema.yaml +0 -97
- package/bundle/references/meta/documentation-inventory.md +0 -50
- package/bundle/skills/agentera/references/contract.md +0 -1097
- package/dist/analytics/extractCorpus/cli.js.map +0 -1
- package/dist/analytics/extractCorpus/copilotSessions.js.map +0 -1
- package/dist/analytics/extractCorpus/core.js.map +0 -1
- package/dist/analytics/extractCorpus/corpus.js.map +0 -1
- package/dist/analytics/extractCorpus/coverageAudit.js.map +0 -1
- package/dist/analytics/extractCorpus/cursorSessions.js.map +0 -1
- package/dist/analytics/extractCorpus/evidenceTiers.js.map +0 -1
- package/dist/analytics/extractCorpus/extractCorpusParity.js.map +0 -1
- package/dist/analytics/extractCorpus/filesystemSources.js.map +0 -1
- package/dist/analytics/extractCorpus/index.js.map +0 -1
- package/dist/analytics/extractCorpus/jsonlSessions.js.map +0 -1
- package/dist/analytics/extractCorpus/sqliteCaps.js.map +0 -1
- package/dist/analytics/extractCorpus/sqliteSessions.js.map +0 -1
- package/dist/analytics/extractCorpus/tierReader.js.map +0 -1
- package/dist/analytics/extractCorpus.js.map +0 -1
- package/dist/analytics/glossaryAdviceResolution.js.map +0 -1
- package/dist/analytics/glossaryInputAcquisition.js.map +0 -1
- package/dist/analytics/personalGlossaryAdmission.js.map +0 -1
- package/dist/analytics/personalGlossaryProfile.js.map +0 -1
- package/dist/analytics/profileSignals.js.map +0 -1
- package/dist/analytics/usageStats.js.map +0 -1
- package/dist/audit/terminologyDrift.js.map +0 -1
- package/dist/bin/agentera.js.map +0 -1
- package/dist/capabilities/audit/instructions.js.map +0 -1
- package/dist/capabilities/build/instructions.js.map +0 -1
- package/dist/capabilities/design/instructions.js.map +0 -1
- package/dist/capabilities/discuss/instructions.js.map +0 -1
- package/dist/capabilities/document/instructions.js.map +0 -1
- package/dist/capabilities/index.js.map +0 -1
- package/dist/capabilities/optimize/instructions.js.map +0 -1
- package/dist/capabilities/orchestrate/instructions.js.map +0 -1
- package/dist/capabilities/plan/instructions.js.map +0 -1
- package/dist/capabilities/profile/instructions.js.map +0 -1
- package/dist/capabilities/research/instructions.js.map +0 -1
- package/dist/capabilities/status/instructions.js.map +0 -1
- package/dist/capabilities/status/startupInstructions.js.map +0 -1
- package/dist/capabilities/vision/instructions.js.map +0 -1
- package/dist/cli/appContext.js.map +0 -1
- package/dist/cli/argvalidate.js.map +0 -1
- package/dist/cli/capabilityContext/benchmark.js.map +0 -1
- package/dist/cli/capabilityContext/bespoke.js.map +0 -1
- package/dist/cli/capabilityContext/build.js.map +0 -1
- package/dist/cli/capabilityContext/closeout.js.map +0 -1
- package/dist/cli/capabilityContext/contract.js.map +0 -1
- package/dist/cli/capabilityContext/evidence.js.map +0 -1
- package/dist/cli/capabilityContext/index.js.map +0 -1
- package/dist/cli/capabilityContext/orchestration.js.map +0 -1
- package/dist/cli/capabilityContext/planState.js.map +0 -1
- package/dist/cli/capabilityContext/progress.js.map +0 -1
- package/dist/cli/capabilityContext/projectVerification.js.map +0 -1
- package/dist/cli/capabilityContext/shared.js.map +0 -1
- package/dist/cli/capabilityContext/slim.js.map +0 -1
- package/dist/cli/capabilityContext/startup.js.map +0 -1
- package/dist/cli/capabilityContext/types.js.map +0 -1
- package/dist/cli/capabilityContext.js.map +0 -1
- package/dist/cli/commands/appHome.js.map +0 -1
- package/dist/cli/commands/capability.js.map +0 -1
- package/dist/cli/commands/compact.js.map +0 -1
- package/dist/cli/commands/doctor.js.map +0 -1
- package/dist/cli/commands/durability.js.map +0 -1
- package/dist/cli/commands/entityMigrate.js +0 -132
- package/dist/cli/commands/entityMigrate.js.map +0 -1
- package/dist/cli/commands/glossaryAdvice.js.map +0 -1
- package/dist/cli/commands/lint.js.map +0 -1
- package/dist/cli/commands/personalGlossary.js.map +0 -1
- package/dist/cli/commands/prime/briefOrientation.js.map +0 -1
- package/dist/cli/commands/prime/buildExecutionRequest.js.map +0 -1
- package/dist/cli/commands/prime/bundleStatus.js.map +0 -1
- package/dist/cli/commands/prime/collectEntityOrientation.js.map +0 -1
- package/dist/cli/commands/prime/collectOrientationState.js.map +0 -1
- package/dist/cli/commands/prime/orientationOutput.js.map +0 -1
- package/dist/cli/commands/prime/types.js.map +0 -1
- package/dist/cli/commands/prime/v1Migration.js.map +0 -1
- package/dist/cli/commands/prime.js.map +0 -1
- package/dist/cli/commands/profileGrounding.js.map +0 -1
- package/dist/cli/commands/query.js.map +0 -1
- package/dist/cli/commands/report.js.map +0 -1
- package/dist/cli/commands/route.js.map +0 -1
- package/dist/cli/commands/schema.js.map +0 -1
- package/dist/cli/commands/state/decisions.js.map +0 -1
- package/dist/cli/commands/state/docs.js.map +0 -1
- package/dist/cli/commands/state/experimentRecords.js.map +0 -1
- package/dist/cli/commands/state/experiments.js.map +0 -1
- package/dist/cli/commands/state/get.js.map +0 -1
- package/dist/cli/commands/state/health.js.map +0 -1
- package/dist/cli/commands/state/index.js.map +0 -1
- package/dist/cli/commands/state/list.js.map +0 -1
- package/dist/cli/commands/state/objective.js.map +0 -1
- package/dist/cli/commands/state/plan.js.map +0 -1
- package/dist/cli/commands/state/planTasks.js.map +0 -1
- package/dist/cli/commands/state/plans.js.map +0 -1
- package/dist/cli/commands/state/progress.js.map +0 -1
- package/dist/cli/commands/state/shared.js.map +0 -1
- package/dist/cli/commands/state/todo.js.map +0 -1
- package/dist/cli/commands/state/write.js.map +0 -1
- package/dist/cli/commands/upgrade.js.map +0 -1
- package/dist/cli/commands/upgradeVerify.js.map +0 -1
- package/dist/cli/commands/validate.js.map +0 -1
- package/dist/cli/commands/verify.js.map +0 -1
- package/dist/cli/contracts/bundleStatus.js.map +0 -1
- package/dist/cli/contracts/orientationState.js.map +0 -1
- package/dist/cli/dispatch/argvParser.js.map +0 -1
- package/dist/cli/dispatch/check.js.map +0 -1
- package/dist/cli/dispatch/commands.js.map +0 -1
- package/dist/cli/dispatch/index.js.map +0 -1
- package/dist/cli/dispatch/lifecycle.js.map +0 -1
- package/dist/cli/dispatch/prime.js.map +0 -1
- package/dist/cli/dispatch/shared.js.map +0 -1
- package/dist/cli/dispatch/state.js.map +0 -1
- package/dist/cli/dispatch.js.map +0 -1
- package/dist/cli/errors.js.map +0 -1
- package/dist/cli/help.js.map +0 -1
- package/dist/cli/migrationRequired.js.map +0 -1
- package/dist/cli/orientation/attention.js.map +0 -1
- package/dist/cli/orientation/corpusCoverage.js.map +0 -1
- package/dist/cli/orientation.js.map +0 -1
- package/dist/cli/planArtifacts.js.map +0 -1
- package/dist/cli/planEvidence.js.map +0 -1
- package/dist/cli/planLifecycleState.js.map +0 -1
- package/dist/cli/planTaskIndex.js.map +0 -1
- package/dist/cli/prime-blob.js.map +0 -1
- package/dist/cli/profileAcquisition.js.map +0 -1
- package/dist/cli/startupCompletenessContract.js.map +0 -1
- package/dist/cli/stateQuery.js.map +0 -1
- package/dist/cli/structured.js.map +0 -1
- package/dist/cli/todoMarkdown.js.map +0 -1
- package/dist/cli/todoReadinessSelection.js.map +0 -1
- package/dist/cli/todoSeverity.js.map +0 -1
- package/dist/core/atomicWriter.js.map +0 -1
- package/dist/core/difflib.js.map +0 -1
- package/dist/core/envPaths.js.map +0 -1
- package/dist/core/jsonValue.js.map +0 -1
- package/dist/core/paths.js.map +0 -1
- package/dist/core/pyjson.js.map +0 -1
- package/dist/core/shell.js.map +0 -1
- package/dist/core/skillIdentity.js.map +0 -1
- package/dist/core/sourceRoot.js.map +0 -1
- package/dist/core/text.js.map +0 -1
- package/dist/core/toml.js.map +0 -1
- package/dist/core/yaml.js.map +0 -1
- package/dist/eval/evalSkills.js.map +0 -1
- package/dist/eval/hybridRouteEvaluation.js.map +0 -1
- package/dist/eval/semanticEval.js.map +0 -1
- package/dist/eval/semanticFixtures.js.map +0 -1
- package/dist/hooks/common.js.map +0 -1
- package/dist/hooks/compaction/apply.js.map +0 -1
- package/dist/hooks/compaction/dryRun.js.map +0 -1
- package/dist/hooks/compaction/index.js.map +0 -1
- package/dist/hooks/compaction/parse.js.map +0 -1
- package/dist/hooks/compaction/retention.js.map +0 -1
- package/dist/hooks/compaction/status.js.map +0 -1
- package/dist/hooks/compaction/types.js.map +0 -1
- package/dist/hooks/cursorPreToolUse.js +0 -19
- package/dist/hooks/cursorPreToolUse.js.map +0 -1
- package/dist/hooks/cursorSessionStart.js +0 -64
- package/dist/hooks/cursorSessionStart.js.map +0 -1
- package/dist/hooks/projectHookInput.js +0 -26
- package/dist/hooks/projectHookInput.js.map +0 -1
- package/dist/hooks/sessionStart.js +0 -94
- package/dist/hooks/sessionStart.js.map +0 -1
- package/dist/hooks/sessionStop.js +0 -198
- package/dist/hooks/sessionStop.js.map +0 -1
- package/dist/hooks/validateArtifact/agentFacing.js.map +0 -1
- package/dist/hooks/validateArtifact/index.js.map +0 -1
- package/dist/hooks/validateArtifact/markdown.js.map +0 -1
- package/dist/hooks/validateArtifact/runtime.js +0 -86
- package/dist/hooks/validateArtifact/runtime.js.map +0 -1
- package/dist/hooks/validateArtifact/schema.js.map +0 -1
- package/dist/hooks/validateArtifact/traversal.js.map +0 -1
- package/dist/hooks/validateArtifact/violations.js.map +0 -1
- package/dist/migrate/v2HandoffManifest.js.map +0 -1
- package/dist/registries/artifactProtocolIds.js.map +0 -1
- package/dist/registries/artifactRegistry.js.map +0 -1
- package/dist/registries/artifactSchemaProjection.js.map +0 -1
- package/dist/registries/capabilityContract.js.map +0 -1
- package/dist/registries/evaluatorHandoffContract.js.map +0 -1
- package/dist/registries/evidenceTierContract.js.map +0 -1
- package/dist/registries/glossaryAdviceContract.js.map +0 -1
- package/dist/registries/glossaryCaveatContract.js.map +0 -1
- package/dist/registries/glossaryConsumerContractValidation.js.map +0 -1
- package/dist/registries/glossaryEntryContract.js.map +0 -1
- package/dist/registries/glossaryTermIdentity.js.map +0 -1
- package/dist/registries/glossaryTermOccurrence.js.map +0 -1
- package/dist/registries/hybridRoute.js.map +0 -1
- package/dist/registries/hybridRouteReceipt.js.map +0 -1
- package/dist/registries/packageRegistry.js.map +0 -1
- package/dist/registries/todoReadinessContract.js.map +0 -1
- package/dist/registries/triggerLoader.js.map +0 -1
- package/dist/registries/verbosityBudgetContract.js.map +0 -1
- package/dist/release/releaseMetadata.js.map +0 -1
- package/dist/runtime/lifecycleAdapterContract.js.map +0 -1
- package/dist/runtime/lifecycleAdapters.js.map +0 -1
- package/dist/runtime/lifecycleAuthority.js.map +0 -1
- package/dist/runtime/lifecycleOperationContract.js.map +0 -1
- package/dist/runtime/lifecycleOperations.js.map +0 -1
- package/dist/runtime/lifecycleOwnershipJournal.js.map +0 -1
- package/dist/runtime/lifecyclePublication.js.map +0 -1
- package/dist/runtime/lifecycleSnapshot.js.map +0 -1
- package/dist/runtime/nativeResourceCleanup.js.map +0 -1
- package/dist/setup/codex/cli.js +0 -130
- package/dist/setup/codex/cli.js.map +0 -1
- package/dist/setup/codex/configToml.js +0 -558
- package/dist/setup/codex/configToml.js.map +0 -1
- package/dist/setup/codex/constants.js +0 -14
- package/dist/setup/codex/constants.js.map +0 -1
- package/dist/setup/codex/installRoot.js +0 -64
- package/dist/setup/codex/installRoot.js.map +0 -1
- package/dist/setup/codex/state.js +0 -252
- package/dist/setup/codex/state.js.map +0 -1
- package/dist/setup/codex.js +0 -10
- package/dist/setup/codex.js.map +0 -1
- package/dist/setup/opencode.js.map +0 -1
- package/dist/setup/opencodeConstants.js.map +0 -1
- package/dist/setup/sharedSkill.js.map +0 -1
- package/dist/setup/smokeChecks.js.map +0 -1
- package/dist/state/archiveDiscovery.js.map +0 -1
- package/dist/state/archivePublication.js.map +0 -1
- package/dist/state/archiveRecovery.js.map +0 -1
- package/dist/state/archiveReplay.js.map +0 -1
- package/dist/state/canonicalMigrationRecord.js.map +0 -1
- package/dist/state/changelog.js.map +0 -1
- package/dist/state/decisionEntities.js.map +0 -1
- package/dist/state/decisionLegacyValidation.js.map +0 -1
- package/dist/state/decisionMigrationProvenance.js.map +0 -1
- package/dist/state/decisionOverlay.js.map +0 -1
- package/dist/state/decisionRevision.js.map +0 -1
- package/dist/state/decisionRevisionMigration.js.map +0 -1
- package/dist/state/directRetrieval.js.map +0 -1
- package/dist/state/durability.js.map +0 -1
- package/dist/state/entityCutover.js.map +0 -1
- package/dist/state/entityCutoverGit.js.map +0 -1
- package/dist/state/entityGlossaryAuthority.js.map +0 -1
- package/dist/state/entityListProjection.js.map +0 -1
- package/dist/state/entityListRuntimeRegistry.js.map +0 -1
- package/dist/state/entityMigrationCausality.js.map +0 -1
- package/dist/state/entityMigrationIdentity.js.map +0 -1
- package/dist/state/entityMigrationPreview.js.map +0 -1
- package/dist/state/entityPublicationContext.js.map +0 -1
- package/dist/state/entityRetrievalHelp.js.map +0 -1
- package/dist/state/entityStorage.js.map +0 -1
- package/dist/state/exactReplacementRecovery.js.map +0 -1
- package/dist/state/experimentArchive.js.map +0 -1
- package/dist/state/experimentIdentity.js.map +0 -1
- package/dist/state/healthEntities.js.map +0 -1
- package/dist/state/healthEntityValidation.js.map +0 -1
- package/dist/state/healthRepair.js.map +0 -1
- package/dist/state/installRoot.js.map +0 -1
- package/dist/state/legacyEntityCutoverEvidence.js.map +0 -1
- package/dist/state/legacyIdentity.js.map +0 -1
- package/dist/state/legacySummaryRecord.js.map +0 -1
- package/dist/state/listAccounting.js.map +0 -1
- package/dist/state/listClassification.js.map +0 -1
- package/dist/state/listCursor.js.map +0 -1
- package/dist/state/listRetrieval.js.map +0 -1
- package/dist/state/migrationSourceBinding.js.map +0 -1
- package/dist/state/objectiveExperimentEntities.js.map +0 -1
- package/dist/state/planEntities.js.map +0 -1
- package/dist/state/planIdentity.js.map +0 -1
- package/dist/state/planRetrieval.js.map +0 -1
- package/dist/state/planTaskRetrieval.js.map +0 -1
- package/dist/state/progressEntities.js.map +0 -1
- package/dist/state/progressGlossaryCaveat.js.map +0 -1
- package/dist/state/progressPublicationOrder.js.map +0 -1
- package/dist/state/projectRoot.js.map +0 -1
- package/dist/state/projectionPolicy.js.map +0 -1
- package/dist/state/retrievalAuthority.js.map +0 -1
- package/dist/state/safeProjectFile.js.map +0 -1
- package/dist/state/startupAnalysis/benchmark.js.map +0 -1
- package/dist/state/startupAnalysis/contract.js.map +0 -1
- package/dist/state/startupAnalysis/helpers.js.map +0 -1
- package/dist/state/startupAnalysis/index.js.map +0 -1
- package/dist/state/startupAnalysis/metrics.js.map +0 -1
- package/dist/state/startupAnalysis/records.js.map +0 -1
- package/dist/state/startupAnalysis/report.js.map +0 -1
- package/dist/state/startupAnalysis/threshold.js.map +0 -1
- package/dist/state/startupAnalysis.js.map +0 -1
- package/dist/state/startupProjection.js.map +0 -1
- package/dist/state/stateMode.js.map +0 -1
- package/dist/state/stateStorageAuthority.js.map +0 -1
- package/dist/state/summaryEntityRead.js.map +0 -1
- package/dist/state/summaryMigrationProvenance.js.map +0 -1
- package/dist/state/summarySourceRowAuthority.js.map +0 -1
- package/dist/state/todoDocsEntities.js.map +0 -1
- package/dist/state/todoDocsEntityValidation.js.map +0 -1
- package/dist/state/todoReconciliationActivation.js.map +0 -1
- package/dist/state/todoReconciliationTransaction.js.map +0 -1
- package/dist/state/write/assign.js.map +0 -1
- package/dist/state/write/candidateMutation.js.map +0 -1
- package/dist/state/write/errors.js.map +0 -1
- package/dist/state/write/experimentPublication.js.map +0 -1
- package/dist/state/write/explain.js.map +0 -1
- package/dist/state/write/fields.js.map +0 -1
- package/dist/state/write/glossaryPublication.js.map +0 -1
- package/dist/state/write/grammar.js.map +0 -1
- package/dist/state/write/helpers.js.map +0 -1
- package/dist/state/write/index.js.map +0 -1
- package/dist/state/write/input.js.map +0 -1
- package/dist/state/write/lock.js.map +0 -1
- package/dist/state/write/mutation.js.map +0 -1
- package/dist/state/write/operations.js.map +0 -1
- package/dist/state/write/planEvaluation.js.map +0 -1
- package/dist/state/write/planPublication.js.map +0 -1
- package/dist/state/write/runtimeOperations.js.map +0 -1
- package/dist/state/write/serialize.js.map +0 -1
- package/dist/state/write/transaction.js.map +0 -1
- package/dist/state/write/validate.js.map +0 -1
- package/dist/upgrade/appContentRefresh.js.map +0 -1
- package/dist/upgrade/appModel.js.map +0 -1
- package/dist/upgrade/atomicWriter.js.map +0 -1
- package/dist/upgrade/bundleEvidence.js.map +0 -1
- package/dist/upgrade/channels.js.map +0 -1
- package/dist/upgrade/coexistenceProbe.js +0 -105
- package/dist/upgrade/coexistenceProbe.js.map +0 -1
- package/dist/upgrade/compatibility.js.map +0 -1
- package/dist/upgrade/doctor.js.map +0 -1
- package/dist/upgrade/doctorClassifier.js.map +0 -1
- package/dist/upgrade/installedHooksRetirement.js.map +0 -1
- package/dist/upgrade/legacyAgentCleanup.js.map +0 -1
- package/dist/upgrade/lifecycleUpgrade.js.map +0 -1
- package/dist/upgrade/migrateArtifactsV2ToV3.js.map +0 -1
- package/dist/upgrade/migrationPublication.js.map +0 -1
- package/dist/upgrade/nextMajorDoctor.js.map +0 -1
- package/dist/upgrade/npxPlatformStatus.js.map +0 -1
- package/dist/upgrade/projectIntegration.js.map +0 -1
- package/dist/upgrade/projectIntegrationDecision.js.map +0 -1
- package/dist/upgrade/runtimeMigration.js.map +0 -1
- package/dist/upgrade/upgradeCommands.js.map +0 -1
- package/dist/upgrade/upgradeLock.js.map +0 -1
- package/dist/upgrade/upgradeOrchestrator.js.map +0 -1
- package/dist/upgrade/v3CapabilitySurface.js.map +0 -1
- package/dist/upgrade/versionResolution.js.map +0 -1
- package/dist/validate/appHomeContract.js.map +0 -1
- package/dist/validate/capability.js.map +0 -1
- package/dist/validate/crossCapability.js.map +0 -1
- package/dist/validate/selfAudit.js.map +0 -1
- package/dist/validate/v1LegacyCruft.js.map +0 -1
- package/dist/validate/vocabularyAuthority.js.map +0 -1
|
@@ -46,15 +46,6 @@ function fixedLegacyViolations(root) {
|
|
|
46
46
|
violations.push("package-registry docs_targets still lists skills/hej/SKILL.md");
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
const bundleVocabularyPath = path.join(root, "references/cli/bundle-skill-vocabulary.yaml");
|
|
50
|
-
if (fs.existsSync(bundleVocabularyPath)) {
|
|
51
|
-
const vocabulary = YAML.parse(fs.readFileSync(bundleVocabularyPath, "utf8"));
|
|
52
|
-
const concepts = vocabulary.canonical_concept_order ?? [];
|
|
53
|
-
for (const retired of ["legacy_hej_bridge", "v1_skill_entry_file"]) {
|
|
54
|
-
if (concepts.includes(retired))
|
|
55
|
-
violations.push(`bundle-skill-vocabulary still lists retired concept ${retired}`);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
49
|
return violations;
|
|
59
50
|
}
|
|
60
51
|
function confirmedVariants(document) {
|
|
@@ -138,4 +129,3 @@ export function scanPost30CruftViolations(root) {
|
|
|
138
129
|
}
|
|
139
130
|
return violations.sort();
|
|
140
131
|
}
|
|
141
|
-
//# sourceMappingURL=v1LegacyCruft.js.map
|
|
@@ -219,8 +219,8 @@ function validateInstructionContract(root) {
|
|
|
219
219
|
}
|
|
220
220
|
else {
|
|
221
221
|
const meaning = String(allowed.prime_context.meaning ?? "");
|
|
222
|
-
if (!meaning.includes("agentera prime --context")) {
|
|
223
|
-
errors.push("capability-instruction-contract.yaml: prime_context obligation must reference agentera prime --context");
|
|
222
|
+
if (!meaning.includes("npx -y agentera@next prime --context")) {
|
|
223
|
+
errors.push("capability-instruction-contract.yaml: prime_context obligation must reference npx -y agentera@next prime --context");
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
if (firstRead.default_rule !== "prime_context") {
|
|
@@ -254,12 +254,11 @@ function validateVocabularyIndex(root) {
|
|
|
254
254
|
}
|
|
255
255
|
const lifecycleIdx = order.indexOf("references/cli/app-lifecycle-vocabulary.yaml");
|
|
256
256
|
const channelsIdx = order.indexOf("references/cli/update-channels.yaml");
|
|
257
|
-
|
|
258
|
-
if (lifecycleIdx < 0 || channelsIdx < 0 || bundleIdx < 0) {
|
|
257
|
+
if (lifecycleIdx < 0 || channelsIdx < 0) {
|
|
259
258
|
errors.push("vocabulary-index.yaml: authority_order missing required vocabulary authorities");
|
|
260
259
|
}
|
|
261
|
-
else if (!(lifecycleIdx < channelsIdx
|
|
262
|
-
errors.push("vocabulary-index.yaml: authority_order must place lifecycle before channels
|
|
260
|
+
else if (!(lifecycleIdx < channelsIdx)) {
|
|
261
|
+
errors.push("vocabulary-index.yaml: authority_order must place lifecycle before channels");
|
|
263
262
|
}
|
|
264
263
|
const vocabularyMd = authorityPath(root, "references/cli/vocabulary.md");
|
|
265
264
|
if (!fs.existsSync(vocabularyMd)) {
|
|
@@ -272,7 +271,7 @@ function validateVocabularyIndex(root) {
|
|
|
272
271
|
!lifecycleSection.includes("machine-readable authority")) {
|
|
273
272
|
errors.push("references/cli/vocabulary.md: app lifecycle section must delegate to YAML authority");
|
|
274
273
|
}
|
|
275
|
-
const channelsSection = vocabulary.split("### Update channels")[1]?.split("
|
|
274
|
+
const channelsSection = vocabulary.split("### Update channels")[1]?.split("## Evaluation and evidence grammar", 1)[0] ?? "";
|
|
276
275
|
if (!channelsSection.includes("references/cli/update-channels.yaml") ||
|
|
277
276
|
!channelsSection.includes("machine-readable authority")) {
|
|
278
277
|
errors.push("references/cli/vocabulary.md: update channels section must delegate to YAML authority");
|
|
@@ -302,4 +301,3 @@ export function vocabularyAuthorityMain(opts = {}) {
|
|
|
302
301
|
out("vocabulary authority ok");
|
|
303
302
|
return 0;
|
|
304
303
|
}
|
|
305
|
-
//# sourceMappingURL=vocabularyAuthority.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentera",
|
|
3
|
-
"version": "3.0.0-dev.
|
|
3
|
+
"version": "3.0.0-dev.47",
|
|
4
4
|
"description": "One CLI, many capabilities: project state, artifact validation, and capability routing for AI coding agents",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agentera",
|
|
@@ -42,18 +42,25 @@
|
|
|
42
42
|
"generated:cleanup": "node scripts/build-package.mjs --cleanup",
|
|
43
43
|
"pack:dry-run": "node scripts/pack-package.mjs --dry-run",
|
|
44
44
|
"release:prepare": "node scripts/publication-transaction.mjs prepare development",
|
|
45
|
+
"release:qualify:source": "node scripts/release-qualification.mjs source",
|
|
46
|
+
"release:qualify:candidate": "node scripts/release-qualification.mjs candidate --adapter development",
|
|
47
|
+
"release:approve": "node scripts/release-qualification.mjs approval --adapter development",
|
|
48
|
+
"release:attest": "node scripts/release-qualification.mjs attest --adapter development",
|
|
49
|
+
"release:benchmark:qualification": "node scripts/release-benchmark.mjs qualification",
|
|
50
|
+
"release:publish:qualified": "node scripts/release-benchmark.mjs publication --adapter development",
|
|
51
|
+
"release:stage": "node scripts/publication-transaction.mjs stage development --approve",
|
|
52
|
+
"release:promote": "node scripts/publication-transaction.mjs promote development --approve",
|
|
45
53
|
"verify:targeted": "node scripts/verify-lane.mjs policy targeted",
|
|
46
54
|
"verify:precommit": "node scripts/verify-lane.mjs policy precommit",
|
|
47
55
|
"verify:fast": "node scripts/verify-lane.mjs policy fast",
|
|
48
56
|
"verify:local": "node scripts/verify-lane.mjs policy local",
|
|
49
57
|
"verify:merge": "node scripts/verify-lane.mjs policy merge",
|
|
50
58
|
"verify:scheduled": "node scripts/verify-lane.mjs policy scheduled",
|
|
51
|
-
"verify:release": "node scripts/
|
|
59
|
+
"verify:release": "node scripts/release-qualification.mjs verify --json",
|
|
52
60
|
"lint": "vp lint",
|
|
53
61
|
"fmt": "vp fmt",
|
|
54
62
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
55
|
-
"bundle:data": "node scripts/build-package.mjs"
|
|
56
|
-
"publish:dev": "set -a; [ -f ../../.env ] && . ../../.env; set +a; node scripts/publication-transaction.mjs publish development --authorize"
|
|
63
|
+
"bundle:data": "node scripts/build-package.mjs"
|
|
57
64
|
},
|
|
58
65
|
"dependencies": {
|
|
59
66
|
"smol-toml": "^1.3.1",
|
|
@@ -70,6 +77,6 @@
|
|
|
70
77
|
},
|
|
71
78
|
"agentera": {
|
|
72
79
|
"suiteVersion": "3.0.0",
|
|
73
|
-
"gitRef": "
|
|
80
|
+
"gitRef": "91b25910acca8676d0442e874ceff713c44fae0c"
|
|
74
81
|
}
|
|
75
82
|
}
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
interface: PackageManifest
|
|
2
|
-
status: implemented
|
|
3
|
-
implemented_by: references/adapters/package-registry.yaml
|
|
4
|
-
intent: >
|
|
5
|
-
Define the self-contained Agentera package as the TypeScript CLI plus one
|
|
6
|
-
canonical shared skill and its required contracts. Host-native manifests,
|
|
7
|
-
runtime source trees, and native installation commands are not package
|
|
8
|
-
surfaces.
|
|
9
|
-
record:
|
|
10
|
-
required_groups:
|
|
11
|
-
- identity
|
|
12
|
-
- version_authority
|
|
13
|
-
- version_surfaces
|
|
14
|
-
- bundle_surfaces
|
|
15
|
-
- docs_targets
|
|
16
|
-
- release_policy
|
|
17
|
-
groups:
|
|
18
|
-
identity:
|
|
19
|
-
type: object
|
|
20
|
-
owns:
|
|
21
|
-
- package id
|
|
22
|
-
- suite name
|
|
23
|
-
- canonical shared-skill path
|
|
24
|
-
- capability count expectation
|
|
25
|
-
required_fields:
|
|
26
|
-
id: string
|
|
27
|
-
name: string
|
|
28
|
-
skill_path: repo_relative_path
|
|
29
|
-
expected_capabilities: integer
|
|
30
|
-
version_authority:
|
|
31
|
-
type: object
|
|
32
|
-
owns:
|
|
33
|
-
- suite version access selector
|
|
34
|
-
- persisted authority declaration
|
|
35
|
-
- authority transition rule
|
|
36
|
-
required_fields:
|
|
37
|
-
persisted_authority: repo_relative_path
|
|
38
|
-
selector: string
|
|
39
|
-
access_interface: string
|
|
40
|
-
future_authority_change_requires: string
|
|
41
|
-
version_surfaces:
|
|
42
|
-
type: object
|
|
43
|
-
owns:
|
|
44
|
-
- CLI and shared-skill version surfaces
|
|
45
|
-
- version extraction selectors
|
|
46
|
-
required_fields:
|
|
47
|
-
surfaces: list[object]
|
|
48
|
-
bundle_surfaces:
|
|
49
|
-
type: object
|
|
50
|
-
owns:
|
|
51
|
-
- canonical bundled directories
|
|
52
|
-
- canonical bundled files
|
|
53
|
-
- generated bundled files
|
|
54
|
-
- bundle skip rules
|
|
55
|
-
required_fields:
|
|
56
|
-
directories: list[object]
|
|
57
|
-
files: list[object]
|
|
58
|
-
generated_files: list[generated_bundle_file]
|
|
59
|
-
skip_parts: list[string]
|
|
60
|
-
skip_suffixes: list[string]
|
|
61
|
-
entry_contracts:
|
|
62
|
-
directory_and_file:
|
|
63
|
-
applies_to:
|
|
64
|
-
- directories
|
|
65
|
-
- files
|
|
66
|
-
required_fields:
|
|
67
|
-
- id
|
|
68
|
-
- path
|
|
69
|
-
allowed_fields:
|
|
70
|
-
- id
|
|
71
|
-
- path
|
|
72
|
-
field_types:
|
|
73
|
-
id: string
|
|
74
|
-
path: repo_relative_path
|
|
75
|
-
uniqueness:
|
|
76
|
-
id: global_across_directories_and_files
|
|
77
|
-
path: global_across_directories_and_files
|
|
78
|
-
path_format: normalized_relative_posix
|
|
79
|
-
forbidden_path_forms:
|
|
80
|
-
- posix_absolute
|
|
81
|
-
- windows_absolute_or_drive_prefixed
|
|
82
|
-
- backslash
|
|
83
|
-
- dot_or_dot_dot_segment
|
|
84
|
-
- leading_dot_slash
|
|
85
|
-
- trailing_separator
|
|
86
|
-
- noncanonical_posix_normalization
|
|
87
|
-
value_authority: references/adapters/package-registry.yaml records[*].bundle_surfaces
|
|
88
|
-
docs_targets:
|
|
89
|
-
type: object
|
|
90
|
-
owns:
|
|
91
|
-
- docs version targets
|
|
92
|
-
- docs index targets for package surfaces
|
|
93
|
-
required_fields:
|
|
94
|
-
version_files_source: string
|
|
95
|
-
version_files: list[repo_relative_path]
|
|
96
|
-
index_targets: list[repo_relative_path]
|
|
97
|
-
release_policy:
|
|
98
|
-
type: object
|
|
99
|
-
owns:
|
|
100
|
-
- semver policy projection
|
|
101
|
-
- changelog decision guidance
|
|
102
|
-
- release publication exclusion
|
|
103
|
-
required_fields:
|
|
104
|
-
semver_policy_source: string
|
|
105
|
-
version_bump_required_for_interface_only_change: boolean
|
|
106
|
-
release_publication_in_scope: boolean
|
|
107
|
-
ownership:
|
|
108
|
-
registry_json_version_authority:
|
|
109
|
-
owner: registry.json
|
|
110
|
-
persisted_authority: true
|
|
111
|
-
path: registry.json
|
|
112
|
-
selector: skills[0].version
|
|
113
|
-
access_interface: PackageManifest
|
|
114
|
-
rule: >
|
|
115
|
-
registry.json remains the persisted suite-version authority. PackageManifest
|
|
116
|
-
is the typed access interface unless an explicit future ADR changes that
|
|
117
|
-
authority.
|
|
118
|
-
future_authority_change_requires: explicit ADR
|
|
119
|
-
install_root_delegated:
|
|
120
|
-
owner: packages/cli/src/state/installRoot.ts
|
|
121
|
-
forbidden_in_package_manifest:
|
|
122
|
-
- AGENTERA_HOME precedence
|
|
123
|
-
- default app home
|
|
124
|
-
- managed classification
|
|
125
|
-
- stale classification
|
|
126
|
-
- unmanaged classification
|
|
127
|
-
- app-home diagnostics
|
|
@@ -1,271 +0,0 @@
|
|
|
1
|
-
# Agentera benchmarks
|
|
2
|
-
|
|
3
|
-
This document indexes benchmark surfaces, execution policy, retained outputs,
|
|
4
|
-
and interpretation rules. Use it when running Agentera benchmarks or adding new
|
|
5
|
-
ones.
|
|
6
|
-
|
|
7
|
-
Scope: maintainer-run benchmarks only. Normal verification still lives in tests,
|
|
8
|
-
contract validators, and runtime smoke checks.
|
|
9
|
-
|
|
10
|
-
## Authority order
|
|
11
|
-
|
|
12
|
-
| Authority | Owns |
|
|
13
|
-
| --- | --- |
|
|
14
|
-
| `references/analysis/startup-measurement-contract.yaml` | Startup state-access metric contract, benchmark privacy boundary, retained fields, and storage shape. |
|
|
15
|
-
| `scripts/startup_analysis_contract.py` | Startup analyzer implementation, report generation, aggregate row construction, and benchmark persistence. |
|
|
16
|
-
| `magefile.go` | Manual benchmark command surface and non-interactive approval gate. |
|
|
17
|
-
| `tests/test_startup_analysis_contract.py` | Fixture-backed consent, persistence, privacy, and no-repo-output checks. |
|
|
18
|
-
| `references/analysis/benchmark.md` | Human runbook, interpretation guide, and future benchmark documentation pattern. |
|
|
19
|
-
|
|
20
|
-
## Benchmark surfaces
|
|
21
|
-
|
|
22
|
-
| Surface | Command | Purpose | CI policy |
|
|
23
|
-
| --- | --- | --- | --- |
|
|
24
|
-
| Startup state benchmark | `mage bench:startupState` | Measures how often Agentera CLI state reads are followed by raw artifact access during startup/state gathering. | Manual only; forbidden in normal CI. |
|
|
25
|
-
|
|
26
|
-
Verification ownership, independent owner commands, mixed-file separation
|
|
27
|
-
markers, conservative routing, and named execution-policy compositions live in
|
|
28
|
-
[`verification-policy.yaml`](./verification-policy.yaml).
|
|
29
|
-
|
|
30
|
-
The startup benchmark is an optimization signal for Decision 51 and Decision 52.
|
|
31
|
-
It does not implement a startup state envelope or change runtime behavior.
|
|
32
|
-
|
|
33
|
-
## Startup State Benchmark
|
|
34
|
-
|
|
35
|
-
Run the benchmark with no extra setup:
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
mage bench:startupState
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
The default run uses documented runtime-store defaults, writes retained results
|
|
42
|
-
under the default Agentera benchmark directory, and records unavailable stores as
|
|
43
|
-
bounded degradation evidence. No environment variables are required.
|
|
44
|
-
|
|
45
|
-
To use different runtime history sources, set each runtime label and concrete
|
|
46
|
-
store path explicitly:
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
AGENTERA_BENCH_RUNTIME_STORES="opencode=/absolute/path/to/opencode.db" mage bench:startupState
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
Customize a run when needed:
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
AGENTERA_BENCH_RUNTIME_STORES="opencode=/absolute/path/to/opencode.db" \
|
|
56
|
-
AGENTERA_BENCH_SALT="$(openssl rand -hex 32)" \
|
|
57
|
-
AGENTERA_BENCH_PROJECT_ROOTS="/absolute/project/root" \
|
|
58
|
-
AGENTERA_BENCH_OUTPUT_DIR="/absolute/benchmark/output" \
|
|
59
|
-
mage bench:startupState
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
Inputs:
|
|
63
|
-
|
|
64
|
-
| Input | Meaning |
|
|
65
|
-
| --- | --- |
|
|
66
|
-
| `AGENTERA_BENCH_RUNTIME_STORES` | Optional. Comma-separated `runtime=/absolute/path` overrides. Use this when the documented runtime-store defaults are not the stores you want measured. A runtime label without its path is not enough. |
|
|
67
|
-
| `AGENTERA_BENCH_SALT` | Optional. Local redaction salt for transient `latest-report.*` pseudonyms. If omitted, Mage generates one. `runs.jsonl` does not retain salts or generated salted hashes, so aggregate history does not require a stable or shared salt. |
|
|
68
|
-
| `AGENTERA_BENCH_PROJECT_ROOTS` | Optional. Absolute project roots for corpus extraction. Use this when the current directory is not the project root you want measured. |
|
|
69
|
-
| `AGENTERA_BENCH_OUTPUT_DIR` | Optional. Absolute override for the durable benchmark directory. Use only when the default user-local directory is not desired. |
|
|
70
|
-
|
|
71
|
-
Supported runtime labels are owned by the analyzer and Mage wrapper. Invalid
|
|
72
|
-
labels or relative paths fail before runtime history is read.
|
|
73
|
-
|
|
74
|
-
### Runtime Extraction Contract
|
|
75
|
-
|
|
76
|
-
The extraction matrix is defined in
|
|
77
|
-
`references/analysis/startup-measurement-contract.yaml` under
|
|
78
|
-
`runtime_extraction_contract`. It lists, for each supported runtime, the accepted
|
|
79
|
-
input schema classes, normalized record fields, status mapping, and redaction
|
|
80
|
-
rules.
|
|
81
|
-
|
|
82
|
-
Status interpretation is intentionally split:
|
|
83
|
-
|
|
84
|
-
| Outcome | Status / reason | Meaning |
|
|
85
|
-
| --- | --- | --- |
|
|
86
|
-
| Schema divergence | `degraded` / `schema_divergent` | Candidate runtime storage was found, but the adapter hit schema errors. Treat this as extraction failure evidence. |
|
|
87
|
-
| No matching records | `sparse` / `no_matching_records` | Candidate storage was readable and schema-compatible, but no supported records were extracted. Treat this as sparse coverage evidence. |
|
|
88
|
-
| Successful zero-record window | `ok` / `records_extracted` with `record_count: 0` and `error_count: 0` | Extraction succeeded, but the incremental benchmark window has no records after the previous watermark. Treat this as compatible successful behavior. |
|
|
89
|
-
|
|
90
|
-
Known active-runtime caveats are extraction caveats, not CLI behavior evidence:
|
|
91
|
-
`cursor` is degraded by `schema_divergent` with 4836 candidates, 0 records,
|
|
92
|
-
and 2 errors; `copilot` is degraded by `schema_divergent` with 1 candidate,
|
|
93
|
-
0 records, and 1 error; `opencode` currently contributes records; `codex` can
|
|
94
|
-
validly report `ok` with zero records and zero errors for an empty
|
|
95
|
-
incremental window.
|
|
96
|
-
|
|
97
|
-
Runtime-store runs are incremental by default. The first run for a runtime scope
|
|
98
|
-
measures all records after the v2.3.0 boundary. Later runs for the same
|
|
99
|
-
`runtime_scope` read the previous `benchmark_watermark_at` from `runs.jsonl` and
|
|
100
|
-
measure only records with timestamps strictly after that watermark. This keeps
|
|
101
|
-
new aggregate rows focused on work since the previous successful benchmark run.
|
|
102
|
-
|
|
103
|
-
To start a fresh series, use a different `AGENTERA_BENCH_OUTPUT_DIR` or archive
|
|
104
|
-
the existing `runs.jsonl`. Late-arriving records with timestamps at or before the
|
|
105
|
-
stored watermark are treated as already covered.
|
|
106
|
-
|
|
107
|
-
## How To Reduce Raw Startup Reads
|
|
108
|
-
|
|
109
|
-
Use the startup benchmark as a CLI completeness profiler. The benchmark does not
|
|
110
|
-
measure wall-clock startup speed. It answers whether agents fetch Agentera state
|
|
111
|
-
through the CLI and then still fall back to raw artifact reads, greps, or globs
|
|
112
|
-
during startup/state gathering.
|
|
113
|
-
|
|
114
|
-
Follow this loop:
|
|
115
|
-
|
|
116
|
-
1. Run `mage bench:startupState` and open the retained latest report from the
|
|
117
|
-
`benchmark.directory` path printed on stdout.
|
|
118
|
-
2. Check evidence quality before planning product changes. `total_state_sequences`
|
|
119
|
-
must be non-zero, important runtime rows should not be degraded, and
|
|
120
|
-
`confidence_caveats` plus `degradation_reason_counts` must be understood. If
|
|
121
|
-
the report has zero state-gathering sequences, treat it as no evidence rather
|
|
122
|
-
than evidence that the CLI is complete.
|
|
123
|
-
3. Rank the post-CLI raw artifact reads. The best next CLI field is usually the
|
|
124
|
-
highest repeated artifact in `redundant_raw_artifact_access_counts`, followed
|
|
125
|
-
by `raw_artifact_access_after_cli_counts` when the read is not redundant yet
|
|
126
|
-
but still happens after a successful CLI state call.
|
|
127
|
-
4. Map each repeated raw read to the CLI state owner. Prefer enriching existing
|
|
128
|
-
routine commands or the `prime` composite startup result. Do not add Decision 43
|
|
129
|
-
slash-route aliases as CLI commands.
|
|
130
|
-
5. Make CLI completeness explicit. A startup-capable response should say whether
|
|
131
|
-
it is complete for the requested capability, whether raw artifact reads are
|
|
132
|
-
required, what state families are included, what is missing, and which CLI
|
|
133
|
-
fallback command should be tried before raw file access.
|
|
134
|
-
6. Update guidance and tests so agents trust complete CLI output and use raw
|
|
135
|
-
reads only as a fallback. Rerun the benchmark on representative sessions and
|
|
136
|
-
compare the new rates with prior `runs.jsonl` rows.
|
|
137
|
-
|
|
138
|
-
Use these fields to decide what to change:
|
|
139
|
-
|
|
140
|
-
| Field | How to use it |
|
|
141
|
-
| --- | --- |
|
|
142
|
-
| `runtime_coverage` | Verify which runtime stores contributed records, which were degraded, and why. Fix extraction or gather more evidence before product work when key stores are degraded. |
|
|
143
|
-
| `total_state_sequences` | Confirm the run actually observed startup/state-gathering sequences. A zero value blocks CLI-completeness conclusions. |
|
|
144
|
-
| `cli_state_command_counts` | Shows which Agentera state commands anchored the measured sequences. These commands are the first candidates for richer structured output. |
|
|
145
|
-
| `raw_artifact_access_after_cli_counts` | Shows which canonical artifacts agents still read after CLI state. These are candidate missing CLI fields or summaries. |
|
|
146
|
-
| `redundant_raw_artifact_access_counts` | Shows post-CLI raw reads that overlap state already covered by the CLI. These are the highest-priority avoidable reads. |
|
|
147
|
-
| `per_capability_state_counts` | Shows whether the gap is broad startup behavior or narrow capability-specific startup context. |
|
|
148
|
-
| `capability_prose_read_counts` | Shows capability prose reads during startup. Use this to decide whether routing/context guidance, not artifact state, is the repeated lookup. |
|
|
149
|
-
| `startup_recommendation` | Records whether the measured evidence supports closing, targeted guidance, or a broader startup state envelope. |
|
|
150
|
-
|
|
151
|
-
### Token Impact Estimates
|
|
152
|
-
|
|
153
|
-
Token-impact fields are approximate, privacy-safe aggregate estimates. The
|
|
154
|
-
contract-owned estimator version is `approx_bytes_div_4_v1`: the analyzer may
|
|
155
|
-
observe content byte counts transiently, group them by canonical artifact label,
|
|
156
|
-
and estimate tokens as bytes divided by 4. Retained outputs must not include raw
|
|
157
|
-
paths, transcript text, raw tool arguments, private salts, or generated salted
|
|
158
|
-
hashes.
|
|
159
|
-
|
|
160
|
-
Retained latest reports and new history rows may include:
|
|
161
|
-
|
|
162
|
-
| Field | Meaning |
|
|
163
|
-
| --- | --- |
|
|
164
|
-
| `token_estimator_version` | Estimator identity, currently `approx_bytes_div_4_v1`. |
|
|
165
|
-
| `estimated_raw_after_cli_tokens` | Aggregate estimated tokens for raw artifact reads after CLI state calls. |
|
|
166
|
-
| `estimated_redundant_raw_tokens` | Aggregate estimated tokens for raw artifact reads that overlap CLI-covered state. |
|
|
167
|
-
| `estimated_raw_after_cli_tokens_by_artifact` | Canonical-label breakdown such as `PLAN.md`; never raw paths. |
|
|
168
|
-
| `estimated_redundant_raw_tokens_by_artifact` | Canonical-label breakdown for redundant raw reads. |
|
|
169
|
-
| `estimated_tokens_saved_vs_previous` | Previous comparable row's redundant-token estimate minus the current row's estimate, or `null`. |
|
|
170
|
-
| `estimated_tokens_saved_vs_previous_null_reason` | Concrete reason when savings are `null`, such as `previous_missing_token_estimates`. |
|
|
171
|
-
|
|
172
|
-
Rows are comparable only when contract version, benchmark mode, runtime scope,
|
|
173
|
-
estimator version, and token-field availability match. Otherwise savings stay
|
|
174
|
-
`null` with a contract-listed reason.
|
|
175
|
-
|
|
176
|
-
Stop conditions are as important as action triggers. If a run has zero
|
|
177
|
-
state-gathering sequences, sparse records, or degraded schema extraction, improve
|
|
178
|
-
benchmark coverage first. If only one capability repeatedly reads one artifact,
|
|
179
|
-
prefer targeted CLI output or guidance over a broad startup envelope. If multiple
|
|
180
|
-
capabilities repeatedly read several redundant artifacts after CLI state, plan a
|
|
181
|
-
capability-ready startup state envelope or equivalent composite output.
|
|
182
|
-
|
|
183
|
-
## Retention Policy
|
|
184
|
-
|
|
185
|
-
Default durable storage is `${AGENTERA_HOME}/benchmarks/startup-state/`.
|
|
186
|
-
|
|
187
|
-
Retained outputs are limited to:
|
|
188
|
-
|
|
189
|
-
| File | Retention role |
|
|
190
|
-
| --- | --- |
|
|
191
|
-
| `runs.jsonl` | Append-only aggregate benchmark history and previous-run watermark source. |
|
|
192
|
-
| `latest-report.json` | Latest redacted structured report. |
|
|
193
|
-
| `latest-report.md` | Latest redacted human-readable report. |
|
|
194
|
-
|
|
195
|
-
Temporary corpus files, intermediates, and per-run detailed reports are not
|
|
196
|
-
durable benchmark history. Failed report generation must not append `runs.jsonl`
|
|
197
|
-
or replace previous latest reports.
|
|
198
|
-
|
|
199
|
-
Aggregate history must not retain raw transcripts, raw corpus files, raw
|
|
200
|
-
intermediates, raw store paths, raw session ids, private salts, or generated
|
|
201
|
-
salted hashes. Benchmark metrics are user-local, uncommitted, unshipped, and not
|
|
202
|
-
part of normal CI.
|
|
203
|
-
|
|
204
|
-
The command prints the retained benchmark directory in `benchmark.directory`.
|
|
205
|
-
Review the latest result from that directory, or from the default location under
|
|
206
|
-
your resolved `AGENTERA_HOME` (see `agentera doctor --json` when unset):
|
|
207
|
-
|
|
208
|
-
```bash
|
|
209
|
-
BENCH_DIR="${AGENTERA_HOME}/benchmarks/startup-state"
|
|
210
|
-
|
|
211
|
-
less "$BENCH_DIR/latest-report.md"
|
|
212
|
-
python3 -m json.tool "$BENCH_DIR/latest-report.json"
|
|
213
|
-
tail -n 5 "$BENCH_DIR/runs.jsonl"
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
Set `AGENTERA_HOME` first, or resolve the platform app home from
|
|
217
|
-
`agentera doctor --json` / `agentera upgrade --dry-run` when unset.
|
|
218
|
-
The stdout `reports` filenames are analyzer report names from Mage's temporary
|
|
219
|
-
work directory. The durable operator-facing files are the `benchmark` paths:
|
|
220
|
-
`runs.jsonl`, `latest-report.json`, and `latest-report.md`.
|
|
221
|
-
|
|
222
|
-
## Interpretation
|
|
223
|
-
|
|
224
|
-
Interpret the benchmark as a startup state-access optimization signal, not as a
|
|
225
|
-
general runtime performance benchmark.
|
|
226
|
-
|
|
227
|
-
Default runs demonstrate whether new local Agentera startup/state-gathering
|
|
228
|
-
behavior since the previous successful run repeatedly falls back from CLI state
|
|
229
|
-
reads to raw artifact access. Stores that do not exist or cannot be read are
|
|
230
|
-
bounded degradation evidence, not successful behavior evidence.
|
|
231
|
-
|
|
232
|
-
Watermark fields:
|
|
233
|
-
|
|
234
|
-
| Field | Meaning |
|
|
235
|
-
| --- | --- |
|
|
236
|
-
| `benchmark_mode` | `since_previous_benchmark` for Mage runs that use retained history as the previous-run boundary. |
|
|
237
|
-
| `benchmark_previous_watermark_at` | The previous successful watermark for the same `runtime_scope`, or `null` on the first run. |
|
|
238
|
-
| `benchmark_window_started_after` | The exclusive lower timestamp bound used for this run. |
|
|
239
|
-
| `benchmark_watermark_at` | The latest record timestamp covered by this run. The next run for the same `runtime_scope` starts after this value. |
|
|
240
|
-
|
|
241
|
-
Primary rates:
|
|
242
|
-
|
|
243
|
-
| Latest report field | History row field | Meaning |
|
|
244
|
-
| --- | --- | --- |
|
|
245
|
-
| `raw_after_cli_sequence_rate` | `raw_after_cli_rate` | Share of startup state-gathering sequences where any raw Agentera artifact access follows CLI state. |
|
|
246
|
-
| `redundant_raw_sequence_rate` | `redundant_raw_access_rate` | Share of startup state-gathering sequences where raw access overlaps state already covered by the CLI. |
|
|
247
|
-
|
|
248
|
-
High rates support follow-up work such as a CLI startup state envelope. Low or
|
|
249
|
-
zero rates can close the measurement loop without implementation if the corpus is
|
|
250
|
-
representative and degradation counts are bounded.
|
|
251
|
-
|
|
252
|
-
Always review runtime coverage and degradation counts before treating a trend as
|
|
253
|
-
actionable. Missing, locked, sparse, or unreadable stores are bounded degradation
|
|
254
|
-
evidence, not product behavior evidence.
|
|
255
|
-
|
|
256
|
-
## Adding Benchmarks
|
|
257
|
-
|
|
258
|
-
New Agentera benchmarks should follow the same shape:
|
|
259
|
-
|
|
260
|
-
| Requirement | Rule |
|
|
261
|
-
| --- | --- |
|
|
262
|
-
| Contract first | Define metric, privacy boundary, storage, retained fields, and failure behavior before implementation. |
|
|
263
|
-
| No-prerequisite target | Every `mage bench:*` target must run with no environment variables. The default mode should use documented local defaults and report unavailable inputs as bounded degradation evidence. |
|
|
264
|
-
| Manual unless proven safe | Do not add runtime-history or environment-sensitive benchmarks to normal CI. |
|
|
265
|
-
| Explicit local approval | Require concrete paths or resources, not broad consent flags. |
|
|
266
|
-
| User-local outputs | Keep generated benchmark history outside the repository by default. |
|
|
267
|
-
| Bounded retention | Retain aggregate history and latest redacted reports only. |
|
|
268
|
-
| Fixture verification | Test consent refusal, successful synthetic runs, degradation cases, privacy exclusions, and no repository-local outputs. |
|
|
269
|
-
|
|
270
|
-
If a future benchmark needs different retention or CI behavior, document the
|
|
271
|
-
reason in its contract and update this file in the same change.
|