@jaimevalasek/aioson 1.3.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 (288) hide show
  1. package/CHANGELOG.md +456 -0
  2. package/CODE_OF_CONDUCT.md +12 -0
  3. package/CONTRIBUTING.md +13 -0
  4. package/LICENSE +21 -0
  5. package/README.md +254 -0
  6. package/bin/aioson.js +4 -0
  7. package/docs/en/cli-reference.md +398 -0
  8. package/docs/en/i18n.md +52 -0
  9. package/docs/en/json-schemas.md +41 -0
  10. package/docs/en/mcp.md +56 -0
  11. package/docs/en/parallel.md +82 -0
  12. package/docs/en/qa-browser.md +339 -0
  13. package/docs/en/release-flow.md +22 -0
  14. package/docs/en/release-notes-template.md +41 -0
  15. package/docs/en/release.md +28 -0
  16. package/docs/en/schemas/agent-prompt.schema.json +17 -0
  17. package/docs/en/schemas/agents.schema.json +32 -0
  18. package/docs/en/schemas/context-validate.schema.json +36 -0
  19. package/docs/en/schemas/doctor.schema.json +89 -0
  20. package/docs/en/schemas/error.schema.json +24 -0
  21. package/docs/en/schemas/i18n-add.schema.json +15 -0
  22. package/docs/en/schemas/index.json +116 -0
  23. package/docs/en/schemas/info.schema.json +39 -0
  24. package/docs/en/schemas/init.schema.json +48 -0
  25. package/docs/en/schemas/install.schema.json +60 -0
  26. package/docs/en/schemas/locale-apply.schema.json +30 -0
  27. package/docs/en/schemas/mcp-doctor.schema.json +95 -0
  28. package/docs/en/schemas/mcp-init.schema.json +122 -0
  29. package/docs/en/schemas/package-test.schema.json +24 -0
  30. package/docs/en/schemas/parallel-assign.schema.json +57 -0
  31. package/docs/en/schemas/parallel-doctor.schema.json +86 -0
  32. package/docs/en/schemas/parallel-init.schema.json +53 -0
  33. package/docs/en/schemas/parallel-status.schema.json +94 -0
  34. package/docs/en/schemas/setup-context.schema.json +39 -0
  35. package/docs/en/schemas/smoke.schema.json +23 -0
  36. package/docs/en/schemas/update.schema.json +48 -0
  37. package/docs/en/schemas/workflow-plan.schema.json +30 -0
  38. package/docs/en/web3.md +54 -0
  39. package/docs/pt/README.md +46 -0
  40. package/docs/pt/advisor-spec.md +335 -0
  41. package/docs/pt/agentes.md +453 -0
  42. package/docs/pt/cenarios.md +1230 -0
  43. package/docs/pt/clientes-ai.md +224 -0
  44. package/docs/pt/comandos-cli.md +511 -0
  45. package/docs/pt/genome-3.0-spec.md +296 -0
  46. package/docs/pt/guia-engineer.md +226 -0
  47. package/docs/pt/inicio-rapido.md +138 -0
  48. package/docs/pt/profiler-system.md +214 -0
  49. package/docs/pt/runtime-observability.md +72 -0
  50. package/docs/pt/squad-genoma.md +777 -0
  51. package/docs/pt/web3.md +797 -0
  52. package/docs/testing/genome-2.0-manual-regression.md +23 -0
  53. package/docs/testing/genome-2.0-matrix.md +36 -0
  54. package/docs/testing/genome-2.0-rollout.md +184 -0
  55. package/package.json +50 -0
  56. package/src/agents.js +56 -0
  57. package/src/cli.js +497 -0
  58. package/src/commands/agents.js +142 -0
  59. package/src/commands/cloud.js +1767 -0
  60. package/src/commands/config.js +90 -0
  61. package/src/commands/context-validate.js +91 -0
  62. package/src/commands/doctor.js +123 -0
  63. package/src/commands/genome-doctor.js +41 -0
  64. package/src/commands/genome-migrate.js +49 -0
  65. package/src/commands/i18n-add.js +56 -0
  66. package/src/commands/info.js +41 -0
  67. package/src/commands/init.js +75 -0
  68. package/src/commands/install.js +68 -0
  69. package/src/commands/locale-apply.js +51 -0
  70. package/src/commands/locale-diff.js +126 -0
  71. package/src/commands/mcp-doctor.js +406 -0
  72. package/src/commands/mcp-init.js +379 -0
  73. package/src/commands/package-e2e.js +273 -0
  74. package/src/commands/parallel-assign.js +403 -0
  75. package/src/commands/parallel-doctor.js +437 -0
  76. package/src/commands/parallel-init.js +249 -0
  77. package/src/commands/parallel-status.js +290 -0
  78. package/src/commands/qa-doctor.js +185 -0
  79. package/src/commands/qa-init.js +161 -0
  80. package/src/commands/qa-report.js +58 -0
  81. package/src/commands/qa-run.js +873 -0
  82. package/src/commands/qa-scan.js +337 -0
  83. package/src/commands/runtime.js +948 -0
  84. package/src/commands/scan-project.js +1107 -0
  85. package/src/commands/setup-context.js +650 -0
  86. package/src/commands/smoke.js +426 -0
  87. package/src/commands/squad-doctor.js +358 -0
  88. package/src/commands/squad-export.js +46 -0
  89. package/src/commands/squad-pipeline.js +97 -0
  90. package/src/commands/squad-repair-genomes.js +39 -0
  91. package/src/commands/squad-status.js +424 -0
  92. package/src/commands/squad-validate.js +230 -0
  93. package/src/commands/test-agents.js +194 -0
  94. package/src/commands/update.js +55 -0
  95. package/src/commands/workflow-next.js +594 -0
  96. package/src/commands/workflow-plan.js +108 -0
  97. package/src/constants.js +314 -0
  98. package/src/context-parse-reason.js +22 -0
  99. package/src/context-writer.js +150 -0
  100. package/src/context.js +217 -0
  101. package/src/detector.js +261 -0
  102. package/src/doctor.js +289 -0
  103. package/src/execution-gateway.js +461 -0
  104. package/src/genome-files.js +198 -0
  105. package/src/genome-format.js +442 -0
  106. package/src/genome-schema.js +215 -0
  107. package/src/genomes/bindings.js +281 -0
  108. package/src/genomes.js +467 -0
  109. package/src/i18n/index.js +103 -0
  110. package/src/i18n/messages/en.js +784 -0
  111. package/src/i18n/messages/es.js +718 -0
  112. package/src/i18n/messages/fr.js +725 -0
  113. package/src/i18n/messages/pt-BR.js +818 -0
  114. package/src/i18n/scaffold.js +64 -0
  115. package/src/installer.js +232 -0
  116. package/src/lib/genomes/compat.js +206 -0
  117. package/src/lib/genomes/migrate.js +90 -0
  118. package/src/lib/squads/genome-repair.js +49 -0
  119. package/src/locales.js +84 -0
  120. package/src/onboarding.js +305 -0
  121. package/src/parser.js +53 -0
  122. package/src/prompt-tool.js +20 -0
  123. package/src/qa-html-report.js +472 -0
  124. package/src/runtime-store.js +1527 -0
  125. package/src/squads/apply-genome.js +21 -0
  126. package/src/squads/genome-binding-service.js +154 -0
  127. package/src/updater.js +32 -0
  128. package/src/utils.js +46 -0
  129. package/src/version.js +50 -0
  130. package/template/.aioson/advisors/.gitkeep +1 -0
  131. package/template/.aioson/agents/analyst.md +225 -0
  132. package/template/.aioson/agents/architect.md +221 -0
  133. package/template/.aioson/agents/dev.md +201 -0
  134. package/template/.aioson/agents/discovery-design-doc.md +196 -0
  135. package/template/.aioson/agents/genoma.md +300 -0
  136. package/template/.aioson/agents/orchestrator.md +107 -0
  137. package/template/.aioson/agents/pm.md +89 -0
  138. package/template/.aioson/agents/product.md +361 -0
  139. package/template/.aioson/agents/profiler-enricher.md +266 -0
  140. package/template/.aioson/agents/profiler-forge.md +188 -0
  141. package/template/.aioson/agents/profiler-researcher.md +245 -0
  142. package/template/.aioson/agents/qa.md +344 -0
  143. package/template/.aioson/agents/setup.md +381 -0
  144. package/template/.aioson/agents/squad.md +837 -0
  145. package/template/.aioson/agents/ux-ui.md +416 -0
  146. package/template/.aioson/config.md +56 -0
  147. package/template/.aioson/context/.gitkeep +0 -0
  148. package/template/.aioson/context/parallel/.gitkeep +0 -0
  149. package/template/.aioson/context/spec.md.template +37 -0
  150. package/template/.aioson/genomas/.gitkeep +0 -0
  151. package/template/.aioson/locales/en/agents/analyst.md +214 -0
  152. package/template/.aioson/locales/en/agents/architect.md +210 -0
  153. package/template/.aioson/locales/en/agents/dev.md +187 -0
  154. package/template/.aioson/locales/en/agents/discovery-design-doc.md +27 -0
  155. package/template/.aioson/locales/en/agents/genoma.md +212 -0
  156. package/template/.aioson/locales/en/agents/orchestrator.md +105 -0
  157. package/template/.aioson/locales/en/agents/pm.md +77 -0
  158. package/template/.aioson/locales/en/agents/product.md +310 -0
  159. package/template/.aioson/locales/en/agents/profiler-enricher.md +5 -0
  160. package/template/.aioson/locales/en/agents/profiler-forge.md +5 -0
  161. package/template/.aioson/locales/en/agents/profiler-researcher.md +5 -0
  162. package/template/.aioson/locales/en/agents/qa.md +214 -0
  163. package/template/.aioson/locales/en/agents/setup.md +342 -0
  164. package/template/.aioson/locales/en/agents/squad.md +247 -0
  165. package/template/.aioson/locales/en/agents/ux-ui.md +320 -0
  166. package/template/.aioson/locales/es/agents/analyst.md +203 -0
  167. package/template/.aioson/locales/es/agents/architect.md +208 -0
  168. package/template/.aioson/locales/es/agents/dev.md +183 -0
  169. package/template/.aioson/locales/es/agents/discovery-design-doc.md +19 -0
  170. package/template/.aioson/locales/es/agents/genoma.md +102 -0
  171. package/template/.aioson/locales/es/agents/orchestrator.md +108 -0
  172. package/template/.aioson/locales/es/agents/pm.md +81 -0
  173. package/template/.aioson/locales/es/agents/product.md +310 -0
  174. package/template/.aioson/locales/es/agents/profiler-enricher.md +5 -0
  175. package/template/.aioson/locales/es/agents/profiler-forge.md +5 -0
  176. package/template/.aioson/locales/es/agents/profiler-researcher.md +5 -0
  177. package/template/.aioson/locales/es/agents/qa.md +163 -0
  178. package/template/.aioson/locales/es/agents/setup.md +347 -0
  179. package/template/.aioson/locales/es/agents/squad.md +247 -0
  180. package/template/.aioson/locales/es/agents/ux-ui.md +201 -0
  181. package/template/.aioson/locales/fr/agents/analyst.md +203 -0
  182. package/template/.aioson/locales/fr/agents/architect.md +208 -0
  183. package/template/.aioson/locales/fr/agents/dev.md +183 -0
  184. package/template/.aioson/locales/fr/agents/discovery-design-doc.md +19 -0
  185. package/template/.aioson/locales/fr/agents/genoma.md +102 -0
  186. package/template/.aioson/locales/fr/agents/orchestrator.md +108 -0
  187. package/template/.aioson/locales/fr/agents/pm.md +81 -0
  188. package/template/.aioson/locales/fr/agents/product.md +310 -0
  189. package/template/.aioson/locales/fr/agents/profiler-enricher.md +5 -0
  190. package/template/.aioson/locales/fr/agents/profiler-forge.md +5 -0
  191. package/template/.aioson/locales/fr/agents/profiler-researcher.md +5 -0
  192. package/template/.aioson/locales/fr/agents/qa.md +163 -0
  193. package/template/.aioson/locales/fr/agents/setup.md +347 -0
  194. package/template/.aioson/locales/fr/agents/squad.md +247 -0
  195. package/template/.aioson/locales/fr/agents/ux-ui.md +201 -0
  196. package/template/.aioson/locales/pt-BR/agents/analyst.md +217 -0
  197. package/template/.aioson/locales/pt-BR/agents/architect.md +213 -0
  198. package/template/.aioson/locales/pt-BR/agents/dev.md +198 -0
  199. package/template/.aioson/locales/pt-BR/agents/discovery-design-doc.md +198 -0
  200. package/template/.aioson/locales/pt-BR/agents/genoma.md +297 -0
  201. package/template/.aioson/locales/pt-BR/agents/orchestrator.md +108 -0
  202. package/template/.aioson/locales/pt-BR/agents/pm.md +81 -0
  203. package/template/.aioson/locales/pt-BR/agents/product.md +316 -0
  204. package/template/.aioson/locales/pt-BR/agents/profiler-enricher.md +5 -0
  205. package/template/.aioson/locales/pt-BR/agents/profiler-forge.md +5 -0
  206. package/template/.aioson/locales/pt-BR/agents/profiler-researcher.md +5 -0
  207. package/template/.aioson/locales/pt-BR/agents/qa.md +217 -0
  208. package/template/.aioson/locales/pt-BR/agents/setup.md +371 -0
  209. package/template/.aioson/locales/pt-BR/agents/squad.md +772 -0
  210. package/template/.aioson/locales/pt-BR/agents/ux-ui.md +322 -0
  211. package/template/.aioson/mcp/servers.md +24 -0
  212. package/template/.aioson/profiler-reports/.gitkeep +1 -0
  213. package/template/.aioson/schemas/content-blueprint.schema.json +30 -0
  214. package/template/.aioson/schemas/genome-meta.schema.json +150 -0
  215. package/template/.aioson/schemas/genome.schema.json +115 -0
  216. package/template/.aioson/schemas/readiness.schema.json +27 -0
  217. package/template/.aioson/schemas/squad-blueprint.schema.json +172 -0
  218. package/template/.aioson/schemas/squad-manifest.schema.json +276 -0
  219. package/template/.aioson/skills/dynamic/README.md +30 -0
  220. package/template/.aioson/skills/dynamic/cardano-docs.md +16 -0
  221. package/template/.aioson/skills/dynamic/ethereum-docs.md +17 -0
  222. package/template/.aioson/skills/dynamic/flux-ui-docs.md +13 -0
  223. package/template/.aioson/skills/dynamic/laravel-docs.md +41 -0
  224. package/template/.aioson/skills/dynamic/npm-packages.md +16 -0
  225. package/template/.aioson/skills/dynamic/solana-docs.md +16 -0
  226. package/template/.aioson/skills/references/premium-command-center-ui/master-application-prompt.md +79 -0
  227. package/template/.aioson/skills/references/premium-command-center-ui/operational-ux-playbook.md +253 -0
  228. package/template/.aioson/skills/references/premium-command-center-ui/quality-validation-checklist.md +82 -0
  229. package/template/.aioson/skills/references/premium-command-center-ui/visual-system-and-component-patterns.md +270 -0
  230. package/template/.aioson/skills/static/django-patterns.md +342 -0
  231. package/template/.aioson/skills/static/fastapi-patterns.md +344 -0
  232. package/template/.aioson/skills/static/filament-patterns.md +267 -0
  233. package/template/.aioson/skills/static/flux-ui-components.md +262 -0
  234. package/template/.aioson/skills/static/git-conventions.md +227 -0
  235. package/template/.aioson/skills/static/interface-design.md +372 -0
  236. package/template/.aioson/skills/static/jetstream-setup.md +200 -0
  237. package/template/.aioson/skills/static/laravel-conventions.md +491 -0
  238. package/template/.aioson/skills/static/nextjs-patterns.md +321 -0
  239. package/template/.aioson/skills/static/node-express-patterns.md +317 -0
  240. package/template/.aioson/skills/static/node-typescript-patterns.md +282 -0
  241. package/template/.aioson/skills/static/premium-command-center-ui.md +190 -0
  242. package/template/.aioson/skills/static/rails-conventions.md +307 -0
  243. package/template/.aioson/skills/static/react-motion-patterns.md +577 -0
  244. package/template/.aioson/skills/static/static-html-patterns.md +1935 -0
  245. package/template/.aioson/skills/static/tall-stack-patterns.md +286 -0
  246. package/template/.aioson/skills/static/ui-ux-modern.md +75 -0
  247. package/template/.aioson/skills/static/web3-cardano-patterns.md +337 -0
  248. package/template/.aioson/skills/static/web3-ethereum-patterns.md +310 -0
  249. package/template/.aioson/skills/static/web3-security-checklist.md +284 -0
  250. package/template/.aioson/skills/static/web3-solana-patterns.md +324 -0
  251. package/template/.aioson/squads/.artisan/.gitkeep +0 -0
  252. package/template/.aioson/squads/.gitkeep +0 -0
  253. package/template/.aioson/squads/memory.md +5 -0
  254. package/template/.aioson/tasks/squad-analyze.md +83 -0
  255. package/template/.aioson/tasks/squad-create.md +99 -0
  256. package/template/.aioson/tasks/squad-design.md +100 -0
  257. package/template/.aioson/tasks/squad-export.md +20 -0
  258. package/template/.aioson/tasks/squad-extend.md +68 -0
  259. package/template/.aioson/tasks/squad-pipeline.md +122 -0
  260. package/template/.aioson/tasks/squad-repair.md +85 -0
  261. package/template/.aioson/tasks/squad-validate.md +58 -0
  262. package/template/.aioson/templates/squads/content-basic/template.json +21 -0
  263. package/template/.aioson/templates/squads/media-channel/template.json +24 -0
  264. package/template/.aioson/templates/squads/research-analysis/template.json +22 -0
  265. package/template/.aioson/templates/squads/software-delivery/template.json +21 -0
  266. package/template/.claude/commands/aioson/analyst.md +5 -0
  267. package/template/.claude/commands/aioson/architect.md +5 -0
  268. package/template/.claude/commands/aioson/dev.md +5 -0
  269. package/template/.claude/commands/aioson/orchestrator.md +5 -0
  270. package/template/.claude/commands/aioson/pm.md +5 -0
  271. package/template/.claude/commands/aioson/qa.md +5 -0
  272. package/template/.claude/commands/aioson/setup.md +5 -0
  273. package/template/.claude/commands/aioson/ux-ui.md +5 -0
  274. package/template/.gemini/GEMINI.md +10 -0
  275. package/template/.gemini/commands/aios-analyst.toml +4 -0
  276. package/template/.gemini/commands/aios-architect.toml +7 -0
  277. package/template/.gemini/commands/aios-dev.toml +8 -0
  278. package/template/.gemini/commands/aios-discovery-design-doc.toml +4 -0
  279. package/template/.gemini/commands/aios-orchestrator.toml +8 -0
  280. package/template/.gemini/commands/aios-pm.toml +8 -0
  281. package/template/.gemini/commands/aios-product.toml +4 -0
  282. package/template/.gemini/commands/aios-qa.toml +6 -0
  283. package/template/.gemini/commands/aios-setup.toml +3 -0
  284. package/template/.gemini/commands/aios-ux-ui.toml +8 -0
  285. package/template/AGENTS.md +67 -0
  286. package/template/CLAUDE.md +31 -0
  287. package/template/OPENCODE.md +24 -0
  288. package/template/aioson-models.json +40 -0
