Repository navigation
Releases
grc-evidence 2.3.2
Scanner updates: the Python scanners grc bootstrap installs no longer carry dependencies with high or critical advisories.
Semgrep 1.184.0 (from 1.178.0). It allows PyJWT 2.15, so the fixed PyJWT is installed and make audit needs no exceptions: the six reviewed PyJWT exceptions in audit-ignore.yaml are removed. Semgrep's results on the sample app and its rule tests are unchanged.
Checkov 3.3.19 and Semgrep locks. certifi 2026.10.23 (GHSA-6q48-6c7w-9gw2, critical: compromised emSign intermediate CA keys), aiohttp 3.14.5 (three denial-of-service advisories) and GitPython 3.2.1 (CVE-2026-114145, code execution through submodule paths). No other pin moved.
No change to the engine, the base bundle, the output contract or OSCAL. The sample report shows three more Trivy CVEs in the sample app's own dependencies; those come from Trivy's vulnerability database, not from this release.
Upgrading. Install the new version and run grc bootstrap again so .tools/ gets the new scanners; grc check needs grc sync-base only for the base_version line.
Install: uv tool install git+https://github.com/cdevarenne/grc-evidence@v2.3.2.
grc-evidence 2.3.1
Base bundle: seven coverage gaps mapped, the first drafts from grc propose that a person reviewed and signed.
CC6.1. Harden the container runtime now also declares Trivy's capability and security-context checks: KSV-0003, KSV-0004, KSV-0106 (drop every Linux capability, adding back only NET_BIND_SERVICE) and KSV-0118 (no default security context).
CC6.6. New check Restrict pod traffic with a NetworkPolicy (policies/restrict-pod-traffic.md): Checkov's CKV2_K8S_6.
CC7.2. New check Log access to storage buckets (policies/log-bucket-access.md): Checkov's CKV_GCP_62 and Trivy's GCP-0077.
Not mapped: trivy:GCP-0078 (bucket versioning; its Checkov twin is labeled none in the triage eval set), trivy:GCP-0066 (customer-managed keys), and the rules that are triage evaluation cases, which stay gaps until the evaluation story (Spec G, G6).
What changes in a scan. Findings of these rules move from coverage gaps to their controls. A control can change status: in the sample app, CC7.2 goes from no-violations-detected to not-satisfied, since its bucket has no access logging, and coverage gaps go from 15 to 8. No change to the engine, the output contract or OSCAL's structure.
Upgrading. Run grc sync-base after installing, then grc check. knowledge/policies/index.md is kept if it has your own entries; merge its two new lines by hand.
Install: uv tool install git+https://github.com/cdevarenne/grc-evidence@v2.3.1.
grc-evidence 2.3.0
Spec G G4: coverage gaps arrive as reviewable mapping drafts, never as changes.
grc propose (make propose) turns grc triage's proposals into files for review, with no model call. Each gap triage mapped to an in-bundle control with high confidence becomes a draft Scanner Check concept, knowledge/policies/<tool>-<rule>.md, in out/agent/mapping.patch for git apply: tagged with the control, declaring the rule, with draft marker lines in # Rule and # Remediation. Every other gap, including a high-confidence one that cannot be drafted (control not in the bundle, a rule id with wildcard characters, an existing file), is a row of out/agent/gaps.md, an issue body for gh issue create -F. It writes nothing outside out/agent/, never edits a reviewed concept, and quotes scanner and model text on one line. Once the patch is applied, grc check fails until a person writes each section, deletes the markers and signs the concept.
out/proposals.json names its inputs. It is now an object: mapping_sha256, model, variant, abstain_on, and proposals. grc propose refuses proposals made from another mapping.json, and the list format of 2.2.0 and earlier, with "rerun grc triage".
Any signed concept with a draft marker fails to load, not only a suppression.
The evidence ledger takes only clean runs (#141). grc run appends to evidence/ledger.jsonl only when its inputs are exactly the commit (dirty: false in run.json); otherwise it says so and appends nothing.
The agent skill runs grc propose after grc triage and never applies, signs or files the drafts unasked. No change to statuses, OSCAL, the report or the output contract.
Install: uv tool install git+https://github.com/cdevarenne/grc-evidence@v2.3.0. Spec: docs/superpowers/specs/2026-10-01-mini-spec-g-agentic-workflows.md (G4). Plan: docs/superpowers/plans/2026-10-12-mini-spec-g-g4-gap-to-mapping-plan.md. Issues: #141, #158–#161.
grc-evidence 2.2.0
Spec I Part A: keep up with new findings without accepting anything unsigned.
One suppression, several named files. A suppression may list finding.targets (two or more files) in place of target: one owner, reason, expiry and signature cover one rule in every listed file. Still no wildcards; a new file with the same advisory is a new finding until a person adds it. A listed file that matches no finding is reported under Unused suppressions (unused_targets in mapping.json, output contract 1.4).
grc suppress draft. Writes a pending suppression from the last scan, with every field except the reason and verified, plus what the scanner reported for each file. It refuses a file with no such finding, an accepted risk on a coverage gap, a finding another suppression already names, --days outside 1 to 90, and an owner that is not human:<name>. Until a person writes the reason and signs it, the scan lists it as pending and grc check fails on it; a signed file that still has a draft marker line fails to load.
grc gate prints the draft command for each new finding it fails on, one per tool and rule id with every failing file, in its failure message and under Draft suppressions in the job summary. Every value is shell-quoted; the owner is printed as 'human:<you>', which the command refuses until you put your name.
No change to statuses, OSCAL or the report for bundles without targets, apart from the contract version.
Install: uv tool install git+https://github.com/cdevarenne/grc-evidence@v2.2.0. Spec: docs/superpowers/specs/2026-10-12-mini-spec-i-part-a-suppression-drafts.md. Issues: #143, #153–#157.
grc-evidence 2.1.0
grc-evidence 2.1.0 reads the bundle with okflib as well as its own parser, and asks a person to review a concept again when its verification gets old (Spec J). No scan output changes.
uv tool install 'grc-evidence[llm,mcp] @ git+https://github.com/cdevarenne/grc-evidence@v2.1.0'
okflib checks every concept
okflib 0.5.0 (Apache-2.0) is a runtime dependency, pinned exactly. It reads each concept's OKF fields and v0.2 signals (generated, verified, stale_after) next to the engine's own parser, which stays the source of the frontmatter, the body and the links. A field okflib cannot read, such as a malformed date or a verified that is not a list of stamps, now fails the load with the file's path. okflib's LLM and MCP modules are never imported.
On five bundles (this repo's knowledge/, the base bundle, the demo's, two test fixtures), every parsed concept and the mapping, OSCAL and report built from them are byte-identical to 2.0.1.
Review intervals
A review: section in grc.yaml sets how long a person's verification stays valid, per concept type:
review:
default: 1y
by_type:
Stack Component: 90d
Crosswalk: 6m
warn_before: 30d
base: warnA concept is due at its latest human: verification plus its interval, or at its own stale_after, whichever is earlier. grc check warns before the date and fails after it. An overdue base-bundle copy only warns in an adopter's repo (base: warn), because only an engine release can re-verify it. Suppressions keep their own expires. Without a review: section, only stale_after counts, so nothing changes until you opt in.
Also
- Schemas for the bundle's extension fields (
rule_ids,framework,applies_when,sdks, the suppression fields,base_version) insrc/grc_evidence/data/schemas/concepts/, described indocs/okf-extensions.md. They cover field syntax; rules across fields, the body or the bundle stay load-time checks. make renderusesokflib viewfor the interactive graph, so the OKF reference visualizer's git pin (OKF_COMMIT) is gone fromtools.lock.make graph-imagedraws the README's picture with Graphviz, colored by folder.
Breaking change
- The
okf_grcalias is removed. 2.0 keptimport okf_grcworking with a deprecation warning; 2.1.0 drops it. Importgrc_evidence.
Fixes
LLM_MODE=claude-cliworks again with current Claude Code. Claude Code now passes--json-schemato the model as a tool whose property names cannot contain:, sogrc narratefailed on control keys such assoc2:cc8.1, with an empty error. The engine now renames those keys for the call and back in the answer, and an error shows Claude Code's own message.
Upgrading from 2.0.1
grc sync-base # base_version 2.1.0; the base bundle's content did not change
Optional: add a review: section to grc.yaml (see docs/new-repo.md).
Full Changelog: v2.0.1...v2.1.0
grc-evidence 2.0.1
grc-evidence 2.0.1 makes three fixes found while setting up the demo repository's Type 2 evidence.
uv tool install 'grc-evidence[llm,mcp] @ git+https://github.com/cdevarenne/grc-evidence@v2.0.1'
Fixes
- A suppression applies only once a person verified it. A suppression with no
verifiedentry byhuman:...is now pending: not applied, and listed under Pending suppressions with the reason "not verified by a person". In 2.0.0 a drafted suppression took effect as soon as the file existed; onlygrc checkobjected. grc gatenever fails on achange-*finding. A change merged without an independent approval comes from a repo's merge history, not from the change under review, so it is evidence for the window (in the mapping, the report, the population and the ledger), not a regression. A newscm-*finding, such as a branch rule turned off, still fails.grc run --no-collectskips the GitHub collectors and the evidence ledger, for pull request runs: no token or salt is needed, and an outage of the GitHub API does not fail an unrelated pull request. Collect on a schedule.
Output contract 1.3 (additive)
Each pending_suppressions entry in mapping.json gives a reason.
Upgrading from 2.0.0
grc sync-base # base_version 2.0.1; the base bundle's content did not change
Check that every suppression you rely on has a verified entry by a person: grc check lists any that do not, and 2.0.1 no longer applies them.
Full Changelog: v2.0.0...v2.0.1
grc-evidence 2.0.0
grc-evidence 2.0.0 collects SOC 2 Type 2 evidence over an audit window, and renames the package from okf-grc to grc-evidence.
uv tool install 'grc-evidence[llm,mcp] @ git+https://github.com/cdevarenne/grc-evidence@v2.0.0'
Type 2 evidence over a window (Spec H Part A)
A scan of one commit shows one day. A Type 2 audit asks whether controls operated over months. With a window and a list of GitHub repos in grc.yaml, grc run now also reads each repo through the GitHub API, read only and without a clone:
- Repo settings (
scm-*findings): required reviews, required checks, who can bypass them (admins, ruleset bypass actors in any mode, classic review bypass allowances), and whether each scanner job can fail the build. Rules the token cannot read givescm-rules-unreadable, never a pass. - Change population (
change-*findings): every change merged into a production branch in the window, with its author, merger and independent approvers, and the count of all merged changes beside it. An approval counts only when the reviewer can push to the repo and approved the final commit; a comment does not withdraw it. A bot's review counts only whengithub.accepted_botslists it with a reason, and the change is then flaggedbot_approval. - Evidence ledger:
evidence/ledger.jsonl, append-only JSON Lines with a hash chain.grc ledger verifyfails on an edited, deleted, reordered, back-dated or future-dated line. Written only whengrc.yamlhas awindow. grc sample --list FILE: the evidence for the changes an auditor sampled: approvers, CI conclusion, scanner checks, and what is missing.grc window: each control's history over the window from the ledger'srunentries, with its gaps.people: pseudonymous: logins becomep-plus an HMAC with a salt that is never written, and titles are left empty, for outputs that are published.
Each rule fails closed: a review or check list cut at 100, a collector that did not run, a 404 other than "Branch not protected", and a rate limit (the run stops, writes nothing and names the retry time) are never read as a pass. The MCP scan tool never runs the collectors or writes the ledger. See docs/limits.md for what is not covered.
examples/collect/ holds a population and a sample from Google's microservices-demo, June to August 2026, pseudonymized and reproducible offline (make examples-h).
Breaking changes
- Package and module:
okf-grcis nowgrc-evidence, and the moduleokf_grcisgrc_evidence.import okf_grcstill works for one minor release, with aDeprecationWarning. The CLI staysgrc. - OSCAL property namespace:
https://github.com/cdevarenne/grc-evidence/ns/oscal(was.../okf-grc-skill/ns/oscal). - MCP server name:
grc-evidence, so its tools aremcp__grc-evidence__*in a run's config. run.json:engine.packageisgrc-evidence, and the resolved config has the new keys, so the layout hash changes.
Output contract 1.2 (additive)
Tool github and targets github:<owner>/<name>[#n] in findings; collect/github-findings.json lists the collectors that ran; run.json hashes the collect/ outputs a run wrote.
Upgrading from 1.8.1
uv tool install 'grc-evidence[llm,mcp] @ git+https://github.com/cdevarenne/grc-evidence@v2.0.0'
grc sync-base # base_version 2.0.0; adds scanners/github.md (CC8.1)
Without window or github in grc.yaml, scan results and the gate do not change: on the demo repository, 1.8.1 and 2.0.0 give the same 19 control statuses, 420 findings on controls and 5 coverage gaps.
Full Changelog: v1.8.1...v2.0.0
v1.8.1
okf-grc 1.8.1 closes a hole in 1.8.0's number binding, found on its first run on the demo repository.
uv tool install 'okf-grc[llm,mcp] @ git+https://github.com/cdevarenne/okf-grc-skill@v1.8.1'
Fixes (#125)
- A number beside an identifier binds to it, not to a matching total. 1.8.0's first
posturedraft on the demo repository wrote "trivy:CVE-2026-44432 (4), and 7 more CVEs at 4 findings each". 7 was the right figure, but a count no tool reports; it passed only because 7 was also a reported total (seven controls not satisfied), and a wrong 7 would have passed the same way. Now a number within 16 characters after a control, rule, or suppression, or right before one ("12 deny_latest_tag"), must be that identifier's count. Reported totals bind only numbers farther from any identifier, which can still match one by coincidence. - Dates written with a month name ("active through December 30") are read as the reported date they are, not as a count.
suppressionsreportsfindings_by_suppression, how many findings each applied suppression covers, so a draft can state it.
On the demo repository
The posture run with 1.8.1 gave three rules a range ("each have 12-13 findings"); that draft was rejected, and the correction round put each count next to its rule: CKV_K8S_43 (13), CKV_K8S_14 (12), deny_latest_tag (12), KSV-0013 (12), all matching the scan. Both attempts are a replay test. The drafts recorded under 1.8.0, including the one 1.8.0 passed after correcting it, are rejected under 1.8.1; the tests keep them as examples.
Upgrading from 1.8.0
grc sync-base # base_version 1.8.1; the base bundle's content did not change
No change to scan results, the gate, or output contract 1.1.
Full Changelog: v1.8.0...v1.8.1
v1.8.0
okf-grc 1.8.0 binds every number in an agent's draft to what it counts. A review of the demo repository's posture draft from 1.7.0 found "plus 11 additional CVEs at 4 findings each": 11 was a number the tools had reported, so 1.7.0's validation passed it, but the right figure was 7. This release closes that gap and shows it closed on the same outputs.
uv tool install 'okf-grc[llm,mcp] @ git+https://github.com/cdevarenne/okf-grc-skill@v1.8.0'
Changed: validation binds numbers (#124)
- A count in a field must be that thing's count: a draft's
{key, findings}or{rule, findings}must match what the tools reported for that control or rule, exactly. - A number in text must be the count of what it sits next to: the control or rule before or after it in the same sentence, or the object it belongs to, or a total the tools reported. In 1.7.0 it only had to appear somewhere in the tool results. Run ids, reported dates and their years, ids the tools returned verbatim, and framework names are names, not counts.
- One correction round: a rejected draft goes back to the model once with the reasons, on the budget that is left; the record keeps every attempt, and the agent ledger has a line for each.
- On the demo repository's outputs, the first draft put "11 rules at 4 findings each" next to soc2:cc7.1. It was true this time, but no tool reports how many rules share a count, so it was rejected; the corrected draft left it out and passed. Binding cannot tell a true derived count from a false one: a number reaches a person only if a tool reported it for that thing. A person still reviews the words; the same corrected draft called CC7.1 "system monitoring".
- The drafts recorded under 1.7.0 are now rejected, for a group named only in words ("namespace isolation violations (41)") and for per-tool counts the model added up itself; the tests keep them as examples.
Changed: MCP tools
findingsacceptslimit0 and then returns onlytotalandby_rule. Claude Code saves a very large tool result to a local file and shows the model a preview, which the validator cannot read;posture(prompt version 2) asks for totals instead.
Upgrading from 1.7.0
grc sync-base # base_version 1.8.0; the base bundle's content did not change
No change to scan results, the gate, or output contract 1.1. Agent runs record rejected_attempts.
Full Changelog: v1.7.0...v1.8.0
v1.7.0
okf-grc 1.7.0 adds grc agent, a runner for agent workflows (Spec G, story G2), and its first workflow, posture: a summary of the latest scan for the repository's owner, written only if every number and status in it checks out against what the tools returned.
uv tool install 'okf-grc[llm,mcp] @ git+https://github.com/cdevarenne/okf-grc-skill@v1.7.0'
grc run && LLM_MODE=claude-cli grc agent posture
New: grc agent
- Two providers, one transcript:
LLM_MODE=claude-cliruns Claude Code headless on the person's Claude plan;LLM_MODE=anthropicruns the Messages API through the SDK's tool runner (a beta helper) with an in-process MCP client;replayreplays recorded runs in tests. - Only the workflow's tools: with the API, other tools are never sent; with Claude Code, built-in tools are off, only this engine's MCP server is loaded, the workflow's tools are allowlisted, and calls to any other are denied and recorded. User and project settings, hooks, plugins, skills, and
CLAUDE.mdare kept out of the run: testing showed that without that, a headless run loaded the person's own instructions. - Validation before writing: every number in the draft must appear in a tool result of the run (digits, or words from zero to twenty), cited controls must exist, a status given to a control must be its own, and no control may be called satisfied or compliant. A rejected draft is not written; the run record keeps it with the reasons. It checks that numbers were reported, not that they are attached to the right thing.
- Limits:
AGENT_BUDGET_USD(default $0.25) andAGENT_MAX_TURNS(default 8), separate from narration's budget. Claude Code applies the budget after the turn that passes it, so a run can end slightly over. - A record of every run under
out/agent/: the tool calls with their results, denials, turns, usage, cost and whether it was billed, and the validation result; the draft as Markdown when it passed; usage inout/agent/usage.jsonl, apart from the report's narration ledger. posture: may callcontrol_status,findings,gaps, andsuppressions, neverscanorgate. On the demo repository a run took 3 turns, reported at $0.07 to $0.09 on the plan (not billed); through the API on this repository's sample app, $0.037.
See docs/agents.md.
Changed: the MCP tools report totals
So that an agent never computes one: control_status adds by_status and findings_by_status, gaps adds rules and findings, findings adds by_rule (over every page of the filter), and suppressions adds counts. The additions are new fields; existing ones are unchanged.
Upgrading from 1.6.0
grc sync-base # base_version 1.7.0; the base bundle's content did not change
No change to scan results, the gate, or output contract 1.1.
Full Changelog: v1.6.0...v1.7.0