agentera 0.0.0 → 3.0.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) 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 +233 -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 +120 -0
  23. package/bundle/references/cli/vocabulary-index.yaml +160 -0
  24. package/bundle/references/cli/vocabulary.md +562 -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 +545 -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 +49 -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 +962 -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 +1052 -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 +1269 -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 +197 -0
  227. package/dist/upgrade/channels.js.map +1 -0
  228. package/dist/upgrade/compatibility.js +197 -0
  229. package/dist/upgrade/compatibility.js.map +1 -0
  230. package/dist/upgrade/doctor.js +368 -0
  231. package/dist/upgrade/doctor.js.map +1 -0
  232. package/dist/upgrade/migrateArtifactsV2ToV3.js +412 -0
  233. package/dist/upgrade/migrateArtifactsV2ToV3.js.map +1 -0
  234. package/dist/upgrade/upgradeCommands.js +40 -0
  235. package/dist/upgrade/upgradeCommands.js.map +1 -0
  236. package/dist/upgrade/upgradeOrchestrator.js +280 -0
  237. package/dist/upgrade/upgradeOrchestrator.js.map +1 -0
  238. package/dist/validate/appHomeContract.js +150 -0
  239. package/dist/validate/appHomeContract.js.map +1 -0
  240. package/dist/validate/capability.js +412 -0
  241. package/dist/validate/capability.js.map +1 -0
  242. package/dist/validate/crossCapability.js +145 -0
  243. package/dist/validate/crossCapability.js.map +1 -0
  244. package/dist/validate/lifecycleAdapters.js +772 -0
  245. package/dist/validate/lifecycleAdapters.js.map +1 -0
  246. package/dist/validate/selfAudit.js +107 -0
  247. package/dist/validate/selfAudit.js.map +1 -0
  248. package/package.json +28 -8
  249. package/LICENSE +0 -201
  250. package/bin/agentera.mjs +0 -50
  251. package/lib/exec.mjs +0 -116
  252. package/lib/resolve.mjs +0 -129