@@ -0,0 +1,188 @@
1
+ # Agent @profiler-forge
2
+
3
+ > ACTIVATED - You are now operating as @profiler-forge.
4
+
5
+ ## Language detection
6
+ Before any other action, detect the language of the user's first message:
7
+ - Portuguese -> check if `.aioson/locales/pt-BR/agents/profiler-forge.md` exists -> if yes, read it and follow it
8
+ - Spanish -> check `.aioson/locales/es/agents/profiler-forge.md` -> same
9
+ - French -> check `.aioson/locales/fr/agents/profiler-forge.md` -> same
10
+ - English or locale file not found -> continue here
11
+
12
+ ## Mission
13
+ You are the output generator of the Profiler System. You transform an enriched cognitive profile into deployable artifacts:
14
+ - Genoma 3.0
15
+ - Advisor Agent
16
+ - both, optionally applied to an existing squad
17
+
18
+ You do NOT research or analyze. You synthesize, structure, and format.
19
+
20
+ ## Activation
21
+ 1. Direct: `@profiler-forge [person-slug]`
22
+ 2. Sequential: after `@profiler-enricher`
23
+
24
+ ## Step 1 - Load enriched profile
25
+ Read `.aioson/profiler-reports/{slug}/enriched-profile.md`.
26
+
27
+ If the file does not exist, say:
28
+
29
+ > "No enriched profile found. Run the profiler pipeline first:
30
+ > 1. `@profiler-researcher [name]`
31
+ > 2. `@profiler-enricher [slug]`
32
+ > 3. Then return here."
33
+
34
+ ## Step 2 - Output selection
35
+ Summarize the loaded profile briefly, then ask which artifact to generate:
36
+
37
+ > "Cognitive profile loaded for **[Person Name]**.
38
+ > DISC: [XY] | Enneagram: [XwY] | MBTI: [XXXX]
39
+ > Evidence points: [count] | Confidence: [level]
40
+ >
41
+ > What would you like to generate?
42
+ > [1] Genoma 3.0
43
+ > [2] Advisor Agent
44
+ > [3] Both
45
+ > [4] Advisor + apply genome to an existing squad
46
+ > [5] Multi-persona Hybrid"
47
+
48
+ ## Step 3A - Generate Genoma 3.0
49
+ When the selection includes a genome, save:
50
+ `.aioson/genomas/{person-slug}-{domain-slug}.md`
51
+
52
+ The genome must keep the canonical Genoma sections and add the persona-specific v3 sections.
53
+
54
+ Required frontmatter:
55
+
56
+ ```yaml
57
+ ---
58
+ genome: [person-slug]-[domain-slug]
59
+ domain: "[Person Name] - [Domain]"
60
+ type: persona
61
+ language: [lang]
62
+ depth: deep
63
+ version: 3
64
+ format: genome-v3
65
+ evidence_mode: evidenced
66
+ generated: [YYYY-MM-DD]
67
+ sources_count: [count]
68
+ mentes: [count]
69
+ skills: [count]
70
+ persona_source: "[Full Name]"
71
+ disc: "[XY]"
72
+ enneagram: "[XwY]"
73
+ big_five: "O:[H] C:[M] E:[L] A:[L] N:[M]"
74
+ mbti: "[XXXX]"
75
+ confidence: [low/medium/high]
76
+ profiler_report: ".aioson/profiler-reports/[slug]/enriched-profile.md"
77
+ ---
78
+ ```
79
+
80
+ Required sections:
81
+ - `## O que saber`
82
+ - `## Filosofias`
83
+ - `## Modelos mentais`
84
+ - `## Heuristicas`
85
+ - `## Frameworks`
86
+ - `## Metodologias`
87
+ - `## Mentes`
88
+ - `## Skills`
89
+ - `## Perfil Cognitivo`
90
+ - `## Estilo de Comunicacao`
91
+ - `## Vieses e Pontos Cegos`
92
+ - `## Evidence`
93
+ - `## Application notes`
94
+
95
+ Generation rules:
96
+ - `O que saber` captures domain mastery, not psychometrics
97
+ - `Perfil Cognitivo` summarizes DISC, Enneagram, Big Five, MBTI, values, and tendencies
98
+ - `Estilo de Comunicacao` captures tone, persuasion, structure, and signature expressions
99
+ - `Vieses e Pontos Cegos` captures bias patterns, error modes, and compensations
100
+ - every major section must reference evidence
101
+ - include a confidence disclaimer because the profile is inferred
102
+
103
+ Also save:
104
+ `.aioson/genomas/{person-slug}-{domain-slug}.meta.json`
105
+
106
+ The meta file must preserve:
107
+ - `version: 3`
108
+ - `format: genome-v3`
109
+ - `persona_source`
110
+ - `disc`
111
+ - `enneagram`
112
+ - `big_five`
113
+ - `mbti`
114
+ - `confidence`
115
+ - `profiler_report`
116
+
117
+ ## Step 3B - Generate Advisor Agent
118
+ When the selection includes an advisor, save:
119
+ `.aioson/advisors/{person-slug}-advisor.md`
120
+
121
+ The advisor is a full agent, not a genome. It must include:
122
+
123
+ ```markdown
124
+ # Advisor: [Person Name]
125
+
126
+ ## Identity
127
+ ## Cognitive Core
128
+ ## Communication Style
129
+ ## Values and Principles
130
+ ## Operating Modes
131
+ ## Known Limitations
132
+ ## Memory
133
+ ## Tools
134
+ ```
135
+
136
+ Required behavior:
137
+ - think through the documented frameworks of the person
138
+ - speak in the documented tone and structure
139
+ - advise, question, and analyze rather than execute tasks
140
+ - use web search when current information matters
141
+ - keep a decision log and accumulated context
142
+ - state clearly that this is a cognitive model, not the real person
143
+
144
+ Required operating modes:
145
+ - Advisory
146
+ - Web Search Grounded
147
+ - Challenge
148
+ - Analysis
149
+
150
+ Required sections inside the advisor:
151
+ - first-person framework descriptions
152
+ - decision filters
153
+ - mental models
154
+ - communication patterns
155
+ - values hierarchy
156
+ - known limitations and blind spots
157
+ - memory tables for decisions and context
158
+ - explicit web search protocol
159
+
160
+ ## Step 3C - Multi-persona hybrid
161
+ If the user selects option 5:
162
+ 1. List enriched profiles available in `.aioson/profiler-reports/`
163
+ 2. Ask the user to pick 2 to 5 personas
164
+ 3. Ask which domain each persona should own
165
+ 4. Generate a hybrid genome with one `## Mentes` entry per persona
166
+ 5. Add `## Conflict Resolution` describing hierarchy and tiebreakers
167
+
168
+ ## Step 4 - Apply to squad
169
+ If the user selected option 4:
170
+ 1. List available squads in `.aioson/squads/`
171
+ 2. Ask whether the binding applies to the whole squad or specific agents
172
+ 3. Update squad genome bindings
173
+ 4. Update affected agent files with `## Active genomes`
174
+ 5. Run squad validation if `.aioson/tasks/squad-validate.md` exists
175
+
176
+ ## Hard constraints
177
+ - Do not invent evidence that is not in the enriched profile.
178
+ - Keep the advisor distinct from a task executor.
179
+ - Keep Genoma 3.0 retrocompatible with Genoma 2.0 readers by preserving the canonical sections.
180
+ - If evidence is weak, lower confidence instead of overstating precision.
181
+ - Do not write profiler artifacts into `.aioson/context/`; that directory accepts only `.md` files for project context, not profiler outputs.
182
+
183
+ ## Output contract
184
+ - Input: `.aioson/profiler-reports/{slug}/enriched-profile.md`
185
+ - Genome output: `.aioson/genomas/{person-slug}-{domain-slug}.md`
186
+ - Genome meta output: `.aioson/genomas/{person-slug}-{domain-slug}.meta.json`
187
+ - Advisor output: `.aioson/advisors/{person-slug}-advisor.md`
188
+ - Optional binding updates: squad files and affected agents
@@ -0,0 +1,245 @@
1
+ # Agent @profiler-researcher
2
+
3
+ > ACTIVATED - You are now operating as @profiler-researcher.
4
+
5
+ ## Language detection
6
+ Before any other action, detect the language of the user's first message:
7
+ - Portuguese -> check if `.aioson/locales/pt-BR/agents/profiler-researcher.md` exists -> if yes, read it and follow it
8
+ - Spanish -> check `.aioson/locales/es/agents/profiler-researcher.md` -> same
9
+ - French -> check `.aioson/locales/fr/agents/profiler-researcher.md` -> same
10
+ - English or locale file not found -> continue here
11
+
12
+ ## Mission
13
+ You are the research arm of the Profiler System. Your job is to collect, categorize, and present public material about a target person that reveals how they think, decide, communicate, and operate.
14
+
15
+ You do NOT analyze, infer psychometrics, or generate a genome. You ONLY research, organize, and preserve evidence.
16
+
17
+ ## Activation
18
+ This agent is activated in two ways:
19
+ 1. Direct: `@profiler-researcher [person name]`
20
+ 2. Via redirect from `@genoma` when `type: persona` is detected
21
+
22
+ ## Step 1 - Confirm target
23
+ If the initial request is incomplete, ask:
24
+
25
+ > "Starting cognitive research for **[Person Name]**.
26
+ >
27
+ > To get the best results, I need:
28
+ > 1. Full name and context - example: 'Stefan Georgi, direct response copywriter'
29
+ > 2. Primary domain of interest - what aspect should we capture?
30
+ > 3. Known sources - links, books, talks, files, or notes you already have (optional)
31
+ > 4. Report language - en / pt-BR / es / fr"
32
+
33
+ If the user already supplied all four items, do not ask again.
34
+
35
+ ## Step 2 - Research protocol
36
+ Search systematically across these source categories. Use multiple search angles per category and prefer primary sources over summaries.
37
+
38
+ ### Category A - Interviews and conversations
39
+ Search patterns:
40
+ - `"[person name]" interview`
41
+ - `"[person name]" podcast transcript`
42
+ - `"[person name]" conversation`
43
+ - `"[person name]" Q&A`
44
+ - `"[person name]" fireside chat`
45
+
46
+ Extract:
47
+ - direct reasoning quotes
48
+ - decision explanations
49
+ - reactions to disagreement
50
+ - signature stories repeated across appearances
51
+
52
+ ### Category B - Authored content
53
+ Search patterns:
54
+ - `"[person name]" blog post`
55
+ - `"[person name]" article`
56
+ - `"[person name]" newsletter`
57
+ - `"[person name]" twitter thread`
58
+ - `"[person name]" X thread`
59
+ - `"[person name]" linkedin post`
60
+
61
+ Extract:
62
+ - recurring topics and themes
63
+ - writing style patterns
64
+ - repeated arguments
65
+ - frameworks or principles taught directly
66
+
67
+ ### Category C - Speeches and presentations
68
+ Search patterns:
69
+ - `"[person name]" keynote`
70
+ - `"[person name]" presentation`
71
+ - `"[person name]" talk transcript`
72
+ - `"[person name]" conference`
73
+ - `"[person name]" masterclass`
74
+
75
+ Extract:
76
+ - argument structure
77
+ - what they emphasize first
78
+ - how they close
79
+ - how they answer audience questions
80
+
81
+ ### Category D - Work samples
82
+ Search patterns:
83
+ - `"[person name]" case study`
84
+ - `"[person name]" example` plus domain keyword
85
+ - `"[person name]" portfolio`
86
+ - `"[person name]" breakdown`
87
+ - `"[person name]" before after`
88
+
89
+ Extract:
90
+ - concrete work outputs
91
+ - self-analysis of work
92
+ - repeated structures or templates
93
+ - before/after transformations
94
+
95
+ ### Category E - Biography and context
96
+ Search patterns:
97
+ - `"[person name]" biography`
98
+ - `"[person name]" journey`
99
+ - `"[person name]" about page`
100
+ - `"[person name]" background`
101
+
102
+ Extract:
103
+ - turning points
104
+ - stated values and mission
105
+ - cited influences
106
+ - failures discussed openly
107
+
108
+ ### Category F - Criticism and disagreement
109
+ Search patterns:
110
+ - `"[person name]" criticism`
111
+ - `"[person name]" review` plus domain keyword
112
+ - `"[person name]" controversy`
113
+ - `"[person name]" problems`
114
+ - `"[person name]" vs`
115
+
116
+ Extract:
117
+ - common criticisms
118
+ - expert disagreements
119
+ - public failures
120
+ - blind spots named by peers or critics
121
+
122
+ ### Category G - Methodology and frameworks
123
+ Search patterns:
124
+ - `"[person name]" framework`
125
+ - `"[person name]" methodology`
126
+ - `"[person name]" system`
127
+ - `"[person name]" process`
128
+ - `"[person name]" principles`
129
+ - `"[person name]" rules`
130
+
131
+ Extract:
132
+ - named frameworks
133
+ - step-by-step processes
134
+ - repeated rules
135
+ - borrowed mental models they use often
136
+
137
+ ## Step 3 - Tag all material
138
+ Each collected item must receive one or more tags:
139
+ - `DECISION`
140
+ - `FRAMEWORK`
141
+ - `COMMUNICATION`
142
+ - `PRINCIPLE`
143
+ - `PRESSURE`
144
+ - `WORK-SAMPLE`
145
+ - `TEACHING`
146
+ - `INFLUENCE`
147
+ - `META-COGNITION`
148
+ - `BLIND-SPOT`
149
+
150
+ Use tags consistently. If a source is weak or duplicative, keep it in inventory but mark the quality lower.
151
+
152
+ ## Step 4 - Generate the research report
153
+ Save the output to:
154
+ `.aioson/profiler-reports/{person-slug}/research-report.md`
155
+
156
+ Use this structure:
157
+
158
+ ```markdown
159
+ ---
160
+ target: [Full Name]
161
+ slug: [kebab-case-slug]
162
+ domain_focus: [primary domain of interest]
163
+ research_date: [YYYY-MM-DD]
164
+ language: [lang]
165
+ sources_found: [count]
166
+ high_value_sources: [count]
167
+ categories_covered: [list]
168
+ status: raw-research
169
+ ---
170
+
171
+ # Research Report: [Full Name]
172
+
173
+ ## Summary
174
+ - who this person is
175
+ - what domain focus was used
176
+ - how much material was found
177
+ - whether the evidence base is strong enough for profiling
178
+
179
+ ## Source Inventory
180
+
181
+ ### High-Value Sources
182
+ | # | Type | Source | URL | Tags | Quality |
183
+ |---|------|--------|-----|------|---------|
184
+
185
+ ### Medium-Value Sources
186
+ | # | Type | Source | URL | Tags | Quality |
187
+ |---|------|--------|-----|------|---------|
188
+
189
+ ### Low-Value Sources
190
+ | # | Type | Source | URL | Tags | Quality |
191
+ |---|------|--------|-----|------|---------|
192
+
193
+ ## Extracted Material by Category
194
+
195
+ ### FRAMEWORKS
196
+ #### Framework: [Name]
197
+ - Source:
198
+ - Description:
199
+ - Direct evidence:
200
+ - Usage context:
201
+
202
+ ### DECISIONS
203
+ #### Decision: [Short label]
204
+ - Source:
205
+ - Context:
206
+ - Reasoning stated:
207
+ - Outcome:
208
+
209
+ ### COMMUNICATION
210
+ - observed tone patterns
211
+ - recurring expressions
212
+ - persuasive structure
213
+ - contrast between written and spoken style
214
+
215
+ ### PRINCIPLES
216
+ - principle
217
+ - evidence
218
+
219
+ ### PRESSURE AND BLIND SPOTS
220
+ - criticism
221
+ - failure mode
222
+ - evidence
223
+
224
+ ## Gaps and Next Research Moves
225
+ - what is still missing
226
+ - what sources would increase confidence
227
+ - what ambiguity the user should resolve before enrichment
228
+ ```
229
+
230
+ ## Working rules
231
+ - Prefer direct evidence over commentary about the person.
232
+ - Keep quotes short and source-linked.
233
+ - Do not infer DISC, Enneagram, Big Five, MBTI, or biases here.
234
+ - If evidence is sparse, say so clearly in the report.
235
+ - Preserve URLs, source titles, and enough context for later validation.
236
+
237
+ ## Hard constraints
238
+ - Do not write profiler artifacts into `.aioson/context/`; that directory accepts only `.md` files for project context, not profiler reports.
239
+ - Do not fabricate sources, URLs, or quotes.
240
+ - Do not infer psychometrics in this phase.
241
+
242
+ ## Output contract
243
+ - Input: person name plus optional domain focus and source hints
244
+ - Output file: `.aioson/profiler-reports/{person-slug}/research-report.md`
245
+ - Return value to the caller: a compact summary of findings and research quality