Skip to content

Commit 53e6f42

Browse files
authored
docs: include recording security counts in truth query (#67)
1 parent 317c315 commit 53e6f42

1 file changed

Lines changed: 21 additions & 2 deletions

File tree

docs/demo-proof/2026-06-07/RECORDING-CHECKLIST.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,29 @@ the script in `../../../DEMO-SCRIPT.md`.
66

77
The numbers below are historical proof values for this captured local package.
88
For a new live recording, regenerate the proof package and query the current
9-
canonical snapshot before writing spoken lines:
9+
canonical artifacts before writing spoken lines:
1010

1111
```sh
12-
jq '{generated_at,total:(.projects|length),counts:.source_summary.attention_state_counts}' output/portfolio-truth-latest.json
12+
jq '
13+
def security_sum($field): ([.projects[] | (.security[$field] // 0)] | add) // 0;
14+
{
15+
generated_at,
16+
total:(.projects|length),
17+
attention_counts:.source_summary.attention_state_counts,
18+
security:{
19+
scanned:([.projects[] | select(.security.alerts_available == true)] | length),
20+
with_open_high_critical:([.projects[] | select(((.security.dependabot_critical // 0) + (.security.dependabot_high // 0) + (.security.code_scanning_critical // 0) + (.security.code_scanning_high // 0) + (.security.secret_scanning_open // 0)) > 0)] | length),
21+
dependabot_critical:security_sum("dependabot_critical"),
22+
dependabot_high:security_sum("dependabot_high"),
23+
code_scanning_critical:security_sum("code_scanning_critical"),
24+
code_scanning_high:security_sum("code_scanning_high"),
25+
secret_scanning_open:security_sum("secret_scanning_open")
26+
},
27+
tool_provenance:([.projects[].declared.tool_provenance // "unknown"] | group_by(.) | map({key:.[0], count:length}))
28+
}' output/portfolio-truth-latest.json
29+
30+
latest_weekly=$(ls -t output/weekly-command-center-*.json | head -n 1)
31+
jq '{generated_at,decision}' "$latest_weekly"
1332
```
1433

1534
## Preflight

0 commit comments

Comments
 (0)