Skip to content

Phase 14 G3a: compliance evidence and automated control tests - #272

Merged
derpenstiltskin merged 5 commits into
mainfrom
grc/evidence
Nov 29, 2026
Merged

derpenstiltskin merged 5 commits into
mainfrom
grc/evidence

Conversation

@derpenstiltskin

Copy link
Copy Markdown
Contributor

Evidence and continuous control monitoring for compliance programs (ADR-099).

Evidence per control in a program: notes, links, files and test results.

  • Append-only: newer evidence supersedes older, which stays as history. Optional valid-until dates; the matrix shows current and expired counts.
  • Files are stored, queued for the malware scan (new file_scans source evidence) and always served as downloads. Quarantined files become a note saying so.

Control tests are workflows (engine first):

  • A test names a control, a validity period and optionally its workflow.
  • New step core.grc.record_test (test_id, passed, summary, data): the result becomes test evidence, superseding the last; a pass is valid for the validity period; a failure raises control.failed. Paused tests refuse results.
  • New step core.grc.expiring_evidence and the built-in Compliance evidence reminders pack: a daily workflow telling program owners about evidence expiring within 14 days (evidence.expiring, once per piece).
  • HWF schema, SDK types and the editor catalog include both steps.

UI: a page per control in a program (evidence history, add note/link/file, replace, tests with pause/remove); matrix columns for evidence and test state.

Tests: API (tests/grc.rs), Playwright (a real workflow run records a passing test; note → file replacement; download).

🤖 Generated with Claude Code

derpenstiltskin and others added 4 commits November 29, 2026 02:04
- Evidence per control in a program: notes, links, files (scanned,
  always downloaded) and test results; append-only, superseded by newer
  evidence, with valid-until dates (ADR-099).
- Control tests are workflows that record results with the new
  core.grc.record_test step; a pass is evidence for the test's validity
  period, a failure raises control.failed.
- core.grc.expiring_evidence and the Compliance evidence reminders pack
  tell program owners about evidence expiring within 14 days.
- The matrix shows current/expired evidence and test state; a page per
  control in a program for its evidence and tests.
- Also: the framework digest no longer depends on serde_json features
  (same fix as #270).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FB5egiieMza7X9uZ6i71GD
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FB5egiieMza7X9uZ6i71GD
@derpenstiltskin
derpenstiltskin merged commit b3743af into main Nov 29, 2026
14 checks passed
@derpenstiltskin
derpenstiltskin deleted the grc/evidence branch November 29, 2026 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant