-
Notifications
You must be signed in to change notification settings - Fork 1
Module evaluation Roadmap
Issue #5643 remains open. The evaluation module is no longer a pure scaffold: the repository already contains runtime-owned EPIC 2 contracts and sources for hardware-profile evaluation, benchmark matrices, retrieval metrics, ablation, approximation governance, query planning, and artifact lifecycle handling.
Implementation coverage is still partial for closure purposes because the current documentation and evidence do not yet prove Phase 3 through Phase 6 readiness for the full module surface. The strongest source-verified maturity is still centered on the hybrid planner path, while broader policy/error behavior, measured benchmark gates, and current-cycle executable evidence remain open.
Current evidence state for this issue:
- focused evaluation tests are registered in
tests/epic2_evaluation/CMakeLists.txt - benchmark entry points exist in
benchmarks/epic2_evaluation/ - the latest local validation attempt on 2026-07-29 failed at
cmake --preset community-releasebecause RocksDB is not installed in the current environment
- [~] EPIC 2 documentation-governance alignment across roadmap/future/audit/evidence files (Target: Q3 2026)
- [~] phase-gate acceptance criteria definition for planner and benchmark readiness (Target: Q3 2026)
- implement phase-3 runtime error/policy behavior across retrieval metrics, approximation, artifact lifecycle, and planner downgrade surfaces (Target: Q4 2026)
- deliver phase-4 verification and regression suites for all shipped EPIC 2 contracts (Target: Q4 2026)
- establish phase-5 benchmark/hardening baselines with measurable release gates (Target: Q4 2026)
- complete phase-6 acceptance documentation from measured build/test/benchmark evidence (Target: Q1 2027)
- complete phase-7 default workflow integration after gates pass (Target: Q1 2027)
- wire planner decisions into downstream TensorRAG / ANN explain and routing diagnostics after module gates pass (Target: Q1 2027)
- EPIC 2 contract ownership, file mapping, and scope boundaries are documented across
README.md,ARCHITECTURE.md, and thedocs/EPIC2_*.mddesign set - [~] phase-gate acceptance criteria still need one canonical checklist covering runtime error behavior, focused regressions, benchmark guardrails, and closure evidence
- runtime-owned contracts and source files exist for
hardware_profile,benchmark_matrix,retrieval_metrics,ablation_framework,approximation_rules,query_planner, andartifact_lifecycle - local CMake surfaces register evaluation libraries, focused tests, and benchmark entry points behind target-availability gates
- downstream default-workflow consumers still need planner-envelope and routing-diagnostics integration
- make failure semantics explicit and fail-closed across retrieval metrics, approximation, artifact lifecycle, and planner observer surfaces
- query_planner.cc: fail-closed Category C enforcement, FallbackReason taxonomy (30+ error handling lines)
- retrieval_metrics.cc: MetricErrorKind enum with 29 throw/error statements, input validation
- approximation_rules.cc: ApproximationZone + GovernanceDecision contract, policy version tracking
- artifact_lifecycle.cc: State machine with FAILED state, explicit InvalidationReason enum
- enforce hardware/profile mismatch, stale artifacts, and distributed-manifest absence as machine-readable downgrade or error outcomes across the full module contract
- FallbackReason enum covers all gate failures with specific codes (TensorArtifactStale, etc.)
- MetricError prevents silent numeric failures
- [~] document runtime policy ownership, escalation paths, and operator-visible failure conditions in the acceptance evidence set
- Code audit complete; executable evidence refresh blocked by build environment (see MODULE_EVIDENCE.md justified gap)
- [~] focused source-level tests already exist for planner, hardware profile, benchmark matrix, retrieval metrics, ablation, approximation rules, artifact lifecycle, and query-cache behavior
- refresh executable run evidence for focused targets in the current cycle
- expand regression coverage for the additional Phase 3 policy/error cases and downstream consumer integrations
- [~] benchmark sources already exist for planner decision, benchmark matrix, artifact staleness, and storage-strategy follow-up measurement ✅
- [~] define explicit guardrails and capture measured baselines for latency, fallback rate, and degradation behavior ✅ (guardrails DEFINED in PERFORMANCE_EXPECTATIONS.md; measured baselines blocked by vcpkg)
- [~] record reproducibility assumptions (hardware profile class, shard/manifests, fallback amplification) before promoting the module into default workflows ✅ (documented in benchmarks/epic2_evaluation/README.md)
- publish acceptance evidence strategy with explicit justified blocker record (2026-08-18)
- create PHASE_6_ACCEPTANCE_CHECKLIST.md documenting all acceptance criteria (2026-08-18)
- create PHASE_6_ACCEPTANCE_SIGN_OFF.md with maintainer/reviewer/release-manager sign-off workflow (2026-08-18)
- [~] keep
AUDIT.md,MODULE_EVIDENCE.md, andPRODUCTION_REQUIREMENTS.mdsynchronized with measured results and unresolved gaps- ✅ AUDIT.md findings documented with evidence location (EVAL-AUD-01/02/03 with JUSTIFIED_GAP.md references)
- ✅ PRODUCTION_REQUIREMENTS.md synchronized with Phase 3 implementation
- ✅ MODULE_EVIDENCE.md contains Phase 3 code audit results and blocker justification
- ⏸️ Awaiting Phase 4-6 executable evidence once build environment available
- close issue #5643 only after:
- Parent EPIC 2 traceability verified
- Phase 3 code audit complete and documented
- ⏸️ Phase 4 test evidence captured (blocked by vcpkg; closure path documented)
- ⏸️ Phase 5 benchmark evidence captured (blocked by vcpkg; closure path documented)
- All acceptance criteria met and sign-off completed (PHASE_6_ACCEPTANCE_SIGN_OFF.md)
- enable downstream retrieval workflow integration only after Phases 3-6 are green and benchmark-backed
- contract ownership and scope boundaries are documented
- focused test and benchmark registration surfaces are present in source
- phase-gate acceptance criteria are documented in PRODUCTION_REQUIREMENTS.md and ROADMAP.md
- runtime policy/error behavior CODE AUDIT VERIFIED complete (Phase 3 implementation verified 2026-08-08)
- See AUDIT.md for detailed code-level verification of fail-closed behavior, error handling, and downgrade paths
- [~] executable build/test evidence is refreshed for the current validation cycle
- Benchmark sources complete with p50/p95/p99 measurements (Phase 5 harness updated 2026-08-18)
- Blocked by build environment (vcpkg checkout missing/uninitialized —
vcpkg/scripts/buildsystems/vcpkg.cmakenot present); see justified gap in MODULE_EVIDENCE.md
- [~] benchmark guardrails are captured from measured runs
- [Phase 5 ✅] Guardrail definitions complete and documented in PERFORMANCE_EXPECTATIONS.md (6 categories: planner latency, fallback rate, matrix throughput, staleness overhead, storage strategy, error paths)
- [Phase 5 ✅] Measurement methodology documented in benchmarks/epic2_evaluation/README.md with reproducibility requirements and baseline capture procedure
- Measured baseline evidence blocked by vcpkg/RocksDB environment; see justified gap in MODULE_EVIDENCE.md
- default workflow integration remains disabled until Phases 3-6 pass
- Current local validation is blocked in this environment because
cmake --preset community-releasefails without RocksDB (librocksdb-devor vcpkgrocksdb). - Focused test and benchmark source files exist, but current-cycle executable evidence is still missing for issue #5643.
- Learned or cost-model-based planning remains out of scope; current routing is policy-driven and must stay explainable.
- Downstream TensorRAG / ANN decision-envelope integration is intentionally deferred until module hardening gates pass.
- none
This module is a contributing module in the program-level Wave A → B → C → D execution model.
It does not own a primary wave deliverable but must remain release_critical-green throughout all waves
and must deliver Wave D operability improvements in Q1 2027.
See [[../../ROADMAP.md|ROADMAP]] for the full wave model and exit criteria.
- Deliver or validate distributed tracing, high-cardinality stress coverage, exporter reliability, and operator remediation hints as applicable to this module (Target: Q1 2027)
- Contribute to or validate long-duration soak test coverage for this module's primary paths (Target: Q1 2027)
- Ensure runbook coverage for operator-critical scenarios in this module (Target: Q1 2027)
-
release_criticalCI must remain green ondevelopthroughout all waves (Target: ongoing) - p95/p99 benchmarks must be refreshed on representative hardware before Wave D sign-off (Target: Q1 2027)
- No behavioral regression may be introduced into modules in Wave A/B/C scope from changes in this module.
- This module's distributed/acceleration paths fail closed (Target: Q1 2027)
- Benchmark-backed p95/p99 baselines exist on representative hardware (Target: Q1 2027)
- Operator-critical paths have diagnostics, alerts, and runbooks (Target: Q1 2027)
- Architecture-ACCESS-MODEL-IMPLEMENTATION-SUMMARY
- Architecture-ADR-003-pg-dump-sql-parser
- Architecture-BASEENTITY-PRINCIPLE
- Architecture-CACHE-STORAGE-INTEGRATION
- Architecture-CMAKE-ARCHITECTURE
- Architecture-CMAKE-FLAGS-REFERENCE
- Architecture-CMAKE-MODULAR-ARCHITECTURE
- Architecture-CONCERNS-ARCHITECTURE-DIAGRAM
- Architecture-CONCERNS-IMPLEMENTATION-SUMMARY
- Architecture-CONTENT-MODEL
- Architecture-COPILOT-THEMISDB-GRAPH-RAG-BACKEND-ARCHITECTURE
- Architecture-CRYPTO-AND-KEYS
- Architecture-FEATURE-FLAGS-REFERENCE
- Architecture-GPU-ARCHITECTURE-REVIEW-TEMPLATE
- Architecture-HTTP-SHUTDOWN-HARDENING
- Architecture-MIGRATION-GUIDE-CONCERNS
- Architecture-MIGRATION-GUIDE-v13-v14
- Architecture-MODULARIZATION-GUIDE
- Architecture-MODULAR-ARCHITECTURE-ROADMAP
- Architecture-MODULE-ARCHITECTURE-INDEX
- Architecture-P1D01-ISSMPLUGIN-DESIGN-REVIEW
- Architecture-P1-D01-ISSMPLUGIN-DESIGN-REVIEW
- Architecture-P1-D08-MAMBA-GOVERNANCE-CONTRACT
- Architecture-P1-P2-IMPLEMENTATION-COMPLETION-INDEX
- Architecture-PHASE0-COMPLETION-ASSESSMENT
- Architecture-PHASE3-QUERYENGINE-DI-ARCHITECTURE
- Architecture-PHASE4-INDEX-MANAGER-DI
- Architecture-POSTGRESQL-WIRE-PROTOCOL
- Architecture-QUERYENGINE-IMPLEMENTATION-GUIDE
- Architecture-QUERY-SCHEDULING
- Architecture-RAFT-CONSENSUS-DESIGN
- Architecture-README
- Architecture-README-SSM-HYBRID-IMPLEMENTATION
- Architecture-REFACTORING-SUMMARY
- Architecture-RESOURCE-POOLING
- Architecture-SOURCE-DIRECTORY-GUIDE
- Architecture-THEMIS-CORE-GUIDE
- Architecture-UNIFIED-ACCESS-MODEL
- Architecture-WAL-GRPC-MTLS-CONFIGURATION
- Architecture-WIRE-PROTOCOL-RETRY
- Architecture-boltzmann-observability-draft
- Architecture-experimental-logarithmic-vector-storage
- Architecture-llm-wiki-mvp-adr
- Architecture-rewrite-engine-architecture
- Architecture-rope-api-architecture
- Architecture-ssm-gguf-mamba-status
- Architecture-ssm-hybrid-analysis
- Architecture-ssm-hybrid-rollout-plan
- Architecture-ssm-plugin-interface-design-review
- Architecture-transaction-coordinators
- Architecture-wiki-secondary-index
- Architecture-wire-protocol
- Governance-DISABLED-STUB-POLICY
- Governance-DOCS-PR-POLICY
- Governance-GA-PROMOTION-SIGN-OFF
- Governance-GITHUB-MILESTONES-SETUP
- Governance-MATURITY-CLAIM-VERIFICATION-CHECKLIST
- Governance-MATURITY-EVIDENCE-REGISTRY
- Governance-MERGE-GATE-BOT-CONFIG
- Governance-MERGE-GATE-STATUS-LIVE
- Governance-PHASE3-ENFORCEMENT-RUNBOOK
- Governance-PHASE-1-CLOSURE-REPORT
- Governance-PHASE-CLOSURE-POLICY
- Governance-PHASE-DEPENDENCY-GRAPH
- Governance-PLUGIN-SUBMODULE-ROLLBACK
- Governance-PRODUCTION-READY-2026-DELIVERY-PLAN
- Governance-PR-VERSION-TARGETING
- Governance-PR-VERSION-TARGETING-BACKFILL
- Governance-QUERY-MODULE-STATUS
- Governance-README
- Governance-RELEASE-PROMOTION-GATE-POLICY
- Governance-RELEASE-VALIDATION-CHECKLIST
- Governance-SECURITY-MODULE-5671-EVIDENCE-SUMMARY
- Governance-SHARDING-P6-RESIDUAL-RISK-ACCEPTANCE
- Governance-SOURCECODE-COMPLIANCE-GOVERNANCE
- Governance-UPDATES-DEVELOPMENT-STATUS-SIGN-OFF
- Governance-WAVE-C-IMPLEMENTATION-COMPLETE
- Module-acceleration-Roadmap
- Module-access-model-Roadmap
- Module-ai-Roadmap
- Module-analytics-Roadmap
- Module-api-Roadmap
- Module-aql-Roadmap
- Module-auth-Roadmap
- Module-base-Roadmap
- Module-cache-Roadmap
- Module-cdc-Roadmap
- Module-chaos-Roadmap
- Module-chimera-Roadmap
- Module-config-Roadmap
- Module-content-Roadmap
- Module-core-Roadmap
- Module-distributed-knowledge-Roadmap
- Module-distributed-tensor-Roadmap
- Module-document-Roadmap
- Module-ethics-ai-Roadmap
- Module-evaluation-Roadmap
- Module-execution-Roadmap
- Module-exporters-Roadmap
- Module-failover-Roadmap
- Module-geo-Roadmap
- Module-governance-Roadmap
- Module-gpu-Roadmap
- Module-graph-Roadmap
- Module-image-analysis-Roadmap
- Module-importers-Roadmap
- Module-index-Roadmap
- Module-ingestion-Roadmap
- Module-llama-cpp-Roadmap
- Module-llm-Roadmap
- Module-llm-streaming-Roadmap
- Module-llm-wiki-Roadmap
- Module-maintenance-Roadmap
- Module-metadata-Roadmap
- Module-network-Roadmap
- Module-observability-Roadmap
- Module-onnx-clip-Roadmap
- Module-performance-Roadmap
- Module-plugins-Roadmap
- Module-process-Roadmap
- Module-projects-Roadmap
- Module-prompt-engineering-Roadmap
- Module-query-Roadmap
- Module-rag-Roadmap
- Module-replication-Roadmap
- Module-retrieval-Roadmap
- Module-rpc-grpc-Roadmap
- Module-scheduler-Roadmap
- Module-scraper-Roadmap
- Module-search-Roadmap
- Module-security-Roadmap
- Module-server-Roadmap
- Module-sharding-Roadmap
- Module-stable-diffusion-Roadmap
- Module-storage-Roadmap
- Module-temporal-Roadmap
- Module-tensor-Roadmap
- Module-themis-Roadmap
- Module-timeseries-Roadmap
- Module-toolbox-Roadmap
- Module-training-Roadmap
- Module-transaction-Roadmap
- Module-updates-Roadmap
- Module-user-storage-encrypted-Roadmap
- Module-utils-Roadmap
- Module-vector-search-Roadmap
- Module-voice-Roadmap
- Module-whisper-Roadmap