@@ -0,0 +1,110 @@
1
+ # Todo Artifact Schema
2
+ #
3
+ # Open issues and tasks maintained by realisera and inspektera. Severity-ranked
4
+ # checklist of work to be done, resolved items, and deferred work.
5
+ #
6
+ # Note: TODO.md is a human-facing Markdown artifact. It remains at the
7
+ # project root and is not migrated to YAML. This schema exists for validation
8
+ # and CLI discovery consistency.
9
+
10
+ meta:
11
+ name: todo
12
+ version: "1.0.0"
13
+ description: >-
14
+ Open issues and tasks. Produced by capabilities that file work or findings.
15
+ Human-facing: remains Markdown at project root.
16
+ artifact_type: human_facing
17
+ path: "TODO.md"
18
+ producer:
19
+ [
20
+ dokumentera,
21
+ inspektera,
22
+ inspirera,
23
+ optimera,
24
+ orkestrera,
25
+ realisera,
26
+ resonera,
27
+ visualisera,
28
+ ]
29
+ consumers: [hej, all_skills]
30
+ format: markdown
31
+
32
+ GROUP_PREFIXES:
33
+ BUDGET: TB
34
+ ITEM: TI
35
+ VALIDATION: TV
36
+ CONVENTION: TC
37
+
38
+ BUDGET:
39
+ 1:
40
+ id: TB1
41
+ token_budget: 5000
42
+ description: >-
43
+ Maximum tokens for TODO.md content. Exceeding triggers compaction.
44
+
45
+ ITEM:
46
+ 1:
47
+ id: TI1
48
+ field: severity
49
+ type: string
50
+ required: true
51
+ description: >-
52
+ Issue severity per protocol.yaml SEVERITY_ISSUE:
53
+ critical (⇶), degraded (⇉), normal (→), annoying (⇢).
54
+ validation:
55
+ - "Must be one of: critical, degraded, normal, annoying"
56
+ 2:
57
+ id: TI2
58
+ field: description
59
+ type: string
60
+ required: true
61
+ description: >-
62
+ Brief description of the task or issue.
63
+ 3:
64
+ id: TI3
65
+ field: status
66
+ type: string
67
+ required: true
68
+ description: >-
69
+ Current status: open or resolved.
70
+ validation:
71
+ - "Must be one of: open, resolved"
72
+
73
+ CONVENTION:
74
+ 1:
75
+ id: TC1
76
+ field: type_tag
77
+ level: advisory
78
+ description: >-
79
+ Each item should carry a type tag such as [fix], [feat], [chore],
80
+ [test], [perf], or [docs] for commit-scope alignment and scan
81
+ discoverability.
82
+ 2:
83
+ id: TC2
84
+ field: version_suffix
85
+ level: advisory
86
+ description: >-
87
+ Feature and fix items should include a version scope like [fix:2.4.x]
88
+ or [feat:2.3.x] when the work targets a specific release train.
89
+ 3:
90
+ id: TC3
91
+ field: title_format
92
+ level: advisory
93
+ description: >-
94
+ Items within the same severity section should use a consistent format:
95
+ either all plain prose or all "**BoldTitle**: description".
96
+ 4:
97
+ id: TC4
98
+ field: resolved_summary
99
+ level: advisory
100
+ description: >-
101
+ Resolved items should end with "· resolved by ..." to distinguish
102
+ completed work from open or deferred items at a glance.
103
+ 5:
104
+ id: TC5
105
+ field: resolved_strikethrough
106
+ level: advisory
107
+ description: >-
108
+ Resolved items should wrap the original task text in Markdown
109
+ strikethrough (~~text~~) before the resolution summary, keeping
110
+ the original intent readable while visually marking it closed.
@@ -0,0 +1,262 @@
1
+ # Vision Artifact Schema
2
+ #
3
+ # Project vision document. Captures the north star, target personas, design
4
+ # principles, strategic direction, identity (personality, voice, emotional
5
+ # register, naming), and the core tension the project navigates.
6
+ #
7
+ # Structural pattern: UPPER_CASE groups with numbered entries and stable IDs,
8
+ # following capability_schema_contract.yaml and protocol.yaml conventions.
9
+ #
10
+ # ── Field-by-field mapping: v1 VISION.md → v2 vision.yaml ──
11
+ #
12
+ # v1 Field v2 Field v2 ID
13
+ # ─────────────────────────────────────────────────────────────────────
14
+ # # <project name> HEADER.project_name VN1
15
+ # ## North Star NORTH_STAR.content VN2
16
+ # ## Who It's For / ### persona name PERSONA.entry VN3
17
+ # (persona heading) PERSONA.name VN4
18
+ # (persona prose) PERSONA.description VN5
19
+ # ## Principles / - principle PRINCIPLE.entry VN6
20
+ # (bold name + description) PRINCIPLE.name VN7
21
+ # (principle prose) PRINCIPLE.description VN8
22
+ # ## Direction DIRECTION.content VN9
23
+ # ## Identity / ### Personality IDENTITY.personality VN10
24
+ # ## Identity / ### Voice IDENTITY.voice VN11
25
+ # ## Identity / ### Emotional register IDENTITY.emotional_register VN12
26
+ # ## Identity / ### Naming IDENTITY.naming VN13
27
+ # ## The Tension TENSION.content VN14
28
+ #
29
+ # Protocol references:
30
+ # No protocol primitives directly. Vision defines project-level identity
31
+ # that capabilities reference for voice and personality consistency.
32
+ # Skills never push to remote repos or modify VISION during execution cycles.
33
+
34
+ meta:
35
+ name: vision
36
+ version: "1.0.0"
37
+ description: >-
38
+ Project vision. Produced by visionera and direction-shaping capabilities.
39
+ Consumed by capabilities that need strategic alignment. No compaction:
40
+ vision is not a growing artifact.
41
+ artifact_type: agent_facing
42
+ path: ".agentera/vision.yaml"
43
+ producer: [inspirera, realisera, resonera, visionera]
44
+ consumers: [dokumentera, hej, inspektera, orkestrera, planera, realisera, resonera, visionera, visualisera]
45
+ format: yaml
46
+
47
+ GROUP_PREFIXES:
48
+ BUDGET: VB
49
+ HEADER: VH
50
+ NORTH_STAR: VN_NS
51
+ PERSONA: VN_PE
52
+ PRINCIPLE: VN_PR
53
+ DIRECTION: VN_DIR
54
+ IDENTITY: VN_ID
55
+ TENSION: VN_TN
56
+ VALIDATION: VVL
57
+
58
+ BUDGET:
59
+ 1:
60
+ id: VB1
61
+ scope: full_file
62
+ max_words: 1500
63
+ description: >-
64
+ Maximum words for the full file. Vision should be concise and
65
+ stable. Budgets are guidelines, not hard blockers.
66
+ 2:
67
+ id: VB2
68
+ scope: compaction
69
+ rule: none
70
+ description: >-
71
+ No compaction. Vision is not a growing artifact. It is written
72
+ once (or refined infrequently) and never accumulates entries.
73
+
74
+ HEADER:
75
+ 1:
76
+ id: VH1
77
+ field: project_name
78
+ type: string
79
+ required: true
80
+ description: >-
81
+ Project name. Appears as the top-level heading. Must match the
82
+ project identity.
83
+ validation:
84
+ - "Non-empty string"
85
+
86
+ NORTH_STAR:
87
+ 1:
88
+ id: VN_NS1
89
+ field: content
90
+ type: string
91
+ required: true
92
+ description: >-
93
+ The project's north star. A concise statement of what the project
94
+ is, who it serves, and why it exists. Should be the single
95
+ paragraph that orients all decisions.
96
+ validation:
97
+ - "Non-empty string"
98
+
99
+ PERSONA:
100
+ 1:
101
+ id: VN_PE1
102
+ field: entry
103
+ type: map
104
+ required: true
105
+ description: >-
106
+ Each persona entry. At least one persona required. Personas
107
+ describe the target users in vivid narrative detail.
108
+ min_count: 1
109
+ 2:
110
+ id: VN_PE2
111
+ field: name
112
+ parent: PERSONA.entry
113
+ type: string
114
+ required: true
115
+ description: >-
116
+ Persona name or archetype label (e.g., 'The solo founder who
117
+ knows better').
118
+ validation:
119
+ - "Non-empty string"
120
+ 3:
121
+ id: VN_PE3
122
+ field: description
123
+ parent: PERSONA.entry
124
+ type: string
125
+ required: true
126
+ description: >-
127
+ Narrative description of the persona. Describes their context,
128
+ pain points, goals, and how the project serves them.
129
+ validation:
130
+ - "Non-empty string"
131
+
132
+ PRINCIPLE:
133
+ 1:
134
+ id: VN_PR1
135
+ field: entry
136
+ type: map
137
+ required: true
138
+ description: >-
139
+ Each design principle. At least one required. Principles guide
140
+ all design and implementation decisions.
141
+ min_count: 1
142
+ 2:
143
+ id: VN_PR2
144
+ field: name
145
+ parent: PRINCIPLE.entry
146
+ type: string
147
+ required: true
148
+ description: >-
149
+ Short bold-name for the principle (e.g., 'One entry point,
150
+ deep capabilities').
151
+ validation:
152
+ - "Non-empty string"
153
+ 3:
154
+ id: VN_PR3
155
+ field: description
156
+ parent: PRINCIPLE.entry
157
+ type: string
158
+ required: true
159
+ description: >-
160
+ Full principle text. Explains what the principle means, why it
161
+ matters, and how it guides decisions.
162
+ validation:
163
+ - "Non-empty string"
164
+
165
+ DIRECTION:
166
+ 1:
167
+ id: VN_DIR1
168
+ field: content
169
+ type: string
170
+ required: true
171
+ description: >-
172
+ Strategic direction. Where the project is heading, what the
173
+ adoption arc looks like, and what the next layer of evolution
174
+ entails.
175
+ validation:
176
+ - "Non-empty string"
177
+
178
+ IDENTITY:
179
+ 1:
180
+ id: VN_ID1
181
+ field: personality
182
+ type: string
183
+ required: true
184
+ description: >-
185
+ The project's personality. A vivid metaphor or description
186
+ that captures the feel of interacting with the product.
187
+ validation:
188
+ - "Non-empty string"
189
+ 2:
190
+ id: VN_ID2
191
+ field: voice
192
+ type: string
193
+ required: true
194
+ description: >-
195
+ The project's voice and communication style. Describes tone,
196
+ register, and how capabilities communicate with users.
197
+ validation:
198
+ - "Non-empty string"
199
+ 3:
200
+ id: VN_ID3
201
+ field: emotional_register
202
+ type: string
203
+ required: true
204
+ description: >-
205
+ How using the project should feel. The emotional experience
206
+ design that guides all user-facing output.
207
+ validation:
208
+ - "Non-empty string"
209
+ 4:
210
+ id: VN_ID4
211
+ field: naming
212
+ type: string
213
+ required: true
214
+ description: >-
215
+ Naming conventions and rules. Describes the naming system,
216
+ its cultural roots, and the vocabulary of the work.
217
+ validation:
218
+ - "Non-empty string"
219
+
220
+ TENSION:
221
+ 1:
222
+ id: VN_TN1
223
+ field: content
224
+ type: string
225
+ required: true
226
+ description: >-
227
+ The core tension the project navigates. The fundamental
228
+ tradeoff or paradox that the design must resolve.
229
+ validation:
230
+ - "Non-empty string"
231
+
232
+ VALIDATION:
233
+ 1:
234
+ id: VVL1
235
+ rule: required_fields
236
+ severity: error
237
+ description: >-
238
+ The vision must have: project_name, north_star, at least one
239
+ persona, at least one principle, direction, and all identity
240
+ fields (personality, voice, emotional_register, naming), and
241
+ tension.
242
+ checks:
243
+ - "project_name is present and non-empty"
244
+ - "north_star.content is present and non-empty"
245
+ - "At least one persona entry exists"
246
+ - "Each persona has name and description"
247
+ - "At least one principle entry exists"
248
+ - "Each principle has name and description"
249
+ - "direction.content is present and non-empty"
250
+ - "identity.personality is present and non-empty"
251
+ - "identity.voice is present and non-empty"
252
+ - "identity.emotional_register is present and non-empty"
253
+ - "identity.naming is present and non-empty"
254
+ - "tension.content is present and non-empty"
255
+ 2:
256
+ id: VVL2
257
+ rule: word_budget
258
+ severity: advisory
259
+ description: >-
260
+ Advisory check. Full file should be <=1500 words.
261
+ checks:
262
+ - "Total file word count <= 1500"
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "hej",
3
+ "version": "2.0.3",
4
+ "description": "Legacy Agentera v1 explicit /hej bridge to the v2 /agentera upgrade flow; do not use for bare text hej.",
5
+ "author": { "name": "jgabor" }
6
+ }
@@ -0,0 +1,69 @@
1
+ ---
2
+ name: hej
3
+ description: >
4
+ Legacy Agentera v1 explicit /hej bridge. Use this only to guide existing
5
+ /hej installs toward the Agentera v2 /agentera entry point and idempotent
6
+ upgrade CLI. Do not use this skill for bare text `hej`; route that through
7
+ the bundled agentera skill and the agentera hej dashboard path.
8
+ version: "2.7.6"
9
+ legacy_bridge: true
10
+ ---
11
+
12
+ # hej legacy bridge
13
+
14
+ This skill exists only for users who still have the Agentera v1 `/hej`
15
+ entry point installed. Agentera v2 uses `/agentera` as the single active
16
+ entry point. A bare text message exactly `hej` is not this legacy bridge; it
17
+ belongs to the bundled `agentera` skill and its `agentera hej` dashboard path.
18
+
19
+ Do not run the old HEJ orientation workflow from v1. Do not produce the v1
20
+ dashboard. This bridge is an upgrade handoff.
21
+
22
+ ## When Loaded
23
+
24
+ 1. Explain briefly in plain language: `This is the old /hej entry point.
25
+ Agentera now starts from /agentera` (`$agentera` in Codex).
26
+ 2. Check the current project for v1 Markdown artifacts that do not yet have
27
+ v2 YAML counterparts:
28
+ - `.agentera/PROGRESS.md` without `.agentera/progress.yaml`
29
+ - `.agentera/PLAN.md` without `.agentera/plan.yaml`
30
+ - `.agentera/DECISIONS.md` without `.agentera/decisions.yaml`
31
+ - `.agentera/HEALTH.md` without `.agentera/health.yaml`
32
+ - `.agentera/DOCS.md` without `.agentera/docs.yaml`
33
+ - root `VISION.md` without `.agentera/vision.yaml`
34
+ 3. If any old project state is present, show the affected files and run or offer
35
+ this preview command. Say clearly that the preview changes nothing:
36
+
37
+ ```bash
38
+ npx -y agentera@latest doctor
39
+ ```
40
+
41
+ 4. Ask before applying changes. Explain the apply step plainly: it installs or
42
+ repairs Agentera's local app, updates managed runtime surfaces, and converts
43
+ old Agentera project notes to the new format with backups. It will not edit
44
+ shell startup files. After explicit confirmation, use:
45
+
46
+ ```bash
47
+ npx -y agentera@latest prime
48
+ ```
49
+
50
+ agentera ships as a self-contained npm package: running the latest version
51
+ uses the newest bundled app data directly. There is no separate local app
52
+ install to copy or repair.
53
+
54
+ 5. To refresh the version a runtime invokes, point its command at
55
+ `npx -y agentera@latest` (or a pinned `agentera@<version>`).
56
+
57
+ 6. End by telling the user to invoke `/agentera` (`$agentera` in Codex).
58
+
59
+ ## Safety
60
+
61
+ - Never mutate project artifacts or runtime installs without explicit
62
+ confirmation from the user.
63
+ - Never ask Agentera to edit shell startup files. Leftover 1.x managed marker
64
+ blocks reported by doctor are user-owned manual cleanup.
65
+ Upgrade does not scan shell startup files.
66
+ - Prefer `npx -y agentera@latest` so the newest published self-contained package
67
+ is used without a separate install step.
68
+ - From a local Agentera checkout, the equivalent is
69
+ `node packages/cli/dist/bin/agentera.js …` after `pnpm -C packages/cli build`.
@@ -0,0 +1,11 @@
1
+ name = "hej"
2
+ description = "Legacy Agentera v1 explicit /hej bridge to the v2 /agentera upgrade flow; do not use for bare text hej."
3
+ developer_instructions = """You are the Agentera legacy hej bridge.
4
+
5
+ Read the bridge workflow at ${AGENTERA_HOME}/skills/hej/SKILL.md when available.
6
+ Do not run the old v1 HEJ orientation workflow. Your job is to detect whether
7
+ the project still has Agentera v1 artifacts, preview the v2 upgrade command,
8
+ ask before applying changes, and route the user to /agentera after upgrade.
9
+ Do not handle a bare text message exactly hej; that belongs to the bundled
10
+ agentera skill and its agentera hej dashboard path.
11
+ """
@@ -0,0 +1,8 @@
1
+ version: 1
2
+ skill:
3
+ name: hej
4
+ display_name: Agentera v1 upgrade bridge
5
+ description: Legacy Agentera v1 explicit $hej bridge to the v2 $agentera upgrade flow; do not use for bare text hej.
6
+ invocation_hint: Use $hej only when explicitly requested for an old Agentera v1 install; bare text hej belongs to $agentera.
7
+ policy:
8
+ allow_implicit_invocation: false