upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/grasp-audit/src/result.rs
AgeCommit message (Collapse)Author
2026-02-12refactor(grasp-audit): introduce SpecRef enum for type-safe spec referencesDanConwayDev
Replace string-based spec references with typed SpecRef enum for compile-time validation and better IDE support. TestResult::new() now accepts SpecRef enum plus a requirement description string for test-specific context.
2026-01-19fix(grasp-audit): improve color readability with bold bright colorsDanConwayDev
Changes RED from standard red (\x1b[31m) to bold bright red (\x1b[1;91m) and GREEN from standard green (\x1b[32m) to bold bright green (\x1b[1;92m). This follows ANSI/ISO standards (ECMA-48) and matches industry best practices used by Rust/Cargo and other modern CLI tools. Bold bright colors provide significantly better readability on dark terminal backgrounds while maintaining maximum compatibility with all terminals. Addresses user feedback that red color was too hard to read.
2025-12-23audit: updated grasp01 line refs to reflect purgatory insertionDanConwayDev
2025-12-11fix: resolve all fmt and clippy warningsDanConwayDev
Main lib (src/): - Add #[allow(dead_code)] for build_info field (stored to prevent Prometheus unregistration) - Add #[allow(dead_code)] for first_seen field (reserved for future rate limiting) - Replace .or_insert_with(RelaySyncNeeds::default) with .or_default() - Replace manual div_ceil implementations with .div_ceil(100) Test code (tests/): - Replace .expect(&format!(...)) with .unwrap_or_else(|_| panic!(...)) - Remove needless borrows in fetch_metrics() calls - Add #[allow(dead_code)] and #[allow(unused_imports)] to test helpers module grasp-audit: - Apply cargo fmt to fix formatting
2025-12-02grasp-audit: show tests under GRASP-01 lineDanConwayDev
2025-12-01fix cargo clippy and fmt warningsDanConwayDev
2025-11-28grasp-audit improve cli output eg. add colors and condenseDanConwayDev
2025-11-19fix some clippy fmt warningsDanConwayDev
2025-11-04created POC grasp-auditorDanConwayDev