-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.json
More file actions
12 lines (12 loc) · 1.08 KB
/
Copy pathexample.json
File metadata and controls
12 lines (12 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
{
"//": "EXAMPLE verification record — copy this file, then FILL IN every field. The gate BINDS it to your diff: every risk-triggering path in the commit must be named somewhere in this record, `checks` and `evidence` must be non-empty, and `date` must be today (within record_max_age_days, default 3). Records are read from the git INDEX, so stage the final version. Schema + rules: scripts/harness-gates/README.md.",
"//date": "Ships as the literal placeholder YYYY-MM-DD so this example can never rot into a stale-but-real-looking date. Unfilled, the gate rejects it with a message telling you exactly that.",
"diff": "touches .env and scripts/harness-gates/commit_gate.py — name every risk path here (or in `files`)",
"files": [".env", "scripts/harness-gates/commit_gate.py"],
"checks": [
"python3 scripts/harness-gates/commit_gate_test.py — all cases pass",
"secret scan clean on the staged diff"
],
"evidence": "Paste the command output or a pointer to it. Empty evidence fails the gate on purpose — a record with nothing in it is a rubber stamp.",
"date": "YYYY-MM-DD"
}