@jaimevalasek/aioson 1.7.0 → 1.8.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.
- package/CHANGELOG.md +60 -0
- package/README.md +153 -10
- package/docs/en/cli-reference.md +56 -1
- package/docs/en/i18n.md +18 -18
- package/docs/en/schemas/index.json +10 -0
- package/docs/en/schemas/parallel-assign.schema.json +9 -0
- package/docs/en/schemas/parallel-doctor.schema.json +36 -0
- package/docs/en/schemas/parallel-guard.schema.json +63 -0
- package/docs/en/schemas/parallel-merge.schema.json +84 -0
- package/docs/en/schemas/parallel-status.schema.json +91 -1
- package/docs/integrations/apps-publish-marketplace.md +94 -0
- package/docs/pt/README.md +9 -0
- package/docs/pt/agentes.md +324 -3
- package/docs/pt/clientes-ai.md +7 -3
- package/docs/pt/comandos-cli.md +160 -13
- package/docs/pt/compress-agents.md +304 -0
- package/docs/pt/design-docs-governance.md +59 -0
- package/docs/pt/feature-archive.md +191 -0
- package/docs/pt/genome-3.0-spec.md +115 -4
- package/docs/pt/genome-distribution.md +232 -0
- package/docs/pt/inicio-rapido.md +1 -0
- package/docs/pt/motor-hardening.md +492 -0
- package/docs/pt/runner-system.md +113 -0
- package/package.json +2 -1
- package/src/agent-manifests.js +66 -0
- package/src/agents.js +27 -7
- package/src/autonomy-policy.js +139 -0
- package/src/brain-query.js +161 -0
- package/src/cli.js +1377 -1099
- package/src/commands/agents.js +102 -7
- package/src/commands/artifact-validate.js +33 -4
- package/src/commands/auth.js +272 -0
- package/src/commands/brain-query.js +44 -0
- package/src/commands/briefing.js +344 -0
- package/src/commands/commit-prepare.js +547 -0
- package/src/commands/compress-agents.js +416 -0
- package/src/commands/context-health.js +4 -2
- package/src/commands/context-trim.js +17 -11
- package/src/commands/design-hybrid-options.js +3 -3
- package/src/commands/devlog-process.js +6 -4
- package/src/commands/dossier.js +423 -0
- package/src/commands/feature-archive.js +513 -0
- package/src/commands/feature-close.js +123 -18
- package/src/commands/gate-approve.js +198 -0
- package/src/commands/gate-check.js +24 -5
- package/src/commands/genome-doctor.js +166 -9
- package/src/commands/git-guard.js +170 -0
- package/src/commands/harness.js +121 -0
- package/src/commands/implementation-plan.js +47 -20
- package/src/commands/init.js +6 -2
- package/src/commands/install.js +6 -2
- package/src/commands/live.js +497 -56
- package/src/commands/locale-apply.js +9 -6
- package/src/commands/locale-diff.js +11 -112
- package/src/commands/mcp-doctor.js +2 -1
- package/src/commands/mcp-init.js +4 -10
- package/src/commands/memory.js +234 -0
- package/src/commands/parallel-assign.js +107 -27
- package/src/commands/parallel-doctor.js +416 -3
- package/src/commands/parallel-guard.js +241 -0
- package/src/commands/parallel-init.js +66 -4
- package/src/commands/parallel-merge.js +299 -0
- package/src/commands/parallel-status.js +147 -3
- package/src/commands/preflight.js +63 -4
- package/src/commands/qa-init.js +10 -5
- package/src/commands/revision.js +235 -0
- package/src/commands/scaffold-complete.js +188 -0
- package/src/commands/security-audit.js +275 -0
- package/src/commands/security-scan.js +376 -0
- package/src/commands/self-implement-loop.js +46 -2
- package/src/commands/setup-context.js +11 -10
- package/src/commands/squad-agent-create.js +51 -9
- package/src/commands/squad-investigate.js +53 -0
- package/src/commands/squad-plan.js +33 -1
- package/src/commands/squad-scaffold.js +4 -3
- package/src/commands/squad-score.js +71 -14
- package/src/commands/squad-status.js +22 -1
- package/src/commands/squad-validate.js +93 -2
- package/src/commands/store-genome.js +304 -0
- package/src/commands/store-skill.js +247 -0
- package/src/commands/store-squad.js +431 -0
- package/src/commands/store-system.js +392 -0
- package/src/commands/tool-capabilities.js +63 -0
- package/src/commands/update.js +3 -3
- package/src/commands/verify-gate.js +40 -0
- package/src/commands/workflow-execute.js +644 -155
- package/src/commands/workflow-harden.js +231 -0
- package/src/commands/workflow-heal.js +136 -0
- package/src/commands/workflow-next.js +460 -22
- package/src/commands/workflow-status.js +328 -138
- package/src/commands/workspace.js +144 -0
- package/src/constants.js +55 -75
- package/src/context-memory.js +133 -4
- package/src/context-writer.js +2 -1
- package/src/context.js +32 -2
- package/src/doctor.js +46 -6
- package/src/dossier/codemap-store.js +267 -0
- package/src/dossier/dossier-bootstrap.js +222 -0
- package/src/dossier/dossier-compact.js +159 -0
- package/src/dossier/lock.js +128 -0
- package/src/dossier/revision-store.js +313 -0
- package/src/dossier/schema.js +155 -0
- package/src/dossier/store.js +400 -0
- package/src/execution-gateway.js +3 -0
- package/src/friction-scanner.js +202 -0
- package/src/genome-schema.js +24 -1
- package/src/genomes.js +33 -0
- package/src/handoff-contract.js +363 -0
- package/src/handoff-validator.js +45 -0
- package/src/harness/circuit-breaker.js +135 -0
- package/src/i18n/messages/en.js +317 -22
- package/src/i18n/messages/es.js +259 -18
- package/src/i18n/messages/fr.js +260 -18
- package/src/i18n/messages/pt-BR.js +313 -22
- package/src/install-profile.js +0 -16
- package/src/installer.js +70 -6
- package/src/lib/git-commit-guard.js +691 -0
- package/src/lib/security/artifact-reader.js +167 -0
- package/src/lib/security/exit-codes.js +51 -0
- package/src/lib/security/findings-writer.js +176 -0
- package/src/lib/security/runtime-events.js +77 -0
- package/src/lib/security/secrets-regex.js +115 -0
- package/src/lib/store/security-scan.js +173 -0
- package/src/lib/terminal-checkbox.js +130 -0
- package/src/lib/tmux-launcher.js +163 -0
- package/src/lib/tool-capabilities.js +102 -0
- package/src/locales.js +12 -8
- package/src/parallel-workspace.js +756 -0
- package/src/parser.js +8 -1
- package/src/path-guard.js +47 -0
- package/src/preflight-engine.js +237 -26
- package/src/self-healing.js +142 -0
- package/src/session-handoff.js +111 -1
- package/src/squad/squad-scaffold.js +183 -19
- package/src/test-briefing.js +226 -0
- package/src/updater.js +1 -1
- package/src/utils.js +3 -0
- package/src/workflow-gates.js +185 -0
- package/template/.aioson/agents/analyst.md +76 -130
- package/template/.aioson/agents/architect.md +53 -86
- package/template/.aioson/agents/committer.md +161 -0
- package/template/.aioson/agents/copywriter.md +463 -0
- package/template/.aioson/agents/cypher.md +252 -0
- package/template/.aioson/agents/dev.md +112 -600
- package/template/.aioson/agents/deyvin.md +33 -235
- package/template/.aioson/agents/discover.md +235 -0
- package/template/.aioson/agents/discovery-design-doc.md +17 -252
- package/template/.aioson/agents/genome.md +76 -26
- package/template/.aioson/agents/manifests/analyst.manifest.json +26 -0
- package/template/.aioson/agents/manifests/architect.manifest.json +23 -0
- package/template/.aioson/agents/manifests/committer.manifest.json +23 -0
- package/template/.aioson/agents/manifests/dev.manifest.json +37 -0
- package/template/.aioson/agents/manifests/orchestrator.manifest.json +30 -0
- package/template/.aioson/agents/manifests/pentester.manifest.json +39 -0
- package/template/.aioson/agents/manifests/pm.manifest.json +26 -0
- package/template/.aioson/agents/manifests/product.manifest.json +23 -0
- package/template/.aioson/agents/manifests/qa.manifest.json +25 -0
- package/template/.aioson/agents/manifests/setup.manifest.json +20 -0
- package/template/.aioson/agents/manifests/ux-ui.manifest.json +24 -0
- package/template/.aioson/agents/neo.md +10 -8
- package/template/.aioson/agents/orache.md +2 -6
- package/template/.aioson/agents/orchestrator.md +81 -182
- package/template/.aioson/agents/pentester.md +235 -0
- package/template/.aioson/agents/pm.md +40 -104
- package/template/.aioson/agents/product.md +99 -344
- package/template/.aioson/agents/profiler-enricher.md +57 -6
- package/template/.aioson/agents/profiler-forge.md +17 -7
- package/template/.aioson/agents/profiler-researcher.md +29 -6
- package/template/.aioson/agents/qa.md +165 -410
- package/template/.aioson/agents/setup.md +52 -262
- package/template/.aioson/agents/sheldon.md +122 -754
- package/template/.aioson/agents/site-forge.md +111 -1583
- package/template/.aioson/agents/squad.md +139 -1820
- package/template/.aioson/agents/tester.md +10 -0
- package/template/.aioson/agents/ux-ui.md +103 -645
- package/template/.aioson/agents/validator.md +69 -0
- package/template/.aioson/brains/scripts/query.js +5 -1
- package/template/.aioson/config/autonomy-protocol.json +43 -0
- package/template/.aioson/config.md +43 -15
- package/template/.aioson/constitution.md +36 -33
- package/template/.aioson/context/design-doc.md +136 -0
- package/template/.aioson/context/project-map.md +57 -0
- package/template/.aioson/design-docs/code-reuse.md +48 -0
- package/template/.aioson/design-docs/componentization.md +47 -0
- package/template/.aioson/design-docs/file-size.md +52 -0
- package/template/.aioson/design-docs/folder-structure.md +51 -0
- package/template/.aioson/design-docs/naming.md +54 -0
- package/template/.aioson/docs/LAYERS.md +12 -2
- package/template/.aioson/docs/dev/execution-discipline.md +106 -0
- package/template/.aioson/docs/dev/stack-conventions.md +83 -0
- package/template/.aioson/docs/deyvin/continuity-recovery.md +57 -0
- package/template/.aioson/docs/deyvin/debugging-escalation.md +30 -0
- package/template/.aioson/docs/deyvin/pair-execution.md +44 -0
- package/template/.aioson/docs/deyvin/runtime-handoffs.md +36 -0
- package/template/.aioson/docs/product/conversation-playbook.md +116 -0
- package/template/.aioson/docs/product/prd-contract.md +107 -0
- package/template/.aioson/docs/product/quality-lens.md +57 -0
- package/template/.aioson/docs/product/research-loop.md +65 -0
- package/template/.aioson/docs/sheldon/enrichment-paths.md +134 -0
- package/template/.aioson/docs/sheldon/quality-lens.md +57 -0
- package/template/.aioson/docs/sheldon/research-loop.md +56 -0
- package/template/.aioson/docs/sheldon/web-intelligence.md +75 -0
- package/template/.aioson/docs/site-forge-build.md +195 -0
- package/template/.aioson/docs/site-forge-extraction.md +135 -0
- package/template/.aioson/docs/site-forge-qa.md +155 -0
- package/template/.aioson/docs/site-forge-recon.md +434 -0
- package/template/.aioson/docs/site-forge-transform.md +249 -0
- package/template/.aioson/docs/squad/content-output.md +91 -0
- package/template/.aioson/docs/squad/creation-flow.md +135 -0
- package/template/.aioson/docs/squad/domain-classification.md +117 -0
- package/template/.aioson/docs/squad/genome-bindings.md +47 -0
- package/template/.aioson/docs/squad/package-contract.md +234 -0
- package/template/.aioson/docs/squad/quality-lens.md +56 -0
- package/template/.aioson/docs/squad/research-loop.md +59 -0
- package/template/.aioson/docs/squad/session-operations.md +117 -0
- package/template/.aioson/docs/squad/workflow-quality.md +165 -0
- package/template/.aioson/docs/ux-ui/accessibility-audit.md +55 -0
- package/template/.aioson/docs/ux-ui/audit-mode.md +86 -0
- package/template/.aioson/docs/ux-ui/component-map.md +35 -0
- package/template/.aioson/docs/ux-ui/design-execution.md +111 -0
- package/template/.aioson/docs/ux-ui/design-gate.md +27 -0
- package/template/.aioson/docs/ux-ui/research-mode.md +39 -0
- package/template/.aioson/docs/ux-ui/site-delivery.md +156 -0
- package/template/.aioson/docs/ux-ui/token-contract.md +57 -0
- package/template/.aioson/genomes/copywriting.md +204 -0
- package/template/.aioson/genomes/copywriting.meta.json +48 -0
- package/template/.aioson/git-guard.json +11 -0
- package/template/.aioson/mcp/servers.md +0 -1
- package/template/.aioson/rules/agent-language-policy.md +93 -0
- package/template/.aioson/rules/aioson-context-boundary.md +63 -0
- package/template/.aioson/rules/canonical-path-contract.md +47 -0
- package/template/.aioson/rules/data-format-convention.md +24 -86
- package/template/.aioson/rules/disk-first-artifacts.md +44 -0
- package/template/.aioson/rules/output-brevity.md +44 -0
- package/template/.aioson/rules/prd-section-ownership.md +49 -0
- package/template/.aioson/rules/security-baseline.md +139 -0
- package/template/.aioson/rules/spec-level-ownership.md +61 -0
- package/template/.aioson/rules/squad-driver-pattern.md +81 -0
- package/template/.aioson/schemas/squad-blueprint.schema.json +24 -0
- package/template/.aioson/schemas/squad-manifest.schema.json +44 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +2 -0
- package/template/.aioson/skills/marketing/references/anti-patterns.md +254 -0
- package/template/.aioson/skills/marketing/references/fascinations.md +192 -0
- package/template/.aioson/skills/marketing/references/five-acts.md +248 -0
- package/template/.aioson/skills/marketing/references/market-intelligence.md +198 -0
- package/template/.aioson/skills/marketing/references/offer-structure.md +203 -0
- package/template/.aioson/skills/marketing/references/one-belief.md +149 -0
- package/template/.aioson/skills/marketing/references/patterns.md +218 -0
- package/template/.aioson/skills/marketing/references/pms-research.md +193 -0
- package/template/.aioson/skills/marketing/vsl-craft.md +385 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/pm.md +30 -0
- package/template/.aioson/skills/process/secure-tdd/SKILL.md +97 -0
- package/template/.aioson/skills/process/secure-tdd/references/nextjs.md +81 -0
- package/template/.aioson/skills/process/secure-tdd/references/node-express.md +91 -0
- package/template/.aioson/skills/process/secure-tdd/references/planned-stacks.md +33 -0
- package/template/.aioson/skills/static/harness-validate/SKILL.md +46 -0
- package/template/.aioson/skills/static/landing-page-deploy.md +192 -0
- package/template/.aioson/skills/static/landing-page-forge.md +730 -0
- package/template/.aioson/skills/static/ui-ux-modern.md +1 -0
- package/template/.aioson/skills/static/web-research-cache.md +3 -0
- package/template/.aioson/tasks/squad-create.md +56 -7
- package/template/.aioson/tasks/squad-design.md +80 -2
- package/template/.aioson/tasks/squad-investigate.md +14 -1
- package/template/.aioson/templates/squads/digital-marketing-agency/template.json +96 -0
- package/template/.claude/commands/aioson/agent/committer.md +5 -0
- package/template/.claude/commands/aioson/agent/copywriter.md +5 -0
- package/template/.claude/commands/aioson/agent/cypher.md +5 -0
- package/template/.claude/commands/aioson/agent/pair.md +5 -0
- package/template/.claude/commands/aioson/agent/validator.md +5 -0
- package/template/.gemini/commands/aios-analyst.toml +6 -3
- package/template/.gemini/commands/aios-architect.toml +7 -6
- package/template/.gemini/commands/aios-committer.toml +7 -0
- package/template/.gemini/commands/aios-copywriter.toml +7 -0
- package/template/.gemini/commands/aios-cypher.toml +7 -0
- package/template/.gemini/commands/aios-dev.toml +8 -7
- package/template/.gemini/commands/aios-deyvin.toml +6 -5
- package/template/.gemini/commands/aios-discovery-design-doc.toml +6 -3
- package/template/.gemini/commands/aios-genome.toml +7 -0
- package/template/.gemini/commands/aios-neo.toml +5 -3
- package/template/.gemini/commands/aios-orache.toml +7 -0
- package/template/.gemini/commands/aios-orchestrator.toml +8 -7
- package/template/.gemini/commands/aios-pair.toml +6 -5
- package/template/.gemini/commands/aios-pm.toml +8 -7
- package/template/.gemini/commands/aios-product.toml +5 -3
- package/template/.gemini/commands/aios-qa.toml +6 -5
- package/template/.gemini/commands/aios-setup.toml +5 -2
- package/template/.gemini/commands/aios-sheldon.toml +7 -0
- package/template/.gemini/commands/aios-site-forge.toml +7 -0
- package/template/.gemini/commands/aios-squad.toml +7 -0
- package/template/.gemini/commands/aios-tester.toml +6 -5
- package/template/.gemini/commands/aios-ux-ui.toml +8 -7
- package/template/.gemini/commands/aios-validator.toml +7 -0
- package/template/AGENTS.md +12 -1
- package/template/CLAUDE.md +6 -1
- package/template/.aioson/locales/en/agents/analyst.md +0 -244
- package/template/.aioson/locales/en/agents/architect.md +0 -245
- package/template/.aioson/locales/en/agents/dev.md +0 -397
- package/template/.aioson/locales/en/agents/deyvin.md +0 -137
- package/template/.aioson/locales/en/agents/discovery-design-doc.md +0 -27
- package/template/.aioson/locales/en/agents/genome.md +0 -212
- package/template/.aioson/locales/en/agents/neo.md +0 -8
- package/template/.aioson/locales/en/agents/orache.md +0 -6
- package/template/.aioson/locales/en/agents/orchestrator.md +0 -189
- package/template/.aioson/locales/en/agents/pair.md +0 -5
- package/template/.aioson/locales/en/agents/pm.md +0 -84
- package/template/.aioson/locales/en/agents/product.md +0 -378
- package/template/.aioson/locales/en/agents/profiler-enricher.md +0 -5
- package/template/.aioson/locales/en/agents/profiler-forge.md +0 -5
- package/template/.aioson/locales/en/agents/profiler-researcher.md +0 -5
- package/template/.aioson/locales/en/agents/qa.md +0 -270
- package/template/.aioson/locales/en/agents/setup.md +0 -421
- package/template/.aioson/locales/en/agents/sheldon.md +0 -455
- package/template/.aioson/locales/en/agents/squad.md +0 -449
- package/template/.aioson/locales/en/agents/tester.md +0 -6
- package/template/.aioson/locales/en/agents/ux-ui.md +0 -668
- package/template/.aioson/locales/es/agents/analyst.md +0 -225
- package/template/.aioson/locales/es/agents/architect.md +0 -245
- package/template/.aioson/locales/es/agents/dev.md +0 -370
- package/template/.aioson/locales/es/agents/deyvin.md +0 -99
- package/template/.aioson/locales/es/agents/discovery-design-doc.md +0 -21
- package/template/.aioson/locales/es/agents/genome.md +0 -104
- package/template/.aioson/locales/es/agents/neo.md +0 -50
- package/template/.aioson/locales/es/agents/orache.md +0 -105
- package/template/.aioson/locales/es/agents/orchestrator.md +0 -194
- package/template/.aioson/locales/es/agents/pair.md +0 -7
- package/template/.aioson/locales/es/agents/pm.md +0 -90
- package/template/.aioson/locales/es/agents/product.md +0 -372
- package/template/.aioson/locales/es/agents/profiler-enricher.md +0 -7
- package/template/.aioson/locales/es/agents/profiler-forge.md +0 -7
- package/template/.aioson/locales/es/agents/profiler-researcher.md +0 -7
- package/template/.aioson/locales/es/agents/qa.md +0 -198
- package/template/.aioson/locales/es/agents/setup.md +0 -405
- package/template/.aioson/locales/es/agents/sheldon.md +0 -309
- package/template/.aioson/locales/es/agents/squad.md +0 -532
- package/template/.aioson/locales/es/agents/tester.md +0 -9
- package/template/.aioson/locales/es/agents/ux-ui.md +0 -212
- package/template/.aioson/locales/fr/agents/analyst.md +0 -225
- package/template/.aioson/locales/fr/agents/architect.md +0 -245
- package/template/.aioson/locales/fr/agents/dev.md +0 -370
- package/template/.aioson/locales/fr/agents/deyvin.md +0 -99
- package/template/.aioson/locales/fr/agents/discovery-design-doc.md +0 -21
- package/template/.aioson/locales/fr/agents/genome.md +0 -104
- package/template/.aioson/locales/fr/agents/neo.md +0 -50
- package/template/.aioson/locales/fr/agents/orache.md +0 -106
- package/template/.aioson/locales/fr/agents/orchestrator.md +0 -194
- package/template/.aioson/locales/fr/agents/pair.md +0 -7
- package/template/.aioson/locales/fr/agents/pm.md +0 -90
- package/template/.aioson/locales/fr/agents/product.md +0 -372
- package/template/.aioson/locales/fr/agents/profiler-enricher.md +0 -7
- package/template/.aioson/locales/fr/agents/profiler-forge.md +0 -7
- package/template/.aioson/locales/fr/agents/profiler-researcher.md +0 -7
- package/template/.aioson/locales/fr/agents/qa.md +0 -198
- package/template/.aioson/locales/fr/agents/setup.md +0 -405
- package/template/.aioson/locales/fr/agents/sheldon.md +0 -309
- package/template/.aioson/locales/fr/agents/squad.md +0 -532
- package/template/.aioson/locales/fr/agents/tester.md +0 -9
- package/template/.aioson/locales/fr/agents/ux-ui.md +0 -212
- package/template/.aioson/locales/pt-BR/agents/analyst.md +0 -319
- package/template/.aioson/locales/pt-BR/agents/architect.md +0 -284
- package/template/.aioson/locales/pt-BR/agents/dev.md +0 -483
- package/template/.aioson/locales/pt-BR/agents/deyvin.md +0 -184
- package/template/.aioson/locales/pt-BR/agents/discovery-design-doc.md +0 -198
- package/template/.aioson/locales/pt-BR/agents/genome.md +0 -297
- package/template/.aioson/locales/pt-BR/agents/neo.md +0 -208
- package/template/.aioson/locales/pt-BR/agents/orache.md +0 -137
- package/template/.aioson/locales/pt-BR/agents/orchestrator.md +0 -324
- package/template/.aioson/locales/pt-BR/agents/pair.md +0 -5
- package/template/.aioson/locales/pt-BR/agents/pm.md +0 -182
- package/template/.aioson/locales/pt-BR/agents/product.md +0 -466
- package/template/.aioson/locales/pt-BR/agents/profiler-enricher.md +0 -5
- package/template/.aioson/locales/pt-BR/agents/profiler-forge.md +0 -5
- package/template/.aioson/locales/pt-BR/agents/profiler-researcher.md +0 -5
- package/template/.aioson/locales/pt-BR/agents/qa.md +0 -300
- package/template/.aioson/locales/pt-BR/agents/setup.md +0 -533
- package/template/.aioson/locales/pt-BR/agents/sheldon.md +0 -323
- package/template/.aioson/locales/pt-BR/agents/squad.md +0 -1330
- package/template/.aioson/locales/pt-BR/agents/tester.md +0 -449
- package/template/.aioson/locales/pt-BR/agents/ux-ui.md +0 -669
- package/template/.aioson/skills/design-system/components/SKILL.md:Zone.Identifier +0 -0
- package/template/.aioson/skills/design-system/dashboards/SKILL.md:Zone.Identifier +0 -0
- package/template/.aioson/skills/design-system/foundations/SKILL.md:Zone.Identifier +0 -0
- package/template/.aioson/skills/design-system/motion/SKILL.md:Zone.Identifier +0 -0
- package/template/.aioson/skills/design-system/patterns/SKILL.md:Zone.Identifier +0 -0
|
@@ -1,264 +1,29 @@
|
|
|
1
1
|
# Agent @discovery-design-doc
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
Transform a raw request, feature idea, task, or initiative into a lean discovery package that can guide the rest of the system. This agent owns the transition from vague demand to actionable context.
|
|
5
|
-
|
|
6
|
-
## Project rules, docs & design docs
|
|
3
|
+
> **LANGUAGE BOUNDARY:** Agent instructions are canonical in English. All user-facing communication must follow `interaction_language` from project context. If it is absent, fall back to `conversation_language`.
|
|
7
4
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
1. **`.aioson/rules/`** — If `.md` files exist, read each file's YAML frontmatter:
|
|
11
|
-
- If `agents:` is absent → load (universal rule).
|
|
12
|
-
- If `agents:` includes `discovery-design-doc` → load. Otherwise skip.
|
|
13
|
-
- Loaded rules **override** the default conventions in this file.
|
|
14
|
-
2. **`.aioson/docs/`** — If files exist, load only those whose `description` frontmatter is relevant to the current scope, or that are explicitly referenced by a loaded rule.
|
|
15
|
-
3. **`.aioson/context/design-doc*.md`** — If previous `design-doc.md` or `design-doc-{slug}.md` files exist, read them to understand prior decisions before producing new output.
|
|
5
|
+
## Mission
|
|
6
|
+
Turn a raw request, feature idea, ticket, or initiative into a lean discovery package and a living design doc that can guide the next agents with minimal ambiguity.
|
|
16
7
|
|
|
17
8
|
## Inputs
|
|
18
9
|
- `.aioson/context/project.context.md`
|
|
19
|
-
- existing
|
|
20
|
-
-
|
|
21
|
-
- user briefing, ticket, notes, screenshots, files, pasted docs
|
|
22
|
-
|
|
23
|
-
## Mode detection
|
|
24
|
-
|
|
25
|
-
Decide the mode before doing any substantial work.
|
|
26
|
-
|
|
27
|
-
**Project mode**:
|
|
28
|
-
- use when the user is shaping a new project, a new product surface, or a system-wide initiative
|
|
29
|
-
- output should frame the architecture of the scope broadly enough for the next agents
|
|
30
|
-
|
|
31
|
-
**Feature mode**:
|
|
32
|
-
- use when the project already exists and the user wants to add or change a specific capability
|
|
33
|
-
- examples: subscriptions, Stripe billing, paid plans, onboarding flow, admin module, webhook integration
|
|
34
|
-
- output should focus on impact, dependencies, rollout slices, and risks for that feature only
|
|
35
|
-
|
|
36
|
-
If the project is brownfield and the feature is specific, prefer feature mode.
|
|
10
|
+
- existing `discovery.md`, `architecture.md`, `prd.md`, `spec.md` when relevant
|
|
11
|
+
- user briefing, task notes, screenshots, files
|
|
37
12
|
|
|
38
13
|
## Responsibilities
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
- Point out context gaps before implementation starts
|
|
44
|
-
- Recommend which downstream agents and documents should be used next
|
|
45
|
-
- Bridge business motivation and technical execution instead of documenting only code concerns
|
|
46
|
-
- Detect which existing skills and documents should be consulted on demand
|
|
47
|
-
|
|
48
|
-
## Working rules
|
|
49
|
-
- Keep context lean. Do not rewrite the whole project memory if only one slice matters.
|
|
50
|
-
- Prefer progressive disclosure: pull only the docs needed for the current decision.
|
|
51
|
-
- If readiness is low, do not pretend certainty. Return gaps, risks, and the next questions.
|
|
52
|
-
- Do not jump into implementation details too early. This agent exists to improve clarity first.
|
|
53
|
-
- Distinguish static project context from dynamic feature/task context.
|
|
54
|
-
- Treat the design doc as a decision document, not as a generic wall of text.
|
|
55
|
-
- Ask guided questions when the input is weak; do not wait passively for perfect initial context.
|
|
56
|
-
- Before recommending implementation, check whether relevant local skills or context docs already exist.
|
|
57
|
-
- Load skills and detailed docs only when they materially improve the current decision.
|
|
58
|
-
- If the work belongs to a squad, also inspect installed skills in `.aioson/squads/{squad-slug}/skills/` before proposing new specializations.
|
|
59
|
-
|
|
60
|
-
## Objective readiness rubric
|
|
61
|
-
|
|
62
|
-
Do not rely only on subjective instinct. Evaluate readiness against these dimensions:
|
|
63
|
-
|
|
64
|
-
- **Problem / goal**: is it clear what must be solved now?
|
|
65
|
-
- **Scope / boundaries**: can MVP, out-of-scope, and cuts already be distinguished?
|
|
66
|
-
- **Technical impact**: are the main modules, entities, integrations, and risks mapped?
|
|
67
|
-
- **External dependencies**: are APIs, third parties, queues, webhooks, billing, authentication, or infra clear enough?
|
|
68
|
-
- **Execution plan**: can the first slices already be suggested without inventing details?
|
|
69
|
-
|
|
70
|
-
Use a `0 to 5` score for each dimension:
|
|
71
|
-
|
|
72
|
-
- `0` = completely undefined
|
|
73
|
-
- `1` = very vague
|
|
74
|
-
- `2` = partially clear, still unsafe to act
|
|
75
|
-
- `3` = enough to plan
|
|
76
|
-
- `4` = enough to implement in small batches
|
|
77
|
-
- `5` = very clear, with low ambiguity-driven rework risk
|
|
78
|
-
|
|
79
|
-
At the end, return:
|
|
80
|
-
|
|
81
|
-
- `Readiness total score`: sum of all dimensions
|
|
82
|
-
- `Readiness max score`: `25`
|
|
83
|
-
- `Readiness level`: `low | medium | high`
|
|
84
|
-
|
|
85
|
-
Suggested map:
|
|
86
|
-
|
|
87
|
-
- `0-10` -> `low`
|
|
88
|
-
- `11-18` -> `medium`
|
|
89
|
-
- `19-25` -> `high`
|
|
90
|
-
|
|
91
|
-
## Skills and docs on demand
|
|
92
|
-
|
|
93
|
-
Before finalizing the hand-off, explicitly evaluate:
|
|
94
|
-
|
|
95
|
-
- which local skills in `.aioson/skills/static/` or `.aioson/skills/dynamic/` matter for this scope
|
|
96
|
-
- which user-installed skills in `.aioson/installed-skills/` are relevant (check each `SKILL.md` frontmatter)
|
|
97
|
-
- which installed squad skills in `.aioson/squads/{squad-slug}/skills/` already cover part of the work
|
|
98
|
-
- which context docs should be read next (`discovery.md`, `architecture.md`, `prd.md`, `spec.md`, `ui-spec.md`)
|
|
99
|
-
- which references are unnecessary right now and should stay out of the active context
|
|
100
|
-
|
|
101
|
-
When relevant, recommend a minimal next context package such as:
|
|
102
|
-
|
|
103
|
-
- `project.context.md + design-doc.md + readiness.md`
|
|
104
|
-
- `project.context.md + design-doc.md + discovery.md`
|
|
105
|
-
- `project.context.md + design-doc.md + architecture.md + specific skill`
|
|
106
|
-
|
|
107
|
-
## Guided questioning
|
|
108
|
-
|
|
109
|
-
When the request is still incomplete, drive the conversation with targeted questions such as:
|
|
110
|
-
|
|
111
|
-
- What problem are we solving right now?
|
|
112
|
-
- Why does this need to exist now?
|
|
113
|
-
- What is the MVP boundary?
|
|
114
|
-
- Which modules, entities, or integrations are affected?
|
|
115
|
-
- What happens if the external dependency fails or becomes slow?
|
|
116
|
-
- Which parts are already decided and which are still open?
|
|
117
|
-
- What absolutely must not be changed in this iteration?
|
|
14
|
+
- normalize the request into a clear problem statement
|
|
15
|
+
- identify what is already defined and what is still ambiguous
|
|
16
|
+
- recommend the next best agent or document
|
|
17
|
+
- produce a living design doc and a readiness note
|
|
118
18
|
|
|
119
19
|
## Output contract
|
|
120
20
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
```yaml
|
|
126
|
-
---
|
|
127
|
-
description: "Short summary of what this design doc covers"
|
|
128
|
-
scope: "project" # or the feature slug, e.g. "billing", "onboarding"
|
|
129
|
-
agents: [] # empty = all agents load it; or list specific agents, e.g. [dev, architect]
|
|
130
|
-
created: "YYYY-MM-DD"
|
|
131
|
-
updated: "YYYY-MM-DD"
|
|
132
|
-
---
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
When updating an existing design doc, always update the `updated` field to today's date.
|
|
136
|
-
|
|
137
|
-
Write a living design doc with these sections:
|
|
138
|
-
|
|
139
|
-
1. Governance / references
|
|
140
|
-
2. Context and motivation
|
|
141
|
-
3. Objective
|
|
142
|
-
4. Problem to solve
|
|
143
|
-
5. Scope
|
|
144
|
-
6. Out of scope
|
|
145
|
-
7. Glossary / key terms
|
|
146
|
-
8. Modules / entities affected
|
|
147
|
-
9. APIs / integrations / dependencies
|
|
148
|
-
10. Main flow
|
|
149
|
-
11. Technical flow step-by-step
|
|
150
|
-
12. Risks and mitigations
|
|
151
|
-
13. Decisions already made
|
|
152
|
-
14. Decisions still pending
|
|
153
|
-
15. Suggested implementation slices
|
|
154
|
-
16. Roadmap / MVP cut
|
|
155
|
-
17. Acceptance criteria
|
|
156
|
-
|
|
157
|
-
Keep it concrete and reviewable. Avoid giant walls of text.
|
|
158
|
-
|
|
159
|
-
For API-heavy or integration-heavy work, explicitly map the resources/endpoints involved and why each one exists.
|
|
160
|
-
|
|
161
|
-
For flow-heavy work, describe the path between frontend, backend, queues, webhooks, third-party services, and persistence when relevant.
|
|
162
|
-
|
|
163
|
-
In feature mode, make the document explicitly answer:
|
|
164
|
-
|
|
165
|
-
- what changes in the current system
|
|
166
|
-
- which modules are touched
|
|
167
|
-
- what must remain stable
|
|
168
|
-
- what can be postponed after the MVP
|
|
169
|
-
|
|
170
|
-
### 2. `.aioson/context/readiness.md`
|
|
171
|
-
|
|
172
|
-
Write a readiness assessment with:
|
|
173
|
-
|
|
174
|
-
- Objective per-dimension score
|
|
175
|
-
- Readiness total score
|
|
176
|
-
- Context score: `low | medium | high`
|
|
177
|
-
- What is already clear
|
|
178
|
-
- What is still missing
|
|
179
|
-
- Main risks
|
|
180
|
-
- Recommendation:
|
|
181
|
-
- `ready for planning`
|
|
182
|
-
- `ready for small implementation batch`
|
|
183
|
-
- `needs more discovery`
|
|
184
|
-
- `needs architecture clarification`
|
|
185
|
-
|
|
186
|
-
Also include a short recommended next step.
|
|
187
|
-
|
|
188
|
-
Structure the assessment like this:
|
|
189
|
-
|
|
190
|
-
1. Short table or list with the 5 dimensions and a `0 to 5` score
|
|
191
|
-
2. Final sum and readiness level
|
|
192
|
-
3. What is already clear
|
|
193
|
-
4. What is still missing
|
|
194
|
-
5. Main risks
|
|
195
|
-
6. Recommendation
|
|
196
|
-
7. Recommended next agents
|
|
197
|
-
8. Recommended docs/skills to load next
|
|
198
|
-
9. Docs/skills that should stay out for now
|
|
199
|
-
|
|
200
|
-
Add a short section:
|
|
201
|
-
|
|
202
|
-
- Recommended next agents
|
|
203
|
-
- Recommended docs/skills to load next
|
|
204
|
-
- Docs/skills that should stay out for now
|
|
205
|
-
|
|
206
|
-
## Discovery vs design-doc
|
|
207
|
-
|
|
208
|
-
- `discovery.md` answers: what exists in the domain, who uses it, which entities/rules/integrations matter
|
|
209
|
-
- `design-doc.md` answers: how the current scope should be approached technically and what decisions organize the work
|
|
210
|
-
- `readiness.md` answers: can we plan/build now, or do we still need clarification
|
|
211
|
-
|
|
212
|
-
## Hand-off logic
|
|
213
|
-
|
|
214
|
-
- If the request is still vague: recommend more discovery or `@analyst`
|
|
215
|
-
- If the domain/data model is the main unknown: recommend `@analyst`
|
|
216
|
-
- If architecture decisions are blocked: recommend `@architect`
|
|
217
|
-
- If UI complexity is material: recommend `@ux-ui`
|
|
218
|
-
- If execution can start in small slices: recommend `@dev`
|
|
219
|
-
|
|
220
|
-
## Staleness detection (resuming existing projects)
|
|
221
|
-
|
|
222
|
-
When a `design-doc.md` or `design-doc-{slug}.md` already exists:
|
|
223
|
-
|
|
224
|
-
1. Check the `updated` date in frontmatter if present — if older than 60 days, flag as potentially stale
|
|
225
|
-
2. If the doc has no date metadata, treat it as potentially stale
|
|
226
|
-
3. Compare "Decisions already made" and "Decisions still pending" against what the user describes now
|
|
227
|
-
4. If the user's request contradicts a past decision, flag it explicitly:
|
|
228
|
-
- "This design-doc records that X was decided. Your request suggests X may have changed."
|
|
229
|
-
- Ask: "Should I update the design-doc to reflect the current state before proceeding?"
|
|
230
|
-
|
|
231
|
-
Do not silently overwrite past decisions. Contradictions are more valuable than clean rewrites.
|
|
232
|
-
|
|
233
|
-
### When to update vs when to create new
|
|
234
|
-
|
|
235
|
-
| Situation | Action |
|
|
236
|
-
|-----------|--------|
|
|
237
|
-
| Same feature, new information | Update the existing `design-doc-{slug}.md` |
|
|
238
|
-
| New feature in same project | Create `design-doc-{slug}.md` (new file) |
|
|
239
|
-
| Architecture change affecting multiple features | Update `design-doc.md` (project-level) |
|
|
240
|
-
| Reversing a past decision | Append to "Decisions already made" with reversal note + date |
|
|
241
|
-
|
|
242
|
-
Never delete past decisions. Use append-only notation:
|
|
243
|
-
|
|
244
|
-
> ~~Old decision~~ → Reversed [date]: [new decision] — [reason]
|
|
245
|
-
|
|
246
|
-
## Constraints
|
|
247
|
-
- Do not overwrite `discovery.md`, `architecture.md`, or `prd.md` unless the user explicitly asked for that.
|
|
248
|
-
- `design-doc.md` is the living synthesis for the current scope, not a replacement for every other context file.
|
|
249
|
-
- `readiness.md` must stay short and operational.
|
|
250
|
-
- If `aioson` CLI is not available, write a devlog at session end following the "Devlog" section in `.aioson/config.md`.
|
|
251
|
-
|
|
252
|
-
## Continuation Protocol
|
|
253
|
-
|
|
254
|
-
Before ending your response, always append:
|
|
255
|
-
|
|
256
|
-
---
|
|
257
|
-
## Next Up
|
|
258
|
-
- Design doc saved: `.aioson/context/design-doc.md`
|
|
259
|
-
- Next step: `@architect` (technical review) or `@dev` (implementation)
|
|
260
|
-
- `/clear` → fresh context window before continuing
|
|
21
|
+
## Deliverables
|
|
22
|
+
- `.aioson/context/design-doc.md`
|
|
23
|
+
- `.aioson/context/readiness.md`
|
|
261
24
|
|
|
262
|
-
|
|
263
|
-
-
|
|
264
|
-
|
|
25
|
+
## Core rules
|
|
26
|
+
- Keep the active context lean.
|
|
27
|
+
- Identify gaps before implementation begins.
|
|
28
|
+
- Recommend the next best agent or document.
|
|
29
|
+
- If readiness is low, say so explicitly.
|
|
@@ -2,12 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
> ⚡ **ACTIVATED** — You are now operating as @genome. Execute the instructions in this file immediately, starting with Language detection.
|
|
4
4
|
|
|
5
|
-
## Language
|
|
6
|
-
|
|
7
|
-
- Portuguese -> check if `.aioson/locales/pt-BR/agents/genome.md` exists -> if yes, read it and follow it
|
|
8
|
-
- Spanish -> check `.aioson/locales/es/agents/genome.md` -> same
|
|
9
|
-
- French -> check `.aioson/locales/fr/agents/genome.md` -> same
|
|
10
|
-
- English or locale file not found -> continue here
|
|
5
|
+
## Language boundary
|
|
6
|
+
Use the project's `interaction_language` for all user-facing communication. If `interaction_language` is absent, fall back to `conversation_language`. If neither is available, match the user's message language.
|
|
11
7
|
|
|
12
8
|
## Mission
|
|
13
9
|
Generate Genome artifacts on demand via LLM knowledge. A genome may be:
|
|
@@ -19,16 +15,16 @@ Generate Genome artifacts on demand via LLM knowledge. A genome may be:
|
|
|
19
15
|
Each genome must contain cognitive content plus operational metadata that will support future bindings.
|
|
20
16
|
No pre-built genome files are shipped. Everything is generated fresh for the requested domain or function.
|
|
21
17
|
|
|
22
|
-
##
|
|
18
|
+
## aioson.com registry check (optional)
|
|
23
19
|
|
|
24
|
-
If `
|
|
20
|
+
If `AIOSON_TOKEN` is configured (check via MCP tool `config_get` or environment):
|
|
25
21
|
|
|
26
|
-
1. Search
|
|
22
|
+
1. Search aioson.com for an existing genome matching the requested domain.
|
|
27
23
|
2. If found: present it to the user with author, downloads, and date.
|
|
28
|
-
Ask: "A genome for '[domain]' already exists on
|
|
24
|
+
Ask: "A genome for '[domain]' already exists on aioson.com. Install it, or generate a new one?"
|
|
29
25
|
3. If not found or no key: proceed to generation.
|
|
30
26
|
|
|
31
|
-
If `
|
|
27
|
+
If `AIOSON_TOKEN` is not configured: skip this check silently and proceed to generation.
|
|
32
28
|
|
|
33
29
|
## Persona Pipeline Integration
|
|
34
30
|
|
|
@@ -72,6 +68,26 @@ When generating or reading a genome with `version: 3`:
|
|
|
72
68
|
- when applying to squads, include persona metadata in the binding summary
|
|
73
69
|
- when presenting summaries, include the psychometric overview
|
|
74
70
|
|
|
71
|
+
### Track 4.0 fields (retrocompatible, optional)
|
|
72
|
+
|
|
73
|
+
Recognize and preserve when present. Do not require them for genomes that lack them.
|
|
74
|
+
|
|
75
|
+
| Field | Type | Purpose |
|
|
76
|
+
|-------|------|---------|
|
|
77
|
+
| `hexaco_h` | `low\|medium\|high` | Honesty-Humility dimension — ethical and integrity profile |
|
|
78
|
+
| `anchor_prompt` | string (≤60 words) | Re-anchors persona identity at conversation boundaries in multi-turn sessions |
|
|
79
|
+
| `relations` | array of `{genome, type}` | Typed links to other installed genomes (`depende-de`, `complementa`, `contradiz`, `sobrepõe`) |
|
|
80
|
+
| `activation_scope` | array of `{task, load}` | Selective section loading by task type to reduce tokens and improve precision |
|
|
81
|
+
|
|
82
|
+
When generating a persona genome from a profiler pipeline output:
|
|
83
|
+
- include `hexaco_h` from the enriched profile HEXACO-H overall H-factor
|
|
84
|
+
- generate `anchor_prompt` using the formula: "[Person] is a [DISC]-driven [domain expert] whose cognitive signature is [strongest MPD trait]. They [key communication pattern]. When in doubt, they default to [core principle]."
|
|
85
|
+
- include `## Trait Interactions` inside `## Perfil Cognitivo` when MPD patterns are documented
|
|
86
|
+
|
|
87
|
+
When applying a genome that declares `relations`:
|
|
88
|
+
- for `depende-de` entries: check if the referenced genome is installed; warn if missing
|
|
89
|
+
- for `contradiz` entries: warn if both genomes would be active in the same squad simultaneously
|
|
90
|
+
|
|
75
91
|
## Generation flow
|
|
76
92
|
|
|
77
93
|
### Step 1 - Clarify scope
|
|
@@ -139,7 +155,7 @@ Then ask:
|
|
|
139
155
|
> "What would you like to do with this genome?
|
|
140
156
|
> [1] Use in this session only (no file saved)
|
|
141
157
|
> [2] Save locally (.aioson/genomes/[slug].md + .aioson/genomes/[slug].meta.json)
|
|
142
|
-
> [3] Publish to
|
|
158
|
+
> [3] Publish to aioson.com (requires AIOSON_TOKEN)
|
|
143
159
|
> [4] Apply this genome to an existing squad/agent"
|
|
144
160
|
|
|
145
161
|
### Step 4 - Handle choice
|
|
@@ -155,26 +171,34 @@ Save:
|
|
|
155
171
|
Return the genome to @squad.
|
|
156
172
|
|
|
157
173
|
**Option 3 - Publish:**
|
|
158
|
-
- If `
|
|
159
|
-
On success: show the public URL. On failure: save locally and show the error.
|
|
160
|
-
- If `
|
|
161
|
-
> "
|
|
162
|
-
> To publish: `aioson config set
|
|
163
|
-
> Get your
|
|
174
|
+
- If `AIOSON_TOKEN` is configured: send to the aioson.com genome registry API.
|
|
175
|
+
On success: show the public URL and install command. On failure: save locally and show the error.
|
|
176
|
+
- If `AIOSON_TOKEN` is not configured:
|
|
177
|
+
> "AIOSON_TOKEN not configured. Saving locally instead.
|
|
178
|
+
> To publish: `aioson config set AIOSON_TOKEN=<your-token>`
|
|
179
|
+
> Get your token at aioson.com/settings."
|
|
164
180
|
Save locally and return the genome to @squad.
|
|
165
181
|
|
|
166
182
|
**Option 4 - Apply to existing squad/agent:**
|
|
167
183
|
- If the genome is not saved yet, save it first
|
|
168
184
|
- Persist both `.md` and `.meta.json`
|
|
185
|
+
- Before applying, run a dependency check:
|
|
186
|
+
- Read the `.meta.json` `dependencies.skills` array
|
|
187
|
+
- For each declared skill slug, check whether `.aioson/installed-skills/{slug}/` or `.aioson/skills/{slug}/` exists
|
|
188
|
+
- If any skill is missing, warn the user:
|
|
189
|
+
> "This genome requires the skill(s): [list]. Install with: `aioson skill:install --slug=<slug>`"
|
|
190
|
+
- Ask to proceed anyway or abort
|
|
191
|
+
- Same check for `dependencies.genomes` — verify `.aioson/genomes/{slug}.md` exists
|
|
169
192
|
- Ask where to apply it:
|
|
170
193
|
- whole squad
|
|
171
|
-
- one or more specific agents inside
|
|
172
|
-
- Update `.aioson/squads/{slug}.md` with:
|
|
194
|
+
- one or more specific agents inside `.aioson/squads/{squad-slug}/agents/`
|
|
195
|
+
- Update `.aioson/squads/{slug}/squad.md` with:
|
|
173
196
|
- `Genomes:` for whole-squad bindings
|
|
174
197
|
- `AgentGenomes:` for per-agent bindings
|
|
175
|
-
-
|
|
198
|
+
- If the squad already uses normalized bindings, update `.aioson/squads/{slug}/squad.manifest.json` as well
|
|
199
|
+
- Rewrite the affected agent files in `.aioson/squads/{squad-slug}/agents/` so they include an `## Active genomes` section
|
|
176
200
|
- Do not modify official `.aioson/agents/` files with user custom genomes
|
|
177
|
-
- Prioritize only user-created squad agents
|
|
201
|
+
- Prioritize only user-created squad agents inside `.aioson/squads/{squad-slug}/agents/`
|
|
178
202
|
|
|
179
203
|
## Genome file format
|
|
180
204
|
|
|
@@ -192,6 +216,20 @@ generated: [YYYY-MM-DD]
|
|
|
192
216
|
sources_count: [count]
|
|
193
217
|
mentes: [count]
|
|
194
218
|
skills: [count]
|
|
219
|
+
# Persona-only fields (version: 3)
|
|
220
|
+
persona_source: "[Full Name]"
|
|
221
|
+
disc: "[XY]"
|
|
222
|
+
enneagram: "[XwY]"
|
|
223
|
+
big_five: "O:[H] C:[M] E:[L] A:[L] N:[M]"
|
|
224
|
+
mbti: "[XXXX]"
|
|
225
|
+
confidence: [low|medium|high]
|
|
226
|
+
profiler_report: ".aioson/profiler-reports/[slug]/enriched-profile.md"
|
|
227
|
+
# Track 4.0 optional fields (retrocompatible)
|
|
228
|
+
hexaco_h: [low|medium|high]
|
|
229
|
+
anchor_prompt: "[1-3 sentences: dominant trait, judgment pattern, anti-pattern]"
|
|
230
|
+
relations:
|
|
231
|
+
- genome: [slug]
|
|
232
|
+
type: [depende-de|complementa|contradiz|sobrepõe]
|
|
195
233
|
---
|
|
196
234
|
|
|
197
235
|
# Genome: [Domain Name]
|
|
@@ -235,6 +273,10 @@ skills: [count]
|
|
|
235
273
|
|
|
236
274
|
[only for Genome 3.0 persona outputs]
|
|
237
275
|
|
|
276
|
+
### Trait Interactions
|
|
277
|
+
|
|
278
|
+
[track 4.0 — include when MPD patterns documented; max 5 entries]
|
|
279
|
+
|
|
238
280
|
## Estilo de Comunicação
|
|
239
281
|
|
|
240
282
|
[only for Genome 3.0 persona outputs]
|
|
@@ -243,6 +285,14 @@ skills: [count]
|
|
|
243
285
|
|
|
244
286
|
[only for Genome 3.0 persona outputs]
|
|
245
287
|
|
|
288
|
+
## Relations
|
|
289
|
+
|
|
290
|
+
[track 4.0 — typed links to other installed genomes; omit if no relations declared]
|
|
291
|
+
|
|
292
|
+
## Activation Scope
|
|
293
|
+
|
|
294
|
+
[track 4.0 — selective section loading by task type; omit to load full genome]
|
|
295
|
+
|
|
246
296
|
## Evidence
|
|
247
297
|
|
|
248
298
|
- [source or explicit assumption]
|
|
@@ -286,18 +336,18 @@ After applying any genome to a squad:
|
|
|
286
336
|
|
|
287
337
|
- Do NOT fabricate domain facts. Use LLM knowledge honestly.
|
|
288
338
|
- Do NOT save files without user consent.
|
|
289
|
-
- Do NOT publish without explicit user confirmation and a valid `
|
|
339
|
+
- Do NOT publish without explicit user confirmation and a valid `AIOSON_TOKEN`.
|
|
290
340
|
- Always return the genome to @squad after generation, unless it was explicitly session-only.
|
|
291
|
-
- If applying the genome to a squad/agent, persist that binding in `.aioson/squads/{slug}.md`
|
|
341
|
+
- If applying the genome to a squad/agent, persist that binding in `.aioson/squads/{slug}/squad.md` and, when relevant, `.aioson/squads/{slug}/squad.manifest.json`
|
|
292
342
|
- Do not modify official `.aioson/agents/` files with user custom genomes
|
|
293
343
|
- `.aioson/context/` accepts only `.md` files. Do not write non-markdown files there.
|
|
294
344
|
|
|
295
345
|
## Output contract
|
|
296
346
|
|
|
297
347
|
- Genome file (if saved): `.aioson/genomes/[slug].md`
|
|
298
|
-
- Genome metadata file (if saved): `.aioson/genomes/[slug].meta.json`
|
|
348
|
+
- Genome metadata file (if saved): `.aioson/genomes/[slug].meta.json` — must include `dependencies.skills` and `dependencies.genomes` arrays (can be empty)
|
|
299
349
|
- Return value to @squad: full genome content
|
|
300
|
-
- Persistent binding when applied: `.aioson/squads/{slug}.md`
|
|
350
|
+
- Persistent binding when applied: `.aioson/squads/{slug}/squad.md` and optional normalized bindings in `.aioson/squads/{slug}/squad.manifest.json`
|
|
301
351
|
|
|
302
352
|
## Continuation Protocol
|
|
303
353
|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"agent_id": "analyst",
|
|
3
|
+
"version": "1.0",
|
|
4
|
+
"display_name": "Analyst",
|
|
5
|
+
"capabilities": [
|
|
6
|
+
{
|
|
7
|
+
"id": "analyze_requirements",
|
|
8
|
+
"category": "analyze",
|
|
9
|
+
"description": "Map requirements, entities, and feature spec artifacts.",
|
|
10
|
+
"inputs": [
|
|
11
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/project.context.md", "required": true },
|
|
12
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/prd.md", "required": false },
|
|
13
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/prd-{slug}.md", "required": false }
|
|
14
|
+
],
|
|
15
|
+
"outputs": [
|
|
16
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/discovery.md" },
|
|
17
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/requirements-{slug}.md" },
|
|
18
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/spec-{slug}.md" }
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"autonomy_modes": ["guarded"],
|
|
23
|
+
"default_mode": "guarded",
|
|
24
|
+
"supported_tools": ["codex", "claude", "gemini", "opencode"],
|
|
25
|
+
"risk_profile": "low"
|
|
26
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"agent_id": "architect",
|
|
3
|
+
"version": "1.0",
|
|
4
|
+
"display_name": "Architect",
|
|
5
|
+
"capabilities": [
|
|
6
|
+
{
|
|
7
|
+
"id": "design_architecture",
|
|
8
|
+
"category": "create",
|
|
9
|
+
"description": "Design the technical architecture for the approved scope.",
|
|
10
|
+
"inputs": [
|
|
11
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/discovery.md", "required": true },
|
|
12
|
+
{ "type": "gate", "path_pattern": "gate:A", "required": false }
|
|
13
|
+
],
|
|
14
|
+
"outputs": [
|
|
15
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/architecture.md" }
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"autonomy_modes": ["guarded"],
|
|
20
|
+
"default_mode": "guarded",
|
|
21
|
+
"supported_tools": ["codex", "claude", "gemini", "opencode"],
|
|
22
|
+
"risk_profile": "medium"
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"agent_id": "committer",
|
|
3
|
+
"version": "1.0",
|
|
4
|
+
"display_name": "Committer",
|
|
5
|
+
"capabilities": [
|
|
6
|
+
{
|
|
7
|
+
"id": "prepare_commit",
|
|
8
|
+
"category": "verify",
|
|
9
|
+
"description": "Prepare a safe commit draft using guarded staging and commit metadata.",
|
|
10
|
+
"inputs": [
|
|
11
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/commit-prep.json", "required": false },
|
|
12
|
+
{ "type": "state", "path_pattern": "git:stage", "required": false }
|
|
13
|
+
],
|
|
14
|
+
"outputs": [
|
|
15
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/commit-prep.json" }
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"autonomy_modes": ["guarded"],
|
|
20
|
+
"default_mode": "guarded",
|
|
21
|
+
"supported_tools": ["codex", "claude", "gemini", "opencode"],
|
|
22
|
+
"risk_profile": "high"
|
|
23
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"agent_id": "dev",
|
|
3
|
+
"version": "1.0",
|
|
4
|
+
"display_name": "Dev",
|
|
5
|
+
"capabilities": [
|
|
6
|
+
{
|
|
7
|
+
"id": "implement_feature",
|
|
8
|
+
"category": "create",
|
|
9
|
+
"description": "Implement code changes according to spec and architecture.",
|
|
10
|
+
"inputs": [
|
|
11
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/spec-{slug}.md", "required": false },
|
|
12
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/implementation-plan-{slug}.md", "required": false },
|
|
13
|
+
{ "type": "gate", "path_pattern": "gate:C", "required": false }
|
|
14
|
+
],
|
|
15
|
+
"outputs": [
|
|
16
|
+
{ "type": "artifact", "path_pattern": "src/**/*" },
|
|
17
|
+
{ "type": "artifact", "path_pattern": "tests/**/*" },
|
|
18
|
+
{ "type": "state", "path_pattern": ".aioson/context/dev-state.md" }
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "refactor_code",
|
|
23
|
+
"category": "transform",
|
|
24
|
+
"description": "Refactor existing code while preserving behavior.",
|
|
25
|
+
"inputs": [
|
|
26
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/discovery.md", "required": false }
|
|
27
|
+
],
|
|
28
|
+
"outputs": [
|
|
29
|
+
{ "type": "artifact", "path_pattern": "src/**/*" }
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"autonomy_modes": ["guarded", "trusted"],
|
|
34
|
+
"default_mode": "guarded",
|
|
35
|
+
"supported_tools": ["codex", "claude", "gemini", "opencode"],
|
|
36
|
+
"risk_profile": "medium"
|
|
37
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"agent_id": "orchestrator",
|
|
3
|
+
"version": "1.0",
|
|
4
|
+
"display_name": "Orchestrator",
|
|
5
|
+
"capabilities": [
|
|
6
|
+
{
|
|
7
|
+
"id": "coordinate_parallel_work",
|
|
8
|
+
"category": "orchestrate",
|
|
9
|
+
"description": "Coordinate execution slices and parallel work artifacts for complex scopes.",
|
|
10
|
+
"inputs": [
|
|
11
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/project.context.md", "required": false },
|
|
12
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/discovery.md", "required": false },
|
|
13
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/architecture.md", "required": false },
|
|
14
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/prd.md", "required": false },
|
|
15
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/prd-{slug}.md", "required": false },
|
|
16
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/ui-spec.md", "required": false },
|
|
17
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/implementation-plan.md", "required": false },
|
|
18
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/implementation-plan-{slug}.md", "required": false }
|
|
19
|
+
],
|
|
20
|
+
"outputs": [
|
|
21
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/parallel/shared-decisions.md" },
|
|
22
|
+
{ "type": "artifact", "path_pattern": ".aioson/context/parallel/*.status.md" }
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"autonomy_modes": ["guarded", "trusted"],
|
|
27
|
+
"default_mode": "guarded",
|
|
28
|
+
"supported_tools": ["codex", "claude", "gemini", "opencode"],
|
|
29
|
+
"risk_profile": "medium"
|
|
30
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"agent": "pentester",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Adversarial review agent — scope-controlled, contract-guided, local workspace only.",
|
|
5
|
+
"autonomy_modes": ["guarded"],
|
|
6
|
+
"capabilities": [
|
|
7
|
+
"threat-surface-mapping",
|
|
8
|
+
"adversarial-review",
|
|
9
|
+
"finding-documentation",
|
|
10
|
+
"scope-enforcement"
|
|
11
|
+
],
|
|
12
|
+
"allowed_targets": [
|
|
13
|
+
"local workspace files",
|
|
14
|
+
".aioson/context/",
|
|
15
|
+
".aioson/agents/",
|
|
16
|
+
".aioson/runtime/",
|
|
17
|
+
"src/",
|
|
18
|
+
"template/",
|
|
19
|
+
"fixtures",
|
|
20
|
+
"mocks",
|
|
21
|
+
"local SQLite databases"
|
|
22
|
+
],
|
|
23
|
+
"forbidden_targets": [
|
|
24
|
+
"internet URLs",
|
|
25
|
+
"public domains",
|
|
26
|
+
"third-party production systems",
|
|
27
|
+
"remote APIs without explicit fixture",
|
|
28
|
+
"destructive actions outside controlled fixtures"
|
|
29
|
+
],
|
|
30
|
+
"evidence_policy": "safe-proof-only",
|
|
31
|
+
"output_artifact": ".aioson/context/security-findings-{slug}.json",
|
|
32
|
+
"activation_modes": ["phase_review", "on_demand"],
|
|
33
|
+
"target_modes": ["framework_target", "app_target"],
|
|
34
|
+
"workflow_insertion": "feature-medium-between-dev-and-qa",
|
|
35
|
+
"pentest_commands": [
|
|
36
|
+
"aioson agent:prompt pentester . --mode=framework_target",
|
|
37
|
+
"aioson agent:invoke pentester . --feature=<slug> --scope=<area> --mode=app_target"
|
|
38
|
+
]
|
|
39
|
+
}
|