claude-flow-novice 2.18.12 → 2.18.14
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/.backups/unknown/1765417503_2999b9ec66f591dd76075617ec31fcea/metadata.json +8 -0
- package/.backups/unknown/1765417503_2999b9ec66f591dd76075617ec31fcea/original +3 -0
- package/.backups/unknown/1765417503_2999b9ec66f591dd76075617ec31fcea/revert.sh +7 -0
- package/.backups/unknown/1765417531_2999b9ec66f591dd76075617ec31fcea/metadata.json +8 -0
- package/.backups/unknown/1765417531_2999b9ec66f591dd76075617ec31fcea/original +3 -0
- package/.backups/unknown/1765417531_2999b9ec66f591dd76075617ec31fcea/revert.sh +7 -0
- package/.backups/unknown/1765417552_2999b9ec66f591dd76075617ec31fcea/metadata.json +8 -0
- package/.backups/unknown/1765417552_2999b9ec66f591dd76075617ec31fcea/original +3 -0
- package/.backups/unknown/1765417552_2999b9ec66f591dd76075617ec31fcea/revert.sh +7 -0
- package/.backups/unknown/1765417613_1f34dbf0fe1ec3b6cb74ba7c4e12a2a4/metadata.json +8 -0
- package/.backups/unknown/1765417613_1f34dbf0fe1ec3b6cb74ba7c4e12a2a4/original +1212 -0
- package/.backups/unknown/1765417613_1f34dbf0fe1ec3b6cb74ba7c4e12a2a4/revert.sh +7 -0
- package/.backups/unknown/1765417613_332e9bb223a26270398922640c1c1653/metadata.json +8 -0
- package/.backups/unknown/1765417613_332e9bb223a26270398922640c1c1653/original +1212 -0
- package/.backups/unknown/1765417613_332e9bb223a26270398922640c1c1653/revert.sh +7 -0
- package/.backups/unknown/1765417613_45880a7afef063347b701e7e88e2df9c/metadata.json +8 -0
- package/.backups/unknown/1765417613_45880a7afef063347b701e7e88e2df9c/original +1212 -0
- package/.backups/unknown/1765417613_45880a7afef063347b701e7e88e2df9c/revert.sh +7 -0
- package/.backups/unknown/1765417614_1b6c3b658c2891dbe245aea4bad41661/metadata.json +8 -0
- package/.backups/unknown/1765417614_1b6c3b658c2891dbe245aea4bad41661/original +1228 -0
- package/.backups/unknown/1765417614_1b6c3b658c2891dbe245aea4bad41661/revert.sh +7 -0
- package/.backups/unknown/1765417614_1ed5bd129f0b5d1b297a04ec5267ef62/metadata.json +8 -0
- package/.backups/unknown/1765417614_1ed5bd129f0b5d1b297a04ec5267ef62/original +1237 -0
- package/.backups/unknown/1765417614_1ed5bd129f0b5d1b297a04ec5267ef62/revert.sh +7 -0
- package/.backups/unknown/1765417614_28e032bd1b62dbfcecbd56327a0b0e23/metadata.json +8 -0
- package/.backups/unknown/1765417614_28e032bd1b62dbfcecbd56327a0b0e23/original +1240 -0
- package/.backups/unknown/1765417614_28e032bd1b62dbfcecbd56327a0b0e23/revert.sh +7 -0
- package/.backups/unknown/1765417614_40a1ce1b0efa2e1ba1958c27b2cbc557/metadata.json +8 -0
- package/.backups/unknown/1765417614_40a1ce1b0efa2e1ba1958c27b2cbc557/original +1216 -0
- package/.backups/unknown/1765417614_40a1ce1b0efa2e1ba1958c27b2cbc557/revert.sh +7 -0
- package/.backups/unknown/1765417614_f65dbf58cff7a9aa1c5c3d0d1618074a/metadata.json +8 -0
- package/.backups/unknown/1765417614_f65dbf58cff7a9aa1c5c3d0d1618074a/original +1238 -0
- package/.backups/unknown/1765417614_f65dbf58cff7a9aa1c5c3d0d1618074a/revert.sh +7 -0
- package/.backups/unknown/1765417615_0f45c28b9b8d5204974421c06075ff74/metadata.json +8 -0
- package/.backups/unknown/1765417615_0f45c28b9b8d5204974421c06075ff74/original +1167 -0
- package/.backups/unknown/1765417615_0f45c28b9b8d5204974421c06075ff74/revert.sh +7 -0
- package/.backups/unknown/1765417615_41d36156891ddb6f63d1b4da59d1db4c/metadata.json +8 -0
- package/.backups/unknown/1765417615_41d36156891ddb6f63d1b4da59d1db4c/original +1242 -0
- package/.backups/unknown/1765417615_41d36156891ddb6f63d1b4da59d1db4c/revert.sh +7 -0
- package/.backups/unknown/1765417709_77dda8631459cfc2ab94b8928f7d90b4/metadata.json +8 -0
- package/.backups/unknown/1765417709_77dda8631459cfc2ab94b8928f7d90b4/original +2 -0
- package/.backups/unknown/1765417709_77dda8631459cfc2ab94b8928f7d90b4/revert.sh +7 -0
- package/.backups/unknown/1765417775_1405837bacf112ba832a139840fe94e7/metadata.json +8 -0
- package/.backups/unknown/1765417775_1405837bacf112ba832a139840fe94e7/original +1169 -0
- package/.backups/unknown/1765417775_1405837bacf112ba832a139840fe94e7/revert.sh +7 -0
- package/.backups/unknown/1765417775_8044b4a5cfdcb5cd71317831ad53f5a2/metadata.json +8 -0
- package/.backups/unknown/1765417775_8044b4a5cfdcb5cd71317831ad53f5a2/original +1171 -0
- package/.backups/unknown/1765417775_8044b4a5cfdcb5cd71317831ad53f5a2/revert.sh +7 -0
- package/.backups/unknown/1765417775_8eb94d60151e1db262377fbf8a187212/metadata.json +8 -0
- package/.backups/unknown/1765417775_8eb94d60151e1db262377fbf8a187212/original +1170 -0
- package/.backups/unknown/1765417775_8eb94d60151e1db262377fbf8a187212/revert.sh +7 -0
- package/.backups/unknown/1765417776_a0d4b709e15e0bfa002c4b128f5e4603/metadata.json +8 -0
- package/.backups/unknown/1765417776_a0d4b709e15e0bfa002c4b128f5e4603/original +1173 -0
- package/.backups/unknown/1765417776_a0d4b709e15e0bfa002c4b128f5e4603/revert.sh +7 -0
- package/.backups/unknown/1765417776_cb1bc24d98b63564eb73ef782b8c68b3/metadata.json +8 -0
- package/.backups/unknown/1765417776_cb1bc24d98b63564eb73ef782b8c68b3/original +1170 -0
- package/.backups/unknown/1765417776_cb1bc24d98b63564eb73ef782b8c68b3/revert.sh +7 -0
- package/.backups/unknown/1765417777_1c4cc8c33f476f0c87c8efd4e34efc22/metadata.json +8 -0
- package/.backups/unknown/1765417777_1c4cc8c33f476f0c87c8efd4e34efc22/original +1172 -0
- package/.backups/unknown/1765417777_1c4cc8c33f476f0c87c8efd4e34efc22/revert.sh +7 -0
- package/.backups/unknown/1765417777_325de83ffd34544909b8b9aa6e18dd05/metadata.json +8 -0
- package/.backups/unknown/1765417777_325de83ffd34544909b8b9aa6e18dd05/original +1175 -0
- package/.backups/unknown/1765417777_325de83ffd34544909b8b9aa6e18dd05/revert.sh +7 -0
- package/.backups/unknown/1765417950_402e7c1a8956b56ac7b88e89f024acb4/metadata.json +8 -0
- package/.backups/unknown/1765417950_402e7c1a8956b56ac7b88e89f024acb4/original +1178 -0
- package/.backups/unknown/1765417950_402e7c1a8956b56ac7b88e89f024acb4/revert.sh +7 -0
- package/.backups/unknown/1765417950_647e27e4da18ae42c339e04b4d334feb/metadata.json +8 -0
- package/.backups/unknown/1765417950_647e27e4da18ae42c339e04b4d334feb/original +1174 -0
- package/.backups/unknown/1765417950_647e27e4da18ae42c339e04b4d334feb/revert.sh +7 -0
- package/.backups/unknown/1765417951_1424d2dd67b8c8a4e7cf649b379d21f2/metadata.json +8 -0
- package/.backups/unknown/1765417951_1424d2dd67b8c8a4e7cf649b379d21f2/original +1194 -0
- package/.backups/unknown/1765417951_1424d2dd67b8c8a4e7cf649b379d21f2/revert.sh +7 -0
- package/.backups/unknown/1765417951_6df070ca287ea94a7f08efc69ec9ea51/metadata.json +8 -0
- package/.backups/unknown/1765417951_6df070ca287ea94a7f08efc69ec9ea51/original +1186 -0
- package/.backups/unknown/1765417951_6df070ca287ea94a7f08efc69ec9ea51/revert.sh +7 -0
- package/.backups/unknown/1765417951_848919a1365f6536e5ef8d85d0c80fa7/metadata.json +8 -0
- package/.backups/unknown/1765417951_848919a1365f6536e5ef8d85d0c80fa7/original +1180 -0
- package/.backups/unknown/1765417951_848919a1365f6536e5ef8d85d0c80fa7/revert.sh +7 -0
- package/.backups/unknown/1765417951_b0d1d4ecf85ad10cda0f3900d414b608/metadata.json +8 -0
- package/.backups/unknown/1765417951_b0d1d4ecf85ad10cda0f3900d414b608/original +1198 -0
- package/.backups/unknown/1765417951_b0d1d4ecf85ad10cda0f3900d414b608/revert.sh +7 -0
- package/.backups/unknown/1765417952_2b720e213b5197cbaad53f9f0857f23f/metadata.json +8 -0
- package/.backups/unknown/1765417952_2b720e213b5197cbaad53f9f0857f23f/original +1202 -0
- package/.backups/unknown/1765417952_2b720e213b5197cbaad53f9f0857f23f/revert.sh +7 -0
- package/.backups/unknown/1765417952_ef1d15e8b83a802a0c0f0fc03e56a89c/metadata.json +8 -0
- package/.backups/unknown/1765417952_ef1d15e8b83a802a0c0f0fc03e56a89c/original +1202 -0
- package/.backups/unknown/1765417952_ef1d15e8b83a802a0c0f0fc03e56a89c/revert.sh +7 -0
- package/.backups/unknown/1765418048_ac94238a69a6f86a6ba9d31f623c18a7/metadata.json +8 -0
- package/.backups/unknown/1765418048_ac94238a69a6f86a6ba9d31f623c18a7/original +1209 -0
- package/.backups/unknown/1765418048_ac94238a69a6f86a6ba9d31f623c18a7/revert.sh +7 -0
- package/.backups/unknown/1765418048_f3afed98da63fef9ff57fb5646976f63/metadata.json +8 -0
- package/.backups/unknown/1765418048_f3afed98da63fef9ff57fb5646976f63/original +1207 -0
- package/.backups/unknown/1765418048_f3afed98da63fef9ff57fb5646976f63/revert.sh +7 -0
- package/.backups/unknown/1765418049_9c392702a4e1cace37d17f6f2dfaf54e/metadata.json +8 -0
- package/.backups/unknown/1765418049_9c392702a4e1cace37d17f6f2dfaf54e/original +1207 -0
- package/.backups/unknown/1765418049_9c392702a4e1cace37d17f6f2dfaf54e/revert.sh +7 -0
- package/.backups/unknown/1765418049_9e0777555b51dea4d24d0503b584cfc5/metadata.json +8 -0
- package/.backups/unknown/1765418049_9e0777555b51dea4d24d0503b584cfc5/original +1193 -0
- package/.backups/unknown/1765418049_9e0777555b51dea4d24d0503b584cfc5/revert.sh +7 -0
- package/.backups/unknown/1765418050_22d534bed68f9f5d883bee54e7cbc4d3/metadata.json +8 -0
- package/.backups/unknown/1765418050_22d534bed68f9f5d883bee54e7cbc4d3/original +1194 -0
- package/.backups/unknown/1765418050_22d534bed68f9f5d883bee54e7cbc4d3/revert.sh +7 -0
- package/.backups/unknown/1765418051_d9243722dc90dabc851c5767a62ac7f2/metadata.json +8 -0
- package/.backups/unknown/1765418051_d9243722dc90dabc851c5767a62ac7f2/original +1193 -0
- package/.backups/unknown/1765418051_d9243722dc90dabc851c5767a62ac7f2/revert.sh +7 -0
- package/.backups/unknown/1765418177_21a2fa816d25d419b54ef2d429aab474/metadata.json +8 -0
- package/.backups/unknown/1765418177_21a2fa816d25d419b54ef2d429aab474/original +1191 -0
- package/.backups/unknown/1765418177_21a2fa816d25d419b54ef2d429aab474/revert.sh +7 -0
- package/.backups/unknown/1765418177_33b673dce1eb59d7eb4f752aec882794/metadata.json +8 -0
- package/.backups/unknown/1765418177_33b673dce1eb59d7eb4f752aec882794/original +1190 -0
- package/.backups/unknown/1765418177_33b673dce1eb59d7eb4f752aec882794/revert.sh +7 -0
- package/.backups/unknown/1765418177_72568812ea5a73cf6861a6b14da065fa/metadata.json +8 -0
- package/.backups/unknown/1765418177_72568812ea5a73cf6861a6b14da065fa/original +1191 -0
- package/.backups/unknown/1765418177_72568812ea5a73cf6861a6b14da065fa/revert.sh +7 -0
- package/.backups/unknown/1765418178_20c28b95f12194fe4b81cfb35f4f3757/metadata.json +8 -0
- package/.backups/unknown/1765418178_20c28b95f12194fe4b81cfb35f4f3757/original +1189 -0
- package/.backups/unknown/1765418178_20c28b95f12194fe4b81cfb35f4f3757/revert.sh +7 -0
- package/.backups/unknown/1765418178_cdf68719cc09173769027743e2718ad4/metadata.json +8 -0
- package/.backups/unknown/1765418178_cdf68719cc09173769027743e2718ad4/original +1197 -0
- package/.backups/unknown/1765418178_cdf68719cc09173769027743e2718ad4/revert.sh +7 -0
- package/.backups/unknown/1765418178_eb19e0f8542405480e51af09fad84b71/metadata.json +8 -0
- package/.backups/unknown/1765418178_eb19e0f8542405480e51af09fad84b71/original +1190 -0
- package/.backups/unknown/1765418178_eb19e0f8542405480e51af09fad84b71/revert.sh +7 -0
- package/.backups/unknown/1765418236_c016507725847318a3c369b047cbb802/metadata.json +8 -0
- package/.backups/unknown/1765418236_c016507725847318a3c369b047cbb802/original +1197 -0
- package/.backups/unknown/1765418236_c016507725847318a3c369b047cbb802/revert.sh +7 -0
- package/.backups/unknown/1765418237_932c3cc3a5c537b7933c2370b65f4b39/metadata.json +8 -0
- package/.backups/unknown/1765418237_932c3cc3a5c537b7933c2370b65f4b39/original +1197 -0
- package/.backups/unknown/1765418237_932c3cc3a5c537b7933c2370b65f4b39/revert.sh +7 -0
- package/.claude/agents/cfn-dev-team/utility/epic-creator-v2.md +194 -2
- package/.claude/agents/cfn-dev-team/utility/epic-creator-v2.sh +264 -0
- package/.claude/agents/cfn-dev-team/utility/epic-creator-v2.sh.backup +698 -0
- package/.claude/agents/custom/claude-code-expert.md +56 -0
- package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/SKILL.md +1 -1
- package/.claude/hooks/README.md +148 -0
- package/.claude/hooks/SessionStart:cfn-load-openai-key.sh +35 -0
- package/.claude/hooks/cfn-invoke-pre-edit.sh +1 -1
- package/.claude/hooks/cfn-load-cerebras-env.sh +65 -0
- package/.claude/hooks/cfn-precompact-enhanced.sh +283 -0
- package/.claude/hooks/deprecated/README.md +27 -0
- package/.claude/settings.json +71 -6
- package/.claude/skills/cfn-agent-lifecycle/SKILL.md +1 -1
- package/.claude/skills/cfn-agent-tooling/SKILL.md +1 -1
- package/.claude/skills/cfn-cerebras-coordinator/QUICKSTART.md +348 -0
- package/.claude/skills/cfn-cerebras-coordinator/README.md +525 -0
- package/.claude/skills/cfn-cerebras-coordinator/TDD_COORDINATOR_OVERVIEW.md +284 -0
- package/.claude/skills/cfn-cerebras-coordinator/conversations/2025-12-10-py-v2-test-1733854200.json +36 -0
- package/.claude/skills/cfn-cerebras-coordinator/conversations/2025-12-10-py-v3-test-1765383241.json +36 -0
- package/.claude/skills/cfn-cerebras-coordinator/conversations/2025-12-10-rust-v2-test-1765381361.json +36 -0
- package/.claude/skills/cfn-cerebras-coordinator/conversations/2025-12-10-rust-v3-test-1765383242.json +46 -0
- package/.claude/skills/cfn-cerebras-coordinator/conversations/2025-12-10-ts-v2-test-1733864400.json +66 -0
- package/.claude/skills/cfn-cerebras-coordinator/conversations/2025-12-10-ts-v3-test-1765383238.json +66 -0
- package/.claude/skills/cfn-cerebras-coordinator/conversations/2025-12-10-ts-v4-test-1765386506.json +66 -0
- package/.claude/skills/cfn-cerebras-coordinator/conversations/2025-12-10-ts-v5-test-1765393100.json +66 -0
- package/.claude/skills/cfn-cerebras-coordinator/example-usage.sh +206 -0
- package/.claude/skills/cfn-cerebras-coordinator/lib/tdd-conversation-coordinator.ts +569 -0
- package/.claude/skills/cfn-cerebras-coordinator/test-tdd-coordinator.sh +250 -0
- package/.claude/skills/cfn-compilation-error-fixer/SKILL.md +1 -1
- package/.claude/skills/cfn-compilation-error-fixer/lib/fixer/cerebras-gated-fixer-v2.ts +1 -1
- package/.claude/skills/cfn-config/SKILL.md +1 -1
- package/.claude/skills/cfn-dependency-management/SKILL.md +1 -1
- package/.claude/skills/cfn-deployment-lifecycle/SKILL.md +1 -1
- package/.claude/skills/cfn-edit-safety/SKILL.md +1 -1
- package/.claude/skills/cfn-epic-creator/SKILL.md +392 -0
- package/.claude/skills/cfn-epic-creator/estimate-costs.sh +524 -0
- package/.claude/skills/cfn-epic-creator/invoke.sh +445 -0
- package/.claude/skills/cfn-epic-creator/parse-personas.sh +533 -0
- package/.claude/skills/cfn-epic-creator/security-utils.sh +268 -0
- package/.claude/skills/cfn-epic-creator/security-verification-demo.sh +127 -0
- package/.claude/skills/cfn-epic-creator/test-invoke.sh +620 -0
- package/.claude/skills/cfn-epic-creator/test-security-fixes.sh +195 -0
- package/.claude/skills/cfn-epic-creator/test-security-simple.sh +165 -0
- package/.claude/skills/cfn-epic-creator/validate-epic.sh +474 -0
- package/.claude/skills/cfn-epic-parser/SKILL.md +8 -0
- package/.claude/skills/cfn-error-management/SKILL.md +1 -1
- package/.claude/skills/cfn-intervention-system/SKILL.md +1 -1
- package/.claude/skills/cfn-knowledge-base/SKILL.md +1 -1
- package/.claude/skills/cfn-local-ruvector-accelerator/.backups/unknown/1765358428_2cf0ad7377232c919ff0a65630cb307d/metadata.json +8 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/.backups/unknown/1765358428_2cf0ad7377232c919ff0a65630cb307d/original +209 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/.backups/unknown/1765358428_2cf0ad7377232c919ff0a65630cb307d/revert.sh +7 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/AGENT_INTEGRATION_PATTERNS.md +255 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/Cargo.toml +8 -1
- package/.claude/skills/cfn-local-ruvector-accelerator/Cargo.toml.backup +47 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/EXTRACTION_EXAMPLES.md +287 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/README.md +2 -563
- package/.claude/skills/cfn-local-ruvector-accelerator/SCHEMA_V2_IMPLEMENTATION.md +151 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/SECURITY_IMPLEMENTATION.md +185 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/SKILL.md +8 -343
- package/.claude/skills/cfn-local-ruvector-accelerator/docs/EXECUTIVE_SUMMARY.txt +90 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/docs/PHASE_4_QUERY_API.md +210 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/docs/RUST_AST_EXTRACTOR_IMPLEMENTATION.md +222 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/docs/TRANSACTION_MANAGEMENT.md +241 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/docs/VALIDATION_FINDINGS.txt +250 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/epic-ast-indexer.json +335 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/index-code.sh +292 -96
- package/.claude/skills/cfn-local-ruvector-accelerator/index-code.sh.backup +249 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/index_all.sh +65 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/find.rs +214 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/index.rs +275 -94
- package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/index_ast.rs +767 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/index_modified.rs +37 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/init.rs +17 -12
- package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/migration.rs +34 -1
- package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/mod.rs +6 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/query.rs +2 -2
- package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/refs.rs +209 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/embeddings.rs +82 -33
- package/.claude/skills/cfn-local-ruvector-accelerator/src/extractors/mod.rs +251 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/extractors/rust.rs +425 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/extractors/rust_placeholder.rs +420 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/extractors/text_fallback.rs +490 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/extractors/typescript.rs +520 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/extractors/typescript_full.rs +531 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/lib.rs +20 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/main.rs +33 -2
- package/.claude/skills/cfn-local-ruvector-accelerator/src/main.rs.backup +360 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/migration.rs +325 -318
- package/.claude/skills/cfn-local-ruvector-accelerator/src/migration_backup.rs +325 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/migration_tx.rs +513 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/paths.rs +29 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/query_api.rs +609 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/schema_v2.rs +603 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/search_engine.rs +150 -29
- package/.claude/skills/cfn-local-ruvector-accelerator/src/security_tests.rs +154 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/sqlite_store.rs +1 -1
- package/.claude/skills/cfn-local-ruvector-accelerator/src/store_v2.rs +583 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/store_v2_backup.rs +560 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/store_v2_fixed.rs +0 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/store_v2_tx.rs +397 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/test_schema.rs +228 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/src/transaction_tests.rs +410 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/test_ast_indexing.rs +59 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/test_query_api.sh +103 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/test_schema.sql +158 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/test_schema_v2.sql +147 -0
- package/.claude/skills/cfn-loop-orchestration-v2/SKILL.md +1 -1
- package/.claude/skills/cfn-loop-orchestration-v2/lib/decision/SKILL.md +8 -0
- package/.claude/skills/cfn-loop-orchestration-v2/lib/orchestrator/SKILL.md +1 -1
- package/.claude/skills/cfn-loop-orchestration-v2/lib/output/SKILL.md +8 -0
- package/.claude/skills/cfn-loop-orchestration-v2/lib/validation/SKILL.md +11 -2
- package/.claude/skills/cfn-mdap-context-injection/SKILL.md +31 -10
- package/.claude/skills/cfn-mdap-error-fixer/skill.md +15 -205
- package/.claude/skills/cfn-memory-persistence/lib/auto/SKILL.md +7 -0
- package/.claude/skills/cfn-memory-persistence/lib/management/SKILL.md +7 -0
- package/.claude/skills/cfn-parameterized-queries/SKILL.md +8 -0
- package/.claude/skills/cfn-planning/SKILL.md +1 -1
- package/.claude/skills/cfn-session-handoff/SKILL.md +1 -53
- package/.claude/skills/cfn-skill-management/SKILL.md +1 -1
- package/.claude/skills/cfn-task-decomposition/SKILL.md +1 -0
- package/.claude/skills/cfn-task-intelligence/SKILL.md +39 -18
- package/.claude/skills/cfn-task-planning/SKILL.md +37 -12
- package/.claude/skills/cfn-transparency-middleware/SKILL.md +1 -1
- package/.claude/skills/cfn-utilities/SKILL.md +1 -1
- package/.claude/skills/cfn-validation-framework/SKILL.md +3 -60
- package/.claude/skills/cfn-vision-analysis/SKILL.md +3 -20
- package/.claude-flow/metrics/performance.json +3 -3
- package/.claude-flow/metrics/task-metrics.json +3 -3
- package/.ruvector/index_v2.db-shm +0 -0
- package/.ruvector/index_v2.db-wal +0 -0
- package/CLAUDE.md +9 -1
- package/README.md +56 -0
- package/docs/AGENT_PRODUCTION_FEEDBACK_PATTERNS.md +389 -0
- package/docs/CEREBRAS_TDD_COORDINATOR_TEST_RESULTS.md +213 -0
- package/docs/CEREBRAS_TDD_ROUND1_VS_ROUND2_COMPARISON.md +225 -0
- package/docs/CEREBRAS_TDD_ROUND3_FINAL_RESULTS.md +264 -0
- package/docs/EPIC_CREATOR_V2_ARCHITECTURE.md +629 -0
- package/docs/HOOKS_IMPLEMENTATION_PRIORITY.md +585 -0
- package/docs/SKILLS_HOOKS_INTEGRATION.md +1074 -0
- package/epic-with-personas-2025-12-09-17-15-13.json +253 -0
- package/index/index.bin +0 -0
- package/index/metadata.json +1 -0
- package/package.json +2 -1
- package/test-epic-creator-security.sh +203 -0
- package/.claude/skills/cfn-compilation-error-fixer/HANDOFF.md +0 -29
- package/.claude/skills/cfn-local-ruvector-accelerator/__pycache__/search_engine_v2.cpython-312.pyc +0 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/search_engine.py +0 -200
- package/.ruvector/index.db-journal +0 -0
- package/jest.config.ts.cjs +0 -17
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-cerebras-code-generator/SKILL.md +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-cerebras-code-generator/context-analyzer.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-cerebras-code-generator/generate-code.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/execute.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/INTEGRATION.md +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/SAMPLE_OUTPUTS.md +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/SKILL.md +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/capture-container-logs.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/enable-logging.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/init-hybrid-logging.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/queries/analytics-summary.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/queries/query-agent-timeline.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/queries/query-consensus-history.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/queries/query-coordination-timeline.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/queries/query-failed-containers.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/queries/query-gate-checks.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/schema.sql +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/sqlite-helpers.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/logging/test-hybrid-logging.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/mcp/SKILL.md +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/mcp/skill-mcp-selector.js +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/orchestration/SKILL.md +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/orchestration/orchestrate.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/spawning/SKILL.md +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/spawning/spawn-agent.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/waves/SKILL.md +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/waves/cleanup-wave.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/waves/lib/docker-helpers.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/waves/monitor-wave.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-docker-runtime/lib/waves/spawn-wave.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-node-heap-sizer/SKILL.md +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/cfn-node-heap-sizer/task-mode-heap-limiter.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/deprecated/analyze-patterns.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/equation-solver/README.md +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/equation-solver/SECURITY.md +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/equation-solver/SKILL.md +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/equation-solver/package.json +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/equation-solver/solve.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/equation-solver/test-equation-solver-minimal.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/equation-solver/test-equation-solver.sh +0 -0
- /package/.claude/{skills → cfn-extras/skills/deprecated}/equation-solver/test.cjs +0 -0
- /package/.claude/hooks/{cfn-credential-scanner.sh → deprecated/cfn-credential-scanner.sh} +0 -0
- /package/.claude/hooks/{cfn-detect-hardcoded-credentials.sh → deprecated/cfn-detect-hardcoded-credentials.sh} +0 -0
- /package/.claude/hooks/{cfn-invoke-post-edit-ts.sh → deprecated/cfn-invoke-post-edit-ts.sh} +0 -0
- /package/.claude/hooks/{cfn-invoke-pre-edit-ts.sh → deprecated/cfn-invoke-pre-edit-ts.sh} +0 -0
- /package/.claude/hooks/{cfn-invoke-security-validation.sh → deprecated/cfn-invoke-security-validation.sh} +0 -0
- /package/.claude/hooks/{cfn-lint-sql-injection.sh → deprecated/cfn-lint-sql-injection.sh} +0 -0
- /package/.claude/hooks/{cfn-post-edit.sh → deprecated/cfn-post-edit.sh} +0 -0
- /package/.claude/hooks/{cfn-pre-edit-backup.sh → deprecated/cfn-pre-edit-backup.sh} +0 -0
- /package/.claude/skills/cfn-local-ruvector-accelerator/{embeddings_manager.py → embeddings_manager.py.backup} +0 -0
- /package/{.ruvector → .claude/skills/cfn-local-ruvector-accelerator/index}/index.bin +0 -0
- /package/{.ruvector → .claude/skills/cfn-local-ruvector-accelerator/index}/metadata.json +0 -0
- /package/.claude/skills/cfn-local-ruvector-accelerator/{search_engine_v2.py → search_engine_v2.py.backup} +0 -0
- /package/.claude/skills/cfn-local-ruvector-accelerator/{sqlite_store.py → sqlite_store.py.backup} +0 -0
package/.claude/settings.json
CHANGED
|
@@ -54,7 +54,38 @@
|
|
|
54
54
|
"hooks": [
|
|
55
55
|
{
|
|
56
56
|
"type": "command",
|
|
57
|
-
"command": "bash -c 'FILE=$(cat | jq -r \".tool_input.file_path // .tool_input.path // empty\"); if echo \"$FILE\" | grep -qE \"
|
|
57
|
+
"command": "bash -c 'FILE=$(cat | jq -r \".tool_input.file_path // .tool_input.path // empty\"); [ -z \"$FILE\" ] && exit 0; if echo \"$FILE\" | grep -qE \"^\\.env$|\\.env\\.|^credentials\\.json$|^secrets\\.(json|yaml|yml)$|\\.pem$|\\.key$|/\\.aws/|id_rsa\"; then echo \"BLOCKED: Cannot edit sensitive file: $FILE. Use environment variables or secrets manager.\" >&2; exit 2; fi; exit 0'",
|
|
58
|
+
"timeout": 5
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"matcher": "Write",
|
|
64
|
+
"hooks": [
|
|
65
|
+
{
|
|
66
|
+
"type": "command",
|
|
67
|
+
"command": "bash -c 'INPUT=$(cat); FILE=$(echo \"$INPUT\" | jq -r \".tool_input.file_path // .tool_input.path // empty\"); CONTENT=$(echo \"$INPUT\" | jq -r \".tool_input.content // empty\"); [ -z \"$FILE\" ] && exit 0; if echo \"$FILE\" | grep -qE \"\\.json$\"; then if ! echo \"$CONTENT\" | jq . >/dev/null 2>&1; then echo \"BLOCKED: Invalid JSON syntax in $FILE. Please fix JSON before writing.\" >&2; exit 2; fi; fi; exit 0'",
|
|
68
|
+
"timeout": 5
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"matcher": "Write|Edit|MultiEdit",
|
|
74
|
+
"hooks": [
|
|
75
|
+
{
|
|
76
|
+
"type": "command",
|
|
77
|
+
"command": "bash -c 'INPUT=$(cat); FILE=$(echo \"$INPUT\" | jq -r \".tool_input.file_path // .tool_input.path // empty\"); [ -z \"$FILE\" ] && exit 0; if echo \"$FILE\" | grep -qE \"package\\.json$|package-lock\\.json$|node_modules/|\\.git/|dist/|build/|\\.db$\"; then exit 0; fi; if [ -f \"$FILE\" ]; then \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/cfn-invoke-pre-edit.sh\" \"$FILE\" --agent-id \"${AGENT_ID:-hook}\" >/dev/null 2>&1 || true; fi; exit 0'",
|
|
78
|
+
"timeout": 30
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"matcher": "mcp__cerebras-mcp__write",
|
|
84
|
+
"hooks": [
|
|
85
|
+
{
|
|
86
|
+
"type": "command",
|
|
87
|
+
"command": "bash -c 'INPUT=$(cat); FILE_PATH=$(echo \"$INPUT\" | jq -r \".tool_input.file_path // empty\"); PROMPT=$(echo \"$INPUT\" | jq -r \".tool_input.prompt // empty\" | head -c 300); [ -z \"$FILE_PATH\" ] || [ -z \"$PROMPT\" ] && exit 0; FILE_EXT=\"${FILE_PATH##*.}\"; PATTERNS=\"\"; if [ -f \"./.claude/skills/cfn-local-ruvector-accelerator/query-local.sh\" ]; then PATTERNS=$(./.claude/skills/cfn-local-ruvector-accelerator/query-local.sh --pattern \"$FILE_EXT ${PROMPT:0:100}\" --limit 2 2>/dev/null || echo \"\"); fi; if [ -n \"$PATTERNS\" ]; then echo \"{\\\"additionalContext\\\":\\\"RuVector found similar successful patterns: $PATTERNS\\\"}\"; fi; exit 0'",
|
|
88
|
+
"timeout": 8
|
|
58
89
|
}
|
|
59
90
|
]
|
|
60
91
|
}
|
|
@@ -65,7 +96,17 @@
|
|
|
65
96
|
"hooks": [
|
|
66
97
|
{
|
|
67
98
|
"type": "command",
|
|
68
|
-
"command": "bash -c 'echo \"[Hook] Command completed\" >&2; exit 0'"
|
|
99
|
+
"command": "bash -c 'INPUT=$(cat); EXIT_CODE=$(echo \"$INPUT\" | jq -r \".tool_result.exit_code // 0\"); STDERR=$(echo \"$INPUT\" | jq -r \".tool_result.stderr // empty\"); if [ \"$EXIT_CODE\" != \"0\" ] && [ -n \"$STDERR\" ]; then if [ -f \"./.claude/skills/cfn-error-management/cli/capture-error.sh\" ]; then ./.claude/skills/cfn-error-management/cli/capture-error.sh --error-type BASH_EXECUTION --message \"${STDERR:0:500}\" --context \"bash-tool\" --agent-id \"${AGENT_ID:-hook}\" 2>&1 || true; fi; fi; echo \"[Hook] Command completed (exit: $EXIT_CODE)\" >&2; exit 0'"
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"matcher": "mcp__cerebras-mcp__write",
|
|
105
|
+
"hooks": [
|
|
106
|
+
{
|
|
107
|
+
"type": "command",
|
|
108
|
+
"command": "bash -c 'INPUT=$(cat); FILE_PATH=$(echo \"$INPUT\" | jq -r \".tool_input.file_path // empty\"); PROMPT=$(echo \"$INPUT\" | jq -r \".tool_input.prompt // empty\" | head -c 500); RESULT=$(echo \"$INPUT\" | jq -r \".tool_result // empty\" | head -c 200); [ -z \"$FILE_PATH\" ] && exit 0; if echo \"$RESULT\" | grep -qiE \"success|written|created|generated\"; then if [ -f \"./.claude/skills/cfn-local-ruvector-accelerator/index-code.sh\" ]; then echo \"[Cerebras-Hook] Indexing successful generation: $FILE_PATH\" >&2; ./.claude/skills/cfn-local-ruvector-accelerator/index-code.sh --path \"$FILE_PATH\" --source cerebras --metadata \"{\\\"prompt\\\":\\\"${PROMPT:0:200}\\\",\\\"success\\\":true}\" 2>&1 || true; fi; fi; exit 0'",
|
|
109
|
+
"timeout": 10
|
|
69
110
|
}
|
|
70
111
|
]
|
|
71
112
|
},
|
|
@@ -74,7 +115,8 @@
|
|
|
74
115
|
"hooks": [
|
|
75
116
|
{
|
|
76
117
|
"type": "command",
|
|
77
|
-
"command": "bash -c '
|
|
118
|
+
"command": "bash -c 'INPUT=$(cat); FILE=$(echo \"$INPUT\" | jq -r \".tool_input.file_path // .tool_input.path // empty\"); [ -z \"$FILE\" ] || [ ! -f \"$FILE\" ] && exit 0; if echo \"$FILE\" | grep -qE \"package\\.json$|package-lock\\.json$|node_modules/|\\.git/|dist/|build/\"; then exit 0; fi; cd \"${CLAUDE_PROJECT_DIR:-.}\"; node config/hooks/post-edit-pipeline.js \"$FILE\" --agent-id \"${AGENT_ID:-hook}\" 2>&1 | tail -20 || true; exit 0'",
|
|
119
|
+
"timeout": 45
|
|
78
120
|
}
|
|
79
121
|
]
|
|
80
122
|
}
|
|
@@ -85,7 +127,7 @@
|
|
|
85
127
|
"hooks": [
|
|
86
128
|
{
|
|
87
129
|
"type": "command",
|
|
88
|
-
"command": "/bin/bash
|
|
130
|
+
"command": "/bin/bash .claude/hooks/cfn-precompact-enhanced.sh"
|
|
89
131
|
}
|
|
90
132
|
]
|
|
91
133
|
},
|
|
@@ -94,7 +136,18 @@
|
|
|
94
136
|
"hooks": [
|
|
95
137
|
{
|
|
96
138
|
"type": "command",
|
|
97
|
-
"command": "/bin/bash
|
|
139
|
+
"command": "/bin/bash .claude/hooks/cfn-precompact-enhanced.sh"
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"SessionStart": [
|
|
145
|
+
{
|
|
146
|
+
"hooks": [
|
|
147
|
+
{
|
|
148
|
+
"type": "command",
|
|
149
|
+
"command": "bash -c 'echo \"[SessionStart] Initializing session context...\" >&2; if [ -f \"./.claude/hooks/cfn-load-cerebras-env.sh\" ]; then RESULT=$(./.claude/hooks/cfn-load-cerebras-env.sh 2>&1); if echo \"$RESULT\" | jq . >/dev/null 2>&1; then echo \"$RESULT\"; else echo \"$RESULT\" >&2; fi; fi; if [ -f \"./.claude/skills/cfn-memory-persistence/lib/auto/auto-load-session-context.sh\" ]; then ./.claude/skills/cfn-memory-persistence/lib/auto/auto-load-session-context.sh --session-id \"${SESSION_ID:-$(date +%s)}\" 2>&1 || true; fi; if [ -f \"./.claude/skills/cfn-transparency-middleware/invoke-transparency-init.sh\" ]; then ./.claude/skills/cfn-transparency-middleware/invoke-transparency-init.sh --task-id \"${SESSION_ID:-session}\" --level standard 2>&1 || true; fi; echo \"[SessionStart] Context loaded\" >&2; exit 0'",
|
|
150
|
+
"timeout": 15
|
|
98
151
|
}
|
|
99
152
|
]
|
|
100
153
|
}
|
|
@@ -104,7 +157,19 @@
|
|
|
104
157
|
"hooks": [
|
|
105
158
|
{
|
|
106
159
|
"type": "command",
|
|
107
|
-
"command": "bash -c 'echo \"[
|
|
160
|
+
"command": "bash -c 'echo \"[SessionEnd] Persisting session state...\" >&2; if [ -f \"./.claude/skills/cfn-memory-persistence/lib/auto/save-session-context.sh\" ]; then ./.claude/skills/cfn-memory-persistence/lib/auto/save-session-context.sh --session-id \"${SESSION_ID:-$(date +%s)}\" 2>&1 || true; fi; if [ -f \"./.claude/skills/cfn-knowledge-base/cli/knowledge-base.sh\" ]; then ./.claude/skills/cfn-knowledge-base/cli/knowledge-base.sh store-learning --type session-end --category completed --confidence 0.85 2>&1 || true; fi; echo \"[SessionEnd] Session ended\" >&2; exit 0'",
|
|
161
|
+
"timeout": 15
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"SubagentStop": [
|
|
167
|
+
{
|
|
168
|
+
"hooks": [
|
|
169
|
+
{
|
|
170
|
+
"type": "command",
|
|
171
|
+
"command": "bash -c 'INPUT=$(cat); TRANSCRIPT=$(echo \"$INPUT\" | jq -r \".transcript_path // empty\"); AGENT_ID=$(echo \"$INPUT\" | jq -r \".agent_id // empty\"); if [ -f \"./.claude/skills/cfn-agent-lifecycle/cli/lifecycle-hook.sh\" ] && [ -n \"$AGENT_ID\" ]; then ./.claude/skills/cfn-agent-lifecycle/cli/lifecycle-hook.sh complete --agent-id \"$AGENT_ID\" --status completed --confidence 0.92 2>&1 || true; fi; [ -z \"$TRANSCRIPT\" ] || [ ! -f \"$TRANSCRIPT\" ] && exit 0; LINES=$(wc -l < \"$TRANSCRIPT\" 2>/dev/null || echo 0); if [ \"$LINES\" -lt 5 ]; then if ! grep -qiE \"complete|finished|done|summary|deliverable|implemented|created|fixed\" \"$TRANSCRIPT\" 2>/dev/null; then echo \"{\\\"decision\\\":\\\"block\\\",\\\"reason\\\":\\\"Output appears incomplete ($LINES lines, no completion signals). Please provide a summary of work done and deliverables.\\\"}\"; fi; fi; exit 0'",
|
|
172
|
+
"timeout": 15
|
|
108
173
|
}
|
|
109
174
|
]
|
|
110
175
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cfn-agent-lifecycle
|
|
3
|
-
description: Unified agent management from selection through completion - spawning, execution, output processing
|
|
3
|
+
description: "Unified agent management from selection through completion - spawning, execution, output processing. Use when selecting agents for tasks, spawning agents with dependency validation, processing agent outputs, or tracking agent lifecycle events with audit trails."
|
|
4
4
|
version: 2.0.0
|
|
5
5
|
tags: [mega-skill, agent-management, lifecycle, spawning]
|
|
6
6
|
status: production
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cfn-agent-tooling
|
|
3
|
-
description: Agent development tools - generation and validation
|
|
3
|
+
description: "Agent development tools - generation and validation. Use when creating new agent templates from scaffolding, or validating and linting existing agent profiles for correctness and completeness."
|
|
4
4
|
version: 1.0.0
|
|
5
5
|
tags: [mega-skill, agents, templates, validation, development]
|
|
6
6
|
status: production
|
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
# TDD Conversation Coordinator - Quick Start
|
|
2
|
+
|
|
3
|
+
Get started with iterative TDD in under 5 minutes.
|
|
4
|
+
|
|
5
|
+
## Prerequisites
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# 1. Check dependencies
|
|
9
|
+
which curl jq || sudo apt install curl jq
|
|
10
|
+
|
|
11
|
+
# 2. Set API key
|
|
12
|
+
export ZAI_API_KEY="your-cerebras-api-key"
|
|
13
|
+
|
|
14
|
+
# 3. Verify coordinator exists
|
|
15
|
+
ls -lh ./.claude/skills/cfn-cerebras-coordinator/tdd-conversation-coordinator.sh
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Your First TDD Cycle (2 minutes)
|
|
19
|
+
|
|
20
|
+
### Example 1: Simple Validator
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# Navigate to project root
|
|
24
|
+
cd /path/to/project
|
|
25
|
+
|
|
26
|
+
# Run TDD coordinator
|
|
27
|
+
./.claude/skills/cfn-cerebras-coordinator/tdd-conversation-coordinator.sh \
|
|
28
|
+
--agent-id my-first-tdd \
|
|
29
|
+
--feature "Email validator that accepts RFC-compliant addresses" \
|
|
30
|
+
--file ./src/validators/email-validator.ts \
|
|
31
|
+
--test-command "npm test email-validator.test.ts" \
|
|
32
|
+
--max-iterations 3 \
|
|
33
|
+
--verbose
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
**What happens**:
|
|
37
|
+
1. Generates comprehensive tests (RED phase)
|
|
38
|
+
2. Verifies tests fail (no implementation yet)
|
|
39
|
+
3. Generates implementation (GREEN phase)
|
|
40
|
+
4. Runs tests - if fail, enters fix loop
|
|
41
|
+
5. Saves conversation to `conversations/` directory
|
|
42
|
+
6. Indexes pattern to RuVector
|
|
43
|
+
|
|
44
|
+
**Expected output**:
|
|
45
|
+
```
|
|
46
|
+
================================================
|
|
47
|
+
TDD Conversation Coordinator
|
|
48
|
+
================================================
|
|
49
|
+
Feature: Email validator that accepts RFC-compliant addresses
|
|
50
|
+
Target File: ./src/validators/email-validator.ts
|
|
51
|
+
Agent ID: my-first-tdd
|
|
52
|
+
Max Iterations: 3
|
|
53
|
+
================================================
|
|
54
|
+
|
|
55
|
+
[2025-12-10 10:30:05] Phase 1: Gathering context
|
|
56
|
+
[2025-12-10 10:30:07] Phase 2 (RED): Generating failing tests
|
|
57
|
+
[2025-12-10 10:30:15] Tests written to: ./src/validators/email-validator.test.ts
|
|
58
|
+
[2025-12-10 10:30:16] Phase 3 (RED): Verifying tests fail as expected
|
|
59
|
+
[2025-12-10 10:30:17] Tests failed as expected - Red Phase validated
|
|
60
|
+
[2025-12-10 10:30:18] Phase 4 (GREEN): Generating implementation
|
|
61
|
+
[2025-12-10 10:30:28] Implementation written to: ./src/validators/email-validator.ts
|
|
62
|
+
|
|
63
|
+
--- Iteration 1/3 ---
|
|
64
|
+
[2025-12-10 10:30:30] Phase 5 (GREEN): Running tests to verify implementation
|
|
65
|
+
[2025-12-10 10:30:32] All tests pass - Green Phase complete
|
|
66
|
+
|
|
67
|
+
================================================
|
|
68
|
+
SUCCESS! All tests pass.
|
|
69
|
+
================================================
|
|
70
|
+
|
|
71
|
+
Summary:
|
|
72
|
+
Feature: Email validator that accepts RFC-compliant addresses
|
|
73
|
+
Implementation: ./src/validators/email-validator.ts
|
|
74
|
+
Tests: ./src/validators/email-validator.test.ts
|
|
75
|
+
Iterations: 1
|
|
76
|
+
Conversation: Saved for learning
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Check Your Results
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
# View generated test file
|
|
83
|
+
cat ./src/validators/email-validator.test.ts
|
|
84
|
+
|
|
85
|
+
# View generated implementation
|
|
86
|
+
cat ./src/validators/email-validator.ts
|
|
87
|
+
|
|
88
|
+
# Run tests manually
|
|
89
|
+
npm test email-validator.test.ts
|
|
90
|
+
|
|
91
|
+
# Review conversation history
|
|
92
|
+
cat ./.claude/skills/cfn-cerebras-coordinator/conversations/*.json | jq .
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## Common Use Cases
|
|
96
|
+
|
|
97
|
+
### Use Case 1: Validator Function
|
|
98
|
+
```bash
|
|
99
|
+
./.claude/skills/cfn-cerebras-coordinator/tdd-conversation-coordinator.sh \
|
|
100
|
+
--agent-id validator-001 \
|
|
101
|
+
--feature "URL validator with protocol, domain, and path checking" \
|
|
102
|
+
--file ./src/validators/url.ts \
|
|
103
|
+
--test-command "npm test url.test.ts" \
|
|
104
|
+
--max-iterations 3
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Use Case 2: Data Transformer
|
|
108
|
+
```bash
|
|
109
|
+
./.claude/skills/cfn-cerebras-coordinator/tdd-conversation-coordinator.sh \
|
|
110
|
+
--agent-id transformer-001 \
|
|
111
|
+
--feature "JSON to CSV transformer with nested object flattening" \
|
|
112
|
+
--file ./src/transformers/json-to-csv.ts \
|
|
113
|
+
--test-command "npm test json-to-csv.test.ts" \
|
|
114
|
+
--context "./src/types.ts" \
|
|
115
|
+
--max-iterations 5
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### Use Case 3: API Handler
|
|
119
|
+
```bash
|
|
120
|
+
./.claude/skills/cfn-cerebras-coordinator/tdd-conversation-coordinator.sh \
|
|
121
|
+
--agent-id api-001 \
|
|
122
|
+
--feature "REST API handler for user registration with validation" \
|
|
123
|
+
--file ./src/handlers/register.ts \
|
|
124
|
+
--test-command "npm test register.test.ts" \
|
|
125
|
+
--context "./src/types.ts,./src/middleware/validation.ts" \
|
|
126
|
+
--max-iterations 5 \
|
|
127
|
+
--verbose
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
## Interactive Mode
|
|
131
|
+
|
|
132
|
+
Run example wizard for guided setup:
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
./.claude/skills/cfn-cerebras-coordinator/example-usage.sh
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
**Menu options**:
|
|
139
|
+
1. Simple TypeScript function
|
|
140
|
+
2. Python data validator
|
|
141
|
+
3. Go HTTP middleware
|
|
142
|
+
4. Complex authentication flow
|
|
143
|
+
5. Custom example (interactive prompts)
|
|
144
|
+
|
|
145
|
+
## Understanding Iterations
|
|
146
|
+
|
|
147
|
+
### Iteration 1: Initial Implementation
|
|
148
|
+
- Cerebras generates code from feature description
|
|
149
|
+
- Usually handles happy path
|
|
150
|
+
- May miss edge cases
|
|
151
|
+
|
|
152
|
+
### Iteration 2: Error Recovery
|
|
153
|
+
- Tests fail with specific error
|
|
154
|
+
- Cerebras reviews full conversation history
|
|
155
|
+
- Analyzes what went wrong
|
|
156
|
+
- Generates fix addressing specific failure
|
|
157
|
+
|
|
158
|
+
### Iteration 3+: Refinement
|
|
159
|
+
- Handles remaining edge cases
|
|
160
|
+
- Fixes subtle bugs
|
|
161
|
+
- Improves error handling
|
|
162
|
+
- Each iteration has full context of previous attempts
|
|
163
|
+
|
|
164
|
+
## Troubleshooting
|
|
165
|
+
|
|
166
|
+
### Problem: Tests don't fail in Red phase
|
|
167
|
+
**Solution**: Remove existing implementation file first
|
|
168
|
+
```bash
|
|
169
|
+
rm ./src/validators/email-validator.ts
|
|
170
|
+
# Then run coordinator
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
### Problem: API error (HTTP 401)
|
|
174
|
+
**Solution**: Check API key
|
|
175
|
+
```bash
|
|
176
|
+
echo $ZAI_API_KEY # Should show your key
|
|
177
|
+
export ZAI_API_KEY="your-key-here"
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### Problem: Tests still failing after max iterations
|
|
181
|
+
**Solution 1**: Increase iterations
|
|
182
|
+
```bash
|
|
183
|
+
--max-iterations 7
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
**Solution 2**: Add more context
|
|
187
|
+
```bash
|
|
188
|
+
--context "./src/types.ts,./src/utils/*.ts"
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
**Solution 3**: Simplify feature scope
|
|
192
|
+
```bash
|
|
193
|
+
# Instead of: "Complete authentication system"
|
|
194
|
+
# Try: "Password hash comparison function"
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### Problem: Test command not found
|
|
198
|
+
**Solution**: Install test framework
|
|
199
|
+
```bash
|
|
200
|
+
# For npm/jest
|
|
201
|
+
npm install --save-dev jest @types/jest
|
|
202
|
+
|
|
203
|
+
# For Python/pytest
|
|
204
|
+
pip install pytest
|
|
205
|
+
|
|
206
|
+
# For Go
|
|
207
|
+
# Built-in, no install needed
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
## Next Steps
|
|
211
|
+
|
|
212
|
+
### 1. Review Documentation
|
|
213
|
+
```bash
|
|
214
|
+
# Complete usage guide
|
|
215
|
+
cat ./.claude/skills/cfn-cerebras-coordinator/README.md
|
|
216
|
+
|
|
217
|
+
# Coordinator comparison
|
|
218
|
+
cat ./.claude/skills/cfn-cerebras-coordinator/TDD_COORDINATOR_OVERVIEW.md
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### 2. Run Test Suite
|
|
222
|
+
```bash
|
|
223
|
+
./.claude/skills/cfn-cerebras-coordinator/test-tdd-coordinator.sh
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### 3. Learn from Conversations
|
|
227
|
+
```bash
|
|
228
|
+
# Find successful patterns
|
|
229
|
+
find ./.claude/skills/cfn-cerebras-coordinator/conversations/ \
|
|
230
|
+
-name "*.json" \
|
|
231
|
+
-exec jq '.metadata | {feature, iterations}' {} \;
|
|
232
|
+
|
|
233
|
+
# Review a specific conversation
|
|
234
|
+
jq . conversations/20251210-*.json
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### 4. Integrate with CFN Agents
|
|
238
|
+
```javascript
|
|
239
|
+
// From an agent
|
|
240
|
+
Task("backend-dev", `
|
|
241
|
+
Implement feature using TDD coordinator:
|
|
242
|
+
|
|
243
|
+
./.claude/skills/cfn-cerebras-coordinator/tdd-conversation-coordinator.sh \\
|
|
244
|
+
--agent-id backend-tdd-001 \\
|
|
245
|
+
--feature "Rate limiter with token bucket algorithm" \\
|
|
246
|
+
--file ./src/middleware/rate-limiter.ts \\
|
|
247
|
+
--test-command "npm test rate-limiter.test.ts" \\
|
|
248
|
+
--context "./src/types.ts" \\
|
|
249
|
+
--max-iterations 5
|
|
250
|
+
|
|
251
|
+
Report results and confidence.
|
|
252
|
+
`)
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
## Cost Estimation
|
|
256
|
+
|
|
257
|
+
| Complexity | Iterations | Duration | Cost |
|
|
258
|
+
|------------|-----------|----------|------|
|
|
259
|
+
| Simple validator | 1-2 | 30-60s | $0.02-0.05 |
|
|
260
|
+
| Medium algorithm | 2-3 | 60-120s | $0.05-0.10 |
|
|
261
|
+
| Complex feature | 3-5 | 120-300s | $0.10-0.25 |
|
|
262
|
+
|
|
263
|
+
**Cost factors**:
|
|
264
|
+
- Context file size
|
|
265
|
+
- Feature complexity
|
|
266
|
+
- Number of iterations
|
|
267
|
+
- Test suite size
|
|
268
|
+
|
|
269
|
+
## Best Practices
|
|
270
|
+
|
|
271
|
+
### 1. Write Clear Feature Descriptions
|
|
272
|
+
```bash
|
|
273
|
+
# Good - specific and testable
|
|
274
|
+
--feature "JWT validator that verifies signature, checks expiration, validates issuer"
|
|
275
|
+
|
|
276
|
+
# Less helpful - too vague
|
|
277
|
+
--feature "JWT stuff"
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
### 2. Provide Relevant Context
|
|
281
|
+
```bash
|
|
282
|
+
# Good - includes types and related utilities
|
|
283
|
+
--context "./src/types.ts,./src/utils/crypto.ts"
|
|
284
|
+
|
|
285
|
+
# Less helpful - too much unrelated code
|
|
286
|
+
--context "./src/**/*.ts"
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
### 3. Start with Lower Iterations
|
|
290
|
+
```bash
|
|
291
|
+
# Try 3 iterations first
|
|
292
|
+
--max-iterations 3
|
|
293
|
+
|
|
294
|
+
# Increase only if needed
|
|
295
|
+
--max-iterations 5
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
### 4. Use Verbose Mode for Learning
|
|
299
|
+
```bash
|
|
300
|
+
# See detailed logs
|
|
301
|
+
--verbose
|
|
302
|
+
|
|
303
|
+
# Understand what's happening at each phase
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
### 5. Save Successful Patterns
|
|
307
|
+
```bash
|
|
308
|
+
# Conversations automatically saved to:
|
|
309
|
+
./.claude/skills/cfn-cerebras-coordinator/conversations/
|
|
310
|
+
|
|
311
|
+
# Review and learn from them
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
## Getting Help
|
|
315
|
+
|
|
316
|
+
1. **Check README**: `cat README.md`
|
|
317
|
+
2. **Run tests**: `./test-tdd-coordinator.sh`
|
|
318
|
+
3. **Enable verbose**: `--verbose` flag
|
|
319
|
+
4. **Review conversations**: `cat conversations/*.json | jq .`
|
|
320
|
+
5. **Simplify feature**: Break into smaller pieces
|
|
321
|
+
|
|
322
|
+
## Summary
|
|
323
|
+
|
|
324
|
+
**You've learned**:
|
|
325
|
+
- How to run a TDD cycle with conversation memory
|
|
326
|
+
- How iterations and error recovery work
|
|
327
|
+
- Common use cases and examples
|
|
328
|
+
- Troubleshooting techniques
|
|
329
|
+
- Cost estimation
|
|
330
|
+
|
|
331
|
+
**Next actions**:
|
|
332
|
+
1. Try a simple feature first
|
|
333
|
+
2. Review generated code and tests
|
|
334
|
+
3. Experiment with context files
|
|
335
|
+
4. Monitor conversation logs
|
|
336
|
+
5. Integrate into your workflow
|
|
337
|
+
|
|
338
|
+
**Key command**:
|
|
339
|
+
```bash
|
|
340
|
+
./.claude/skills/cfn-cerebras-coordinator/tdd-conversation-coordinator.sh \
|
|
341
|
+
--agent-id YOUR_ID \
|
|
342
|
+
--feature "YOUR_FEATURE" \
|
|
343
|
+
--file YOUR_FILE \
|
|
344
|
+
--test-command "YOUR_TEST_CMD" \
|
|
345
|
+
--max-iterations 3
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
Happy TDD! 🧪
|