upleb.uk

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

summaryrefslogtreecommitdiff
path: root/grasp-audit/src/lib.rs
AgeCommit message (Collapse)Author
2026-02-25add probe subcommand for end-to-end relay health checksDanConwayDev
Implements grasp-audit probe with full write path (publish events, poll for repo init, push, verify refs match state) and read-only fallback (find existing announcement, fetch refs). Supports --nsec for whitelisted relays, --json output, and --watch for continuous monitoring.
2025-12-02refactor: rename AuditMode variants and change CLI default to sharedDanConwayDev
Breaking change: Renamed AuditMode enum variants for clarity: - AuditMode::CI -> AuditMode::Isolated (fresh fixtures per test) - AuditMode::Production -> AuditMode::Shared (reuse fixtures across tests) Config constructors renamed (with deprecated aliases): - AuditConfig::ci() -> AuditConfig::isolated() - AuditConfig::production() -> AuditConfig::shared() CLI default changed from 'ci' to 'shared' mode, which enables fixture caching across tests. This fixes the issue where fixtures were being re-created for every test in CLI mode. Fixture caching behavior: - Shared mode (CLI default): Uses client's cache, fixtures reused - Isolated mode (for cargo test): Local cache per TestContext
2025-12-01fix cargo clippy and fmt warningsDanConwayDev
2025-11-28test: added checks that refs/nostr/<event-id> match commit in PR / updateDanConwayDev
2025-11-28allow push to ref/nostr/<event-id>DanConwayDev
2025-11-28fix grasp-audit importsDanConwayDev
2025-11-27remove depricated codeDanConwayDev
2025-11-27Task 7: Export verification helpers in public APIDanConwayDev
- Added send_and_verify_accepted to lib.rs exports - Added send_and_verify_rejected to lib.rs exports - Organized exports into logical groups with comments: * Git operation helpers * Verification helpers * Repo setup helpers * Types and constants - Build succeeds: cargo build
2025-11-27fix(tests): update main project tests for grasp-audit API changesDanConwayDev
2025-11-26test: use fixtures in push testsDanConwayDev
2025-11-26feat: push authorization from state eventDanConwayDev
2025-11-19fix some clippy fmt warningsDanConwayDev
2025-11-06fix cli runs to prevent rate limitingDanConwayDev
2025-11-04created POC grasp-auditorDanConwayDev