agentera 3.0.0-dev.4 → 3.0.0-dev.6
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 +4 -3
- package/bundle/.agentera-npx-bundle.json +1 -1
- package/bundle/references/adapters/opencode.md +1 -1
- package/bundle/references/adapters/package-registry.yaml +0 -1
- package/bundle/references/adapters/package-surface-characterization.md +1 -2
- package/bundle/references/analysis/startup-measurement-contract.yaml +11 -11
- package/bundle/references/cli/agent-ready-state-contract.yaml +5 -5
- package/bundle/references/cli/audience-namespace-cli-migration.yaml +40 -26
- package/bundle/references/cli/bundle-skill-vocabulary.yaml +2 -30
- package/bundle/references/cli/capability-instruction-contract.yaml +98 -57
- package/bundle/references/cli/coexistence-probe.yaml +9 -0
- package/bundle/references/cli/routing-execution-vocabulary.yaml +6 -6
- package/bundle/references/cli/single-name-protocol.yaml +42 -0
- package/bundle/references/cli/update-channels.yaml +18 -2
- package/bundle/references/cli/upgrade-repair-wording.md +31 -0
- package/bundle/references/cli/v3-handoff-manifest.schema.yaml +98 -0
- package/bundle/references/cli/vocabulary-index.yaml +3 -3
- package/bundle/references/cli/vocabulary.md +34 -26
- package/bundle/references/meta/documentation-inventory.md +9 -3
- package/bundle/registry.json +1 -1
- package/bundle/skills/agentera/SKILL.md +50 -33
- package/bundle/skills/agentera/agents/dokumentera.toml +1 -1
- package/bundle/skills/agentera/agents/hej.toml +1 -1
- package/bundle/skills/agentera/agents/inspektera.toml +1 -1
- package/bundle/skills/agentera/agents/inspirera.toml +1 -1
- package/bundle/skills/agentera/agents/optimera.toml +1 -1
- package/bundle/skills/agentera/agents/orkestrera.toml +1 -1
- package/bundle/skills/agentera/agents/planera.toml +1 -1
- package/bundle/skills/agentera/agents/profilera.toml +1 -1
- package/bundle/skills/agentera/agents/realisera.toml +1 -1
- package/bundle/skills/agentera/agents/resonera.toml +1 -1
- package/bundle/skills/agentera/agents/visionera.toml +1 -1
- package/bundle/skills/agentera/agents/visualisera.toml +1 -1
- package/bundle/skills/agentera/capabilities/orkestrera/schemas/validation.yaml +26 -13
- package/bundle/skills/agentera/capability_schema_contract.yaml +33 -14
- package/bundle/skills/agentera/references/contract.md +2 -2
- package/bundle/skills/agentera/schemas/artifacts/decisions.yaml +1 -1
- package/bundle/skills/agentera/schemas/artifacts/progress.yaml +15 -36
- package/bundle/skills/agentera/schemas/artifacts/todo.yaml +14 -0
- package/dist/analytics/extractCorpus/cli.js +101 -0
- package/dist/analytics/extractCorpus/cli.js.map +1 -0
- package/dist/analytics/extractCorpus/copilotSessions.js +231 -0
- package/dist/analytics/extractCorpus/copilotSessions.js.map +1 -0
- package/dist/analytics/extractCorpus/core.js +357 -0
- package/dist/analytics/extractCorpus/core.js.map +1 -0
- package/dist/analytics/extractCorpus/corpus.js +132 -0
- package/dist/analytics/extractCorpus/corpus.js.map +1 -0
- package/dist/analytics/extractCorpus/cursorSessions.js +420 -0
- package/dist/analytics/extractCorpus/cursorSessions.js.map +1 -0
- package/dist/analytics/extractCorpus/filesystemSources.js +122 -0
- package/dist/analytics/extractCorpus/filesystemSources.js.map +1 -0
- package/dist/analytics/extractCorpus/index.js +9 -0
- package/dist/analytics/extractCorpus/index.js.map +1 -0
- package/dist/analytics/extractCorpus/jsonlSessions.js +185 -0
- package/dist/analytics/extractCorpus/jsonlSessions.js.map +1 -0
- package/dist/analytics/extractCorpus/sqliteSessions.js +275 -0
- package/dist/analytics/extractCorpus/sqliteSessions.js.map +1 -0
- package/dist/analytics/extractCorpus.js +2 -1790
- package/dist/analytics/extractCorpus.js.map +1 -1
- package/dist/analytics/usageStats.js +1 -1
- package/dist/analytics/usageStats.js.map +1 -1
- package/dist/capabilities/dokumentera/instructions.js +6 -0
- package/dist/capabilities/dokumentera/instructions.js.map +1 -0
- package/dist/capabilities/hej/instructions.js +6 -0
- package/dist/capabilities/hej/instructions.js.map +1 -0
- package/dist/capabilities/index.js +38 -0
- package/dist/capabilities/index.js.map +1 -0
- package/dist/capabilities/inspektera/instructions.js +6 -0
- package/dist/capabilities/inspektera/instructions.js.map +1 -0
- package/dist/capabilities/inspirera/instructions.js +6 -0
- package/dist/capabilities/inspirera/instructions.js.map +1 -0
- package/dist/capabilities/optimera/instructions.js +6 -0
- package/dist/capabilities/optimera/instructions.js.map +1 -0
- package/dist/capabilities/orkestrera/instructions.js +6 -0
- package/dist/capabilities/orkestrera/instructions.js.map +1 -0
- package/dist/capabilities/planera/instructions.js +6 -0
- package/dist/capabilities/planera/instructions.js.map +1 -0
- package/dist/capabilities/profilera/instructions.js +6 -0
- package/dist/capabilities/profilera/instructions.js.map +1 -0
- package/dist/capabilities/realisera/instructions.js +6 -0
- package/dist/capabilities/realisera/instructions.js.map +1 -0
- package/dist/capabilities/resonera/instructions.js +6 -0
- package/dist/capabilities/resonera/instructions.js.map +1 -0
- package/dist/capabilities/visionera/instructions.js +6 -0
- package/dist/capabilities/visionera/instructions.js.map +1 -0
- package/dist/capabilities/visualisera/instructions.js +6 -0
- package/dist/capabilities/visualisera/instructions.js.map +1 -0
- package/dist/cli/capabilityContext/benchmark.js +557 -0
- package/dist/cli/capabilityContext/benchmark.js.map +1 -0
- package/dist/cli/capabilityContext/bespoke.js +25 -0
- package/dist/cli/capabilityContext/bespoke.js.map +1 -0
- package/dist/cli/capabilityContext/closeout.js +230 -0
- package/dist/cli/capabilityContext/closeout.js.map +1 -0
- package/dist/cli/capabilityContext/contract.js +186 -0
- package/dist/cli/capabilityContext/contract.js.map +1 -0
- package/dist/cli/capabilityContext/evidence.js +446 -0
- package/dist/cli/capabilityContext/evidence.js.map +1 -0
- package/dist/cli/capabilityContext/index.js +4 -0
- package/dist/cli/capabilityContext/index.js.map +1 -0
- package/dist/cli/capabilityContext/orchestration.js +107 -0
- package/dist/cli/capabilityContext/orchestration.js.map +1 -0
- package/dist/cli/capabilityContext/planState.js +271 -0
- package/dist/cli/capabilityContext/planState.js.map +1 -0
- package/dist/cli/capabilityContext/progress.js +96 -0
- package/dist/cli/capabilityContext/progress.js.map +1 -0
- package/dist/cli/capabilityContext/realisera.js +174 -0
- package/dist/cli/capabilityContext/realisera.js.map +1 -0
- package/dist/cli/capabilityContext/shared.js +94 -0
- package/dist/cli/capabilityContext/shared.js.map +1 -0
- package/dist/cli/capabilityContext/slim.js +106 -0
- package/dist/cli/capabilityContext/slim.js.map +1 -0
- package/dist/cli/capabilityContext/startup.js +208 -0
- package/dist/cli/capabilityContext/startup.js.map +1 -0
- package/dist/cli/capabilityContext/types.js +43 -0
- package/dist/cli/capabilityContext/types.js.map +1 -0
- package/dist/cli/capabilityContext.js +1 -2420
- package/dist/cli/capabilityContext.js.map +1 -1
- package/dist/cli/commands/capability.js +1 -8
- package/dist/cli/commands/capability.js.map +1 -1
- package/dist/cli/commands/compact.js +1 -1
- package/dist/cli/commands/compact.js.map +1 -1
- package/dist/cli/commands/doctor.js +35 -6
- package/dist/cli/commands/doctor.js.map +1 -1
- package/dist/cli/commands/lint.js +4 -36
- package/dist/cli/commands/lint.js.map +1 -1
- package/dist/cli/commands/query.js +1 -1
- package/dist/cli/commands/query.js.map +1 -1
- package/dist/cli/commands/report.js +11 -2
- package/dist/cli/commands/report.js.map +1 -1
- package/dist/cli/commands/schema.js +1 -2
- package/dist/cli/commands/schema.js.map +1 -1
- package/dist/cli/commands/state/decisions.js +397 -0
- package/dist/cli/commands/state/decisions.js.map +1 -0
- package/dist/cli/commands/state/docs.js +93 -0
- package/dist/cli/commands/state/docs.js.map +1 -0
- package/dist/cli/commands/state/experiments.js +67 -0
- package/dist/cli/commands/state/experiments.js.map +1 -0
- package/dist/cli/commands/state/health.js +114 -0
- package/dist/cli/commands/state/health.js.map +1 -0
- package/dist/cli/commands/state/index.js +51 -0
- package/dist/cli/commands/state/index.js.map +1 -0
- package/dist/cli/commands/state/objective.js +68 -0
- package/dist/cli/commands/state/objective.js.map +1 -0
- package/dist/cli/commands/state/plan.js +172 -0
- package/dist/cli/commands/state/plan.js.map +1 -0
- package/dist/cli/commands/state/progress.js +47 -0
- package/dist/cli/commands/state/progress.js.map +1 -0
- package/dist/cli/commands/state/shared.js +15 -0
- package/dist/cli/commands/state/shared.js.map +1 -0
- package/dist/cli/commands/state/todo.js +121 -0
- package/dist/cli/commands/state/todo.js.map +1 -0
- package/dist/cli/commands/state.js +29 -18
- package/dist/cli/commands/state.js.map +1 -1
- package/dist/cli/commands/validate.js +44 -20
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/dispatch/check.js +328 -0
- package/dist/cli/dispatch/check.js.map +1 -0
- package/dist/cli/dispatch/index.js +177 -0
- package/dist/cli/dispatch/index.js.map +1 -0
- package/dist/cli/dispatch/lifecycle.js +492 -0
- package/dist/cli/dispatch/lifecycle.js.map +1 -0
- package/dist/cli/dispatch/prime.js +100 -0
- package/dist/cli/dispatch/prime.js.map +1 -0
- package/dist/cli/dispatch/shared.js +64 -0
- package/dist/cli/dispatch/shared.js.map +1 -0
- package/dist/cli/dispatch/state.js +149 -0
- package/dist/cli/dispatch/state.js.map +1 -0
- package/dist/cli/dispatch.js +1 -995
- package/dist/cli/dispatch.js.map +1 -1
- package/dist/cli/errors.js +53 -0
- package/dist/cli/errors.js.map +1 -0
- package/dist/cli/help.js +1 -3
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/orientation.js +10 -7
- package/dist/cli/orientation.js.map +1 -1
- package/dist/cli/stateQuery.js +7 -0
- package/dist/cli/stateQuery.js.map +1 -1
- package/dist/cli/todoMarkdown.js +33 -0
- package/dist/cli/todoMarkdown.js.map +1 -0
- package/dist/hooks/common.js +8 -25
- package/dist/hooks/common.js.map +1 -1
- package/dist/hooks/compaction/apply.js +244 -0
- package/dist/hooks/compaction/apply.js.map +1 -0
- package/dist/hooks/compaction/dryRun.js +181 -0
- package/dist/hooks/compaction/dryRun.js.map +1 -0
- package/dist/hooks/compaction/index.js +23 -0
- package/dist/hooks/compaction/index.js.map +1 -0
- package/dist/hooks/compaction/parse.js +129 -0
- package/dist/hooks/compaction/parse.js.map +1 -0
- package/dist/hooks/compaction/retention.js +197 -0
- package/dist/hooks/compaction/retention.js.map +1 -0
- package/dist/hooks/compaction/status.js +243 -0
- package/dist/hooks/compaction/status.js.map +1 -0
- package/dist/hooks/compaction/types.js +6 -0
- package/dist/hooks/compaction/types.js.map +1 -0
- package/dist/hooks/compaction.js +20 -20
- package/dist/hooks/compaction.js.map +1 -1
- package/dist/hooks/cursorPreToolUse.js +1 -1
- package/dist/hooks/cursorPreToolUse.js.map +1 -1
- package/dist/hooks/sessionStart.js +4 -4
- package/dist/hooks/sessionStart.js.map +1 -1
- package/dist/hooks/sessionStop.js +3 -12
- package/dist/hooks/sessionStop.js.map +1 -1
- package/dist/hooks/validateArtifact/agentFacing.js +10 -0
- package/dist/hooks/validateArtifact/agentFacing.js.map +1 -0
- package/dist/hooks/validateArtifact/index.js +149 -0
- package/dist/hooks/validateArtifact/index.js.map +1 -0
- package/dist/hooks/validateArtifact/markdown.js +95 -0
- package/dist/hooks/validateArtifact/markdown.js.map +1 -0
- package/dist/hooks/validateArtifact/runtime.js +83 -0
- package/dist/hooks/validateArtifact/runtime.js.map +1 -0
- package/dist/hooks/validateArtifact/schema.js +455 -0
- package/dist/hooks/validateArtifact/schema.js.map +1 -0
- package/dist/hooks/validateArtifact/traversal.js +105 -0
- package/dist/hooks/validateArtifact/traversal.js.map +1 -0
- package/dist/hooks/validateArtifact/violations.js +105 -0
- package/dist/hooks/validateArtifact/violations.js.map +1 -0
- package/dist/hooks/validateArtifact.js +40 -49
- package/dist/hooks/validateArtifact.js.map +1 -1
- package/dist/migrate/v2HandoffManifest.js +333 -0
- package/dist/migrate/v2HandoffManifest.js.map +1 -0
- package/dist/registries/artifactProtocolIds.js +77 -0
- package/dist/registries/artifactProtocolIds.js.map +1 -0
- package/dist/registries/capabilityContract.js +12 -11
- package/dist/registries/capabilityContract.js.map +1 -1
- package/dist/registries/evaluatorHandoffContract.js +171 -0
- package/dist/registries/evaluatorHandoffContract.js.map +1 -0
- package/dist/release/releaseMetadata.js +235 -0
- package/dist/release/releaseMetadata.js.map +1 -0
- package/dist/setup/codex/agents.js +96 -0
- package/dist/setup/codex/agents.js.map +1 -0
- package/dist/setup/codex/cli.js +161 -0
- package/dist/setup/codex/cli.js.map +1 -0
- package/dist/setup/codex/configToml.js +644 -0
- package/dist/setup/codex/configToml.js.map +1 -0
- package/dist/setup/codex/constants.js +29 -0
- package/dist/setup/codex/constants.js.map +1 -0
- package/dist/setup/codex/installRoot.js +64 -0
- package/dist/setup/codex/installRoot.js.map +1 -0
- package/dist/setup/codex/state.js +270 -0
- package/dist/setup/codex/state.js.map +1 -0
- package/dist/setup/codex.js +11 -1055
- package/dist/setup/codex.js.map +1 -1
- package/dist/setup/doctor/core.js +300 -0
- package/dist/setup/doctor/core.js.map +1 -0
- package/dist/setup/doctor/diagnostics.js +247 -0
- package/dist/setup/doctor/diagnostics.js.map +1 -0
- package/dist/setup/doctor/opencode.js +281 -0
- package/dist/setup/doctor/opencode.js.map +1 -0
- package/dist/setup/doctor/report.js +474 -0
- package/dist/setup/doctor/report.js.map +1 -0
- package/dist/setup/doctor.js +9 -1296
- package/dist/setup/doctor.js.map +1 -1
- package/dist/setup/opencode.js +13 -0
- package/dist/setup/opencode.js.map +1 -0
- package/dist/setup/smokeChecks.js +1 -1
- package/dist/setup/smokeChecks.js.map +1 -1
- package/dist/state/progressCommit.js +1 -1
- package/dist/state/progressCommit.js.map +1 -1
- package/dist/state/startupAnalysis/benchmark.js +367 -0
- package/dist/state/startupAnalysis/benchmark.js.map +1 -0
- package/dist/state/startupAnalysis/contract.js +122 -0
- package/dist/state/startupAnalysis/contract.js.map +1 -0
- package/dist/state/startupAnalysis/helpers.js +332 -0
- package/dist/state/startupAnalysis/helpers.js.map +1 -0
- package/dist/state/startupAnalysis/index.js +7 -0
- package/dist/state/startupAnalysis/index.js.map +1 -0
- package/dist/state/startupAnalysis/metrics.js +334 -0
- package/dist/state/startupAnalysis/metrics.js.map +1 -0
- package/dist/state/startupAnalysis/records.js +195 -0
- package/dist/state/startupAnalysis/records.js.map +1 -0
- package/dist/state/startupAnalysis/report.js +123 -0
- package/dist/state/startupAnalysis/report.js.map +1 -0
- package/dist/state/startupAnalysis/threshold.js +500 -0
- package/dist/state/startupAnalysis/threshold.js.map +1 -0
- package/dist/state/startupAnalysis.js +2 -1952
- package/dist/state/startupAnalysis.js.map +1 -1
- package/dist/upgrade/coexistenceProbe.js +83 -0
- package/dist/upgrade/coexistenceProbe.js.map +1 -0
- package/dist/upgrade/doctor.js +41 -2
- package/dist/upgrade/doctor.js.map +1 -1
- package/dist/upgrade/migrateArtifactsV1ToV2.js +0 -1
- package/dist/upgrade/migrateArtifactsV1ToV2.js.map +1 -1
- package/dist/upgrade/migrateArtifactsV2ToV3.js +5 -83
- package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -1
- package/dist/upgrade/nextMajorDoctor.js +136 -0
- package/dist/upgrade/nextMajorDoctor.js.map +1 -0
- package/dist/upgrade/projectIntegration.js +3 -1
- package/dist/upgrade/projectIntegration.js.map +1 -1
- package/dist/upgrade/runtimeMigration.js +32 -5
- package/dist/upgrade/runtimeMigration.js.map +1 -1
- package/dist/upgrade/v3CapabilitySurface.js +15 -0
- package/dist/upgrade/v3CapabilitySurface.js.map +1 -0
- package/dist/upgrade/versionResolution.js +12 -4
- package/dist/upgrade/versionResolution.js.map +1 -1
- package/dist/validate/appHomeContract.js +4 -4
- package/dist/validate/appHomeContract.js.map +1 -1
- package/dist/validate/capability.js +11 -3
- package/dist/validate/capability.js.map +1 -1
- package/dist/validate/selfAudit.js +62 -20
- package/dist/validate/selfAudit.js.map +1 -1
- package/dist/validate/vocabularyAuthority.js +298 -0
- package/dist/validate/vocabularyAuthority.js.map +1 -0
- package/package.json +4 -4
- package/bundle/references/v1-section-mapping.md +0 -47
- package/bundle/skills/agentera/capabilities/dokumentera/instructions.md +0 -428
- package/bundle/skills/agentera/capabilities/hej/instructions.md +0 -331
- package/bundle/skills/agentera/capabilities/inspektera/instructions.md +0 -514
- package/bundle/skills/agentera/capabilities/inspirera/instructions.md +0 -280
- package/bundle/skills/agentera/capabilities/optimera/instructions.md +0 -437
- package/bundle/skills/agentera/capabilities/orkestrera/instructions.md +0 -433
- package/bundle/skills/agentera/capabilities/planera/instructions.md +0 -368
- package/bundle/skills/agentera/capabilities/profilera/instructions.md +0 -419
- package/bundle/skills/agentera/capabilities/realisera/instructions.md +0 -403
- package/bundle/skills/agentera/capabilities/resonera/instructions.md +0 -329
- package/bundle/skills/agentera/capabilities/visionera/instructions.md +0 -309
- package/bundle/skills/agentera/capabilities/visualisera/instructions.md +0 -400
- package/bundle/skills/hej/.claude-plugin/plugin.json +0 -6
- package/bundle/skills/hej/SKILL.md +0 -69
- package/bundle/skills/hej/agents/hej.toml +0 -11
- package/bundle/skills/hej/agents/openai.yaml +0 -8
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Upgrade repair wording — v3 cursor agent skip
|
|
2
|
+
|
|
3
|
+
When `agentera upgrade --runtime cursor` (or a full runtime phase) runs against a
|
|
4
|
+
**project** directory, managed `.cursor/agents/*.md` descriptors are normally
|
|
5
|
+
copied from the active app-home bundle. On a **v3 capability-surface** project
|
|
6
|
+
that signal is suppressed so D65 `prime --context` bodies are not regressed to
|
|
7
|
+
the retired `instructions.md` read path.
|
|
8
|
+
|
|
9
|
+
## v3 surface probe
|
|
10
|
+
|
|
11
|
+
Treat the project as v3 when **all twelve** instruction modules exist:
|
|
12
|
+
|
|
13
|
+
`packages/cli/src/capabilities/<name>/instructions.ts`
|
|
14
|
+
|
|
15
|
+
for every routed capability (`hej`, `visionera`, `resonera`, `inspirera`,
|
|
16
|
+
`planera`, `realisera`, `optimera`, `inspektera`, `dokumentera`, `profilera`,
|
|
17
|
+
`visualisera`, `orkestrera`).
|
|
18
|
+
|
|
19
|
+
If any module is missing, preserve v2 upgrade behavior (copy/refresh managed
|
|
20
|
+
agents from the bundle).
|
|
21
|
+
|
|
22
|
+
## Orchestrator behavior
|
|
23
|
+
|
|
24
|
+
| Orchestrator | Branch | Behavior |
|
|
25
|
+
| --- | --- | --- |
|
|
26
|
+
| TypeScript (`packages/cli/src/upgrade/runtimeMigration.ts`) | `feat/v3` | On v3 probe match, emit `skipped` `copy-agent` items for in-tree `.cursor/agents/` instead of copying from the bundle. |
|
|
27
|
+
| Python (`scripts/agentera_upgrade.py`) | `main` (stable) | Same probe before the cursor agent copy loop; do not schedule `copy-agent` targets under the project when the probe matches. Backport per the both-branch pattern. |
|
|
28
|
+
|
|
29
|
+
## User-visible skip message
|
|
30
|
+
|
|
31
|
+
`v3 capability instruction modules present; in-tree .cursor/agents/ uses prime --context and is not overwritten`
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
schema_version: agentera.v3_handoff_manifest.v1
|
|
2
|
+
status: active_authority
|
|
3
|
+
purpose: >-
|
|
4
|
+
Contract for the v2→v3 handoff manifest written by the stable Python CLI at the
|
|
5
|
+
app-home root and read by the v3 TypeScript migration preflight. The manifest
|
|
6
|
+
lets v3 migration classify preserved user state in O(1) time instead of
|
|
7
|
+
scanning the entire app home.
|
|
8
|
+
manifest_file: v3-handoff.json
|
|
9
|
+
manifest_path: >-
|
|
10
|
+
{app_home}/v3-handoff.json where app_home is the platform data-home install
|
|
11
|
+
root (for example ~/.local/share/agentera on Linux).
|
|
12
|
+
writers:
|
|
13
|
+
- v2 stable Python CLI on install, upgrade apply, and doctor (refresh when stale)
|
|
14
|
+
readers:
|
|
15
|
+
- v3 TypeScript migration preflight in packages/cli/src/migrate/v2HandoffManifest.ts
|
|
16
|
+
performance:
|
|
17
|
+
reader_preflight_budget_ms: 100
|
|
18
|
+
note: >-
|
|
19
|
+
When the manifest is present and valid, the v3 reader must complete parsing
|
|
20
|
+
and validation within 100ms. When absent or invalid, the reader may fall
|
|
21
|
+
back to a full app-home scan with no time budget.
|
|
22
|
+
required_top_level_fields:
|
|
23
|
+
schema_version:
|
|
24
|
+
type: string
|
|
25
|
+
const: agentera.v3_handoff_manifest.v1
|
|
26
|
+
written_at:
|
|
27
|
+
type: string
|
|
28
|
+
format: iso8601_utc
|
|
29
|
+
description: UTC timestamp when the manifest was last written.
|
|
30
|
+
installed_v2_version:
|
|
31
|
+
type: string
|
|
32
|
+
min_length: 1
|
|
33
|
+
description: Installed Agentera suite version from the active v2 bundle marker.
|
|
34
|
+
app_home_path:
|
|
35
|
+
type: string
|
|
36
|
+
min_length: 1
|
|
37
|
+
description: Absolute resolved app-home path the writer used.
|
|
38
|
+
user_data_inventory:
|
|
39
|
+
type: array
|
|
40
|
+
min_items: 6
|
|
41
|
+
description: >-
|
|
42
|
+
One entry per catalog id below. Entries for paths that do not exist on disk
|
|
43
|
+
set exists=false; writers still emit the full catalog so v3 preflight can
|
|
44
|
+
trust absence without rescanning.
|
|
45
|
+
runtime_adapters:
|
|
46
|
+
type: array
|
|
47
|
+
items:
|
|
48
|
+
type: string
|
|
49
|
+
description: >-
|
|
50
|
+
Runtime adapter ids (references/adapters/runtime-adapter-registry.yaml)
|
|
51
|
+
that the v2 install actively uses — runtimes whose setup doctor status is
|
|
52
|
+
pass at write time.
|
|
53
|
+
user_data_inventory_catalog:
|
|
54
|
+
- id: benchmarks
|
|
55
|
+
relative_path: benchmarks
|
|
56
|
+
kind: directory
|
|
57
|
+
- id: intermediate
|
|
58
|
+
relative_path: intermediate
|
|
59
|
+
kind: directory
|
|
60
|
+
- id: sessions
|
|
61
|
+
relative_path: sessions
|
|
62
|
+
kind: directory
|
|
63
|
+
- id: history
|
|
64
|
+
relative_path: history
|
|
65
|
+
kind: directory
|
|
66
|
+
- id: corpus
|
|
67
|
+
relative_path: corpus
|
|
68
|
+
kind: directory
|
|
69
|
+
- id: profile_files
|
|
70
|
+
kind: profile_files
|
|
71
|
+
members:
|
|
72
|
+
- relative_path: PROFILE.md
|
|
73
|
+
kind: file
|
|
74
|
+
- relative_path: USAGE.md
|
|
75
|
+
kind: file
|
|
76
|
+
user_data_inventory_entry_shapes:
|
|
77
|
+
directory:
|
|
78
|
+
required: [id, relative_path, kind, exists]
|
|
79
|
+
kind_const: directory
|
|
80
|
+
file:
|
|
81
|
+
required: [id, relative_path, kind, exists]
|
|
82
|
+
kind_const: file
|
|
83
|
+
profile_files:
|
|
84
|
+
required: [id, kind, members]
|
|
85
|
+
kind_const: profile_files
|
|
86
|
+
members:
|
|
87
|
+
required: [relative_path, kind, exists]
|
|
88
|
+
kind_const: file
|
|
89
|
+
freshness:
|
|
90
|
+
writer_obligations:
|
|
91
|
+
- Refresh the manifest on every v2 upgrade apply.
|
|
92
|
+
- Refresh the manifest on v2 doctor when stale or missing (after warning).
|
|
93
|
+
stale_when_any:
|
|
94
|
+
- Manifest file missing.
|
|
95
|
+
- schema_version mismatch.
|
|
96
|
+
- app_home_path differs from the resolved install root.
|
|
97
|
+
- installed_v2_version differs from the active bundle marker version.
|
|
98
|
+
- written_at is older than the bundle marker mtime.
|
|
@@ -18,7 +18,7 @@ authority_order:
|
|
|
18
18
|
- references/cli/capability-instruction-contract.yaml
|
|
19
19
|
- references/cli/routing-execution-vocabulary.yaml
|
|
20
20
|
- skills/agentera/SKILL.md
|
|
21
|
-
-
|
|
21
|
+
- packages/cli/src/capabilities/*/instructions.ts
|
|
22
22
|
- the agentera CLI
|
|
23
23
|
- packages/cli/src/upgrade (doctor/upgrade)
|
|
24
24
|
- README.md
|
|
@@ -62,8 +62,8 @@ normalization_rules:
|
|
|
62
62
|
- rule: Worker safety commits are Git-only.
|
|
63
63
|
use: pre-spawn Git commit
|
|
64
64
|
avoid: Non-Git checkpoint or pre-dispatch commit gate in new docs.
|
|
65
|
-
- rule: Capability instruction
|
|
66
|
-
use: instructions.
|
|
65
|
+
- rule: Capability instruction modules have current metadata and a runtime boundary.
|
|
66
|
+
use: instructions.ts plus emitted prime_context first_invocation_read; runtime enforcement is true via the CLI prime command
|
|
67
67
|
avoid: Claiming agents are policed for actual reads, or adding unsupported agentera planera commands.
|
|
68
68
|
plain_language:
|
|
69
69
|
lead_with_plain_phrase:
|
|
@@ -20,10 +20,10 @@ included when they shape cross-suite usage.
|
|
|
20
20
|
| `references/cli/app-lifecycle-vocabulary.yaml` | App lifecycle canonical statuses, deprecated aliases, operation verbs, status concepts, and consumer ownership boundaries. |
|
|
21
21
|
| `references/cli/update-channels.yaml` | Stable and development update channels, dist-tag/git resolution, default channel, and override keys. |
|
|
22
22
|
| `references/cli/bundle-skill-vocabulary.yaml` | Canonical concepts, compatibility boundaries, and classification rules for `bundle` and `SKILL.md` usage. |
|
|
23
|
-
| `references/cli/capability-instruction-contract.yaml` | Decision 57 capability instruction-file contract, current `instructions.
|
|
23
|
+
| `references/cli/capability-instruction-contract.yaml` | Decision 57 capability instruction-file contract, current `packages/cli/src/capabilities/<name>/instructions.ts` authority, and implemented `first_invocation_read` CLI/schema discoverability (D65 collapsed the legacy `full`/`compact_startup` distinction into a single `prime_context` value with runtime enforcement). |
|
|
24
24
|
| `references/cli/routing-execution-vocabulary.yaml` | Canonical concepts, compatibility boundaries, and classification rules for routing, suggestions, delegation, worker spawning, runtime subagent mechanisms, and pre-spawn Git commits. |
|
|
25
25
|
| `skills/agentera/SKILL.md` | Agentera routing entry point, routing model, CLI-first state access, installed-app status checks, and safety rails. |
|
|
26
|
-
| `
|
|
26
|
+
| `packages/cli/src/capabilities/*/instructions.ts` | Capability behavior, workflow grammar, step markers, and cross-capability boundaries. Loaded as a default-exported string constant and served via `agentera prime --context <name> --format json`. |
|
|
27
27
|
| `the agentera CLI` and `packages/cli/src/upgrade (doctor/upgrade)` | CLI-visible command labels, upgrade output, and doctor diagnostics. |
|
|
28
28
|
| `README.md`, `UPGRADE.md`, `DESIGN.md`, `.agentera/*.yaml` | User-facing phrasing, design vocabulary, and current project-state examples. |
|
|
29
29
|
|
|
@@ -51,11 +51,13 @@ examples. Diagnostics should state object, state, cause, and fix.
|
|
|
51
51
|
|
|
52
52
|
| Term | Definition | Common sources |
|
|
53
53
|
| --- | --- | --- |
|
|
54
|
-
| Agentera |
|
|
55
|
-
|
|
|
56
|
-
|
|
|
57
|
-
|
|
|
58
|
-
|
|
|
54
|
+
| Agentera | An opinionated mobile-first coding agent. One product brand across the monorepo (`@agentera/mobile`, `@agentera/web`, `@agentera/cli`). Structured `.agentera/` project state makes sessions compound. | `README.md`, `.agentera/vision.yaml` |
|
|
55
|
+
| Product surface | A shipped user-facing package in the monorepo: `@agentera/mobile` (primary app), `@agentera/web` (site and docs), `@agentera/cli` (agent runtime and state CLI). | `README.md`, `AGENTS.md`, `packages/*/README.md` |
|
|
56
|
+
| @agentera/mobile | The flagship mobile/web app package at `packages/mobile`. SvelteKit, Cursor SDK, Cloudflare Worker. | `packages/mobile/README.md`, `packages/mobile/DESIGN.md` |
|
|
57
|
+
| Agentera skill | Internal runtime-loaded skill at `skills/agentera/`. Contains the routing entry and twelve capabilities. Contributor and editor-integration surface, not the primary product headline. | `skills/agentera/SKILL.md` |
|
|
58
|
+
| Capability | A routed behavioral unit inside the Agentera skill, with the prose module `packages/cli/src/capabilities/<name>/instructions.ts` plus `triggers.yaml`, `artifacts.yaml`, `validation.yaml`, and `exit.yaml`. | `AGENTS.md`, `skills/agentera/capabilities/*`, `packages/cli/src/capabilities/*` |
|
|
59
|
+
| Capability alias | User-facing English name in the mobile app (e.g. `brief`, `discuss`) mapped to internal `-era` IDs (e.g. `hej`, `resonera`). Documented in `packages/mobile/README.md`; schemas retain internal IDs. | `packages/mobile/README.md`, `.agentera/decisions.yaml` |
|
|
60
|
+
| Shared protocol | Internal primitive vocabulary in `protocol.yaml`: confidence, severity, decision labels, exits, visual tokens, glyphs, and phases. | `skills/agentera/protocol.yaml` |
|
|
59
61
|
| Capability schema contract | The executable contract for capability schema groups, stable IDs, priorities, deprecations, and primitive references. | `skills/agentera/capability_schema_contract.yaml` |
|
|
60
62
|
| Project state | Structured files that preserve intent, decisions, plans, progress, health, docs, design, and session continuity. | `README.md`, `.agentera/docs.yaml` |
|
|
61
63
|
| Project history | Durable history kept in files so future agents do not reconstruct history from chat residue. | `README.md`, `.agentera/progress.yaml` |
|
|
@@ -87,21 +89,26 @@ Capability names use Swedish-style `-era` verb forms. The name is the action:
|
|
|
87
89
|
|
|
88
90
|
The machine-readable authority is
|
|
89
91
|
`references/cli/capability-instruction-contract.yaml`; it owns Decision 57's
|
|
90
|
-
instruction-file boundary, including the canonical `instructions.
|
|
91
|
-
legacy `prose.md` compatibility boundaries,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
92
|
+
instruction-file boundary, including the canonical `instructions.ts` module,
|
|
93
|
+
legacy `prose.md` and `instructions.md` compatibility boundaries, the
|
|
94
|
+
implemented `first_invocation_read: prime_context` value, the
|
|
95
|
+
`prime --context <name> --format json` ownership statement, and the runtime
|
|
96
|
+
enforcement boundary promoted to `true` in D65.
|
|
97
|
+
|
|
98
|
+
Use this prose as guidance only: the default is that the first capability
|
|
99
|
+
invocation shells out to `agentera prime --context <name> --format json` and
|
|
100
|
+
reads the returned `prose` field. Today, capability directories carry the
|
|
101
|
+
`schemas/` files only, the prose module lives at
|
|
102
|
+
`packages/cli/src/capabilities/<name>/instructions.ts`, runtime descriptors
|
|
103
|
+
invoke the prime command, and the `agentera prime --context <name> --format
|
|
104
|
+
json` response emits `capability_context.prose` plus
|
|
105
|
+
`first_invocation_read` metadata.
|
|
100
106
|
|
|
101
107
|
Do not replace this with a parallel Markdown table of read modes or migration
|
|
102
108
|
surfaces. Update the YAML authority first, then keep this section as the short
|
|
103
|
-
human-facing boundary.
|
|
104
|
-
|
|
109
|
+
human-facing boundary. The `prime_context` runtime enforcement is owned by the
|
|
110
|
+
CLI process; agent runtimes shell out to the prime command instead of reading
|
|
111
|
+
the prose module directly.
|
|
105
112
|
|
|
106
113
|
## Invocation and routing grammar
|
|
107
114
|
|
|
@@ -193,14 +200,15 @@ ambiguous-term sweep remain separate follow-up work.
|
|
|
193
200
|
| --- | --- |
|
|
194
201
|
| Artifact | A project or agent state file owned by one or more capabilities. |
|
|
195
202
|
| Human-facing artifact | A root-level Markdown artifact intended for people, such as `TODO.md`, `CHANGELOG.md`, or `DESIGN.md`. |
|
|
203
|
+
| Severity band policy | TODO.md severity bands are header-only allowed for Degraded (⇉), Normal (→), and Annoying (⇢); Critical (⇶) is enforced and must contain at least one `- [type]` item. Authority: `skills/agentera/schemas/artifacts/todo.yaml` CONVENTION TC6; executable rule in `packages/cli/src/hooks/validateArtifact.ts` `validateMdItems`. |
|
|
196
204
|
| Agent-facing artifact | A structured YAML artifact under `.agentera/`, such as `.agentera/progress.yaml`. |
|
|
197
205
|
| Global artifact | A user-level artifact outside a project, such as `PROFILE.md` or `USAGE.md`. |
|
|
198
|
-
| Canonical artifact name |
|
|
206
|
+
| Canonical artifact name | Protocol `artifact_id` such as `plan`, `progress`, or `docs`; human-facing Markdown filenames such as `TODO.md` are `display_name` values, not protocol identity. |
|
|
199
207
|
| Resolved artifact path | The actual path after consulting `.agentera/docs.yaml` mapping or the default layout. |
|
|
200
|
-
| Artifact mapping | `.agentera/docs.yaml` rows that map
|
|
208
|
+
| Artifact mapping | `.agentera/docs.yaml` rows that map `artifact_id` values to project-local paths and producers. |
|
|
201
209
|
| ArtifactRegistry | The registry interface model for artifact IDs, display names, default paths, producers, consumers, type, scope, and special cases. |
|
|
202
210
|
| `artifact_id` | Machine identifier such as `progress`, `health`, `docs`, or `objective`. |
|
|
203
|
-
| `display_name` | Human-readable
|
|
211
|
+
| `display_name` | Human-readable filename label such as `VISION.md` or `TODO.md`; registry-owned, not protocol identity. |
|
|
204
212
|
| `default_path` | Registry-owned path used when no docs mapping overrides it. |
|
|
205
213
|
| `local_role` | Capability relationship to an artifact: `produces`, `consumes`, or `produces_and_consumes`. |
|
|
206
214
|
| Docs override boundary | `docs.yaml` may override paths for known display names; it must not redefine canonical identity facts. |
|
|
@@ -434,7 +442,7 @@ references, generic plain language, and ambiguous current prose.
|
|
|
434
442
|
Use this prose as guidance only: current conceptual docs should say the object
|
|
435
443
|
they mean, such as Agentera app files, suite package, plugin-shipped hooks,
|
|
436
444
|
removed `bundle-status` command, Agentera routing entry point, skill entry file,
|
|
437
|
-
v1 skill entry
|
|
445
|
+
historical v1 skill entry paths (post-3.0 removed from the repo tree). Preserve shipped identifiers and
|
|
438
446
|
literal paths such as `.agentera-bundle.json`, `bundle.status`,
|
|
439
447
|
`activeBundleRoot`, `--only bundle`, and `skills/agentera/SKILL.md` unless an
|
|
440
448
|
explicit compatibility migration is in scope.
|
|
@@ -484,8 +492,8 @@ Visualisera owns visual identity in `DESIGN.md`. Protocol owns token meanings in
|
|
|
484
492
|
|
|
485
493
|
| Phrase | Use |
|
|
486
494
|
| --- | --- |
|
|
487
|
-
| “
|
|
488
|
-
| “One install, one entry point, one query interface to all project state.” |
|
|
495
|
+
| “Opinionated mobile-first coding agent.” | Product identity. |
|
|
496
|
+
| “One install, one entry point, one query interface to all project state.” | CLI state-access promise (internals/contributor docs). |
|
|
489
497
|
| “Continuity lives in files, not memory.” | Realisera/project-state principle. |
|
|
490
498
|
| “The conversation preserves reasoning; the artifact preserves the plan.” | Planera boundary. |
|
|
491
499
|
| “Planera owns WHAT and WHY; realisera owns HOW.” | Planning/building boundary. |
|
|
@@ -543,7 +551,7 @@ High-signal source surfaces for this vocabulary:
|
|
|
543
551
|
| `skills/agentera/SKILL.md` | Routing entry, routing layers, CLI-first access, installed-app status check, and v1 migration check. |
|
|
544
552
|
| `skills/agentera/protocol.yaml` | Protocol primitives, glyphs, phases, visual tokens, exit signals. |
|
|
545
553
|
| `skills/agentera/capability_schema_contract.yaml` | Schema groups, priorities, stable IDs, primitive-reference fields. |
|
|
546
|
-
| `
|
|
554
|
+
| `packages/cli/src/capabilities/*/instructions.ts` | Workflow grammar, capability roles, safety rails, exit marker forms. Loaded as a default-exported string constant; runtime serves it via `agentera prime --context <name> --format json`. |
|
|
547
555
|
| `skills/agentera/capabilities/*/schemas/*.yaml` | Trigger patterns, artifact roles, validation rules, exit conditions. |
|
|
548
556
|
| `skills/agentera/schemas/artifacts/*.yaml` | Artifact fields, status enums, validation vocabulary, and protected current-state fields. |
|
|
549
557
|
| `references/artifacts/artifact-registry-interface-model.yaml` | Canonical artifact registry language. |
|
|
@@ -4,7 +4,14 @@ Maintainer inventory of repository documentation, workpapers, and legacy surface
|
|
|
4
4
|
Authoritative Agentera docs live under `references/`, `skills/agentera/`, and root
|
|
5
5
|
guides — not under `docs/`.
|
|
6
6
|
|
|
7
|
-
**Last reviewed:** 2026-05
|
|
7
|
+
**Last reviewed:** 2026-06-05
|
|
8
|
+
|
|
9
|
+
## Design docs under `docs/`
|
|
10
|
+
|
|
11
|
+
| Path | Topic |
|
|
12
|
+
| ---- | ----- |
|
|
13
|
+
| `docs/packaging/v3-packaging.md` | v3 CLI npm/Bun distribution contract |
|
|
14
|
+
| `docs/consolidation/monorepo-plan.md` | Product pivot, `@agentera/*` package layout, migration checklist (D67) |
|
|
8
15
|
|
|
9
16
|
## Authority stack
|
|
10
17
|
|
|
@@ -17,7 +24,7 @@ guides — not under `docs/`.
|
|
|
17
24
|
| Benchmark contract | `references/analysis/startup-measurement-contract.yaml` |
|
|
18
25
|
| Benchmark runbook | `references/analysis/benchmark.md` |
|
|
19
26
|
| JSON surface budgets | `scripts/json_output_surface_manifest.yaml` |
|
|
20
|
-
| Project drafts | `docs/` (gitignored except `docs/README.md`) |
|
|
27
|
+
| Project drafts | `docs/` (gitignored except `docs/README.md`, `docs/packaging/`, `docs/consolidation/`) |
|
|
21
28
|
|
|
22
29
|
## `docs/` policy
|
|
23
30
|
|
|
@@ -40,4 +47,3 @@ Live JSON enforcement uses `scripts/json_output_surface_manifest.yaml` only.
|
|
|
40
47
|
|
|
41
48
|
- Replace live `SPEC.md` references in `UPGRADE.md`, hooks, adapter docs, `contract.md`
|
|
42
49
|
- Refresh or drop assertions against pre-migration characterization snapshots
|
|
43
|
-
- Agentera 3.0: remove `skills/hej/` bridge and `references/v1-section-mapping.md`
|
package/bundle/registry.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"skills": [
|
|
5
5
|
{
|
|
6
6
|
"name": "agentera",
|
|
7
|
-
"version": "
|
|
7
|
+
"version": "3.0.0",
|
|
8
8
|
"description": "Compound agent orchestration suite — 12 capabilities in one bundled skill; exact bare hej uses the Agentera dashboard path",
|
|
9
9
|
"path": "skills/agentera",
|
|
10
10
|
"capabilities": [
|
|
@@ -1,14 +1,28 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agentera
|
|
3
3
|
description: >
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Agentera capability requests, and a complete user message
|
|
9
|
-
bare `hej` runs the agentera prime orientation dashboard path
|
|
10
|
-
|
|
4
|
+
Agentera agent engine for editor runtimes. One Agentera skill with twelve
|
|
5
|
+
capabilities; per-capability prose lives in
|
|
6
|
+
`packages/cli/src/capabilities/<name>/instructions.ts` and the runtime serves
|
|
7
|
+
it through `agentera prime --context <name> --format json`. Use this skill
|
|
8
|
+
for /agentera, Agentera capability requests, and a complete user message
|
|
9
|
+
exactly `hej`; bare `hej` runs the agentera prime orientation dashboard path
|
|
10
|
+
instead of a generic greeting.
|
|
11
|
+
version: "3.0.0"
|
|
11
12
|
spec_sections: [1, 2, 3, 4, 5, 6, 11, 13, 18, 19, 20, 22, 23]
|
|
13
|
+
capabilities:
|
|
14
|
+
- hej
|
|
15
|
+
- visionera
|
|
16
|
+
- resonera
|
|
17
|
+
- inspirera
|
|
18
|
+
- planera
|
|
19
|
+
- realisera
|
|
20
|
+
- optimera
|
|
21
|
+
- inspektera
|
|
22
|
+
- dokumentera
|
|
23
|
+
- profilera
|
|
24
|
+
- visualisera
|
|
25
|
+
- orkestrera
|
|
12
26
|
---
|
|
13
27
|
|
|
14
28
|
# agentera
|
|
@@ -182,9 +196,10 @@ above must have already confirmed the installed CLI is usable.
|
|
|
182
196
|
|
|
183
197
|
Routine commands are: `prime`, `state plan`, `state progress`, `state health`,
|
|
184
198
|
`state todo`, `state decisions`, `state docs`, `state objective`, and
|
|
185
|
-
`state experiments`.
|
|
186
|
-
|
|
187
|
-
|
|
199
|
+
`state experiments`. On the npm 3.x CLI, top-level `hej`, `describe`, `gate`, and
|
|
200
|
+
routine-state names are removed; a smaller transitional alias set still forwards
|
|
201
|
+
with stderr deprecation — see [audience-namespace-cli-migration.yaml](references/cli/audience-namespace-cli-migration.yaml). Discovery and custom
|
|
202
|
+
inspection remain available through `agentera schema --format json`,
|
|
188
203
|
`state query --list-artifacts`, and `state query <artifact-name> --format json|yaml`.
|
|
189
204
|
Structured discovery includes an artifact-location contract with mapped paths,
|
|
190
205
|
normal read commands, and raw-access boundaries; use that contract before
|
|
@@ -239,7 +254,7 @@ Bare `/agentera` returning-project output must include these visible markers:
|
|
|
239
254
|
|
|
240
255
|
Use the README-style layout from hej Step 1b: metrics first, narrative read
|
|
241
256
|
inside `status`, then attention and next. The issues summary line uses
|
|
242
|
-
`critical · degraded · annoying`
|
|
257
|
+
`critical · degraded · normal · annoying` in the order prime emits them. Omit `attention` only when the source has no attention items. Always include the
|
|
243
258
|
mandatory `⌂ hej · <status>` marker below the dashboard code fence, and ask for
|
|
244
259
|
confirmation before invoking the suggested downstream capability. For
|
|
245
260
|
`/agentera <capability-name>` or `/agentera <alias>`, do not assume the route
|
|
@@ -261,21 +276,25 @@ v2 paths `hej --capability-context` and `--context-profile` are removed in 3.0.
|
|
|
261
276
|
For normal ≡ planera execution, use
|
|
262
277
|
`capability_context.context.planning_context.startup_contract` from
|
|
263
278
|
`agentera prime --context planera --format json`
|
|
264
|
-
before reading
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
279
|
+
before reading the Planera prose from
|
|
280
|
+
`packages/cli/src/capabilities/planera/instructions.ts` (served via
|
|
281
|
+
`capability_context.prose` from the same prime call). Read the full Planera
|
|
282
|
+
prose only when editing Planera, resolving contradiction or ambiguity,
|
|
283
|
+
validating detailed behavior not covered by the compact contract, or
|
|
284
|
+
investigating benchmark/read-trigger evidence. This preserves Planera prose
|
|
285
|
+
as detailed authority and does not add `agentera planera`; `/agentera plan`
|
|
286
|
+
remains routing while `agentera state plan` remains plan state (top-level
|
|
287
|
+
`agentera plan` is a migration alias).
|
|
270
288
|
For normal DECISIONS.md context, use `agentera state decisions --format json` and its
|
|
271
289
|
source_contract. When `complete_for_normal_deliberation_context=true`, preserve
|
|
272
290
|
returned `missing_fields`, `compacted`, `caveats`, and `satisfaction.review_needed`
|
|
273
291
|
instead of raw-reading `.agentera/decisions.yaml` to reconstruct missing history.
|
|
274
292
|
Raw decision artifact access is reserved for Resonera-owned writes/repairs,
|
|
275
293
|
artifact corruption diagnostics, or CLI defect investigation.
|
|
276
|
-
Reading a capability's
|
|
277
|
-
invocation means routing to the capability,
|
|
278
|
-
|
|
294
|
+
Reading a capability's instructions module is not itself a capability invocation;
|
|
295
|
+
invocation means routing to the capability, fetching the prose via
|
|
296
|
+
`agentera prime --context <name> --format json`, following that prose, and using
|
|
297
|
+
the CLI state layer first for artifact-backed state.
|
|
279
298
|
|
|
280
299
|
Capability handoffs use glyph plus canonical capability name, for example
|
|
281
300
|
`⧉ realisera` or `≡ planera`. Reserve `/agentera <alias>` wording for explicit
|
|
@@ -343,15 +362,14 @@ when supplied by the CLI.
|
|
|
343
362
|
Do not replace the CLI-owned preview with manual artifact inspection,
|
|
344
363
|
hand-written migration steps, or raw YAML reads. Only the apply step requires confirmation.
|
|
345
364
|
|
|
346
|
-
The upgrade command is idempotent. It installs or updates Agentera app files
|
|
347
|
-
|
|
348
|
-
app home, and removes fixable outdated
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
plain-language repair preview above so upgrade updates the app and cleans up
|
|
365
|
+
The upgrade command is idempotent. It installs or updates Agentera app files,
|
|
366
|
+
migrates legacy Markdown artifacts to YAML when detected, wires runtime config
|
|
367
|
+
to the app home, and removes fixable outdated runtime artifacts after preview
|
|
368
|
+
and confirmation. Package refreshes that run `npx skills remove` for legacy
|
|
369
|
+
standalone skill entries and `npx skills add` for `/agentera` remain explicit
|
|
370
|
+
opt-in via `--update-packages`. `npx skills update` by itself updates only the
|
|
371
|
+
visible skill; if `/agentera` then finds missing or out-of-date app files, run
|
|
372
|
+
the plain-language repair preview above so upgrade updates the app and cleans up
|
|
355
373
|
the old default directory when it is recoverable.
|
|
356
374
|
|
|
357
375
|
### Layer 1: Bare `/agentera` or bare `hej` — delegate to prime
|
|
@@ -436,25 +454,24 @@ Before reading or writing any artifact, check if `.agentera/docs.yaml` exists. I
|
|
|
436
454
|
|
|
437
455
|
```
|
|
438
456
|
skills/agentera/
|
|
439
|
-
SKILL.md # This file
|
|
457
|
+
SKILL.md # This file (routing stub + capability table)
|
|
440
458
|
protocol.yaml # Shared primitives
|
|
441
459
|
capability_schema_contract.yaml # Self-referential schema contract
|
|
442
460
|
capabilities/
|
|
443
461
|
hej/
|
|
444
|
-
instructions.md
|
|
445
462
|
schemas/
|
|
446
463
|
triggers.yaml
|
|
447
464
|
artifacts.yaml
|
|
448
465
|
validation.yaml
|
|
449
466
|
exit.yaml
|
|
450
467
|
resonera/
|
|
451
|
-
instructions.md
|
|
452
468
|
schemas/
|
|
453
469
|
triggers.yaml
|
|
454
470
|
artifacts.yaml
|
|
455
471
|
validation.yaml
|
|
456
472
|
exit.yaml
|
|
457
|
-
... (12 capabilities total)
|
|
473
|
+
... (12 capabilities total, each with schemas/ only)
|
|
474
|
+
packages/cli/src/capabilities/<name>/instructions.ts # Per-capability prose (D65)
|
|
458
475
|
```
|
|
459
476
|
|
|
460
477
|
Validate any capability against the contract through the canonical CLI:
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
name = "dokumentera"
|
|
3
3
|
description = "Documentation updates and synchronization."
|
|
4
4
|
developer_instructions = """
|
|
5
|
-
You are the Agentera dokumentera capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts.
|
|
5
|
+
You are the Agentera dokumentera capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts. Run `agentera prime --context dokumentera --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
6
|
"""
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
name = "hej"
|
|
3
3
|
description = "Agentera orientation and routing dashboard."
|
|
4
4
|
developer_instructions = """
|
|
5
|
-
You are the Agentera hej capability subagent. You are a read-only agent — do not write files or execute shell commands.
|
|
5
|
+
You are the Agentera hej capability subagent. You are a read-only agent — do not write files or execute shell commands. Run `agentera prime --context hej --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
6
|
"""
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
name = "inspektera"
|
|
3
3
|
description = "Codebase health audit."
|
|
4
4
|
developer_instructions = """
|
|
5
|
-
You are the Agentera inspektera capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts.
|
|
5
|
+
You are the Agentera inspektera capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts. Run `agentera prime --context inspektera --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
6
|
"""
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
name = "inspirera"
|
|
3
3
|
description = "External pattern research and synthesis."
|
|
4
4
|
developer_instructions = """
|
|
5
|
-
You are the Agentera inspirera capability subagent. You are a read-only agent — do not write files or execute shell commands.
|
|
5
|
+
You are the Agentera inspirera capability subagent. You are a read-only agent — do not write files or execute shell commands. Run `agentera prime --context inspirera --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
6
|
"""
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
name = "optimera"
|
|
3
3
|
description = "Metric-driven optimization cycles."
|
|
4
4
|
developer_instructions = """
|
|
5
|
-
You are the Agentera optimera capability subagent. You have full file write, file edit, and shell execution tools available — use them to implement code changes, run tests, and commit results.
|
|
5
|
+
You are the Agentera optimera capability subagent. You have full file write, file edit, and shell execution tools available — use them to implement code changes, run tests, and commit results. Run `agentera prime --context optimera --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
6
|
"""
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
name = "orkestrera"
|
|
3
3
|
description = "Multi-cycle orchestration over active plans."
|
|
4
4
|
developer_instructions = """
|
|
5
|
-
You are the Agentera orkestrera capability subagent. You have full file write, file edit, and shell execution tools available — use them to implement code changes, run tests, and commit results.
|
|
5
|
+
You are the Agentera orkestrera capability subagent. You have full file write, file edit, and shell execution tools available — use them to implement code changes, run tests, and commit results. Run `agentera prime --context orkestrera --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
6
|
"""
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
name = "planera"
|
|
3
3
|
description = "Planning with acceptance criteria."
|
|
4
4
|
developer_instructions = """
|
|
5
|
-
You are the Agentera planera capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts.
|
|
5
|
+
You are the Agentera planera capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts. Run `agentera prime --context planera --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
6
|
"""
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
name = "profilera"
|
|
3
3
|
description = "Decision profiling and preference memory."
|
|
4
4
|
developer_instructions = """
|
|
5
|
-
You are the Agentera profilera capability subagent. You have full file write, file edit, and shell execution tools available — use them to implement code changes, run tests, and commit results.
|
|
5
|
+
You are the Agentera profilera capability subagent. You have full file write, file edit, and shell execution tools available — use them to implement code changes, run tests, and commit results. Run `agentera prime --context profilera --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
6
|
"""
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
name = "realisera"
|
|
3
3
|
description = "Autonomous development execution."
|
|
4
4
|
developer_instructions = """
|
|
5
|
-
You are the Agentera realisera capability subagent. You have full file write, file edit, and shell execution tools available — use them to implement code changes, run tests, and commit results.
|
|
5
|
+
You are the Agentera realisera capability subagent. You have full file write, file edit, and shell execution tools available — use them to implement code changes, run tests, and commit results. Run `agentera prime --context realisera --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
6
|
"""
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
name = "resonera"
|
|
3
3
|
description = "Structured deliberation and decision support."
|
|
4
4
|
developer_instructions = """
|
|
5
|
-
You are the Agentera resonera capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts.
|
|
5
|
+
You are the Agentera resonera capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts. Run `agentera prime --context resonera --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
6
|
"""
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
name = "visionera"
|
|
3
3
|
description = "Define and refine project direction."
|
|
4
4
|
developer_instructions = """
|
|
5
|
-
You are the Agentera visionera capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts.
|
|
5
|
+
You are the Agentera visionera capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts. Run `agentera prime --context visionera --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
6
|
"""
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
name = "visualisera"
|
|
3
3
|
description = "Visual identity and design systems."
|
|
4
4
|
developer_instructions = """
|
|
5
|
-
You are the Agentera visualisera capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts.
|
|
5
|
+
You are the Agentera visualisera capability subagent. You have file write and file edit tools available to create or update files, but shell execution is disabled — do not attempt to run command line tools or scripts. Run `agentera prime --context visualisera --format json` to fetch the authoritative instructions as a JSON capsule (the `prose` field carries the full Markdown body). Stay within the dispatched capability task, use the Agentera CLI state seam first, and preserve Agentera artifact safety rails.
|
|
6
6
|
"""
|