Adds scripts/smoke-init-bundle-invariants.mjs with three assertions:
1. Every subdir under .claude/{commands,agents}/ has a COMMANDS_MAP or
AGENTS_MAP entry (zero orphaned dirs).
2. Every skill in SKILLS_MAP has SKILL.md or README.md in the package
(catches Phase 1 regression).
3. No init-template agent shares a basename with a plugin agent (ADR-128
Phase 2 dedup invariant).
Also copies the 5 remaining SKILLS_MAP-referenced skills that were not in
the 29 Phase-1 core/agentdb/github/v3 set (browser, flow-nexus-neural,
flow-nexus-platform, flow-nexus-swarm, dual-mode) so assertion 2 passes.
Wires the smoke into v3-ci.yml as init-bundle-invariants-smoke job with
path filters on .claude/**, src/init/**, plugins/*/agents|skills|commands/**,
and the smoke itself.
Smoke matrix: init-bundle-invariants=PASS, deprecated-actions=PASS,
github-safe-injection=PASS, github-actions-pins=PASS,
attribution-opt-in=PASS, ruvllm-wasm-auto-init=PASS,
plugin-registry-signature=PASS — no regressions.
Co-Authored-By: RuFlo <ruv@ruv.net>