agentera 3.0.0-dev.6 → 3.0.0-dev.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +118 -22
- package/bundle/CHANGELOG.md +1361 -0
- package/bundle/DESIGN.md +229 -0
- package/bundle/LICENSE +201 -0
- package/bundle/README.md +143 -0
- package/bundle/UPGRADE.md +252 -0
- package/bundle/extract-corpus-parity.json +21 -0
- package/bundle/fixtures/routing/hybrid-corpus.yaml +154 -0
- package/bundle/references/adapters/package-publication.json +488 -0
- package/bundle/references/adapters/package-registry.yaml +435 -188
- package/bundle/references/adapters/package-surface-characterization.md +66 -34
- package/bundle/references/adapters/runtime-lifecycle-adapters.yaml +74 -0
- package/bundle/references/adapters/runtime-lifecycle-authority.yaml +62 -0
- package/bundle/references/adapters/runtime-lifecycle-operation-contract.yaml +84 -0
- package/bundle/references/adapters/runtime-retired-resources.yaml +333 -0
- package/bundle/references/analysis/evidence-tier-authority.yaml +518 -0
- package/bundle/references/analysis/verification-policy.yaml +266 -0
- package/bundle/references/artifacts/artifact-registry-interface-model.yaml +20 -10
- package/bundle/references/artifacts/glossary-entry-contract.yaml +1254 -0
- package/bundle/references/artifacts/state-storage-authority.yaml +3061 -0
- package/bundle/references/artifacts/verbosity-budget-authority.yaml +42 -0
- package/bundle/references/cli/app-lifecycle-vocabulary.yaml +7 -8
- package/bundle/references/cli/capability-instruction-contract.yaml +11 -14
- package/bundle/references/cli/hybrid-route-contract.yaml +438 -0
- package/bundle/references/cli/routing-model.md +155 -0
- package/bundle/references/cli/trigger-schema-enrichment.md +147 -0
- package/bundle/references/cli/update-channels.yaml +19 -2
- package/bundle/references/cli/vocabulary-index.yaml +20 -17
- package/bundle/references/cli/vocabulary.md +325 -362
- package/bundle/references/meta/retained-reference-authority.yaml +151 -0
- package/bundle/registry.json +13 -13
- package/bundle/skills/agentera/SKILL.md +226 -422
- 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 +103 -0
- package/bundle/skills/agentera/capabilities/{realisera → build}/schemas/exit.yaml +8 -6
- package/bundle/skills/agentera/capabilities/build/schemas/triggers.yaml +27 -0
- package/bundle/skills/agentera/capabilities/build/schemas/validation.yaml +184 -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 +18 -18
- 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 +178 -34
- package/bundle/skills/agentera/protocol.yaml +31 -31
- 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 +39 -21
- 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 +461 -36
- package/bundle/skills/agentera/schemas/artifacts/progress.yaml +133 -20
- package/bundle/skills/agentera/schemas/artifacts/todo.yaml +342 -42
- package/bundle/skills/agentera/schemas/artifacts/vision.yaml +3 -3
- package/dist/analytics/extractCorpus/cli.js +101 -12
- package/dist/analytics/extractCorpus/copilotSessions.js +53 -9
- package/dist/analytics/extractCorpus/core.js +59 -24
- package/dist/analytics/extractCorpus/corpus.js +58 -23
- package/dist/analytics/extractCorpus/coverageAudit.js +260 -0
- package/dist/analytics/extractCorpus/cursorSessions.js +12 -7
- package/dist/analytics/extractCorpus/evidenceTiers.js +603 -0
- package/dist/analytics/extractCorpus/extractCorpusParity.js +105 -0
- package/dist/analytics/extractCorpus/filesystemSources.js +1 -5
- package/dist/analytics/extractCorpus/index.js +6 -1
- package/dist/analytics/extractCorpus/jsonlSessions.js +24 -5
- package/dist/analytics/extractCorpus/sqliteCaps.js +43 -0
- package/dist/analytics/extractCorpus/sqliteSessions.js +98 -6
- package/dist/analytics/extractCorpus/tierReader.js +108 -0
- package/dist/analytics/extractCorpus.js +0 -1
- package/dist/analytics/glossaryAdviceResolution.js +166 -0
- package/dist/analytics/glossaryInputAcquisition.js +319 -0
- package/dist/analytics/personalGlossaryAdmission.js +133 -0
- package/dist/analytics/personalGlossaryProfile.js +219 -0
- package/dist/analytics/profileSignals.js +211 -0
- package/dist/analytics/usageStats.js +169 -42
- package/dist/audit/terminologyDrift.js +281 -0
- package/dist/bin/agentera.js +3 -2
- package/dist/capabilities/audit/instructions.js +16 -0
- package/dist/capabilities/build/instructions.js +59 -0
- package/dist/capabilities/design/instructions.js +4 -0
- package/dist/capabilities/discuss/instructions.js +29 -0
- package/dist/capabilities/document/instructions.js +11 -0
- package/dist/capabilities/index.js +29 -27
- package/dist/capabilities/optimize/instructions.js +14 -0
- package/dist/capabilities/orchestrate/instructions.js +42 -0
- package/dist/capabilities/plan/instructions.js +33 -0
- package/dist/capabilities/profile/instructions.js +70 -0
- package/dist/capabilities/research/instructions.js +5 -0
- package/dist/capabilities/status/instructions.js +15 -0
- package/dist/capabilities/status/startupInstructions.js +34 -0
- package/dist/capabilities/vision/instructions.js +4 -0
- package/dist/cli/appContext.js +30 -24
- package/dist/cli/argvalidate.js +0 -1
- package/dist/cli/capabilityContext/benchmark.js +25 -17
- package/dist/cli/capabilityContext/bespoke.js +31 -12
- package/dist/cli/capabilityContext/build.js +251 -0
- package/dist/cli/capabilityContext/closeout.js +33 -30
- package/dist/cli/capabilityContext/contract.js +39 -46
- package/dist/cli/capabilityContext/evidence.js +90 -73
- package/dist/cli/capabilityContext/index.js +1 -2
- package/dist/cli/capabilityContext/orchestration.js +45 -21
- package/dist/cli/capabilityContext/planState.js +93 -100
- package/dist/cli/capabilityContext/progress.js +60 -14
- package/dist/cli/capabilityContext/projectVerification.js +409 -0
- package/dist/cli/capabilityContext/shared.js +9 -20
- package/dist/cli/capabilityContext/slim.js +56 -10
- package/dist/cli/capabilityContext/startup.js +57 -115
- package/dist/cli/capabilityContext/startupAggregation.js +68 -0
- package/dist/cli/capabilityContext/types.js +37 -24
- package/dist/cli/capabilityContext.js +1 -2
- package/dist/cli/commands/appHome.js +22 -0
- package/dist/cli/commands/capability.js +4 -4
- package/dist/cli/commands/compact.js +163 -13
- package/dist/cli/commands/doctor.js +122 -114
- package/dist/cli/commands/durability.js +81 -0
- package/dist/cli/commands/glossaryAdvice.js +138 -0
- package/dist/cli/commands/lint.js +22 -8
- package/dist/cli/commands/personalGlossary.js +176 -0
- package/dist/cli/commands/prime/briefOrientation.js +746 -0
- package/dist/cli/commands/prime/buildExecutionRequest.js +165 -0
- package/dist/cli/commands/prime/bundleStatus.js +190 -0
- package/dist/cli/commands/prime/collectEntityOrientation.js +326 -0
- package/dist/cli/commands/prime/collectOrientationState.js +219 -0
- package/dist/cli/commands/prime/orientationOutput.js +421 -0
- package/dist/cli/commands/prime/types.js +1 -0
- package/dist/cli/commands/prime/v1Migration.js +38 -0
- package/dist/cli/commands/prime.js +80 -558
- package/dist/cli/commands/profileGrounding.js +55 -0
- package/dist/cli/commands/query.js +77 -52
- package/dist/cli/commands/report.js +88 -26
- package/dist/cli/commands/route.js +142 -0
- package/dist/cli/commands/schema.js +266 -142
- package/dist/cli/commands/state/decisions.js +51 -61
- package/dist/cli/commands/state/docs.js +63 -86
- package/dist/cli/commands/state/experimentRecords.js +151 -0
- package/dist/cli/commands/state/experiments.js +11 -64
- package/dist/cli/commands/state/get.js +129 -0
- package/dist/cli/commands/state/health.js +11 -111
- package/dist/cli/commands/state/index.js +6 -41
- package/dist/cli/commands/state/list.js +194 -0
- package/dist/cli/commands/state/objective.js +21 -64
- package/dist/cli/commands/state/plan.js +11 -169
- package/dist/cli/commands/state/planTasks.js +154 -0
- package/dist/cli/commands/state/plans.js +154 -0
- package/dist/cli/commands/state/progress.js +11 -45
- package/dist/cli/commands/state/shared.js +0 -1
- package/dist/cli/commands/state/todo.js +29 -108
- package/dist/cli/commands/state/write.js +433 -0
- package/dist/cli/commands/upgrade.js +146 -5
- package/dist/cli/commands/upgradeVerify.js +118 -0
- package/dist/cli/commands/validate.js +246 -211
- package/dist/cli/commands/verify.js +24 -9
- package/dist/cli/contracts/bundleStatus.js +1 -0
- package/dist/cli/contracts/orientationState.js +1 -0
- package/dist/cli/dispatch/argvParser.js +32 -0
- package/dist/cli/dispatch/check.js +94 -50
- package/dist/cli/dispatch/commands.js +27 -0
- package/dist/cli/dispatch/index.js +82 -52
- package/dist/cli/dispatch/lifecycle.js +268 -108
- package/dist/cli/dispatch/prime.js +68 -29
- package/dist/cli/dispatch/projections.js +17 -0
- package/dist/cli/dispatch/shared.js +1 -2
- package/dist/cli/dispatch/state.js +68 -77
- package/dist/cli/dispatch.js +0 -1
- package/dist/cli/errors.js +16 -17
- package/dist/cli/help.js +395 -41
- package/dist/cli/migrationRequired.js +122 -0
- package/dist/cli/orientation/attention.js +61 -0
- package/dist/cli/orientation/corpusCoverage.js +102 -0
- package/dist/cli/orientation.js +438 -170
- package/dist/cli/planArtifacts.js +350 -0
- package/dist/cli/planEvidence.js +157 -0
- package/dist/cli/planLifecycleState.js +36 -0
- package/dist/cli/planTaskIndex.js +11 -0
- package/dist/cli/preCutoverCommand.js +32 -0
- package/dist/cli/prime-blob.js +71 -3
- package/dist/cli/profileAcquisition.js +167 -0
- package/dist/cli/startupCompletenessContract.js +59 -0
- package/dist/cli/stateQuery.js +56 -14
- package/dist/cli/structured.js +0 -1
- package/dist/cli/todoMarkdown.js +25 -12
- package/dist/cli/todoReadinessSelection.js +192 -0
- package/dist/cli/todoSeverity.js +18 -0
- package/dist/core/atomicWriter.js +20 -0
- package/dist/core/developmentChannel.js +1 -0
- package/dist/core/developmentInvocation.js +374 -0
- package/dist/core/difflib.js +0 -1
- package/dist/core/envPaths.js +20 -0
- package/dist/core/jsonValue.js +5 -0
- package/dist/core/paths.js +0 -1
- package/dist/core/pyjson.js +67 -3
- package/dist/core/shell.js +4 -0
- package/dist/core/skillIdentity.js +23 -0
- package/dist/core/sourceRoot.js +9 -12
- package/dist/core/text.js +10 -0
- package/dist/core/toml.js +0 -1
- package/dist/core/yaml.js +8 -1
- package/dist/eval/evalSkills.js +30 -26
- package/dist/eval/hybridRouteEvaluation.js +155 -0
- package/dist/eval/semanticEval.js +43 -20
- package/dist/eval/semanticFixtures.js +16 -5
- package/dist/hooks/common.js +3 -56
- package/dist/hooks/compaction/apply.js +252 -50
- package/dist/hooks/compaction/dryRun.js +7 -4
- package/dist/hooks/compaction/index.js +5 -6
- package/dist/hooks/compaction/parse.js +201 -5
- package/dist/hooks/compaction/retention.js +30 -25
- package/dist/hooks/compaction/status.js +149 -32
- package/dist/hooks/compaction/types.js +0 -1
- package/dist/hooks/validateArtifact/agentFacing.js +0 -1
- package/dist/hooks/validateArtifact/index.js +7 -64
- package/dist/hooks/validateArtifact/markdown.js +57 -7
- package/dist/hooks/validateArtifact/schema.js +110 -19
- package/dist/hooks/validateArtifact/traversal.js +13 -11
- package/dist/hooks/validateArtifact/violations.js +7 -5
- package/dist/migrate/v2HandoffManifest.js +127 -8
- package/dist/registries/activationContract.js +2 -0
- package/dist/registries/activationTuples.js +108 -0
- package/dist/registries/artifactProtocolIds.js +2 -1
- package/dist/registries/artifactRegistry.js +224 -63
- package/dist/registries/artifactSchemaProjection.js +45 -0
- package/dist/registries/capabilityContract.js +129 -2
- package/dist/registries/evaluatorHandoffContract.js +2 -3
- package/dist/registries/evidenceTierContract.js +371 -0
- package/dist/registries/glossaryAdviceContract.js +79 -0
- package/dist/registries/glossaryCaveatContract.js +67 -0
- package/dist/registries/glossaryConsumerContractValidation.js +787 -0
- package/dist/registries/glossaryEntryContract.js +757 -0
- package/dist/registries/glossaryTermIdentity.js +17 -0
- package/dist/registries/glossaryTermOccurrence.js +20 -0
- package/dist/registries/hybridRoute.js +274 -0
- package/dist/registries/hybridRouteReceipt.js +221 -0
- package/dist/registries/packagePublication.js +273 -0
- package/dist/registries/packageRegistry.js +187 -211
- package/dist/registries/todoReadinessContract.js +448 -0
- package/dist/registries/triggerLoader.js +174 -0
- package/dist/registries/verbosityBudgetContract.js +205 -0
- package/dist/release/releaseMetadata.js +156 -6
- package/dist/runtime/lifecycleAdapterContract.js +457 -0
- package/dist/runtime/lifecycleAdapters.js +777 -0
- package/dist/runtime/lifecycleAuthority.js +453 -0
- package/dist/runtime/lifecycleOperationContract.js +123 -0
- package/dist/runtime/lifecycleOperations.js +634 -0
- package/dist/runtime/lifecycleOwnershipJournal.js +622 -0
- package/dist/runtime/lifecyclePublication.js +415 -0
- package/dist/runtime/lifecycleSnapshot.js +438 -0
- package/dist/runtime/nativeResourceCleanup.js +502 -0
- package/dist/setup/opencode.js +20 -13
- package/dist/setup/opencodeConstants.js +1 -0
- package/dist/setup/sharedSkill.js +45 -0
- package/dist/setup/smokeChecks.js +21 -82
- package/dist/state/archiveDiscovery.js +580 -0
- package/dist/state/archivePublication.js +225 -0
- package/dist/state/archiveRecovery.js +237 -0
- package/dist/state/archiveReplay.js +53 -0
- package/dist/state/canonicalMigrationRecord.js +36 -0
- package/dist/state/changelog.js +221 -0
- package/dist/state/decisionEntities.js +367 -0
- package/dist/state/decisionLegacyValidation.js +215 -0
- package/dist/state/decisionMigrationProvenance.js +199 -0
- package/dist/state/decisionOverlay.js +254 -0
- package/dist/state/decisionRevision.js +256 -0
- package/dist/state/decisionRevisionMigration.js +89 -0
- package/dist/state/directRetrieval.js +323 -0
- package/dist/state/durability.js +324 -0
- package/dist/state/entityCutover.js +459 -0
- package/dist/state/entityCutoverGit.js +127 -0
- package/dist/state/entityGlossaryAuthority.js +13 -0
- package/dist/state/entityListProjection.js +187 -0
- package/dist/state/entityListRuntimeRegistry.js +85 -0
- package/dist/state/entityMigrationCausality.js +97 -0
- package/dist/state/entityMigrationIdentity.js +5 -0
- package/dist/state/entityMigrationPreview.js +840 -0
- package/dist/state/entityMigrationTodo.js +133 -0
- package/dist/state/entityPublicationContext.js +859 -0
- package/dist/state/entityRetrievalHelp.js +506 -0
- package/dist/state/entityStorage.js +899 -0
- package/dist/state/exactReplacementRecovery.js +18 -0
- package/dist/state/experimentArchive.js +63 -0
- package/dist/state/experimentIdentity.js +202 -0
- package/dist/state/healthEntities.js +262 -0
- package/dist/state/healthEntityValidation.js +18 -0
- package/dist/state/healthRepair.js +69 -0
- package/dist/state/installRoot.js +64 -25
- package/dist/state/legacyEntityCutoverEvidence.js +65 -0
- package/dist/state/legacyIdentity.js +47 -0
- package/dist/state/legacySummaryRecord.js +6 -0
- package/dist/state/listAccounting.js +54 -0
- package/dist/state/listClassification.js +17 -0
- package/dist/state/listCursor.js +42 -0
- package/dist/state/listRetrieval.js +781 -0
- package/dist/state/migrationSourceBinding.js +30 -0
- package/dist/state/objectiveExperimentEntities.js +322 -0
- package/dist/state/planEntities.js +1027 -0
- package/dist/state/planIdentity.js +47 -0
- package/dist/state/planLineageValidation.js +52 -0
- package/dist/state/planReplacementTransaction.js +475 -0
- package/dist/state/planRetrieval.js +313 -0
- package/dist/state/planTaskRetrieval.js +294 -0
- package/dist/state/progressEntities.js +512 -0
- package/dist/state/progressGlossaryCaveat.js +168 -0
- package/dist/state/progressPublicationOrder.js +19 -0
- package/dist/state/progressWritePolicy.js +33 -0
- package/dist/state/projectRoot.js +62 -0
- package/dist/state/projectionPolicy.js +190 -0
- package/dist/state/retrievalAuthority.js +156 -0
- package/dist/state/safeProjectFile.js +155 -0
- package/dist/state/startupAnalysis/benchmark.js +92 -27
- package/dist/state/startupAnalysis/contract.js +48 -10
- package/dist/state/startupAnalysis/helpers.js +27 -73
- package/dist/state/startupAnalysis/index.js +0 -1
- package/dist/state/startupAnalysis/metrics.js +25 -19
- package/dist/state/startupAnalysis/records.js +13 -10
- package/dist/state/startupAnalysis/report.js +26 -38
- package/dist/state/startupAnalysis/threshold.js +19 -7
- package/dist/state/startupAnalysis.js +0 -1
- package/dist/state/startupProjection.js +499 -0
- package/dist/state/stateMode.js +222 -0
- package/dist/state/stateStorageAuthority.js +47 -0
- package/dist/state/summaryEntityRead.js +25 -0
- package/dist/state/summaryMigrationProvenance.js +66 -0
- package/dist/state/summarySourceRowAuthority.js +36 -0
- package/dist/state/todoActivationSafety.js +58 -0
- package/dist/state/todoDocsEntities.js +1124 -0
- package/dist/state/todoDocsEntityValidation.js +158 -0
- package/dist/state/todoMarkdownProjection.js +51 -0
- package/dist/state/todoReconciliationActivation.js +182 -0
- package/dist/state/todoReconciliationInspection.js +171 -0
- package/dist/state/todoReconciliationRepair.js +318 -0
- package/dist/state/todoReconciliationTransaction.js +595 -0
- package/dist/state/write/assign.js +20 -0
- package/dist/state/write/candidateMutation.js +269 -0
- package/dist/state/write/errors.js +11 -0
- package/dist/state/write/experimentPublication.js +192 -0
- package/dist/state/write/explain.js +377 -0
- package/dist/state/write/fields.js +61 -0
- package/dist/state/write/glossaryPublication.js +263 -0
- package/dist/state/write/grammar.js +285 -0
- package/dist/state/write/helpers.js +29 -0
- package/dist/state/write/index.js +12 -0
- package/dist/state/write/input.js +391 -0
- package/dist/state/write/lock.js +837 -0
- package/dist/state/write/mutation.js +234 -0
- package/dist/state/write/operations.js +170 -0
- package/dist/state/write/planEvaluation.js +128 -0
- package/dist/state/write/planPublication.js +179 -0
- package/dist/state/write/runtimeOperations.js +146 -0
- package/dist/state/write/serialize.js +1 -0
- package/dist/state/write/transaction.js +57 -0
- package/dist/state/write/validate.js +7 -0
- package/dist/upgrade/appContentRefresh.js +383 -0
- package/dist/upgrade/appModel.js +8 -7
- package/dist/upgrade/atomicWriter.js +1 -0
- package/dist/upgrade/bundleEvidence.js +33 -0
- package/dist/upgrade/channels.js +12 -8
- package/dist/upgrade/compatibility.js +56 -21
- package/dist/upgrade/doctor.js +165 -199
- package/dist/upgrade/doctorClassifier.js +187 -0
- package/dist/upgrade/installedHooksRetirement.js +196 -0
- package/dist/upgrade/legacyAgentCleanup.js +282 -0
- package/dist/upgrade/lifecycleUpgrade.js +113 -0
- package/dist/upgrade/migrateArtifactsV2ToV3.js +375 -79
- package/dist/upgrade/migrationPublication.js +122 -0
- package/dist/upgrade/nextMajorDoctor.js +29 -10
- package/dist/upgrade/npxPlatformStatus.js +22 -0
- package/dist/upgrade/projectIntegration.js +145 -189
- package/dist/upgrade/projectIntegrationDecision.js +50 -0
- package/dist/upgrade/retiredResourceDiagnostics.js +117 -0
- package/dist/upgrade/runtimeMigration.js +272 -373
- package/dist/upgrade/upgradeCommands.js +14 -1
- package/dist/upgrade/upgradeLock.js +85 -0
- package/dist/upgrade/upgradeOrchestrator.js +263 -59
- package/dist/upgrade/v3CapabilitySurface.js +2 -3
- package/dist/upgrade/versionResolution.js +2 -3
- package/dist/validate/activationArtifactEvidence.js +852 -0
- package/dist/validate/activationArtifactEvidenceTypes.js +12 -0
- package/dist/validate/activationConjunction.js +816 -0
- package/dist/validate/activationEvidenceManifest.js +531 -0
- package/dist/validate/activationPackageSemantics.js +29 -0
- package/dist/validate/appHomeContract.js +2 -8
- package/dist/validate/bootstrapAuthority.js +44 -0
- package/dist/validate/capability.js +133 -12
- package/dist/validate/crossCapability.js +15 -10
- package/dist/validate/retainedReferenceAuthority.js +879 -0
- package/dist/validate/selfAudit.js +39 -45
- package/dist/validate/v1LegacyCruft.js +131 -0
- package/dist/validate/vocabularyAuthority.js +18 -13
- package/package.json +60 -29
- package/bundle/references/adapters/cursor.md +0 -213
- package/bundle/references/adapters/opencode.md +0 -530
- package/bundle/references/adapters/package-manifest-interface-model.yaml +0 -337
- package/bundle/references/adapters/runtime-adapter-characterization.md +0 -79
- package/bundle/references/adapters/runtime-adapter-interface-model.yaml +0 -200
- package/bundle/references/adapters/runtime-adapter-registry.yaml +0 -548
- package/bundle/references/adapters/runtime-feature-parity.md +0 -189
- package/bundle/references/analysis/benchmark.md +0 -267
- package/bundle/references/analysis/startup-measurement-contract.yaml +0 -424
- package/bundle/references/cli/agent-ready-state-contract.yaml +0 -953
- package/bundle/references/cli/audience-namespace-cli-migration.yaml +0 -369
- package/bundle/references/cli/bundle-skill-vocabulary.yaml +0 -250
- package/bundle/references/cli/capability-tool-classification.yaml +0 -53
- package/bundle/references/cli/coexistence-probe.yaml +0 -9
- package/bundle/references/cli/routing-execution-vocabulary.yaml +0 -281
- package/bundle/references/cli/single-name-protocol.yaml +0 -42
- package/bundle/references/cli/upgrade-repair-wording.md +0 -31
- package/bundle/references/cli/v3-handoff-manifest.schema.yaml +0 -98
- package/bundle/references/meta/documentation-inventory.md +0 -49
- package/bundle/skills/agentera/.claude-plugin/plugin.json +0 -27
- package/bundle/skills/agentera/agents/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/schemas/artifacts.yaml +0 -73
- package/bundle/skills/agentera/capabilities/dokumentera/schemas/triggers.yaml +0 -35
- 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/schemas/artifacts.yaml +0 -76
- package/bundle/skills/agentera/capabilities/inspektera/schemas/triggers.yaml +0 -38
- 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/schemas/triggers.yaml +0 -39
- 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 -120
- 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/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/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/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/schemas/triggers.yaml +0 -41
- package/bundle/skills/agentera/capabilities/visualisera/schemas/triggers.yaml +0 -33
- package/bundle/skills/agentera/references/contract.md +0 -1039
- 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/cursorSessions.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/sqliteSessions.js.map +0 -1
- package/dist/analytics/extractCorpus.js.map +0 -1
- package/dist/analytics/usageStats.js.map +0 -1
- package/dist/bin/agentera.js.map +0 -1
- package/dist/capabilities/dokumentera/instructions.js +0 -6
- package/dist/capabilities/dokumentera/instructions.js.map +0 -1
- package/dist/capabilities/hej/instructions.js +0 -6
- package/dist/capabilities/hej/instructions.js.map +0 -1
- package/dist/capabilities/index.js.map +0 -1
- package/dist/capabilities/inspektera/instructions.js +0 -6
- package/dist/capabilities/inspektera/instructions.js.map +0 -1
- package/dist/capabilities/inspirera/instructions.js +0 -6
- package/dist/capabilities/inspirera/instructions.js.map +0 -1
- package/dist/capabilities/optimera/instructions.js +0 -6
- package/dist/capabilities/optimera/instructions.js.map +0 -1
- package/dist/capabilities/orkestrera/instructions.js +0 -6
- package/dist/capabilities/orkestrera/instructions.js.map +0 -1
- package/dist/capabilities/planera/instructions.js +0 -6
- package/dist/capabilities/planera/instructions.js.map +0 -1
- package/dist/capabilities/profilera/instructions.js +0 -6
- package/dist/capabilities/profilera/instructions.js.map +0 -1
- package/dist/capabilities/realisera/instructions.js +0 -6
- package/dist/capabilities/realisera/instructions.js.map +0 -1
- package/dist/capabilities/resonera/instructions.js +0 -6
- package/dist/capabilities/resonera/instructions.js.map +0 -1
- package/dist/capabilities/visionera/instructions.js +0 -6
- package/dist/capabilities/visionera/instructions.js.map +0 -1
- package/dist/capabilities/visualisera/instructions.js +0 -6
- package/dist/capabilities/visualisera/instructions.js.map +0 -1
- package/dist/cli/appContext.js.map +0 -1
- package/dist/cli/argvalidate.js.map +0 -1
- package/dist/cli/capabilityContext/benchmark.js.map +0 -1
- package/dist/cli/capabilityContext/bespoke.js.map +0 -1
- package/dist/cli/capabilityContext/closeout.js.map +0 -1
- package/dist/cli/capabilityContext/contract.js.map +0 -1
- package/dist/cli/capabilityContext/evidence.js.map +0 -1
- package/dist/cli/capabilityContext/index.js.map +0 -1
- package/dist/cli/capabilityContext/orchestration.js.map +0 -1
- package/dist/cli/capabilityContext/planState.js.map +0 -1
- package/dist/cli/capabilityContext/progress.js.map +0 -1
- package/dist/cli/capabilityContext/realisera.js +0 -174
- package/dist/cli/capabilityContext/realisera.js.map +0 -1
- package/dist/cli/capabilityContext/shared.js.map +0 -1
- package/dist/cli/capabilityContext/slim.js.map +0 -1
- package/dist/cli/capabilityContext/startup.js.map +0 -1
- package/dist/cli/capabilityContext/types.js.map +0 -1
- package/dist/cli/capabilityContext.js.map +0 -1
- package/dist/cli/commands/backfill.js +0 -84
- package/dist/cli/commands/backfill.js.map +0 -1
- package/dist/cli/commands/capability.js.map +0 -1
- package/dist/cli/commands/compact.js.map +0 -1
- package/dist/cli/commands/doctor.js.map +0 -1
- package/dist/cli/commands/lint.js.map +0 -1
- package/dist/cli/commands/prime.js.map +0 -1
- package/dist/cli/commands/query.js.map +0 -1
- package/dist/cli/commands/report.js.map +0 -1
- package/dist/cli/commands/schema.js.map +0 -1
- package/dist/cli/commands/state/decisions.js.map +0 -1
- package/dist/cli/commands/state/docs.js.map +0 -1
- package/dist/cli/commands/state/experiments.js.map +0 -1
- package/dist/cli/commands/state/health.js.map +0 -1
- package/dist/cli/commands/state/index.js.map +0 -1
- package/dist/cli/commands/state/objective.js.map +0 -1
- package/dist/cli/commands/state/plan.js.map +0 -1
- package/dist/cli/commands/state/progress.js.map +0 -1
- package/dist/cli/commands/state/shared.js.map +0 -1
- package/dist/cli/commands/state/todo.js.map +0 -1
- package/dist/cli/commands/state.js +0 -1023
- package/dist/cli/commands/state.js.map +0 -1
- package/dist/cli/commands/upgrade.js.map +0 -1
- package/dist/cli/commands/validate.js.map +0 -1
- package/dist/cli/commands/verify.js.map +0 -1
- package/dist/cli/dispatch/check.js.map +0 -1
- package/dist/cli/dispatch/index.js.map +0 -1
- package/dist/cli/dispatch/lifecycle.js.map +0 -1
- package/dist/cli/dispatch/prime.js.map +0 -1
- package/dist/cli/dispatch/shared.js.map +0 -1
- package/dist/cli/dispatch/state.js.map +0 -1
- package/dist/cli/dispatch.js.map +0 -1
- package/dist/cli/errors.js.map +0 -1
- package/dist/cli/help.js.map +0 -1
- package/dist/cli/orientation.js.map +0 -1
- package/dist/cli/prime-blob.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/core/difflib.js.map +0 -1
- package/dist/core/git.js +0 -43
- package/dist/core/git.js.map +0 -1
- package/dist/core/paths.js.map +0 -1
- package/dist/core/pyjson.js.map +0 -1
- package/dist/core/sourceRoot.js.map +0 -1
- package/dist/core/toml.js.map +0 -1
- package/dist/core/yaml.js.map +0 -1
- package/dist/eval/evalSkills.js.map +0 -1
- package/dist/eval/semanticEval.js.map +0 -1
- package/dist/eval/semanticFixtures.js.map +0 -1
- package/dist/hooks/common.js.map +0 -1
- package/dist/hooks/compaction/apply.js.map +0 -1
- package/dist/hooks/compaction/dryRun.js.map +0 -1
- package/dist/hooks/compaction/index.js.map +0 -1
- package/dist/hooks/compaction/parse.js.map +0 -1
- package/dist/hooks/compaction/retention.js.map +0 -1
- package/dist/hooks/compaction/status.js.map +0 -1
- package/dist/hooks/compaction/types.js.map +0 -1
- package/dist/hooks/compaction.js +0 -935
- package/dist/hooks/compaction.js.map +0 -1
- package/dist/hooks/cursorPreToolUse.js +0 -19
- package/dist/hooks/cursorPreToolUse.js.map +0 -1
- package/dist/hooks/cursorSessionStart.js +0 -71
- package/dist/hooks/cursorSessionStart.js.map +0 -1
- package/dist/hooks/sessionStart.js +0 -209
- package/dist/hooks/sessionStart.js.map +0 -1
- package/dist/hooks/sessionStop.js +0 -203
- 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 -83
- package/dist/hooks/validateArtifact/runtime.js.map +0 -1
- package/dist/hooks/validateArtifact/schema.js.map +0 -1
- package/dist/hooks/validateArtifact/traversal.js.map +0 -1
- package/dist/hooks/validateArtifact/violations.js.map +0 -1
- package/dist/hooks/validateArtifact.js +0 -924
- package/dist/hooks/validateArtifact.js.map +0 -1
- package/dist/migrate/v2HandoffManifest.js.map +0 -1
- package/dist/registries/artifactProtocolIds.js.map +0 -1
- package/dist/registries/artifactRegistry.js.map +0 -1
- package/dist/registries/capabilityContract.js.map +0 -1
- package/dist/registries/evaluatorHandoffContract.js.map +0 -1
- package/dist/registries/packageRegistry.js.map +0 -1
- package/dist/registries/runtimeAdapterRegistry.js +0 -315
- package/dist/registries/runtimeAdapterRegistry.js.map +0 -1
- package/dist/release/releaseMetadata.js.map +0 -1
- package/dist/setup/codex/agents.js +0 -96
- package/dist/setup/codex/agents.js.map +0 -1
- package/dist/setup/codex/cli.js +0 -161
- package/dist/setup/codex/cli.js.map +0 -1
- package/dist/setup/codex/configToml.js +0 -644
- package/dist/setup/codex/configToml.js.map +0 -1
- package/dist/setup/codex/constants.js +0 -29
- package/dist/setup/codex/constants.js.map +0 -1
- package/dist/setup/codex/installRoot.js +0 -64
- package/dist/setup/codex/installRoot.js.map +0 -1
- package/dist/setup/codex/state.js +0 -270
- package/dist/setup/codex/state.js.map +0 -1
- package/dist/setup/codex.js +0 -12
- package/dist/setup/codex.js.map +0 -1
- package/dist/setup/copilot.js +0 -227
- package/dist/setup/copilot.js.map +0 -1
- package/dist/setup/cursor.js +0 -127
- package/dist/setup/cursor.js.map +0 -1
- package/dist/setup/doctor/core.js +0 -300
- package/dist/setup/doctor/core.js.map +0 -1
- package/dist/setup/doctor/diagnostics.js +0 -247
- package/dist/setup/doctor/diagnostics.js.map +0 -1
- package/dist/setup/doctor/opencode.js +0 -281
- package/dist/setup/doctor/opencode.js.map +0 -1
- package/dist/setup/doctor/report.js +0 -474
- package/dist/setup/doctor/report.js.map +0 -1
- package/dist/setup/doctor.js +0 -10
- package/dist/setup/doctor.js.map +0 -1
- package/dist/setup/opencode.js.map +0 -1
- package/dist/setup/smokeChecks.js.map +0 -1
- package/dist/state/installRoot.js.map +0 -1
- package/dist/state/progressCommit.js +0 -289
- package/dist/state/progressCommit.js.map +0 -1
- package/dist/state/startupAnalysis/benchmark.js.map +0 -1
- package/dist/state/startupAnalysis/contract.js.map +0 -1
- package/dist/state/startupAnalysis/helpers.js.map +0 -1
- package/dist/state/startupAnalysis/index.js.map +0 -1
- package/dist/state/startupAnalysis/metrics.js.map +0 -1
- package/dist/state/startupAnalysis/records.js.map +0 -1
- package/dist/state/startupAnalysis/report.js.map +0 -1
- package/dist/state/startupAnalysis/threshold.js.map +0 -1
- package/dist/state/startupAnalysis.js.map +0 -1
- package/dist/upgrade/appModel.js.map +0 -1
- package/dist/upgrade/channels.js.map +0 -1
- package/dist/upgrade/coexistenceProbe.js +0 -83
- 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/migrateArtifactsV1ToV2.js +0 -570
- package/dist/upgrade/migrateArtifactsV1ToV2.js.map +0 -1
- package/dist/upgrade/migrateArtifactsV2ToV3.js.map +0 -1
- package/dist/upgrade/nextMajorDoctor.js.map +0 -1
- package/dist/upgrade/projectIntegration.js.map +0 -1
- package/dist/upgrade/runtimeMigration.js.map +0 -1
- package/dist/upgrade/upgradeCommands.js.map +0 -1
- package/dist/upgrade/upgradeOrchestrator.js.map +0 -1
- package/dist/upgrade/v3CapabilitySurface.js.map +0 -1
- package/dist/upgrade/versionResolution.js.map +0 -1
- package/dist/validate/appHomeContract.js.map +0 -1
- package/dist/validate/capability.js.map +0 -1
- package/dist/validate/crossCapability.js.map +0 -1
- package/dist/validate/lifecycleAdapters.js +0 -772
- package/dist/validate/lifecycleAdapters.js.map +0 -1
- package/dist/validate/selfAudit.js.map +0 -1
- package/dist/validate/vocabularyAuthority.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
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
ARTIFACTS:
|
|
2
|
-
1:
|
|
3
|
-
id: A1
|
|
4
|
-
artifact_id: plan
|
|
5
|
-
local_role: produces_and_consumes
|
|
6
|
-
description: >-
|
|
7
|
-
Active plan with tasks, dependencies, and behavioral acceptance criteria.
|
|
8
|
-
Planera writes this during the planning session and may read existing
|
|
9
|
-
plan context before replacing or refining it.
|
|
10
|
-
2:
|
|
11
|
-
id: A2
|
|
12
|
-
artifact_id: plan_archive
|
|
13
|
-
local_role: produces
|
|
14
|
-
description: >-
|
|
15
|
-
Created when a plan is fully
|
|
16
|
-
executed or explicitly discarded by the user. Preserved for historical
|
|
17
|
-
reference.
|
|
18
|
-
3:
|
|
19
|
-
id: A3
|
|
20
|
-
artifact_id: vision
|
|
21
|
-
local_role: consumes
|
|
22
|
-
description: >-
|
|
23
|
-
Planera reads this during Orient to understand project direction and
|
|
24
|
-
align the plan with the vision.
|
|
25
|
-
4:
|
|
26
|
-
id: A4
|
|
27
|
-
artifact_id: decisions
|
|
28
|
-
local_role: consumes
|
|
29
|
-
description: >-
|
|
30
|
-
Planera reads firm (DL1) entries only as hard constraints for planning.
|
|
31
|
-
5:
|
|
32
|
-
id: A5
|
|
33
|
-
artifact_id: todo
|
|
34
|
-
local_role: consumes
|
|
35
|
-
description: >-
|
|
36
|
-
Planera reads this to identify related known
|
|
37
|
-
issues that the plan should address.
|
|
38
|
-
6:
|
|
39
|
-
id: A6
|
|
40
|
-
artifact_id: health
|
|
41
|
-
local_role: consumes
|
|
42
|
-
description: >-
|
|
43
|
-
Planera reads this to factor structural issues into the plan.
|
|
44
|
-
7:
|
|
45
|
-
id: A7
|
|
46
|
-
artifact_id: progress
|
|
47
|
-
local_role: consumes
|
|
48
|
-
description: >-
|
|
49
|
-
Planera reads this to understand what was built recently.
|
|
50
|
-
8:
|
|
51
|
-
id: A8
|
|
52
|
-
artifact_id: profile
|
|
53
|
-
local_role: consumes
|
|
54
|
-
description: >-
|
|
55
|
-
Planera reads this to calibrate planning depth and pattern preferences.
|
|
56
|
-
9:
|
|
57
|
-
id: A9
|
|
58
|
-
artifact_id: docs
|
|
59
|
-
local_role: consumes
|
|
60
|
-
description: >-
|
|
61
|
-
Planera reads this first to resolve project-local artifact mappings and
|
|
62
|
-
reads the versioning block for version bump task generation.
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
TRIGGERS:
|
|
2
|
-
1:
|
|
3
|
-
id: T1
|
|
4
|
-
description: >-
|
|
5
|
-
Direct invocation by name or slash command. Matches when the user
|
|
6
|
-
explicitly requests planera for structured planning.
|
|
7
|
-
priority: high
|
|
8
|
-
patterns:
|
|
9
|
-
- "planera"
|
|
10
|
-
- "/planera"
|
|
11
|
-
2:
|
|
12
|
-
id: T2
|
|
13
|
-
description: >-
|
|
14
|
-
Planning requests. Matches when the user wants to create a plan,
|
|
15
|
-
break work down, or specify requirements before building.
|
|
16
|
-
priority: medium
|
|
17
|
-
patterns:
|
|
18
|
-
- "plan this"
|
|
19
|
-
- "write a plan"
|
|
20
|
-
- "break this down"
|
|
21
|
-
- "decompose this"
|
|
22
|
-
- "spec this out"
|
|
23
|
-
- "plan before building"
|
|
24
|
-
3:
|
|
25
|
-
id: T3
|
|
26
|
-
description: >-
|
|
27
|
-
Architectural planning signals. Matches when the user is asking how
|
|
28
|
-
to approach building something or when the work is too large for a
|
|
29
|
-
single development cycle.
|
|
30
|
-
priority: medium
|
|
31
|
-
patterns:
|
|
32
|
-
- "how should we build this"
|
|
33
|
-
- "multi-step feature"
|
|
34
|
-
- "this is too big for one cycle"
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
VALIDATION:
|
|
2
|
-
1:
|
|
3
|
-
id: V1
|
|
4
|
-
rule: behavioral_acceptance_criteria
|
|
5
|
-
description: >-
|
|
6
|
-
All acceptance criteria MUST be behavioral (Given/When/Then format)
|
|
7
|
-
and MUST NOT reference implementation details (class names, API
|
|
8
|
-
endpoints, database tables, function names, line numbers).
|
|
9
|
-
severity: critical
|
|
10
|
-
checks:
|
|
11
|
-
- "Acceptance criteria use Given/When/Then format"
|
|
12
|
-
- "No implementation details in acceptance criteria"
|
|
13
|
-
2:
|
|
14
|
-
id: V2
|
|
15
|
-
rule: max_8_tasks
|
|
16
|
-
description: >-
|
|
17
|
-
Full plans MUST NOT exceed 8 tasks. If work requires more, it must
|
|
18
|
-
be split into sequential plans.
|
|
19
|
-
severity: critical
|
|
20
|
-
checks:
|
|
21
|
-
- "Task count ≤ 8 in full plans"
|
|
22
|
-
3:
|
|
23
|
-
id: V3
|
|
24
|
-
rule: adversarial_review_required
|
|
25
|
-
description: >-
|
|
26
|
-
Full plans MUST undergo adversarial review. The critic MUST find at
|
|
27
|
-
least one issue. "Looks good" is not acceptable. Skip level and
|
|
28
|
-
light plans are exempt.
|
|
29
|
-
severity: critical
|
|
30
|
-
checks:
|
|
31
|
-
- "Adversarial review ran for full plans"
|
|
32
|
-
4:
|
|
33
|
-
id: V4
|
|
34
|
-
rule: plan_final_state_sync
|
|
35
|
-
description: >-
|
|
36
|
-
Every full plan MUST end with a "final state sync" task that depends
|
|
37
|
-
on all prior tasks. This ensures aggregate plan-level CHANGELOG.md,
|
|
38
|
-
PROGRESS.md, and TODO.md updates.
|
|
39
|
-
severity: critical
|
|
40
|
-
checks:
|
|
41
|
-
- "Full plan has final state sync task as last task"
|
|
42
|
-
5:
|
|
43
|
-
id: V5
|
|
44
|
-
rule: test_proportionality_target
|
|
45
|
-
description: >-
|
|
46
|
-
Tasks that include writing tests MUST have a proportionality target
|
|
47
|
-
in their acceptance criteria. Default: one pass + one fail per
|
|
48
|
-
testable unit. Override only with explicit rationale.
|
|
49
|
-
severity: warning
|
|
50
|
-
checks:
|
|
51
|
-
- "Test tasks state proportionality target"
|
|
52
|
-
6:
|
|
53
|
-
id: V6
|
|
54
|
-
rule: skip_level_for_trivial_work
|
|
55
|
-
description: >-
|
|
56
|
-
Planera MUST detect skip level for trivial work (single-file change,
|
|
57
|
-
bug fix, config tweak, < 50 lines) and route directly to /realisera
|
|
58
|
-
without producing a PLAN.md.
|
|
59
|
-
severity: critical
|
|
60
|
-
checks:
|
|
61
|
-
- "Trivial work routed to /realisera without plan"
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
ARTIFACTS:
|
|
2
|
-
1:
|
|
3
|
-
id: A1
|
|
4
|
-
artifact_id: profile
|
|
5
|
-
local_role: produces_and_consumes
|
|
6
|
-
description: >-
|
|
7
|
-
Decision profile with per-entry confidence scoring, permanence
|
|
8
|
-
classification, and temporal metadata. Profilera writes this in both Full
|
|
9
|
-
and Validate modes, then reads it for validation and update context.
|
|
10
|
-
2:
|
|
11
|
-
id: A2
|
|
12
|
-
artifact_id: decisions
|
|
13
|
-
local_role: consumes
|
|
14
|
-
description: >-
|
|
15
|
-
Profilera treats this as a high-signal source for extraction scripts.
|
|
16
|
-
Each decision entry captures
|
|
17
|
-
reasoning, tradeoffs, and confidence, making deliberation sessions
|
|
18
|
-
one of the richest inputs for decision profile generation.
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
TRIGGERS:
|
|
2
|
-
1:
|
|
3
|
-
id: T1
|
|
4
|
-
description: >-
|
|
5
|
-
Direct invocation by name or slash command. Matches when the user
|
|
6
|
-
explicitly requests profilera.
|
|
7
|
-
priority: high
|
|
8
|
-
patterns:
|
|
9
|
-
- "profilera"
|
|
10
|
-
- "/profilera"
|
|
11
|
-
2:
|
|
12
|
-
id: T2
|
|
13
|
-
description: >-
|
|
14
|
-
Profile generation requests. Matches when the user wants to build
|
|
15
|
-
or regenerate their decision profile from scratch.
|
|
16
|
-
priority: medium
|
|
17
|
-
patterns:
|
|
18
|
-
- "build decision profile"
|
|
19
|
-
- "generate decision profile"
|
|
20
|
-
- "rebuild my profile"
|
|
21
|
-
- "regenerate profile"
|
|
22
|
-
3:
|
|
23
|
-
id: T3
|
|
24
|
-
description: >-
|
|
25
|
-
Profile maintenance requests. Matches when the user wants to update,
|
|
26
|
-
validate, or check their existing profile.
|
|
27
|
-
priority: medium
|
|
28
|
-
patterns:
|
|
29
|
-
- "update my profile"
|
|
30
|
-
- "refresh my decision profile"
|
|
31
|
-
- "validate my profile"
|
|
32
|
-
- "check my profile"
|
|
33
|
-
- "quick profile check"
|
|
34
|
-
4:
|
|
35
|
-
id: T4
|
|
36
|
-
description: >-
|
|
37
|
-
Decision analysis requests. Matches when the user wants to understand
|
|
38
|
-
their own decision-making patterns or review past decisions.
|
|
39
|
-
priority: medium
|
|
40
|
-
patterns:
|
|
41
|
-
- "what would I decide"
|
|
42
|
-
- "analyze my decisions"
|
|
43
|
-
- "mine my sessions"
|
|
44
|
-
- "decision patterns"
|
|
45
|
-
- "review my decision history"
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
VALIDATION:
|
|
2
|
-
1:
|
|
3
|
-
id: V1
|
|
4
|
-
rule: evidence_grounded
|
|
5
|
-
description: >-
|
|
6
|
-
Every profile entry MUST be grounded in observed evidence from session
|
|
7
|
-
history, memory files, configs, or conversation data. Fabricated
|
|
8
|
-
decision patterns are never acceptable.
|
|
9
|
-
severity: critical
|
|
10
|
-
checks:
|
|
11
|
-
- "Each profile entry traces to a source record"
|
|
12
|
-
- "No profile entry is fabricated without evidence"
|
|
13
|
-
2:
|
|
14
|
-
id: V2
|
|
15
|
-
rule: confidence_calibration
|
|
16
|
-
description: >-
|
|
17
|
-
Confidence scores MUST match the evidence tier (protocol CS1-CS5).
|
|
18
|
-
A single data point is 30-49 (CS4), not 70+. Bias check: confidence
|
|
19
|
-
is earned through evidence, not assigned by how insightful the
|
|
20
|
-
decision sounds.
|
|
21
|
-
severity: critical
|
|
22
|
-
checks:
|
|
23
|
-
- "Confidence values fall within protocol tier boundaries"
|
|
24
|
-
- "Single-source entries are capped at CS4 (30-49)"
|
|
25
|
-
3:
|
|
26
|
-
id: V3
|
|
27
|
-
rule: tension_honesty
|
|
28
|
-
description: >-
|
|
29
|
-
Contradictions MUST be recorded as tensions, not smoothed into a
|
|
30
|
-
coherent narrative. When evidence conflicts, the tension section
|
|
31
|
-
captures the divergence explicitly.
|
|
32
|
-
severity: critical
|
|
33
|
-
checks:
|
|
34
|
-
- "Conflicting evidence produces tension entries"
|
|
35
|
-
- "No smoothing over contradictions"
|
|
36
|
-
4:
|
|
37
|
-
id: V4
|
|
38
|
-
rule: read_only_sources
|
|
39
|
-
description: >-
|
|
40
|
-
Profilera MUST NOT modify session history, memory files, or config
|
|
41
|
-
files. It reads these sources for extraction but never writes to them.
|
|
42
|
-
The only artifact profilera produces is PROFILE.md.
|
|
43
|
-
severity: critical
|
|
44
|
-
checks:
|
|
45
|
-
- "No writes to session history files"
|
|
46
|
-
- "No writes to memory or config files"
|
|
47
|
-
5:
|
|
48
|
-
id: V5
|
|
49
|
-
rule: prediction_accuracy
|
|
50
|
-
description: >-
|
|
51
|
-
Full mode MUST validate predictions against 5 decision-rich prompts
|
|
52
|
-
not used to create the profile. Accuracy below 3/5 triggers a flag
|
|
53
|
-
noting categories needing more signal.
|
|
54
|
-
severity: warning
|
|
55
|
-
checks:
|
|
56
|
-
- "5 predictions tested against held-out prompts"
|
|
57
|
-
- "Accuracy below 3/5 is flagged in profile header"
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
ARTIFACTS:
|
|
2
|
-
1:
|
|
3
|
-
id: A1
|
|
4
|
-
artifact_id: vision
|
|
5
|
-
local_role: produces_and_consumes
|
|
6
|
-
description: >-
|
|
7
|
-
Realisera consumes this through CLI execution_context caveats or explicit
|
|
8
|
-
fallback state when available, and never modifies it during cycles. Created
|
|
9
|
-
during brainstorm (bootstrap or user-requested refinement).
|
|
10
|
-
2:
|
|
11
|
-
id: A2
|
|
12
|
-
artifact_id: todo
|
|
13
|
-
local_role: produces_and_consumes
|
|
14
|
-
description: >-
|
|
15
|
-
Realisera consumes TODO state from execution_context and included hej state
|
|
16
|
-
before direct reads, then writes newly discovered issues and resolved
|
|
17
|
-
entries. Severity classified per protocol SI1-SI4.
|
|
18
|
-
3:
|
|
19
|
-
id: A3
|
|
20
|
-
artifact_id: changelog
|
|
21
|
-
local_role: produces_and_consumes
|
|
22
|
-
description: >-
|
|
23
|
-
Realisera consumes changelog boundary from execution_context or the listed
|
|
24
|
-
CLI fallback before direct reads. It appends public change entries under
|
|
25
|
-
[Unreleased] based on commit type and promotes on version bumps.
|
|
26
|
-
4:
|
|
27
|
-
id: A4
|
|
28
|
-
artifact_id: progress
|
|
29
|
-
local_role: produces_and_consumes
|
|
30
|
-
description: >-
|
|
31
|
-
Operational cycle log. Realisera consumes latest progress evidence from
|
|
32
|
-
execution_context first, then appends one entry per cycle with mandatory
|
|
33
|
-
Verified field. Compacted by applying schema COMPACTION rules.
|
|
34
|
-
5:
|
|
35
|
-
id: A5
|
|
36
|
-
artifact_id: health
|
|
37
|
-
local_role: consumes
|
|
38
|
-
description: >-
|
|
39
|
-
Realisera consumes health state from execution_context and included hej
|
|
40
|
-
state before direct reads, focusing on critical and degraded findings for
|
|
41
|
-
work selection.
|
|
42
|
-
6:
|
|
43
|
-
id: A6
|
|
44
|
-
artifact_id: decisions
|
|
45
|
-
local_role: consumes
|
|
46
|
-
description: >-
|
|
47
|
-
Realisera consumes decision caveats and fallback commands from
|
|
48
|
-
execution_context first. Firm (DL1) entries are constraints and exploratory
|
|
49
|
-
(DL3) entries are uncertain foundations during work selection.
|
|
50
|
-
7:
|
|
51
|
-
id: A7
|
|
52
|
-
artifact_id: plan
|
|
53
|
-
local_role: produces_and_consumes
|
|
54
|
-
description: >-
|
|
55
|
-
Realisera consumes selected task, acceptance criteria, dependencies,
|
|
56
|
-
constraints, and source contract metadata from CLI execution_context before
|
|
57
|
-
direct plan reads, then updates task status and surprises during execution.
|
|
58
|
-
8:
|
|
59
|
-
id: A8
|
|
60
|
-
artifact_id: profile
|
|
61
|
-
local_role: consumes
|
|
62
|
-
description: >-
|
|
63
|
-
Realisera consumes hej profile summary first. Missing or stale profile state
|
|
64
|
-
is a caveat and does not authorize profile refresh or direct profile reads
|
|
65
|
-
during normal startup.
|
|
66
|
-
9:
|
|
67
|
-
id: A9
|
|
68
|
-
artifact_id: docs
|
|
69
|
-
local_role: consumes
|
|
70
|
-
description: >-
|
|
71
|
-
Realisera consumes artifact mappings and docs caveats from execution_context
|
|
72
|
-
and included hej docs state before direct docs reads.
|
|
73
|
-
10:
|
|
74
|
-
id: A10
|
|
75
|
-
artifact_id: design
|
|
76
|
-
local_role: consumes
|
|
77
|
-
description: >-
|
|
78
|
-
Realisera treats design state missing from execution_context as a caveat or
|
|
79
|
-
fallback-only need, and reads it only when building user-facing features
|
|
80
|
-
after listed CLI fallbacks are exhausted.
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
TRIGGERS:
|
|
2
|
-
1:
|
|
3
|
-
id: T1
|
|
4
|
-
description: >-
|
|
5
|
-
Direct invocation by name or slash command. Matches when the user
|
|
6
|
-
explicitly requests realisera for autonomous development.
|
|
7
|
-
priority: high
|
|
8
|
-
patterns:
|
|
9
|
-
- "realisera"
|
|
10
|
-
- "/realisera"
|
|
11
|
-
2:
|
|
12
|
-
id: T2
|
|
13
|
-
description: >-
|
|
14
|
-
Development cycle requests. Matches when the user wants to run an
|
|
15
|
-
autonomous development cycle or evolve the project.
|
|
16
|
-
priority: medium
|
|
17
|
-
patterns:
|
|
18
|
-
- "run a dev cycle"
|
|
19
|
-
- "evolve the project"
|
|
20
|
-
- "develop autonomously"
|
|
21
|
-
- "build the next feature"
|
|
22
|
-
3:
|
|
23
|
-
id: T3
|
|
24
|
-
description: >-
|
|
25
|
-
Continuous development signals. Matches when the user wants ongoing
|
|
26
|
-
building or to start working on the project.
|
|
27
|
-
priority: medium
|
|
28
|
-
patterns:
|
|
29
|
-
- "keep building"
|
|
30
|
-
- "start building"
|
|
31
|
-
- "work on the project"
|
|
32
|
-
4:
|
|
33
|
-
id: T4
|
|
34
|
-
description: >-
|
|
35
|
-
Vision refinement within a development context. Matches when the user
|
|
36
|
-
wants to refine the project vision as part of a development session.
|
|
37
|
-
priority: medium
|
|
38
|
-
patterns:
|
|
39
|
-
- "refine the vision"
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
VALIDATION:
|
|
2
|
-
1:
|
|
3
|
-
id: V1
|
|
4
|
-
rule: verified_field_mandatory
|
|
5
|
-
description: >-
|
|
6
|
-
Every PROGRESS.md cycle entry MUST have a verified field. The field
|
|
7
|
-
carries either observed output from the primary entrypoint, an allowlisted
|
|
8
|
-
N/A tag, or a free-form rationale of at least 8 words.
|
|
9
|
-
severity: critical
|
|
10
|
-
checks:
|
|
11
|
-
- "Every cycle entry has a verified field"
|
|
12
|
-
- "verified field is not empty"
|
|
13
|
-
2:
|
|
14
|
-
id: V2
|
|
15
|
-
rule: one_cycle_per_invocation
|
|
16
|
-
description: >-
|
|
17
|
-
Realisera executes exactly one cycle per invocation. After logging (Step 9),
|
|
18
|
-
the capability MUST stop. Multiple cycles require separate invocations or
|
|
19
|
-
/loop.
|
|
20
|
-
severity: critical
|
|
21
|
-
checks:
|
|
22
|
-
- "Only one cycle entry appended to PROGRESS.md per invocation"
|
|
23
|
-
3:
|
|
24
|
-
id: V3
|
|
25
|
-
rule: no_remote_push
|
|
26
|
-
description: >-
|
|
27
|
-
Realisera MUST NEVER push to any remote repository. All commits are local
|
|
28
|
-
only. Remote operations require explicit user instruction outside this
|
|
29
|
-
capability.
|
|
30
|
-
severity: critical
|
|
31
|
-
checks:
|
|
32
|
-
- "No git push commands issued"
|
|
33
|
-
4:
|
|
34
|
-
id: V4
|
|
35
|
-
rule: vision_readonly_during_cycle
|
|
36
|
-
description: >-
|
|
37
|
-
The canonical vision artifact MUST NOT be modified during a cycle. It may only be written
|
|
38
|
-
during a brainstorm session (bootstrap or user-requested refinement).
|
|
39
|
-
severity: critical
|
|
40
|
-
checks:
|
|
41
|
-
- "Vision artifact not modified outside brainstorm"
|
|
42
|
-
5:
|
|
43
|
-
id: V5
|
|
44
|
-
rule: consecutive_failure_guard
|
|
45
|
-
description: >-
|
|
46
|
-
If the last 3 PROGRESS.md entries all record failed cycles, realisera
|
|
47
|
-
MUST stop and surface the pattern to the user. Do not attempt a 4th
|
|
48
|
-
consecutive cycle on the same failing problem.
|
|
49
|
-
severity: critical
|
|
50
|
-
checks:
|
|
51
|
-
- "Failure pattern checked before cycle start"
|
|
52
|
-
6:
|
|
53
|
-
id: V6
|
|
54
|
-
rule: artifact_path_resolution
|
|
55
|
-
description: >-
|
|
56
|
-
Before reading or writing any artifact, check .agentera/docs.yaml for path
|
|
57
|
-
overrides. If absent, use the default layout (TODO.md, CHANGELOG.md,
|
|
58
|
-
and DESIGN.md at root; canonical VISION.md at .agentera/vision.yaml;
|
|
59
|
-
other agent-facing artifacts as YAML in .agentera/).
|
|
60
|
-
severity: warning
|
|
61
|
-
checks:
|
|
62
|
-
- "DOCS.md checked before artifact access"
|
|
63
|
-
7:
|
|
64
|
-
id: V7
|
|
65
|
-
rule: execution_context_first
|
|
66
|
-
description: >-
|
|
67
|
-
Realisera startup SHOULD begin from `agentera prime --context realisera
|
|
68
|
-
--format json` and consume complete execution_context
|
|
69
|
-
state before direct reads of plan, progress, TODO, docs, health,
|
|
70
|
-
decisions, changelog, vision, profile, or design artifacts.
|
|
71
|
-
severity: warning
|
|
72
|
-
checks:
|
|
73
|
-
- "execution_context requested through supported prime --context seam"
|
|
74
|
-
- "complete execution_context used before direct startup artifact reads"
|
|
75
|
-
8:
|
|
76
|
-
id: V8
|
|
77
|
-
rule: fallback_before_raw
|
|
78
|
-
description: >-
|
|
79
|
-
When execution_context is incomplete or caveated, Realisera MUST run listed
|
|
80
|
-
CLI fallback commands before any last-resort raw artifact diagnostic and
|
|
81
|
-
MUST preserve caveats in cycle reporting.
|
|
82
|
-
severity: critical
|
|
83
|
-
checks:
|
|
84
|
-
- "CLI fallback commands run before raw artifact diagnostics"
|
|
85
|
-
- "execution_context caveats preserved in progress or cycle report"
|
|
86
|
-
9:
|
|
87
|
-
id: V9
|
|
88
|
-
rule: context_generation_readonly
|
|
89
|
-
description: >-
|
|
90
|
-
Generating execution_context is read-only. It MUST NOT refresh profile or
|
|
91
|
-
installed app state, edit vision or objective state, spawn workers, commit,
|
|
92
|
-
push, tag, publish, or introduce unsupported capability-name CLI commands.
|
|
93
|
-
severity: critical
|
|
94
|
-
checks:
|
|
95
|
-
- "No protected state mutation during context generation"
|
|
96
|
-
- "No unsupported `agentera realisera` or `agentera build` command introduced"
|
|
97
|
-
10:
|
|
98
|
-
id: V10
|
|
99
|
-
rule: satisfaction_authority_boundary
|
|
100
|
-
description: >-
|
|
101
|
-
When Realisera touches decision satisfaction, it may mark provisional
|
|
102
|
-
satisfaction with evidence but MUST NOT user-confirm satisfaction. Missing,
|
|
103
|
-
compacted, open, provisional, or review-needed satisfaction state remains a
|
|
104
|
-
caveat and review pressure; automation must not reconstruct hidden outcomes
|
|
105
|
-
or claim it proved user intent.
|
|
106
|
-
severity: critical
|
|
107
|
-
checks:
|
|
108
|
-
- "Provisional satisfaction requires evidence"
|
|
109
|
-
- "Only the user confirms final satisfaction"
|
|
110
|
-
- "Missing or compacted satisfaction caveats are preserved"
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
ARTIFACTS:
|
|
2
|
-
1:
|
|
3
|
-
id: A1
|
|
4
|
-
artifact_id: decisions
|
|
5
|
-
local_role: produces_and_consumes
|
|
6
|
-
description: >-
|
|
7
|
-
Reasoning trail with confidence labels. Resonera reads existing decisions
|
|
8
|
-
through `agentera decisions --format json` and its source_contract to avoid
|
|
9
|
-
re-deliberation, and writes new decision entries with confidence (DL1
|
|
10
|
-
firm, DL2 provisional, DL3 exploratory). Compact older entries by applying
|
|
11
|
-
schema COMPACTION rules; incomplete compacted entries are caveated context,
|
|
12
|
-
not a reason for historical reconstruction during normal deliberation.
|
|
13
|
-
2:
|
|
14
|
-
id: A2
|
|
15
|
-
artifact_id: vision
|
|
16
|
-
local_role: produces_and_consumes
|
|
17
|
-
description: >-
|
|
18
|
-
Resonera may update project direction only with explicit user
|
|
19
|
-
confirmation when a decision feeds into project direction. Read for
|
|
20
|
-
context during deliberation.
|
|
21
|
-
3:
|
|
22
|
-
id: A3
|
|
23
|
-
artifact_id: todo
|
|
24
|
-
local_role: produces_and_consumes
|
|
25
|
-
description: >-
|
|
26
|
-
Resonera may add tech debt items surfaced during deliberation only with
|
|
27
|
-
explicit user confirmation. Severity per protocol SI1-SI4.
|
|
28
|
-
4:
|
|
29
|
-
id: A4
|
|
30
|
-
artifact_id: objective
|
|
31
|
-
local_role: produces_and_consumes
|
|
32
|
-
description: >-
|
|
33
|
-
Resonera may write optimization decisions only with explicit user
|
|
34
|
-
confirmation when a decision feeds into what to optimize.
|
|
35
|
-
5:
|
|
36
|
-
id: A5
|
|
37
|
-
artifact_id: profile
|
|
38
|
-
local_role: consumes
|
|
39
|
-
description: >-
|
|
40
|
-
Resonera reads this at session start to acknowledge high-confidence
|
|
41
|
-
entries and avoid re-deliberating settled ground.
|
|
42
|
-
6:
|
|
43
|
-
id: A6
|
|
44
|
-
artifact_id: docs
|
|
45
|
-
local_role: consumes
|
|
46
|
-
description: >-
|
|
47
|
-
Resonera reads this first to resolve project-local artifact mappings.
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
TRIGGERS:
|
|
2
|
-
1:
|
|
3
|
-
id: T1
|
|
4
|
-
description: >-
|
|
5
|
-
Direct invocation by name or slash command. Matches when the user
|
|
6
|
-
explicitly requests resonera for structured deliberation.
|
|
7
|
-
priority: high
|
|
8
|
-
patterns:
|
|
9
|
-
- "resonera"
|
|
10
|
-
- "/resonera"
|
|
11
|
-
2:
|
|
12
|
-
id: T2
|
|
13
|
-
description: >-
|
|
14
|
-
Decision-oriented requests. Matches when the user wants help thinking
|
|
15
|
-
through a decision or evaluating tradeoffs.
|
|
16
|
-
priority: medium
|
|
17
|
-
patterns:
|
|
18
|
-
- "deliberate"
|
|
19
|
-
- "help me think through"
|
|
20
|
-
- "help me decide"
|
|
21
|
-
- "think this through with me"
|
|
22
|
-
- "let's deliberate"
|
|
23
|
-
- "what are the tradeoffs"
|
|
24
|
-
- "brainstorm"
|
|
25
|
-
- "rubber duck"
|
|
26
|
-
3:
|
|
27
|
-
id: T3
|
|
28
|
-
description: >-
|
|
29
|
-
Option-comparison signals. Matches when the user is torn between
|
|
30
|
-
choices or wants to evaluate competing approaches.
|
|
31
|
-
priority: medium
|
|
32
|
-
patterns:
|
|
33
|
-
- "should I"
|
|
34
|
-
- "I'm torn between"
|
|
35
|
-
- "what's the right approach"
|
|
36
|
-
- "let's reason about"
|
|
37
|
-
4:
|
|
38
|
-
id: T4
|
|
39
|
-
description: >-
|
|
40
|
-
Pre-build scoping signals. Matches when the user wants to scope or
|
|
41
|
-
reason about work before starting implementation.
|
|
42
|
-
priority: medium
|
|
43
|
-
patterns:
|
|
44
|
-
- "scope this out"
|
|
45
|
-
- "before I build this"
|
|
46
|
-
- "talk me through"
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
VALIDATION:
|
|
2
|
-
1:
|
|
3
|
-
id: V1
|
|
4
|
-
rule: one_question_per_turn
|
|
5
|
-
description: >-
|
|
6
|
-
Resonera MUST ask exactly one question per turn. Compound questions
|
|
7
|
-
are not allowed. Every question MUST include a Done option.
|
|
8
|
-
severity: critical
|
|
9
|
-
checks:
|
|
10
|
-
- "At most one question per response"
|
|
11
|
-
- "Done option present"
|
|
12
|
-
2:
|
|
13
|
-
id: V2
|
|
14
|
-
rule: user_approval_for_artifact_writes
|
|
15
|
-
description: >-
|
|
16
|
-
Resonera MUST NOT modify VISION.md, OBJECTIVE.md, or TODO.md without
|
|
17
|
-
explicit user confirmation. Present drafts and get approval.
|
|
18
|
-
severity: critical
|
|
19
|
-
checks:
|
|
20
|
-
- "User confirmation obtained before writing to VISION.md, OBJECTIVE.md, or TODO.md"
|
|
21
|
-
3:
|
|
22
|
-
id: V3
|
|
23
|
-
rule: decision_confidence_required
|
|
24
|
-
description: >-
|
|
25
|
-
Every DECISIONS.md entry MUST have a Confidence field with one of the
|
|
26
|
-
protocol-defined labels: firm (DL1), provisional (DL2), or
|
|
27
|
-
exploratory (DL3).
|
|
28
|
-
severity: critical
|
|
29
|
-
checks:
|
|
30
|
-
- "Decision entry has Confidence field"
|
|
31
|
-
- "Confidence value is one of firm, provisional, exploratory"
|
|
32
|
-
4:
|
|
33
|
-
id: V4
|
|
34
|
-
rule: preserved_decision_fields
|
|
35
|
-
description: >-
|
|
36
|
-
DECISIONS.md entries MUST preserve the canonical top-level fields:
|
|
37
|
-
Question, Context, Alternatives, Choice, Reasoning, Confidence,
|
|
38
|
-
Feeds into. Win conditions stay inside Alternatives bullets.
|
|
39
|
-
severity: critical
|
|
40
|
-
checks:
|
|
41
|
-
- "Decision entry has all canonical fields"
|
|
42
|
-
5:
|
|
43
|
-
id: V5
|
|
44
|
-
rule: no_implementation
|
|
45
|
-
description: >-
|
|
46
|
-
Resonera MUST NOT skip to implementation. It deliberates; other
|
|
47
|
-
capabilities build. If the user wants to build, route to the
|
|
48
|
-
appropriate capability.
|
|
49
|
-
severity: critical
|
|
50
|
-
checks:
|
|
51
|
-
- "No code changes made during deliberation"
|
|
52
|
-
6:
|
|
53
|
-
id: V6
|
|
54
|
-
rule: red_flag_phrasing_banned
|
|
55
|
-
description: >-
|
|
56
|
-
Red-flag phrasing that weakens the challenge is banned: "That sounds
|
|
57
|
-
reasonable", "Either way is fine", "It depends" without naming the
|
|
58
|
-
variable, "There is no wrong answer here", "Both options are valid"
|
|
59
|
-
when one conflicts with constraints.
|
|
60
|
-
severity: warning
|
|
61
|
-
checks:
|
|
62
|
-
- "No red-flag phrases in output"
|
|
63
|
-
7:
|
|
64
|
-
id: V7
|
|
65
|
-
rule: satisfaction_authority_boundary
|
|
66
|
-
description: >-
|
|
67
|
-
When Resonera touches decision satisfaction, it may capture provisional
|
|
68
|
-
satisfaction with evidence but MUST NOT user-confirm satisfaction unless the
|
|
69
|
-
user explicitly confirms it. Missing, compacted, open, provisional, or
|
|
70
|
-
review-needed satisfaction state remains a caveat and review pressure;
|
|
71
|
-
automation must not reconstruct hidden outcomes or claim it proved user
|
|
72
|
-
intent.
|
|
73
|
-
severity: critical
|
|
74
|
-
checks:
|
|
75
|
-
- "Provisional satisfaction requires evidence"
|
|
76
|
-
- "Only the user confirms final satisfaction"
|
|
77
|
-
- "Missing or compacted satisfaction caveats are preserved"
|