@su-record/vibe 3.0.0 → 3.2.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/CLAUDE.md +2 -2
- package/README.en.md +6 -4
- package/README.md +5 -3
- package/dist/__tests__/wiring-integrity.test.d.ts +2 -0
- package/dist/__tests__/wiring-integrity.test.d.ts.map +1 -0
- package/dist/__tests__/wiring-integrity.test.js +160 -0
- package/dist/__tests__/wiring-integrity.test.js.map +1 -0
- package/dist/cli/commands/info.d.ts.map +1 -1
- package/dist/cli/commands/info.js +2 -1
- package/dist/cli/commands/info.js.map +1 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +4 -2
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/index.js +102 -128
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/postinstall/claude-agents.d.ts.map +1 -1
- package/dist/cli/postinstall/claude-agents.js +0 -5
- package/dist/cli/postinstall/claude-agents.js.map +1 -1
- package/dist/cli/postinstall/constants.d.ts +6 -0
- package/dist/cli/postinstall/constants.d.ts.map +1 -1
- package/dist/cli/postinstall/constants.js +42 -60
- package/dist/cli/postinstall/constants.js.map +1 -1
- package/dist/cli/postinstall/inline-skills.js +2 -2
- package/dist/cli/postinstall/inline-skills.js.map +1 -1
- package/dist/cli/postinstall/main.d.ts.map +1 -1
- package/dist/cli/postinstall/main.js +2 -0
- package/dist/cli/postinstall/main.js.map +1 -1
- package/dist/cli/postinstall.d.ts +6 -1
- package/dist/cli/postinstall.d.ts.map +1 -1
- package/dist/cli/postinstall.js +6 -1
- package/dist/cli/postinstall.js.map +1 -1
- package/dist/cli/setup/GlobalInstaller.d.ts +1 -15
- package/dist/cli/setup/GlobalInstaller.d.ts.map +1 -1
- package/dist/cli/setup/GlobalInstaller.js +16 -115
- package/dist/cli/setup/GlobalInstaller.js.map +1 -1
- package/dist/cli/setup/GlobalInstaller.test.d.ts +2 -0
- package/dist/cli/setup/GlobalInstaller.test.d.ts.map +1 -0
- package/dist/cli/setup/GlobalInstaller.test.js +16 -0
- package/dist/cli/setup/GlobalInstaller.test.js.map +1 -0
- package/dist/cli/setup/ProjectSetup.js +2 -2
- package/dist/cli/setup/ProjectSetup.js.map +1 -1
- package/dist/cli/setup.d.ts +1 -1
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +1 -1
- package/dist/cli/setup.js.map +1 -1
- package/dist/infra/lib/SkillRepository.js +1 -1
- package/dist/infra/lib/evolution/__tests__/integration.test.js +0 -42
- package/dist/infra/lib/evolution/__tests__/integration.test.js.map +1 -1
- package/hooks/scripts/__tests__/.vibe/command-log.txt +3 -78
- package/hooks/scripts/__tests__/clone-behaviors.test.js +97 -1
- package/hooks/scripts/__tests__/clone-merge-responsive.test.js +106 -0
- package/hooks/scripts/__tests__/code-check-memory-write.test.js +81 -0
- package/hooks/scripts/__tests__/step-counter.test.js +21 -0
- package/hooks/scripts/auto-format.js +2 -11
- package/hooks/scripts/auto-test.js +2 -11
- package/hooks/scripts/clone-extract.js +388 -38
- package/hooks/scripts/clone-merge-responsive.js +184 -0
- package/hooks/scripts/clone-spec.js +33 -8
- package/hooks/scripts/clone-validate.js +15 -9
- package/hooks/scripts/code-check.js +27 -55
- package/hooks/scripts/lib/glob.js +32 -0
- package/hooks/scripts/lib/hook-context.js +19 -2
- package/hooks/scripts/post-edit.js +2 -3
- package/hooks/scripts/prompt-dispatcher.js +1 -1
- package/hooks/scripts/scope-guard.js +3 -42
- package/hooks/scripts/sentinel-guard.js +5 -20
- package/hooks/scripts/session-start.js +2 -2
- package/hooks/scripts/step-counter.js +35 -57
- package/package.json +6 -4
- package/skills/clone/SKILL.md +74 -203
- package/skills/clone/references/capture-rules.md +48 -0
- package/skills/clone/references/legal-and-error-recovery.md +40 -0
- package/skills/clone/references/refine-rules.md +61 -0
- package/skills/clone/references/scaffold-phases.md +59 -0
- package/skills/clone/references/setup-and-layout.md +30 -0
- package/skills/docs/SKILL.md +39 -4
- package/skills/docs/references/api-docs-changelog.md +34 -0
- package/skills/docs/references/codemaps-output.md +23 -0
- package/{agents/diagrammer.md → skills/docs/references/diagram-spec.md} +2 -15
- package/skills/exec-plan/SKILL.md +1 -1
- package/skills/exec-plan/templates/plan.md +1 -1
- package/skills/handoff/SKILL.md +3 -3
- package/skills/handoff/templates/handoff.md +1 -1
- package/skills/vibe/SKILL.md +3 -2
- package/skills/vibe.analyze/SKILL.md +12 -249
- package/skills/vibe.analyze/references/output-templates.md +188 -0
- package/skills/vibe.analyze/references/quality-gate.md +93 -0
- package/skills/vibe.clone/SKILL.md +52 -19
- package/skills/vibe.continue/SKILL.md +32 -0
- package/skills/vibe.design/SKILL.md +23 -1
- package/skills/vibe.design/references/ui-preview.md +20 -0
- package/skills/vibe.docs/SKILL.md +4 -2
- package/skills/vibe.figma/SKILL.md +33 -260
- package/skills/vibe.figma/references/branch-phases.md +113 -0
- package/skills/vibe.figma/references/state-schema.md +42 -0
- package/skills/vibe.figma/references/step-algorithms.md +204 -0
- package/skills/vibe.image/SKILL.md +62 -0
- package/skills/vibe.image/references/image-generation-examples.md +39 -0
- package/skills/vibe.reason/SKILL.md +3 -183
- package/skills/vibe.reason/references/output-format-template.md +57 -0
- package/skills/vibe.reason/references/quality-rubrics.md +94 -0
- package/skills/vibe.reason/references/worked-example.md +45 -0
- package/skills/vibe.review/SKILL.md +13 -348
- package/skills/vibe.review/references/boundary-check.md +25 -0
- package/skills/vibe.review/references/output-template.md +74 -0
- package/skills/vibe.review/references/quality-gate.md +84 -0
- package/skills/vibe.review/references/race-mode.md +117 -0
- package/skills/vibe.review/references/worked-examples.md +94 -0
- package/vibe/templates/claudemd-template.md +1 -1
- package/agents/acceptance-tester.md +0 -56
- package/agents/documenter.md +0 -43
- package/agents/figma/figma-engineer.md +0 -76
- package/dist/cli/llm/gemini-commands.d.ts +0 -25
- package/dist/cli/llm/gemini-commands.d.ts.map +0 -1
- package/dist/cli/llm/gemini-commands.js +0 -143
- package/dist/cli/llm/gemini-commands.js.map +0 -1
- package/dist/cli/postinstall/codex-agents.d.ts +0 -24
- package/dist/cli/postinstall/codex-agents.d.ts.map +0 -1
- package/dist/cli/postinstall/codex-agents.js +0 -114
- package/dist/cli/postinstall/codex-agents.js.map +0 -1
- package/dist/cli/postinstall/codex-instruction.d.ts +0 -10
- package/dist/cli/postinstall/codex-instruction.d.ts.map +0 -1
- package/dist/cli/postinstall/codex-instruction.js +0 -56
- package/dist/cli/postinstall/codex-instruction.js.map +0 -1
- package/dist/cli/postinstall/gemini-agents.d.ts +0 -12
- package/dist/cli/postinstall/gemini-agents.d.ts.map +0 -1
- package/dist/cli/postinstall/gemini-agents.js +0 -80
- package/dist/cli/postinstall/gemini-agents.js.map +0 -1
- package/dist/cli/postinstall/gemini-instruction.d.ts +0 -10
- package/dist/cli/postinstall/gemini-instruction.d.ts.map +0 -1
- package/dist/cli/postinstall/gemini-instruction.js +0 -59
- package/dist/cli/postinstall/gemini-instruction.js.map +0 -1
- package/dist/cli/postinstall/index.d.ts +0 -23
- package/dist/cli/postinstall/index.d.ts.map +0 -1
- package/dist/cli/postinstall/index.js +0 -23
- package/dist/cli/postinstall/index.js.map +0 -1
- package/dist/cli/setup/index.d.ts +0 -9
- package/dist/cli/setup/index.d.ts.map +0 -1
- package/dist/cli/setup/index.js +0 -12
- package/dist/cli/setup/index.js.map +0 -1
- package/dist/infra/lib/ContextCompressor.d.ts +0 -104
- package/dist/infra/lib/ContextCompressor.d.ts.map +0 -1
- package/dist/infra/lib/ContextCompressor.js +0 -297
- package/dist/infra/lib/ContextCompressor.js.map +0 -1
- package/dist/infra/lib/ContextCompressor.test.d.ts +0 -2
- package/dist/infra/lib/ContextCompressor.test.d.ts.map +0 -1
- package/dist/infra/lib/ContextCompressor.test.js +0 -25
- package/dist/infra/lib/ContextCompressor.test.js.map +0 -1
- package/dist/infra/lib/ProgressTracker.d.ts +0 -73
- package/dist/infra/lib/ProgressTracker.d.ts.map +0 -1
- package/dist/infra/lib/ProgressTracker.js +0 -267
- package/dist/infra/lib/ProgressTracker.js.map +0 -1
- package/dist/infra/lib/TokenBudgetTracker.d.ts +0 -68
- package/dist/infra/lib/TokenBudgetTracker.d.ts.map +0 -1
- package/dist/infra/lib/TokenBudgetTracker.js +0 -191
- package/dist/infra/lib/TokenBudgetTracker.js.map +0 -1
- package/dist/infra/lib/autonomy/AuditStore.d.ts +0 -63
- package/dist/infra/lib/autonomy/AuditStore.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/AuditStore.js +0 -185
- package/dist/infra/lib/autonomy/AuditStore.js.map +0 -1
- package/dist/infra/lib/autonomy/AutonomyConfig.d.ts +0 -84
- package/dist/infra/lib/autonomy/AutonomyConfig.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/AutonomyConfig.js +0 -49
- package/dist/infra/lib/autonomy/AutonomyConfig.js.map +0 -1
- package/dist/infra/lib/autonomy/AutonomyOrchestrator.d.ts +0 -78
- package/dist/infra/lib/autonomy/AutonomyOrchestrator.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/AutonomyOrchestrator.js +0 -246
- package/dist/infra/lib/autonomy/AutonomyOrchestrator.js.map +0 -1
- package/dist/infra/lib/autonomy/BackgroundMonitor.d.ts +0 -36
- package/dist/infra/lib/autonomy/BackgroundMonitor.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/BackgroundMonitor.js +0 -138
- package/dist/infra/lib/autonomy/BackgroundMonitor.js.map +0 -1
- package/dist/infra/lib/autonomy/CollaborationProtocol.d.ts +0 -56
- package/dist/infra/lib/autonomy/CollaborationProtocol.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/CollaborationProtocol.js +0 -122
- package/dist/infra/lib/autonomy/CollaborationProtocol.js.map +0 -1
- package/dist/infra/lib/autonomy/ConfirmationManager.d.ts +0 -42
- package/dist/infra/lib/autonomy/ConfirmationManager.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/ConfirmationManager.js +0 -200
- package/dist/infra/lib/autonomy/ConfirmationManager.js.map +0 -1
- package/dist/infra/lib/autonomy/ConfirmationStore.d.ts +0 -55
- package/dist/infra/lib/autonomy/ConfirmationStore.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/ConfirmationStore.js +0 -130
- package/dist/infra/lib/autonomy/ConfirmationStore.js.map +0 -1
- package/dist/infra/lib/autonomy/EventBus.d.ts +0 -20
- package/dist/infra/lib/autonomy/EventBus.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/EventBus.js +0 -119
- package/dist/infra/lib/autonomy/EventBus.js.map +0 -1
- package/dist/infra/lib/autonomy/EventOutbox.d.ts +0 -32
- package/dist/infra/lib/autonomy/EventOutbox.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/EventOutbox.js +0 -152
- package/dist/infra/lib/autonomy/EventOutbox.js.map +0 -1
- package/dist/infra/lib/autonomy/NotificationDispatcher.d.ts +0 -24
- package/dist/infra/lib/autonomy/NotificationDispatcher.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/NotificationDispatcher.js +0 -112
- package/dist/infra/lib/autonomy/NotificationDispatcher.js.map +0 -1
- package/dist/infra/lib/autonomy/PolicyEngine.d.ts +0 -76
- package/dist/infra/lib/autonomy/PolicyEngine.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/PolicyEngine.js +0 -208
- package/dist/infra/lib/autonomy/PolicyEngine.js.map +0 -1
- package/dist/infra/lib/autonomy/ProactiveAnalyzer.d.ts +0 -61
- package/dist/infra/lib/autonomy/ProactiveAnalyzer.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/ProactiveAnalyzer.js +0 -236
- package/dist/infra/lib/autonomy/ProactiveAnalyzer.js.map +0 -1
- package/dist/infra/lib/autonomy/RiskClassifier.d.ts +0 -35
- package/dist/infra/lib/autonomy/RiskClassifier.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/RiskClassifier.js +0 -147
- package/dist/infra/lib/autonomy/RiskClassifier.js.map +0 -1
- package/dist/infra/lib/autonomy/SecuritySentinel.d.ts +0 -51
- package/dist/infra/lib/autonomy/SecuritySentinel.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/SecuritySentinel.js +0 -162
- package/dist/infra/lib/autonomy/SecuritySentinel.js.map +0 -1
- package/dist/infra/lib/autonomy/SuggestionStore.d.ts +0 -54
- package/dist/infra/lib/autonomy/SuggestionStore.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/SuggestionStore.js +0 -144
- package/dist/infra/lib/autonomy/SuggestionStore.js.map +0 -1
- package/dist/infra/lib/autonomy/TaskDecomposer.d.ts +0 -38
- package/dist/infra/lib/autonomy/TaskDecomposer.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/TaskDecomposer.js +0 -175
- package/dist/infra/lib/autonomy/TaskDecomposer.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/audit-store.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/audit-store.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/audit-store.test.js +0 -198
- package/dist/infra/lib/autonomy/__tests__/audit-store.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/event-bus.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/event-bus.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/event-bus.test.js +0 -225
- package/dist/infra/lib/autonomy/__tests__/event-bus.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/event-core.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/event-core.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/event-core.test.js +0 -194
- package/dist/infra/lib/autonomy/__tests__/event-core.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/governance.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/governance.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/governance.test.js +0 -540
- package/dist/infra/lib/autonomy/__tests__/governance.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/integration.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/integration.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/integration.test.js +0 -480
- package/dist/infra/lib/autonomy/__tests__/integration.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/proactive.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/proactive.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/proactive.test.js +0 -410
- package/dist/infra/lib/autonomy/__tests__/proactive.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/sentinel.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/sentinel.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/sentinel.test.js +0 -486
- package/dist/infra/lib/autonomy/__tests__/sentinel.test.js.map +0 -1
- package/dist/infra/lib/autonomy/index.d.ts +0 -18
- package/dist/infra/lib/autonomy/index.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/index.js +0 -22
- package/dist/infra/lib/autonomy/index.js.map +0 -1
- package/dist/infra/lib/autonomy/schemas.d.ts +0 -317
- package/dist/infra/lib/autonomy/schemas.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/schemas.js +0 -90
- package/dist/infra/lib/autonomy/schemas.js.map +0 -1
- package/dist/infra/lib/claude/index.d.ts +0 -5
- package/dist/infra/lib/claude/index.d.ts.map +0 -1
- package/dist/infra/lib/claude/index.js +0 -5
- package/dist/infra/lib/claude/index.js.map +0 -1
- package/dist/infra/lib/claude/storage.d.ts +0 -12
- package/dist/infra/lib/claude/storage.d.ts.map +0 -1
- package/dist/infra/lib/claude/storage.js +0 -54
- package/dist/infra/lib/claude/storage.js.map +0 -1
- package/dist/infra/lib/gemini/auth.d.ts +0 -18
- package/dist/infra/lib/gemini/auth.d.ts.map +0 -1
- package/dist/infra/lib/gemini/auth.js +0 -32
- package/dist/infra/lib/gemini/auth.js.map +0 -1
- package/dist/infra/lib/gemini/capabilities.d.ts +0 -28
- package/dist/infra/lib/gemini/capabilities.d.ts.map +0 -1
- package/dist/infra/lib/gemini/capabilities.js +0 -178
- package/dist/infra/lib/gemini/capabilities.js.map +0 -1
- package/dist/infra/lib/gemini/chat.d.ts +0 -35
- package/dist/infra/lib/gemini/chat.d.ts.map +0 -1
- package/dist/infra/lib/gemini/chat.js +0 -161
- package/dist/infra/lib/gemini/chat.js.map +0 -1
- package/dist/infra/lib/gemini/completion.d.ts +0 -12
- package/dist/infra/lib/gemini/completion.d.ts.map +0 -1
- package/dist/infra/lib/gemini/completion.js +0 -13
- package/dist/infra/lib/gemini/completion.js.map +0 -1
- package/dist/infra/lib/gemini/constants.d.ts +0 -8
- package/dist/infra/lib/gemini/constants.d.ts.map +0 -1
- package/dist/infra/lib/gemini/constants.js +0 -11
- package/dist/infra/lib/gemini/constants.js.map +0 -1
- package/dist/infra/lib/gemini/index.d.ts +0 -13
- package/dist/infra/lib/gemini/index.d.ts.map +0 -1
- package/dist/infra/lib/gemini/index.js +0 -12
- package/dist/infra/lib/gemini/index.js.map +0 -1
- package/dist/infra/lib/gemini/models.d.ts +0 -11
- package/dist/infra/lib/gemini/models.d.ts.map +0 -1
- package/dist/infra/lib/gemini/models.js +0 -38
- package/dist/infra/lib/gemini/models.js.map +0 -1
- package/dist/infra/lib/gemini/orchestration.d.ts +0 -33
- package/dist/infra/lib/gemini/orchestration.d.ts.map +0 -1
- package/dist/infra/lib/gemini/orchestration.js +0 -62
- package/dist/infra/lib/gemini/orchestration.js.map +0 -1
- package/dist/infra/lib/gemini/types.d.ts +0 -115
- package/dist/infra/lib/gemini/types.d.ts.map +0 -1
- package/dist/infra/lib/gemini/types.js +0 -5
- package/dist/infra/lib/gemini/types.js.map +0 -1
- package/dist/infra/orchestrator/AgentAnnouncer.d.ts +0 -64
- package/dist/infra/orchestrator/AgentAnnouncer.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentAnnouncer.js +0 -127
- package/dist/infra/orchestrator/AgentAnnouncer.js.map +0 -1
- package/dist/infra/orchestrator/AgentAnnouncer.test.d.ts +0 -5
- package/dist/infra/orchestrator/AgentAnnouncer.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentAnnouncer.test.js +0 -119
- package/dist/infra/orchestrator/AgentAnnouncer.test.js.map +0 -1
- package/dist/infra/orchestrator/AgentExecutor.d.ts +0 -22
- package/dist/infra/orchestrator/AgentExecutor.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentExecutor.js +0 -272
- package/dist/infra/orchestrator/AgentExecutor.js.map +0 -1
- package/dist/infra/orchestrator/AgentManager.d.ts +0 -72
- package/dist/infra/orchestrator/AgentManager.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentManager.js +0 -183
- package/dist/infra/orchestrator/AgentManager.js.map +0 -1
- package/dist/infra/orchestrator/AgentManifestCache.d.ts +0 -54
- package/dist/infra/orchestrator/AgentManifestCache.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentManifestCache.js +0 -191
- package/dist/infra/orchestrator/AgentManifestCache.js.map +0 -1
- package/dist/infra/orchestrator/AgentRegistry.d.ts +0 -76
- package/dist/infra/orchestrator/AgentRegistry.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentRegistry.js +0 -217
- package/dist/infra/orchestrator/AgentRegistry.js.map +0 -1
- package/dist/infra/orchestrator/AgentRegistry.test.d.ts +0 -5
- package/dist/infra/orchestrator/AgentRegistry.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentRegistry.test.js +0 -122
- package/dist/infra/orchestrator/AgentRegistry.test.js.map +0 -1
- package/dist/infra/orchestrator/BackgroundManager.d.ts +0 -128
- package/dist/infra/orchestrator/BackgroundManager.d.ts.map +0 -1
- package/dist/infra/orchestrator/BackgroundManager.js +0 -620
- package/dist/infra/orchestrator/BackgroundManager.js.map +0 -1
- package/dist/infra/orchestrator/BackgroundManager.test.d.ts +0 -6
- package/dist/infra/orchestrator/BackgroundManager.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/BackgroundManager.test.js +0 -162
- package/dist/infra/orchestrator/BackgroundManager.test.js.map +0 -1
- package/dist/infra/orchestrator/CheckpointManager.d.ts +0 -54
- package/dist/infra/orchestrator/CheckpointManager.d.ts.map +0 -1
- package/dist/infra/orchestrator/CheckpointManager.js +0 -121
- package/dist/infra/orchestrator/CheckpointManager.js.map +0 -1
- package/dist/infra/orchestrator/CodexAgentRuntime.d.ts +0 -12
- package/dist/infra/orchestrator/CodexAgentRuntime.d.ts.map +0 -1
- package/dist/infra/orchestrator/CodexAgentRuntime.js +0 -94
- package/dist/infra/orchestrator/CodexAgentRuntime.js.map +0 -1
- package/dist/infra/orchestrator/CodexAgentRuntime.test.d.ts +0 -2
- package/dist/infra/orchestrator/CodexAgentRuntime.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/CodexAgentRuntime.test.js +0 -37
- package/dist/infra/orchestrator/CodexAgentRuntime.test.js.map +0 -1
- package/dist/infra/orchestrator/LLMCluster.d.ts +0 -82
- package/dist/infra/orchestrator/LLMCluster.d.ts.map +0 -1
- package/dist/infra/orchestrator/LLMCluster.js +0 -146
- package/dist/infra/orchestrator/LLMCluster.js.map +0 -1
- package/dist/infra/orchestrator/MultiLlmResearch.d.ts +0 -31
- package/dist/infra/orchestrator/MultiLlmResearch.d.ts.map +0 -1
- package/dist/infra/orchestrator/MultiLlmResearch.js +0 -160
- package/dist/infra/orchestrator/MultiLlmResearch.js.map +0 -1
- package/dist/infra/orchestrator/PhasePipeline.d.ts +0 -122
- package/dist/infra/orchestrator/PhasePipeline.d.ts.map +0 -1
- package/dist/infra/orchestrator/PhasePipeline.js +0 -385
- package/dist/infra/orchestrator/PhasePipeline.js.map +0 -1
- package/dist/infra/orchestrator/PhaseResultStore.d.ts +0 -39
- package/dist/infra/orchestrator/PhaseResultStore.d.ts.map +0 -1
- package/dist/infra/orchestrator/PhaseResultStore.js +0 -151
- package/dist/infra/orchestrator/PhaseResultStore.js.map +0 -1
- package/dist/infra/orchestrator/SessionStore.d.ts +0 -40
- package/dist/infra/orchestrator/SessionStore.d.ts.map +0 -1
- package/dist/infra/orchestrator/SessionStore.js +0 -116
- package/dist/infra/orchestrator/SessionStore.js.map +0 -1
- package/dist/infra/orchestrator/SmartRouter.d.ts +0 -90
- package/dist/infra/orchestrator/SmartRouter.d.ts.map +0 -1
- package/dist/infra/orchestrator/SmartRouter.js +0 -277
- package/dist/infra/orchestrator/SmartRouter.js.map +0 -1
- package/dist/infra/orchestrator/SmartRouter.test.d.ts +0 -5
- package/dist/infra/orchestrator/SmartRouter.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/SmartRouter.test.js +0 -484
- package/dist/infra/orchestrator/SmartRouter.test.js.map +0 -1
- package/dist/infra/orchestrator/SwarmOrchestrator.d.ts +0 -143
- package/dist/infra/orchestrator/SwarmOrchestrator.d.ts.map +0 -1
- package/dist/infra/orchestrator/SwarmOrchestrator.js +0 -378
- package/dist/infra/orchestrator/SwarmOrchestrator.js.map +0 -1
- package/dist/infra/orchestrator/SwarmOrchestrator.test.d.ts +0 -5
- package/dist/infra/orchestrator/SwarmOrchestrator.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/SwarmOrchestrator.test.js +0 -95
- package/dist/infra/orchestrator/SwarmOrchestrator.test.js.map +0 -1
- package/dist/infra/orchestrator/agentDiscovery.d.ts +0 -26
- package/dist/infra/orchestrator/agentDiscovery.d.ts.map +0 -1
- package/dist/infra/orchestrator/agentDiscovery.js +0 -175
- package/dist/infra/orchestrator/agentDiscovery.js.map +0 -1
- package/dist/infra/orchestrator/backgroundAgent.d.ts +0 -9
- package/dist/infra/orchestrator/backgroundAgent.d.ts.map +0 -1
- package/dist/infra/orchestrator/backgroundAgent.js +0 -10
- package/dist/infra/orchestrator/backgroundAgent.js.map +0 -1
- package/dist/infra/orchestrator/index.d.ts +0 -207
- package/dist/infra/orchestrator/index.d.ts.map +0 -1
- package/dist/infra/orchestrator/index.js +0 -362
- package/dist/infra/orchestrator/index.js.map +0 -1
- package/dist/infra/orchestrator/orchestrator.d.ts +0 -60
- package/dist/infra/orchestrator/orchestrator.d.ts.map +0 -1
- package/dist/infra/orchestrator/orchestrator.js +0 -214
- package/dist/infra/orchestrator/orchestrator.js.map +0 -1
- package/dist/infra/orchestrator/parallelResearch.d.ts +0 -27
- package/dist/infra/orchestrator/parallelResearch.d.ts.map +0 -1
- package/dist/infra/orchestrator/parallelResearch.js +0 -285
- package/dist/infra/orchestrator/parallelResearch.js.map +0 -1
- package/dist/infra/orchestrator/types.d.ts +0 -205
- package/dist/infra/orchestrator/types.d.ts.map +0 -1
- package/dist/infra/orchestrator/types.js +0 -87
- package/dist/infra/orchestrator/types.js.map +0 -1
- package/dist/infra/orchestrator/types.test.d.ts +0 -2
- package/dist/infra/orchestrator/types.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/types.test.js +0 -57
- package/dist/infra/orchestrator/types.test.js.map +0 -1
- package/dist/tools/semantic/analyzeDependencyGraph.d.ts +0 -12
- package/dist/tools/semantic/analyzeDependencyGraph.d.ts.map +0 -1
- package/dist/tools/semantic/analyzeDependencyGraph.js +0 -359
- package/dist/tools/semantic/analyzeDependencyGraph.js.map +0 -1
- package/dist/tools/semantic/astGrep.d.ts +0 -25
- package/dist/tools/semantic/astGrep.d.ts.map +0 -1
- package/dist/tools/semantic/astGrep.js +0 -324
- package/dist/tools/semantic/astGrep.js.map +0 -1
- package/dist/tools/semantic/astGrep.test.d.ts +0 -2
- package/dist/tools/semantic/astGrep.test.d.ts.map +0 -1
- package/dist/tools/semantic/astGrep.test.js +0 -74
- package/dist/tools/semantic/astGrep.test.js.map +0 -1
- package/dist/tools/semantic/findReferences.d.ts +0 -9
- package/dist/tools/semantic/findReferences.d.ts.map +0 -1
- package/dist/tools/semantic/findReferences.js +0 -200
- package/dist/tools/semantic/findReferences.js.map +0 -1
- package/dist/tools/semantic/findSymbol.d.ts +0 -8
- package/dist/tools/semantic/findSymbol.d.ts.map +0 -1
- package/dist/tools/semantic/findSymbol.js +0 -204
- package/dist/tools/semantic/findSymbol.js.map +0 -1
- package/dist/tools/semantic/index.d.ts +0 -9
- package/dist/tools/semantic/index.d.ts.map +0 -1
- package/dist/tools/semantic/index.js +0 -11
- package/dist/tools/semantic/index.js.map +0 -1
- package/dist/tools/semantic/lsp.d.ts +0 -68
- package/dist/tools/semantic/lsp.d.ts.map +0 -1
- package/dist/tools/semantic/lsp.js +0 -561
- package/dist/tools/semantic/lsp.js.map +0 -1
- package/dist/tools/spec/e2eTestGenerator.d.ts +0 -61
- package/dist/tools/spec/e2eTestGenerator.d.ts.map +0 -1
- package/dist/tools/spec/e2eTestGenerator.js +0 -255
- package/dist/tools/spec/e2eTestGenerator.js.map +0 -1
- package/dist/tools/spec/specVersioning.d.ts +0 -76
- package/dist/tools/spec/specVersioning.d.ts.map +0 -1
- package/dist/tools/spec/specVersioning.js +0 -236
- package/dist/tools/spec/specVersioning.js.map +0 -1
- package/hooks/scripts/__tests__/.vibe/memories/memories.db +0 -0
- package/hooks/scripts/__tests__/.vibe/memories/memories.db-shm +0 -0
- package/hooks/scripts/__tests__/.vibe/memories/memories.db-wal +0 -0
- package/hooks/scripts/evolution-engine.js +0 -91
- package/hooks/scripts/hud-status.js +0 -321
- package/hooks/scripts/skill-injector.js +0 -83
- package/skills/vibe.utils/SKILL.md +0 -415
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# Race Mode — Full Reference
|
|
2
|
+
|
|
3
|
+
> Loaded by vibe.review SKILL.md when Race Mode (`--race`, Multi-LLM competitive review) is invoked.
|
|
4
|
+
|
|
5
|
+
### How It Works
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/vibe.review --race
|
|
9
|
+
|
|
10
|
+
security-review:
|
|
11
|
+
├─ GPT Codex → [SQL injection, XSS]
|
|
12
|
+
└─ Antigravity → [SQL injection, CSRF]
|
|
13
|
+
↓
|
|
14
|
+
Cross-validation:
|
|
15
|
+
- SQL injection (2/2) → 🔴 P1 (100% confidence)
|
|
16
|
+
- XSS (1/2) → 🟡 P2 (50% confidence)
|
|
17
|
+
- CSRF (1/2) → 🟡 P2 (50% confidence)
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
### Confidence-Based Priority
|
|
21
|
+
|
|
22
|
+
| Confidence | Priority | Meaning |
|
|
23
|
+
|------------|----------|---------|
|
|
24
|
+
| 100% (2/2) | P1 | Both models agree - high confidence |
|
|
25
|
+
| 50% (1/2) | P2 | One model found - needs verification |
|
|
26
|
+
|
|
27
|
+
### Race Mode Options
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
/vibe.review --race # All review types
|
|
31
|
+
/vibe.review --race security # Security only
|
|
32
|
+
/vibe.review --race performance # Performance only
|
|
33
|
+
/vibe.review --race architecture # Architecture only
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Race Mode Output
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
## SECURITY Review (Race Mode)
|
|
40
|
+
|
|
41
|
+
**Duration**: 3420ms
|
|
42
|
+
**Models**: GPT Codex, Antigravity
|
|
43
|
+
|
|
44
|
+
### Model Results
|
|
45
|
+
|
|
46
|
+
| Model | Issues Found | Duration | Status |
|
|
47
|
+
|-------|--------------|----------|--------|
|
|
48
|
+
| gpt | 3 | 1823ms | OK |
|
|
49
|
+
| antigravity | 2 | 2156ms | OK |
|
|
50
|
+
|
|
51
|
+
### Cross-Validated Issues
|
|
52
|
+
|
|
53
|
+
**Summary**: 3 issues (P1: 1, P2: 2)
|
|
54
|
+
**Consensus Rate**: 67%
|
|
55
|
+
|
|
56
|
+
#### 🔴 P1 - SQL Injection in user query
|
|
57
|
+
|
|
58
|
+
- **Confidence**: 100% (gpt, antigravity)
|
|
59
|
+
- **Severity**: critical
|
|
60
|
+
- **Location**: `src/api/users.ts:42`
|
|
61
|
+
- **Suggestion**: Use parameterized queries
|
|
62
|
+
|
|
63
|
+
#### 🟡 P2 - XSS vulnerability in render
|
|
64
|
+
|
|
65
|
+
- **Confidence**: 50% (gpt)
|
|
66
|
+
- **Severity**: high
|
|
67
|
+
- **Location**: `src/components/Comment.tsx:15`
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### Codex Review (Codex 플러그인 활성화 시)
|
|
71
|
+
|
|
72
|
+
Race Mode에서 GPT+Antigravity와 **동시에** Codex review 실행하여 3중 교차 검증:
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
/codex:review
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
교차 검증 테이블:
|
|
79
|
+
|
|
80
|
+
```markdown
|
|
81
|
+
| Issue | GPT | Antigravity | Codex | Confidence |
|
|
82
|
+
|-------|-----|--------|-------|------------|
|
|
83
|
+
| {이슈} | ✅/❌ | ✅/❌ | ✅/❌ | {%} |
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
- 3개 모델 중 2개 이상 동의 → **High Confidence** (P1 자동 수정)
|
|
87
|
+
- Codex만 발견 → **Medium Confidence** (P2 수동 검토)
|
|
88
|
+
|
|
89
|
+
### When to Use Race Mode
|
|
90
|
+
|
|
91
|
+
| Scenario | Recommended |
|
|
92
|
+
|----------|-------------|
|
|
93
|
+
| Critical security review | ✅ `--race security` |
|
|
94
|
+
| Pre-production audit | ✅ `--race` |
|
|
95
|
+
| Quick iteration | ❌ Standard review |
|
|
96
|
+
| API cost concerns | ❌ Standard review |
|
|
97
|
+
|
|
98
|
+
### Tool Invocation (Race Mode - GPT + Antigravity in parallel via Bash)
|
|
99
|
+
|
|
100
|
+
**🚨 Use --input file to avoid CLI argument length limits and Windows pipe issues.**
|
|
101
|
+
|
|
102
|
+
1. Save code to review into `[SCRATCHPAD]/review-code.txt` (using Write tool)
|
|
103
|
+
2. Write JSON input file `[SCRATCHPAD]/review-input.json` (using Write tool):
|
|
104
|
+
- `{"prompt": "Review this code for [REVIEW_TYPE]. Return JSON: {issues: [{id, title, description, severity, suggestion}]}. Code: [CODE_CONTENT]"}`
|
|
105
|
+
- Where `[CODE_CONTENT]` is the code text (properly JSON-escaped inside the prompt string)
|
|
106
|
+
3. Script path: `[LLM_SCRIPT]` = `{{VIBE_PATH}}/hooks/scripts/llm-orchestrate.js`
|
|
107
|
+
4. Run GPT + Antigravity in PARALLEL (two Bash tool calls at once):
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
# GPT review (Bash tool call 1)
|
|
111
|
+
node "[LLM_SCRIPT]" gpt orchestrate-json --input "[SCRATCHPAD]/review-input.json"
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
# Antigravity review (Bash tool call 2 - run in parallel)
|
|
116
|
+
node "[LLM_SCRIPT]" antigravity orchestrate-json --input "[SCRATCHPAD]/review-input.json"
|
|
117
|
+
```
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# Review Worked Examples — Full Reference
|
|
2
|
+
|
|
3
|
+
> Loaded by vibe.review SKILL.md for Tech Stack Detection, Review Debate output, Auto-Fix output, Todo file naming, and Core Tool usage examples.
|
|
4
|
+
|
|
5
|
+
## Phase 1 Tech Stack Detection — Full Detection List
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
Read package.json -> TypeScript, React, Node.js
|
|
9
|
+
Read pyproject.toml -> Python, FastAPI, Django
|
|
10
|
+
Read Gemfile -> Ruby, Rails
|
|
11
|
+
Read pubspec.yaml -> Flutter, Dart
|
|
12
|
+
Read go.mod -> Go
|
|
13
|
+
Read CLAUDE.md -> Explicit tech stack declaration
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Phase 4.5 Review Debate — Example Output
|
|
17
|
+
|
|
18
|
+
**토론 결과 예시:**
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
🤝 REVIEW DEBATE RESULTS
|
|
22
|
+
|
|
23
|
+
Consensus (4 parallel reviewers):
|
|
24
|
+
|
|
25
|
+
✅ Validated P1 (unanimous):
|
|
26
|
+
1. [SECURITY] SQL Injection — 4/4 agree critical
|
|
27
|
+
|
|
28
|
+
⬆️ Upgraded P2→P1 (debate result):
|
|
29
|
+
2. [PERF] Unbounded query — code-reviewer (focus: architecture) pointed out
|
|
30
|
+
cascading failure risk under load → agreed P1
|
|
31
|
+
|
|
32
|
+
⬇️ Downgraded P1→P2 (debate result):
|
|
33
|
+
3. [SECURITY] CSRF on read-only endpoint — code-reviewer (focus: complexity)
|
|
34
|
+
noted endpoint has no side effects → agreed P2
|
|
35
|
+
|
|
36
|
+
❌ Removed (false positive):
|
|
37
|
+
4. [ARCH] "Circular dependency" — code-reviewer (focus: architecture) confirmed
|
|
38
|
+
this is intentional bi-directional reference, not a cycle
|
|
39
|
+
|
|
40
|
+
🆕 New findings (cross-review discussion):
|
|
41
|
+
5. [DATA] Race condition in concurrent updates — emerged from
|
|
42
|
+
security + performance cross-review
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Phase 5 Auto-Fix — Example Output
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
🔧 AUTO-FIX Starting...
|
|
49
|
+
|
|
50
|
+
P1 Critical:
|
|
51
|
+
1. [SECURITY] SQL Injection → Fixed with parameterized query ✅
|
|
52
|
+
2. [DATA] Missing transaction rollback → Added try-finally ✅
|
|
53
|
+
|
|
54
|
+
P2 Important:
|
|
55
|
+
3. [PERF] N+1 query → Added select_related ✅
|
|
56
|
+
4. [ARCH] Circular dependency → Separated dependencies ✅
|
|
57
|
+
5. [TEST] Missing edge case → Added test ✅
|
|
58
|
+
|
|
59
|
+
🔍 Re-validating...
|
|
60
|
+
✅ Build successful
|
|
61
|
+
✅ Tests passed
|
|
62
|
+
|
|
63
|
+
✅ 5 issues auto-fixed!
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Phase 6 Todo File Creation — Naming Examples
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
{priority}-{category}-{short-desc}.md
|
|
70
|
+
|
|
71
|
+
Examples:
|
|
72
|
+
- P2-arch-large-refactor.md (Cannot be auto-fixed)
|
|
73
|
+
- P3-style-extract-helper.md (Backlog)
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Core Tools — Example Tool Usage in Review
|
|
77
|
+
|
|
78
|
+
**1. Validate code quality before review:**
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
node -e "import('{{VIBE_PATH_URL}}/node_modules/@su-record/vibe/dist/tools/index.js').then(t => t.validateCodeQuality({targetPath: 'src/', projectPath: process.cwd()}).then(r => console.log(r.content[0].text)))"
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
**2. Analyze complexity of changed files:**
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
node -e "import('{{VIBE_PATH_URL}}/node_modules/@su-record/vibe/dist/tools/index.js').then(t => t.analyzeComplexity({targetPath: 'src/api/users.ts', projectPath: process.cwd()}).then(r => console.log(r.content[0].text)))"
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
**3. Save critical finding for reference:**
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
node -e "import('{{VIBE_PATH_URL}}/node_modules/@su-record/vibe/dist/tools/index.js').then(t => t.saveMemory({key: 'review-pr123-critical', value: 'SQL injection in users.py:42', category: 'review', projectPath: process.cwd()}).then(r => console.log(r.content[0].text)))"
|
|
94
|
+
```
|
|
@@ -64,7 +64,7 @@ Convergence Principle: loop until P1 = 0. Changed files only.
|
|
|
64
64
|
|
|
65
65
|
## Context Management
|
|
66
66
|
|
|
67
|
-
At 85%+ context: `save_memory` → `/new` → `/vibe.
|
|
67
|
+
At 85%+ context: `save_memory` → `/new` → `/vibe.continue` (raised from 70% — `/new` discards the entire KV prefix cache, so compacting less often preserves cache reuse)
|
|
68
68
|
|
|
69
69
|
## Git Commit Rules
|
|
70
70
|
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# Acceptance Tester Agent
|
|
2
|
-
|
|
3
|
-
Acceptance gate for a feature: verifies that acceptance criteria are testable,
|
|
4
|
-
routes changed code to the right reviews, and synthesizes one QA verdict.
|
|
5
|
-
|
|
6
|
-
## Role
|
|
7
|
-
|
|
8
|
-
- Verify SPEC acceptance criteria are measurable and Feature scenarios complete
|
|
9
|
-
- Route changed files to the right QA focus and dispatch reviews in parallel
|
|
10
|
-
- Synthesize findings into a single prioritized QA report
|
|
11
|
-
|
|
12
|
-
## Model
|
|
13
|
-
|
|
14
|
-
**Sonnet** — routing judgement plus criteria analysis
|
|
15
|
-
|
|
16
|
-
## Goal
|
|
17
|
-
|
|
18
|
-
Answer "is this feature acceptably done, and how would we know?". Two halves:
|
|
19
|
-
|
|
20
|
-
**Criteria testability** — read `.vibe/specs/{feature}.md` (`<acceptance>`
|
|
21
|
-
section) and `.vibe/features/{feature}.feature`. Every acceptance criterion
|
|
22
|
-
needs a concrete pass/fail condition (numeric thresholds, not "fast" or
|
|
23
|
-
"user-friendly"), at least one Given/When/Then scenario, and an automatable
|
|
24
|
-
check. Error paths and boundary conditions must be covered, not just the
|
|
25
|
-
happy path. Report untestable criteria with a concrete measurable rewrite.
|
|
26
|
-
|
|
27
|
-
**QA routing** — check readiness first: if the build fails, stop and report
|
|
28
|
-
build errors only. Then classify `git diff --name-only` output and dispatch
|
|
29
|
-
the matching reviews in parallel (max 5), each with its explicit file list:
|
|
30
|
-
|
|
31
|
-
| Change signal | Dispatch |
|
|
32
|
-
|---|---|
|
|
33
|
-
| API/services/controllers | code-reviewer (correctness, performance), security-reviewer |
|
|
34
|
-
| UI components/pages | design-reviewer, code-reviewer (correctness) |
|
|
35
|
-
| Models/migrations/schema | code-reviewer (data-integrity) |
|
|
36
|
-
| Auth/session/middleware | security-reviewer, e2e-tester |
|
|
37
|
-
| Multi-step flows (checkout, forms) | e2e-tester, tester (edge cases) |
|
|
38
|
-
| Config/CI/infra | security-reviewer, code-reviewer (architecture) |
|
|
39
|
-
|
|
40
|
-
Merge results by priority (P1/P2/P3), de-duplicate, and elevate confidence on
|
|
41
|
-
findings flagged by two or more reviewers. State which QA modalities were
|
|
42
|
-
*not* run and why — coverage gaps are part of the verdict.
|
|
43
|
-
|
|
44
|
-
## Constraints
|
|
45
|
-
|
|
46
|
-
Report-only: never modify source code, write tests, or create files — output
|
|
47
|
-
is the QA report text; fixes belong to the implementer. If a dispatched
|
|
48
|
-
review fails, retry once, then record it as a coverage gap rather than
|
|
49
|
-
blocking. Judge completion by evidence (test exit codes, reviewer findings),
|
|
50
|
-
never by the implementer's self-report.
|
|
51
|
-
|
|
52
|
-
## Done
|
|
53
|
-
|
|
54
|
-
- Every acceptance criterion classified: testable / needs rewrite (with proposed measurable version) / not automatable
|
|
55
|
-
- Build status verified before any review dispatch
|
|
56
|
-
- Unified report: P1/P2/P3 findings with locations, cross-validated findings marked, coverage gaps listed
|
package/agents/documenter.md
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# Documenter Agent
|
|
2
|
-
|
|
3
|
-
Documentation generator for the two artifacts that go stale fastest: API docs
|
|
4
|
-
and changelogs.
|
|
5
|
-
|
|
6
|
-
## Role
|
|
7
|
-
|
|
8
|
-
- Extract API endpoints/interfaces from source and document them with schemas and examples
|
|
9
|
-
- Generate changelog entries from git diff with semantic version bump suggestion
|
|
10
|
-
- Flag undocumented endpoints and missing migration guides
|
|
11
|
-
|
|
12
|
-
## Model
|
|
13
|
-
|
|
14
|
-
**Haiku** — fast extraction and drafting
|
|
15
|
-
|
|
16
|
-
## Goal
|
|
17
|
-
|
|
18
|
-
**API mode** — walk the route handlers/controllers in the given scope and
|
|
19
|
-
document each endpoint: method + path, auth requirement, parameters (path/
|
|
20
|
-
query/body with types, required vs optional, enum values), success and error
|
|
21
|
-
responses (all status codes actually returned), and a runnable example (curl
|
|
22
|
-
or fetch). List endpoints that exist in code but lack documentation — the gap
|
|
23
|
-
list is as valuable as the docs.
|
|
24
|
-
|
|
25
|
-
**Changelog mode** — from `git diff` and `git log`, classify changes as
|
|
26
|
-
breaking / added / changed / fixed / performance / internal / dependencies.
|
|
27
|
-
Recommend the semantic version bump with a one-line reason. Every breaking
|
|
28
|
-
change gets migration steps; every fix states old vs new behavior.
|
|
29
|
-
|
|
30
|
-
## Constraints
|
|
31
|
-
|
|
32
|
-
Return documentation as text output only — never create or write files; the
|
|
33
|
-
calling command decides where content lands. Descriptions are user-facing:
|
|
34
|
-
what changed for the consumer, not which internal function was refactored
|
|
35
|
-
(pure refactors go under Internal, briefly). Document what the code actually
|
|
36
|
-
does, not what comments claim — when they disagree, flag the discrepancy
|
|
37
|
-
rather than picking one silently.
|
|
38
|
-
|
|
39
|
-
## Done
|
|
40
|
-
|
|
41
|
-
- API mode: every endpoint in scope documented or explicitly listed as an undocumented gap
|
|
42
|
-
- Changelog mode: all changes classified, version bump recommended with reason, breaking changes have migration steps
|
|
43
|
-
- Output is paste-ready text; zero files created
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
# Figma Engineer Agent
|
|
2
|
-
|
|
3
|
-
End-to-end Figma → production code specialist: extract, refine, design, build,
|
|
4
|
-
and pixel-verify — one agent owning the whole pipeline per breakpoint.
|
|
5
|
-
|
|
6
|
-
## Role
|
|
7
|
-
|
|
8
|
-
- Collect and refine Figma design data (tree.json → sections.json) per breakpoint
|
|
9
|
-
- Design the component tree and build HTML + script-generated SCSS
|
|
10
|
-
- Verify with compile gates and pixel-level visual comparison until P1 = 0
|
|
11
|
-
|
|
12
|
-
## Model
|
|
13
|
-
|
|
14
|
-
**Sonnet** — structured pipeline work with strict invariants
|
|
15
|
-
|
|
16
|
-
## Goal
|
|
17
|
-
|
|
18
|
-
Turn a Figma file/node into components that match the design pixel-for-pixel.
|
|
19
|
-
Work per breakpoint under `/tmp/{feature}/{bp}-main/`, section by section
|
|
20
|
-
(sequential, never parallel), and treat visual verification as part of the
|
|
21
|
-
work — code that compiles but hasn't been compared against the Figma
|
|
22
|
-
screenshots is unfinished.
|
|
23
|
-
|
|
24
|
-
## Pipeline Knowledge
|
|
25
|
-
|
|
26
|
-
**Refine (tree.json → sections.json)** — run `figma-refine.js`. The result
|
|
27
|
-
must contain the full recursive subtree (leaf nodes included) so code can be
|
|
28
|
-
generated without ever re-reading tree.json. Refinement rules: drop 0px nodes,
|
|
29
|
-
VECTOR decoration lines (w/h ≤ 2px), and `isMask` nodes; move BG frames out of
|
|
30
|
-
children into `images.bg`; move vector-lettering GROUPs and designed TEXT
|
|
31
|
-
(multi-fill/gradient/effects) into `images.content`; everything else stays in
|
|
32
|
-
children with its CSS.
|
|
33
|
-
|
|
34
|
-
**Image classification (blocking — settle before any code)**: TEXT child →
|
|
35
|
-
HTML (exception: designed text stays an image); repeated INSTANCE → HTML
|
|
36
|
-
`v-for`; interactive → HTML button/a; dynamic data → HTML text; all four no →
|
|
37
|
-
image is allowed.
|
|
38
|
-
|
|
39
|
-
**Component design (sections.json → component-spec.json)** — 1-depth children
|
|
40
|
-
become section components; an INSTANCE repeated 2+ times is a shared-component
|
|
41
|
-
candidate, used in 3+ places makes it shared. Semantic tags: top level
|
|
42
|
-
`section`, headings `h1–h6` in order, copy `p`, clickable `button`/`a`, lists
|
|
43
|
-
`ul/ol > li`. The spec fixes tags/structure/roles/props — build follows it, no
|
|
44
|
-
ad-hoc restructuring.
|
|
45
|
-
|
|
46
|
-
**Build (per section)** — run `figma-to-scss.js` for the SCSS skeleton, write
|
|
47
|
-
the HTML template from the spec, add interactions (@click, v-for, state), then
|
|
48
|
-
run `figma-validate.js` and fix mismatches until it passes before moving to
|
|
49
|
-
the next section.
|
|
50
|
-
|
|
51
|
-
**Verify** — capture a tsc/build error baseline before building (only new
|
|
52
|
-
errors are yours). Gate 1: typecheck + build + dev server up. Gate 2 (visual,
|
|
53
|
-
mandatory): rendered screenshots vs Figma `sections/` screenshots — pixelmatch
|
|
54
|
-
diffRatio > 0.1 → P1; computed CSS vs sections.json — delta > 4px → P1,
|
|
55
|
-
≤ 4px → P2; check for missing images/text. Fix and re-verify until P1 = 0;
|
|
56
|
-
no iteration cap.
|
|
57
|
-
|
|
58
|
-
## Constraints
|
|
59
|
-
|
|
60
|
-
SCSS is never hand-written: only `figma-to-scss.js` output, imported as-is —
|
|
61
|
-
no edits to its values, no custom functions/mixins, no CSS in Vue/React
|
|
62
|
-
`<style>` blocks beyond `@import`, no project tokens (the script emits its
|
|
63
|
-
own). Use only the installed `~/.vibe/hooks/scripts/figma-*.js` scripts; never
|
|
64
|
-
write substitute refine/generate scripts in `/tmp` — if a script's output is wrong,
|
|
65
|
-
report that the script needs fixing. CSS values stay Figma-original px (no
|
|
66
|
-
vw/clamp/@media — this is static implementation). Image files are kebab-case
|
|
67
|
-
(`hero-bg.webp`, never hash names); BG renders via CSS `background-image`,
|
|
68
|
-
never `<img>`. Before building, confirm sections.json exists (run
|
|
69
|
-
figma-refine.js if not) and that every SCSS file traces to a figma-to-scss.js
|
|
70
|
-
invocation.
|
|
71
|
-
|
|
72
|
-
## Done
|
|
73
|
-
|
|
74
|
-
- Every section built per component-spec.json and passing figma-validate.js
|
|
75
|
-
- Typecheck + build green (against the pre-existing baseline)
|
|
76
|
-
- Visual verification executed with P1 = 0 (diffRatio ≤ 0.1, CSS deltas ≤ 4px); remaining P2s listed
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Gemini CLI 명령어
|
|
3
|
-
*
|
|
4
|
-
* - vibe gemini key: API Key 설정
|
|
5
|
-
* - vibe gemini status: 상태 확인
|
|
6
|
-
* - vibe gemini logout: 설정 제거
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Gemini 인증 핵심 로직 (process.exit 없음)
|
|
10
|
-
* API Key 확인
|
|
11
|
-
*/
|
|
12
|
-
export declare function geminiAuthCore(): boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Gemini 인증 (CLI 명령어용)
|
|
15
|
-
*/
|
|
16
|
-
export declare function geminiAuth(): Promise<void>;
|
|
17
|
-
/**
|
|
18
|
-
* Gemini 상태 확인
|
|
19
|
-
*/
|
|
20
|
-
export declare function geminiStatus(): void;
|
|
21
|
-
/**
|
|
22
|
-
* Gemini 로그아웃
|
|
23
|
-
*/
|
|
24
|
-
export declare function geminiLogout(): void;
|
|
25
|
-
//# sourceMappingURL=gemini-commands.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gemini-commands.d.ts","sourceRoot":"","sources":["../../../src/cli/llm/gemini-commands.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAcH;;;GAGG;AACH,wBAAgB,cAAc,IAAI,OAAO,CAYxC;AAED;;GAEG;AACH,wBAAsB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAwBhD;AAED;;GAEG;AACH,wBAAgB,YAAY,IAAI,IAAI,CAiCnC;AAED;;GAEG;AACH,wBAAgB,YAAY,IAAI,IAAI,CA6BnC"}
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Gemini CLI 명령어
|
|
3
|
-
*
|
|
4
|
-
* - vibe gemini key: API Key 설정
|
|
5
|
-
* - vibe gemini status: 상태 확인
|
|
6
|
-
* - vibe gemini logout: 설정 제거
|
|
7
|
-
*/
|
|
8
|
-
import fs from 'fs';
|
|
9
|
-
import { getProjectConfigPath, getProjectConfigPaths, readGlobalConfig, writeGlobalConfig, } from '../../infra/lib/config/GlobalConfigManager.js';
|
|
10
|
-
/**
|
|
11
|
-
* Gemini 인증 핵심 로직 (process.exit 없음)
|
|
12
|
-
* API Key 확인
|
|
13
|
-
*/
|
|
14
|
-
export function geminiAuthCore() {
|
|
15
|
-
const config = readGlobalConfig();
|
|
16
|
-
const apiKey = config.credentials?.gemini?.apiKey || process.env.GEMINI_API_KEY;
|
|
17
|
-
if (apiKey) {
|
|
18
|
-
updateConfigOnAuth('apikey');
|
|
19
|
-
console.log('Gemini API Key configured.');
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
console.log('No API key found. Run "vibe gemini key <key>" to set up.');
|
|
23
|
-
return false;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Gemini 인증 (CLI 명령어용)
|
|
27
|
-
*/
|
|
28
|
-
export async function geminiAuth() {
|
|
29
|
-
console.log(`
|
|
30
|
-
Gemini Authentication
|
|
31
|
-
|
|
32
|
-
API Key (Google AI Studio):
|
|
33
|
-
vibe gemini key <your-api-key>
|
|
34
|
-
|
|
35
|
-
Get your API key from:
|
|
36
|
-
https://aistudio.google.com/apikey
|
|
37
|
-
`);
|
|
38
|
-
const config = readGlobalConfig();
|
|
39
|
-
const apiKey = config.credentials?.gemini?.apiKey;
|
|
40
|
-
if (apiKey) {
|
|
41
|
-
console.log('API Key: configured');
|
|
42
|
-
console.log('\nStatus: vibe gemini status');
|
|
43
|
-
console.log('Logout: vibe gemini logout');
|
|
44
|
-
process.exit(0);
|
|
45
|
-
}
|
|
46
|
-
console.log('No API key configured.');
|
|
47
|
-
console.log('Run: vibe gemini key <your-api-key>');
|
|
48
|
-
process.exit(1);
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Gemini 상태 확인
|
|
52
|
-
*/
|
|
53
|
-
export function geminiStatus() {
|
|
54
|
-
try {
|
|
55
|
-
const config = readGlobalConfig();
|
|
56
|
-
const geminiCreds = config.credentials?.gemini;
|
|
57
|
-
const hasApiKey = Boolean(geminiCreds?.apiKey) || Boolean(process.env.GEMINI_API_KEY);
|
|
58
|
-
if (hasApiKey) {
|
|
59
|
-
const modelOverrides = config.models;
|
|
60
|
-
const lines = [
|
|
61
|
-
'\nGemini Status\n',
|
|
62
|
-
'Auth: API Key',
|
|
63
|
-
`Source: ${geminiCreds?.apiKey ? '~/.vibe/config.json' : 'GEMINI_API_KEY env'}`,
|
|
64
|
-
];
|
|
65
|
-
lines.push('\nModels:');
|
|
66
|
-
lines.push(` gemini=${modelOverrides?.gemini || process.env.GEMINI_MODEL || '(default)'}`);
|
|
67
|
-
lines.push(` geminiFlash=${modelOverrides?.geminiFlash || process.env.GEMINI_FLASH_MODEL || '(default)'}\n`);
|
|
68
|
-
console.log(lines.join('\n'));
|
|
69
|
-
return;
|
|
70
|
-
}
|
|
71
|
-
console.log(`
|
|
72
|
-
Gemini Status
|
|
73
|
-
|
|
74
|
-
No credentials found.
|
|
75
|
-
|
|
76
|
-
Set up:
|
|
77
|
-
vibe gemini key <your-api-key>
|
|
78
|
-
or set GEMINI_API_KEY env var
|
|
79
|
-
`);
|
|
80
|
-
}
|
|
81
|
-
catch (error) {
|
|
82
|
-
const message = error instanceof Error ? error.message : String(error);
|
|
83
|
-
console.error('Status check failed:', message);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* Gemini 로그아웃
|
|
88
|
-
*/
|
|
89
|
-
export function geminiLogout() {
|
|
90
|
-
try {
|
|
91
|
-
const config = readGlobalConfig();
|
|
92
|
-
if (config.credentials?.gemini) {
|
|
93
|
-
delete config.credentials.gemini;
|
|
94
|
-
writeGlobalConfig(config);
|
|
95
|
-
console.log('Gemini credentials removed from ~/.vibe/config.json');
|
|
96
|
-
}
|
|
97
|
-
const projectRoot = process.cwd();
|
|
98
|
-
const configPath = findExistingProjectConfig(projectRoot);
|
|
99
|
-
if (fs.existsSync(configPath)) {
|
|
100
|
-
try {
|
|
101
|
-
const projConfig = JSON.parse(fs.readFileSync(configPath, 'utf-8'));
|
|
102
|
-
if (projConfig.models?.gemini) {
|
|
103
|
-
projConfig.models.gemini.enabled = false;
|
|
104
|
-
projConfig.models.gemini.authType = undefined;
|
|
105
|
-
projConfig.models.gemini.email = undefined;
|
|
106
|
-
fs.writeFileSync(configPath, JSON.stringify(projConfig, null, 2));
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
catch { /* ignore */ }
|
|
110
|
-
}
|
|
111
|
-
console.log('Gemini credentials cleared.');
|
|
112
|
-
}
|
|
113
|
-
catch (error) {
|
|
114
|
-
const message = error instanceof Error ? error.message : String(error);
|
|
115
|
-
console.error('Logout failed:', message);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* config.json에 Gemini 활성화 기록
|
|
120
|
-
*/
|
|
121
|
-
function updateConfigOnAuth(method) {
|
|
122
|
-
const configPath = findExistingProjectConfig(process.cwd());
|
|
123
|
-
if (!fs.existsSync(configPath))
|
|
124
|
-
return;
|
|
125
|
-
try {
|
|
126
|
-
const config = JSON.parse(fs.readFileSync(configPath, 'utf-8'));
|
|
127
|
-
if (!config.models)
|
|
128
|
-
config.models = {};
|
|
129
|
-
config.models.gemini = {
|
|
130
|
-
enabled: true,
|
|
131
|
-
authType: method,
|
|
132
|
-
role: 'exploration',
|
|
133
|
-
description: 'Gemini (API Key)',
|
|
134
|
-
};
|
|
135
|
-
fs.writeFileSync(configPath, JSON.stringify(config, null, 2));
|
|
136
|
-
}
|
|
137
|
-
catch { /* ignore */ }
|
|
138
|
-
}
|
|
139
|
-
function findExistingProjectConfig(projectRoot) {
|
|
140
|
-
return getProjectConfigPaths(projectRoot).find(p => fs.existsSync(p))
|
|
141
|
-
|| getProjectConfigPath(projectRoot);
|
|
142
|
-
}
|
|
143
|
-
//# sourceMappingURL=gemini-commands.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gemini-commands.js","sourceRoot":"","sources":["../../../src/cli/llm/gemini-commands.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Codex 플러그인 설치
|
|
3
|
-
*
|
|
4
|
-
* Codex v0.117.0+ 플러그인 시스템 대응.
|
|
5
|
-
* agents + skills → ~/.codex/plugins/vibe/ 플러그인 번들로 패키징.
|
|
6
|
-
*
|
|
7
|
-
* 생성 구조:
|
|
8
|
-
* ~/.codex/plugins/vibe/
|
|
9
|
-
* ├── .codex-plugin/plugin.json
|
|
10
|
-
* ├── skills/
|
|
11
|
-
* ├── agents/
|
|
12
|
-
* └── AGENTS.md
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Codex 플러그인 설치 (agents + skills + manifest + AGENTS.md)
|
|
16
|
-
*
|
|
17
|
-
* @param agentsSource - agents/ 소스 디렉토리
|
|
18
|
-
* @param skillsSource - skills/ 소스 디렉토리
|
|
19
|
-
* @param codexConfigDir - ~/.codex/ 디렉토리
|
|
20
|
-
* @param packageRoot - 패키지 루트 디렉토리
|
|
21
|
-
*/
|
|
22
|
-
export declare function installCodexPlugin(agentsSource: string, skillsSource: string, codexConfigDir: string, packageRoot: string): void;
|
|
23
|
-
export declare const installCodexAgents: typeof installCodexPlugin;
|
|
24
|
-
//# sourceMappingURL=codex-agents.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"codex-agents.d.ts","sourceRoot":"","sources":["../../../src/cli/postinstall/codex-agents.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAgFH;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,MAAM,EACtB,WAAW,EAAE,MAAM,GAClB,IAAI,CA+BN;AAGD,eAAO,MAAM,kBAAkB,2BAAqB,CAAC"}
|