vestige/tests/e2e/Cargo.toml
Sam Valladares c6090dc2ba fix: v2.0.1 release — fix broken installs, CI, security, and docs
Critical fixes:
- npm postinstall.js: BINARY_VERSION '1.1.3' → '2.0.1' (every install was 404ing)
- npm package name: corrected error messages to 'vestige-mcp-server'
- README: npm install command pointed to wrong package
- MSRV: bumped from 1.85 to 1.91 (uses floor_char_boundary from 1.91)
- CI: removed stale 'develop' branch from test.yml triggers

Security hardening:
- CSP: restricted connect-src from wildcard 'ws: wss:' to localhost-only
- Added X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy headers
- Added frame-ancestors 'none', base-uri 'self', form-action 'self' to CSP
- Capped retention_distribution endpoint from 10k to 1k nodes
- Added debug logging for WebSocket connections without Origin header

Maintenance:
- All clippy warnings fixed (58 total: redundant closures, collapsible ifs, no-op casts)
- All versions harmonized to 2.0.1 across Cargo.toml and package.json
- CLAUDE.md updated to match v2.0.1 (21 tools, 29 modules, 1238 tests)
- docs/CLAUDE-SETUP.md updated deprecated function names
- License corrected to AGPL-3.0-only in root package.json

1,238 tests passing, 0 clippy warnings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 20:20:14 -06:00

102 lines
2.2 KiB
TOML

[package]
name = "vestige-e2e-tests"
version = "0.1.0"
edition = "2024"
publish = false
[dependencies]
vestige-core = { path = "../../crates/vestige-core", features = ["embeddings", "vector-search"] }
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4", "serde"] }
tempfile = "3"
serde_json = "1"
serde = { version = "1", features = ["derive"] }
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
[[test]]
name = "cognitive_tests"
path = "tests/cognitive/mod.rs"
[[test]]
name = "spreading_activation"
path = "tests/cognitive/spreading_activation_tests.rs"
[[test]]
name = "dreams"
path = "tests/cognitive/dreams_tests.rs"
[[test]]
name = "psychology_tests"
path = "tests/cognitive/psychology_tests.rs"
[[test]]
name = "neuroscience_tests"
path = "tests/cognitive/neuroscience_tests.rs"
[[test]]
name = "comparative_benchmarks"
path = "tests/cognitive/comparative_benchmarks.rs"
[[test]]
name = "mcp_tests"
path = "tests/mcp/mod.rs"
[[test]]
name = "mcp_protocol"
path = "tests/mcp/protocol_tests.rs"
[[test]]
name = "mcp_tools"
path = "tests/mcp/tool_tests.rs"
# Journey tests - complete user workflow validation
[[test]]
name = "journey_tests"
path = "tests/journeys/mod.rs"
[[test]]
name = "ingest_recall_review"
path = "tests/journeys/ingest_recall_review.rs"
[[test]]
name = "consolidation_workflow"
path = "tests/journeys/consolidation_workflow.rs"
[[test]]
name = "intentions_workflow"
path = "tests/journeys/intentions_workflow.rs"
[[test]]
name = "spreading_activation_journey"
path = "tests/journeys/spreading_activation.rs"
[[test]]
name = "import_export"
path = "tests/journeys/import_export.rs"
# Extreme tests - chaos, adversarial, mathematical, research validation
[[test]]
name = "extreme_tests"
path = "tests/extreme/mod.rs"
[[test]]
name = "chaos_tests"
path = "tests/extreme/chaos_tests.rs"
[[test]]
name = "adversarial_tests"
path = "tests/extreme/adversarial_tests.rs"
[[test]]
name = "mathematical_tests"
path = "tests/extreme/mathematical_tests.rs"
[[test]]
name = "research_validation_tests"
path = "tests/extreme/research_validation_tests.rs"
[[test]]
name = "proof_of_superiority"
path = "tests/extreme/proof_of_superiority.rs"