claude-flow-novice 2.18.15 → 2.18.17
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/agents/cfn-dev-team/analysts/analyst.md +9 -0
- package/.claude/agents/cfn-dev-team/analysts/root-cause-analyst.md +9 -0
- package/.claude/agents/cfn-dev-team/architecture/api-designer-persona.md +10 -1
- package/.claude/agents/cfn-dev-team/architecture/base-template-generator.md +9 -0
- package/.claude/agents/cfn-dev-team/architecture/goal-planner.md +10 -1
- package/.claude/agents/cfn-dev-team/architecture/planner.md +9 -0
- package/.claude/agents/cfn-dev-team/architecture/system-architect.md +9 -0
- package/.claude/agents/cfn-dev-team/coordinators/cfn-frontend-coordinator.md +9 -0
- package/.claude/agents/cfn-dev-team/coordinators/consensus-builder.md +10 -1
- package/.claude/agents/cfn-dev-team/coordinators/handoff-coordinator.md +9 -0
- package/.claude/agents/cfn-dev-team/coordinators/multi-sprint-coordinator.md +9 -0
- package/.claude/agents/cfn-dev-team/dev-ops/devops-engineer.md +9 -0
- package/.claude/agents/cfn-dev-team/dev-ops/docker-specialist.md +9 -0
- package/.claude/agents/cfn-dev-team/dev-ops/github-commit-agent.md +9 -0
- package/.claude/agents/cfn-dev-team/dev-ops/kubernetes-specialist.md +9 -0
- package/.claude/agents/cfn-dev-team/developers/api-gateway-specialist.md +9 -0
- package/.claude/agents/cfn-dev-team/developers/data/data-engineer.md +9 -0
- package/.claude/agents/cfn-dev-team/developers/database/database-architect.md +9 -0
- package/.claude/agents/cfn-dev-team/developers/database/supabase-specialist.md +9 -0
- package/.claude/agents/cfn-dev-team/developers/frontend/mobile-dev.md +10 -1
- package/.claude/agents/cfn-dev-team/developers/frontend/typescript-specialist.md +10 -1
- package/.claude/agents/cfn-dev-team/developers/frontend/ui-designer.md +10 -1
- package/.claude/agents/cfn-dev-team/developers/graphql-specialist.md +9 -0
- package/.claude/agents/cfn-dev-team/developers/rust-developer.md +10 -1
- package/.claude/agents/cfn-dev-team/documentation/agent-type-guidelines.md +9 -0
- package/.claude/agents/cfn-dev-team/documentation/api-documentation.md +10 -1
- package/.claude/agents/cfn-dev-team/documentation/pseudocode.md +10 -1
- package/.claude/agents/cfn-dev-team/documentation/specification-agent.md +10 -1
- package/.claude/agents/cfn-dev-team/product-owners/accessibility-advocate-persona.md +10 -1
- package/.claude/agents/cfn-dev-team/product-owners/cto-agent.md +9 -0
- package/.claude/agents/cfn-dev-team/product-owners/power-user-persona.md +10 -1
- package/.claude/agents/cfn-dev-team/product-owners/product-owner.md +9 -0
- package/.claude/agents/cfn-dev-team/reviewers/quality/code-quality-validator.md +9 -0
- package/.claude/agents/cfn-dev-team/reviewers/quality/cyclomatic-complexity-reducer.md +9 -0
- package/.claude/agents/cfn-dev-team/reviewers/quality/perf-analyzer.md +9 -0
- package/.claude/agents/cfn-dev-team/reviewers/quality/performance-benchmarker.md +10 -1
- package/.claude/agents/cfn-dev-team/reviewers/quality/quality-metrics.md +9 -0
- package/.claude/agents/cfn-dev-team/testers/api-testing-specialist.md +9 -0
- package/.claude/agents/cfn-dev-team/testers/chaos-engineering-specialist.md +9 -0
- package/.claude/agents/cfn-dev-team/testers/contract-tester.md +9 -0
- package/.claude/agents/cfn-dev-team/testers/e2e/playwright-tester.md +9 -0
- package/.claude/agents/cfn-dev-team/testers/integration-tester.md +9 -0
- package/.claude/agents/cfn-dev-team/testers/interaction-tester.md +9 -0
- package/.claude/agents/cfn-dev-team/testers/load-testing-specialist.md +9 -0
- package/.claude/agents/cfn-dev-team/testers/mutation-testing-specialist.md +9 -0
- package/.claude/agents/cfn-dev-team/testers/playwright-tester.md +10 -1
- package/.claude/agents/cfn-dev-team/testers/unit/tdd-london-unit-swarm.md +10 -1
- package/.claude/agents/cfn-dev-team/testers/validation/validation-production-validator.md +10 -1
- package/.claude/agents/cfn-dev-team/testing/test-validation-agent.md +9 -0
- package/.claude/agents/cfn-dev-team/utility/agent-builder.md +10 -1
- package/.claude/agents/cfn-dev-team/utility/context-curator.md +9 -0
- package/.claude/agents/cfn-dev-team/utility/memory-leak-specialist.md +9 -0
- package/.claude/agents/cfn-dev-team/utility/researcher.md +9 -0
- package/.claude/agents/cfn-dev-team/utility/z-ai-specialist.md +9 -0
- package/.claude/hooks/SessionStart-cfn-build-ruvector.sh +12 -0
- package/.claude/hooks/SessionStart:cfn-build-ruvector.sh +28 -0
- package/.claude/skills/bulk-add-ruvector-instructions.sh +34 -46
- package/.claude/skills/cfn-local-ruvector-accelerator/.claude/hooks/SessionStart-cfn-build-ruvector.sh +12 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/SKILL.md +89 -6
- package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/index.rs +250 -30
- package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/index_ast.rs +4 -1
- package/.claude/skills/cfn-local-ruvector-accelerator/src/cli/stats.rs +18 -18
- package/.claude/skills/cfn-local-ruvector-accelerator/src/extractors/mod.rs +1 -1
- package/.claude/skills/cfn-local-ruvector-accelerator/src/migration_v2.rs +7 -7
- package/.claude/skills/cfn-local-ruvector-accelerator/src/query_api.rs +6 -3
- package/.claude/skills/cfn-local-ruvector-accelerator/src/schema_v2.rs +16 -1
- package/.claude/skills/cfn-local-ruvector-accelerator/src/store_v2.rs +7 -3
- package/.claude/skills/cfn-local-ruvector-accelerator/src/store_v2_tx.rs +5 -3
- package/.claude/skills/cfn-local-ruvector-accelerator/src/transaction_tests.rs +8 -2
- package/CLAUDE.md +2 -1
- package/dist/trigger.config.d.ts +15 -1
- package/dist/trigger.config.js +11 -1
- package/package.json +1 -1
|
@@ -23,6 +23,7 @@ pub struct Entity {
|
|
|
23
23
|
pub doc_comment: Option<String>,
|
|
24
24
|
pub attributes: Option<String>,
|
|
25
25
|
pub metadata: Option<String>,
|
|
26
|
+
pub project_root: String,
|
|
26
27
|
pub created_at: DateTime<Utc>,
|
|
27
28
|
pub updated_at: DateTime<Utc>,
|
|
28
29
|
}
|
|
@@ -558,8 +559,9 @@ impl StoreV2 {
|
|
|
558
559
|
|
|
559
560
|
// Helper methods to convert rows to structs
|
|
560
561
|
pub(crate) fn row_to_entity(&self, row: &Row) -> rusqlite::Result<Entity> {
|
|
561
|
-
let
|
|
562
|
-
let
|
|
562
|
+
let project_root: String = row.get(12)?;
|
|
563
|
+
let created_timestamp: i64 = row.get(13)?;
|
|
564
|
+
let updated_timestamp: i64 = row.get(14)?;
|
|
563
565
|
|
|
564
566
|
let kind_str = row.get::<_, String>(1)?;
|
|
565
567
|
let kind = EntityKind::from_str(&kind_str)
|
|
@@ -582,6 +584,7 @@ impl StoreV2 {
|
|
|
582
584
|
doc_comment: row.get(9)?,
|
|
583
585
|
attributes: row.get(10)?,
|
|
584
586
|
metadata: row.get(11)?,
|
|
587
|
+
project_root,
|
|
585
588
|
created_at: DateTime::from_timestamp(created_timestamp, 0).unwrap_or_default(),
|
|
586
589
|
updated_at: DateTime::from_timestamp(updated_timestamp, 0).unwrap_or_default(),
|
|
587
590
|
})
|
|
@@ -664,11 +667,12 @@ mod tests {
|
|
|
664
667
|
doc_comment: Some("Test function".to_string()),
|
|
665
668
|
attributes: None,
|
|
666
669
|
metadata: None,
|
|
670
|
+
project_root: "/test/project".to_string(),
|
|
667
671
|
created_at: Utc::now(),
|
|
668
672
|
updated_at: Utc::now(),
|
|
669
673
|
};
|
|
670
674
|
|
|
671
|
-
let entity_id = store.insert_entity(&entity)?;
|
|
675
|
+
let entity_id = store.insert_entity(&entity, "/test/project")?;
|
|
672
676
|
assert!(entity_id > 0);
|
|
673
677
|
|
|
674
678
|
// Retrieve entity
|
|
@@ -225,10 +225,11 @@ impl StoreV2WithTx {
|
|
|
225
225
|
// Execute the callback
|
|
226
226
|
f(&tx)?;
|
|
227
227
|
|
|
228
|
-
// Record file hash
|
|
228
|
+
// Record file hash with current timestamp
|
|
229
|
+
let current_time = chrono::Utc::now().timestamp();
|
|
229
230
|
tx.execute(
|
|
230
|
-
"INSERT INTO file_hashes (file_path, file_hash) VALUES (?, ?)",
|
|
231
|
-
params![file_path, file_hash],
|
|
231
|
+
"INSERT INTO file_hashes (file_path, file_hash, indexed_at) VALUES (?, ?, ?)",
|
|
232
|
+
params![file_path, file_hash, current_time],
|
|
232
233
|
)?;
|
|
233
234
|
|
|
234
235
|
tx.commit()
|
|
@@ -308,6 +309,7 @@ mod tests {
|
|
|
308
309
|
doc_comment: None,
|
|
309
310
|
attributes: None,
|
|
310
311
|
metadata: None,
|
|
312
|
+
project_root: "/test/project".to_string(),
|
|
311
313
|
created_at: Utc::now(),
|
|
312
314
|
updated_at: Utc::now(),
|
|
313
315
|
}).collect();
|
|
@@ -44,6 +44,7 @@ fn test_atomic_file_indexing_with_rollback() -> Result<()> {
|
|
|
44
44
|
doc_comment: None,
|
|
45
45
|
attributes: None,
|
|
46
46
|
metadata: None,
|
|
47
|
+
project_root: "/test/project".to_string(),
|
|
47
48
|
created_at: chrono::Utc::now(),
|
|
48
49
|
updated_at: chrono::Utc::now(),
|
|
49
50
|
};
|
|
@@ -67,6 +68,7 @@ fn test_atomic_file_indexing_with_rollback() -> Result<()> {
|
|
|
67
68
|
doc_comment: None,
|
|
68
69
|
attributes: None,
|
|
69
70
|
metadata: None,
|
|
71
|
+
project_root: "/test/project".to_string(),
|
|
70
72
|
created_at: chrono::Utc::now(),
|
|
71
73
|
updated_at: chrono::Utc::now(),
|
|
72
74
|
};
|
|
@@ -84,6 +86,7 @@ fn test_atomic_file_indexing_with_rollback() -> Result<()> {
|
|
|
84
86
|
doc_comment: None,
|
|
85
87
|
attributes: None,
|
|
86
88
|
metadata: None,
|
|
89
|
+
project_root: "/test/project".to_string(),
|
|
87
90
|
created_at: chrono::Utc::now(),
|
|
88
91
|
updated_at: chrono::Utc::now(),
|
|
89
92
|
};
|
|
@@ -92,8 +95,8 @@ fn test_atomic_file_indexing_with_rollback() -> Result<()> {
|
|
|
92
95
|
r#"
|
|
93
96
|
INSERT INTO entities (
|
|
94
97
|
kind, name, signature, visibility, parent_id, file_path,
|
|
95
|
-
line_number, column_number, doc_comment, attributes, metadata
|
|
96
|
-
) VALUES (?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, ?9, ?10, ?11)
|
|
98
|
+
line_number, column_number, doc_comment, attributes, metadata, project_root
|
|
99
|
+
) VALUES (?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, ?9, ?10, ?11, ?12)
|
|
97
100
|
"#
|
|
98
101
|
)?;
|
|
99
102
|
|
|
@@ -109,6 +112,7 @@ fn test_atomic_file_indexing_with_rollback() -> Result<()> {
|
|
|
109
112
|
entity1.doc_comment,
|
|
110
113
|
entity1.attributes,
|
|
111
114
|
entity1.metadata,
|
|
115
|
+
entity1.project_root,
|
|
112
116
|
])?;
|
|
113
117
|
|
|
114
118
|
stmt.execute(params![
|
|
@@ -123,6 +127,7 @@ fn test_atomic_file_indexing_with_rollback() -> Result<()> {
|
|
|
123
127
|
entity2.doc_comment,
|
|
124
128
|
entity2.attributes,
|
|
125
129
|
entity2.metadata,
|
|
130
|
+
entity2.project_root,
|
|
126
131
|
])?;
|
|
127
132
|
|
|
128
133
|
Ok(())
|
|
@@ -220,6 +225,7 @@ fn test_batch_insert_rollback() -> Result<()> {
|
|
|
220
225
|
doc_comment: None,
|
|
221
226
|
attributes: None,
|
|
222
227
|
metadata: None,
|
|
228
|
+
project_root: "/test/project".to_string(),
|
|
223
229
|
created_at: chrono::Utc::now(),
|
|
224
230
|
updated_at: chrono::Utc::now(),
|
|
225
231
|
});
|
package/CLAUDE.md
CHANGED
|
@@ -24,7 +24,8 @@ Purpose: concise reference for CFN agents. Focus on persona, mandatory rules, ed
|
|
|
24
24
|
- Do not run tests inside agents; run once via coordinator/main chat, agents read results.
|
|
25
25
|
- Never save to project root; use appropriate subdirectories.
|
|
26
26
|
- Never hardcode secrets; always redact as `[REDACTED]`.
|
|
27
|
-
-
|
|
27
|
+
- Use RuVector SQL for indexed projects (400x faster than grep); use grep only for non-indexed projects or non-code strings.
|
|
28
|
+
- When monitoring, sleep-check-sleep loops.
|
|
28
29
|
- All agent communication must use coordination protocols; no ad-hoc file coordination.
|
|
29
30
|
|
|
30
31
|
## 3) Cerebras MCP & Context Discovery Protocols
|
package/dist/trigger.config.d.ts
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
export interface TriggerConfig {
|
|
2
|
+
project: string;
|
|
3
|
+
maxDuration: number;
|
|
4
|
+
retries?: {
|
|
5
|
+
enabledInDev?: boolean;
|
|
6
|
+
default?: {
|
|
7
|
+
maxAttempts: number;
|
|
8
|
+
factor: number;
|
|
9
|
+
minTimeoutInMs: number;
|
|
10
|
+
maxTimeoutInMs: number;
|
|
11
|
+
randomize: boolean;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
dirs?: string[];
|
|
15
|
+
}
|
|
2
16
|
export declare const config: TriggerConfig;
|
|
3
17
|
//# sourceMappingURL=trigger.config.d.ts.map
|
package/dist/trigger.config.js
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// DEPRECATION NOTICE
|
|
3
|
+
// ============================================================================
|
|
4
|
+
// Trigger.dev has been removed from the CFN Loop architecture
|
|
5
|
+
// This file is kept for backward compatibility with the SEO platform
|
|
6
|
+
// The SEO functionality will be refactored to use local execution
|
|
7
|
+
// The configuration is no longer used for trigger.dev deployment
|
|
8
|
+
// ============================================================================
|
|
1
9
|
export const config = {
|
|
2
10
|
project: process.env.TRIGGER_PROJECT_ID || "proj_uuvpcrkpfruhlpbpzlov",
|
|
3
|
-
triggerUrl: process.env.TRIGGER_ENDPOINT || "http://localhost:8030",
|
|
4
11
|
maxDuration: 600, // 10 minutes in seconds (required)
|
|
5
12
|
retries: {
|
|
6
13
|
enabledInDev: true,
|
|
@@ -14,4 +21,7 @@ export const config = {
|
|
|
14
21
|
},
|
|
15
22
|
dirs: ["./src/trigger"],
|
|
16
23
|
};
|
|
24
|
+
// Note: When @trigger.dev/sdk/v3 is installed, update the import to:
|
|
25
|
+
// import type { TriggerConfig } from "@trigger.dev/sdk/v3";
|
|
26
|
+
// Also remove the local interface definition above
|
|
17
27
|
//# sourceMappingURL=trigger.config.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-flow-novice",
|
|
3
|
-
"version": "2.18.
|
|
3
|
+
"version": "2.18.17",
|
|
4
4
|
"description": "Claude Flow Novice - Advanced orchestration platform for multi-agent AI workflows with CFN Loop architecture\n\nIncludes Local RuVector Accelerator and all CFN skills for complete functionality.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|