stemedb/.agentive-remediation/timestamp-unification/state.yaml
jordan 157dbbb9eb feat: Complete Aphoria Phase 8-9 + UAT suite (90/90 tests passing)
## Phase 8: Enterprise Extractor Improvements 
- 14 security extractors (TLS, JWT, SQL injection, XSS, etc.)
- 10 framework-specific extractors (Spring, Django, Rails, etc.)
- Config file security detection (YAML, TOML)

## Phase 9: Autonomous Extractor Generation 
- Shadow mode executor with TP/FP tracking
- Graduation pipeline with confidence thresholds
- Auto-rollback on regression detection
- Cross-project pattern syncing

## UAT Suite Complete (14 scripts, 90 tests)
- test-core-detection.sh (6 tests)
- test-declarative-extractors.sh (5 tests)
- test-domain-frameworks.sh (5 tests)
- test-domain-unreal.sh (3 tests)
- test-llm-extraction.sh (6 tests)
- test-eval-harness.sh (5 tests)
- test-cross-language.sh (3 tests)
- test-precommit-performance.sh (4 tests)
- test-output-formats.sh (8 tests)
- test-drift-detection.sh (6 tests)
- test-exit-codes.sh (12 tests)
+ 3 more scripts

## Other Changes
- Updated roadmap to mark Phase 8-9 complete
- Added .gitignore entries for build artifacts
- Updated pre-commit: 800 line limit, exclude tests/data/cmd

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 22:50:55 -07:00

30 lines
1.2 KiB
YAML

task: timestamp-unification
created: 2026-02-06
phase: COMPLETE
before_count: 6
current_count: 0
description: |
Unified 5 different implementations of current_timestamp() into single canonical functions.
instances_fixed:
- episteme/corpus.rs:15 - made pub, added docstring, added millis variant
- research/gap_store.rs:297 - REMOVED duplicate fn, now imports from crate
- corpus_build.rs:63 - now uses current_timestamp()
- policy.rs:128 - now uses current_timestamp()
- policy.rs:236 - now uses current_timestamp()
- expiry.rs:102 - now uses current_timestamp()
- scan/scanner.rs:267 - now uses current_timestamp_millis()
remaining_acceptable:
- episteme/corpus.rs:21,28 - CANONICAL IMPLEMENTATION (source of truth)
- expiry.rs:132,153,212,219 - test code (in #[cfg(test)] module)
- tests/ack_expiry.rs - test code (acceptable)
enforcement:
- Added "Do Not #11" to aphoria-dev skill: "Write inline timestamp code"
- Added to Constraints/NEVER: "Write inline timestamp code"
- Added to Constraints/ALWAYS: Use current_timestamp() and current_timestamp_millis()
documentation:
- Updated .claude/skills/aphoria-dev/skill.md with timestamp usage rules