agentera 0.0.0 → 3.0.0-dev.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 +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 +241 -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 +147 -0
- package/bundle/references/cli/vocabulary-index.yaml +160 -0
- package/bundle/references/cli/vocabulary.md +566 -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 +544 -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 +48 -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 +958 -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 +1056 -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 +1276 -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 +208 -0
- package/dist/upgrade/channels.js.map +1 -0
- package/dist/upgrade/compatibility.js +201 -0
- package/dist/upgrade/compatibility.js.map +1 -0
- package/dist/upgrade/doctor.js +373 -0
- package/dist/upgrade/doctor.js.map +1 -0
- package/dist/upgrade/migrateArtifactsV2ToV3.js +332 -0
- package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -0
- package/dist/upgrade/runtimeMigration.js +484 -0
- package/dist/upgrade/runtimeMigration.js.map +1 -0
- package/dist/upgrade/upgradeCommands.js +36 -0
- package/dist/upgrade/upgradeCommands.js.map +1 -0
- package/dist/upgrade/upgradeOrchestrator.js +299 -0
- package/dist/upgrade/upgradeOrchestrator.js.map +1 -0
- package/dist/upgrade/versionResolution.js +179 -0
- package/dist/upgrade/versionResolution.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,463 @@
|
|
|
1
|
+
# Protocol Schema
|
|
2
|
+
#
|
|
3
|
+
# Shared primitives for agentera 2.0 capabilities. All capability schemas
|
|
4
|
+
# reference these primitives for confidence, severity, visual tokens, exit
|
|
5
|
+
# signals, and phase model. Self-contained: no external references.
|
|
6
|
+
#
|
|
7
|
+
# Structural pattern: UPPER_CASE groups with numbered entries and stable IDs,
|
|
8
|
+
# matching the capability_schema_contract.yaml convention.
|
|
9
|
+
#
|
|
10
|
+
# ── Field-by-field mapping: SPEC.md → protocol.yaml ──
|
|
11
|
+
#
|
|
12
|
+
# SPEC Section 1 (Confidence Scale):
|
|
13
|
+
# Tier 1 (90-100, verified/near-certain) → CONFIDENCE_SCALE.1 (CS1)
|
|
14
|
+
# Tier 2 (70-89, strong evidence/established) → CONFIDENCE_SCALE.2 (CS2)
|
|
15
|
+
# Tier 3 (50-69, moderate evidence/emerging) → CONFIDENCE_SCALE.3 (CS3)
|
|
16
|
+
# Tier 4 (30-49, weak evidence/uncertain) → CONFIDENCE_SCALE.4 (CS4)
|
|
17
|
+
# Tier 5 (0-29, speculative/extrapolated) → CONFIDENCE_SCALE.5 (CS5)
|
|
18
|
+
# Thresholds (65+ strong, <45 suggestion) → CONFIDENCE_SCALE._thresholds
|
|
19
|
+
#
|
|
20
|
+
# SPEC Section 2 (Severity Levels):
|
|
21
|
+
# Finding: critical → SEVERITY_FINDING.1 (SF1)
|
|
22
|
+
# Finding: warning → SEVERITY_FINDING.2 (SF2)
|
|
23
|
+
# Finding: info → SEVERITY_FINDING.3 (SF3)
|
|
24
|
+
# Issue: critical (⇶) → SEVERITY_ISSUE.1 (SI1)
|
|
25
|
+
# Issue: degraded (⇉) → SEVERITY_ISSUE.2 (SI2)
|
|
26
|
+
# Issue: normal (→) → SEVERITY_ISSUE.3 (SI3)
|
|
27
|
+
# Issue: annoying (⇢) → SEVERITY_ISSUE.4 (SI4)
|
|
28
|
+
# Mapping: critical→critical → SEVERITY_MAPPING.1 (SM1)
|
|
29
|
+
# Mapping: warning→degraded/normal → SEVERITY_MAPPING.2 (SM2)
|
|
30
|
+
# Mapping: info→annoying → SEVERITY_MAPPING.3 (SM3)
|
|
31
|
+
#
|
|
32
|
+
# SPEC Section 3 (Decision Confidence Labels):
|
|
33
|
+
# firm → DECISION_LABELS.1 (DL1)
|
|
34
|
+
# provisional → DECISION_LABELS.2 (DL2)
|
|
35
|
+
# exploratory → DECISION_LABELS.3 (DL3)
|
|
36
|
+
#
|
|
37
|
+
# SPEC Section 11 (Exit Signals):
|
|
38
|
+
# complete → EXIT_SIGNALS.1 (EX1)
|
|
39
|
+
# flagged → EXIT_SIGNALS.2 (EX2)
|
|
40
|
+
# stuck → EXIT_SIGNALS.3 (EX3)
|
|
41
|
+
# waiting → EXIT_SIGNALS.4 (EX4)
|
|
42
|
+
#
|
|
43
|
+
# SPEC Section 13 (Visual Identity):
|
|
44
|
+
# Status: complete (■) → VISUAL_TOKENS.1 (VT1)
|
|
45
|
+
# Status: in-progress (▣) → VISUAL_TOKENS.2 (VT2)
|
|
46
|
+
# Status: open (□) → VISUAL_TOKENS.3 (VT3)
|
|
47
|
+
# Status: blocked (▨) → VISUAL_TOKENS.4 (VT4)
|
|
48
|
+
# Severity: critical (⇶) → VISUAL_TOKENS.5 (VT5)
|
|
49
|
+
# Severity: degraded (⇉) → VISUAL_TOKENS.6 (VT6)
|
|
50
|
+
# Severity: normal (→) → VISUAL_TOKENS.7 (VT7)
|
|
51
|
+
# Severity: annoying (⇢) → VISUAL_TOKENS.8 (VT8)
|
|
52
|
+
# Confidence: firm (━) → VISUAL_TOKENS.9 (VT9)
|
|
53
|
+
# Confidence: provisional (─) → VISUAL_TOKENS.10 (VT10)
|
|
54
|
+
# Confidence: exploratory (┄) → VISUAL_TOKENS.11 (VT11)
|
|
55
|
+
# Trend: improving (⮉) → VISUAL_TOKENS.12 (VT12)
|
|
56
|
+
# Trend: degrading (⮋) → VISUAL_TOKENS.13 (VT13)
|
|
57
|
+
# Structural: section divider → VISUAL_TOKENS.14 (VT14)
|
|
58
|
+
# Structural: list item (▸) → VISUAL_TOKENS.15 (VT15)
|
|
59
|
+
# Structural: inline separator (·) → VISUAL_TOKENS.16 (VT16)
|
|
60
|
+
# Structural: flow/target (→) → VISUAL_TOKENS.17 (VT17)
|
|
61
|
+
# Structural: progress bar (█▓░) → VISUAL_TOKENS.18 (VT18)
|
|
62
|
+
# Skill glyph: hej (⌂) → SKILL_GLYPHS.1 (SG1)
|
|
63
|
+
# Skill glyph: realisera (⧉) → SKILL_GLYPHS.2 (SG2)
|
|
64
|
+
# Skill glyph: inspektera (⛶) → SKILL_GLYPHS.3 (SG3)
|
|
65
|
+
# Skill glyph: resonera (❈) → SKILL_GLYPHS.4 (SG4)
|
|
66
|
+
# Skill glyph: planera (≡) → SKILL_GLYPHS.5 (SG5)
|
|
67
|
+
# Skill glyph: visionera (⛥) → SKILL_GLYPHS.6 (SG6)
|
|
68
|
+
# Skill glyph: optimera (⎘) → SKILL_GLYPHS.7 (SG7)
|
|
69
|
+
# Skill glyph: dokumentera (▤) → SKILL_GLYPHS.8 (SG8)
|
|
70
|
+
# Skill glyph: profilera (♾) → SKILL_GLYPHS.9 (SG9)
|
|
71
|
+
# Skill glyph: inspirera (⬚) → SKILL_GLYPHS.10 (SG10)
|
|
72
|
+
# Skill glyph: visualisera (◰) → SKILL_GLYPHS.11 (SG11)
|
|
73
|
+
# Skill glyph: orkestrera (⎈) → SKILL_GLYPHS.12 (SG12)
|
|
74
|
+
#
|
|
75
|
+
# SPEC Section 18 (Phase Tracking):
|
|
76
|
+
# Phase: envision → PHASES.1 (PH1)
|
|
77
|
+
# Phase: deliberate → PHASES.2 (PH2)
|
|
78
|
+
# Phase: plan → PHASES.3 (PH3)
|
|
79
|
+
# Phase: build → PHASES.4 (PH4)
|
|
80
|
+
# Phase: audit → PHASES.5 (PH5)
|
|
81
|
+
|
|
82
|
+
meta:
|
|
83
|
+
name: protocol
|
|
84
|
+
version: "1.0.0"
|
|
85
|
+
description: >-
|
|
86
|
+
Shared protocol primitives for agentera 2.0 capabilities.
|
|
87
|
+
Defines confidence scale, severity levels, decision labels, exit signals,
|
|
88
|
+
visual tokens, skill glyphs, and phase model. Self-contained.
|
|
89
|
+
|
|
90
|
+
GROUP_PREFIXES:
|
|
91
|
+
CONFIDENCE_SCALE: CS
|
|
92
|
+
SEVERITY_FINDING: SF
|
|
93
|
+
SEVERITY_ISSUE: SI
|
|
94
|
+
SEVERITY_MAPPING: SM
|
|
95
|
+
DECISION_LABELS: DL
|
|
96
|
+
EXIT_SIGNALS: EX
|
|
97
|
+
VISUAL_TOKENS: VT
|
|
98
|
+
SKILL_GLYPHS: SG
|
|
99
|
+
PHASES: PH
|
|
100
|
+
|
|
101
|
+
CONFIDENCE_SCALE:
|
|
102
|
+
1:
|
|
103
|
+
id: CS1
|
|
104
|
+
tier: 1
|
|
105
|
+
range: [90, 100]
|
|
106
|
+
semantic: "Verified / near-certain"
|
|
107
|
+
2:
|
|
108
|
+
id: CS2
|
|
109
|
+
tier: 2
|
|
110
|
+
range: [70, 89]
|
|
111
|
+
semantic: "Strong evidence / established"
|
|
112
|
+
3:
|
|
113
|
+
id: CS3
|
|
114
|
+
tier: 3
|
|
115
|
+
range: [50, 69]
|
|
116
|
+
semantic: "Moderate evidence / emerging"
|
|
117
|
+
4:
|
|
118
|
+
id: CS4
|
|
119
|
+
tier: 4
|
|
120
|
+
range: [30, 49]
|
|
121
|
+
semantic: "Weak evidence / uncertain"
|
|
122
|
+
5:
|
|
123
|
+
id: CS5
|
|
124
|
+
tier: 5
|
|
125
|
+
range: [0, 29]
|
|
126
|
+
semantic: "Speculative / extrapolated"
|
|
127
|
+
_thresholds:
|
|
128
|
+
strong_constraint: 65
|
|
129
|
+
suggestion: 45
|
|
130
|
+
description: >-
|
|
131
|
+
Profile consumption thresholds: 65+ for strong constraint,
|
|
132
|
+
below 45 for suggestion. Integer equivalents of 0.0-1.0 thresholds.
|
|
133
|
+
_rules:
|
|
134
|
+
- "Skills producing confidence scores MUST use integer 0-100"
|
|
135
|
+
- "Skills consuming confidence scores MUST interpret against these tier boundaries"
|
|
136
|
+
- "Temporal decay is opt-in per capability"
|
|
137
|
+
|
|
138
|
+
SEVERITY_FINDING:
|
|
139
|
+
1:
|
|
140
|
+
id: SF1
|
|
141
|
+
value: critical
|
|
142
|
+
meaning: "Broken functionality, security issue, data loss risk"
|
|
143
|
+
2:
|
|
144
|
+
id: SF2
|
|
145
|
+
value: warning
|
|
146
|
+
meaning: "Works but poorly: fragile, confusing, or degraded"
|
|
147
|
+
3:
|
|
148
|
+
id: SF3
|
|
149
|
+
value: info
|
|
150
|
+
meaning: "Minor: cosmetic, style, low-impact improvement"
|
|
151
|
+
|
|
152
|
+
SEVERITY_ISSUE:
|
|
153
|
+
1:
|
|
154
|
+
id: SI1
|
|
155
|
+
value: critical
|
|
156
|
+
glyph: "\u21F6"
|
|
157
|
+
glyph_code: U+21F6
|
|
158
|
+
meaning: "Broken functionality, blocks progress"
|
|
159
|
+
2:
|
|
160
|
+
id: SI2
|
|
161
|
+
value: degraded
|
|
162
|
+
glyph: "\u21C9"
|
|
163
|
+
glyph_code: U+21C9
|
|
164
|
+
meaning: "Works but poorly: slow, fragile, ugly"
|
|
165
|
+
3:
|
|
166
|
+
id: SI3
|
|
167
|
+
value: normal
|
|
168
|
+
glyph: "\u2192"
|
|
169
|
+
glyph_code: U+2192
|
|
170
|
+
meaning: "Standard work: features, improvements, routine tasks"
|
|
171
|
+
4:
|
|
172
|
+
id: SI4
|
|
173
|
+
value: annoying
|
|
174
|
+
glyph: "\u21E2"
|
|
175
|
+
glyph_code: U+21E2
|
|
176
|
+
meaning: "Cosmetic, minor friction, style nit"
|
|
177
|
+
|
|
178
|
+
SEVERITY_MAPPING:
|
|
179
|
+
1:
|
|
180
|
+
id: SM1
|
|
181
|
+
from: critical
|
|
182
|
+
to: critical
|
|
183
|
+
2:
|
|
184
|
+
id: SM2
|
|
185
|
+
from: warning
|
|
186
|
+
to: [degraded, normal]
|
|
187
|
+
3:
|
|
188
|
+
id: SM3
|
|
189
|
+
from: info
|
|
190
|
+
to: annoying
|
|
191
|
+
|
|
192
|
+
DECISION_LABELS:
|
|
193
|
+
1:
|
|
194
|
+
id: DL1
|
|
195
|
+
value: firm
|
|
196
|
+
meaning: "User is committed"
|
|
197
|
+
treatment: "Treat as a hard constraint"
|
|
198
|
+
2:
|
|
199
|
+
id: DL2
|
|
200
|
+
value: provisional
|
|
201
|
+
meaning: "Best current answer, open to revision"
|
|
202
|
+
treatment: "Treat as a strong default"
|
|
203
|
+
3:
|
|
204
|
+
id: DL3
|
|
205
|
+
value: exploratory
|
|
206
|
+
meaning: "Direction to try, expected to be revisited"
|
|
207
|
+
treatment: "Treat as a suggestion"
|
|
208
|
+
|
|
209
|
+
EXIT_SIGNALS:
|
|
210
|
+
1:
|
|
211
|
+
id: EX1
|
|
212
|
+
value: complete
|
|
213
|
+
meaning: "All steps completed successfully"
|
|
214
|
+
when: "Workflow ran to completion and all acceptance criteria were met"
|
|
215
|
+
2:
|
|
216
|
+
id: EX2
|
|
217
|
+
value: flagged
|
|
218
|
+
meaning: "Completed, but with issues the user should know about"
|
|
219
|
+
when: "Workflow completed but discovered problems or made compromises"
|
|
220
|
+
rules:
|
|
221
|
+
- "MUST list each concern"
|
|
222
|
+
- "A bare status without details is not acceptable"
|
|
223
|
+
3:
|
|
224
|
+
id: EX3
|
|
225
|
+
value: stuck
|
|
226
|
+
meaning: "Cannot proceed"
|
|
227
|
+
when: "Hard blocker prevents completion"
|
|
228
|
+
rules:
|
|
229
|
+
- "MUST state what is blocking"
|
|
230
|
+
- "MUST state what was attempted"
|
|
231
|
+
4:
|
|
232
|
+
id: EX4
|
|
233
|
+
value: waiting
|
|
234
|
+
meaning: "Missing information required to continue"
|
|
235
|
+
when: "Needs input, clarification, or a decision from the user or another capability"
|
|
236
|
+
rules:
|
|
237
|
+
- "MUST state what is needed to proceed"
|
|
238
|
+
|
|
239
|
+
VISUAL_TOKENS:
|
|
240
|
+
1:
|
|
241
|
+
id: VT1
|
|
242
|
+
family: status
|
|
243
|
+
state: complete
|
|
244
|
+
glyph: "\u25A0"
|
|
245
|
+
glyph_code: U+25A0
|
|
246
|
+
2:
|
|
247
|
+
id: VT2
|
|
248
|
+
family: status
|
|
249
|
+
state: in-progress
|
|
250
|
+
glyph: "\u25A3"
|
|
251
|
+
glyph_code: U+25A3
|
|
252
|
+
3:
|
|
253
|
+
id: VT3
|
|
254
|
+
family: status
|
|
255
|
+
state: open
|
|
256
|
+
glyph: "\u25A1"
|
|
257
|
+
glyph_code: U+25A1
|
|
258
|
+
4:
|
|
259
|
+
id: VT4
|
|
260
|
+
family: status
|
|
261
|
+
state: blocked
|
|
262
|
+
glyph: "\u25A8"
|
|
263
|
+
glyph_code: U+25A8
|
|
264
|
+
5:
|
|
265
|
+
id: VT5
|
|
266
|
+
family: severity
|
|
267
|
+
state: critical
|
|
268
|
+
glyph: "\u21F6"
|
|
269
|
+
glyph_code: U+21F6
|
|
270
|
+
6:
|
|
271
|
+
id: VT6
|
|
272
|
+
family: severity
|
|
273
|
+
state: degraded
|
|
274
|
+
glyph: "\u21C9"
|
|
275
|
+
glyph_code: U+21C9
|
|
276
|
+
7:
|
|
277
|
+
id: VT7
|
|
278
|
+
family: severity
|
|
279
|
+
state: normal
|
|
280
|
+
glyph: "\u2192"
|
|
281
|
+
glyph_code: U+2192
|
|
282
|
+
8:
|
|
283
|
+
id: VT8
|
|
284
|
+
family: severity
|
|
285
|
+
state: annoying
|
|
286
|
+
glyph: "\u21E2"
|
|
287
|
+
glyph_code: U+21E2
|
|
288
|
+
9:
|
|
289
|
+
id: VT9
|
|
290
|
+
family: confidence
|
|
291
|
+
state: firm
|
|
292
|
+
glyph: "\u2501"
|
|
293
|
+
glyph_code: U+2501
|
|
294
|
+
10:
|
|
295
|
+
id: VT10
|
|
296
|
+
family: confidence
|
|
297
|
+
state: provisional
|
|
298
|
+
glyph: "\u2500"
|
|
299
|
+
glyph_code: U+2500
|
|
300
|
+
11:
|
|
301
|
+
id: VT11
|
|
302
|
+
family: confidence
|
|
303
|
+
state: exploratory
|
|
304
|
+
glyph: "\u2504"
|
|
305
|
+
glyph_code: U+2504
|
|
306
|
+
12:
|
|
307
|
+
id: VT12
|
|
308
|
+
family: trend
|
|
309
|
+
state: improving
|
|
310
|
+
glyph: "\u2B89"
|
|
311
|
+
glyph_code: U+2B89
|
|
312
|
+
13:
|
|
313
|
+
id: VT13
|
|
314
|
+
family: trend
|
|
315
|
+
state: degrading
|
|
316
|
+
glyph: "\u2B8B"
|
|
317
|
+
glyph_code: U+2B8B
|
|
318
|
+
14:
|
|
319
|
+
id: VT14
|
|
320
|
+
family: structural
|
|
321
|
+
element: section_divider
|
|
322
|
+
pattern: "--- label -------"
|
|
323
|
+
glyph_code: U+2500
|
|
324
|
+
15:
|
|
325
|
+
id: VT15
|
|
326
|
+
family: structural
|
|
327
|
+
element: list_item
|
|
328
|
+
glyph: "\u25B8"
|
|
329
|
+
glyph_code: U+25B8
|
|
330
|
+
16:
|
|
331
|
+
id: VT16
|
|
332
|
+
family: structural
|
|
333
|
+
element: inline_separator
|
|
334
|
+
glyph: "\u00B7"
|
|
335
|
+
glyph_code: U+00B7
|
|
336
|
+
17:
|
|
337
|
+
id: VT17
|
|
338
|
+
family: structural
|
|
339
|
+
element: flow_target
|
|
340
|
+
glyph: "\u2192"
|
|
341
|
+
glyph_code: U+2192
|
|
342
|
+
18:
|
|
343
|
+
id: VT18
|
|
344
|
+
family: structural
|
|
345
|
+
element: progress_bar
|
|
346
|
+
pattern: "\u2588\u2593\u2591"
|
|
347
|
+
glyph_code: U+2588/2593/2591
|
|
348
|
+
|
|
349
|
+
SKILL_GLYPHS:
|
|
350
|
+
1:
|
|
351
|
+
id: SG1
|
|
352
|
+
capability: hej
|
|
353
|
+
glyph: "\u2302"
|
|
354
|
+
glyph_code: U+2302
|
|
355
|
+
meaning: "home base"
|
|
356
|
+
2:
|
|
357
|
+
id: SG2
|
|
358
|
+
capability: realisera
|
|
359
|
+
glyph: "\u29C9"
|
|
360
|
+
glyph_code: U+29C9
|
|
361
|
+
meaning: "joined building blocks"
|
|
362
|
+
3:
|
|
363
|
+
id: SG3
|
|
364
|
+
capability: inspektera
|
|
365
|
+
glyph: "\u26F6"
|
|
366
|
+
glyph_code: U+26F6
|
|
367
|
+
meaning: "viewfinder frame"
|
|
368
|
+
4:
|
|
369
|
+
id: SG4
|
|
370
|
+
capability: resonera
|
|
371
|
+
glyph: "\u2748"
|
|
372
|
+
glyph_code: U+2748
|
|
373
|
+
meaning: "spark of insight"
|
|
374
|
+
5:
|
|
375
|
+
id: SG5
|
|
376
|
+
capability: planera
|
|
377
|
+
glyph: "\u2261"
|
|
378
|
+
glyph_code: U+2261
|
|
379
|
+
meaning: "structured layers"
|
|
380
|
+
6:
|
|
381
|
+
id: SG6
|
|
382
|
+
capability: visionera
|
|
383
|
+
glyph: "\u26E5"
|
|
384
|
+
glyph_code: U+26E5
|
|
385
|
+
meaning: "guiding star"
|
|
386
|
+
7:
|
|
387
|
+
id: SG7
|
|
388
|
+
capability: optimera
|
|
389
|
+
glyph: "\u2398"
|
|
390
|
+
glyph_code: U+2398
|
|
391
|
+
meaning: "measurement"
|
|
392
|
+
8:
|
|
393
|
+
id: SG8
|
|
394
|
+
capability: dokumentera
|
|
395
|
+
glyph: "\u25A4"
|
|
396
|
+
glyph_code: U+25A4
|
|
397
|
+
meaning: "text on page"
|
|
398
|
+
9:
|
|
399
|
+
id: SG9
|
|
400
|
+
capability: profilera
|
|
401
|
+
glyph: "\u267E"
|
|
402
|
+
glyph_code: U+267E
|
|
403
|
+
meaning: "permanent mark"
|
|
404
|
+
10:
|
|
405
|
+
id: SG10
|
|
406
|
+
capability: inspirera
|
|
407
|
+
glyph: "\u2B1A"
|
|
408
|
+
glyph_code: U+2B1A
|
|
409
|
+
meaning: "frame to fill"
|
|
410
|
+
11:
|
|
411
|
+
id: SG11
|
|
412
|
+
capability: visualisera
|
|
413
|
+
glyph: "\u25F0"
|
|
414
|
+
glyph_code: U+25F0
|
|
415
|
+
meaning: "design grid"
|
|
416
|
+
12:
|
|
417
|
+
id: SG12
|
|
418
|
+
capability: orkestrera
|
|
419
|
+
glyph: "\u2388"
|
|
420
|
+
glyph_code: U+2388
|
|
421
|
+
meaning: "helm, steering"
|
|
422
|
+
|
|
423
|
+
PHASES:
|
|
424
|
+
1:
|
|
425
|
+
id: PH1
|
|
426
|
+
value: envision
|
|
427
|
+
capabilities: [visionera]
|
|
428
|
+
purpose: "Define or refine the project's north star"
|
|
429
|
+
valid_successors: [deliberate, plan, build]
|
|
430
|
+
terminal: false
|
|
431
|
+
self_transition: false
|
|
432
|
+
2:
|
|
433
|
+
id: PH2
|
|
434
|
+
value: deliberate
|
|
435
|
+
capabilities: [resonera]
|
|
436
|
+
purpose: "Reason through decisions before committing to a direction"
|
|
437
|
+
valid_successors: [plan, build, envision]
|
|
438
|
+
terminal: false
|
|
439
|
+
self_transition: false
|
|
440
|
+
3:
|
|
441
|
+
id: PH3
|
|
442
|
+
value: plan
|
|
443
|
+
capabilities: [planera]
|
|
444
|
+
purpose: "Structure work into tasks with dependencies and acceptance criteria"
|
|
445
|
+
valid_successors: [build, deliberate]
|
|
446
|
+
terminal: false
|
|
447
|
+
self_transition: false
|
|
448
|
+
4:
|
|
449
|
+
id: PH4
|
|
450
|
+
value: build
|
|
451
|
+
capabilities: [realisera, optimera, dokumentera, visualisera]
|
|
452
|
+
purpose: "Implement, optimize, document, or design"
|
|
453
|
+
valid_successors: [build, audit, plan]
|
|
454
|
+
terminal: true
|
|
455
|
+
self_transition: true
|
|
456
|
+
5:
|
|
457
|
+
id: PH5
|
|
458
|
+
value: audit
|
|
459
|
+
capabilities: [inspektera]
|
|
460
|
+
purpose: "Evaluate structural health and alignment"
|
|
461
|
+
valid_successors: [build, plan, deliberate, envision]
|
|
462
|
+
terminal: true
|
|
463
|
+
self_transition: false
|