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.
Files changed (256) hide show
  1. package/README.md +6 -45
  2. package/bundle/.agentera-npx-bundle.json +4 -0
  3. package/bundle/references/adapters/cursor.md +213 -0
  4. package/bundle/references/adapters/opencode.md +530 -0
  5. package/bundle/references/adapters/package-manifest-interface-model.yaml +337 -0
  6. package/bundle/references/adapters/package-registry.yaml +247 -0
  7. package/bundle/references/adapters/package-surface-characterization.md +48 -0
  8. package/bundle/references/adapters/runtime-adapter-characterization.md +79 -0
  9. package/bundle/references/adapters/runtime-adapter-interface-model.yaml +200 -0
  10. package/bundle/references/adapters/runtime-adapter-registry.yaml +548 -0
  11. package/bundle/references/adapters/runtime-feature-parity.md +189 -0
  12. package/bundle/references/analysis/benchmark.md +267 -0
  13. package/bundle/references/analysis/startup-measurement-contract.yaml +424 -0
  14. package/bundle/references/artifacts/artifact-registry-interface-model.yaml +288 -0
  15. package/bundle/references/cli/agent-ready-state-contract.yaml +950 -0
  16. package/bundle/references/cli/app-lifecycle-vocabulary.yaml +241 -0
  17. package/bundle/references/cli/audience-namespace-cli-migration.yaml +355 -0
  18. package/bundle/references/cli/bundle-skill-vocabulary.yaml +278 -0
  19. package/bundle/references/cli/capability-instruction-contract.yaml +123 -0
  20. package/bundle/references/cli/capability-tool-classification.yaml +53 -0
  21. package/bundle/references/cli/routing-execution-vocabulary.yaml +281 -0
  22. package/bundle/references/cli/update-channels.yaml +147 -0
  23. package/bundle/references/cli/vocabulary-index.yaml +160 -0
  24. package/bundle/references/cli/vocabulary.md +566 -0
  25. package/bundle/references/meta/documentation-inventory.md +43 -0
  26. package/bundle/references/v1-section-mapping.md +47 -0
  27. package/bundle/registry.json +39 -0
  28. package/bundle/skills/agentera/.claude-plugin/plugin.json +27 -0
  29. package/bundle/skills/agentera/SKILL.md +470 -0
  30. package/bundle/skills/agentera/agents/dokumentera.toml +6 -0
  31. package/bundle/skills/agentera/agents/hej.toml +6 -0
  32. package/bundle/skills/agentera/agents/inspektera.toml +6 -0
  33. package/bundle/skills/agentera/agents/inspirera.toml +6 -0
  34. package/bundle/skills/agentera/agents/optimera.toml +6 -0
  35. package/bundle/skills/agentera/agents/orkestrera.toml +6 -0
  36. package/bundle/skills/agentera/agents/planera.toml +6 -0
  37. package/bundle/skills/agentera/agents/profilera.toml +6 -0
  38. package/bundle/skills/agentera/agents/realisera.toml +6 -0
  39. package/bundle/skills/agentera/agents/resonera.toml +6 -0
  40. package/bundle/skills/agentera/agents/visionera.toml +6 -0
  41. package/bundle/skills/agentera/agents/visualisera.toml +6 -0
  42. package/bundle/skills/agentera/capabilities/dokumentera/instructions.md +428 -0
  43. package/bundle/skills/agentera/capabilities/dokumentera/schemas/artifacts.yaml +73 -0
  44. package/bundle/skills/agentera/capabilities/dokumentera/schemas/exit.yaml +35 -0
  45. package/bundle/skills/agentera/capabilities/dokumentera/schemas/triggers.yaml +35 -0
  46. package/bundle/skills/agentera/capabilities/dokumentera/schemas/validation.yaml +139 -0
  47. package/bundle/skills/agentera/capabilities/hej/instructions.md +331 -0
  48. package/bundle/skills/agentera/capabilities/hej/schemas/artifacts.yaml +69 -0
  49. package/bundle/skills/agentera/capabilities/hej/schemas/exit.yaml +32 -0
  50. package/bundle/skills/agentera/capabilities/hej/schemas/triggers.yaml +58 -0
  51. package/bundle/skills/agentera/capabilities/hej/schemas/validation.yaml +55 -0
  52. package/bundle/skills/agentera/capabilities/inspektera/instructions.md +514 -0
  53. package/bundle/skills/agentera/capabilities/inspektera/schemas/artifacts.yaml +76 -0
  54. package/bundle/skills/agentera/capabilities/inspektera/schemas/exit.yaml +36 -0
  55. package/bundle/skills/agentera/capabilities/inspektera/schemas/triggers.yaml +38 -0
  56. package/bundle/skills/agentera/capabilities/inspektera/schemas/validation.yaml +113 -0
  57. package/bundle/skills/agentera/capabilities/inspirera/instructions.md +280 -0
  58. package/bundle/skills/agentera/capabilities/inspirera/schemas/artifacts.yaml +24 -0
  59. package/bundle/skills/agentera/capabilities/inspirera/schemas/exit.yaml +33 -0
  60. package/bundle/skills/agentera/capabilities/inspirera/schemas/triggers.yaml +34 -0
  61. package/bundle/skills/agentera/capabilities/inspirera/schemas/validation.yaml +58 -0
  62. package/bundle/skills/agentera/capabilities/optimera/instructions.md +437 -0
  63. package/bundle/skills/agentera/capabilities/optimera/schemas/artifacts.yaml +69 -0
  64. package/bundle/skills/agentera/capabilities/optimera/schemas/exit.yaml +35 -0
  65. package/bundle/skills/agentera/capabilities/optimera/schemas/triggers.yaml +39 -0
  66. package/bundle/skills/agentera/capabilities/optimera/schemas/validation.yaml +91 -0
  67. package/bundle/skills/agentera/capabilities/orkestrera/instructions.md +433 -0
  68. package/bundle/skills/agentera/capabilities/orkestrera/schemas/artifacts.yaml +64 -0
  69. package/bundle/skills/agentera/capabilities/orkestrera/schemas/exit.yaml +34 -0
  70. package/bundle/skills/agentera/capabilities/orkestrera/schemas/triggers.yaml +42 -0
  71. package/bundle/skills/agentera/capabilities/orkestrera/schemas/validation.yaml +107 -0
  72. package/bundle/skills/agentera/capabilities/planera/instructions.md +368 -0
  73. package/bundle/skills/agentera/capabilities/planera/schemas/artifacts.yaml +62 -0
  74. package/bundle/skills/agentera/capabilities/planera/schemas/exit.yaml +33 -0
  75. package/bundle/skills/agentera/capabilities/planera/schemas/triggers.yaml +34 -0
  76. package/bundle/skills/agentera/capabilities/planera/schemas/validation.yaml +61 -0
  77. package/bundle/skills/agentera/capabilities/profilera/instructions.md +419 -0
  78. package/bundle/skills/agentera/capabilities/profilera/schemas/artifacts.yaml +18 -0
  79. package/bundle/skills/agentera/capabilities/profilera/schemas/exit.yaml +34 -0
  80. package/bundle/skills/agentera/capabilities/profilera/schemas/triggers.yaml +45 -0
  81. package/bundle/skills/agentera/capabilities/profilera/schemas/validation.yaml +57 -0
  82. package/bundle/skills/agentera/capabilities/realisera/instructions.md +403 -0
  83. package/bundle/skills/agentera/capabilities/realisera/schemas/artifacts.yaml +80 -0
  84. package/bundle/skills/agentera/capabilities/realisera/schemas/exit.yaml +35 -0
  85. package/bundle/skills/agentera/capabilities/realisera/schemas/triggers.yaml +39 -0
  86. package/bundle/skills/agentera/capabilities/realisera/schemas/validation.yaml +110 -0
  87. package/bundle/skills/agentera/capabilities/resonera/instructions.md +329 -0
  88. package/bundle/skills/agentera/capabilities/resonera/schemas/artifacts.yaml +47 -0
  89. package/bundle/skills/agentera/capabilities/resonera/schemas/exit.yaml +35 -0
  90. package/bundle/skills/agentera/capabilities/resonera/schemas/triggers.yaml +46 -0
  91. package/bundle/skills/agentera/capabilities/resonera/schemas/validation.yaml +77 -0
  92. package/bundle/skills/agentera/capabilities/visionera/instructions.md +309 -0
  93. package/bundle/skills/agentera/capabilities/visionera/schemas/artifacts.yaml +57 -0
  94. package/bundle/skills/agentera/capabilities/visionera/schemas/exit.yaml +35 -0
  95. package/bundle/skills/agentera/capabilities/visionera/schemas/triggers.yaml +41 -0
  96. package/bundle/skills/agentera/capabilities/visionera/schemas/validation.yaml +74 -0
  97. package/bundle/skills/agentera/capabilities/visualisera/instructions.md +400 -0
  98. package/bundle/skills/agentera/capabilities/visualisera/schemas/artifacts.yaml +44 -0
  99. package/bundle/skills/agentera/capabilities/visualisera/schemas/exit.yaml +34 -0
  100. package/bundle/skills/agentera/capabilities/visualisera/schemas/triggers.yaml +33 -0
  101. package/bundle/skills/agentera/capabilities/visualisera/schemas/validation.yaml +80 -0
  102. package/bundle/skills/agentera/capability_schema_contract.yaml +385 -0
  103. package/bundle/skills/agentera/protocol.yaml +463 -0
  104. package/bundle/skills/agentera/references/contract.md +1039 -0
  105. package/bundle/skills/agentera/schemas/artifacts/changelog.yaml +60 -0
  106. package/bundle/skills/agentera/schemas/artifacts/decisions.yaml +461 -0
  107. package/bundle/skills/agentera/schemas/artifacts/design.yaml +55 -0
  108. package/bundle/skills/agentera/schemas/artifacts/docs.yaml +402 -0
  109. package/bundle/skills/agentera/schemas/artifacts/experiments.yaml +373 -0
  110. package/bundle/skills/agentera/schemas/artifacts/health.yaml +484 -0
  111. package/bundle/skills/agentera/schemas/artifacts/objective.yaml +399 -0
  112. package/bundle/skills/agentera/schemas/artifacts/plan.yaml +342 -0
  113. package/bundle/skills/agentera/schemas/artifacts/progress.yaml +325 -0
  114. package/bundle/skills/agentera/schemas/artifacts/todo.yaml +110 -0
  115. package/bundle/skills/agentera/schemas/artifacts/vision.yaml +262 -0
  116. package/bundle/skills/hej/.claude-plugin/plugin.json +6 -0
  117. package/bundle/skills/hej/SKILL.md +69 -0
  118. package/bundle/skills/hej/agents/hej.toml +11 -0
  119. package/bundle/skills/hej/agents/openai.yaml +8 -0
  120. package/dist/analytics/extractCorpus.js +1791 -0
  121. package/dist/analytics/extractCorpus.js.map +1 -0
  122. package/dist/analytics/usageStats.js +487 -0
  123. package/dist/analytics/usageStats.js.map +1 -0
  124. package/dist/bin/agentera.js +4 -0
  125. package/dist/bin/agentera.js.map +1 -0
  126. package/dist/cli/appContext.js +226 -0
  127. package/dist/cli/appContext.js.map +1 -0
  128. package/dist/cli/argvalidate.js +41 -0
  129. package/dist/cli/argvalidate.js.map +1 -0
  130. package/dist/cli/capabilityContext.js +2421 -0
  131. package/dist/cli/capabilityContext.js.map +1 -0
  132. package/dist/cli/commands/backfill.js +84 -0
  133. package/dist/cli/commands/backfill.js.map +1 -0
  134. package/dist/cli/commands/capability.js +44 -0
  135. package/dist/cli/commands/capability.js.map +1 -0
  136. package/dist/cli/commands/compact.js +148 -0
  137. package/dist/cli/commands/compact.js.map +1 -0
  138. package/dist/cli/commands/doctor.js +180 -0
  139. package/dist/cli/commands/doctor.js.map +1 -0
  140. package/dist/cli/commands/lint.js +179 -0
  141. package/dist/cli/commands/lint.js.map +1 -0
  142. package/dist/cli/commands/prime.js +544 -0
  143. package/dist/cli/commands/prime.js.map +1 -0
  144. package/dist/cli/commands/query.js +346 -0
  145. package/dist/cli/commands/query.js.map +1 -0
  146. package/dist/cli/commands/report.js +210 -0
  147. package/dist/cli/commands/report.js.map +1 -0
  148. package/dist/cli/commands/schema.js +306 -0
  149. package/dist/cli/commands/schema.js.map +1 -0
  150. package/dist/cli/commands/state.js +1012 -0
  151. package/dist/cli/commands/state.js.map +1 -0
  152. package/dist/cli/commands/upgrade.js +48 -0
  153. package/dist/cli/commands/upgrade.js.map +1 -0
  154. package/dist/cli/commands/validate.js +519 -0
  155. package/dist/cli/commands/validate.js.map +1 -0
  156. package/dist/cli/commands/verify.js +204 -0
  157. package/dist/cli/commands/verify.js.map +1 -0
  158. package/dist/cli/dispatch.js +958 -0
  159. package/dist/cli/dispatch.js.map +1 -0
  160. package/dist/cli/orientation.js +595 -0
  161. package/dist/cli/orientation.js.map +1 -0
  162. package/dist/cli/prime-blob.js +3 -0
  163. package/dist/cli/prime-blob.js.map +1 -0
  164. package/dist/cli/stateQuery.js +292 -0
  165. package/dist/cli/stateQuery.js.map +1 -0
  166. package/dist/cli/structured.js +18 -0
  167. package/dist/cli/structured.js.map +1 -0
  168. package/dist/core/difflib.js +274 -0
  169. package/dist/core/difflib.js.map +1 -0
  170. package/dist/core/git.js +43 -0
  171. package/dist/core/git.js.map +1 -0
  172. package/dist/core/paths.js +50 -0
  173. package/dist/core/paths.js.map +1 -0
  174. package/dist/core/pyjson.js +101 -0
  175. package/dist/core/pyjson.js.map +1 -0
  176. package/dist/core/sourceRoot.js +72 -0
  177. package/dist/core/sourceRoot.js.map +1 -0
  178. package/dist/core/toml.js +11 -0
  179. package/dist/core/toml.js.map +1 -0
  180. package/dist/core/yaml.js +25 -0
  181. package/dist/core/yaml.js.map +1 -0
  182. package/dist/eval/evalSkills.js +258 -0
  183. package/dist/eval/evalSkills.js.map +1 -0
  184. package/dist/eval/semanticEval.js +148 -0
  185. package/dist/eval/semanticEval.js.map +1 -0
  186. package/dist/eval/semanticFixtures.js +227 -0
  187. package/dist/eval/semanticFixtures.js.map +1 -0
  188. package/dist/hooks/common.js +160 -0
  189. package/dist/hooks/common.js.map +1 -0
  190. package/dist/hooks/compaction.js +935 -0
  191. package/dist/hooks/compaction.js.map +1 -0
  192. package/dist/hooks/cursorPreToolUse.js +19 -0
  193. package/dist/hooks/cursorPreToolUse.js.map +1 -0
  194. package/dist/hooks/cursorSessionStart.js +71 -0
  195. package/dist/hooks/cursorSessionStart.js.map +1 -0
  196. package/dist/hooks/sessionStart.js +209 -0
  197. package/dist/hooks/sessionStart.js.map +1 -0
  198. package/dist/hooks/sessionStop.js +212 -0
  199. package/dist/hooks/sessionStop.js.map +1 -0
  200. package/dist/hooks/validateArtifact.js +933 -0
  201. package/dist/hooks/validateArtifact.js.map +1 -0
  202. package/dist/registries/artifactRegistry.js +206 -0
  203. package/dist/registries/artifactRegistry.js.map +1 -0
  204. package/dist/registries/capabilityContract.js +310 -0
  205. package/dist/registries/capabilityContract.js.map +1 -0
  206. package/dist/registries/packageRegistry.js +641 -0
  207. package/dist/registries/packageRegistry.js.map +1 -0
  208. package/dist/registries/runtimeAdapterRegistry.js +315 -0
  209. package/dist/registries/runtimeAdapterRegistry.js.map +1 -0
  210. package/dist/setup/codex.js +1056 -0
  211. package/dist/setup/codex.js.map +1 -0
  212. package/dist/setup/copilot.js +227 -0
  213. package/dist/setup/copilot.js.map +1 -0
  214. package/dist/setup/cursor.js +127 -0
  215. package/dist/setup/cursor.js.map +1 -0
  216. package/dist/setup/doctor.js +1276 -0
  217. package/dist/setup/doctor.js.map +1 -0
  218. package/dist/state/installRoot.js +279 -0
  219. package/dist/state/installRoot.js.map +1 -0
  220. package/dist/state/progressCommit.js +289 -0
  221. package/dist/state/progressCommit.js.map +1 -0
  222. package/dist/state/startupAnalysis.js +1953 -0
  223. package/dist/state/startupAnalysis.js.map +1 -0
  224. package/dist/upgrade/appModel.js +189 -0
  225. package/dist/upgrade/appModel.js.map +1 -0
  226. package/dist/upgrade/channels.js +208 -0
  227. package/dist/upgrade/channels.js.map +1 -0
  228. package/dist/upgrade/compatibility.js +201 -0
  229. package/dist/upgrade/compatibility.js.map +1 -0
  230. package/dist/upgrade/doctor.js +373 -0
  231. package/dist/upgrade/doctor.js.map +1 -0
  232. package/dist/upgrade/migrateArtifactsV2ToV3.js +332 -0
  233. package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -0
  234. package/dist/upgrade/runtimeMigration.js +484 -0
  235. package/dist/upgrade/runtimeMigration.js.map +1 -0
  236. package/dist/upgrade/upgradeCommands.js +36 -0
  237. package/dist/upgrade/upgradeCommands.js.map +1 -0
  238. package/dist/upgrade/upgradeOrchestrator.js +299 -0
  239. package/dist/upgrade/upgradeOrchestrator.js.map +1 -0
  240. package/dist/upgrade/versionResolution.js +179 -0
  241. package/dist/upgrade/versionResolution.js.map +1 -0
  242. package/dist/validate/appHomeContract.js +150 -0
  243. package/dist/validate/appHomeContract.js.map +1 -0
  244. package/dist/validate/capability.js +412 -0
  245. package/dist/validate/capability.js.map +1 -0
  246. package/dist/validate/crossCapability.js +145 -0
  247. package/dist/validate/crossCapability.js.map +1 -0
  248. package/dist/validate/lifecycleAdapters.js +772 -0
  249. package/dist/validate/lifecycleAdapters.js.map +1 -0
  250. package/dist/validate/selfAudit.js +107 -0
  251. package/dist/validate/selfAudit.js.map +1 -0
  252. package/package.json +28 -8
  253. package/LICENSE +0 -201
  254. package/bin/agentera.mjs +0 -50
  255. package/lib/exec.mjs +0 -116
  256. package/lib/resolve.mjs +0 -129
