mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-09-14 14:01:28 +08:00
ecdbe801df
Add the Agent LLM Federation Plugin implementing ADR-078: Plugin scaffold (17 source files, 3,021 lines): - Domain entities: FederationNode, FederationSession, FederationEnvelope, TrustLevel - Domain services: PIIPipelineService (14 PII types, confidence scoring, adaptive calibration), DiscoveryService, HandshakeService, RoutingService, AuditService - Application layer: TrustEvaluator (scoring formula with hysteresis), FederationCoordinator, PolicyEngine - Plugin class: 9 MCP tools, 10 CLI commands, 1 agent type - Clean DDD architecture: domain/application/infrastructure/api layering Test suite (8 files, 202 tests, all passing): - Trust scoring formula verification - PII detection across 14 types with confidence thresholds - Federation envelope HMAC signing/verification - Capability gates per trust level - Audit service with HIPAA/SOC2/GDPR compliance modes - Routing mode selection (direct default, BFT for state mutations) - Plugin interface compliance README updated with federation plugin entry linking to issue #1669. Co-Authored-By: claude-flow <ruv@ruv.net>
25 lines
480 B
TypeScript
25 lines
480 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: [
|
|
'__tests__/**/*.test.ts',
|
|
'src/**/*.test.ts',
|
|
],
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'json', 'html'],
|
|
exclude: [
|
|
'node_modules/**',
|
|
'__tests__/**',
|
|
'**/*.test.ts',
|
|
'**/*.spec.ts',
|
|
],
|
|
},
|
|
testTimeout: 10000,
|
|
hookTimeout: 10000,
|
|
},
|
|
});
|