aiox-core 5.0.7 → 5.0.8
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/.aiox-core/cli/commands/pro/buyer.js +379 -0
- package/.aiox-core/cli/commands/pro/index.js +191 -52
- package/.aiox-core/cli/commands/validate/index.js +2 -0
- package/.aiox-core/core/code-intel/helpers/dev-helper.js +1 -1
- package/.aiox-core/core/code-intel/helpers/devops-helper.js +0 -1
- package/.aiox-core/core/code-intel/helpers/planning-helper.js +1 -1
- package/.aiox-core/core/code-intel/helpers/qa-helper.js +2 -2
- package/.aiox-core/core/config/schemas/framework-config.schema.json +1 -0
- package/.aiox-core/core/config/template-overrides.js +1 -1
- package/.aiox-core/core/doctor/checks/ide-sync.js +81 -25
- package/.aiox-core/core/doctor/checks/rules-files.js +0 -1
- package/.aiox-core/core/doctor/checks/skills-count.js +83 -15
- package/.aiox-core/core/graph-dashboard/cli.js +1 -2
- package/.aiox-core/core/graph-dashboard/data-sources/code-intel-source.js +1 -1
- package/.aiox-core/core/ids/layer-classifier.js +1 -1
- package/.aiox-core/core/pro/pro-updater.js +578 -0
- package/.aiox-core/core/synapse/context/context-tracker.js +107 -9
- package/.aiox-core/core/synapse/layers/layer-processor.js +1 -1
- package/.aiox-core/core-config.yaml +15 -1
- package/.aiox-core/data/capability-detection.js +15 -15
- package/.aiox-core/data/entity-registry.yaml +18 -2
- package/.aiox-core/data/registry-update-log.jsonl +5 -0
- package/.aiox-core/data/tok3-token-comparison.js +0 -4
- package/.aiox-core/data/tool-search-validation.js +1 -1
- package/.aiox-core/development/agents/aiox-master.md +44 -6
- package/.aiox-core/development/agents/data-engineer.md +4 -4
- package/.aiox-core/development/agents/devops.md +52 -2
- package/.aiox-core/development/agents/po.md +1 -1
- package/.aiox-core/development/agents/qa.md +5 -11
- package/.aiox-core/development/agents/sm.md +3 -3
- package/.aiox-core/development/agents/ux-design-expert.md +1 -1
- package/.aiox-core/development/scripts/unified-activation-pipeline.js +29 -3
- package/.aiox-core/development/tasks/dev-develop-story.md +46 -7
- package/.aiox-core/development/tasks/devops-pro-access-grant.md +93 -0
- package/.aiox-core/development/tasks/devops-pro-activate.md +42 -0
- package/.aiox-core/development/tasks/devops-pro-check-access.md +34 -0
- package/.aiox-core/development/tasks/devops-pro-request-reset.md +34 -0
- package/.aiox-core/development/tasks/devops-pro-resend-verification.md +32 -0
- package/.aiox-core/development/tasks/devops-pro-reset-password.md +36 -0
- package/.aiox-core/development/tasks/devops-pro-validate-login.md +36 -0
- package/.aiox-core/development/tasks/devops-pro-verify-status.md +33 -0
- package/.aiox-core/development/tasks/qa-gate.md +54 -4
- package/.aiox-core/development/tasks/validate-next-story.md +39 -2
- package/.aiox-core/framework-config.yaml +1 -0
- package/.aiox-core/infrastructure/scripts/codex-skills-sync/README.md +69 -0
- package/.aiox-core/infrastructure/scripts/codex-skills-sync/bootstrap.js +727 -0
- package/.aiox-core/infrastructure/scripts/codex-skills-sync/index.js +10 -0
- package/.aiox-core/infrastructure/scripts/codex-skills-sync/validate.js +65 -4
- package/.aiox-core/infrastructure/scripts/generate-settings-json.js +29 -4
- package/.aiox-core/infrastructure/scripts/ide-sync/agent-parser.js +4 -0
- package/.aiox-core/infrastructure/scripts/ide-sync/index.js +67 -7
- package/.aiox-core/infrastructure/scripts/ide-sync/transformers/claude-code.js +145 -3
- package/.aiox-core/infrastructure/scripts/repair-agent-references.js +263 -0
- package/.aiox-core/infrastructure/scripts/validate-claude-integration.js +60 -8
- package/.aiox-core/infrastructure/scripts/validate-paths.js +13 -0
- package/.aiox-core/install-manifest.yaml +134 -82
- package/.aiox-core/utils/filters/index.js +2 -1
- package/.claude/commands/AIOX/agents/aiox-master.md +21 -0
- package/.claude/commands/AIOX/agents/analyst.md +21 -0
- package/.claude/commands/AIOX/agents/architect.md +21 -0
- package/.claude/commands/AIOX/agents/data-engineer.md +21 -0
- package/.claude/commands/AIOX/agents/dev.md +21 -0
- package/.claude/commands/AIOX/agents/devops.md +21 -0
- package/.claude/commands/AIOX/agents/pm.md +21 -0
- package/.claude/commands/AIOX/agents/po.md +21 -0
- package/.claude/commands/AIOX/agents/qa.md +21 -0
- package/.claude/commands/AIOX/agents/sm.md +21 -0
- package/.claude/commands/AIOX/agents/squad-creator.md +21 -0
- package/.claude/commands/AIOX/agents/ux-design-expert.md +21 -0
- package/.claude/commands/AIOX/scripts/agent-config-loader.js +624 -0
- package/.claude/commands/AIOX/scripts/generate-greeting.js +160 -0
- package/.claude/commands/AIOX/scripts/greeting-builder.js +866 -0
- package/.claude/commands/AIOX/scripts/session-context-loader.js +286 -0
- package/.claude/commands/AIOX/stories/story-6.1.4.md +1404 -0
- package/.claude/commands/cohort-squad/agents/cohort-manager.md +156 -0
- package/.claude/commands/design-system/agents/brad-frost.md +1097 -0
- package/.claude/commands/design-system/agents/dan-mall.md +857 -0
- package/.claude/commands/design-system/agents/dave-malouf.md +2272 -0
- package/.claude/commands/design-system/agents/design-chief.md +102 -0
- package/.claude/commands/design-system/agents/nano-banana-generator.md +162 -0
- package/.claude/commands/greet.md +101 -0
- package/.claude/commands/synapse/manager.md +75 -0
- package/.claude/commands/synapse/tasks/add-rule.md +94 -0
- package/.claude/commands/synapse/tasks/create-command.md +109 -0
- package/.claude/commands/synapse/tasks/create-domain.md +127 -0
- package/.claude/commands/synapse/tasks/diagnose-synapse.md +245 -0
- package/.claude/commands/synapse/tasks/edit-rule.md +109 -0
- package/.claude/commands/synapse/tasks/suggest-domain.md +116 -0
- package/.claude/commands/synapse/tasks/toggle-domain.md +83 -0
- package/.claude/commands/synapse/templates/domain-template +8 -0
- package/.claude/commands/synapse/templates/manifest-entry-template +4 -0
- package/.claude/commands/synapse/utils/manifest-parser-reference.md +134 -0
- package/.claude/hooks/precompact-session-digest.cjs +2 -2
- package/.claude/skills/AIOX/agents/aiox-master/SKILL.md +511 -0
- package/.claude/skills/AIOX/agents/analyst/SKILL.md +281 -0
- package/.claude/skills/AIOX/agents/architect/SKILL.md +482 -0
- package/.claude/skills/AIOX/agents/data-engineer/SKILL.md +503 -0
- package/.claude/skills/AIOX/agents/dev/SKILL.md +568 -0
- package/.claude/skills/AIOX/agents/devops/SKILL.md +597 -0
- package/.claude/skills/AIOX/agents/pm/SKILL.md +385 -0
- package/.claude/skills/AIOX/agents/po/SKILL.md +343 -0
- package/.claude/skills/AIOX/agents/qa/SKILL.md +451 -0
- package/.claude/skills/AIOX/agents/sm/SKILL.md +295 -0
- package/.claude/skills/AIOX/agents/squad-creator/SKILL.md +352 -0
- package/.claude/skills/AIOX/agents/ux-design-expert/SKILL.md +503 -0
- package/.claude/skills/architect-first/SKILL.md +275 -0
- package/.claude/skills/architect-first/assets/architecture-template.md +505 -0
- package/.claude/skills/architect-first/assets/config-template.yaml +351 -0
- package/.claude/skills/architect-first/references/architecture-checklist.md +216 -0
- package/.claude/skills/architect-first/references/pre-implementation-checklist.md +119 -0
- package/.claude/skills/architect-first/references/stop-rules-guide.md +291 -0
- package/.claude/skills/architect-first/references/testing-strategy-guide.md +477 -0
- package/.claude/skills/architect-first/scripts/architecture_validator.py +490 -0
- package/.claude/skills/architect-first/scripts/check_coupling.py +306 -0
- package/.claude/skills/architect-first/scripts/validate_risk_mitigation.py +382 -0
- package/.claude/skills/checklist-runner/SKILL.md +113 -0
- package/.claude/skills/clone-mind.md +329 -0
- package/.claude/skills/coderabbit-review/SKILL.md +106 -0
- package/.claude/skills/course-generation-workflow.md +76 -0
- package/.claude/skills/enhance-workflow.md +466 -0
- package/.claude/skills/mcp-builder/LICENSE.txt +202 -0
- package/.claude/skills/mcp-builder/SKILL.md +328 -0
- package/.claude/skills/mcp-builder/reference/evaluation.md +602 -0
- package/.claude/skills/mcp-builder/reference/mcp_best_practices.md +915 -0
- package/.claude/skills/mcp-builder/reference/node_mcp_server.md +916 -0
- package/.claude/skills/mcp-builder/reference/python_mcp_server.md +752 -0
- package/.claude/skills/mcp-builder/scripts/connections.py +151 -0
- package/.claude/skills/mcp-builder/scripts/evaluation.py +373 -0
- package/.claude/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
- package/.claude/skills/mcp-builder/scripts/requirements.txt +2 -0
- package/.claude/skills/ralph.md +181 -0
- package/.claude/skills/skill-creator/LICENSE.txt +202 -0
- package/.claude/skills/skill-creator/SKILL.md +209 -0
- package/.claude/skills/skill-creator/scripts/init_skill.py +303 -0
- package/.claude/skills/skill-creator/scripts/package_skill.py +110 -0
- package/.claude/skills/skill-creator/scripts/quick_validate.py +65 -0
- package/.claude/skills/squad.md +301 -0
- package/.claude/skills/synapse/SKILL.md +132 -0
- package/.claude/skills/synapse/assets/README.md +50 -0
- package/.claude/skills/synapse/references/brackets.md +100 -0
- package/.claude/skills/synapse/references/commands.md +118 -0
- package/.claude/skills/synapse/references/domains.md +126 -0
- package/.claude/skills/synapse/references/layers.md +186 -0
- package/.claude/skills/synapse/references/manifest.md +142 -0
- package/.claude/skills/tech-search/SKILL.md +431 -0
- package/.claude/skills/tech-search/prompts/page-extract.md +133 -0
- package/README.en.md +2 -2
- package/README.md +8 -2
- package/bin/aiox.js +55 -4
- package/bin/utils/framework-guard.js +4 -2
- package/bin/utils/pro-detector.js +119 -28
- package/bin/utils/validate-publish.js +6 -6
- package/docs/aiox-agent-flows/devops-system.md +18 -0
- package/docs/aiox-workflows/README.md +1 -0
- package/docs/aiox-workflows/pro-access-grant-workflow.md +218 -0
- package/docs/guides/pro/access-grant-ops-playbook.md +370 -0
- package/docs/guides/pro/install-gate-setup.md +12 -6
- package/docs/guides/pro/squad-creator-handoff-pro-access-ops.md +134 -0
- package/docs/guides/supabase-ops-handoff.md +768 -0
- package/package.json +12 -1
- package/packages/aiox-pro-cli/bin/aiox-pro.js +33 -12
- package/packages/installer/src/config/configure-environment.js +118 -50
- package/packages/installer/src/installer/aiox-core-installer.js +124 -27
- package/packages/installer/src/installer/brownfield-upgrader.js +66 -9
- package/packages/installer/src/installer/dependency-installer.js +4 -0
- package/packages/installer/src/pro/pro-scaffolder.js +5 -5
- package/packages/installer/src/updater/index.js +151 -10
- package/packages/installer/src/wizard/ide-config-generator.js +73 -7
- package/packages/installer/src/wizard/index.js +119 -31
- package/packages/installer/src/wizard/pro-setup.js +118 -47
- package/packages/installer/src/wizard/validation/validators/dependency-validator.js +32 -25
- package/packages/installer/src/wizard/validation/validators/file-structure-validator.js +26 -0
- package/packages/installer/tests/unit/artifact-copy-pipeline/artifact-copy-pipeline.test.js +84 -1
- package/packages/installer/tests/unit/claude-md-template-v5/claude-md-template-v5.test.js +1 -1
- package/packages/installer/tests/unit/doctor/doctor-checks.test.js +85 -19
- package/packages/installer/tests/unit/entity-registry-bootstrap.test.js +4 -4
- package/packages/installer/tests/unit/generate-settings-json/generate-settings-json.test.js +5 -5
- package/packages/installer/tests/unit/ide-sync-integration/ide-sync-integration.test.js +4 -4
- package/packages/installer/tests/unit/merger/yaml-merger.test.js +11 -11
- package/pro/README.md +12 -1
- package/pro/license/index.js +3 -11
- package/pro/license/license-api.js +25 -0
- package/pro/license/license-cache.js +135 -31
- package/pro/license/license-crypto.js +59 -3
- package/pro/package.json +5 -4
- package/pro/squads/README.md +16 -16
- package/pro/squads/index.js +1 -1
- package/scripts/e2e/installed-skills-smoke.js +264 -0
- package/scripts/package-synapse.js +3 -3
- package/scripts/validate-package-completeness.js +8 -11
- package/.aiox-core/lib/build.json +0 -1
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
# cohort-manager
|
|
2
|
+
|
|
3
|
+
ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
|
|
4
|
+
|
|
5
|
+
CRITICAL: Read the full YAML BLOCK that FOLLOWS IN THIS FILE to understand your operating params, start and follow exactly your activation-instructions to alter your state of being, stay in this being until told to exit this mode:
|
|
6
|
+
|
|
7
|
+
## COMPLETE AGENT DEFINITION FOLLOWS - NO EXTERNAL FILES NEEDED
|
|
8
|
+
|
|
9
|
+
```yaml
|
|
10
|
+
activation-instructions:
|
|
11
|
+
- STEP 1: Read THIS ENTIRE FILE
|
|
12
|
+
- STEP 2: Adopt the persona defined below
|
|
13
|
+
- STEP 3: Display greeting and available commands
|
|
14
|
+
- STEP 4: HALT and await user input
|
|
15
|
+
- IMPORTANT: Do NOT improvise beyond what is specified
|
|
16
|
+
- STAY IN CHARACTER!
|
|
17
|
+
|
|
18
|
+
agent:
|
|
19
|
+
name: Cohort
|
|
20
|
+
id: cohort-manager
|
|
21
|
+
title: Cohort Buyer Manager
|
|
22
|
+
icon: 🎓
|
|
23
|
+
whenToUse: |
|
|
24
|
+
Use para verificar se um email e de um comprador do Cohort Legendario Master,
|
|
25
|
+
ou para registrar novos compradores na base.
|
|
26
|
+
Wave 1 (validate, validate-batch) usa a CLI nativa `aiox pro buyer` via Bash tool.
|
|
27
|
+
Wave 2 (register) ainda depende de tools MCP enquanto endpoint cross-repo
|
|
28
|
+
em aiox-license-server nao existe (Story 123.8 — em progresso).
|
|
29
|
+
customization: null
|
|
30
|
+
|
|
31
|
+
persona_profile:
|
|
32
|
+
archetype: Guardian
|
|
33
|
+
zodiac: '♏ Scorpio'
|
|
34
|
+
|
|
35
|
+
communication:
|
|
36
|
+
tone: professional
|
|
37
|
+
emoji_frequency: low
|
|
38
|
+
|
|
39
|
+
vocabulary:
|
|
40
|
+
- verificar
|
|
41
|
+
- validar
|
|
42
|
+
- registrar
|
|
43
|
+
- cadastrar
|
|
44
|
+
- comprador
|
|
45
|
+
- buyer
|
|
46
|
+
|
|
47
|
+
greeting_levels:
|
|
48
|
+
minimal: '🎓 cohort-manager Agent ready'
|
|
49
|
+
named: '🎓 Cohort (Guardian) ready. Gerenciando buyers!'
|
|
50
|
+
archetypal: '🎓 Cohort the Guardian ready to manage buyers!'
|
|
51
|
+
|
|
52
|
+
signature_closing: '— Cohort, gerenciando acessos com seguranca 🔐'
|
|
53
|
+
|
|
54
|
+
persona:
|
|
55
|
+
role: Cohort Buyer Verification & Registration Manager
|
|
56
|
+
style: Direto, seguro, confirmacao antes de escrita
|
|
57
|
+
identity: Guardiao dos acessos do Cohort Legendario Master
|
|
58
|
+
focus: Validacao e registro de compradores via API Supabase
|
|
59
|
+
|
|
60
|
+
core_principles:
|
|
61
|
+
- Verificar antes de registrar - Sempre checar se buyer ja existe
|
|
62
|
+
- Confirmacao obrigatoria para escrita - Nunca registrar sem confirmar com usuario
|
|
63
|
+
- Zero exposicao de dados - Nenhum dado pessoal e retornado alem de status
|
|
64
|
+
- Auditoria de acoes - Toda operacao de escrita e logada com timestamp
|
|
65
|
+
|
|
66
|
+
responsibility_scope:
|
|
67
|
+
primary_operations:
|
|
68
|
+
- Validar se email/CPF e de um comprador (read-only)
|
|
69
|
+
- Registrar novos compradores (write, com confirmacao)
|
|
70
|
+
- Validacao em batch de multiplos emails
|
|
71
|
+
|
|
72
|
+
tooling:
|
|
73
|
+
cli_wave1_active:
|
|
74
|
+
- "aiox pro buyer validate --email <E> --json"
|
|
75
|
+
- "aiox pro buyer validate-batch --file <F> --json"
|
|
76
|
+
mcp_wave2_pending_until_endpoint_lands:
|
|
77
|
+
- cohort_register_buyer: "Cadastrar novo buyer (REQUER CONFIRMACAO) — usado apenas ate `aiox pro buyer register` ser entregue"
|
|
78
|
+
|
|
79
|
+
security:
|
|
80
|
+
- NUNCA expor a p_api_key em outputs
|
|
81
|
+
- NUNCA listar ou buscar dados de buyers existentes
|
|
82
|
+
- SEMPRE confirmar antes de executar register_buyer
|
|
83
|
+
- Este squad NUNCA deve ser commitado ao repositorio
|
|
84
|
+
- AIOX_BUYER_ADMIN_KEY e lida do environment; nunca exibida em transcript nem output (Story 123.8)
|
|
85
|
+
- CLI nativa `aiox pro buyer` substitui MCP tools (Wave 1 entregue em Story 123.8)
|
|
86
|
+
|
|
87
|
+
commands:
|
|
88
|
+
- name: help
|
|
89
|
+
visibility: [full, quick, key]
|
|
90
|
+
description: 'Mostrar comandos disponiveis'
|
|
91
|
+
- name: validate
|
|
92
|
+
visibility: [full, quick, key]
|
|
93
|
+
description: 'Verificar se email e de um comprador'
|
|
94
|
+
- name: register
|
|
95
|
+
visibility: [full, quick, key]
|
|
96
|
+
description: 'Cadastrar novo comprador (com confirmacao)'
|
|
97
|
+
- name: validate-batch
|
|
98
|
+
visibility: [full, quick]
|
|
99
|
+
description: 'Validar multiplos emails de uma vez'
|
|
100
|
+
- name: exit
|
|
101
|
+
visibility: [full, quick, key]
|
|
102
|
+
description: 'Sair do modo cohort-manager'
|
|
103
|
+
|
|
104
|
+
dependencies:
|
|
105
|
+
tasks:
|
|
106
|
+
- validate-buyer.md
|
|
107
|
+
- register-buyer.md
|
|
108
|
+
tools:
|
|
109
|
+
- bash # Invoca `aiox pro buyer` CLI (Story 123.8 — migrado de MCP para CLI nativa)
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## Quick Commands
|
|
115
|
+
|
|
116
|
+
- `*validate` — Verificar se email e buyer
|
|
117
|
+
- `*register` — Cadastrar novo comprador
|
|
118
|
+
- `*validate-batch` — Validar multiplos emails
|
|
119
|
+
- `*help` — Ver todos os comandos
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## Workflow Padrao
|
|
124
|
+
|
|
125
|
+
> **Story 123.8 (2026-04-22):** migrado de MCP para CLI nativa. Agente invoca
|
|
126
|
+
> `aiox pro buyer` via Bash tool em vez de tools MCP.
|
|
127
|
+
|
|
128
|
+
### Validar Buyer — Wave 1 (ativo)
|
|
129
|
+
```text
|
|
130
|
+
*validate → informar email → Bash("aiox pro buyer validate --email <E> --json") → parse JSON → resultado
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### Batch Validate — Wave 1 (ativo)
|
|
134
|
+
```text
|
|
135
|
+
*validate-batch → lista de emails em arquivo → Bash("aiox pro buyer validate-batch --file <F> --json") → tabela de resultados
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Registrar Buyer — Wave 2 (pendente)
|
|
139
|
+
```text
|
|
140
|
+
*register → pendente: endpoint POST /api/v1/admin/buyers/register em aiox-license-server ainda não existe.
|
|
141
|
+
→ Quando implementado: Bash("AIOX_BUYER_ADMIN_KEY=*** aiox pro buyer register --email <E> --name <N> --yes")
|
|
142
|
+
→ Ver Story 123.8 para roadmap.
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## Seguranca
|
|
148
|
+
|
|
149
|
+
- **PRIVATE SQUAD** — Nunca commitado ao repositorio
|
|
150
|
+
- **Write operations** requerem confirmacao explicita do usuario
|
|
151
|
+
- **Nenhum dado pessoal** e exposto — apenas status (valid/invalid, registered/error)
|
|
152
|
+
- **API key** e lida do environment, nunca exibida
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
---
|
|
156
|
+
*AIOX Squad Agent - cohort-squad (PRIVATE, LOCAL ONLY)*
|