agentera 3.0.0-dev.5 → 3.0.0-next.1
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/extract-corpus-parity.json +23 -0
- package/bundle/references/adapters/cursor.md +9 -8
- 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 +15 -15
- package/bundle/references/cli/audience-namespace-cli-migration.yaml +40 -26
- package/bundle/references/cli/bundle-skill-vocabulary.yaml +1 -29
- package/bundle/references/cli/coexistence-probe.yaml +9 -0
- package/bundle/references/cli/parity-expected-actual-template.md +30 -0
- package/bundle/references/cli/single-name-protocol.yaml +42 -0
- package/bundle/references/cli/update-channels.yaml +16 -0
- 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 +6 -4
- package/bundle/references/cli/vocabulary.md +307 -301
- package/bundle/references/meta/documentation-inventory.md +9 -3
- package/bundle/skills/agentera/SKILL.md +49 -41
- package/bundle/skills/agentera/capabilities/hej/schemas/artifacts.yaml +4 -1
- package/bundle/skills/agentera/capabilities/profilera/schemas/exit.yaml +2 -1
- package/bundle/skills/agentera/capability_schema_contract.yaml +28 -0
- package/bundle/skills/agentera/references/contract.md +324 -315
- package/bundle/skills/agentera/schemas/artifacts/todo.yaml +38 -33
- package/dist/analytics/extractCorpus/cli.js +149 -0
- package/dist/analytics/extractCorpus/cli.js.map +1 -0
- package/dist/analytics/extractCorpus/copilotSessions.js +273 -0
- package/dist/analytics/extractCorpus/copilotSessions.js.map +1 -0
- package/dist/analytics/extractCorpus/core.js +363 -0
- package/dist/analytics/extractCorpus/core.js.map +1 -0
- package/dist/analytics/extractCorpus/corpus.js +145 -0
- package/dist/analytics/extractCorpus/corpus.js.map +1 -0
- package/dist/analytics/extractCorpus/coverageAudit.js +261 -0
- package/dist/analytics/extractCorpus/coverageAudit.js.map +1 -0
- package/dist/analytics/extractCorpus/cursorSessions.js +423 -0
- package/dist/analytics/extractCorpus/cursorSessions.js.map +1 -0
- package/dist/analytics/extractCorpus/extractCorpusParity.js +105 -0
- package/dist/analytics/extractCorpus/extractCorpusParity.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 +12 -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/sqliteCaps.js +44 -0
- package/dist/analytics/extractCorpus/sqliteCaps.js.map +1 -0
- package/dist/analytics/extractCorpus/sqliteSessions.js +368 -0
- package/dist/analytics/extractCorpus/sqliteSessions.js.map +1 -0
- package/dist/analytics/extractCorpus.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/inspirera/instructions.js +1 -1
- package/dist/capabilities/inspirera/instructions.js.map +1 -1
- package/dist/capabilities/planera/instructions.js +1 -1
- package/dist/capabilities/planera/instructions.js.map +1 -1
- package/dist/capabilities/profilera/instructions.js +1 -1
- package/dist/capabilities/profilera/instructions.js.map +1 -1
- package/dist/capabilities/realisera/instructions.js +1 -1
- package/dist/capabilities/realisera/instructions.js.map +1 -1
- package/dist/capabilities/resonera/instructions.js +1 -1
- package/dist/capabilities/resonera/instructions.js.map +1 -1
- package/dist/capabilities/visionera/instructions.js +1 -1
- package/dist/capabilities/visionera/instructions.js.map +1 -1
- package/dist/capabilities/visualisera/instructions.js +3 -4
- package/dist/capabilities/visualisera/instructions.js.map +1 -1
- package/dist/cli/appContext.js +2 -14
- package/dist/cli/appContext.js.map +1 -1
- 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 -2486
- package/dist/cli/capabilityContext.js.map +1 -1
- package/dist/cli/commands/appHome.js +23 -0
- package/dist/cli/commands/appHome.js.map +1 -0
- package/dist/cli/commands/compact.js +1 -1
- package/dist/cli/commands/compact.js.map +1 -1
- package/dist/cli/commands/doctor.js +18 -96
- 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/prime/bundleStatus.js +126 -0
- package/dist/cli/commands/prime/bundleStatus.js.map +1 -0
- package/dist/cli/commands/prime/collectOrientationState.js +143 -0
- package/dist/cli/commands/prime/collectOrientationState.js.map +1 -0
- package/dist/cli/commands/prime/orientationOutput.js +172 -0
- package/dist/cli/commands/prime/orientationOutput.js.map +1 -0
- package/dist/cli/commands/prime/types.js +2 -0
- package/dist/cli/commands/prime/types.js.map +1 -0
- package/dist/cli/commands/prime/v1Migration.js +39 -0
- package/dist/cli/commands/prime/v1Migration.js.map +1 -0
- package/dist/cli/commands/prime.js +10 -549
- package/dist/cli/commands/prime.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 +19 -4
- 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/validate.js +38 -24
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/contracts/bundleStatus.js +2 -0
- package/dist/cli/contracts/bundleStatus.js.map +1 -0
- package/dist/cli/contracts/orientationState.js +2 -0
- package/dist/cli/contracts/orientationState.js.map +1 -0
- package/dist/cli/dispatch/argvParser.js +33 -0
- package/dist/cli/dispatch/argvParser.js.map +1 -0
- package/dist/cli/dispatch/check.js +328 -0
- package/dist/cli/dispatch/check.js.map +1 -0
- package/dist/cli/dispatch/commands.js +27 -0
- package/dist/cli/dispatch/commands.js.map +1 -0
- package/dist/cli/dispatch/index.js +179 -0
- package/dist/cli/dispatch/index.js.map +1 -0
- package/dist/cli/dispatch/lifecycle.js +537 -0
- package/dist/cli/dispatch/lifecycle.js.map +1 -0
- package/dist/cli/dispatch/prime.js +104 -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 +144 -0
- package/dist/cli/dispatch/state.js.map +1 -0
- package/dist/cli/dispatch.js +1 -1293
- package/dist/cli/dispatch.js.map +1 -1
- package/dist/cli/help.js +30 -2
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/orientation/attention.js +57 -0
- package/dist/cli/orientation/attention.js.map +1 -0
- package/dist/cli/orientation/corpusCoverage.js +71 -0
- package/dist/cli/orientation/corpusCoverage.js.map +1 -0
- package/dist/cli/orientation.js +41 -28
- package/dist/cli/orientation.js.map +1 -1
- package/dist/cli/startupCompletenessContract.js +49 -0
- package/dist/cli/startupCompletenessContract.js.map +1 -0
- package/dist/cli/todoSeverity.js +19 -0
- package/dist/cli/todoSeverity.js.map +1 -0
- package/dist/core/jsonValue.js +6 -0
- package/dist/core/jsonValue.js.map +1 -0
- package/dist/core/pyjson.js +67 -2
- package/dist/core/pyjson.js.map +1 -1
- package/dist/hooks/common.js +8 -23
- package/dist/hooks/common.js.map +1 -1
- package/dist/hooks/compaction/apply.js +263 -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 +258 -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 +241 -0
- package/dist/hooks/compaction/status.js.map +1 -0
- package/dist/hooks/compaction/types.js +6 -0
- package/dist/hooks/compaction/types.js.map +1 -0
- package/dist/hooks/cursorPreToolUse.js +1 -1
- package/dist/hooks/cursorPreToolUse.js.map +1 -1
- package/dist/hooks/cursorSessionStart.js +10 -2
- package/dist/hooks/cursorSessionStart.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 +146 -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/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/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 -1196
- package/dist/setup/codex.js.map +1 -1
- package/dist/setup/cursor.js +1 -1
- package/dist/setup/cursor.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 +418 -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/installRoot.js +49 -18
- package/dist/state/installRoot.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 +287 -0
- package/dist/state/startupAnalysis/helpers.js.map +1 -0
- package/dist/state/startupAnalysis/index.js +7 -0
- package/dist/state/startupAnalysis/index.js.map +1 -0
- package/dist/state/startupAnalysis/metrics.js +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 +101 -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/appModel.js +1 -4
- package/dist/upgrade/appModel.js.map +1 -1
- package/dist/upgrade/bundleEvidence.js +34 -0
- package/dist/upgrade/bundleEvidence.js.map +1 -0
- package/dist/upgrade/channels.js +8 -1
- package/dist/upgrade/channels.js.map +1 -1
- package/dist/upgrade/cliProbe.js +22 -0
- package/dist/upgrade/cliProbe.js.map +1 -0
- package/dist/upgrade/coexistenceProbe.js +80 -0
- package/dist/upgrade/coexistenceProbe.js.map +1 -0
- package/dist/upgrade/compatibility.js +1 -4
- package/dist/upgrade/compatibility.js.map +1 -1
- package/dist/upgrade/doctor.js +204 -170
- package/dist/upgrade/doctor.js.map +1 -1
- package/dist/upgrade/doctorClassifier.js +208 -0
- package/dist/upgrade/doctorClassifier.js.map +1 -0
- package/dist/upgrade/migrateArtifactsV2ToV3.js +6 -84
- package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -1
- package/dist/upgrade/nextMajorDoctor.js +20 -1
- package/dist/upgrade/nextMajorDoctor.js.map +1 -1
- package/dist/upgrade/npxPlatformStatus.js +24 -0
- package/dist/upgrade/npxPlatformStatus.js.map +1 -0
- package/dist/upgrade/projectIntegration.js +55 -70
- package/dist/upgrade/projectIntegration.js.map +1 -1
- package/dist/upgrade/projectIntegrationDecision.js +93 -0
- package/dist/upgrade/projectIntegrationDecision.js.map +1 -0
- package/dist/upgrade/runtimeMigration.js +13 -2
- 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 +8 -0
- package/dist/upgrade/versionResolution.js.map +1 -1
- package/dist/validate/appHomeContract.js +3 -3
- package/dist/validate/appHomeContract.js.map +1 -1
- package/dist/validate/lifecycleAdapters/legacyPythonParity.js +93 -0
- package/dist/validate/lifecycleAdapters/legacyPythonParity.js.map +1 -0
- package/dist/validate/lifecycleAdapters/nodeFormChecks.js +488 -0
- package/dist/validate/lifecycleAdapters/nodeFormChecks.js.map +1 -0
- package/dist/validate/lifecycleAdapters/shared.js +198 -0
- package/dist/validate/lifecycleAdapters/shared.js.map +1 -0
- package/dist/validate/lifecycleAdapters.js +12 -722
- package/dist/validate/lifecycleAdapters.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 +3 -3
- package/bundle/references/v1-section-mapping.md +0 -47
- package/bundle/skills/hej/.claude-plugin/plugin.json +0 -6
- package/bundle/skills/hej/SKILL.md +0 -69
- package/bundle/skills/hej/agents/hej.toml +0 -11
- package/bundle/skills/hej/agents/openai.yaml +0 -8
- package/dist/cli/commands/state.js +0 -1023
- package/dist/cli/commands/state.js.map +0 -1
- package/dist/hooks/compaction.js +0 -935
- package/dist/hooks/compaction.js.map +0 -1
- package/dist/hooks/validateArtifact.js +0 -935
- package/dist/hooks/validateArtifact.js.map +0 -1
|
@@ -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`
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agentera
|
|
3
3
|
description: >
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
Agentera agent engine for editor runtimes. One Agentera skill with twelve
|
|
5
|
+
capabilities; per-capability prose lives in
|
|
6
6
|
`packages/cli/src/capabilities/<name>/instructions.ts` and the runtime serves
|
|
7
7
|
it through `agentera prime --context <name> --format json`. Use this skill
|
|
8
8
|
for /agentera, Agentera capability requests, and a complete user message
|
|
@@ -70,22 +70,25 @@ When a request arrives, route to the matching capability using the five-layer ro
|
|
|
70
70
|
### Prerequisite: Single-call installed CLI gate
|
|
71
71
|
|
|
72
72
|
This gate is mandatory, but the gate and the orientation dashboard source are the same
|
|
73
|
-
installed CLI invocation. For bare `/agentera` or bare `hej`, the
|
|
74
|
-
|
|
73
|
+
installed CLI invocation. For bare `/agentera` or bare `hej`, resolve the app home in
|
|
74
|
+
one separate command, then run prime:
|
|
75
75
|
|
|
76
76
|
```bash
|
|
77
|
+
RESOLVED_AGENTERA_HOME="$(npx -y agentera app-home)"
|
|
77
78
|
npx -y agentera prime
|
|
78
79
|
```
|
|
79
80
|
|
|
81
|
+
Never combine the app-home assignment with the same shell command that runs
|
|
82
|
+
prime; shell expansion can otherwise turn an unset `AGENTERA_HOME` into
|
|
83
|
+
`npx -y agentera` before the assignment takes effect.
|
|
84
|
+
|
|
80
85
|
Resolve `RESOLVED_AGENTERA_HOME` with the app-home precedence `AGENTERA_HOME`
|
|
81
|
-
when set, otherwise the platform data home
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
86
|
+
when set, otherwise the platform data home from `agentera app-home`. Do not substitute
|
|
87
|
+
the Linux-only `${XDG_DATA_HOME:-$HOME/.local/share}/agentera` fallback on macOS or
|
|
88
|
+
Windows. Do not run `glob`, `grep`, `read`, `ls`, `python`, `doctor`, `--help`,
|
|
89
|
+
`registry.json`, or `.agentera-bundle.json` preflight checks before this call. The CLI
|
|
90
|
+
owns app validation, v1 detection, profile detection, artifact condensation, and the
|
|
85
91
|
`source_contract` that tells the caller how to render the dashboard.
|
|
86
|
-
Never combine the app-home assignment with the same shell command that expands
|
|
87
|
-
the managed app script path; shell expansion can otherwise turn an unset
|
|
88
|
-
`AGENTERA_HOME` into `npx -y agentera` before the assignment takes effect.
|
|
89
92
|
|
|
90
93
|
If the command exits successfully, inspect the CLI-provided `bundle.status`
|
|
91
94
|
installed-app status object. If its value is `fresh`, treat the installed app gate as passed
|
|
@@ -93,8 +96,24 @@ for that briefing and render from the output. The object includes
|
|
|
93
96
|
`expectedVersion`, `expectedVersionSource`, `appHome`, `managedAppRoot`,
|
|
94
97
|
`userDataRoot`, repair commands, and approval text.
|
|
95
98
|
|
|
99
|
+
### User-facing update wording
|
|
100
|
+
|
|
101
|
+
When `bundle.status` is `outdated` or doctor reports version-behind app files,
|
|
102
|
+
the install is valid but older than expected. Use **update** language, not
|
|
103
|
+
repair or broken-install framing.
|
|
104
|
+
|
|
105
|
+
1. What happened: `Agentera app files are out of date.`
|
|
106
|
+
2. What the preview did: `Nothing was changed.`
|
|
107
|
+
3. What the recommended fix will do: `Update Agentera app files to the expected version in the normal Agentera directory.`
|
|
108
|
+
4. What it will not do: `It will not edit your project files, shell startup files, or unknown directories.`
|
|
109
|
+
|
|
110
|
+
Name both the operation and the command: for example, `app files outdated; run agentera upgrade`.
|
|
111
|
+
Ask for explicit approval before writes with plain wording such as
|
|
112
|
+
`Approve the Agentera app-file update at <directory>`.
|
|
113
|
+
|
|
96
114
|
### User-facing repair wording
|
|
97
115
|
|
|
116
|
+
When `bundle.status` is `repair_needed`, files are missing, incomplete, or broken.
|
|
98
117
|
Recovery and troubleshooting prompts must be plain enough for a non-technical
|
|
99
118
|
user. Never ask the user to choose between technical install concepts, internal
|
|
100
119
|
directory states, command-mode flags, or package-layout terms. Keep those as
|
|
@@ -140,28 +159,17 @@ the upgrade output, not from the old default directory. If the command executes
|
|
|
140
159
|
fails before argparse, reports `invalid choice` for `prime`, or reports a status of
|
|
141
160
|
`outdated`, `manual_review_needed`, missing-command, or repair-needed:
|
|
142
161
|
|
|
143
|
-
-
|
|
162
|
+
- For `outdated` only: use the **update wording** section above (`Agentera app files are out of date`, approve an app-file **update**).
|
|
163
|
+
- For `repair_needed`, missing-command, or broken-install states: use the **repair wording** section above (`old or broken local copy`, approve a **repair**).
|
|
164
|
+
- For `manual_review_needed`: say Agentera needs a user decision before any writes.
|
|
144
165
|
- Say whether the preview changed anything; preview commands change nothing.
|
|
145
166
|
- State the safe recommendation in plain language before paths or commands.
|
|
146
|
-
- Show the clone-free preview command from `bundle.dryRunCommand` when present
|
|
147
|
-
|
|
148
|
-
```bash
|
|
149
|
-
npx -y agentera@latest doctor
|
|
150
|
-
```
|
|
167
|
+
- Show the clone-free preview command from `bundle.dryRunCommand` when present.
|
|
151
168
|
|
|
152
169
|
Ask for explicit approval before writes. A normal affirmative response is
|
|
153
|
-
acceptable only when it clearly authorizes the same Agentera repair
|
|
154
|
-
If approved, apply
|
|
155
|
-
|
|
156
|
-
```bash
|
|
157
|
-
npx -y agentera@latest prime
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
After apply, retry:
|
|
161
|
-
|
|
162
|
-
```bash
|
|
163
|
-
npx -y agentera prime
|
|
164
|
-
```
|
|
170
|
+
acceptable only when it clearly authorizes the same Agentera update, repair, or
|
|
171
|
+
migration and directory. If approved, apply the matching `bundle.applyCommand` or
|
|
172
|
+
channel-aware `agentera upgrade --yes` form, then retry `npx -y agentera prime`.
|
|
165
173
|
|
|
166
174
|
If `AGENTERA_HOME` names the old default `$HOME/.agents/agentera`, no explicit
|
|
167
175
|
`--install-root` was supplied, and `npx -y agentera` is
|
|
@@ -196,9 +204,10 @@ above must have already confirmed the installed CLI is usable.
|
|
|
196
204
|
|
|
197
205
|
Routine commands are: `prime`, `state plan`, `state progress`, `state health`,
|
|
198
206
|
`state todo`, `state decisions`, `state docs`, `state objective`, and
|
|
199
|
-
`state experiments`.
|
|
200
|
-
|
|
201
|
-
|
|
207
|
+
`state experiments`. On the npm 3.x CLI, top-level `hej`, `describe`, `gate`, and
|
|
208
|
+
routine-state names are removed; a smaller transitional alias set still forwards
|
|
209
|
+
with stderr deprecation — see [audience-namespace-cli-migration.yaml](references/cli/audience-namespace-cli-migration.yaml). Discovery and custom
|
|
210
|
+
inspection remain available through `agentera schema --format json`,
|
|
202
211
|
`state query --list-artifacts`, and `state query <artifact-name> --format json|yaml`.
|
|
203
212
|
Structured discovery includes an artifact-location contract with mapped paths,
|
|
204
213
|
normal read commands, and raw-access boundaries; use that contract before
|
|
@@ -361,15 +370,14 @@ when supplied by the CLI.
|
|
|
361
370
|
Do not replace the CLI-owned preview with manual artifact inspection,
|
|
362
371
|
hand-written migration steps, or raw YAML reads. Only the apply step requires confirmation.
|
|
363
372
|
|
|
364
|
-
The upgrade command is idempotent. It installs or updates Agentera app files
|
|
365
|
-
|
|
366
|
-
app home, and removes fixable outdated
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
plain-language repair preview above so upgrade updates the app and cleans up
|
|
373
|
+
The upgrade command is idempotent. It installs or updates Agentera app files,
|
|
374
|
+
migrates legacy Markdown artifacts to YAML when detected, wires runtime config
|
|
375
|
+
to the app home, and removes fixable outdated runtime artifacts after preview
|
|
376
|
+
and confirmation. Package refreshes that run `npx skills remove` for legacy
|
|
377
|
+
standalone skill entries and `npx skills add` for `/agentera` remain explicit
|
|
378
|
+
opt-in via `--update-packages`. `npx skills update` by itself updates only the
|
|
379
|
+
visible skill; if `/agentera` then finds missing or out-of-date app files, run
|
|
380
|
+
the plain-language repair preview above so upgrade updates the app and cleans up
|
|
373
381
|
the old default directory when it is recoverable.
|
|
374
382
|
|
|
375
383
|
### Layer 1: Bare `/agentera` or bare `hej` — delegate to prime
|
|
@@ -60,7 +60,10 @@ ARTIFACTS:
|
|
|
60
60
|
artifact_id: design
|
|
61
61
|
local_role: consumes
|
|
62
62
|
description: >-
|
|
63
|
-
Hej reads this for
|
|
63
|
+
Hej reads this for project design status metadata (exists, stale, missing).
|
|
64
|
+
Suite chrome styling uses protocol.yaml, prime --context capability prose,
|
|
65
|
+
and v2 app-home DESIGN.md when present — not the host project's design
|
|
66
|
+
artifact.
|
|
64
67
|
11:
|
|
65
68
|
id: A11
|
|
66
69
|
artifact_id: profile
|
|
@@ -12,7 +12,8 @@ EXIT_CONDITIONS:
|
|
|
12
12
|
condition: flagged
|
|
13
13
|
description: >-
|
|
14
14
|
Profile generation or validation completed but with data quality
|
|
15
|
-
issues:
|
|
15
|
+
issues: available runtime history was skipped without explicit
|
|
16
|
+
acceptance, extraction failed for one or more sources, prediction
|
|
16
17
|
accuracy was below 3/5, or significant unresolved tensions were
|
|
17
18
|
found.
|
|
18
19
|
exit_signal: flagged
|
|
@@ -143,6 +143,34 @@ FIELD_RULES:
|
|
|
143
143
|
- low
|
|
144
144
|
description: Priority of this trigger entry for routing confidence.
|
|
145
145
|
|
|
146
|
+
PROSE_CONVENTIONS:
|
|
147
|
+
description: >-
|
|
148
|
+
Authoring rules for capability behavioral instructions (Decision 71).
|
|
149
|
+
These conventions govern the prose in
|
|
150
|
+
packages/cli/src/capabilities/<name>/instructions.ts.
|
|
151
|
+
modal_vocabulary:
|
|
152
|
+
authority: RFC 2119
|
|
153
|
+
keywords:
|
|
154
|
+
- MUST
|
|
155
|
+
- MUST NOT
|
|
156
|
+
- SHOULD
|
|
157
|
+
- SHOULD NOT
|
|
158
|
+
- MAY
|
|
159
|
+
rule: >-
|
|
160
|
+
Capitalized keywords carry protocol force. Lowercase modal verbs
|
|
161
|
+
(should, must, may) remain ordinary English with no protocol force.
|
|
162
|
+
Use capitalized keywords when stating hard requirements, strong
|
|
163
|
+
recommendations, or optional behavior. Use lowercase modals in
|
|
164
|
+
natural prose that does not bind the agent.
|
|
165
|
+
rationale: >-
|
|
166
|
+
Weak models read capability instructions literally as user commands.
|
|
167
|
+
Deliberate modal vocabulary disambiguates intent: a capitalized MUST
|
|
168
|
+
signals a hard constraint, while lowercase "should" in descriptive
|
|
169
|
+
prose does not bind. This is the disambiguator, not the offender.
|
|
170
|
+
example: >-
|
|
171
|
+
Steps SHOULD be ordered by value/effort ratio. Each matrix cell
|
|
172
|
+
MUST be ≤15 words. A concept MAY reference external sources.
|
|
173
|
+
|
|
146
174
|
PRIMITIVE_REFERENCE_FIELDS:
|
|
147
175
|
description: >-
|
|
148
176
|
Capability schema fields that reference protocol primitive groups. This
|