Files
Profa 02eaa0243e feat: RVF binary brain export with native @ruvector/rvf-node integration
Implement proper RVF format for brain export/import using the native
HNSW vector database, replacing JSONL directories with a single binary
.rvf container. Adds automatic brain checkpoint hooks for session
persistence and extends `aqe init` to install checkpoints in user projects.

- brain-rvf-exporter.ts: export/import brain data via embedKernel API
- rvf-native-adapter.ts: add embedKernel/extractKernel, fix bundle compat
- brain-commands.ts: unified format dispatch (rvf default, jsonl fallback)
- brain-handler.ts: RVF-specific CLI output and format options
- brain-checkpoint.cjs: session hook helper (verify on start, export on stop)
- 07-hooks.ts: install brain checkpoint hooks during aqe init

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 12:51:03 +00:00

314 lines
7.8 KiB
JSON

{
"env": {
"AQE_MEMORY_PATH": ".agentic-qe/memory.db",
"AQE_MEMORY_ENABLED": "true",
"AQE_LEARNING_ENABLED": "true",
"AQE_V3_MODE": "true",
"AQE_V3_DDD_ENABLED": "true",
"AQE_V3_DOMAINS": "test-generation,test-execution,coverage-analysis,quality-assessment,defect-intelligence,learning-optimization,requirements-validation,code-intelligence,security-compliance,contract-testing,visual-accessibility,chaos-resilience",
"AQE_V3_SWARM_SIZE": "21",
"AQE_V3_TOPOLOGY": "hierarchical",
"AQE_V3_SUBLINEAR_ENABLED": "true",
"AQE_V3_HNSW_ENABLED": "true",
"AQE_V3_HOOKS_ENABLED": "true",
"AQE_V3_HOOK_BRIDGE": ".claude/hooks/v3-qe-bridge.sh",
"AQE_V3_DOMAIN_WORKERS": ".claude/hooks/v3-domain-workers.json",
"AQE_V3_AISP_ENABLED": "true",
"AQE_V3_REASONING_BANK": ".agentic-qe/memory.db",
"AQE_V3_PATTERN_PROMOTION_THRESHOLD": "3",
"AQE_V3_SUCCESS_RATE_THRESHOLD": "0.7"
},
"hooks": {
"PreToolUse": [
{
"matcher": "^(Write|Edit|MultiEdit)$",
"hooks": [
{
"type": "command",
"command": "node ./dist/cli/bundle.js hooks guard --file \"$TOOL_INPUT_file_path\" --json",
"timeout": 3000,
"continueOnError": true
}
]
},
{
"matcher": "^(Write|Edit|MultiEdit)$",
"hooks": [
{
"type": "command",
"command": "node ./dist/cli/bundle.js hooks pre-edit --file \"$TOOL_INPUT_file_path\" --json",
"timeout": 5000,
"continueOnError": true
}
]
},
{
"matcher": "^Bash$",
"hooks": [
{
"type": "command",
"command": "node ./dist/cli/bundle.js hooks pre-command --command \"$TOOL_INPUT_command\" --json",
"timeout": 3000,
"continueOnError": true
}
]
},
{
"matcher": "^Task$",
"hooks": [
{
"type": "command",
"command": "node ./dist/cli/bundle.js hooks pre-task --description \"$TOOL_INPUT_prompt\" --json",
"timeout": 5000,
"continueOnError": true
}
]
}
],
"PostToolUse": [
{
"matcher": "^(Write|Edit|MultiEdit)$",
"hooks": [
{
"type": "command",
"command": "node ./dist/cli/bundle.js hooks post-edit --file \"$TOOL_INPUT_file_path\" --success --json",
"timeout": 5000,
"continueOnError": true
}
]
},
{
"matcher": "^Bash$",
"hooks": [
{
"type": "command",
"command": "node ./dist/cli/bundle.js hooks post-command --command \"$TOOL_INPUT_command\" --success --json",
"timeout": 5000,
"continueOnError": true
}
]
},
{
"matcher": "^Task$",
"hooks": [
{
"type": "command",
"command": "node ./dist/cli/bundle.js hooks post-task --task-id \"$TOOL_RESULT_agent_id\" --success --json",
"timeout": 5000,
"continueOnError": true
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "node ./dist/cli/bundle.js hooks route --task \"$PROMPT\" --json",
"timeout": 5000,
"continueOnError": true
}
]
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "node ./dist/cli/bundle.js hooks session-start --session-id \"$SESSION_ID\" --json",
"timeout": 10000,
"continueOnError": true
}
]
},
{
"hooks": [
{
"type": "command",
"command": "node .claude/helpers/brain-checkpoint.cjs verify --json",
"timeout": 5000,
"continueOnError": true
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "node ./dist/cli/bundle.js hooks session-end --save-state --json",
"timeout": 5000,
"continueOnError": true
}
]
},
{
"hooks": [
{
"type": "command",
"command": "node .claude/helpers/brain-checkpoint.cjs export --json",
"timeout": 60000,
"continueOnError": true
}
]
}
]
},
"statusLine": {
"type": "command",
"command": "node .claude/helpers/statusline-v3.cjs 2>/dev/null || .claude/statusline-v3.sh 2>/dev/null || echo \"▊ Agentic QE v3\"",
"refreshMs": 5000,
"enabled": true
},
"permissions": {
"allow": [
"Bash(npx claude-flow:*)",
"Bash(npx @claude-flow/cli:*)",
"mcp__claude-flow__:*",
"mcp__agentic_qe__*"
],
"deny": [
"Bash(rm -rf /)"
]
},
"includeCoAuthoredBy": true,
"enabledMcpjsonServers": [
"agentic-qe",
"claude-flow"
],
"claudeFlow": {
"version": "3.0.0",
"enabled": true,
"modelPreferences": {
"default": "claude-opus-4-5-20251101",
"routing": "claude-3-5-haiku-20241022"
},
"swarm": {
"topology": "hierarchical-mesh",
"maxAgents": 15
},
"memory": {
"backend": "hybrid",
"enableHNSW": true
},
"neural": {
"enabled": true
},
"daemon": {
"autoStart": true,
"workers": [
"map",
"audit",
"optimize",
"consolidate",
"testgaps",
"ultralearn",
"deepdive",
"document",
"refactor",
"benchmark"
],
"schedules": {
"audit": {
"interval": "1h",
"priority": "critical"
},
"optimize": {
"interval": "30m",
"priority": "high"
},
"consolidate": {
"interval": "2h",
"priority": "low"
},
"document": {
"interval": "1h",
"priority": "normal",
"triggers": [
"adr-update",
"api-change"
]
},
"deepdive": {
"interval": "4h",
"priority": "normal",
"triggers": [
"complex-change"
]
},
"ultralearn": {
"interval": "1h",
"priority": "normal"
}
}
},
"learning": {
"enabled": true,
"autoTrain": true,
"patterns": [
"coordination",
"optimization",
"prediction"
],
"retention": {
"shortTerm": "24h",
"longTerm": "30d"
}
},
"adr": {
"autoGenerate": true,
"directory": "/docs/implementation/adrs",
"template": "madr"
},
"ddd": {
"trackDomains": true,
"validateBoundedContexts": true,
"directory": "/docs/implementation/ddd"
},
"security": {
"autoScan": true,
"scanOnEdit": true,
"cveCheck": true,
"threatModel": true
}
},
"v3Configuration": {
"domains": {
"total": 13,
"names": [
"test-generation",
"test-execution",
"coverage-analysis",
"quality-assessment",
"defect-intelligence",
"learning-optimization",
"requirements-validation",
"code-intelligence",
"security-compliance",
"contract-testing",
"visual-accessibility",
"chaos-resilience",
"enterprise-integration"
]
},
"swarm": {
"totalAgents": 60,
"topology": "hierarchical",
"coordination": "queen-led"
}
},
"v3Learning": {
"enabled": true,
"reasoningBank": {
"dbPath": ".agentic-qe/memory.db",
"enableHNSW": true
},
"patternPromotion": {
"threshold": 3,
"successRateMin": 0.7
}
}
}