claude-flow-novice 2.18.6 → 2.18.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/.claude/hooks/SKILL.md +471 -471
- package/.claude/hooks/cfn-pre-edit-security-warning.sh +40 -40
- package/.claude/hooks/{subagent-start.sh → cfn-subagent-start.sh} +1 -1
- package/.claude/hooks/{subagent-stop.sh → cfn-subagent-stop.sh} +37 -1
- package/.claude/settings.json +5 -5
- package/.claude/skills/cfn-agent-selector +1 -0
- package/.claude/skills/cfn-agent-spawning +1 -0
- package/.claude/skills/cfn-cerebras-code-generator/context-analyzer.sh +95 -95
- package/.claude/skills/cfn-cerebras-code-generator/generate-code.sh +204 -204
- package/.claude/skills/cfn-cerebras-coordinator/coordinate-generation.sh +380 -380
- package/.claude/skills/cfn-cerebras-coordinator/feedback-logger.sh +253 -253
- package/.claude/skills/cfn-cerebras-coordinator/fix-existing-code-v2.sh +442 -442
- package/.claude/skills/cfn-cerebras-coordinator/query-patterns.sh +181 -181
- package/.claude/skills/cfn-cerebras-coordinator/tdd-coordinator.sh +637 -637
- package/.claude/skills/cfn-cerebras-coordinator/test-runner.sh +334 -334
- package/.claude/skills/cfn-docker-wave-execution +1 -0
- package/.claude/skills/cfn-hybrid-routing +1 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/AGENT_LIFECYCLE_INTEGRATION.md +341 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/analyze-agent-failures.sh +275 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/cfn-integration.sh +178 -178
- package/.claude/skills/cfn-local-ruvector-accelerator/ingest-agent-transcript.sh +255 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/query-agent-patterns.sh +197 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/test-agent-lifecycle-integration.sh +254 -0
- package/.claude/skills/cfn-loop-orchestration +1 -0
- package/.claude/skills/cfn-mdap-context-injection/SKILL.md +2 -9
- package/.claude/skills/cfn-mdap-context-injection/inject.sh +39 -39
- package/.claude/skills/cfn-provider-routing +1 -0
- package/.claude/skills/cfn-redis-coordination +1 -0
- package/package.json +43 -39
- package/readme/COMPONENT_NPM_STATUS.md +1 -1
- package/readme/installation-process.md +1 -1
- package/scripts/{init-project.js → cfn-init.js} +23 -101
- package/scripts/postinstall.js +144 -0
- package/trigger.config.ts +9 -0
- package/.claude/.cfn-initialized +0 -1
- package/.claude/hooks/SKILL.md.backup +0 -471
- package/.claude/hooks/cfn-post-execution/memory-cleanup.sh +0 -20
- package/.claude/hooks/cfn-pre-execution/SESSION_START_README.md +0 -87
- package/.claude/hooks/cfn-pre-execution/TEST_SESSION_START.md +0 -128
- package/.claude/hooks/cfn-pre-execution/memory-check.sh +0 -20
- package/.claude/hooks/cfn-pre-execution/session-start-context.sh +0 -111
- package/.claude/skills/cfn-docker-runtime/lib/coordination/README.md +0 -349
- package/.claude/skills/cfn-docker-runtime/lib/coordination/docker-helpers.sh +0 -433
- package/.claude/skills/cfn-docker-runtime/lib/coordination/package.json +0 -38
- package/.claude/skills/cfn-docker-runtime/lib/coordination/src/agent-container.ts +0 -471
- package/.claude/skills/cfn-docker-runtime/lib/coordination/src/docker-client.ts +0 -483
- package/.claude/skills/cfn-docker-runtime/lib/coordination/src/health-checker.ts +0 -418
- package/.claude/skills/cfn-docker-runtime/lib/coordination/src/index.ts +0 -45
- package/.claude/skills/cfn-docker-runtime/lib/coordination/src/network-manager.ts +0 -377
- package/.claude/skills/cfn-docker-runtime/lib/coordination/src/types.ts +0 -412
- package/.claude/skills/cfn-docker-runtime/lib/coordination/src/volume-manager.ts +0 -389
- package/.claude/skills/cfn-edit-safety/lib/backup/SKILL.md.backup +0 -277
- package/.claude/skills/cfn-edit-safety/lib/backup/backup.sh.backup +0 -107
- package/.claude/skills/cfn-loop-orchestration-v2/lib/coordination/agent-completion.sh.backup +0 -36
- package/.claude/skills/cfn-loop-orchestration-v2/lib/coordination/coordination-patterns.ts +0 -194
- package/.claude/skills/cfn-loop-orchestration-v2/lib/coordination/coordination-signal.sh.backup +0 -36
- package/.claude/skills/cfn-loop-orchestration-v2/lib/coordination/coordination-wait.sh.backup +0 -36
- package/.claude/skills/cfn-loop-orchestration-v2/lib/coordination/index.ts +0 -25
- package/.claude/skills/cfn-loop-orchestration-v2/lib/validation/SKILL.md.backup +0 -353
- package/.claude/skills/cfn-loop-orchestration-v2/lib/validation/check-dependencies.sh.backup +0 -31
- package/.claude/skills/cfn-loop-orchestration-v2/lib/validation/detect-vapor.sh.backup +0 -37
- package/.claude/skills/cfn-loop-orchestration-v2/lib/validation/orchestrate-cfn-loop.sh.backup +0 -252
- package/.claude/skills/cfn-loop-orchestration-v2/lib/validation/validate-deliverables.sh.backup +0 -37
- package/.claude/skills/cfn-loop-orchestration-v2/lib/validation/validate-gate.sh.backup +0 -41
- package/.claude/skills/cfn-loop-orchestration-v2/lib/validation/validate-iteration.sh.backup +0 -134
- package/.claude/skills/cfn-memory-persistence/lib/redis/agent-log.sh.backup +0 -128
- package/.claude/skills/cfn-memory-persistence/lib/redis/agent-recovery.sh.backup +0 -75
- package/.claude/skills/cfn-memory-persistence/lib/redis/analyze-task-complexity.sh.backup +0 -277
- package/.claude/skills/cfn-memory-persistence/lib/redis/bash-wrappers/store-context.sh.backup +0 -23
- package/.claude/skills/cfn-memory-persistence/lib/redis/cancel-swarm.sh.backup +0 -221
- package/.claude/skills/cfn-memory-persistence/lib/redis/cfn-loop-exec.sh.backup +0 -468
- package/.claude/skills/cfn-memory-persistence/lib/redis/cfn-loop-relaunch.sh.backup +0 -29
- package/.claude/skills/cfn-memory-persistence/lib/redis/collect-confidence-scores.sh.backup +0 -209
- package/.claude/skills/cfn-memory-persistence/lib/redis/collect-results.sh.backup +0 -75
- package/.claude/skills/cfn-memory-persistence/lib/redis/complete-swarm.sh.backup +0 -75
- package/.claude/skills/cfn-memory-persistence/lib/redis/get-context.sh.backup +0 -146
- package/.claude/skills/cfn-memory-persistence/lib/redis/get-success-criteria.sh.backup +0 -54
- package/.claude/skills/cfn-memory-persistence/lib/redis/invoke-waiting-mode.sh.backup +0 -225
- package/.claude/skills/cfn-memory-persistence/lib/redis/redis-cli-wrapper.sh.backup +0 -43
- package/.claude/skills/cfn-memory-persistence/lib/redis/redis-functions.sh.backup +0 -34
- package/.claude/skills/cfn-memory-persistence/lib/redis/report-completion.sh.backup +0 -134
- package/.claude/skills/cfn-memory-persistence/lib/redis/store-context.sh.backup +0 -123
- package/.claude/skills/cfn-transparency-middleware/src/lib.rs.backup +0 -388
- package/claude-assets/agents/AGENT_LIFECYCLE.md +0 -532
- package/claude-assets/agents/README-AGENT_LIFECYCLE.md +0 -522
- package/claude-assets/agents/README-VALIDATION.md +0 -243
- package/claude-assets/agents/SHARED_PROTOCOL.md +0 -64
- package/claude-assets/agents/cfn-dev-team/CLAUDE.md +0 -1000
- package/claude-assets/agents/cfn-dev-team/README.md +0 -219
- package/claude-assets/agents/cfn-dev-team/analysts/analyst.md +0 -113
- package/claude-assets/agents/cfn-dev-team/analysts/root-cause-analyst.md +0 -257
- package/claude-assets/agents/cfn-dev-team/architecture/api-designer-persona.md +0 -145
- package/claude-assets/agents/cfn-dev-team/architecture/base-template-generator.md +0 -150
- package/claude-assets/agents/cfn-dev-team/architecture/goal-planner.md +0 -173
- package/claude-assets/agents/cfn-dev-team/architecture/planner.md +0 -132
- package/claude-assets/agents/cfn-dev-team/architecture/system-architect.md +0 -125
- package/claude-assets/agents/cfn-dev-team/coordinators/README.md +0 -42
- package/claude-assets/agents/cfn-dev-team/coordinators/cfn-frontend-coordinator.md +0 -886
- package/claude-assets/agents/cfn-dev-team/coordinators/consensus-builder.md +0 -473
- package/claude-assets/agents/cfn-dev-team/coordinators/handoff-coordinator.md +0 -740
- package/claude-assets/agents/cfn-dev-team/coordinators/multi-sprint-coordinator.md +0 -503
- package/claude-assets/agents/cfn-dev-team/dev-ops/devops-engineer.md +0 -150
- package/claude-assets/agents/cfn-dev-team/dev-ops/docker-specialist.md +0 -664
- package/claude-assets/agents/cfn-dev-team/dev-ops/github-commit-agent.md +0 -116
- package/claude-assets/agents/cfn-dev-team/dev-ops/kubernetes-specialist.md +0 -617
- package/claude-assets/agents/cfn-dev-team/developers/README.md +0 -69
- package/claude-assets/agents/cfn-dev-team/developers/api-gateway-specialist.md +0 -970
- package/claude-assets/agents/cfn-dev-team/developers/backend-developer.md +0 -192
- package/claude-assets/agents/cfn-dev-team/developers/data/data-engineer.md +0 -665
- package/claude-assets/agents/cfn-dev-team/developers/database/database-architect.md +0 -369
- package/claude-assets/agents/cfn-dev-team/developers/database/supabase-specialist.md +0 -739
- package/claude-assets/agents/cfn-dev-team/developers/frontend/mobile-dev.md +0 -240
- package/claude-assets/agents/cfn-dev-team/developers/frontend/react-frontend-engineer.md +0 -256
- package/claude-assets/agents/cfn-dev-team/developers/frontend/typescript-specialist.md +0 -389
- package/claude-assets/agents/cfn-dev-team/developers/frontend/ui-designer.md +0 -214
- package/claude-assets/agents/cfn-dev-team/developers/graphql-specialist.md +0 -700
- package/claude-assets/agents/cfn-dev-team/developers/rust-developer.md +0 -221
- package/claude-assets/agents/cfn-dev-team/documentation/README-VALIDATION.md +0 -245
- package/claude-assets/agents/cfn-dev-team/documentation/agent-type-guidelines.md +0 -469
- package/claude-assets/agents/cfn-dev-team/documentation/api-documentation.md +0 -104
- package/claude-assets/agents/cfn-dev-team/documentation/pseudocode.md +0 -137
- package/claude-assets/agents/cfn-dev-team/documentation/specification-agent.md +0 -145
- package/claude-assets/agents/cfn-dev-team/product-owners/accessibility-advocate-persona.md +0 -112
- package/claude-assets/agents/cfn-dev-team/product-owners/cto-agent.md +0 -131
- package/claude-assets/agents/cfn-dev-team/product-owners/power-user-persona.md +0 -144
- package/claude-assets/agents/cfn-dev-team/product-owners/product-owner.md +0 -476
- package/claude-assets/agents/cfn-dev-team/reviewers/README.md +0 -58
- package/claude-assets/agents/cfn-dev-team/reviewers/code-reviewer.md +0 -287
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/code-quality-validator.md +0 -213
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/cyclomatic-complexity-reducer.md +0 -327
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/perf-analyzer.md +0 -250
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/performance-benchmarker.md +0 -153
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/quality-metrics.md +0 -379
- package/claude-assets/agents/cfn-dev-team/testers/README.md +0 -94
- package/claude-assets/agents/cfn-dev-team/testers/api-testing-specialist.md +0 -750
- package/claude-assets/agents/cfn-dev-team/testers/chaos-engineering-specialist.md +0 -937
- package/claude-assets/agents/cfn-dev-team/testers/contract-tester.md +0 -680
- package/claude-assets/agents/cfn-dev-team/testers/e2e/playwright-tester.md +0 -117
- package/claude-assets/agents/cfn-dev-team/testers/integration-tester.md +0 -778
- package/claude-assets/agents/cfn-dev-team/testers/interaction-tester.md +0 -181
- package/claude-assets/agents/cfn-dev-team/testers/load-testing-specialist.md +0 -498
- package/claude-assets/agents/cfn-dev-team/testers/mutation-testing-specialist.md +0 -636
- package/claude-assets/agents/cfn-dev-team/testers/playwright-tester.md +0 -246
- package/claude-assets/agents/cfn-dev-team/testers/tester.md +0 -208
- package/claude-assets/agents/cfn-dev-team/testers/unit/tdd-london-unit-swarm.md +0 -30
- package/claude-assets/agents/cfn-dev-team/testers/validation/validation-production-validator.md +0 -20
- package/claude-assets/agents/cfn-dev-team/testing/test-validation-agent.md +0 -273
- package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +0 -480
- package/claude-assets/agents/cfn-dev-team/utility/context-curator.md +0 -62
- package/claude-assets/agents/cfn-dev-team/utility/epic-creator.md +0 -132
- package/claude-assets/agents/cfn-dev-team/utility/memory-leak-specialist.md +0 -170
- package/claude-assets/agents/cfn-dev-team/utility/researcher.md +0 -109
- package/claude-assets/agents/cfn-dev-team/utility/z-ai-specialist.md +0 -211
- package/claude-assets/agents/csuite/cto-agent.md +0 -371
- package/claude-assets/agents/custom/cfn-docker-expert.md +0 -104
- package/claude-assets/agents/custom/cfn-loops-cli-expert.md +0 -455
- package/claude-assets/agents/custom/cfn-redis-operations.md +0 -531
- package/claude-assets/agents/custom/cfn-system-expert.md +0 -337
- package/claude-assets/agents/custom/claude-code-expert.md +0 -291
- package/claude-assets/agents/custom/mdap-trigger-specialist.md +0 -437
- package/claude-assets/agents/custom/trigger-dev-expert.md +0 -370
- package/claude-assets/agents/docker-coordinators/cfn-docker-v3-coordinator.md +0 -1094
- package/claude-assets/agents/docker-ts-fixer.md +0 -58
- package/claude-assets/agents/project-only-agents/npm-package-specialist.md +0 -327
- package/claude-assets/agents/validate-agent.js +0 -841
- package/claude-assets/cfn-extras/.gs-api-quota.json +0 -16
- package/claude-assets/cfn-extras/.gs-progress-state.json +0 -22
- package/claude-assets/cfn-extras/agents/cfn-coordinator-enterprise.md +0 -1303
- package/claude-assets/cfn-extras/agents/cfn-coordinator-mvp.md +0 -942
- package/claude-assets/cfn-extras/agents/cfn-coordinator-standard.md +0 -1062
- package/claude-assets/cfn-extras/agents/cfn-loop-coordinator.md +0 -157
- package/claude-assets/cfn-extras/agents/cfn-v3-coordinator.md +0 -517
- package/claude-assets/cfn-extras/agents/code-booster.md +0 -67
- package/claude-assets/cfn-extras/agents/coordinator.md +0 -182
- package/claude-assets/cfn-extras/agents/cost-savings-cfn-loop-coordinator.md +0 -760
- package/claude-assets/cfn-extras/agents/cost-savings-coordinator.md +0 -173
- package/claude-assets/cfn-extras/agents/deprecated-coordinators/adaptive-coordinator-enhanced.md +0 -147
- package/claude-assets/cfn-extras/agents/deprecated-coordinators/adaptive-coordinator.md +0 -162
- package/claude-assets/cfn-extras/agents/deprecated-coordinators/blocking-coordinator-example.md +0 -729
- package/claude-assets/cfn-extras/agents/deprecated-coordinators/byzantine-coordinator.md +0 -100
- package/claude-assets/cfn-extras/agents/deprecated-coordinators/cfn-coordinator-enterprise.md +0 -323
- package/claude-assets/cfn-extras/agents/deprecated-coordinators/cfn-coordinator-mvp.md +0 -157
- package/claude-assets/cfn-extras/agents/deprecated-coordinators/cfn-coordinator-standard.md +0 -229
- package/claude-assets/cfn-extras/agents/deprecated-coordinators/cfn-coordinator-unified.md +0 -149
- package/claude-assets/cfn-extras/agents/deprecated-coordinators/coordinator-hybrid.md +0 -231
- package/claude-assets/cfn-extras/agents/deprecated-coordinators/gossip-coordinator.md +0 -165
- package/claude-assets/cfn-extras/agents/deprecated-coordinators/hierarchical-coordinator.md +0 -95
- package/claude-assets/cfn-extras/agents/deprecated-coordinators/mesh-coordinator.md +0 -132
- package/claude-assets/cfn-extras/agents/deprecated-coordinators/task-coordinator.md +0 -109
- package/claude-assets/cfn-extras/agents/deprecated-coordinators/test-coordinator.md +0 -142
- package/claude-assets/cfn-extras/agents/docker-team/csuite/c-suite-template.md +0 -529
- package/claude-assets/cfn-extras/agents/docker-team/infrastructure/team-coordinator-template.md +0 -467
- package/claude-assets/cfn-extras/agents/docker-team/micro-sprint-planner.md +0 -747
- package/claude-assets/cfn-extras/agents/google-sheets/README.md +0 -114
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-advanced-analytics-specialist.md +0 -288
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-api-integrator.md +0 -127
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-automation-scripting-specialist.md +0 -195
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-business-validator.md +0 -179
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-collaboration-security-specialist.md +0 -240
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-coordinator.md +0 -214
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-data-transformer.md +0 -127
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-data-validation-quality-specialist.md +0 -177
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-data-validator.md +0 -119
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-data-visualization-specialist.md +0 -135
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-design-layout-specialist.md +0 -109
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-formula-engineer.md +0 -127
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-formula-engineering-specialist.md +0 -138
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-formula-validator.md +0 -128
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-generalist.md +0 -645
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-integration-api-specialist.md +0 -258
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-performance-analyst.md +0 -125
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-performance-optimization-specialist.md +0 -211
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-schema-designer.md +0 -130
- package/claude-assets/cfn-extras/agents/google-sheets/google-sheets-template-architecture-specialist.md +0 -259
- package/claude-assets/cfn-extras/agents/google-sheets-specialist.md +0 -614
- package/claude-assets/cfn-extras/commands/deprecated/CFN_EXPERT_UPDATE.md +0 -142
- package/claude-assets/cfn-extras/commands/deprecated/README.md +0 -55
- package/claude-assets/cfn-extras/commands/deprecated/cfn-loop-epic.md +0 -478
- package/claude-assets/cfn-extras/commands/deprecated/cfn-loop-single.md +0 -256
- package/claude-assets/cfn-extras/commands/deprecated/cfn-loop-sprints.md +0 -396
- package/claude-assets/cfn-extras/commands/deprecated/context-curate.md +0 -200
- package/claude-assets/cfn-extras/commands/deprecated/context-inject.md +0 -251
- package/claude-assets/cfn-extras/commands/deprecated/context-query.md +0 -210
- package/claude-assets/cfn-extras/commands/deprecated/context-stats.md +0 -269
- package/claude-assets/cfn-extras/commands/deprecated/cost-savings-off.md +0 -35
- package/claude-assets/cfn-extras/commands/deprecated/cost-savings-on.md +0 -35
- package/claude-assets/cfn-extras/commands/deprecated/custom-routing-activate.md +0 -55
- package/claude-assets/cfn-extras/commands/deprecated/custom-routing-deactivate.md +0 -46
- package/claude-assets/cfn-extras/commands/deprecated/github-commit.md +0 -289
- package/claude-assets/cfn-extras/commands/deprecated/parse-epic.md +0 -357
- package/claude-assets/cfn-extras/commands/deprecated/suggest-improvements.md +0 -95
- package/claude-assets/cfn-extras/docs/GOOGLE_SHEETS_CFN_LOOP.md +0 -619
- package/claude-assets/cfn-extras/skills/GOOGLE_SHEETS_SKILLS_README.md +0 -453
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-agent-swap/SKILL.md +0 -36
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-agent-swap/recommend-swap.sh +0 -60
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-api-validation/test-endpoints.sh +0 -54
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-context-pruner/SKILL.md +0 -75
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-context-pruner/prune-context.sh +0 -73
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-event-bus/README.md +0 -299
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-event-bus/SKILL.md +0 -412
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-event-bus/config.json +0 -111
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-event-bus/eventbus-wrapper.cjs +0 -69
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-event-bus/invoke-event-publish.sh +0 -147
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-event-bus/invoke-event-subscribe.sh +0 -171
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-event-bus/invoke-lifecycle-track.sh +0 -201
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-event-bus/test-event-bus.sh +0 -280
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-fleet-manager/README.md +0 -74
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-fleet-manager/SKILL.md +0 -412
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-fleet-manager/config.json +0 -60
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-fleet-manager/invoke-fleet-allocate.sh +0 -182
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-fleet-manager/invoke-fleet-balance.sh +0 -239
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-fleet-manager/invoke-fleet-metrics.sh +0 -193
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-fleet-manager/invoke-fleet-register.sh +0 -124
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-fleet-manager/test-fleet-manager.sh +0 -345
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-task-mode-safety/cli-coordination.sh +0 -519
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-task-mode-safety/mode-detection.sh +0 -326
- package/claude-assets/cfn-extras/skills/advanced-features/cfn-task-mode-sanitize/task-mode-env-sanitizer.sh +0 -267
- package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-discovery/SKILL.md +0 -40
- package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-discovery/agents-registry-clean.json +0 -0
- package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-discovery/agents-registry-fixed.json +0 -19
- package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-discovery/agents-registry.json +0 -719
- package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-discovery/discover-agents.py +0 -184
- package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-discovery/discover-agents.sh +0 -87
- package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-discovery/invoke-registry.sh +0 -11
- package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-discovery/temp_script.py +0 -0
- package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-selector/SKILL.md +0 -91
- package/claude-assets/cfn-extras/skills/deprecated/cfn-agent-selector/select-agents.sh +0 -112
- package/claude-assets/cfn-extras/skills/deprecated/cfn-cli-setup/validate-cli-environment.sh +0 -192
- package/claude-assets/cfn-extras/skills/deprecated/cfn-simplified-agent-lifecycle/DESIGN.md +0 -98
- package/claude-assets/cfn-extras/skills/google-sheets-api-coordinator/SKILL.md +0 -272
- package/claude-assets/cfn-extras/skills/google-sheets-api-coordinator/api-call.sh +0 -254
- package/claude-assets/cfn-extras/skills/google-sheets-api-coordinator/test.sh +0 -174
- package/claude-assets/cfn-extras/skills/google-sheets-api-coordinator/validate.sh +0 -98
- package/claude-assets/cfn-extras/skills/google-sheets-decomposition/SKILL.md +0 -269
- package/claude-assets/cfn-extras/skills/google-sheets-decomposition/decompose.sh +0 -313
- package/claude-assets/cfn-extras/skills/google-sheets-formula-builder/SKILL.md +0 -237
- package/claude-assets/cfn-extras/skills/google-sheets-formula-builder/build-formula.sh +0 -220
- package/claude-assets/cfn-extras/skills/google-sheets-formula-builder/test.sh +0 -172
- package/claude-assets/cfn-extras/skills/google-sheets-formula-builder/validate.sh +0 -98
- package/claude-assets/cfn-extras/skills/google-sheets-progress/SKILL.md +0 -287
- package/claude-assets/cfn-extras/skills/google-sheets-progress/test.sh +0 -385
- package/claude-assets/cfn-extras/skills/google-sheets-progress/track-progress.sh +0 -516
- package/claude-assets/cfn-extras/skills/google-sheets-progress/validate.sh +0 -119
- package/claude-assets/cfn-extras/skills/google-sheets-sprint-order/SKILL.md +0 -277
- package/claude-assets/cfn-extras/skills/google-sheets-sprint-order/order-sprints.sh +0 -233
- package/claude-assets/cfn-extras/skills/google-sheets-validation/SKILL.md +0 -352
- package/claude-assets/cfn-extras/skills/google-sheets-validation/test.sh +0 -355
- package/claude-assets/cfn-extras/skills/google-sheets-validation/validate-state.sh +0 -374
- package/claude-assets/cfn-extras/skills/google-sheets-validation/validate.sh +0 -128
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-ad-campaigns/SKILL.md +0 -392
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-ad-campaigns/operations/create-campaign.sh +0 -231
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-ad-campaigns/operations/get-campaign-performance.sh +0 -190
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-ad-campaigns/operations/pause-campaign.sh +0 -142
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-ad-campaigns/operations/set-budget.sh +0 -181
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-ad-campaigns/operations/update-bid-strategy.sh +0 -133
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-analytics-data/SKILL.md +0 -124
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-analytics-data/operations/get-ad-performance.sh +0 -105
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-analytics-data/operations/get-conversion-funnel.sh +0 -102
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-analytics-data/operations/get-email-performance.sh +0 -105
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-analytics-data/operations/get-social-engagement.sh +0 -105
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-analytics-data/operations/get-website-traffic.sh +0 -107
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-chatbot-conversations/SKILL.md +0 -340
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-chatbot-conversations/operations/get-conversation-history.sh +0 -121
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-chatbot-conversations/operations/qualify-lead.sh +0 -156
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-chatbot-conversations/operations/schedule-demo.sh +0 -181
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-chatbot-conversations/operations/send-message.sh +0 -137
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-chatbot-conversations/operations/transfer-to-human.sh +0 -179
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-competitive-intel/SKILL.md +0 -350
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-competitive-intel/operations/get-backlink-profile.sh +0 -154
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-competitive-intel/operations/get-keyword-rankings.sh +0 -173
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-competitive-intel/operations/get-trending-topics.sh +0 -147
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-competitive-intel/operations/monitor-competitor.sh +0 -146
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-competitive-intel/operations/search-brand-mentions.sh +0 -167
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-crm-contacts/SKILL.md +0 -116
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-crm-contacts/operations/add-to-segment.sh +0 -78
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-crm-contacts/operations/create-contact.sh +0 -113
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-crm-contacts/operations/get-contact.sh +0 -86
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-crm-contacts/operations/remove-from-segment.sh +0 -78
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-crm-contacts/operations/update-contact.sh +0 -120
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-email-campaigns/SKILL.md +0 -106
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-email-campaigns/operations/create-campaign.sh +0 -123
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-email-campaigns/operations/get-campaign-stats.sh +0 -66
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-email-campaigns/operations/list-templates.sh +0 -68
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-email-campaigns/operations/schedule-campaign.sh +0 -85
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-email-campaigns/operations/send-test-email.sh +0 -81
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-landing-pages/SKILL.md +0 -366
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-landing-pages/operations/create-ab-test.sh +0 -231
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-landing-pages/operations/create-landing-page.sh +0 -190
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-landing-pages/operations/get-page-performance.sh +0 -137
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-landing-pages/operations/publish-page.sh +0 -120
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-landing-pages/operations/unpublish-page.sh +0 -108
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-monitoring/SKILL.md +0 -202
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-monitoring/operations/create-crisis-alert.sh +0 -104
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-monitoring/operations/export-report.sh +0 -92
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-monitoring/operations/get-sentiment-analysis.sh +0 -85
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-monitoring/operations/search-mentions.sh +0 -86
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-outreach/SKILL.md +0 -168
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-outreach/operations/search-journalists.sh +0 -74
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-outreach/operations/send-pitch.sh +0 -80
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-outreach/operations/submit-haro-response.sh +0 -88
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-media-outreach/operations/track-pitch-engagement.sh +0 -66
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-press-distribution/SKILL.md +0 -159
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-press-distribution/operations/distribute-press-release.sh +0 -94
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-press-distribution/operations/get-distribution-status.sh +0 -59
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-press-distribution/operations/get-pickup-metrics.sh +0 -72
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-press-distribution/operations/list-templates.sh +0 -53
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-sms-campaigns/SKILL.md +0 -429
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-sms-campaigns/operations/create-campaign.sh +0 -183
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-sms-campaigns/operations/get-delivery-status.sh +0 -139
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-sms-campaigns/operations/opt-out.sh +0 -150
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-sms-campaigns/operations/schedule-campaign.sh +0 -187
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-sms-campaigns/operations/send-sms.sh +0 -181
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-social-publishing/SKILL.md +0 -108
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-social-publishing/operations/create-post.sh +0 -104
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-social-publishing/operations/delete-post.sh +0 -76
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-social-publishing/operations/get-post-stats.sh +0 -66
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-social-publishing/operations/schedule-post.sh +0 -85
- package/claude-assets/cfn-extras/skills/marketing/cfn-marketing-social-publishing/operations/upload-media.sh +0 -88
- package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/DESIGN.md +0 -117
- package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/SKILL.md +0 -679
- package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/invoke-portal-agents.sh +0 -129
- package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/invoke-portal-dashboard.sh +0 -85
- package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/invoke-portal-events.sh +0 -125
- package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/invoke-portal-metrics.sh +0 -112
- package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/invoke-portal-start.sh +0 -135
- package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/invoke-portal-stop.sh +0 -121
- package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/test-web-portal-skill.sh +0 -51
- package/claude-assets/cfn-extras/skills/ui-portal/cfn-web-portal/validate-deployment.sh +0 -85
- package/claude-assets/cfn-extras/skills/utility/cfn-environment-sanitization/SKILL.md +0 -200
- package/claude-assets/cfn-extras/skills/utility/cfn-environment-sanitization/sanitize-environment.sh +0 -244
- package/claude-assets/cfn-extras/skills/utility/cfn-process-instrumentation/SKILL.md +0 -279
- package/claude-assets/cfn-extras/skills/utility/cfn-process-instrumentation/instrument-process.sh +0 -327
- package/claude-assets/cfn-extras/workflows/marketing-ad-campaigns.json +0 -125
- package/claude-assets/cfn-extras/workflows/marketing-analytics-data.json +0 -93
- package/claude-assets/cfn-extras/workflows/marketing-chatbot-conversations.json +0 -89
- package/claude-assets/cfn-extras/workflows/marketing-competitive-intel.json +0 -140
- package/claude-assets/cfn-extras/workflows/marketing-crm-contacts.json +0 -86
- package/claude-assets/cfn-extras/workflows/marketing-email-campaigns.json +0 -86
- package/claude-assets/cfn-extras/workflows/marketing-landing-pages.json +0 -137
- package/claude-assets/cfn-extras/workflows/marketing-media-outreach.json +0 -211
- package/claude-assets/cfn-extras/workflows/marketing-press-distribution.json +0 -224
- package/claude-assets/cfn-extras/workflows/marketing-sms-campaigns.json +0 -81
- package/claude-assets/cfn-extras/workflows/marketing-social-publishing.json +0 -86
- package/claude-assets/commands/README.md +0 -205
- package/claude-assets/commands/cfn-docker/CFN_DOCKER_CLI.md +0 -527
- package/claude-assets/commands/cfn-docker/CFN_DOCKER_LOOP.md +0 -377
- package/claude-assets/commands/cfn-docker/CFN_DOCKER_NATIVE.md +0 -295
- package/claude-assets/commands/cfn-docker/CFN_DOCKER_TASK.md +0 -490
- package/claude-assets/commands/cfn-loop/CFN_LOOP_FRONTEND.md +0 -741
- package/claude-assets/commands/cfn-loop/CFN_LOOP_TASK_MODE.md +0 -608
- package/claude-assets/commands/cfn-loop/cfn-loop-cli.md +0 -308
- package/claude-assets/commands/cfn-loop/cfn-loop-document.md +0 -499
- package/claude-assets/commands/cfn-loop/cfn-loop-trigger.md +0 -132
- package/claude-assets/commands/cfn-loop/cfn-mode.md +0 -20
- package/claude-assets/commands/cfn-loop/cfn-optimize-agents.md +0 -103
- package/claude-assets/commands/cfn-loop/list-agents-rebuild.md +0 -205
- package/claude-assets/commands/cfn-ruvector/codebase-reindex.md +0 -37
- package/claude-assets/commands/cfn-ruvector/codebase-search.md +0 -38
- package/claude-assets/commands/cfn-ruvector/detect-stale-docs.md +0 -41
- package/claude-assets/commands/cost-routing/switch-api.md +0 -109
- package/claude-assets/commands/deprecated/README.md +0 -24
- package/claude-assets/commands/deprecated/github.md +0 -221
- package/claude-assets/commands/deprecated/hello-world-tests.md +0 -381
- package/claude-assets/commands/deprecated/run-tests.md +0 -119
- package/claude-assets/commands/google-sheets/google-sheets-loop.md +0 -289
- package/claude-assets/commands/sparc.md +0 -46
- package/claude-assets/commands/testing/cfn-docker-core-test-suite.md +0 -326
- package/claude-assets/commands/workflow.md +0 -295
- package/claude-assets/commands/write-plan.md +0 -275
- package/claude-assets/hooks/GIT-HOOKS-USAGE-EXAMPLES.md +0 -116
- package/claude-assets/hooks/README-GIT-HOOKS.md +0 -443
- package/claude-assets/hooks/SKILL.md +0 -518
- package/claude-assets/hooks/SKILL.md.backup +0 -471
- package/claude-assets/hooks/cfn-BACKUP_USAGE.md +0 -243
- package/claude-assets/hooks/cfn-invoke-post-edit-ts.sh +0 -100
- package/claude-assets/hooks/cfn-invoke-post-edit-ts.sh.backup +0 -78
- package/claude-assets/hooks/cfn-invoke-post-edit.sh +0 -135
- package/claude-assets/hooks/cfn-invoke-post-edit.sh.backup +0 -87
- package/claude-assets/hooks/cfn-invoke-pre-edit-ts.sh +0 -116
- package/claude-assets/hooks/cfn-invoke-pre-edit-ts.sh.backup +0 -94
- package/claude-assets/hooks/cfn-invoke-pre-edit.sh +0 -110
- package/claude-assets/hooks/cfn-invoke-pre-edit.sh.backup +0 -88
- package/claude-assets/hooks/cfn-invoke-security-validation.sh +0 -70
- package/claude-assets/hooks/cfn-lint-sql-injection.sh +0 -61
- package/claude-assets/hooks/cfn-post-edit-cfn-retrospective.sh +0 -110
- package/claude-assets/hooks/cfn-post-edit.config.json +0 -51
- package/claude-assets/hooks/cfn-post-edit.sh +0 -21
- package/claude-assets/hooks/cfn-post-execution/memory-cleanup.sh +0 -20
- package/claude-assets/hooks/cfn-pre-edit-backup.sh +0 -71
- package/claude-assets/hooks/cfn-pre-edit-security-warning.sh +0 -40
- package/claude-assets/hooks/cfn-pre-execution/SESSION_START_README.md +0 -87
- package/claude-assets/hooks/cfn-pre-execution/TEST_SESSION_START.md +0 -128
- package/claude-assets/hooks/cfn-pre-execution/memory-check.sh +0 -20
- package/claude-assets/hooks/cfn-pre-execution/session-start-context.sh +0 -111
- package/claude-assets/hooks/cfn-restore-from-backup.sh +0 -37
- package/claude-assets/hooks/detect-hardcoded-credentials.sh +0 -212
- package/claude-assets/hooks/install-git-hooks.sh +0 -243
- package/claude-assets/hooks/post-commit-codebase-index +0 -75
- package/claude-assets/hooks/subagent-start.sh +0 -98
- package/claude-assets/hooks/subagent-stop.sh +0 -93
- package/claude-assets/hooks/validators/credential-scanner.sh +0 -172
- package/claude-assets/root-claude-distribute/CFN-CLAUDE.md +0 -513
- package/claude-assets/skills/SKILL_TEMPLATE.md +0 -774
- package/claude-assets/skills/cfn-agent-lifecycle/SKILL.md +0 -290
- package/claude-assets/skills/cfn-agent-lifecycle/cli/lifecycle-hook.sh +0 -5
- package/claude-assets/skills/cfn-agent-lifecycle/cli/select-agents.sh +0 -5
- package/claude-assets/skills/cfn-agent-lifecycle/cli/spawn-agent.sh +0 -5
- package/claude-assets/skills/cfn-agent-lifecycle/lib/audit/execute-lifecycle-hook.sh +0 -544
- package/claude-assets/skills/cfn-agent-lifecycle/lib/audit/simple-audit.sh +0 -58
- package/claude-assets/skills/cfn-agent-lifecycle/lib/output/README.md +0 -359
- package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/SKILL.md +0 -29
- package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/agent-mappings.json +0 -142
- package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/dist/agent-selector.cjs +0 -297
- package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/dist/agent-selector.js +0 -297
- package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/dist/cli.cjs +0 -96
- package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/dist/cli.js +0 -96
- package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/select-agents-with-fallback.sh +0 -195
- package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/select-agents.sh +0 -94
- package/claude-assets/skills/cfn-agent-lifecycle/lib/selection/task-classifier.sh +0 -93
- package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/SKILL.md +0 -38
- package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/check-dependencies.sh +0 -52
- package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/execute-agent.sh +0 -126
- package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/get-agent-provider-env.sh +0 -149
- package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/parse-agent-provider.sh +0 -81
- package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/spawn-agent-wrapper.sh +0 -63
- package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/spawn-agent.sh +0 -308
- package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/spawn-templates.sh +0 -635
- package/claude-assets/skills/cfn-agent-lifecycle/lib/spawning/spawn-worker.sh +0 -198
- package/claude-assets/skills/cfn-agent-tooling/SKILL.md +0 -52
- package/claude-assets/skills/cfn-agent-tooling/lib/generator/SKILL.md +0 -440
- package/claude-assets/skills/cfn-agent-tooling/lib/generator/generate-agent.sh +0 -405
- package/claude-assets/skills/cfn-agent-tooling/lib/linter/SKILL.md +0 -589
- package/claude-assets/skills/cfn-agent-tooling/lib/linter/lint-agents.sh +0 -271
- package/claude-assets/skills/cfn-cerebras-mcp/SKILL.md +0 -58
- package/claude-assets/skills/cfn-config/SKILL.md +0 -52
- package/claude-assets/skills/cfn-config/lib/management/README.md +0 -42
- package/claude-assets/skills/cfn-config/lib/management/SKILL.md +0 -34
- package/claude-assets/skills/cfn-config/lib/management/check-dependencies.sh +0 -56
- package/claude-assets/skills/cfn-config/lib/management/config.json +0 -32
- package/claude-assets/skills/cfn-config/lib/management/manage-config.sh +0 -113
- package/claude-assets/skills/cfn-config/lib/sanitization/sanitize-environment.sh +0 -48
- package/claude-assets/skills/cfn-conversation-sync/README.md +0 -133
- package/claude-assets/skills/cfn-conversation-sync/SKILL.md +0 -82
- package/claude-assets/skills/cfn-conversation-sync/sync-conversations.sh +0 -229
- package/claude-assets/skills/cfn-dependency-management/SKILL.md +0 -60
- package/claude-assets/skills/cfn-dependency-management/lib/extractor/SKILL.md +0 -35
- package/claude-assets/skills/cfn-dependency-management/lib/extractor/extract-dependencies.sh +0 -66
- package/claude-assets/skills/cfn-dependency-management/lib/ingestion/README.md +0 -101
- package/claude-assets/skills/cfn-dependency-management/lib/ingestion/SKILL.md +0 -397
- package/claude-assets/skills/cfn-dependency-management/lib/ingestion/build.sh +0 -23
- package/claude-assets/skills/cfn-dependency-management/lib/ingestion/dist/ingest-dependencies.js +0 -478
- package/claude-assets/skills/cfn-dependency-management/lib/ingestion/ingest-dependencies.sh +0 -295
- package/claude-assets/skills/cfn-dependency-management/lib/ingestion/ingest.sh +0 -237
- package/claude-assets/skills/cfn-dependency-management/lib/ingestion/manifests/cli-mode-dependencies.txt +0 -219
- package/claude-assets/skills/cfn-dependency-management/lib/ingestion/manifests/shared-dependencies.txt +0 -57
- package/claude-assets/skills/cfn-dependency-management/lib/ingestion/manifests/trigger-dev-dependencies.txt +0 -82
- package/claude-assets/skills/cfn-dependency-management/lib/ingestion/manifests/trigger-mode-dependencies.txt +0 -80
- package/claude-assets/skills/cfn-deployment-lifecycle/SKILL.md +0 -53
- package/claude-assets/skills/cfn-deployment-lifecycle/lib/deployment/SKILL.md +0 -293
- package/claude-assets/skills/cfn-deployment-lifecycle/lib/deployment/execute.sh +0 -21
- package/claude-assets/skills/cfn-deployment-lifecycle/lib/promotion/SKILL.md +0 -305
- package/claude-assets/skills/cfn-docker-runtime/SKILL.md +0 -84
- package/claude-assets/skills/cfn-docker-runtime/lib/build/SKILL.md +0 -96
- package/claude-assets/skills/cfn-docker-runtime/lib/build/build.sh +0 -73
- package/claude-assets/skills/cfn-docker-runtime/lib/coordination/README.md +0 -349
- package/claude-assets/skills/cfn-docker-runtime/lib/coordination/docker-helpers.sh +0 -433
- package/claude-assets/skills/cfn-docker-runtime/lib/coordination/package.json +0 -38
- package/claude-assets/skills/cfn-docker-runtime/lib/logging/INTEGRATION.md +0 -268
- package/claude-assets/skills/cfn-docker-runtime/lib/logging/SAMPLE_OUTPUTS.md +0 -237
- package/claude-assets/skills/cfn-docker-runtime/lib/logging/SKILL.md +0 -442
- package/claude-assets/skills/cfn-docker-runtime/lib/logging/capture-container-logs.sh +0 -120
- package/claude-assets/skills/cfn-docker-runtime/lib/logging/enable-logging.sh +0 -430
- package/claude-assets/skills/cfn-docker-runtime/lib/logging/init-hybrid-logging.sh +0 -210
- package/claude-assets/skills/cfn-docker-runtime/lib/logging/queries/analytics-summary.sh +0 -87
- package/claude-assets/skills/cfn-docker-runtime/lib/logging/queries/query-agent-timeline.sh +0 -51
- package/claude-assets/skills/cfn-docker-runtime/lib/logging/queries/query-consensus-history.sh +0 -56
- package/claude-assets/skills/cfn-docker-runtime/lib/logging/queries/query-coordination-timeline.sh +0 -39
- package/claude-assets/skills/cfn-docker-runtime/lib/logging/queries/query-failed-containers.sh +0 -40
- package/claude-assets/skills/cfn-docker-runtime/lib/logging/queries/query-gate-checks.sh +0 -39
- package/claude-assets/skills/cfn-docker-runtime/lib/logging/schema.sql +0 -111
- package/claude-assets/skills/cfn-docker-runtime/lib/logging/sqlite-helpers.sh +0 -240
- package/claude-assets/skills/cfn-docker-runtime/lib/logging/test-hybrid-logging.sh +0 -331
- package/claude-assets/skills/cfn-docker-runtime/lib/mcp/SKILL.md +0 -555
- package/claude-assets/skills/cfn-docker-runtime/lib/mcp/skill-mcp-selector.js +0 -472
- package/claude-assets/skills/cfn-docker-runtime/lib/orchestration/SKILL.md +0 -449
- package/claude-assets/skills/cfn-docker-runtime/lib/orchestration/orchestrate.sh +0 -1722
- package/claude-assets/skills/cfn-docker-runtime/lib/spawning/SKILL.md +0 -418
- package/claude-assets/skills/cfn-docker-runtime/lib/spawning/spawn-agent.sh +0 -569
- package/claude-assets/skills/cfn-docker-runtime/lib/waves/SKILL.md +0 -944
- package/claude-assets/skills/cfn-docker-runtime/lib/waves/cleanup-wave.sh +0 -445
- package/claude-assets/skills/cfn-docker-runtime/lib/waves/lib/docker-helpers.sh +0 -804
- package/claude-assets/skills/cfn-docker-runtime/lib/waves/monitor-wave.sh +0 -485
- package/claude-assets/skills/cfn-docker-runtime/lib/waves/spawn-wave.sh +0 -547
- package/claude-assets/skills/cfn-edit-safety/SKILL.md +0 -62
- package/claude-assets/skills/cfn-edit-safety/lib/backup/SKILL.md +0 -324
- package/claude-assets/skills/cfn-edit-safety/lib/backup/SKILL.md.backup +0 -277
- package/claude-assets/skills/cfn-edit-safety/lib/backup/backup.sh +0 -129
- package/claude-assets/skills/cfn-edit-safety/lib/backup/backup.sh.backup +0 -107
- package/claude-assets/skills/cfn-edit-safety/lib/hooks/README.md +0 -74
- package/claude-assets/skills/cfn-edit-safety/lib/hooks/SKILL.md +0 -148
- package/claude-assets/skills/cfn-edit-safety/lib/hooks/auto-resolve.sh +0 -66
- package/claude-assets/skills/cfn-edit-safety/lib/hooks/check-dependencies.sh +0 -40
- package/claude-assets/skills/cfn-edit-safety/lib/hooks/feedback-resolver.sh +0 -452
- package/claude-assets/skills/cfn-edit-safety/lib/hooks/post-edit-handler.sh +0 -154
- package/claude-assets/skills/cfn-edit-safety/lib/hooks/security-scan.json +0 -60
- package/claude-assets/skills/cfn-edit-safety/lib/hooks/security-scanner.sh +0 -121
- package/claude-assets/skills/cfn-edit-safety/lib/hooks/test-root-warning-resolution.sh +0 -148
- package/claude-assets/skills/cfn-epic-parser/SKILL.md +0 -55
- package/claude-assets/skills/cfn-error-management/SKILL.md +0 -176
- package/claude-assets/skills/cfn-error-management/cli/batch-errors.sh +0 -4
- package/claude-assets/skills/cfn-error-management/cli/capture-error.sh +0 -4
- package/claude-assets/skills/cfn-error-management/cli/log-error.sh +0 -4
- package/claude-assets/skills/cfn-error-management/lib/batching/README.md +0 -1016
- package/claude-assets/skills/cfn-error-management/lib/batching/analyze-errors.sh +0 -327
- package/claude-assets/skills/cfn-error-management/lib/batching/calculate-waves.sh +0 -256
- package/claude-assets/skills/cfn-error-management/lib/batching/cli.sh +0 -523
- package/claude-assets/skills/cfn-error-management/lib/batching/cluster-files.sh +0 -196
- package/claude-assets/skills/cfn-error-management/lib/batching/create-batches.sh +0 -261
- package/claude-assets/skills/cfn-error-management/lib/capture/README.md +0 -56
- package/claude-assets/skills/cfn-error-management/lib/capture/capture-agent-error.sh +0 -87
- package/claude-assets/skills/cfn-error-management/lib/logging/README.md +0 -339
- package/claude-assets/skills/cfn-error-management/lib/logging/cleanup-error-logs.sh +0 -334
- package/claude-assets/skills/cfn-error-management/lib/logging/integrate-cli.sh +0 -232
- package/claude-assets/skills/cfn-error-management/lib/logging/integrate-docker.sh +0 -294
- package/claude-assets/skills/cfn-error-management/lib/logging/invoke-error-logging.sh +0 -839
- package/claude-assets/skills/cfn-error-management/lib/logging/test-error-logging.sh +0 -475
- package/claude-assets/skills/cfn-expert-update/SKILL.md +0 -24
- package/claude-assets/skills/cfn-expert-update/update-expert.sh +0 -346
- package/claude-assets/skills/cfn-github-workflow/SKILL.md +0 -70
- package/claude-assets/skills/cfn-intervention-system/SKILL.md +0 -52
- package/claude-assets/skills/cfn-intervention-system/lib/detector/SKILL.md +0 -39
- package/claude-assets/skills/cfn-intervention-system/lib/detector/detect-intervention.sh +0 -111
- package/claude-assets/skills/cfn-intervention-system/lib/orchestrator/SKILL.md +0 -43
- package/claude-assets/skills/cfn-intervention-system/lib/orchestrator/execute-intervention.sh +0 -59
- package/claude-assets/skills/cfn-knowledge-base/SKILL.md +0 -61
- package/claude-assets/skills/cfn-knowledge-base/lib/playbook/SKILL.md +0 -153
- package/claude-assets/skills/cfn-knowledge-base/lib/playbook/init-playbook.sh +0 -54
- package/claude-assets/skills/cfn-knowledge-base/lib/playbook/lib/auto-update/auto-update-playbook.sh +0 -86
- package/claude-assets/skills/cfn-knowledge-base/lib/playbook/query-playbook.sh +0 -83
- package/claude-assets/skills/cfn-knowledge-base/lib/playbook/update-playbook.sh +0 -80
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/APPROVAL_WORKFLOW.md +0 -806
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/COST_TRACKING.md +0 -637
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/DEPLOY_QUICK_REFERENCE.md +0 -106
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/EDGE_CASE_TRACKING.md +0 -404
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/PROPAGATE_UPDATE_QUICK_REFERENCE.md +0 -366
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/README_PHASE4.md +0 -457
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/SKILL.md +0 -110
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/analyze-patterns.sh +0 -899
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/approval-workflow.sh +0 -514
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/deploy-approved-skill.sh +0 -481
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/deploy-approved-skill.sh.backup-1763392820 +0 -512
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/generate-skill-update.sh +0 -525
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/lib/security-utils.sh +0 -204
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/package.json +0 -30
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/propagate-skill-update.sh +0 -648
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/propagate-skill-update.sh.backup-1763392820 +0 -664
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/review-skill.sh +0 -643
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/test-integration.sh +0 -296
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/test-metadata-update.sh +0 -350
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/track-cost-savings.sh +0 -486
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/track-cost-savings.sh.backup-1763392821 +0 -445
- package/claude-assets/skills/cfn-knowledge-base/lib/workflow/track-edge-case.sh +0 -290
- package/claude-assets/skills/cfn-loop-orchestration-v2/SKILL.md +0 -57
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/coordination/agent-completion.sh.backup +0 -36
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/coordination/coordination-signal.sh.backup +0 -36
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/coordination/coordination-wait.sh.backup +0 -36
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/decision/SKILL.md +0 -664
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/decision/TYPESCRIPT_IMPLEMENTATION.md +0 -653
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/decision/parse-decision.sh +0 -66
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/decision/test-backlog-integration.sh +0 -148
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/decision/validate-deliverables.sh +0 -82
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/CONFIGURATION_IMPROVEMENTS.md +0 -318
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/CONTEXT_LOOKUP_QUICK_START.md +0 -378
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/NORTH_STAR_INDEX.md +0 -323
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/ORCHESTRATOR_IMPLEMENTATION.md +0 -493
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/ORCHESTRATOR_QUICK_START.md +0 -499
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/README.md +0 -149
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/SKILL.md +0 -418
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/SPAWN_AGENTS_IMPLEMENTATION.md +0 -188
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/VALIDATION_SUMMARY.txt +0 -196
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/VALIDATOR_MODULE_GUIDE.md +0 -526
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/agent-spawner/agent-spawner.d.ts +0 -15
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/agent-spawner/agent-spawner.js +0 -29
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/cli/orchestrator-cli.d.ts +0 -49
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/cli/orchestrator-cli.js +0 -339
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/gate-checker/gate-checker.d.ts +0 -15
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/gate-checker/gate-checker.js +0 -32
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/confidence-aggregator.d.ts +0 -115
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/confidence-aggregator.js +0 -359
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/consensus.d.ts +0 -36
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/consensus.js +0 -62
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/context-injector.d.ts +0 -135
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/context-injector.js +0 -257
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/context-lookup.d.ts +0 -179
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/context-lookup.js +0 -388
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/deliverable-verifier.d.ts +0 -26
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/deliverable-verifier.js +0 -116
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/gate-check.d.ts +0 -27
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/gate-check.js +0 -92
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/iteration-manager.d.ts +0 -28
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/iteration-manager.js +0 -34
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/parse-test-results.d.ts +0 -21
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/parse-test-results.js +0 -323
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/product-owner-decision.d.ts +0 -86
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/product-owner-decision.js +0 -272
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/spawn-agents.d.ts +0 -61
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/spawn-agents.js +0 -280
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/timeout-calculator.d.ts +0 -15
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/timeout-calculator.js +0 -34
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/validator.d.ts +0 -83
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/helpers/validator.js +0 -222
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/index.d.ts +0 -14
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/index.js +0 -32
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/orchestrate.d.ts +0 -325
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/orchestrate.js +0 -1083
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/orchestrator/orchestrator.d.ts +0 -17
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/orchestrator/orchestrator.js +0 -31
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/redis/redis-coordinator.d.ts +0 -46
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/redis/redis-coordinator.js +0 -68
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/types.d.ts +0 -166
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/types.js +0 -101
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/utils/logger.d.ts +0 -16
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/dist/utils/logger.js +0 -29
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/e2e-validation-fixed.js +0 -240
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/e2e-validation.js +0 -213
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/orchestrate.sh.backup2 +0 -959
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/orchestrate.sh.clean +0 -949
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/package.json +0 -53
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/run-north-star-e2e.ts +0 -210
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/security_utils.sh +0 -123
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/test-cfn-orchestration.sh +0 -281
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/test-cli.sh +0 -92
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/test-edge-cases.sh +0 -188
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/test-iteration-context-injection.sh +0 -366
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/orchestrator/test-typescript-integration.sh +0 -442
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/output/DELIVERY_SUMMARY.txt +0 -462
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/output/EXAMPLES.md +0 -609
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/output/INDEX.md +0 -531
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/output/README.md +0 -114
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/output/SKILL.md +0 -633
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/output/package.json +0 -50
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/INDEX.md +0 -531
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/README.md +0 -256
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/README_TYPESCRIPT.md +0 -454
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/SKILL.md +0 -400
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/SKILL.md.backup +0 -353
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/SKILL_TYPESCRIPT.md +0 -782
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/VAPOR_DETECTION_EXAMPLES.md +0 -598
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/check-dependencies.sh +0 -53
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/check-dependencies.sh.backup +0 -31
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/config.json +0 -161
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/consensus-calculator.js +0 -477
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/detect-vapor.sh +0 -59
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/detect-vapor.sh.backup +0 -37
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/.tsbuildinfo +0 -1
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/cli/detect-vapor.d.ts +0 -14
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/cli/detect-vapor.js +0 -185
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/cli/validate-deliverables.d.ts +0 -14
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/cli/validate-deliverables.js +0 -176
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/cli/validate-gate.d.ts +0 -19
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/cli/validate-gate.js +0 -123
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/types.d.ts +0 -156
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/types.js +0 -66
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/validator.d.ts +0 -85
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/dist/validator.js +0 -411
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/evidence-chain.sql +0 -163
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/orchestrate-cfn-loop.sh +0 -274
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/orchestrate-cfn-loop.sh.backup +0 -252
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/package.json +0 -93
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/validate-deliverables.sh +0 -59
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/validate-deliverables.sh.backup +0 -37
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/validate-gate.sh +0 -63
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/validate-gate.sh.backup +0 -41
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/validate-iteration.sh +0 -156
- package/claude-assets/skills/cfn-loop-orchestration-v2/lib/validation/validate-iteration.sh.backup +0 -134
- package/claude-assets/skills/cfn-mdap-context-injection/SKILL.md +0 -176
- package/claude-assets/skills/cfn-mdap-context-injection/inject.sh +0 -284
- package/claude-assets/skills/cfn-memory-persistence/SKILL.md +0 -59
- package/claude-assets/skills/cfn-memory-persistence/lib/auto/SKILL.md +0 -73
- package/claude-assets/skills/cfn-memory-persistence/lib/auto/persist-agent-output.sh +0 -49
- package/claude-assets/skills/cfn-memory-persistence/lib/auto/query-agent-history.sh +0 -35
- package/claude-assets/skills/cfn-memory-persistence/lib/auto/test-memory-persistence.sh +0 -236
- package/claude-assets/skills/cfn-memory-persistence/lib/management/SKILL.md +0 -271
- package/claude-assets/skills/cfn-memory-persistence/lib/management/check-memory.sh +0 -160
- package/claude-assets/skills/cfn-memory-persistence/lib/management/cleanup-memory.sh +0 -197
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/SKILL.md +0 -42
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/agent-log.sh.backup +0 -128
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/agent-recovery.sh.backup +0 -75
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/analyze-task-complexity.sh.backup +0 -277
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/bash-wrappers/store-context.sh.backup +0 -23
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/cancel-swarm.sh.backup +0 -221
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/cfn-loop-exec.sh.backup +0 -468
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/cfn-loop-relaunch.sh.backup +0 -29
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/collect-confidence-scores.sh.backup +0 -209
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/collect-results.sh.backup +0 -75
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/complete-swarm.sh.backup +0 -75
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/agent-logger.d.ts +0 -92
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/agent-logger.js +0 -329
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/agent-recovery.d.ts +0 -75
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/agent-recovery.js +0 -302
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/completion-reporter.d.ts +0 -58
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/completion-reporter.js +0 -237
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/context-manager.d.ts +0 -63
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/context-manager.js +0 -230
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/index.d.ts +0 -45
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/index.js +0 -114
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/mode-detector.d.ts +0 -31
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/mode-detector.js +0 -185
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/redis-client.d.ts +0 -191
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/redis-client.js +0 -509
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/result-collector.d.ts +0 -75
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/result-collector.js +0 -281
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/swarm-manager.d.ts +0 -75
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/swarm-manager.js +0 -354
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/task-analyzer.d.ts +0 -62
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/task-analyzer.js +0 -305
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/task-executor.d.ts +0 -97
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/task-executor.js +0 -283
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/types.d.ts +0 -176
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/types.js +0 -81
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/waiting-coordinator.d.ts +0 -86
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/dist/waiting-coordinator.js +0 -419
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/get-context.sh.backup +0 -146
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/get-success-criteria.sh.backup +0 -54
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/invoke-waiting-mode.sh.backup +0 -225
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/redis-cli-wrapper.sh.backup +0 -43
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/redis-functions.sh.backup +0 -34
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/report-completion.sh.backup +0 -134
- package/claude-assets/skills/cfn-memory-persistence/lib/redis/store-context.sh.backup +0 -123
- package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/QUICK_REFERENCE.md +0 -204
- package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/README.md +0 -65
- package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/SKILL.md +0 -415
- package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/acl-queries.sql +0 -452
- package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/check-dependencies.sh +0 -36
- package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/config.json +0 -45
- package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/memory-cli.sh +0 -88
- package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/test-state-persistence.js +0 -187
- package/claude-assets/skills/cfn-memory-persistence/lib/sqlite/ttl-cleanup.sh +0 -266
- package/claude-assets/skills/cfn-node-heap-sizer/SKILL.md +0 -23
- package/claude-assets/skills/cfn-node-heap-sizer/task-mode-heap-limiter.sh +0 -326
- package/claude-assets/skills/cfn-operations/SKILL.md +0 -52
- package/claude-assets/skills/cfn-operations/lib/file/SKILL.md +0 -290
- package/claude-assets/skills/cfn-operations/lib/file/execute.sh +0 -129
- package/claude-assets/skills/cfn-operations/lib/file/lib/atomic-write.sh +0 -294
- package/claude-assets/skills/cfn-operations/lib/file/lib/lock.sh +0 -361
- package/claude-assets/skills/cfn-operations/lib/file/test.sh +0 -369
- package/claude-assets/skills/cfn-operations/lib/log/SKILL.md +0 -308
- package/claude-assets/skills/cfn-operations/lib/log/execute.sh +0 -420
- package/claude-assets/skills/cfn-operations/lib/log/lib/rotate.sh +0 -406
- package/claude-assets/skills/cfn-operations/lib/log/lib/search.sh +0 -448
- package/claude-assets/skills/cfn-operations/lib/log/test.sh +0 -394
- package/claude-assets/skills/cfn-parameterized-queries/SKILL.md +0 -347
- package/claude-assets/skills/cfn-planning/SKILL.md +0 -55
- package/claude-assets/skills/cfn-planning/lib/coordinator/README.md +0 -256
- package/claude-assets/skills/cfn-planning/lib/coordinator/SKILL.md +0 -62
- package/claude-assets/skills/cfn-planning/lib/coordinator/map-dependencies-conflicts.sh +0 -376
- package/claude-assets/skills/cfn-planning/lib/coordinator/plan-coordinator-resources.sh +0 -258
- package/claude-assets/skills/cfn-planning/lib/coordinator/plan-multi-coordinator-work.sh +0 -267
- package/claude-assets/skills/cfn-planning/lib/coordinator/plan-risk-rollout.sh +0 -350
- package/claude-assets/skills/cfn-planning/lib/coordinator/test-multi-coordinator-planning.sh +0 -338
- package/claude-assets/skills/cfn-planning/lib/coordinator/validate-task-planning.sh +0 -189
- package/claude-assets/skills/cfn-planning/lib/epic/SKILL.md +0 -44
- package/claude-assets/skills/cfn-planning/lib/epic/decompose-epic.sh +0 -104
- package/claude-assets/skills/cfn-planning/lib/scope/SKILL.md +0 -37
- package/claude-assets/skills/cfn-planning/lib/scope/simplify-scope.sh +0 -68
- package/claude-assets/skills/cfn-process-management/SKILL.md +0 -52
- package/claude-assets/skills/cfn-process-management/lib/instrumentation/instrument-process.sh +0 -44
- package/claude-assets/skills/cfn-process-management/lib/lifecycle/README.md +0 -43
- package/claude-assets/skills/cfn-process-management/lib/lifecycle/SKILL.md +0 -39
- package/claude-assets/skills/cfn-process-management/lib/lifecycle/check-dependencies.sh +0 -58
- package/claude-assets/skills/cfn-process-management/lib/lifecycle/config.json +0 -39
- package/claude-assets/skills/cfn-process-management/lib/lifecycle/process-manager.sh +0 -144
- package/claude-assets/skills/cfn-project-analysis/SKILL.md +0 -113
- package/claude-assets/skills/cfn-project-management/SKILL.md +0 -52
- package/claude-assets/skills/cfn-project-management/lib/backlog/SKILL.md +0 -199
- package/claude-assets/skills/cfn-project-management/lib/backlog/add-backlog-item.sh +0 -208
- package/claude-assets/skills/cfn-project-management/lib/changelog/SKILL.md +0 -349
- package/claude-assets/skills/cfn-project-management/lib/changelog/add-changelog-entry.sh +0 -202
- package/claude-assets/skills/cfn-project-management/lib/changelog/bulk-import.sh +0 -268
- package/claude-assets/skills/cfn-project-management/lib/changelog/lib/README.md +0 -212
- package/claude-assets/skills/cfn-project-management/lib/changelog/lib/validation.sh +0 -72
- package/claude-assets/skills/cfn-routing-config/SKILL.md +0 -52
- package/claude-assets/skills/cfn-routing-config/lib/hybrid/README.md +0 -50
- package/claude-assets/skills/cfn-routing-config/lib/hybrid/SKILL.md +0 -54
- package/claude-assets/skills/cfn-routing-config/lib/hybrid/check-dependencies.sh +0 -52
- package/claude-assets/skills/cfn-routing-config/lib/hybrid/config.json +0 -26
- package/claude-assets/skills/cfn-routing-config/lib/hybrid/spawn-worker.sh +0 -44
- package/claude-assets/skills/cfn-routing-config/lib/provider/README.md +0 -129
- package/claude-assets/skills/cfn-routing-config/lib/provider/SKILL.md +0 -215
- package/claude-assets/skills/cfn-routing-config/lib/provider/resolve-provider-model.ts +0 -223
- package/claude-assets/skills/cfn-ruvector-codebase-index/.cfn-manifest.json +0 -37
- package/claude-assets/skills/cfn-ruvector-codebase-index/SKILL.md +0 -830
- package/claude-assets/skills/cfn-ruvector-codebase-index/batch-indexer.js +0 -185
- package/claude-assets/skills/cfn-ruvector-codebase-index/check-db.js +0 -8
- package/claude-assets/skills/cfn-ruvector-codebase-index/clean-orphaned-entries.sh +0 -206
- package/claude-assets/skills/cfn-ruvector-codebase-index/config.json +0 -65
- package/claude-assets/skills/cfn-ruvector-codebase-index/debug-search.js +0 -19
- package/claude-assets/skills/cfn-ruvector-codebase-index/detect-stale-docs.sh +0 -325
- package/claude-assets/skills/cfn-ruvector-codebase-index/embeddings.js +0 -181
- package/claude-assets/skills/cfn-ruvector-codebase-index/get-embedding-text.js +0 -26
- package/claude-assets/skills/cfn-ruvector-codebase-index/handle-file-moves.sh +0 -147
- package/claude-assets/skills/cfn-ruvector-codebase-index/index.sh +0 -324
- package/claude-assets/skills/cfn-ruvector-codebase-index/indexer.js +0 -53
- package/claude-assets/skills/cfn-ruvector-codebase-index/init-db.js +0 -27
- package/claude-assets/skills/cfn-ruvector-codebase-index/install-hook.sh +0 -51
- package/claude-assets/skills/cfn-ruvector-codebase-index/package.json +0 -30
- package/claude-assets/skills/cfn-ruvector-codebase-index/parser.js +0 -264
- package/claude-assets/skills/cfn-ruvector-codebase-index/query-error-patterns.sh +0 -42
- package/claude-assets/skills/cfn-ruvector-codebase-index/query-learnings.sh +0 -44
- package/claude-assets/skills/cfn-ruvector-codebase-index/ruvector-learning.js +0 -316
- package/claude-assets/skills/cfn-ruvector-codebase-index/search.js +0 -55
- package/claude-assets/skills/cfn-ruvector-codebase-index/search.sh +0 -137
- package/claude-assets/skills/cfn-ruvector-codebase-index/standalone-indexer.js +0 -129
- package/claude-assets/skills/cfn-ruvector-codebase-index/store-error-pattern.sh +0 -54
- package/claude-assets/skills/cfn-ruvector-codebase-index/store-learning.sh +0 -64
- package/claude-assets/skills/cfn-ruvector-codebase-index/test-comprehensive.js +0 -120
- package/claude-assets/skills/cfn-ruvector-codebase-index/test-db-structure.js +0 -40
- package/claude-assets/skills/cfn-ruvector-codebase-index/test-integration.js +0 -56
- package/claude-assets/skills/cfn-ruvector-codebase-index/test-metadata-fetch.js +0 -57
- package/claude-assets/skills/cfn-ruvector-codebase-index/test-search-debug.js +0 -48
- package/claude-assets/skills/cfn-session-handoff/SKILL.md +0 -273
- package/claude-assets/skills/cfn-skill-management/SKILL.md +0 -55
- package/claude-assets/skills/cfn-skill-management/lib/builder/SKILL.md +0 -910
- package/claude-assets/skills/cfn-skill-management/lib/loader/SKILL.md +0 -466
- package/claude-assets/skills/cfn-skill-management/lib/loader/execute.sh +0 -344
- package/claude-assets/skills/cfn-skill-management/lib/propagation/README.md +0 -233
- package/claude-assets/skills/cfn-skill-management/lib/propagation/package.json +0 -52
- package/claude-assets/skills/cfn-skill-management/lib/propagation/propagate-skill-update.sh +0 -32
- package/claude-assets/skills/cfn-sprint-execution/SKILL.md +0 -55
- package/claude-assets/skills/cfn-sprint-execution/lib/checkpoint/SKILL.md +0 -333
- package/claude-assets/skills/cfn-sprint-execution/lib/checkpoint/cleanup-orphans.sh +0 -374
- package/claude-assets/skills/cfn-sprint-execution/lib/checkpoint/resume-wave.sh +0 -325
- package/claude-assets/skills/cfn-sprint-execution/lib/checkpoint/save-checkpoint.sh +0 -284
- package/claude-assets/skills/cfn-sprint-execution/lib/execution/SKILL.md +0 -27
- package/claude-assets/skills/cfn-sprint-execution/lib/execution/execute-sprint-task.sh +0 -59
- package/claude-assets/skills/cfn-sprint-execution/lib/execution/execute-sprint.sh +0 -65
- package/claude-assets/skills/cfn-task-intelligence/SKILL.md +0 -64
- package/claude-assets/skills/cfn-task-intelligence/lib/classifier/SKILL.md +0 -81
- package/claude-assets/skills/cfn-task-intelligence/lib/classifier/classify-task.sh +0 -297
- package/claude-assets/skills/cfn-task-intelligence/lib/complexity/SKILL.md +0 -96
- package/claude-assets/skills/cfn-task-intelligence/lib/complexity/estimate-complexity.sh +0 -144
- package/claude-assets/skills/cfn-task-intelligence/lib/specialist/SKILL.md +0 -41
- package/claude-assets/skills/cfn-task-intelligence/lib/specialist/recommend-specialist.sh +0 -57
- package/claude-assets/skills/cfn-task-planning/SKILL.md +0 -193
- package/claude-assets/skills/cfn-task-planning/cli/classify-task.sh +0 -4
- package/claude-assets/skills/cfn-task-planning/cli/decompose-task.sh +0 -4
- package/claude-assets/skills/cfn-task-planning/cli/init-config.sh +0 -4
- package/claude-assets/skills/cfn-task-planning/lib/audit/get-audit-data.sh +0 -397
- package/claude-assets/skills/cfn-task-planning/lib/audit/store-task-audit.sh +0 -191
- package/claude-assets/skills/cfn-task-planning/lib/classifier/README.md +0 -81
- package/claude-assets/skills/cfn-task-planning/lib/classifier/classify-task.sh +0 -297
- package/claude-assets/skills/cfn-task-planning/lib/decomposition/task-decomposer.sh +0 -279
- package/claude-assets/skills/cfn-test-framework/SKILL.md +0 -55
- package/claude-assets/skills/cfn-test-framework/lib/execution/README.md +0 -129
- package/claude-assets/skills/cfn-test-framework/lib/execution/SKILL.md +0 -128
- package/claude-assets/skills/cfn-test-framework/lib/execution/check-dependencies.sh +0 -36
- package/claude-assets/skills/cfn-test-framework/lib/execution/test-cache-reader.sh +0 -134
- package/claude-assets/skills/cfn-test-framework/lib/execution/test-concurrent-conflicts.sh +0 -115
- package/claude-assets/skills/cfn-test-framework/lib/execution/test-coordinator-pattern.sh +0 -109
- package/claude-assets/skills/cfn-test-framework/lib/runner/SKILL.md +0 -288
- package/claude-assets/skills/cfn-test-framework/lib/runner/detect-regressions.sh +0 -58
- package/claude-assets/skills/cfn-test-framework/lib/runner/detect-regressions.sh.backup-1763392821 +0 -55
- package/claude-assets/skills/cfn-test-framework/lib/runner/init-benchmark-db.sh +0 -48
- package/claude-assets/skills/cfn-test-framework/lib/runner/run-all-tests.sh +0 -222
- package/claude-assets/skills/cfn-test-framework/lib/runner/store-benchmarks.sh +0 -53
- package/claude-assets/skills/cfn-test-framework/lib/runner/validate-redis-keys.sh +0 -143
- package/claude-assets/skills/cfn-test-framework/lib/webapp/README.md +0 -142
- package/claude-assets/skills/cfn-test-framework/lib/webapp/SCREENSHOT_NAMING_CONVENTION.md +0 -547
- package/claude-assets/skills/cfn-test-framework/lib/webapp/SKILL.md +0 -877
- package/claude-assets/skills/cfn-test-framework/lib/webapp/capture-screenshot.sh +0 -238
- package/claude-assets/skills/cfn-test-framework/lib/webapp/cfn-loop-integration.sh +0 -265
- package/claude-assets/skills/cfn-test-framework/lib/webapp/compare-screenshots.sh +0 -199
- package/claude-assets/skills/cfn-test-framework/lib/webapp/init-storage.sh +0 -150
- package/claude-assets/skills/cfn-test-framework/lib/webapp/set-baseline.sh +0 -196
- package/claude-assets/skills/cfn-test-framework/lib/webapp/test-webapp-testing.sh +0 -233
- package/claude-assets/skills/cfn-transparency-middleware/Cargo.toml +0 -18
- package/claude-assets/skills/cfn-transparency-middleware/README.md +0 -74
- package/claude-assets/skills/cfn-transparency-middleware/SECURITY.md +0 -41
- package/claude-assets/skills/cfn-transparency-middleware/SKILL.md +0 -99
- package/claude-assets/skills/cfn-transparency-middleware/TEST_RESULTS.md +0 -174
- package/claude-assets/skills/cfn-transparency-middleware/config.json +0 -31
- package/claude-assets/skills/cfn-transparency-middleware/invoke-transparency-filter.sh +0 -98
- package/claude-assets/skills/cfn-transparency-middleware/invoke-transparency-init.sh +0 -224
- package/claude-assets/skills/cfn-transparency-middleware/invoke-transparency-level.sh +0 -333
- package/claude-assets/skills/cfn-transparency-middleware/invoke-transparency-metrics.sh +0 -345
- package/claude-assets/skills/cfn-transparency-middleware/invoke-transparency-observe.sh +0 -140
- package/claude-assets/skills/cfn-transparency-middleware/invoke-transparency-stop.sh +0 -235
- package/claude-assets/skills/cfn-transparency-middleware/memory_query.rs +0 -85
- package/claude-assets/skills/cfn-transparency-middleware/memory_repository.rs +0 -140
- package/claude-assets/skills/cfn-transparency-middleware/memory_schema.rs +0 -64
- package/claude-assets/skills/cfn-transparency-middleware/middleware-config.sh +0 -29
- package/claude-assets/skills/cfn-transparency-middleware/performance-benchmark.sh +0 -79
- package/claude-assets/skills/cfn-transparency-middleware/test-e2e.sh +0 -421
- package/claude-assets/skills/cfn-transparency-middleware/test-integration.sh +0 -162
- package/claude-assets/skills/cfn-transparency-middleware/test-transparency-skill.sh +0 -368
- package/claude-assets/skills/cfn-transparency-middleware/test-transparency-skill.sh.unix +0 -126
- package/claude-assets/skills/cfn-transparency-middleware/wrap-agent.sh +0 -132
- package/claude-assets/skills/cfn-utilities/SKILL.md +0 -239
- package/claude-assets/skills/cfn-utilities/execute.sh +0 -32
- package/claude-assets/skills/cfn-utilities/lib/errors.sh +0 -56
- package/claude-assets/skills/cfn-utilities/lib/file-ops.sh +0 -164
- package/claude-assets/skills/cfn-utilities/lib/logging.sh +0 -77
- package/claude-assets/skills/cfn-utilities/lib/retry.sh +0 -127
- package/claude-assets/skills/cfn-utilities/test.sh +0 -317
- package/claude-assets/skills/cfn-validation-framework/SKILL.md +0 -60
- package/claude-assets/skills/cfn-validation-framework/lib/deliverables/confidence-calculator.sh +0 -262
- package/claude-assets/skills/cfn-validation-framework/lib/instrumentation/wrapped-executor.sh +0 -291
- package/claude-assets/skills/cfn-validation-framework/lib/json/SKILL.md +0 -431
- package/claude-assets/skills/cfn-validation-framework/lib/json/test-validate-success-criteria.sh +0 -421
- package/claude-assets/skills/cfn-validation-framework/lib/json/validate-success-criteria.sh +0 -197
- package/claude-assets/skills/cfn-validation-framework/lib/layers/SKILL.md +0 -133
- package/claude-assets/skills/cfn-vision-analysis/SKILL.md +0 -20
- package/claude-assets/skills/equation-solver/README.md +0 -327
- package/claude-assets/skills/equation-solver/SECURITY.md +0 -306
- package/claude-assets/skills/equation-solver/SKILL.md +0 -335
- package/claude-assets/skills/equation-solver/package.json +0 -32
- package/claude-assets/skills/equation-solver/solve.sh +0 -348
- package/claude-assets/skills/equation-solver/test-equation-solver-minimal.sh +0 -103
- package/claude-assets/skills/equation-solver/test-equation-solver.sh +0 -510
- /package/.claude/commands/{check-errors.md → cfn-check-errors.md} +0 -0
- /package/.claude/commands/{detect-stale-docs.md → cfn-detect-stale-docs.md} +0 -0
- /package/.claude/commands/{epic-creator-v2.md → cfn-epic-creator-v2.md} +0 -0
- /package/.claude/commands/cfn-loop/{list-agents-rebuild.md → cfn-list-agents-rebuild.md} +0 -0
- /package/.claude/commands/cfn-ruvector/{codebase-reindex.md → cfn-codebase-reindex.md} +0 -0
- /package/.claude/commands/cfn-ruvector/{codebase-search.md → cfn-codebase-search.md} +0 -0
- /package/.claude/commands/cfn-ruvector/{detect-stale-docs.md → cfn-detect-stale-docs.md} +0 -0
- /package/.claude/commands/{ruvector-search.md → cfn-ruvector-search.md} +0 -0
- /package/.claude/commands/{update-search-index.md → cfn-update-search-index.md} +0 -0
- /package/.claude/commands/cost-routing/{switch-api.md → cfn-switch-api.md} +0 -0
- /package/.claude/core/{agent-manager.js → cfn-agent-manager.js} +0 -0
- /package/.claude/core/{agent-manager.js.map → cfn-agent-manager.js.map} +0 -0
- /package/.claude/core/{config.js → cfn-config.js} +0 -0
- /package/.claude/core/{config.js.map → cfn-config.js.map} +0 -0
- /package/.claude/core/{event-bus.js → cfn-event-bus.js} +0 -0
- /package/.claude/core/{event-bus.js.map → cfn-event-bus.js.map} +0 -0
- /package/.claude/core/{index.js → cfn-index.js} +0 -0
- /package/.claude/core/{index.js.map → cfn-index.js.map} +0 -0
- /package/.claude/core/{json-persistence.js → cfn-json-persistence.js} +0 -0
- /package/.claude/core/{json-persistence.js.map → cfn-json-persistence.js.map} +0 -0
- /package/.claude/core/{logger.js → cfn-logger.js} +0 -0
- /package/.claude/core/{logger.js.map → cfn-logger.js.map} +0 -0
- /package/.claude/core/{orchestrator-fixed.js → cfn-orchestrator-fixed.js} +0 -0
- /package/.claude/core/{orchestrator-fixed.js.map → cfn-orchestrator-fixed.js.map} +0 -0
- /package/.claude/core/{orchestrator.js → cfn-orchestrator.js} +0 -0
- /package/.claude/core/{orchestrator.js.map → cfn-orchestrator.js.map} +0 -0
- /package/.claude/core/{persistence.js → cfn-persistence.js} +0 -0
- /package/.claude/core/{persistence.js.map → cfn-persistence.js.map} +0 -0
- /package/.claude/core/{project-manager.js → cfn-project-manager.js} +0 -0
- /package/.claude/core/{project-manager.js.map → cfn-project-manager.js.map} +0 -0
- /package/.claude/core/{slash-command.js → cfn-slash-command.js} +0 -0
- /package/.claude/core/{version.js → cfn-version.js} +0 -0
- /package/.claude/core/{version.js.map → cfn-version.js.map} +0 -0
- /package/.claude/helpers/{checkpoint-manager.sh → cfn-checkpoint-manager.sh} +0 -0
- /package/.claude/helpers/{github-safe.js → cfn-github-safe.js} +0 -0
- /package/.claude/helpers/{github-setup.sh → cfn-github-setup.sh} +0 -0
- /package/.claude/helpers/{quick-start.sh → cfn-quick-start.sh} +0 -0
- /package/.claude/helpers/{setup-mcp.sh → cfn-setup-mcp.sh} +0 -0
- /package/.claude/helpers/{standard-checkpoint-hooks.sh → cfn-standard-checkpoint-hooks.sh} +0 -0
- /package/.claude/hooks/{validators/credential-scanner.sh → cfn-credential-scanner.sh} +0 -0
- /package/.claude/hooks/{detect-hardcoded-credentials.sh → cfn-detect-hardcoded-credentials.sh} +0 -0
|
@@ -1,839 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
##############################################################################
|
|
4
|
-
# CFN Error Logging Skill - Main Invocation Script
|
|
5
|
-
# Version: 1.0.0
|
|
6
|
-
#
|
|
7
|
-
# Comprehensive error logging and diagnostic capture for CFN Loop failures
|
|
8
|
-
# Creates detailed error reports that users can send for debugging
|
|
9
|
-
#
|
|
10
|
-
# Usage:
|
|
11
|
-
# invoke-error-logging.sh --action <capture|report|cleanup|list> \
|
|
12
|
-
# --task-id <unique-id> \
|
|
13
|
-
# [--error-type <type>] \
|
|
14
|
-
# [--error-message <message>] \
|
|
15
|
-
# [--exit-code <number>] \
|
|
16
|
-
# [--context <json>]
|
|
17
|
-
##############################################################################
|
|
18
|
-
|
|
19
|
-
set -euo pipefail
|
|
20
|
-
|
|
21
|
-
# Determine script directory
|
|
22
|
-
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
23
|
-
PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
|
|
24
|
-
|
|
25
|
-
# Configuration
|
|
26
|
-
LOG_BASE_DIR="/tmp/cfn_error_logs"
|
|
27
|
-
RETENTION_DAYS="${CFN_ERROR_LOG_RETENTION:-7}"
|
|
28
|
-
MAX_LOG_SIZE_MB="${CFN_ERROR_LOG_MAX_SIZE_MB:-100}"
|
|
29
|
-
|
|
30
|
-
# Initialize variables
|
|
31
|
-
ACTION=""
|
|
32
|
-
TASK_ID=""
|
|
33
|
-
ERROR_TYPE=""
|
|
34
|
-
ERROR_MESSAGE=""
|
|
35
|
-
EXIT_CODE=""
|
|
36
|
-
CONTEXT_JSON=""
|
|
37
|
-
FORMAT="markdown"
|
|
38
|
-
SINCE_TIME=""
|
|
39
|
-
|
|
40
|
-
# Helper functions
|
|
41
|
-
log() {
|
|
42
|
-
echo "[$(date '+%Y-%m-%d %H:%M:%S')] $*" >&2
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
show_usage() {
|
|
46
|
-
cat << EOF
|
|
47
|
-
CFN Error Logging Skill v1.0.0
|
|
48
|
-
|
|
49
|
-
Usage: $0 --action <action> --task-id <id> [options]
|
|
50
|
-
|
|
51
|
-
ACTIONS:
|
|
52
|
-
capture Capture error data and diagnostics
|
|
53
|
-
report Generate user-friendly error report
|
|
54
|
-
cleanup Clean up old error logs
|
|
55
|
-
list List error logs
|
|
56
|
-
diagnostics Run system diagnostics
|
|
57
|
-
validate Validate dependencies
|
|
58
|
-
|
|
59
|
-
REQUIRED:
|
|
60
|
-
--action <action> Action to perform
|
|
61
|
-
|
|
62
|
-
OPTIONAL:
|
|
63
|
-
--task-id <id> CFN Loop task identifier (required for capture, report, list)
|
|
64
|
-
|
|
65
|
-
OPTIONS:
|
|
66
|
-
--error-type <type> Type of error (orchestrator, agent-spawn, timeout, etc.)
|
|
67
|
-
--error-message <msg> Human-readable error description
|
|
68
|
-
--exit-code <code> Process exit code
|
|
69
|
-
--context <json> Additional context data
|
|
70
|
-
--format <format> Report format (markdown|json)
|
|
71
|
-
--since <time> List errors since time (e.g., "24h", "7d")
|
|
72
|
-
--retention-days <n> Cleanup retention period (default: 7)
|
|
73
|
-
|
|
74
|
-
EXAMPLES:
|
|
75
|
-
# Capture error on CFN Loop failure
|
|
76
|
-
$0 --action capture --task-id "cfn-cli-1731234567" --error-type "orchestrator" --error-message "Agent spawning failed" --exit-code 1
|
|
77
|
-
|
|
78
|
-
# Generate user report
|
|
79
|
-
$0 --action report --task-id "cfn-cli-1731234567" --format markdown
|
|
80
|
-
|
|
81
|
-
# List recent errors
|
|
82
|
-
$0 --action list --since "24h" --format table
|
|
83
|
-
|
|
84
|
-
# Clean old logs
|
|
85
|
-
$0 --action cleanup --retention-days 7
|
|
86
|
-
EOF
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
validate_parameters() {
|
|
90
|
-
if [ -z "$ACTION" ]; then
|
|
91
|
-
echo "❌ Error: Missing required action parameter"
|
|
92
|
-
echo "Use --help for usage information"
|
|
93
|
-
exit 1
|
|
94
|
-
fi
|
|
95
|
-
|
|
96
|
-
# Task ID is required for most actions but optional for diagnostics, validate, cleanup, and list
|
|
97
|
-
case "$ACTION" in
|
|
98
|
-
diagnostics|validate|cleanup|list)
|
|
99
|
-
# Task ID optional for these actions
|
|
100
|
-
;;
|
|
101
|
-
*)
|
|
102
|
-
if [ -z "$TASK_ID" ]; then
|
|
103
|
-
echo "❌ Error: Missing required task-id parameter for action '$ACTION'"
|
|
104
|
-
echo "Use --help for usage information"
|
|
105
|
-
exit 1
|
|
106
|
-
fi
|
|
107
|
-
;;
|
|
108
|
-
esac
|
|
109
|
-
|
|
110
|
-
# Validate action
|
|
111
|
-
case "$ACTION" in
|
|
112
|
-
capture|report|cleanup|list|diagnostics|validate)
|
|
113
|
-
;;
|
|
114
|
-
*)
|
|
115
|
-
echo "❌ Error: Invalid action '$ACTION'"
|
|
116
|
-
echo "Valid actions: capture, report, cleanup, list, diagnostics, validate"
|
|
117
|
-
exit 1
|
|
118
|
-
;;
|
|
119
|
-
esac
|
|
120
|
-
|
|
121
|
-
# Validate task ID format (only if task ID is provided)
|
|
122
|
-
if [ -n "$TASK_ID" ] && [[ ! "$TASK_ID" =~ ^[a-zA-Z0-9_-]+$ ]]; then
|
|
123
|
-
echo "❌ Error: Invalid task ID format"
|
|
124
|
-
echo "Task ID should contain only letters, numbers, hyphens, and underscores"
|
|
125
|
-
exit 1
|
|
126
|
-
fi
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
setup_directories() {
|
|
130
|
-
# Create log directory structure
|
|
131
|
-
mkdir -p "$LOG_BASE_DIR"
|
|
132
|
-
mkdir -p "$LOG_BASE_DIR/reports"
|
|
133
|
-
mkdir -p "$LOG_BASE_DIR/compressed"
|
|
134
|
-
|
|
135
|
-
# Set permissions
|
|
136
|
-
chmod 755 "$LOG_BASE_DIR"
|
|
137
|
-
chmod 755 "$LOG_BASE_DIR/reports"
|
|
138
|
-
chmod 755 "$LOG_BASE_DIR/compressed"
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
collect_system_diagnostics() {
|
|
142
|
-
local diagnostics_file="$1"
|
|
143
|
-
|
|
144
|
-
log "Collecting system diagnostics..."
|
|
145
|
-
|
|
146
|
-
# System information
|
|
147
|
-
{
|
|
148
|
-
echo "{"
|
|
149
|
-
echo " \"timestamp\": \"$(date -u +%Y-%m-%dT%H:%M:%SZ)\","
|
|
150
|
-
echo " \"hostname\": \"$(hostname 2>/dev/null || echo 'unknown')\","
|
|
151
|
-
echo " \"user\": \"$(whoami 2>/dev/null || echo 'unknown')\","
|
|
152
|
-
echo " \"working_directory\": \"$(pwd)\","
|
|
153
|
-
echo " \"os\": \"$(uname -s 2>/dev/null || echo 'unknown')\","
|
|
154
|
-
echo " \"os_version\": \"$(uname -r 2>/dev/null || echo 'unknown')\","
|
|
155
|
-
echo " \"architecture\": \"$(uname -m 2>/dev/null || echo 'unknown')\","
|
|
156
|
-
|
|
157
|
-
# Hardware information
|
|
158
|
-
echo " \"hardware\": {"
|
|
159
|
-
echo " \"cpu_cores\": $(nproc 2>/dev/null || echo 'unknown'),"
|
|
160
|
-
|
|
161
|
-
if command -v free >/dev/null 2>&1; then
|
|
162
|
-
local mem_info=$(free -h 2>/dev/null || echo "Memory: Unknown")
|
|
163
|
-
echo " \"memory\": \"$mem_info\""
|
|
164
|
-
else
|
|
165
|
-
echo " \"memory\": \"Memory information unavailable\""
|
|
166
|
-
fi
|
|
167
|
-
|
|
168
|
-
if command -v df >/dev/null 2>&1; then
|
|
169
|
-
local disk_info=$(df -h / 2>/dev/null | tail -1 || echo "Disk: Unknown")
|
|
170
|
-
echo " \"disk\": \"$disk_info\""
|
|
171
|
-
else
|
|
172
|
-
echo " \"disk\": \"Disk information unavailable\""
|
|
173
|
-
fi
|
|
174
|
-
|
|
175
|
-
echo " },"
|
|
176
|
-
|
|
177
|
-
# Software information
|
|
178
|
-
echo " \"software\": {"
|
|
179
|
-
|
|
180
|
-
if command -v node >/dev/null 2>&1; then
|
|
181
|
-
echo " \"node_version\": \"$(node --version 2>/dev/null || echo 'unknown')\","
|
|
182
|
-
else
|
|
183
|
-
echo " \"node_version\": \"not found\""
|
|
184
|
-
fi
|
|
185
|
-
|
|
186
|
-
if command -v npx >/dev/null 2>&1; then
|
|
187
|
-
echo " \"npx_version\": \"$(npx --version 2>/dev/null || echo 'unknown')\","
|
|
188
|
-
else
|
|
189
|
-
echo " \"npx_version\": \"not found\""
|
|
190
|
-
fi
|
|
191
|
-
|
|
192
|
-
if command -v docker >/dev/null 2>&1; then
|
|
193
|
-
echo " \"docker_version\": \"$(docker --version 2>/dev/null || echo 'unknown')\","
|
|
194
|
-
else
|
|
195
|
-
echo " \"docker_version\": \"not found\""
|
|
196
|
-
fi
|
|
197
|
-
|
|
198
|
-
if command -v redis-cli >/dev/null 2>&1; then
|
|
199
|
-
echo " \"redis_available\": true"
|
|
200
|
-
if redis-cli ping >/dev/null 2>&1; then
|
|
201
|
-
echo " \"redis_connected\": true"
|
|
202
|
-
echo " \"redis_info\": \"$(redis-cli info server 2>/dev/null | head -5 | tr '\n' ' ' || echo '')\""
|
|
203
|
-
else
|
|
204
|
-
echo " \"redis_connected\": false"
|
|
205
|
-
fi
|
|
206
|
-
else
|
|
207
|
-
echo " \"redis_available\": false"
|
|
208
|
-
echo " "redis_connected": false"
|
|
209
|
-
fi
|
|
210
|
-
|
|
211
|
-
echo " },"
|
|
212
|
-
|
|
213
|
-
# Environment
|
|
214
|
-
echo " \"environment\": {"
|
|
215
|
-
echo " \"path\": \"${PATH:-not set}\","
|
|
216
|
-
echo " \"home\": \"${HOME:-not set}\","
|
|
217
|
-
echo " \"shell\": \"${SHELL:-not set}\","
|
|
218
|
-
echo " \"lang\": \"${LANG:-not set}\""
|
|
219
|
-
echo " },"
|
|
220
|
-
|
|
221
|
-
# Processes
|
|
222
|
-
if command -v pgrep >/dev/null 2>&1; then
|
|
223
|
-
local cfn_processes=$(pgrep -f "claude-flow-novice\|cfn-" 2>/dev/null | wc -l || echo "0")
|
|
224
|
-
echo " \"processes\": {"
|
|
225
|
-
echo " \"cfn_running\": $cfn_processes,"
|
|
226
|
-
echo " \"total_processes\": $(ps aux 2>/dev/null | wc -l || echo 'unknown')"
|
|
227
|
-
echo " }"
|
|
228
|
-
else
|
|
229
|
-
echo " \"processes\": {"
|
|
230
|
-
echo " \"cfn_running\": \"unknown\","
|
|
231
|
-
echo " \"total_processes\": \"unknown\""
|
|
232
|
-
echo " }"
|
|
233
|
-
fi
|
|
234
|
-
|
|
235
|
-
echo "}"
|
|
236
|
-
} > "$diagnostics_file"
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
collect_cfn_state() {
|
|
240
|
-
local state_file="$1"
|
|
241
|
-
|
|
242
|
-
log "Collecting CFN Loop state..."
|
|
243
|
-
|
|
244
|
-
{
|
|
245
|
-
echo "{"
|
|
246
|
-
echo " \"task_id\": \"$TASK_ID\","
|
|
247
|
-
echo " \"timestamp\": \"$(date -u +%Y-%m-%dT%H:%M:%SZ)\","
|
|
248
|
-
echo " \"error_type\": \"$ERROR_TYPE\","
|
|
249
|
-
echo " \"error_message\": \"$ERROR_MESSAGE\","
|
|
250
|
-
echo " \"exit_code\": ${EXIT_CODE:-null},"
|
|
251
|
-
|
|
252
|
-
# Redis state
|
|
253
|
-
if command -v redis-cli >/dev/null 2>&1 && redis-cli ping >/dev/null 2>&1; then
|
|
254
|
-
echo " \"redis_state\": {"
|
|
255
|
-
echo " \"connected\": true,"
|
|
256
|
-
|
|
257
|
-
# Task context
|
|
258
|
-
local task_context=$(redis-cli HGETALL "cfn_loop:task:$TASK_ID:context" 2>/dev/null || echo "")
|
|
259
|
-
if [ -n "$task_context" ]; then
|
|
260
|
-
echo " \"task_context\": {"
|
|
261
|
-
echo "$task_context" | sed 's/^/ "/' | sed 's/" "/", "/g' | sed 's/$/"/'
|
|
262
|
-
echo " },"
|
|
263
|
-
else
|
|
264
|
-
echo " \"task_context\": null,"
|
|
265
|
-
fi
|
|
266
|
-
|
|
267
|
-
# Agent PIDs
|
|
268
|
-
local agent_pids=$(redis-cli KEYS "cfn_loop:task:$TASK_ID:agent:*:pid" 2>/dev/null | wc -l || echo "0")
|
|
269
|
-
echo " \"tracked_agents\": $agent_pids,"
|
|
270
|
-
|
|
271
|
-
# Recent signals
|
|
272
|
-
local recent_signals=$(redis-cli LRANGE "swarm:$TASK_ID:*:done" 0 9 2>/dev/null | wc -l || echo "0")
|
|
273
|
-
echo " \"recent_signals\": $recent_signals"
|
|
274
|
-
echo " },"
|
|
275
|
-
else
|
|
276
|
-
echo " \"redis_state\": {"
|
|
277
|
-
echo " \"connected\": false,"
|
|
278
|
-
echo " \"reason\": \"Redis not available or not connected\""
|
|
279
|
-
echo " },"
|
|
280
|
-
fi
|
|
281
|
-
|
|
282
|
-
# Checkpoint state
|
|
283
|
-
local checkpoint_file="/tmp/cfn_loop_${TASK_ID}_checkpoint.json"
|
|
284
|
-
if [ -f "$checkpoint_file" ]; then
|
|
285
|
-
echo " \"checkpoint\": {"
|
|
286
|
-
echo " \"available\": true,"
|
|
287
|
-
echo " \"last_iteration\": $(jq -r '.iteration' "$checkpoint_file" 2>/dev/null || echo 'unknown'),"
|
|
288
|
-
echo " \"mode\": \"$(jq -r '.mode' "$checkpoint_file" 2>/dev/null || echo 'unknown')\","
|
|
289
|
-
echo " \"timestamp\": $(jq -r '.timestamp' "$checkpoint_file" 2>/dev/null || echo 'unknown')"
|
|
290
|
-
echo " },"
|
|
291
|
-
else
|
|
292
|
-
echo " \"checkpoint\": {"
|
|
293
|
-
echo " \"available\": false"
|
|
294
|
-
echo " },"
|
|
295
|
-
fi
|
|
296
|
-
|
|
297
|
-
# Temporary files
|
|
298
|
-
local temp_dir="/tmp/cfn_loop_${TASK_ID}"
|
|
299
|
-
if [ -d "$temp_dir" ]; then
|
|
300
|
-
local temp_files=$(find "$temp_dir" -type f 2>/dev/null | wc -l || echo "0")
|
|
301
|
-
echo " \"temp_files\": {"
|
|
302
|
-
echo " \"directory\": \"$temp_dir\","
|
|
303
|
-
echo " \"file_count\": $temp_files"
|
|
304
|
-
echo " },"
|
|
305
|
-
else
|
|
306
|
-
echo " \"temp_files\": null,"
|
|
307
|
-
fi
|
|
308
|
-
|
|
309
|
-
# Context JSON
|
|
310
|
-
if [ -n "$CONTEXT_JSON" ]; then
|
|
311
|
-
echo " \"context\": $CONTEXT_JSON"
|
|
312
|
-
fi
|
|
313
|
-
|
|
314
|
-
echo "}"
|
|
315
|
-
} > "$state_file"
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
capture_error() {
|
|
319
|
-
local timestamp=$(date +%s)
|
|
320
|
-
local error_log_file="$LOG_BASE_DIR/cfn-error-${TASK_ID}-${timestamp}.json"
|
|
321
|
-
|
|
322
|
-
log "Capturing error data for task: $TASK_ID"
|
|
323
|
-
|
|
324
|
-
setup_directories
|
|
325
|
-
|
|
326
|
-
# Create comprehensive error log
|
|
327
|
-
{
|
|
328
|
-
echo "{"
|
|
329
|
-
echo " \"capture_id\": \"error-${TASK_ID}-${timestamp}\","
|
|
330
|
-
echo " \"timestamp\": \"$(date -u +%Y-%m-%dT%H:%M:%SZ)\","
|
|
331
|
-
echo " \"unix_timestamp\": $timestamp,"
|
|
332
|
-
|
|
333
|
-
# Error details
|
|
334
|
-
echo " \"error\": {"
|
|
335
|
-
echo " \"type\": \"$ERROR_TYPE\","
|
|
336
|
-
echo " \"message\": \"$ERROR_MESSAGE\","
|
|
337
|
-
echo " \"exit_code\": ${EXIT_CODE:-null},"
|
|
338
|
-
echo " \"task_id\": \"$TASK_ID\""
|
|
339
|
-
echo " },"
|
|
340
|
-
|
|
341
|
-
# Include system diagnostics and CFN state
|
|
342
|
-
echo " \"system_diagnostics\": $(cat "${LOG_BASE_DIR}/sys-diagnostics-${timestamp}.json"),"
|
|
343
|
-
echo " \"cfn_state\": $(cat "${LOG_BASE_DIR}/cfn-state-${TASK_ID}-${timestamp}.json")"
|
|
344
|
-
|
|
345
|
-
echo "}"
|
|
346
|
-
} > "$error_log_file"
|
|
347
|
-
|
|
348
|
-
# Clean up temporary diagnostic files
|
|
349
|
-
rm -f "${LOG_BASE_DIR}/sys-diagnostics-${timestamp}.json" 2>/dev/null || true
|
|
350
|
-
rm -f "${LOG_BASE_DIR}/cfn-state-${TASK_ID}-${timestamp}.json" 2>/dev/null || true
|
|
351
|
-
|
|
352
|
-
log "Error data captured: $error_log_file"
|
|
353
|
-
log "Generate report with: $0 --action report --task-id $TASK_ID"
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
generate_report() {
|
|
357
|
-
local timestamp=$(date +%s)
|
|
358
|
-
local file_ext="md"
|
|
359
|
-
|
|
360
|
-
if [ "$FORMAT" = "json" ]; then
|
|
361
|
-
file_ext="json"
|
|
362
|
-
fi
|
|
363
|
-
|
|
364
|
-
local report_file="$LOG_BASE_DIR/reports/cfn-report-${TASK_ID}-${timestamp}.${file_ext}"
|
|
365
|
-
|
|
366
|
-
# Find the most recent error log for this task
|
|
367
|
-
local error_log=$(find "$LOG_BASE_DIR" -name "cfn-error-${TASK_ID}-*.json" -type f -printf '%T@ %p\n' 2>/dev/null | sort -n | tail -1 | cut -d' ' -f2- || echo "")
|
|
368
|
-
|
|
369
|
-
if [ -z "$error_log" ] || [ ! -f "$error_log" ]; then
|
|
370
|
-
echo "❌ No error log found for task: $TASK_ID"
|
|
371
|
-
echo "Available tasks:"
|
|
372
|
-
find "$LOG_BASE_DIR" -name "cfn-error-*.json" -type f -exec basename {} \; 2>/dev/null | sort -u | sed 's/cfn-error-//g' | sed 's/-[0-9]*\.json$//' | head -10
|
|
373
|
-
return 1
|
|
374
|
-
fi
|
|
375
|
-
|
|
376
|
-
log "Generating error report for task: $TASK_ID"
|
|
377
|
-
|
|
378
|
-
# Parse error log data
|
|
379
|
-
local error_type=$(jq -r '.error.type' "$error_log" 2>/dev/null || echo "unknown")
|
|
380
|
-
local error_message=$(jq -r '.error.message' "$error_log" 2>/dev/null || echo "No message")
|
|
381
|
-
local exit_code=$(jq -r '.error.exit_code' "$error_log" 2>/dev/null || echo "unknown")
|
|
382
|
-
local error_timestamp=$(jq -r '.timestamp' "$error_log" 2>/dev/null || echo "unknown")
|
|
383
|
-
|
|
384
|
-
# System diagnostics
|
|
385
|
-
local redis_available=$(jq -r '.system_diagnostics.software.redis_connected' "$error_log" 2>/dev/null || echo "false")
|
|
386
|
-
local node_version=$(jq -r '.system_diagnostics.software.node_version' "$error_log" 2>/dev/null || echo "not found")
|
|
387
|
-
local npx_version=$(jq -r '.system_diagnostics.software.npx_version' "$error_log" 2>/dev/null || echo "not found")
|
|
388
|
-
|
|
389
|
-
# Generate troubleshooting steps
|
|
390
|
-
local troubleshooting_steps=""
|
|
391
|
-
case "$error_type" in
|
|
392
|
-
"orchestrator")
|
|
393
|
-
troubleshooting_steps="1. ✅ Check task configuration parameters\n2. ✅ Verify orchestrator script permissions\n3. ❌ Check system resources (memory/disk)\n4. ✅ Validate agent availability"
|
|
394
|
-
;;
|
|
395
|
-
"agent-spawn")
|
|
396
|
-
troubleshooting_steps="1. ✅ Check Node.js installation: node --version\n2. ✅ Check npx availability: npx --version\n3. ❌ Check Redis connection: redis-cli ping\n4. ✅ Check available memory: free -h"
|
|
397
|
-
;;
|
|
398
|
-
"timeout")
|
|
399
|
-
troubleshooting_steps="1. ✅ Check system load: top\n2. ✅ Verify network connectivity\n3. ❌ Increase timeout values if needed\n4. ✅ Check for stuck processes"
|
|
400
|
-
;;
|
|
401
|
-
"resource")
|
|
402
|
-
troubleshooting_steps="1. ✅ Check available memory: free -h\n2. ✅ Check disk space: df -h\n3. ❌ Close unnecessary applications\n4. ✅ Check process limits: ulimit -a"
|
|
403
|
-
;;
|
|
404
|
-
*)
|
|
405
|
-
troubleshooting_steps="1. ✅ Check system diagnostics below\n2. ✅ Review error message context\n3. ❌ Check CFN Loop configuration\n4. ✅ Verify all dependencies"
|
|
406
|
-
;;
|
|
407
|
-
esac
|
|
408
|
-
|
|
409
|
-
# Generate report
|
|
410
|
-
cat > "$report_file" << EOF
|
|
411
|
-
# CFN Loop Error Report
|
|
412
|
-
|
|
413
|
-
## 🚨 Error Summary
|
|
414
|
-
- **Task ID**: $TASK_ID
|
|
415
|
-
- **Error Type**: $error_type
|
|
416
|
-
- **Message**: $error_message
|
|
417
|
-
- **Timestamp**: $error_timestamp
|
|
418
|
-
- **Exit Code**: $exit_code
|
|
419
|
-
|
|
420
|
-
## 📋 Quick Diagnosis
|
|
421
|
-
**Most Likely Cause**: Based on error type $error_type
|
|
422
|
-
**Recommended Action**: Follow troubleshooting steps below
|
|
423
|
-
|
|
424
|
-
## 🔧 Troubleshooting Steps
|
|
425
|
-
$troubleshooting_steps
|
|
426
|
-
|
|
427
|
-
## 📊 System State
|
|
428
|
-
|
|
429
|
-
### Software Dependencies
|
|
430
|
-
- **Node.js**: $node_version
|
|
431
|
-
- **npx**: $npx_version
|
|
432
|
-
- **Redis**: $(if [ "$redis_available" = "true" ]; then echo "✅ Connected"; else echo "❌ Not Connected"; fi)
|
|
433
|
-
- **Docker**: $(if command -v docker >/dev/null 2>&1; then docker --version | head -1; else echo "Not installed"; fi)
|
|
434
|
-
|
|
435
|
-
### System Resources
|
|
436
|
-
$(jq -r '.system_diagnostics.hardware.memory' "$error_log" 2>/dev/null || echo "Memory information unavailable")
|
|
437
|
-
$(jq -r '.system_diagnostics.hardware.disk' "$error_log" 2>/dev/null || echo "Disk information unavailable")
|
|
438
|
-
|
|
439
|
-
### Process Status
|
|
440
|
-
- **CFN Processes Running**: $(jq -r '.system_diagnostics.processes.cfn_running' "$error_log" 2>/dev/null || echo "Unknown")
|
|
441
|
-
- **Total Processes**: $(jq -r '.system_diagnostics.processes.total_processes' "$error_log" 2>/dev/null || echo "Unknown")
|
|
442
|
-
|
|
443
|
-
## 📝 Send This Report
|
|
444
|
-
**To**: Your Claude assistant
|
|
445
|
-
**Include**:
|
|
446
|
-
- Complete error details above
|
|
447
|
-
- Any recent changes to your setup
|
|
448
|
-
- Steps you were trying to perform
|
|
449
|
-
- Command you executed
|
|
450
|
-
|
|
451
|
-
## 📁 Log Files
|
|
452
|
-
- **Error Log**: $(basename "$error_log")
|
|
453
|
-
- **Log Location**: $LOG_BASE_DIR
|
|
454
|
-
- **Generated**: $(date)
|
|
455
|
-
|
|
456
|
-
## 🔍 Additional Information
|
|
457
|
-
|
|
458
|
-
### CFN Loop State
|
|
459
|
-
$(if [ -f "/tmp/cfn_loop_${TASK_ID}_checkpoint.json" ]; then
|
|
460
|
-
echo "- **Last Checkpoint**: $(jq -r '.iteration' "/tmp/cfn_loop_${TASK_ID}_checkpoint.json" 2>/dev/null || echo "Unknown")"
|
|
461
|
-
echo "- **Mode**: $(jq -r '.mode' "/tmp/cfn_loop_${TASK_ID}_checkpoint.json" 2>/dev/null || echo "Unknown")"
|
|
462
|
-
else
|
|
463
|
-
echo "- **No checkpoint available**"
|
|
464
|
-
fi)
|
|
465
|
-
|
|
466
|
-
### Temporary Files
|
|
467
|
-
$(if [ -d "/tmp/cfn_loop_${TASK_ID}" ]; then
|
|
468
|
-
local temp_count=$(find "/tmp/cfn_loop_${TASK_ID}" -type f 2>/dev/null | wc -l || echo "0")
|
|
469
|
-
echo "- **Temp Files**: $temp_count files"
|
|
470
|
-
else
|
|
471
|
-
echo "- **No temporary files**"
|
|
472
|
-
fi)
|
|
473
|
-
EOF
|
|
474
|
-
|
|
475
|
-
log "Error report generated: $report_file"
|
|
476
|
-
echo ""
|
|
477
|
-
echo "📋 Error report saved to: $report_file"
|
|
478
|
-
echo "📤 Send this file to your Claude assistant for debugging help"
|
|
479
|
-
echo ""
|
|
480
|
-
echo "💡 Quick copy command:"
|
|
481
|
-
echo " cat $report_file | pbcopy # macOS"
|
|
482
|
-
echo " cat $report_file | xclip -selection clipboard # Linux"
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
list_error_logs() {
|
|
486
|
-
local query="$1"
|
|
487
|
-
|
|
488
|
-
log "Listing error logs..."
|
|
489
|
-
|
|
490
|
-
case "$FORMAT" in
|
|
491
|
-
"table")
|
|
492
|
-
echo "Available Error Logs:"
|
|
493
|
-
printf "%-20s %-12s %-20s %-30s\n" "Task ID" "Type" "Timestamp" "Error Message"
|
|
494
|
-
printf "%-20s %-12s %-20s %-30s\n" "--------------------" "------------" "--------------------" "------------------------------"
|
|
495
|
-
|
|
496
|
-
find "$LOG_BASE_DIR" -name "cfn-error-*.json" -type f -printf '%T@ %p\n' 2>/dev/null | sort -n | while read -r timestamp file; do
|
|
497
|
-
local task_id=$(basename "$file" | sed 's/cfn-error-//' | sed 's/-[0-9]*\.json$//')
|
|
498
|
-
local error_type=$(jq -r '.error.type' "$file" 2>/dev/null || echo "unknown")
|
|
499
|
-
local error_message=$(jq -r '.error.message' "$file" 2>/dev/null | head -c 30)
|
|
500
|
-
local file_timestamp=$(date -d "@$timestamp" "+%Y-%m-%d %H:%M" 2>/dev/null || echo "unknown")
|
|
501
|
-
|
|
502
|
-
printf "%-20s %-12s %-20s %-30s\n" "$task_id" "$error_type" "$file_timestamp" "$error_message"
|
|
503
|
-
done
|
|
504
|
-
;;
|
|
505
|
-
"json")
|
|
506
|
-
find "$LOG_BASE_DIR" -name "cfn-error-*.json" -type f -exec basename {} \; 2>/dev/null | sort -u | sed 's/cfn-error-//g' | sed 's/-[0-9]*\.json$//' | jq -R '{
|
|
507
|
-
"task_id": .,
|
|
508
|
-
"logs": [
|
|
509
|
-
(input | split("\n")[] | select(length > 0) | . as $task_id |
|
|
510
|
-
"cfn-error-\($task_id)-*.json" |
|
|
511
|
-
[
|
|
512
|
-
inputs | select(test("cfn-error-\($task_id)-"; .)) |
|
|
513
|
-
{
|
|
514
|
-
"file": .,
|
|
515
|
-
"timestamp": (inputs | test(.; test("cfn-error-\($task_id)-"; .)) | input_filename | split("-") | .[2] | split("\\.") | .[0] | tonumber) | strftime("%Y-%m-%d %H:%M:%S")
|
|
516
|
-
}
|
|
517
|
-
]
|
|
518
|
-
)
|
|
519
|
-
]
|
|
520
|
-
}' | while read -r line; do
|
|
521
|
-
if [ -n "$query" ] && [[ "$line" =~ "$query" ]]; then
|
|
522
|
-
echo "$line"
|
|
523
|
-
elif [ -z "$query" ]; then
|
|
524
|
-
echo "$line"
|
|
525
|
-
fi
|
|
526
|
-
done
|
|
527
|
-
;;
|
|
528
|
-
*)
|
|
529
|
-
echo "Available error logs:"
|
|
530
|
-
find "$LOG_BASE_DIR" -name "cfn-error-*.json" -type f -exec basename {} \; 2>/dev/null | sort -u | sed 's/cfn-error-//g' | sed 's/-[0-9]*\.json$//'
|
|
531
|
-
;;
|
|
532
|
-
esac
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
cleanup_logs() {
|
|
536
|
-
local retention_secs=$((RETENTION_DAYS * 24 * 3600))
|
|
537
|
-
local current_time=$(date +%s)
|
|
538
|
-
local cutoff_time=$((current_time - retention_secs))
|
|
539
|
-
|
|
540
|
-
log "Cleaning up error logs older than $RETENTION_DAYS days..."
|
|
541
|
-
|
|
542
|
-
local cleaned_count=0
|
|
543
|
-
local compressed_count=0
|
|
544
|
-
|
|
545
|
-
# Compress old logs
|
|
546
|
-
while IFS= read -r -d '' file; do
|
|
547
|
-
local file_time=$(date -r "$file" +%s 2>/dev/null || echo "0")
|
|
548
|
-
if [ "$file_time" -lt "$cutoff_time" ]; then
|
|
549
|
-
if gzip "$file" 2>/dev/null; then
|
|
550
|
-
mv "$file.gz" "$LOG_BASE_DIR/compressed/"
|
|
551
|
-
((compressed_count++))
|
|
552
|
-
fi
|
|
553
|
-
fi
|
|
554
|
-
done < <(find "$LOG_BASE_DIR" -name "cfn-error-*.json" -type f -print0 2>/dev/null)
|
|
555
|
-
|
|
556
|
-
# Remove very old compressed logs (30 days)
|
|
557
|
-
local old_cutoff=$((current_time - (30 * 24 * 3600)))
|
|
558
|
-
while IFS= read -r -d '' file; do
|
|
559
|
-
local file_time=$(date -r "$file" +%s 2>/dev/null || echo "0")
|
|
560
|
-
if [ "$file_time" -lt "$old_cutoff" ]; then
|
|
561
|
-
rm -f "$file"
|
|
562
|
-
((cleaned_count++))
|
|
563
|
-
fi
|
|
564
|
-
done < <(find "$LOG_BASE_DIR/compressed" -name "*.json.gz" -type f -print0 2>/dev/null)
|
|
565
|
-
|
|
566
|
-
# Check total size and enforce limit
|
|
567
|
-
local total_size=$(du -sm "$LOG_BASE_DIR" 2>/dev/null | cut -f1 || echo "0")
|
|
568
|
-
if [ "$total_size" -gt "$MAX_LOG_SIZE_MB" ]; then
|
|
569
|
-
log "Log directory size (${total_size}MB) exceeds limit (${MAX_LOG_SIZE_MB}MB)"
|
|
570
|
-
# Remove oldest files until under limit
|
|
571
|
-
while [ "$total_size" -gt "$MAX_LOG_SIZE_MB" ]; do
|
|
572
|
-
local oldest_file=$(find "$LOG_BASE_DIR" -name "*.json*" -type f -printf '%T@ %p\n' 2>/dev/null | sort -n | head -1 | cut -d' ' -f2-)
|
|
573
|
-
if [ -n "$oldest_file" ] && [ -f "$oldest_file" ]; then
|
|
574
|
-
rm -f "$oldest_file"
|
|
575
|
-
total_size=$(du -sm "$LOG_BASE_DIR" 2>/dev/null | cut -f1 || echo "0")
|
|
576
|
-
fi
|
|
577
|
-
done
|
|
578
|
-
fi
|
|
579
|
-
|
|
580
|
-
log "Cleanup completed: $compressed_count files compressed, $cleaned_count files removed"
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
run_diagnostics() {
|
|
584
|
-
log "Running system diagnostics..."
|
|
585
|
-
|
|
586
|
-
echo "=== CFN Loop System Diagnostics ==="
|
|
587
|
-
echo ""
|
|
588
|
-
|
|
589
|
-
# Basic system info
|
|
590
|
-
echo "🖥️ System Information:"
|
|
591
|
-
echo " Hostname: $(hostname 2>/dev/null || echo 'unknown')"
|
|
592
|
-
echo " User: $(whoami 2>/dev/null || echo 'unknown')"
|
|
593
|
-
echo " Shell: $SHELL"
|
|
594
|
-
echo " Working Directory: $(pwd)"
|
|
595
|
-
echo ""
|
|
596
|
-
|
|
597
|
-
# Dependency checks
|
|
598
|
-
echo "📦 Dependency Status:"
|
|
599
|
-
|
|
600
|
-
local deps_status=0
|
|
601
|
-
|
|
602
|
-
if command -v node >/dev/null 2>&1; then
|
|
603
|
-
echo " ✅ Node.js: $(node --version)"
|
|
604
|
-
else
|
|
605
|
-
echo " ❌ Node.js: NOT FOUND"
|
|
606
|
-
((deps_status++))
|
|
607
|
-
fi
|
|
608
|
-
|
|
609
|
-
if command -v npx >/dev/null 2>&1; then
|
|
610
|
-
echo " ✅ npx: $(npx --version)"
|
|
611
|
-
else
|
|
612
|
-
echo " ❌ npx: NOT FOUND"
|
|
613
|
-
((deps_status++))
|
|
614
|
-
fi
|
|
615
|
-
|
|
616
|
-
if command -v docker >/dev/null 2>&1; then
|
|
617
|
-
echo " ✅ Docker: $(docker --version | head -1)"
|
|
618
|
-
else
|
|
619
|
-
echo " ⚠️ Docker: NOT FOUND (optional)"
|
|
620
|
-
fi
|
|
621
|
-
|
|
622
|
-
if command -v redis-cli >/dev/null 2>&1; then
|
|
623
|
-
echo " ✅ Redis CLI: Available"
|
|
624
|
-
if redis-cli ping >/dev/null 2>&1; then
|
|
625
|
-
echo " ✅ Redis Server: CONNECTED"
|
|
626
|
-
else
|
|
627
|
-
echo " ❌ Redis Server: NOT CONNECTED"
|
|
628
|
-
((deps_status++))
|
|
629
|
-
fi
|
|
630
|
-
else
|
|
631
|
-
echo " ❌ Redis CLI: NOT FOUND"
|
|
632
|
-
((deps_status++))
|
|
633
|
-
fi
|
|
634
|
-
|
|
635
|
-
echo ""
|
|
636
|
-
|
|
637
|
-
# Resource status
|
|
638
|
-
echo "💻 Resource Status:"
|
|
639
|
-
|
|
640
|
-
if command -v free >/dev/null 2>&1; then
|
|
641
|
-
echo " Memory: $(free -h | grep '^Mem:' | awk '{print $3 "/" $2 " (" $4 ")"}')"
|
|
642
|
-
echo " Swap: $(free -h | grep '^Swap:' | awk '{print $3 "/" $2 " (" $4 ")"}' || echo 'Swap not available')"
|
|
643
|
-
else
|
|
644
|
-
echo " Memory: Information unavailable"
|
|
645
|
-
fi
|
|
646
|
-
|
|
647
|
-
if command -v df >/dev/null 2>&1; then
|
|
648
|
-
echo " Disk: $(df -h / | tail -1 | awk '{print $3 "/" $2 " (" $4 ")"}')"
|
|
649
|
-
else
|
|
650
|
-
echo " Disk: Information unavailable"
|
|
651
|
-
fi
|
|
652
|
-
|
|
653
|
-
echo ""
|
|
654
|
-
|
|
655
|
-
# CFN Loop specific
|
|
656
|
-
echo "🔄 CFN Loop Status:"
|
|
657
|
-
|
|
658
|
-
local cfn_processes=$(pgrep -f "claude-flow-novice\|cfn-" 2>/dev/null | wc -l || echo "0")
|
|
659
|
-
echo " CFN Processes Running: $cfn_processes"
|
|
660
|
-
|
|
661
|
-
if [ -d "/tmp" ]; then
|
|
662
|
-
local cfn_temp_dirs=$(find /tmp -name "cfn_loop_*" -type d 2>/dev/null | wc -l || echo "0")
|
|
663
|
-
echo " Temporary Directories: $cfn_temp_dirs"
|
|
664
|
-
fi
|
|
665
|
-
|
|
666
|
-
echo ""
|
|
667
|
-
|
|
668
|
-
# Error log status
|
|
669
|
-
if [ -d "$LOG_BASE_DIR" ]; then
|
|
670
|
-
local error_count=$(find "$LOG_BASE_DIR" -name "cfn-error-*.json" -type f 2>/dev/null | wc -l || echo "0")
|
|
671
|
-
local report_count=$(find "$LOG_BASE_DIR/reports" -name "*.md" -type f 2>/dev/null | wc -l || echo "0")
|
|
672
|
-
echo "📊 Error Log Status:"
|
|
673
|
-
echo " Error Logs: $error_count"
|
|
674
|
-
echo " Reports Generated: $report_count"
|
|
675
|
-
echo " Log Directory: $LOG_BASE_DIR"
|
|
676
|
-
echo " Total Size: $(du -sh "$LOG_BASE_DIR" 2>/dev/null | cut -f1 || echo 'unknown')"
|
|
677
|
-
else
|
|
678
|
-
echo "📊 Error Log Status: Directory not found"
|
|
679
|
-
fi
|
|
680
|
-
|
|
681
|
-
echo ""
|
|
682
|
-
|
|
683
|
-
# Overall status
|
|
684
|
-
if [ "$deps_status" -eq 0 ]; then
|
|
685
|
-
echo "✅ Overall Status: HEALTHY"
|
|
686
|
-
else
|
|
687
|
-
echo "⚠️ Overall Status: ISSUES DETECTED ($deps_status problems)"
|
|
688
|
-
fi
|
|
689
|
-
|
|
690
|
-
echo ""
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
validate_dependencies() {
|
|
694
|
-
log "Validating CFN Loop dependencies..."
|
|
695
|
-
|
|
696
|
-
local validation_status=0
|
|
697
|
-
local missing_deps=()
|
|
698
|
-
|
|
699
|
-
# Check required dependencies
|
|
700
|
-
local required_deps=("node" "npx" "jq" "bc")
|
|
701
|
-
for dep in "${required_deps[@]}"; do
|
|
702
|
-
if ! command -v "$dep" >/dev/null 2>&1; then
|
|
703
|
-
missing_deps+=("$dep")
|
|
704
|
-
((validation_status++))
|
|
705
|
-
fi
|
|
706
|
-
done
|
|
707
|
-
|
|
708
|
-
if [ ${#missing_deps[@]} -gt 0 ]; then
|
|
709
|
-
echo "❌ Missing Dependencies:"
|
|
710
|
-
for dep in "${missing_deps[@]}"; do
|
|
711
|
-
echo " - $dep"
|
|
712
|
-
done
|
|
713
|
-
echo ""
|
|
714
|
-
echo "💡 Installation Commands:"
|
|
715
|
-
if [[ " ${missing_deps[*]}" =~ "node" ]] || [[ " ${missing_deps[*]}" =~ "npx" ]]; then
|
|
716
|
-
echo " # Install Node.js and npx:"
|
|
717
|
-
echo " curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -"
|
|
718
|
-
echo " sudo apt-get install -y nodejs npm"
|
|
719
|
-
echo " sudo npm install -g npx"
|
|
720
|
-
fi
|
|
721
|
-
if [[ " ${missing_deps[*]}" =~ "jq" ]]; then
|
|
722
|
-
echo " # Install jq:"
|
|
723
|
-
echo " sudo apt-get install -y jq"
|
|
724
|
-
fi
|
|
725
|
-
if [[ " ${missing_deps[*]}" =~ "bc" ]]; then
|
|
726
|
-
echo " # Install bc:"
|
|
727
|
-
echo " sudo apt-get install -y bc"
|
|
728
|
-
fi
|
|
729
|
-
else
|
|
730
|
-
echo "✅ All required dependencies are available"
|
|
731
|
-
fi
|
|
732
|
-
|
|
733
|
-
echo ""
|
|
734
|
-
|
|
735
|
-
# Check optional dependencies
|
|
736
|
-
echo "🔍 Optional Dependencies:"
|
|
737
|
-
|
|
738
|
-
local optional_deps=("redis-cli" "docker")
|
|
739
|
-
for dep in "${optional_deps[@]}"; do
|
|
740
|
-
if command -v "$dep" >/dev/null 2>&1; then
|
|
741
|
-
case "$dep" in
|
|
742
|
-
"redis-cli")
|
|
743
|
-
if redis-cli ping >/dev/null 2>&1; then
|
|
744
|
-
echo " ✅ Redis Server: Running"
|
|
745
|
-
else
|
|
746
|
-
echo " ⚠️ Redis CLI: Available, Server Not Connected"
|
|
747
|
-
fi
|
|
748
|
-
;;
|
|
749
|
-
"docker")
|
|
750
|
-
echo " ✅ Docker: $(docker --version | head -1)"
|
|
751
|
-
;;
|
|
752
|
-
esac
|
|
753
|
-
else
|
|
754
|
-
echo " ⚪ $dep: Not Available (optional)"
|
|
755
|
-
fi
|
|
756
|
-
done
|
|
757
|
-
|
|
758
|
-
return $validation_status
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
# Parse arguments
|
|
762
|
-
while [[ $# -gt 0 ]]; do
|
|
763
|
-
case $1 in
|
|
764
|
-
--action)
|
|
765
|
-
ACTION="$2"
|
|
766
|
-
shift 2
|
|
767
|
-
;;
|
|
768
|
-
--task-id)
|
|
769
|
-
TASK_ID="$2"
|
|
770
|
-
shift 2
|
|
771
|
-
;;
|
|
772
|
-
--error-type)
|
|
773
|
-
ERROR_TYPE="$2"
|
|
774
|
-
shift 2
|
|
775
|
-
;;
|
|
776
|
-
--error-message)
|
|
777
|
-
ERROR_MESSAGE="$2"
|
|
778
|
-
shift 2
|
|
779
|
-
;;
|
|
780
|
-
--exit-code)
|
|
781
|
-
EXIT_CODE="$2"
|
|
782
|
-
shift 2
|
|
783
|
-
;;
|
|
784
|
-
--context)
|
|
785
|
-
CONTEXT_JSON="$2"
|
|
786
|
-
shift 2
|
|
787
|
-
;;
|
|
788
|
-
--format)
|
|
789
|
-
FORMAT="$2"
|
|
790
|
-
shift 2
|
|
791
|
-
;;
|
|
792
|
-
--since)
|
|
793
|
-
SINCE_TIME="$2"
|
|
794
|
-
shift 2
|
|
795
|
-
;;
|
|
796
|
-
--retention-days)
|
|
797
|
-
RETENTION_DAYS="$2"
|
|
798
|
-
shift 2
|
|
799
|
-
;;
|
|
800
|
-
--help|-h)
|
|
801
|
-
show_usage
|
|
802
|
-
exit 0
|
|
803
|
-
;;
|
|
804
|
-
*)
|
|
805
|
-
echo "Unknown option: $1"
|
|
806
|
-
show_usage
|
|
807
|
-
exit 1
|
|
808
|
-
;;
|
|
809
|
-
esac
|
|
810
|
-
done
|
|
811
|
-
|
|
812
|
-
# Validate parameters
|
|
813
|
-
validate_parameters
|
|
814
|
-
|
|
815
|
-
# Execute action
|
|
816
|
-
case "$ACTION" in
|
|
817
|
-
capture)
|
|
818
|
-
collect_system_diagnostics "${LOG_BASE_DIR}/sys-diagnostics-$(date +%s).json"
|
|
819
|
-
collect_cfn_state "${LOG_BASE_DIR}/cfn-state-${TASK_ID}-$(date +%s).json"
|
|
820
|
-
capture_error
|
|
821
|
-
;;
|
|
822
|
-
report)
|
|
823
|
-
generate_report
|
|
824
|
-
;;
|
|
825
|
-
cleanup)
|
|
826
|
-
cleanup_logs
|
|
827
|
-
;;
|
|
828
|
-
list)
|
|
829
|
-
list_error_logs "$SINCE_TIME"
|
|
830
|
-
;;
|
|
831
|
-
diagnostics)
|
|
832
|
-
run_diagnostics
|
|
833
|
-
;;
|
|
834
|
-
validate)
|
|
835
|
-
validate_dependencies
|
|
836
|
-
;;
|
|
837
|
-
esac
|
|
838
|
-
|
|
839
|
-
log "Error logging action '$ACTION' completed"
|