[TEST REPLICA #641] feat(codex, claude): bootstrap Codex skills and add skills-first activation - #646
[TEST REPLICA #641] feat(codex, claude): bootstrap Codex skills and add skills-first activation#646tallessouza wants to merge 9 commits into
Conversation
…Story 123.9] Definitive solution for the bug where squad-chief skills did not appear in Codex's $ menu. Root cause: existing sync:skills:codex (index.js) only generates skills from .aiox-core/development/agents/, leaving squad chiefs in squads/*/agents/ uncovered. Implementation: - New: .aiox-core/infrastructure/scripts/codex-skills-sync/bootstrap.js Standalone, zero-deps (vendored js-yaml fallback). Generates aiox-* skills for both core agents AND squad entry chiefs via config.yaml resolution (entry_agent | tier=orchestrator | *-chief.md). Marker-aware (skips hand-edited skills unless --force, with .bak backup). - New: README.md — explains the difference between sync:skills:codex (incremental, core-only, CI) and setup:codex-skills (full bootstrap, squad chiefs included, operator-facing). - package.json: setup:codex-skills, setup:codex-skills:dry scripts. - Sample output: .codex/skills/aiox-claude-mastery-chief/SKILL.md (only squad whitelisted in this repo; downstream installs with N squads will get N chief skills). Operator usage: npm run setup:codex-skills # full bootstrap npm run setup:codex-skills:dry # preview npm run setup:codex-skills -- --force # overwrite hand-edited (with .bak) Replaces the provisional standalone script previously distributed manually to students. The script logic is preserved verbatim; only the header doc and module exports were adapted for the canonical path. Note: bootstrap.js sits under .aiox-core/infrastructure/scripts/ which is in eslint global ignore, so no lint impact. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
@rafaelscosta is attempting to deploy a commit to the SINKRA - AIOX Team on Vercel. A member of the Team first needs to authorize it. |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
|
Fechando como parte da triagem de manutenção do backlog de PRs abertos do AIOX-Core em 2026-05-07. Motivo: este PR ficou defasado ou está fora do escopo atual do core, com conflito/estado antigo ou conteúdo de produto/app/superfície legada que não deve entrar diretamente em main. Se ainda houver uma ideia útil aqui, o caminho correto é abrir um PR novo, pequeno e atualizado contra main, com story/critério de aceite e validação atual. Obrigado pela contribuição. |
Summary
This PR now contains two related local-agent activation improvements:
Story 123.9 - Codex Skills Bootstrap
Adds
.aiox-core/infrastructure/scripts/codex-skills-sync/bootstrap.jsand npm wrappers:npm run setup:codex-skillsnpm run setup:codex-skills:dryThe bootstrap command generates local
.codex/skills/aiox-*entries for core agents and squad entry chiefs. It keeps the existing incrementalsync:skills:codexflow focused on core agents for CI and normal agent edits.ACORE-SKILLS - Claude Skills-First Core Agents
Ports the controlled
commands -> skillsandagent.md -> SKILL.mdpattern from Sinkra Hub intoaiox-corefor the 12 core AIOX agents.Changes:
.claude/skills/AIOX/agents/<agent-id>/SKILL.mdfor all 12 core agents..claude/commands/AIOX/agents/*.mdinto legacy shims pointing to the canonical skills.activation_type: pipelineto generated Claude agent skills.synapse,greet,design-system,cohort-squad).docs/migration/ACORE-CLAUDE-SKILLS-PREFLIGHT-2026-05-01.md.Validation
Local gates run on 2026-05-03:
```sh
npm run sync:ide:claude
npm run sync:skills:codex
npm run validate:claude-sync
npm run validate:claude-integration
npm run validate:codex-skills
git diff --check
npm test -- tests/ide-sync/transformers.test.js tests/unit/codex-skills-validate.test.js tests/unit/validate-claude-integration.test.js tests/unit/doctor-skills-count.test.js
```
Results:
Follow-up
Expansion from core agents to
squads/*/agentsis intentionally not included. The migration preflight recommends a separateACORE-SQUAD-SKILLSepic to decide namespace, coverage, validation, and sync semantics before implementation.