agentera 0.0.0 → 3.0.0-dev.0
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 +6 -45
- package/bundle/.agentera-npx-bundle.json +4 -0
- package/bundle/references/adapters/cursor.md +213 -0
- package/bundle/references/adapters/opencode.md +530 -0
- package/bundle/references/adapters/package-manifest-interface-model.yaml +337 -0
- package/bundle/references/adapters/package-registry.yaml +247 -0
- package/bundle/references/adapters/package-surface-characterization.md +48 -0
- package/bundle/references/adapters/runtime-adapter-characterization.md +79 -0
- package/bundle/references/adapters/runtime-adapter-interface-model.yaml +200 -0
- package/bundle/references/adapters/runtime-adapter-registry.yaml +548 -0
- package/bundle/references/adapters/runtime-feature-parity.md +189 -0
- package/bundle/references/analysis/benchmark.md +267 -0
- package/bundle/references/analysis/startup-measurement-contract.yaml +424 -0
- package/bundle/references/artifacts/artifact-registry-interface-model.yaml +288 -0
- package/bundle/references/cli/agent-ready-state-contract.yaml +950 -0
- package/bundle/references/cli/app-lifecycle-vocabulary.yaml +233 -0
- package/bundle/references/cli/audience-namespace-cli-migration.yaml +355 -0
- package/bundle/references/cli/bundle-skill-vocabulary.yaml +278 -0
- package/bundle/references/cli/capability-instruction-contract.yaml +123 -0
- package/bundle/references/cli/capability-tool-classification.yaml +53 -0
- package/bundle/references/cli/routing-execution-vocabulary.yaml +281 -0
- package/bundle/references/cli/update-channels.yaml +120 -0
- package/bundle/references/cli/vocabulary-index.yaml +160 -0
- package/bundle/references/cli/vocabulary.md +562 -0
- package/bundle/references/meta/documentation-inventory.md +43 -0
- package/bundle/references/v1-section-mapping.md +47 -0
- package/bundle/registry.json +39 -0
- package/bundle/skills/agentera/.claude-plugin/plugin.json +27 -0
- package/bundle/skills/agentera/SKILL.md +470 -0
- package/bundle/skills/agentera/agents/dokumentera.toml +6 -0
- package/bundle/skills/agentera/agents/hej.toml +6 -0
- package/bundle/skills/agentera/agents/inspektera.toml +6 -0
- package/bundle/skills/agentera/agents/inspirera.toml +6 -0
- package/bundle/skills/agentera/agents/optimera.toml +6 -0
- package/bundle/skills/agentera/agents/orkestrera.toml +6 -0
- package/bundle/skills/agentera/agents/planera.toml +6 -0
- package/bundle/skills/agentera/agents/profilera.toml +6 -0
- package/bundle/skills/agentera/agents/realisera.toml +6 -0
- package/bundle/skills/agentera/agents/resonera.toml +6 -0
- package/bundle/skills/agentera/agents/visionera.toml +6 -0
- package/bundle/skills/agentera/agents/visualisera.toml +6 -0
- package/bundle/skills/agentera/capabilities/dokumentera/instructions.md +428 -0
- package/bundle/skills/agentera/capabilities/dokumentera/schemas/artifacts.yaml +73 -0
- package/bundle/skills/agentera/capabilities/dokumentera/schemas/exit.yaml +35 -0
- package/bundle/skills/agentera/capabilities/dokumentera/schemas/triggers.yaml +35 -0
- package/bundle/skills/agentera/capabilities/dokumentera/schemas/validation.yaml +139 -0
- package/bundle/skills/agentera/capabilities/hej/instructions.md +331 -0
- package/bundle/skills/agentera/capabilities/hej/schemas/artifacts.yaml +69 -0
- package/bundle/skills/agentera/capabilities/hej/schemas/exit.yaml +32 -0
- package/bundle/skills/agentera/capabilities/hej/schemas/triggers.yaml +58 -0
- package/bundle/skills/agentera/capabilities/hej/schemas/validation.yaml +55 -0
- package/bundle/skills/agentera/capabilities/inspektera/instructions.md +514 -0
- package/bundle/skills/agentera/capabilities/inspektera/schemas/artifacts.yaml +76 -0
- package/bundle/skills/agentera/capabilities/inspektera/schemas/exit.yaml +36 -0
- package/bundle/skills/agentera/capabilities/inspektera/schemas/triggers.yaml +38 -0
- package/bundle/skills/agentera/capabilities/inspektera/schemas/validation.yaml +113 -0
- package/bundle/skills/agentera/capabilities/inspirera/instructions.md +280 -0
- package/bundle/skills/agentera/capabilities/inspirera/schemas/artifacts.yaml +24 -0
- package/bundle/skills/agentera/capabilities/inspirera/schemas/exit.yaml +33 -0
- package/bundle/skills/agentera/capabilities/inspirera/schemas/triggers.yaml +34 -0
- package/bundle/skills/agentera/capabilities/inspirera/schemas/validation.yaml +58 -0
- package/bundle/skills/agentera/capabilities/optimera/instructions.md +437 -0
- package/bundle/skills/agentera/capabilities/optimera/schemas/artifacts.yaml +69 -0
- package/bundle/skills/agentera/capabilities/optimera/schemas/exit.yaml +35 -0
- package/bundle/skills/agentera/capabilities/optimera/schemas/triggers.yaml +39 -0
- package/bundle/skills/agentera/capabilities/optimera/schemas/validation.yaml +91 -0
- package/bundle/skills/agentera/capabilities/orkestrera/instructions.md +433 -0
- package/bundle/skills/agentera/capabilities/orkestrera/schemas/artifacts.yaml +64 -0
- package/bundle/skills/agentera/capabilities/orkestrera/schemas/exit.yaml +34 -0
- package/bundle/skills/agentera/capabilities/orkestrera/schemas/triggers.yaml +42 -0
- package/bundle/skills/agentera/capabilities/orkestrera/schemas/validation.yaml +107 -0
- package/bundle/skills/agentera/capabilities/planera/instructions.md +368 -0
- package/bundle/skills/agentera/capabilities/planera/schemas/artifacts.yaml +62 -0
- package/bundle/skills/agentera/capabilities/planera/schemas/exit.yaml +33 -0
- package/bundle/skills/agentera/capabilities/planera/schemas/triggers.yaml +34 -0
- package/bundle/skills/agentera/capabilities/planera/schemas/validation.yaml +61 -0
- package/bundle/skills/agentera/capabilities/profilera/instructions.md +419 -0
- package/bundle/skills/agentera/capabilities/profilera/schemas/artifacts.yaml +18 -0
- package/bundle/skills/agentera/capabilities/profilera/schemas/exit.yaml +34 -0
- package/bundle/skills/agentera/capabilities/profilera/schemas/triggers.yaml +45 -0
- package/bundle/skills/agentera/capabilities/profilera/schemas/validation.yaml +57 -0
- package/bundle/skills/agentera/capabilities/realisera/instructions.md +403 -0
- package/bundle/skills/agentera/capabilities/realisera/schemas/artifacts.yaml +80 -0
- package/bundle/skills/agentera/capabilities/realisera/schemas/exit.yaml +35 -0
- package/bundle/skills/agentera/capabilities/realisera/schemas/triggers.yaml +39 -0
- package/bundle/skills/agentera/capabilities/realisera/schemas/validation.yaml +110 -0
- package/bundle/skills/agentera/capabilities/resonera/instructions.md +329 -0
- package/bundle/skills/agentera/capabilities/resonera/schemas/artifacts.yaml +47 -0
- package/bundle/skills/agentera/capabilities/resonera/schemas/exit.yaml +35 -0
- package/bundle/skills/agentera/capabilities/resonera/schemas/triggers.yaml +46 -0
- package/bundle/skills/agentera/capabilities/resonera/schemas/validation.yaml +77 -0
- package/bundle/skills/agentera/capabilities/visionera/instructions.md +309 -0
- package/bundle/skills/agentera/capabilities/visionera/schemas/artifacts.yaml +57 -0
- package/bundle/skills/agentera/capabilities/visionera/schemas/exit.yaml +35 -0
- package/bundle/skills/agentera/capabilities/visionera/schemas/triggers.yaml +41 -0
- package/bundle/skills/agentera/capabilities/visionera/schemas/validation.yaml +74 -0
- package/bundle/skills/agentera/capabilities/visualisera/instructions.md +400 -0
- package/bundle/skills/agentera/capabilities/visualisera/schemas/artifacts.yaml +44 -0
- package/bundle/skills/agentera/capabilities/visualisera/schemas/exit.yaml +34 -0
- package/bundle/skills/agentera/capabilities/visualisera/schemas/triggers.yaml +33 -0
- package/bundle/skills/agentera/capabilities/visualisera/schemas/validation.yaml +80 -0
- package/bundle/skills/agentera/capability_schema_contract.yaml +385 -0
- package/bundle/skills/agentera/protocol.yaml +463 -0
- package/bundle/skills/agentera/references/contract.md +1039 -0
- package/bundle/skills/agentera/schemas/artifacts/changelog.yaml +60 -0
- package/bundle/skills/agentera/schemas/artifacts/decisions.yaml +461 -0
- package/bundle/skills/agentera/schemas/artifacts/design.yaml +55 -0
- package/bundle/skills/agentera/schemas/artifacts/docs.yaml +402 -0
- package/bundle/skills/agentera/schemas/artifacts/experiments.yaml +373 -0
- package/bundle/skills/agentera/schemas/artifacts/health.yaml +484 -0
- package/bundle/skills/agentera/schemas/artifacts/objective.yaml +399 -0
- package/bundle/skills/agentera/schemas/artifacts/plan.yaml +342 -0
- package/bundle/skills/agentera/schemas/artifacts/progress.yaml +325 -0
- package/bundle/skills/agentera/schemas/artifacts/todo.yaml +110 -0
- package/bundle/skills/agentera/schemas/artifacts/vision.yaml +262 -0
- package/bundle/skills/hej/.claude-plugin/plugin.json +6 -0
- package/bundle/skills/hej/SKILL.md +69 -0
- package/bundle/skills/hej/agents/hej.toml +11 -0
- package/bundle/skills/hej/agents/openai.yaml +8 -0
- package/dist/analytics/extractCorpus.js +1791 -0
- package/dist/analytics/extractCorpus.js.map +1 -0
- package/dist/analytics/usageStats.js +487 -0
- package/dist/analytics/usageStats.js.map +1 -0
- package/dist/bin/agentera.js +4 -0
- package/dist/bin/agentera.js.map +1 -0
- package/dist/cli/appContext.js +226 -0
- package/dist/cli/appContext.js.map +1 -0
- package/dist/cli/argvalidate.js +41 -0
- package/dist/cli/argvalidate.js.map +1 -0
- package/dist/cli/capabilityContext.js +2421 -0
- package/dist/cli/capabilityContext.js.map +1 -0
- package/dist/cli/commands/backfill.js +84 -0
- package/dist/cli/commands/backfill.js.map +1 -0
- package/dist/cli/commands/capability.js +44 -0
- package/dist/cli/commands/capability.js.map +1 -0
- package/dist/cli/commands/compact.js +148 -0
- package/dist/cli/commands/compact.js.map +1 -0
- package/dist/cli/commands/doctor.js +180 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/lint.js +179 -0
- package/dist/cli/commands/lint.js.map +1 -0
- package/dist/cli/commands/prime.js +545 -0
- package/dist/cli/commands/prime.js.map +1 -0
- package/dist/cli/commands/query.js +346 -0
- package/dist/cli/commands/query.js.map +1 -0
- package/dist/cli/commands/report.js +210 -0
- package/dist/cli/commands/report.js.map +1 -0
- package/dist/cli/commands/schema.js +306 -0
- package/dist/cli/commands/schema.js.map +1 -0
- package/dist/cli/commands/state.js +1012 -0
- package/dist/cli/commands/state.js.map +1 -0
- package/dist/cli/commands/upgrade.js +49 -0
- package/dist/cli/commands/upgrade.js.map +1 -0
- package/dist/cli/commands/validate.js +519 -0
- package/dist/cli/commands/validate.js.map +1 -0
- package/dist/cli/commands/verify.js +204 -0
- package/dist/cli/commands/verify.js.map +1 -0
- package/dist/cli/dispatch.js +962 -0
- package/dist/cli/dispatch.js.map +1 -0
- package/dist/cli/orientation.js +595 -0
- package/dist/cli/orientation.js.map +1 -0
- package/dist/cli/prime-blob.js +3 -0
- package/dist/cli/prime-blob.js.map +1 -0
- package/dist/cli/stateQuery.js +292 -0
- package/dist/cli/stateQuery.js.map +1 -0
- package/dist/cli/structured.js +18 -0
- package/dist/cli/structured.js.map +1 -0
- package/dist/core/difflib.js +274 -0
- package/dist/core/difflib.js.map +1 -0
- package/dist/core/git.js +43 -0
- package/dist/core/git.js.map +1 -0
- package/dist/core/paths.js +50 -0
- package/dist/core/paths.js.map +1 -0
- package/dist/core/pyjson.js +101 -0
- package/dist/core/pyjson.js.map +1 -0
- package/dist/core/sourceRoot.js +72 -0
- package/dist/core/sourceRoot.js.map +1 -0
- package/dist/core/toml.js +11 -0
- package/dist/core/toml.js.map +1 -0
- package/dist/core/yaml.js +25 -0
- package/dist/core/yaml.js.map +1 -0
- package/dist/eval/evalSkills.js +258 -0
- package/dist/eval/evalSkills.js.map +1 -0
- package/dist/eval/semanticEval.js +148 -0
- package/dist/eval/semanticEval.js.map +1 -0
- package/dist/eval/semanticFixtures.js +227 -0
- package/dist/eval/semanticFixtures.js.map +1 -0
- package/dist/hooks/common.js +160 -0
- package/dist/hooks/common.js.map +1 -0
- package/dist/hooks/compaction.js +935 -0
- package/dist/hooks/compaction.js.map +1 -0
- package/dist/hooks/cursorPreToolUse.js +19 -0
- package/dist/hooks/cursorPreToolUse.js.map +1 -0
- package/dist/hooks/cursorSessionStart.js +71 -0
- package/dist/hooks/cursorSessionStart.js.map +1 -0
- package/dist/hooks/sessionStart.js +209 -0
- package/dist/hooks/sessionStart.js.map +1 -0
- package/dist/hooks/sessionStop.js +212 -0
- package/dist/hooks/sessionStop.js.map +1 -0
- package/dist/hooks/validateArtifact.js +933 -0
- package/dist/hooks/validateArtifact.js.map +1 -0
- package/dist/registries/artifactRegistry.js +206 -0
- package/dist/registries/artifactRegistry.js.map +1 -0
- package/dist/registries/capabilityContract.js +310 -0
- package/dist/registries/capabilityContract.js.map +1 -0
- package/dist/registries/packageRegistry.js +641 -0
- package/dist/registries/packageRegistry.js.map +1 -0
- package/dist/registries/runtimeAdapterRegistry.js +315 -0
- package/dist/registries/runtimeAdapterRegistry.js.map +1 -0
- package/dist/setup/codex.js +1052 -0
- package/dist/setup/codex.js.map +1 -0
- package/dist/setup/copilot.js +227 -0
- package/dist/setup/copilot.js.map +1 -0
- package/dist/setup/cursor.js +127 -0
- package/dist/setup/cursor.js.map +1 -0
- package/dist/setup/doctor.js +1269 -0
- package/dist/setup/doctor.js.map +1 -0
- package/dist/state/installRoot.js +279 -0
- package/dist/state/installRoot.js.map +1 -0
- package/dist/state/progressCommit.js +289 -0
- package/dist/state/progressCommit.js.map +1 -0
- package/dist/state/startupAnalysis.js +1953 -0
- package/dist/state/startupAnalysis.js.map +1 -0
- package/dist/upgrade/appModel.js +189 -0
- package/dist/upgrade/appModel.js.map +1 -0
- package/dist/upgrade/channels.js +197 -0
- package/dist/upgrade/channels.js.map +1 -0
- package/dist/upgrade/compatibility.js +197 -0
- package/dist/upgrade/compatibility.js.map +1 -0
- package/dist/upgrade/doctor.js +368 -0
- package/dist/upgrade/doctor.js.map +1 -0
- package/dist/upgrade/migrateArtifactsV2ToV3.js +412 -0
- package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -0
- package/dist/upgrade/upgradeCommands.js +40 -0
- package/dist/upgrade/upgradeCommands.js.map +1 -0
- package/dist/upgrade/upgradeOrchestrator.js +280 -0
- package/dist/upgrade/upgradeOrchestrator.js.map +1 -0
- package/dist/validate/appHomeContract.js +150 -0
- package/dist/validate/appHomeContract.js.map +1 -0
- package/dist/validate/capability.js +412 -0
- package/dist/validate/capability.js.map +1 -0
- package/dist/validate/crossCapability.js +145 -0
- package/dist/validate/crossCapability.js.map +1 -0
- package/dist/validate/lifecycleAdapters.js +772 -0
- package/dist/validate/lifecycleAdapters.js.map +1 -0
- package/dist/validate/selfAudit.js +107 -0
- package/dist/validate/selfAudit.js.map +1 -0
- package/package.json +28 -8
- package/LICENSE +0 -201
- package/bin/agentera.mjs +0 -50
- package/lib/exec.mjs +0 -116
- package/lib/resolve.mjs +0 -129
|
@@ -0,0 +1,562 @@
|
|
|
1
|
+
# Agentera vocabulary
|
|
2
|
+
|
|
3
|
+
This document indexes the shared grammar Agentera uses across capability prose,
|
|
4
|
+
schemas, CLI output, tests, project artifacts, and human-facing docs. Use it
|
|
5
|
+
when writing Agentera docs, schemas, fixtures, command output, or capability
|
|
6
|
+
instructions.
|
|
7
|
+
|
|
8
|
+
Scope: common terms and recurring forms only. Capability-specific one-offs are
|
|
9
|
+
included when they shape cross-suite usage.
|
|
10
|
+
|
|
11
|
+
## Authority order
|
|
12
|
+
|
|
13
|
+
| Authority | Owns |
|
|
14
|
+
| --- | --- |
|
|
15
|
+
| `references/cli/vocabulary-index.yaml` | Authority order, normalization rules, plain-language layer rules, and Decision 44 replacement boundaries. |
|
|
16
|
+
| `skills/agentera/protocol.yaml` | Confidence, severity, decision labels, exit signals, visual tokens, glyphs, and phases. |
|
|
17
|
+
| `skills/agentera/capability_schema_contract.yaml` | Capability schema structure, required groups, priorities, and primitive-reference fields. |
|
|
18
|
+
| `skills/agentera/schemas/artifacts/*.yaml` | Artifact field grammar, status values, path contracts, and validation rules. |
|
|
19
|
+
| `references/artifacts/artifact-registry-interface-model.yaml` | Artifact identity facts: `artifact_id`, display name, default path, producers, consumers, type, scope. |
|
|
20
|
+
| `references/cli/app-lifecycle-vocabulary.yaml` | App lifecycle canonical statuses, deprecated aliases, operation verbs, status concepts, and consumer ownership boundaries. |
|
|
21
|
+
| `references/cli/update-channels.yaml` | Stable and development update channels, dist-tag/git resolution, default channel, and override keys. |
|
|
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.md` authority, and implemented `first_invocation_read` CLI/schema discoverability. |
|
|
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
|
+
| `skills/agentera/SKILL.md` | Agentera routing entry point, routing model, CLI-first state access, installed-app status checks, and safety rails. |
|
|
26
|
+
| `skills/agentera/capabilities/*/instructions.md` | Capability behavior, workflow grammar, step markers, and cross-capability boundaries. |
|
|
27
|
+
| `the agentera CLI` and `packages/cli/src/upgrade (doctor/upgrade)` | CLI-visible command labels, upgrade output, and doctor diagnostics. |
|
|
28
|
+
| `README.md`, `UPGRADE.md`, `DESIGN.md`, `.agentera/*.yaml` | User-facing phrasing, design vocabulary, and current project-state examples. |
|
|
29
|
+
|
|
30
|
+
## Normalization rules
|
|
31
|
+
|
|
32
|
+
`references/cli/vocabulary-index.yaml` owns the normalization rule table and
|
|
33
|
+
plain-language layer rules. Do not duplicate those rows here.
|
|
34
|
+
|
|
35
|
+
Read `vocabulary-index.yaml` `normalization_rules` and `plain_language` before
|
|
36
|
+
editing docs, capability prose, diagnostics, tests, or labels.
|
|
37
|
+
|
|
38
|
+
## Plain-language rule
|
|
39
|
+
|
|
40
|
+
Brand the worldview. Boring-name the work.
|
|
41
|
+
|
|
42
|
+
Use Agentera-specific terms when they name a protocol concept, preserve
|
|
43
|
+
schema-aligned precision, or teach the product worldview. Prefer plain software
|
|
44
|
+
terms for user-facing operations, diagnostics, setup, migration, and errors.
|
|
45
|
+
|
|
46
|
+
When both are useful, lead with the plain phrase and introduce the Agentera term
|
|
47
|
+
second. See `vocabulary-index.yaml` `plain_language.lead_with_plain_phrase` for
|
|
48
|
+
examples. Diagnostics should state object, state, cause, and fix.
|
|
49
|
+
|
|
50
|
+
## Product grammar
|
|
51
|
+
|
|
52
|
+
| Term | Definition | Common sources |
|
|
53
|
+
| --- | --- | --- |
|
|
54
|
+
| Agentera | The open protocol for turning AI agents into engineering teams through shared project state, roles, decisions, and verification. | `README.md`, `.agentera/vision.yaml`, `skills/agentera/SKILL.md` |
|
|
55
|
+
| Agentera v2 | The current architecture: one Agentera skill, one `/agentera` entry point, twelve capabilities, YAML project state, and CLI-first access. | `README.md`, `UPGRADE.md`, `.agentera/decisions.yaml` |
|
|
56
|
+
| Agentera skill | The runtime-loaded Agentera skill at `skills/agentera/`. It contains the routing entry and twelve capabilities. | `skills/agentera/SKILL.md` |
|
|
57
|
+
| Capability | A routed behavioral unit inside the Agentera skill, with `instructions.md` plus `triggers.yaml`, `artifacts.yaml`, `validation.yaml`, and `exit.yaml`. | `AGENTS.md`, `skills/agentera/capabilities/*` |
|
|
58
|
+
| Shared protocol | The primitive vocabulary in `protocol.yaml`: confidence, severity, decision labels, exits, visual tokens, glyphs, and phases. | `skills/agentera/protocol.yaml` |
|
|
59
|
+
| Capability schema contract | The executable contract for capability schema groups, stable IDs, priorities, deprecations, and primitive references. | `skills/agentera/capability_schema_contract.yaml` |
|
|
60
|
+
| Project state | Structured files that preserve intent, decisions, plans, progress, health, docs, design, and session continuity. | `README.md`, `.agentera/docs.yaml` |
|
|
61
|
+
| Project history | Durable history kept in files so future agents do not reconstruct history from chat residue. | `README.md`, `.agentera/progress.yaml` |
|
|
62
|
+
| Saved project context | Project artifacts plus global profile data that let future sessions reuse context and preferences. | `README.md`, `profilera` prose |
|
|
63
|
+
| Sharp colleague | Agentera's voice: direct, opinionated, evidence-backed, warm enough to collaborate, and willing to push back. | `.agentera/vision.yaml`, `DESIGN.md`, capability prose |
|
|
64
|
+
| Docs-first workflow | Document intended behavior before tests and code; docs define intent, tests enforce it, code implements it. | `dokumentera`, `planera`, `realisera` prose |
|
|
65
|
+
|
|
66
|
+
## Capability grammar
|
|
67
|
+
|
|
68
|
+
| Glyph | Capability | Role |
|
|
69
|
+
| --- | --- | --- |
|
|
70
|
+
| `⌂` | hej | Orientation, routing, dashboard briefing, and next best action. |
|
|
71
|
+
| `⛥` | visionera | Project direction, north star, principles, identity, and strategic tensions. |
|
|
72
|
+
| `❈` | resonera | Structured deliberation, tradeoff pressure, and decision thinking. |
|
|
73
|
+
| `⬚` | inspirera | External pattern analysis and useful cross-pollination. |
|
|
74
|
+
| `≡` | planera | Planning with behavioral acceptance criteria; owns WHAT and WHY. |
|
|
75
|
+
| `⧉` | realisera | Verified autonomous development cycle; owns HOW. |
|
|
76
|
+
| `⎘` | optimera | Metric-driven optimization through one experiment per invocation. |
|
|
77
|
+
| `⛶` | inspektera | Codebase health audit, architecture review, and artifact current-state review. |
|
|
78
|
+
| `▤` | dokumentera | Documentation layer; owns docs-first workflow guidance. |
|
|
79
|
+
| `♾` | profilera | Reusable decision profile and preference extraction. |
|
|
80
|
+
| `◰` | visualisera | Visual identity, design tokens, and design-system language. |
|
|
81
|
+
| `⎈` | orkestrera | Multi-cycle orchestration; dispatches work and evaluates completion. |
|
|
82
|
+
|
|
83
|
+
Capability names use Swedish-style `-era` verb forms. The name is the action:
|
|
84
|
+
`planera` plans, `realisera` realizes, `optimera` optimizes.
|
|
85
|
+
|
|
86
|
+
### Capability instruction contract
|
|
87
|
+
|
|
88
|
+
The machine-readable authority is
|
|
89
|
+
`references/cli/capability-instruction-contract.yaml`; it owns Decision 57's
|
|
90
|
+
instruction-file boundary, including the canonical `instructions.md` file,
|
|
91
|
+
legacy `prose.md` compatibility boundaries, implemented `first_invocation_read` values,
|
|
92
|
+
full-read obligations, compact-startup exceptions, and unsupported runtime
|
|
93
|
+
enforcement states.
|
|
94
|
+
|
|
95
|
+
Use this prose as guidance only: the default is that initial capability invocation
|
|
96
|
+
reads `instructions.md` in full unless an explicit compact-startup exception is
|
|
97
|
+
declared. Today, capability files and runtime descriptors use `instructions.md`,
|
|
98
|
+
validators require `instructions.md`, and `agentera hej --format json
|
|
99
|
+
--capability-context <name>` emits `source_contract.capability_context.first_invocation_read`.
|
|
100
|
+
|
|
101
|
+
Do not replace this with a parallel Markdown table of read modes or migration
|
|
102
|
+
surfaces. Update the YAML authority first, then keep this section as the short
|
|
103
|
+
human-facing boundary. Runtime first-invocation read behavior and broad
|
|
104
|
+
required-read validation regression remain separate follow-up work.
|
|
105
|
+
|
|
106
|
+
## Invocation and routing grammar
|
|
107
|
+
|
|
108
|
+
| Term | Definition |
|
|
109
|
+
| --- | --- |
|
|
110
|
+
| CLI-first state access | Read project state through `agentera` top-level commands before raw artifact reads. |
|
|
111
|
+
| Top-level state commands | The canonical namespace command is `state` followed by a subcommand (`plan`, `progress`, `health`, `todo`, `decisions`, `docs`, `objective`, `experiments`, `query`). Legacy top-level aliases remain during migration; see [audience-namespace-cli-migration.yaml](references/cli/audience-namespace-cli-migration.yaml). |
|
|
112
|
+
| Artifact-backed briefing | Any briefing or routing decision backed by Agentera project artifacts. It must use CLI-first state access. |
|
|
113
|
+
| Bare `/agentera` | Invocation without a specific request. It delegates to `hej` and renders the Hej dashboard from one composite source command. |
|
|
114
|
+
| Hej dashboard | User-facing project briefing with logo, status metrics, a narrative read inside `status`, attention, next action, and `⌂ hej · <status>`. Issues summary uses `critical · degraded · annoying` only. |
|
|
115
|
+
| `agentera hej` | Compact CLI source data for the caller-rendered dashboard. It is not the dashboard itself. |
|
|
116
|
+
| Direct route | A canonical capability name with optional following topic text, `/agentera <capability-name>` with optional topic text, or `/agentera <primary-alias>` routes directly to that capability and bypasses natural-language matching. |
|
|
117
|
+
| Canonical capability route | A Swedish capability name such as `resonera`, `planera`, or `orkestrera`, optionally followed by topic text, plus the slash form `/agentera <capability-name>` with optional topic text. Canonical names remain protocol identity. |
|
|
118
|
+
| Primary route alias | The one plain `/agentera <alias>` direct route for a capability, owned by `ROUTE_ALIASES.primary_aliases`. Each canonical capability has exactly one primary alias. |
|
|
119
|
+
| Secondary request wording | Natural-language phrases in capability trigger schemas, such as `deliberate`, `brainstorm`, `rubber duck`, `brief`, and `what's next`. They route through trigger matching and are not primary aliases. |
|
|
120
|
+
| Natural-language trigger | A phrase in `schemas/triggers.yaml` that maps a request to a capability. |
|
|
121
|
+
| Trigger priority | `high`, `medium`, or `low`; owned by the schema contract. |
|
|
122
|
+
| High-confidence match | A natural-language request with enough trigger evidence to route without asking. |
|
|
123
|
+
| Borderline match | A request with competing plausible routes. Agentera asks for disambiguation. |
|
|
124
|
+
| Fallback to hej | No sufficient match routes to hej for orientation. |
|
|
125
|
+
| Concrete next action | A route suggestion tied to an object such as `PLAN Task N`, `TODO`, `OBJECTIVE`, or `VISION refresh`. |
|
|
126
|
+
| Suggest, don't force | Hej recommends the next capability but waits for user confirmation. |
|
|
127
|
+
| Capability handoff label | A recommendation from one capability to another. Use glyph plus canonical name, such as `⧉ realisera` or `≡ planera`, not standalone slash-capability names. SG priority codes are internal protocol references and are not user-facing handoff labels. |
|
|
128
|
+
| Explicit route documentation | User-facing examples that teach the actual entry route. Use `/agentera <alias>` such as `/agentera build`; do not present aliases as CLI commands. |
|
|
129
|
+
| Runtime question tool | Host-native bounded-choice prompt. Current examples: Claude Code `AskUserQuestion`, Copilot `ask_user`, Codex `request_user_input`, and OpenCode `question`. These are guidance examples, not schema authority. |
|
|
130
|
+
| Question-tool gating | Use a native question tool only for at least two meaningful non-terminal next actions or consequential Proceed/Cancel; `Done` and custom/free-form answers do not count as alternatives. Initial Agentera/hej briefs stay free-form unless bounded choices were requested or the suggested next step is a state-changing Proceed/Cancel handoff. A single non-mutating suggested handoff may use a free-form prompt, but a single state-changing handoff uses native Proceed/Cancel confirmation. State-changing means the proposed next step may write artifacts, edit code, run optimization or orchestration cycles, apply migrations, refresh app/runtime state, or otherwise mutate project/runtime state. Apply the behavior rule first, with examples such as ⧉ realisera, ≡ planera when creating or updating plans, ▤ dokumentera when writing docs, ⎘ optimera when running or applying optimization cycles, and ⎈ orkestrera when dispatching cycles. This dispatcher rule governs hej and capability handoff prompts; invoked capability prose can impose stricter question-tool requirements. |
|
|
131
|
+
| Handoff confirmation | Clear free-form acceptance of the named single suggestion confirms invocation. Selecting a downstream capability option in a bounded prompt also confirms invocation; selecting `Done` stops without routing. Ambiguous replies get one clarifying question. |
|
|
132
|
+
| Route | Direct user invocation by canonical capability name, primary alias, or slash route. A route is already consent to invoke the capability and does not need an extra handoff confirmation. |
|
|
133
|
+
| Suggest | Recommend a downstream capability and wait for confirmation. |
|
|
134
|
+
| Delegate | Orkestrera assigns approved plan work to a worker capability during an explicitly orchestrated flow. |
|
|
135
|
+
| Spawn | Realisera or Optimera launches an isolated runtime worker through the host subagent mechanism. |
|
|
136
|
+
| Subagent mechanism | Runtime support for worker execution through Claude Code, OpenCode, Codex CLI, Copilot CLI, Cursor IDE, or another host-native worker surface. |
|
|
137
|
+
| Legacy bridge | Temporary v1 entry points, especially `/hej`, that guide users to `/agentera` and the v2 upgrade path. |
|
|
138
|
+
|
|
139
|
+
CLI-visible `agentera hej` labels are source labels. Preserve them in CLI tests
|
|
140
|
+
and parsing code, but transform them before presenting a user dashboard:
|
|
141
|
+
`mode:`, `profile:`, `health:`, `issues:`, `plan:`, `objective:`,
|
|
142
|
+
`attention:`, `next_action:`, and `source_contract:`.
|
|
143
|
+
|
|
144
|
+
Primary route aliases are slash-route vocabulary, not CLI command vocabulary:
|
|
145
|
+
|
|
146
|
+
| Canonical capability | Primary route alias |
|
|
147
|
+
| --- | --- |
|
|
148
|
+
| `hej` | `/agentera status` |
|
|
149
|
+
| `visionera` | `/agentera vision` |
|
|
150
|
+
| `resonera` | `/agentera discuss` |
|
|
151
|
+
| `inspirera` | `/agentera research` |
|
|
152
|
+
| `planera` | `/agentera plan` |
|
|
153
|
+
| `realisera` | `/agentera build` |
|
|
154
|
+
| `optimera` | `/agentera optimize` |
|
|
155
|
+
| `inspektera` | `/agentera audit` |
|
|
156
|
+
| `dokumentera` | `/agentera document` |
|
|
157
|
+
| `profilera` | `/agentera profile` |
|
|
158
|
+
| `visualisera` | `/agentera design` |
|
|
159
|
+
| `orkestrera` | `/agentera orchestrate` |
|
|
160
|
+
|
|
161
|
+
Do not teach primary aliases as CLI state commands. The CLI state surface
|
|
162
|
+
remains `hej`, `plan`, `progress`, `health`, `todo`, `decisions`, `docs`,
|
|
163
|
+
`objective`, `experiments`, and advanced `query`.
|
|
164
|
+
|
|
165
|
+
When capability prose recommends another capability, use the handoff label
|
|
166
|
+
grammar (`<glyph> <capability>`). Keep slash forms only when documenting the
|
|
167
|
+
entry route (`/agentera <alias>`) or preserving clearly historical evidence.
|
|
168
|
+
|
|
169
|
+
### Routing and execution vocabulary
|
|
170
|
+
|
|
171
|
+
The machine-readable authority is
|
|
172
|
+
`references/cli/routing-execution-vocabulary.yaml`; it owns classification of
|
|
173
|
+
routing and execution terms into canonical concepts, compatibility identifiers,
|
|
174
|
+
code identifiers, historical records, fixtures, path-like references, generic
|
|
175
|
+
plain language, and ambiguous current prose.
|
|
176
|
+
|
|
177
|
+
Use this prose as guidance only: request-to-capability routing uses `Agentera router`
|
|
178
|
+
or routing language, next-action recommendations `suggest`, Orkestrera
|
|
179
|
+
task assignment `delegate`, Realisera/Optimera worker launch `spawn`, runtime
|
|
180
|
+
support `subagent mechanism`, and worker safety `pre-spawn Git commit`.
|
|
181
|
+
Preserve shipped identifiers and concrete code/path evidence such as
|
|
182
|
+
`subagent_dispatch`, historical `pre-dispatch commit` records, fixture names,
|
|
183
|
+
and archived plans unless an explicit compatibility migration is in scope.
|
|
184
|
+
|
|
185
|
+
Do not replace this with a parallel Markdown table of preferred and forbidden
|
|
186
|
+
terms. Update the YAML authority first, then keep this section as the short
|
|
187
|
+
human-facing boundary. The broader current-prose replacement and repository-wide
|
|
188
|
+
ambiguous-term sweep remain separate follow-up work.
|
|
189
|
+
|
|
190
|
+
## Artifact grammar
|
|
191
|
+
|
|
192
|
+
| Term | Definition |
|
|
193
|
+
| --- | --- |
|
|
194
|
+
| Artifact | A project or agent state file owned by one or more capabilities. |
|
|
195
|
+
| Human-facing artifact | A root-level Markdown artifact intended for people, such as `TODO.md`, `CHANGELOG.md`, or `DESIGN.md`. |
|
|
196
|
+
| Agent-facing artifact | A structured YAML artifact under `.agentera/`, such as `.agentera/progress.yaml`. |
|
|
197
|
+
| Global artifact | A user-level artifact outside a project, such as `PROFILE.md` or `USAGE.md`. |
|
|
198
|
+
| Canonical artifact name | Display identifier such as `VISION.md`, `PROGRESS.md`, or `DOCS.md`; not always a literal path. |
|
|
199
|
+
| 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 canonical names to project-local paths and producers. |
|
|
201
|
+
| ArtifactRegistry | The registry interface model for artifact IDs, display names, default paths, producers, consumers, type, scope, and special cases. |
|
|
202
|
+
| `artifact_id` | Machine identifier such as `progress`, `health`, `docs`, or `objective`. |
|
|
203
|
+
| `display_name` | Human-readable canonical name, usually the v1-style Markdown name. |
|
|
204
|
+
| `default_path` | Registry-owned path used when no docs mapping overrides it. |
|
|
205
|
+
| `local_role` | Capability relationship to an artifact: `produces`, `consumes`, or `produces_and_consumes`. |
|
|
206
|
+
| Docs override boundary | `docs.yaml` may override paths for known display names; it must not redefine canonical identity facts. |
|
|
207
|
+
| Objective state | Optimera state under `.agentera/optimera/<objective-name>/`, including `objective.yaml`, `experiments.yaml`, and harness files. |
|
|
208
|
+
|
|
209
|
+
Canonical artifact IDs include `vision`, `decisions`, `plan`, `progress`,
|
|
210
|
+
`todo`, `health`, `docs`, `design`, `profile`, `objective`, `experiments`,
|
|
211
|
+
`changelog`, `session`, `plan_archive`, `optimera_harness`, and
|
|
212
|
+
`semantic_fixture`.
|
|
213
|
+
|
|
214
|
+
## Status, severity, confidence, and exits
|
|
215
|
+
|
|
216
|
+
### Exit signals
|
|
217
|
+
|
|
218
|
+
| Signal | Meaning | Use |
|
|
219
|
+
| --- | --- | --- |
|
|
220
|
+
| `complete` | The workflow finished successfully. | Normal completion. |
|
|
221
|
+
| `flagged` | Work completed with caveats the user should know. | List each concern. |
|
|
222
|
+
| `stuck` | The capability cannot proceed. | State blocker and attempted work. |
|
|
223
|
+
| `waiting` | Required information is missing. | State exactly what is needed. |
|
|
224
|
+
|
|
225
|
+
Exit marker grammar is `<glyph> <capability> · <status>`, for example
|
|
226
|
+
`▤ dokumentera · complete`. For `flagged`, `stuck`, and `waiting`, add `▸`
|
|
227
|
+
details.
|
|
228
|
+
|
|
229
|
+
### Finding severity
|
|
230
|
+
|
|
231
|
+
| Value | Meaning |
|
|
232
|
+
| --- | --- |
|
|
233
|
+
| `critical` | Broken functionality, security issue, or data-loss risk. |
|
|
234
|
+
| `warning` | Works but poorly, confusingly, or in a fragile way. |
|
|
235
|
+
| `info` | Minor, cosmetic, or low-impact improvement. |
|
|
236
|
+
|
|
237
|
+
### Issue severity
|
|
238
|
+
|
|
239
|
+
| Value | Glyph | Meaning |
|
|
240
|
+
| --- | --- | --- |
|
|
241
|
+
| `critical` | `⇶` | Blocks progress or breaks functionality. |
|
|
242
|
+
| `degraded` | `⇉` | Works, but poorly, slowly, or fragily. |
|
|
243
|
+
| `normal` | `→` | Standard work. |
|
|
244
|
+
| `annoying` | `⇢` | Cosmetic or minor friction. |
|
|
245
|
+
|
|
246
|
+
### Confidence language
|
|
247
|
+
|
|
248
|
+
| Value | Meaning |
|
|
249
|
+
| --- | --- |
|
|
250
|
+
| `firm` | User is committed. Treat as a hard constraint. |
|
|
251
|
+
| `provisional` | Best current answer. Treat as a strong default. |
|
|
252
|
+
| `exploratory` | Direction to try. Treat as a suggestion. |
|
|
253
|
+
|
|
254
|
+
Numeric confidence is `0-100`: `90-100` verified, `70-89` strong,
|
|
255
|
+
`50-69` moderate, `30-49` weak, and `0-29` speculative.
|
|
256
|
+
|
|
257
|
+
### Phase language
|
|
258
|
+
|
|
259
|
+
| Phase | Primary capabilities | Meaning |
|
|
260
|
+
| --- | --- | --- |
|
|
261
|
+
| `envision` | visionera | Define north star and direction. |
|
|
262
|
+
| `deliberate` | resonera | Think through tradeoffs and decisions. |
|
|
263
|
+
| `plan` | planera | Break intent into scoped work. |
|
|
264
|
+
| `build` | realisera, optimera, dokumentera, visualisera | Produce code, docs, designs, or measured improvements. |
|
|
265
|
+
| `audit` | inspektera | Evaluate health, risks, and state alignment. |
|
|
266
|
+
|
|
267
|
+
Use `phase` for protocol-level lifecycle state. Use `step` for capability-local
|
|
268
|
+
progress markers such as `── step 2/6: verify`.
|
|
269
|
+
|
|
270
|
+
## Decision 44 replacement boundary
|
|
271
|
+
|
|
272
|
+
`references/cli/vocabulary-index.yaml` `decision_44` owns replacement terms,
|
|
273
|
+
allowed uses, protected surfaces, and the deprecated-term scan pattern used by
|
|
274
|
+
`tests/test_decision44_vocabulary.py`. Do not duplicate those tables here.
|
|
275
|
+
|
|
276
|
+
Read `vocabulary-index.yaml` before editing docs, capability prose, diagnostics,
|
|
277
|
+
tests, labels, or active state.
|
|
278
|
+
|
|
279
|
+
## Workflow grammar
|
|
280
|
+
|
|
281
|
+
| Form | Meaning | Example |
|
|
282
|
+
| --- | --- | --- |
|
|
283
|
+
| `Each invocation = one ...` | Capability scope limit. | `Each invocation = one experiment.` |
|
|
284
|
+
| `─── <glyph> <capability> · <context> ───` | Capability introduction marker. | `─── ⎘ optimera · measure ───` |
|
|
285
|
+
| `── step N/M: verb` | Capability-local progress marker. | `── step 4/8: implement` |
|
|
286
|
+
| `## Safety rails` plus `<critical>` | Non-negotiable constraints. | `NEVER push to remote repos without explicit instruction.` |
|
|
287
|
+
| `Detect mode/context/level` | Step 0 classification before the main workflow. | Dokumentera detects create, update, audit, or first-run survey. |
|
|
288
|
+
| Decision gate | Explicit condition-based branch before proceeding. | Optimera keep/discard decision. |
|
|
289
|
+
| Exit-early stop condition | Stop condition when work is already complete or unnecessary. | Docs current, no stale work found. |
|
|
290
|
+
| Behavioral verification gate | Realisera check that behavior was verified against real project state. | Tests, builds, or manual verification. |
|
|
291
|
+
| Pre-write self-audit | Prose check for verbosity mismatch, abstraction creep, and filler accumulation. | `agentera lint --artifact <ARTIFACT>` exposes the checks through the CLI. |
|
|
292
|
+
| Plan-completion sweep | Realisera cleanup when plan tasks finish. | Progress rollup, changelog, TODO, health cross-reference, archive. |
|
|
293
|
+
| Worker spawn | Isolated implementation or measurement by a worker through the host subagent mechanism. | Realisera and optimera can use it. |
|
|
294
|
+
| Stale-base awareness | Prevent workers from branching from old `origin/main` or stale HEAD. | Use pre-spawn Git commits before spawning workers. |
|
|
295
|
+
| Orchestration loop | Orkestrera loop: select, delegate, evaluate, resolve, log. | Orkestrera delegates; it does not implement. |
|
|
296
|
+
| Evidence audit | Check that recorded verification actually proves acceptance criteria. | Orkestrera and inspektera use this language. |
|
|
297
|
+
| Loop stop condition | Stop repeated failed cycles, tasks, or experiments. | Prevents endless retries. |
|
|
298
|
+
|
|
299
|
+
For user-facing operations, prefer plain aliases when the branded phrase does
|
|
300
|
+
not add precision:
|
|
301
|
+
|
|
302
|
+
| Internal or branded phrase | User-facing phrase |
|
|
303
|
+
| --- | --- |
|
|
304
|
+
| Reality Verification Gate | behavioral verification gate |
|
|
305
|
+
| Conductor protocol | orchestration loop |
|
|
306
|
+
| Evidence audit | verification review |
|
|
307
|
+
| Memory layer | saved project context |
|
|
308
|
+
|
|
309
|
+
### Artifact-writing checks
|
|
310
|
+
|
|
311
|
+
| Term | Definition |
|
|
312
|
+
| --- | --- |
|
|
313
|
+
| Verbosity mismatch | Artifact prose exceeds the intended budget or grows without adding signal. |
|
|
314
|
+
| Abstraction creep | Prose lacks a concrete anchor such as a path, line number, metric, identifier, commit, or quote. |
|
|
315
|
+
| Filler accumulation | Prose accumulates hedges, redundant transitions, self-reference, summary preambles, or generic justification. |
|
|
316
|
+
| Concrete anchor | A file path, line number, commit hash, metric value, identifier, or direct quote. |
|
|
317
|
+
| Lead-with-conclusion | Start with the actionable conclusion, then provide evidence. |
|
|
318
|
+
| Compaction | Keep recent full entries, preserve older one-line archives, and drop beyond retention limits. |
|
|
319
|
+
|
|
320
|
+
## Capability-specific recurring vocabulary
|
|
321
|
+
|
|
322
|
+
| Capability | Common terms |
|
|
323
|
+
| --- | --- |
|
|
324
|
+
| hej | Orientation, dashboard, returning project, fresh project, attention, next action, concrete object, route suggestion. |
|
|
325
|
+
| visionera | North star, persona, principles, direction, identity, tensions, create/refine/replace/audit modes. |
|
|
326
|
+
| resonera | Socratic questioning, one question at a time, honest friction, steelman, tradeoffs, decision pressure. |
|
|
327
|
+
| inspirera | Source analysis, pattern extraction, cross-pollination, worth stealing, external practice, adaptation. |
|
|
328
|
+
| planera | WHAT and WHY, behavioral acceptance criteria, scope, included/excluded/deferred, task dependencies, plan-level current-state check. |
|
|
329
|
+
| realisera | Cycle, orient/select/research/plan/spawn/verify/commit/audit/log, HOW, progress log, worker spawn. |
|
|
330
|
+
| optimera | Objective, experiment, baseline, harness, locked measurement, hypothesis, metric, regression, keep/discard gate. |
|
|
331
|
+
| inspektera | Audit, health grade, dimensions, findings, evidence, impact, suggested action, artifact current-state review, deliberate decisions. |
|
|
332
|
+
| dokumentera | Intent-first docs, explore-and-generate, update-and-verify, first-run survey, evergreen docs, docs become the spec. |
|
|
333
|
+
| profilera | Decision profile, signal extraction, confidence, preference, validation, reusable user model. |
|
|
334
|
+
| visualisera | Visual identity, design tokens, semantic weight, terminal-native, glyphs, logo scarcity. |
|
|
335
|
+
| orkestrera | Plan execution, delegate, task-notification result, presence check, evaluate, resolve, loop stop condition. |
|
|
336
|
+
|
|
337
|
+
## Runtime, install, and release grammar
|
|
338
|
+
|
|
339
|
+
| Term | Definition |
|
|
340
|
+
| --- | --- |
|
|
341
|
+
| Agentera directory | Plain-language name for the local directory named by `AGENTERA_HOME`; user data stays at this directory root. |
|
|
342
|
+
| App files directory | Plain-language name for `$AGENTERA_HOME/app`, where Agentera's scripts and skill files live. Internal JSON may call this `managedAppRoot`; do not use that phrase in prompts. |
|
|
343
|
+
| User data directory | The `AGENTERA_HOME` root that keeps `PROFILE.md`, `USAGE.md`, history, and intermediate corpus data. |
|
|
344
|
+
| `AGENTERA_HOME` | Environment variable pointing at the Agentera directory. Explain this only when the user needs the exact setting. |
|
|
345
|
+
| Normal Agentera directory | Platform data directory for Agentera when `AGENTERA_HOME` is unset. |
|
|
346
|
+
| `--install-root` | Compatibility flag name for existing CLI options; surrounding text should say Agentera directory. |
|
|
347
|
+
| Directory with unknown files | A directory Agentera must not overwrite silently. Say this instead of unmanaged root. |
|
|
348
|
+
| Missing normal directory | Previewable. Agentera can show a no-write repair preview. |
|
|
349
|
+
| Missing chosen directory | Needs a user decision when provided through `AGENTERA_HOME` or explicit `--install-root`. |
|
|
350
|
+
| Package refresh | Package-manager or marketplace update. It does not prove Agentera's app files are current. |
|
|
351
|
+
| App repair | Normal repair flow that previews or applies Agentera app files plus managed runtime config, plugins, hooks, commands, and safe cleanup together. It must not edit shell startup files, and package-manager commands remain opt-in through `--update-packages`. |
|
|
352
|
+
| `--only bundle` | Compatibility selector for narrow app-file work. Do not present it as the normal repair recommendation when managed runtime surfaces may also need repair. |
|
|
353
|
+
| Preview | No-write mode. Required before upgrade or app repair writes; the underlying command flag is `--dry-run`. |
|
|
354
|
+
| `--yes` | Explicit apply flag after preview and approval. |
|
|
355
|
+
| Final check | Setup validation after upgrade apply. Uses the same app-home probe as `agentera doctor` (`build_doctor_status`), not `setup_doctor.build_report`. |
|
|
356
|
+
| Package-update opt-in | External package manager changes require `--update-packages`. |
|
|
357
|
+
| Runtime adapter | Runtime-specific Agentera adapter support for skill loading, hooks, artifact validation, lifecycle metadata, and diagnostics. |
|
|
358
|
+
| Host support | What a runtime can theoretically do. Distinguish it from shipped Agentera behavior. |
|
|
359
|
+
| Hook lifecycle | Runtime callbacks such as `SessionStart`, `Stop`, `PreToolUse`, and `PostToolUse`. |
|
|
360
|
+
| Setup doctor | Diagnostic command surface for install/runtime health. |
|
|
361
|
+
|
|
362
|
+
Canonical runtime names are Claude Code, OpenCode, Copilot CLI, Codex CLI, Cursor IDE, and Cursor Agent CLI.
|
|
363
|
+
|
|
364
|
+
### App lifecycle status vocabulary
|
|
365
|
+
|
|
366
|
+
Decision 54 makes app lifecycle state a protocol surface, not ad hoc output
|
|
367
|
+
copy. The machine-readable authority is
|
|
368
|
+
`references/cli/app-lifecycle-vocabulary.yaml`; it owns the canonical status
|
|
369
|
+
order, status definitions, deprecated aliases, cross-major status concepts,
|
|
370
|
+
scoped operation verbs, and consumer ownership boundaries for doctor, hej,
|
|
371
|
+
upgrade, docs, and tests.
|
|
372
|
+
|
|
373
|
+
Use this prose as guidance only: human-readable text can be friendlier, but it
|
|
374
|
+
should be derived from canonical metadata instead of inventing parallel status
|
|
375
|
+
words. `agentera upgrade` is the only repair command. When app files are
|
|
376
|
+
version-behind, the operation inside that command is an **update**; when files
|
|
377
|
+
are missing or broken, it is a **repair**; when v1 artifacts exist, it is a
|
|
378
|
+
**migrate**. Hej attention text should name both the operation and the command
|
|
379
|
+
(for example, app files outdated; run `agentera upgrade`).
|
|
380
|
+
Compatibility aliases are transitional classifications in the YAML authority,
|
|
381
|
+
not second source-of-truth status values.
|
|
382
|
+
|
|
383
|
+
Recovery prompts must be recommendation-first and plain-language. Avoid asking a
|
|
384
|
+
user to choose between technical labels. Say: what happened, what the preview did
|
|
385
|
+
or did not change, what the recommended fix will do, and what it will not touch.
|
|
386
|
+
Do not expose internal directory-state labels, command-mode flags, or app-file
|
|
387
|
+
packaging terms in choices. Use: Agentera directory, app files, normal directory,
|
|
388
|
+
old directory, preview, repair, needs repair, needs a decision.
|
|
389
|
+
|
|
390
|
+
CLI-visible doctor labels to preserve: `Agentera doctor`,
|
|
391
|
+
`status:`, `expected version:`, `app home:`, `app home source:`,
|
|
392
|
+
`root status:`, `marker version:`, `missing commands:`, `dry run:`,
|
|
393
|
+
`apply after approval:`, `approval phrase:`, `retry:`, and `recovery:`.
|
|
394
|
+
|
|
395
|
+
CLI-visible upgrade labels to preserve: `Agentera upgrade`, `mode:`,
|
|
396
|
+
`status:`, `project:`, `app home:`, `managed app root:`, `user data root:`, phase lines, item lines,
|
|
397
|
+
`run with --yes to apply pending changes`, and `postflight doctor:`.
|
|
398
|
+
|
|
399
|
+
### Update channels
|
|
400
|
+
|
|
401
|
+
Dual update channels select which published Agentera line upgrade, doctor, and
|
|
402
|
+
prime resolve. The machine-readable authority is
|
|
403
|
+
`references/cli/update-channels.yaml`; it owns channel names, default selection,
|
|
404
|
+
npm dist-tag and git ref resolution, override precedence, and consumer ownership
|
|
405
|
+
for upgrade, doctor, prime, docs, and tests.
|
|
406
|
+
|
|
407
|
+
Use this prose as guidance only: **stable** tracks the supported 2.x line;
|
|
408
|
+
**development** tracks 3.x alphas and release candidates. Default channel is
|
|
409
|
+
stable. Override with `--channel`, `AGENTERA_UPDATE_CHANNEL`, or
|
|
410
|
+
`update.channel` in user config. Cross-major v2→v3 migration is never implied by
|
|
411
|
+
stable-channel `@latest`; it is migrate work tagged
|
|
412
|
+
`major_boundary_crossing` in the app lifecycle authority and requires explicit
|
|
413
|
+
`--target-major 3` opt-in before apply.
|
|
414
|
+
|
|
415
|
+
Do not replace this with a parallel Markdown table of dist-tags, git refs, or
|
|
416
|
+
override keys. Update the YAML authority first, then keep this section as the
|
|
417
|
+
short human-facing boundary.
|
|
418
|
+
|
|
419
|
+
### Bundle and SKILL.md vocabulary
|
|
420
|
+
|
|
421
|
+
The machine-readable authority is
|
|
422
|
+
`references/cli/bundle-skill-vocabulary.yaml`; it owns classification of
|
|
423
|
+
`bundle` and `SKILL.md` usage into canonical concepts, compatibility
|
|
424
|
+
identifiers, package metadata, historical records, fixtures, path-like
|
|
425
|
+
references, generic plain language, and ambiguous current prose.
|
|
426
|
+
|
|
427
|
+
Use this prose as guidance only: current conceptual docs should say the object
|
|
428
|
+
they mean, such as Agentera app files, suite package, plugin-shipped hooks,
|
|
429
|
+
removed `bundle-status` command, Agentera routing entry point, skill entry file,
|
|
430
|
+
v1 skill entry file, or legacy hej bridge. Preserve shipped identifiers and
|
|
431
|
+
literal paths such as `.agentera-bundle.json`, `bundle.status`,
|
|
432
|
+
`activeBundleRoot`, `--only bundle`, and `skills/agentera/SKILL.md` unless an
|
|
433
|
+
explicit compatibility migration is in scope.
|
|
434
|
+
|
|
435
|
+
Do not replace this with a parallel Markdown table of allowed and forbidden
|
|
436
|
+
terms. Update the YAML authority first, then keep this section as the short
|
|
437
|
+
human-facing boundary.
|
|
438
|
+
|
|
439
|
+
## Evaluation and evidence grammar
|
|
440
|
+
|
|
441
|
+
| Term | Definition |
|
|
442
|
+
| --- | --- |
|
|
443
|
+
| Validation passed | Evidence that required checks completed successfully. Name the checks. |
|
|
444
|
+
| Focused tests | Targeted tests for the changed surface. |
|
|
445
|
+
| Full pytest | Repository-wide pytest run. Use exact counts when recorded. |
|
|
446
|
+
| Capability validator | `uv run agentera check validate capability skills/agentera/capabilities/<name>`. |
|
|
447
|
+
| Cross-capability validation | Checks that capability schemas agree with registry, protocol, routing, and exit contracts. |
|
|
448
|
+
| Smoke eval | Runtime/setup check for crashes, non-zero exits, or obvious host failures. |
|
|
449
|
+
| Live-host smoke | Explicit opt-in model-host check against real runtime access. |
|
|
450
|
+
| Semantic eval | Offline fixture evaluation that checks whether captured output means the right thing. |
|
|
451
|
+
| Semantic fixture | Markdown fixture with prompt, seeded project state, captured output, tool trace, and expected facts. |
|
|
452
|
+
| Startup-overhead analysis | Local-only Decision 51 measurement surface for raw Agentera artifact access after CLI state calls during capability startup/state gathering. It replaced an uncommitted route/intro startup-window draft that found zero qualifying windows, and must report the retained `CLI state -> raw artifact access` metric before recommending a startup envelope or guidance fix. |
|
|
453
|
+
| Startup report | Human-readable and structured report pair that includes boundary source, runtime coverage, startup metrics, threshold rationale, recommendation, and privacy caveats without raw transcript text or raw local paths. |
|
|
454
|
+
| Seeded project state | Fixture-provided artifacts used as the source of truth for expected behavior. |
|
|
455
|
+
| Oracle | Artifact-derived expectation, such as the exact plan task hej should route to. |
|
|
456
|
+
| Regression | Required safety check for behavior that must not degrade. |
|
|
457
|
+
| Harness | Optimera measurement substrate. Once approved, it is immutable ground truth. |
|
|
458
|
+
| Objective | Measurable optimization charter under `.agentera/optimera/<name>/`. |
|
|
459
|
+
| Experiment | One falsifiable optimization attempt with hypothesis, method, metric, regression, status, and conclusion. |
|
|
460
|
+
| Keep/discard gate | Keep only if the metric improves and regression gates pass; discard otherwise. |
|
|
461
|
+
|
|
462
|
+
## Visual grammar
|
|
463
|
+
|
|
464
|
+
| Token family | Values |
|
|
465
|
+
| --- | --- |
|
|
466
|
+
| Status tokens | `■` complete, `▣` in progress, `□` open, `▨` blocked. |
|
|
467
|
+
| Severity tokens | `⇶` critical, `⇉` degraded, `→` normal, `⇢` annoying. |
|
|
468
|
+
| Confidence tokens | `━` firm, `─` provisional, `┄` exploratory. |
|
|
469
|
+
| Trend tokens | `⮉` improving, `⮋` degrading. |
|
|
470
|
+
| Structural tokens | `───` section divider, `▸` list item, `·` separator, `→` flow, `█▓░` progress bar. |
|
|
471
|
+
| Logo | Box-drawing Agentera logo. Use for the Hej dashboard, major completions, and significant artifacts. |
|
|
472
|
+
|
|
473
|
+
Visualisera owns visual identity in `DESIGN.md`. Protocol owns token meanings in
|
|
474
|
+
`skills/agentera/protocol.yaml`.
|
|
475
|
+
|
|
476
|
+
## Canonical phrases
|
|
477
|
+
|
|
478
|
+
| Phrase | Use |
|
|
479
|
+
| --- | --- |
|
|
480
|
+
| “The open protocol for turning AI agents into engineering teams.” | Product identity. |
|
|
481
|
+
| “One install, one entry point, one query interface to all project state.” | v2 app-home promise. |
|
|
482
|
+
| “Continuity lives in files, not memory.” | Realisera/project-state principle. |
|
|
483
|
+
| “The conversation preserves reasoning; the artifact preserves the plan.” | Planera boundary. |
|
|
484
|
+
| “Planera owns WHAT and WHY; realisera owns HOW.” | Planning/building boundary. |
|
|
485
|
+
| “The colleague says what they think, then shows the evidence.” | Inspektera voice. |
|
|
486
|
+
| “Findings contradicting deliberate decisions are not findings.” | Audit boundary. |
|
|
487
|
+
| “Select the concrete next action before selecting the skill.” | Hej routing discipline. |
|
|
488
|
+
| “A skill name without a concrete object is not a valid suggestion.” | Hej next-action rule. |
|
|
489
|
+
| “Suggest, don’t force.” | Hej confirmation rule. |
|
|
490
|
+
| “Document intended behavior before building.” | Dokumentera intent-first mode. |
|
|
491
|
+
| “Write as intended steady state.” | Evergreen documentation rule. |
|
|
492
|
+
| “Keep it DRY: reference, don’t repeat.” | Documentation maintenance rule. |
|
|
493
|
+
| “The harness is the immutable ground truth.” | Optimera measurement rule. |
|
|
494
|
+
| “Improve + pass regression = keep; everything else is discarded.” | Optimera experiment rule. |
|
|
495
|
+
| “The orchestrator delegates; it does not implement.” | Orkestrera role boundary. |
|
|
496
|
+
|
|
497
|
+
## Ambiguous terms to qualify
|
|
498
|
+
|
|
499
|
+
Do not use these terms bare. A busy developer should be able to search the
|
|
500
|
+
phrase, identify the affected object, and know whether the term describes a
|
|
501
|
+
schema concept, runtime capability, install state, or user action.
|
|
502
|
+
|
|
503
|
+
| Ambiguous term | Why bare usage is risky | Required wording |
|
|
504
|
+
| --- | --- | --- |
|
|
505
|
+
| Skill | Confuses v1 standalone skills, the v2 Agentera skill, and internal workflows. | Use `Agentera skill` for the installed runtime surface, `v1 skill` for history, and `capability` for v2 workflows. |
|
|
506
|
+
| Contract | Could mean schema structure, artifact shape, protocol primitive, adapter behavior, or product promise. | Use `schema contract`, `artifact schema`, `protocol primitives`, `runtime adapter contract`, or `product promise`. |
|
|
507
|
+
| Status | Different surfaces use different state machines and output labels. | Use `exit status`, `task status`, `installed-app status`, `install status`, `docs status`, or `health status`. |
|
|
508
|
+
| Freshness | Sounds like a branded synonym for several normal states: current, stale, synced, or out of date. | Use object-specific state wording such as `artifact is current`, `Agentera app files need repair`, `docs are current`, or `plan-level current-state check`. |
|
|
509
|
+
| Checkpoint | In software, can mean commit, savepoint, restore point, model checkpoint, or milestone. | Use `final state sync`, `plan-level current-state check`, `checkpoint commit`, or `pre-dispatch checkpoint commit`. |
|
|
510
|
+
| Stale | The cause and fix differ by object. | Use `stale artifact`, `Agentera app files need repair`, `stale marker`, or `stale worktree base`. Avoid `stale` in recovery prompts when `out of date` or `needs repair` is clearer. |
|
|
511
|
+
| Phase | Conflicts with numbered workflow steps. | Use `phase` only for protocol lifecycle: `envision`, `deliberate`, `plan`, `build`, `audit`. Use `step` for capability-local actions. |
|
|
512
|
+
| Objective state | Clear only inside optimera. | First mention `optimization objective state`; then `objective state` is fine in optimera context. Do not modify outside optimera or explicit user instruction. |
|
|
513
|
+
| Support | Could mean theoretical host capability, shipped Agentera wiring, or verified behavior. | Use `host capability`, `Agentera adapter support`, or `tested support`. |
|
|
514
|
+
| Runtime support | Too broad to be actionable in compatibility docs. | Replace with `host capability`, `Agentera adapter support`, or `tested support`, whichever is true. |
|
|
515
|
+
| AskUserQuestion | Internal primitive leaking into human prose. | In user docs, say `ask the user`. In adapter docs, say `runtime question tool`. |
|
|
516
|
+
| MCP | Optional substrate, not a core Agentera requirement. | Say `optional MCP integration` only where the feature literally depends on MCP. |
|
|
517
|
+
|
|
518
|
+
High-risk diagnostic rewrites:
|
|
519
|
+
|
|
520
|
+
| Avoid in diagnostics | Use instead |
|
|
521
|
+
| --- | --- |
|
|
522
|
+
| `bundle freshness gap detected` | `Agentera app files need repair` |
|
|
523
|
+
| `bundle freshness guard failed` | `install status check failed` |
|
|
524
|
+
| `bundle refresh required` | `repair Agentera app files` |
|
|
525
|
+
| `app refresh required` | `Agentera app files need repair` or `Agentera app files are outdated` |
|
|
526
|
+
| `upgrade guard triggered` | `v1 migration check found legacy files` |
|
|
527
|
+
| `stale marker` | `missing or outdated version marker` |
|
|
528
|
+
| `artifact freshness failed` | `artifact is stale` or `artifact needs sync` |
|
|
529
|
+
|
|
530
|
+
## Source index
|
|
531
|
+
|
|
532
|
+
High-signal source surfaces for this vocabulary:
|
|
533
|
+
|
|
534
|
+
| Source | Vocabulary surface |
|
|
535
|
+
| --- | --- |
|
|
536
|
+
| `skills/agentera/SKILL.md` | Routing entry, routing layers, CLI-first access, installed-app status check, and v1 migration check. |
|
|
537
|
+
| `skills/agentera/protocol.yaml` | Protocol primitives, glyphs, phases, visual tokens, exit signals. |
|
|
538
|
+
| `skills/agentera/capability_schema_contract.yaml` | Schema groups, priorities, stable IDs, primitive-reference fields. |
|
|
539
|
+
| `skills/agentera/capabilities/*/instructions.md` | Workflow grammar, capability roles, safety rails, exit marker forms. |
|
|
540
|
+
| `skills/agentera/capabilities/*/schemas/*.yaml` | Trigger patterns, artifact roles, validation rules, exit conditions. |
|
|
541
|
+
| `skills/agentera/schemas/artifacts/*.yaml` | Artifact fields, status enums, validation vocabulary, and protected current-state fields. |
|
|
542
|
+
| `references/artifacts/artifact-registry-interface-model.yaml` | Canonical artifact registry language. |
|
|
543
|
+
| `references/cli/app-lifecycle-vocabulary.yaml` | App lifecycle canonical status and operation vocabulary authority. |
|
|
544
|
+
| `references/cli/update-channels.yaml` | Update channel resolution and override-key authority. |
|
|
545
|
+
| `references/cli/bundle-skill-vocabulary.yaml` | Bundle and `SKILL.md` concept classification authority. |
|
|
546
|
+
| `references/cli/capability-instruction-contract.yaml` | Decision 57 capability instruction-file and first-invocation read contract authority. |
|
|
547
|
+
| `references/cli/routing-execution-vocabulary.yaml` | Routing and execution vocabulary authority. |
|
|
548
|
+
| `the agentera CLI` | Flat State CLI labels and `agentera hej` source contract. |
|
|
549
|
+
| `packages/cli/src/upgrade (doctor/upgrade)` | Upgrade and doctor output grammar. |
|
|
550
|
+
| `packages/cli/src/state/installRoot.ts` | Install-root classification semantics. |
|
|
551
|
+
| `hooks/validate_artifact.py` | Runtime artifact-write validation and hook exit codes. |
|
|
552
|
+
| `README.md` | Product, invocation, artifact, and user-facing capability language. |
|
|
553
|
+
| `UPGRADE.md` | Upgrade flow, package refresh, app-home repair, and runtime migration terms. |
|
|
554
|
+
| `DESIGN.md` | Visual identity, glyph, severity, confidence, and structural token language. |
|
|
555
|
+
| `.agentera/docs.yaml` | Current documentation registry, mapping, coverage, and audit vocabulary. |
|
|
556
|
+
| `.agentera/decisions.yaml` | Decision grammar, v2 architecture rationale, routing decisions. |
|
|
557
|
+
| `.agentera/progress.yaml` | Cycle, evidence, context, and final state-sync examples. |
|
|
558
|
+
| `.agentera/health.yaml` | Audit dimensions, grades, trajectories, findings, and artifact current-state review. |
|
|
559
|
+
| `.agentera/archive/*.md` | Historical plan-level current-state checks and staleness rationale. |
|
|
560
|
+
| `.agentera/optimera/*` | Objective, experiment, harness, metric, and keep/discard examples. |
|
|
561
|
+
| `fixtures/semantic/*.md` | Semantic eval fixture, oracle, and Hej dashboard constraints. |
|
|
562
|
+
| `tests/` | Regression evidence for CLI labels, installed-app status, routing, exits, and schema contracts. |
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Documentation and file inventory
|
|
2
|
+
|
|
3
|
+
Maintainer inventory of repository documentation, workpapers, and legacy surfaces.
|
|
4
|
+
Authoritative Agentera docs live under `references/`, `skills/agentera/`, and root
|
|
5
|
+
guides — not under `docs/`.
|
|
6
|
+
|
|
7
|
+
**Last reviewed:** 2026-05-23
|
|
8
|
+
|
|
9
|
+
## Authority stack
|
|
10
|
+
|
|
11
|
+
| Layer | Location |
|
|
12
|
+
| --- | --- |
|
|
13
|
+
| Protocol | `skills/agentera/protocol.yaml` |
|
|
14
|
+
| CLI vocabulary authorities | `references/cli/*.yaml` |
|
|
15
|
+
| Vocabulary index (normalization, Decision 44) | `references/cli/vocabulary-index.yaml` |
|
|
16
|
+
| Human vocabulary index | `references/cli/vocabulary.md` |
|
|
17
|
+
| Benchmark contract | `references/analysis/startup-measurement-contract.yaml` |
|
|
18
|
+
| Benchmark runbook | `references/analysis/benchmark.md` |
|
|
19
|
+
| JSON surface budgets | `scripts/json_output_surface_manifest.yaml` |
|
|
20
|
+
| Project drafts | `docs/` (gitignored except `docs/README.md`) |
|
|
21
|
+
|
|
22
|
+
## `docs/` policy
|
|
23
|
+
|
|
24
|
+
`docs/` is for **non-authoritative** local notes only. Nothing under `docs/` ships
|
|
25
|
+
in the Agentera app bundle.
|
|
26
|
+
|
|
27
|
+
## Archived workpapers
|
|
28
|
+
|
|
29
|
+
| Archive path | Former location |
|
|
30
|
+
| --- | --- |
|
|
31
|
+
| `.agentera/archive/d47-app-home-vocabulary-inventory.md` | `docs/d47-app-home-vocabulary-inventory.md` |
|
|
32
|
+
| `.agentera/archive/d58-json-output-surface-inventory.md` | `docs/d58-json-output-surface-inventory.md` |
|
|
33
|
+
| `.agentera/archive/d59-json-output-budget-proposal.md` | `docs/d59-json-output-budget-proposal.md` |
|
|
34
|
+
| `.agentera/archive/d59-json-output-closeout-measurements.md` | `docs/d59-json-output-closeout-measurements.md` |
|
|
35
|
+
| `.agentera/archive/gap-analysis-2026-05-05.md` | `.agentera/gap-analysis-2026-05-05.md` |
|
|
36
|
+
|
|
37
|
+
Live JSON enforcement uses `scripts/json_output_surface_manifest.yaml` only.
|
|
38
|
+
|
|
39
|
+
## Remaining cleanup (see TODO.md)
|
|
40
|
+
|
|
41
|
+
- Replace live `SPEC.md` references in `UPGRADE.md`, hooks, adapter docs, `contract.md`
|
|
42
|
+
- Refresh or drop assertions against pre-migration characterization snapshots
|
|
43
|
+
- Agentera 3.0: remove `skills/hej/` bridge and `references/v1-section-mapping.md`
|