@@ -0,0 +1,278 @@
1
+ schema_version: agentera.bundle_skill_vocabulary.v1
2
+ status: active_authority
3
+ purpose: >-
4
+ Classify surviving `bundle` and `SKILL.md` terminology so docs, package
5
+ metadata, runtime descriptors, tests, historical records, and compatibility
6
+ identifiers share one bounded vocabulary source without forcing mechanical
7
+ renames of shipped surfaces.
8
+ sources:
9
+ prose:
10
+ - references/cli/vocabulary.md#bundle-and-skillmd-vocabulary
11
+ scope:
12
+ includes:
13
+ - Current user-facing and diagnostic prose that names Agentera app files.
14
+ - Package and distribution metadata that names the suite package shape.
15
+ - Runtime hook packaging prose and metadata for plugin-shipped hooks.
16
+ - Historical references to the removed `bundle-status` command.
17
+ - Current and legacy references to `skills/agentera/SKILL.md` and v1 skill entry files.
18
+ excludes:
19
+ - Routing and execution vocabulary collapse work.
20
+ - Capability instruction-file rename work.
21
+ - "`first_invocation_read` metadata or startup-read behavior."
22
+ - Objective state, decision satisfaction state, package publication, and installed app refreshes.
23
+ compatibility_boundary: >-
24
+ Compatibility identifiers, package metadata names, fixture names, historical
25
+ records, and path-like references may keep `bundle` or `SKILL.md` when the
26
+ spelling is the contract. New conceptual prose should use the canonical
27
+ concept terms below.
28
+ canonical_concept_order:
29
+ - agentera_app_files
30
+ - suite_package
31
+ - plugin_shipped_hooks
32
+ - removed_bundle_status_command
33
+ - agentera_routing_entry
34
+ - skill_entry_file
35
+ - v1_skill_entry_file
36
+ - legacy_hej_bridge
37
+ canonical_concepts:
38
+ agentera_app_files:
39
+ definition: >-
40
+ Managed Agentera application files installed under the app files directory,
41
+ separate from user data in the Agentera directory.
42
+ allowed_terms:
43
+ - Agentera app files
44
+ - app files
45
+ - app files directory
46
+ - installed app
47
+ - managed app files
48
+ forbidden_ambiguous_shortcuts:
49
+ - bundle
50
+ - installed bundle
51
+ - bundle freshness
52
+ - bundle refresh
53
+ - durable bundle
54
+ suite_package:
55
+ definition: >-
56
+ The packaged distribution shape that ships the Agentera skill, CLI,
57
+ scripts, hooks, references, runtime descriptors, and package metadata as
58
+ one suite artifact.
59
+ allowed_terms:
60
+ - suite package
61
+ - Agentera package
62
+ - packaged suite
63
+ - suite-bundle
64
+ forbidden_ambiguous_shortcuts:
65
+ - bundle
66
+ - single-bundle model
67
+ - bundled suite
68
+ plugin_shipped_hooks:
69
+ definition: >-
70
+ Hooks that are shipped by runtime plugin package surfaces such as Codex,
71
+ OpenCode, Claude, or GitHub plugin metadata.
72
+ allowed_terms:
73
+ - plugin-shipped hooks
74
+ - plugin-bundled hooks
75
+ - bundled hook metadata
76
+ - copied user hooks
77
+ forbidden_ambiguous_shortcuts:
78
+ - bundle hooks
79
+ - bundled hooks
80
+ - hook bundle
81
+ removed_bundle_status_command:
82
+ definition: >-
83
+ The removed legacy `agentera bundle-status` command name, preserved only
84
+ for historical release notes, migration evidence, and tests that prove it
85
+ remains unavailable.
86
+ allowed_terms:
87
+ - "removed `bundle-status` command"
88
+ - "legacy `agentera bundle-status` command"
89
+ - "historical `bundle-status` reference"
90
+ forbidden_ambiguous_shortcuts:
91
+ - bundle status
92
+ - bundle-status path
93
+ - bundle status command
94
+ agentera_routing_entry:
95
+ definition: >-
96
+ The v2 `skills/agentera/SKILL.md` routing entry that describes the Agentera
97
+ skill entry point, capability routing model, CLI-first state access, and
98
+ safety rails.
99
+ allowed_terms:
100
+ - Agentera routing entry point
101
+ - Agentera router
102
+ - routing layer
103
+ - "`skills/agentera/SKILL.md` routing entry"
104
+ forbidden_ambiguous_shortcuts:
105
+ - Agentera skill dispatcher
106
+ - SKILL.md
107
+ - master dispatcher
108
+ - skill dispatcher
109
+ skill_entry_file:
110
+ definition: >-
111
+ A concrete runtime skill entry file named `SKILL.md`, usually referenced
112
+ as a path or validation target rather than as a conceptual noun.
113
+ allowed_terms:
114
+ - skill entry file
115
+ - "`SKILL.md` file"
116
+ - "`skills/agentera/SKILL.md`"
117
+ - "`skills/*/SKILL.md`"
118
+ forbidden_ambiguous_shortcuts:
119
+ - SKILL.md
120
+ - skill file
121
+ - skill entry
122
+ v1_skill_entry_file:
123
+ definition: >-
124
+ A historical standalone v1 skill entry file or path retained in migration
125
+ notes, tests, stale-path checks, and compatibility fixtures.
126
+ allowed_terms:
127
+ - v1 skill entry file
128
+ - v1 standalone skill entry file
129
+ - "historical v1 `SKILL.md` file"
130
+ - v1 skill path
131
+ forbidden_ambiguous_shortcuts:
132
+ - SKILL.md
133
+ - v1 SKILL.md
134
+ - old skill file
135
+ legacy_hej_bridge:
136
+ definition: >-
137
+ The temporary v1 `/hej` bridge or exact bare `hej` compatibility path that
138
+ guides users toward `/agentera` and the v2 upgrade path.
139
+ allowed_terms:
140
+ - legacy hej bridge
141
+ - "legacy `/hej` bridge"
142
+ - v1 hej bridge
143
+ - "bare `hej` compatibility path"
144
+ forbidden_ambiguous_shortcuts:
145
+ - hej skill
146
+ - legacy skill
147
+ - old hej
148
+ classification_order:
149
+ - canonical_concept
150
+ - compatibility_identifier
151
+ - path_like_reference
152
+ - package_metadata
153
+ - historical_record
154
+ - fixture_only
155
+ - generic_plain_language
156
+ - ambiguous_current_prose
157
+ classification_rules:
158
+ canonical_concept:
159
+ meaning: Usage matches one of the canonical concepts and uses an allowed term.
160
+ action: Keep and prefer in new current prose.
161
+ compatibility_identifier:
162
+ meaning: The spelling is a shipped field, command flag, file name, code identifier, or parseable label.
163
+ action: Preserve until an explicit migration exists.
164
+ path_like_reference:
165
+ meaning: The occurrence is a literal file path, glob, manifest path, fixture path, or code path.
166
+ action: Preserve the concrete path spelling.
167
+ package_metadata:
168
+ meaning: The occurrence is a concrete package metadata value or installed package layout name.
169
+ action: Preserve unless package metadata migration is explicitly in scope.
170
+ historical_record:
171
+ meaning: The occurrence is in changelog, progress, decision, archived plan, migration history, or release evidence.
172
+ action: Do not rewrite solely for vocabulary cleanup; qualify when current prose interprets it.
173
+ fixture_only:
174
+ meaning: The occurrence is test fixture input, expected compatibility output, or stale-path regression data.
175
+ action: Preserve when the test proves compatibility or rejection behavior.
176
+ generic_plain_language:
177
+ meaning: The occurrence is ordinary English unrelated to Agentera app files, package shape, hooks, commands, or skill entries.
178
+ action: Allowed, but prefer object-specific terms when risk is high.
179
+ ambiguous_current_prose:
180
+ meaning: The occurrence uses bare `bundle` or bare `SKILL.md` as a conceptual noun in current user-facing prose.
181
+ action: Replace or qualify with the relevant canonical concept term.
182
+ focused_scan:
183
+ allowed_classifications:
184
+ - canonical
185
+ - compatibility-preserved
186
+ - historical
187
+ - fixture-only
188
+ - generic
189
+ paths:
190
+ - AGENTS.md
191
+ - README.md
192
+ - references/cli/vocabulary.md
193
+ - references/adapters/opencode.md
194
+ - (retired maintainer measurement tool)
195
+ - skills/agentera/SKILL.md
196
+ - skills/agentera/capabilities/hej/schemas/triggers.yaml
197
+ - skills/agentera/capabilities/resonera/instructions.md
198
+ - tests/test_cross_capability.py
199
+ - tests/test_resonera_capability.py
200
+ - tests/test_runtime_adapters.py
201
+ allowed_occurrences:
202
+ - path: ^AGENTS\.md$
203
+ text: skills/agentera/SKILL\.md|Agentera routing entry point
204
+ classification: canonical
205
+ reason: AGENTS guidance names the concrete Agentera routing entry point.
206
+ - path: ^README\.md$
207
+ text: skills/agentera/SKILL\.md|Agentera routing entry point
208
+ classification: canonical
209
+ reason: README names the canonical routing entry point and concrete linked path.
210
+ - path: ^references/cli/vocabulary\.md$
211
+ text: references/cli/bundle-skill-vocabulary\.yaml|Bundle and SKILL\.md vocabulary
212
+ classification: canonical
213
+ reason: Vocabulary docs delegate this exact concept family to this authority.
214
+ - path: ^references/cli/vocabulary\.md$
215
+ text: Agentera app files need repair|bundle freshness|bundle refresh|required repair Agentera app files|install status check failed
216
+ classification: historical
217
+ reason: Decision 44 replacement tables preserve deprecated bundle wording as historical examples.
218
+ - path: ^references/cli/vocabulary\.md$
219
+ text: skills/agentera/SKILL\.md|SKILL\.md`
220
+ classification: canonical
221
+ reason: Vocabulary docs use concrete skill entry file paths and source-index references.
222
+ - path: ^references/cli/vocabulary\.md$
223
+ text: --only bundle|\.agentera-bundle\.json|bundle\.status|activeBundleRoot|bundle-status
224
+ classification: compatibility-preserved
225
+ reason: Vocabulary docs preserve shipped compatibility identifiers and removed command references.
226
+ - path: ^references/adapters/opencode\.md$
227
+ text: bundled Agentera dashboard path|bundled `agentera` skill|bundled Agentera
228
+ classification: generic
229
+ reason: OpenCode adapter prose uses bundled in the ordinary package-shipping sense, not as Agentera app-file terminology.
230
+ - path: ^references/adapters/opencode\.md$
231
+ text: SKILL\.md files|<name>/SKILL\.md|skills/\*/SKILL\.md|skills/agentera/SKILL\.md
232
+ classification: compatibility-preserved
233
+ reason: OpenCode adapter prose documents concrete runtime skill entry file paths.
234
+ - path: ^scripts/measure_token_payload\.py$
235
+ text: 'v1 baseline: all 12 v1 SKILL\.md files|skill_root / "SKILL\.md"'
236
+ classification: historical
237
+ reason: Token payload measurement preserves the historical v1 SKILL.md baseline and concrete path construction.
238
+ - path: ^skills/agentera/SKILL\.md$
239
+ text: \.agentera-bundle\.json|bundle\.status|bundle\.dryRunCommand
240
+ classification: compatibility-preserved
241
+ reason: The routing entry documents CLI-provided compatibility fields and marker files that still exist.
242
+ - path: ^skills/agentera/SKILL\.md$
243
+ text: SKILL\.md\s+# This file
244
+ classification: canonical
245
+ reason: The directory listing names the actual Agentera routing entry file.
246
+ - path: ^tests/test_cross_capability\.py$
247
+ text: SKILL_MD_PATH|test_master_bundle_health_gate|bundle\.status|bundle\.dryRunCommand
248
+ classification: fixture-only
249
+ reason: Cross-capability tests assert compatibility wording and historical test names.
250
+ - path: ^tests/test_runtime_adapters\.py$
251
+ text: .
252
+ classification: fixture-only
253
+ reason: Runtime adapter tests use fixture paths, expected diagnostics, package metadata, and compatibility test class names.
254
+ compatibility_identifiers:
255
+ bundle:
256
+ - .agentera-bundle.json
257
+ - bundle.status
258
+ - activeBundleRoot
259
+ - "--only bundle"
260
+ - bundle.dryRunCommand
261
+ skill_entry_file:
262
+ - skills/agentera/SKILL.md
263
+ - skills/*/SKILL.md
264
+ - SKILL.md
265
+ package_metadata_values:
266
+ - suite-bundle
267
+ - agentera/bundle
268
+ - bundle-only enhancements
269
+ historical_terms:
270
+ - agentera bundle-status
271
+ - bundle-status
272
+ - single-bundle model
273
+ - Agentera skill dispatcher
274
+ docs_delegation:
275
+ document: references/cli/vocabulary.md
276
+ required_anchor: Bundle and SKILL.md vocabulary
277
+ authority_path: references/cli/bundle-skill-vocabulary.yaml
278
+ must_not_duplicate_large_table: true
@@ -0,0 +1,123 @@
1
+ schema_version: agentera.capability_instruction_contract.v1
2
+ status: active_authority
3
+ decision: 57
4
+ purpose: >-
5
+ Define the Decision 57 capability instruction-file contract: the canonical
6
+ `instructions.md` file name, implemented CLI/schema first-invocation read
7
+ discoverability, compact-startup exception boundaries, and runtime behavior
8
+ that remains intentionally unsupported.
9
+ sources:
10
+ decision: .agentera/decisions.yaml#decision-57
11
+ prose:
12
+ - references/cli/vocabulary.md#capability-instruction-contract
13
+ - README.md#development
14
+ scope:
15
+ includes:
16
+ - Documentation authority for the implemented capability instruction-file name.
17
+ - CLI/schema discoverability for first capability invocation startup-read metadata.
18
+ - Compact-startup exception semantics and boundaries.
19
+ - Current canonical references to existing `instructions.md` files.
20
+ - Explicit separation from runtime behavior work.
21
+ excludes:
22
+ - Implementing first-invocation read behavior.
23
+ - Marking Decision 57 satisfied or editing protected vision/objective/profile/installed-app state.
24
+ current_state:
25
+ canonical_instruction_file:
26
+ path: skills/agentera/capabilities/<name>/instructions.md
27
+ status: current_canonical_implemented
28
+ definition: >-
29
+ The human-readable instruction file for each capability.
30
+ legacy_instruction_file:
31
+ path: skills/agentera/capabilities/<name>/prose.md
32
+ status: historical_or_compatibility_evidence_only
33
+ definition: >-
34
+ The former capability instruction filename. It may survive only in archived
35
+ history, compatibility fixtures, benchmark evidence, or explicit migration
36
+ documentation; real capability directories do not use it as canonical.
37
+ validator_requirement:
38
+ current_required_path: instructions.md
39
+ future_required_path: instructions.md
40
+ status: current_requirement_enforced
41
+ cli_metadata:
42
+ field: first_invocation_read
43
+ status: emitted_in_prime_capability_context
44
+ current_behavior: >-
45
+ `agentera prime --context <name> --format json` emits
46
+ `capability_context` metadata including `first_invocation_read` for
47
+ supported capabilities. Historical `hej --capability-context` is removed in 3.0.
48
+ first_invocation_read:
49
+ field_status: cli_schema_discoverability_implemented
50
+ definition: >-
51
+ Capability metadata declaring what instruction content an agent must read on
52
+ the first invocation of that capability in a session.
53
+ allowed_values:
54
+ full:
55
+ meaning: >-
56
+ The first capability invocation must read `instructions.md` in full before
57
+ executing capability-specific work.
58
+ obligation: full_instruction_file_read_required
59
+ compact_startup:
60
+ meaning: >-
61
+ A declared compact startup contract may satisfy initial orientation without
62
+ reading the full instruction file first.
63
+ obligation: compact_contract_must_name_covered_guidance_and_escalation_rules
64
+ skip:
65
+ meaning: >-
66
+ No first-invocation instruction read is required for the declared scope.
67
+ obligation: requires_explicit_contract_justification
68
+ caution: >-
69
+ Reserved for narrow future surfaces; not a default and not implemented by
70
+ this authority.
71
+ default_rule: full
72
+ full_read_obligation: >-
73
+ On initial capability invocation, read `instructions.md` in full unless that
74
+ capability declares a compact-startup exception with explicit coverage and
75
+ escalation boundaries.
76
+ compact_startup_exception:
77
+ status: implemented_for_planera_compact_startup_discoverability
78
+ allowed_when:
79
+ - A machine-readable startup contract is available through supported state access.
80
+ - The compact contract states which instruction topics it covers.
81
+ - The compact contract states when the agent must escalate to a full instruction-file read.
82
+ - The compact contract preserves unsupported-command and raw-artifact-read boundaries.
83
+ not_allowed_when:
84
+ - The agent is editing the capability's own instructions or schemas.
85
+ - The compact contract is missing, incomplete, stale, or contradictory.
86
+ - The requested work touches behavior not covered by the compact contract.
87
+ - Safety rails, validation, exit semantics, or cross-capability boundaries are ambiguous.
88
+ implementation_state:
89
+ instructions_md_files: renamed
90
+ validators_require_instructions_md: true
91
+ first_invocation_read_cli_metadata: true
92
+ first_invocation_read_schema_metadata: true
93
+ runtime_first_invocation_behavior: false
94
+ descriptors_rewritten_to_instructions_md: true
95
+ package_metadata_rewritten_to_instructions_md: true
96
+ compatibility_preservation:
97
+ preserve_legacy_references_only_when_classified:
98
+ - skills/agentera/capabilities/*/instructions.md paths
99
+ - skills/agentera/capability_schema_contract.yaml directory requirements
100
+ - runtime descriptors and generated agent guidance that point to `instructions.md`
101
+ - archived v1/v2 migration records and progress evidence
102
+ - compatibility fixtures and tests that intentionally preserve old behavior evidence
103
+ - README, AGENTS, and vocabulary references that explicitly describe the current canonical state
104
+ resolved_implementation_todos:
105
+ metadata_feature: >-
106
+ Added `first_invocation_read` metadata and surfaced required instruction
107
+ reads through capability context output.
108
+ validation_regression: >-
109
+ Prove capability directories require `instructions.md`, reject new `prose.md`
110
+ conventions, emit required-read context, and preserve compact-startup exceptions.
111
+ surface_inventory:
112
+ decision_57: current_canonical_contract_source
113
+ todo_sequence: separates_docs_rename_metadata_and_validation_work
114
+ docs_vocabulary: delegates_to_this_authority
115
+ readme: concise_user_facing_current_and_future_authoring_seam
116
+ capability_schema_contract: current_canonical_validator_reference
117
+ runtime_descriptors: current_canonical_instructions_md_pointers
118
+ capability_instruction_files: current_canonical_instruction_files
119
+ docs_delegation:
120
+ document: references/cli/vocabulary.md
121
+ required_anchor: Capability instruction contract
122
+ authority_path: references/cli/capability-instruction-contract.yaml
123
+ must_not_duplicate_large_table: true
@@ -0,0 +1,53 @@
1
+ # Capability tool classification authority
2
+ # Defines which tools each capability subagent needs to fulfill its purpose.
3
+ # Consumed by: descriptor validation, regression tests, runtime adapter docs.
4
+ # Source of truth for per-capability tool requirements across all runtimes.
5
+
6
+ classification:
7
+ mutation_capable:
8
+ description: Needs file write, edit, and/or shell execution to fulfill purpose
9
+ capabilities:
10
+ realisera:
11
+ permission: {write: allow, bash: allow}
12
+ rationale: Autonomous dev execution — writes code, runs tests/builds, commits
13
+ optimera:
14
+ permission: {write: allow, bash: allow}
15
+ rationale: Metric-driven optimization — runs experiments, writes harnesses
16
+ orkestrera:
17
+ permission: {write: allow, bash: allow}
18
+ rationale: Multi-cycle orchestration — dispatches workers, updates plan/progress
19
+ dokumentera:
20
+ permission: {write: allow, bash: deny}
21
+ rationale: Documentation generation — creates/updates doc files
22
+ planera:
23
+ permission: {write: allow, bash: deny}
24
+ rationale: Plan management — writes plan.yaml, archives completed plans
25
+
26
+ contextual_write:
27
+ description: Writes owned Agentera state artifacts
28
+ capabilities:
29
+ visionera:
30
+ permission: {write: allow, bash: deny}
31
+ rationale: Writes vision.yaml, archives old visions
32
+ resonera:
33
+ permission: {write: allow, bash: deny}
34
+ rationale: Writes decisions.yaml, may update TODO.md
35
+ visualisera:
36
+ permission: {write: allow, bash: deny}
37
+ rationale: Writes DESIGN.md, archives old designs
38
+ profilera:
39
+ permission: {write: allow, bash: allow}
40
+ rationale: Runs extraction scripts, writes PROFILE.md
41
+ inspektera:
42
+ permission: {write: allow, bash: deny}
43
+ rationale: Writes health.yaml audit reports
44
+
45
+ read_only:
46
+ description: Only reads files, searches, analyzes
47
+ capabilities:
48
+ hej:
49
+ permission: {write: deny, bash: deny}
50
+ rationale: Strictly read-only orientation dashboard
51
+ inspirera:
52
+ permission: {write: deny, bash: deny}
53
+ rationale: Analysis-only creative exploration