feat(ci): kvb-ci-track keeps one fingerprinted list of CI failures until each is acked

New skill kvb-ci-track: track.py add/poll/wait/ack/known follows workflow runs, PR checks, code-scanning and secret alerts and issues, clusters each failing job by its failing line (ci_failures.failing, now split from signature without a change in behaviour), fingerprints every cluster, and prints only clusters nobody acked yet. A failing line that matches a hotfix register signature carries that hotfix as a hint. kvb-ci-observe and kvb-ci-triage poll through it instead of re-reading every log; kvb-ci-artifacts names failing().

Untrusted text never reaches the terminal raw: printable() drops every character str.isprintable() refuses (escape sequences, zero-width characters), a tab or other whitespace control becoming a space. masked() runs it before hiding URL credentials, assigned secrets and 24-character tokens, and report() cleans every cell, so a log line, title or job name cannot send a terminal sequence, forge a tab-separated cell or dodge an ack with an invisible character.

Tests: tests/test_ci_track.py, including test_control_and_zero_width_characters_never_reach_a_cell. Written, not run: the full suite runs once on master after all bundles (operator order). Both new expectations checked inline; ci_failures.signature() proven identical on every path, the empty-log sentinel included.

Security: MEDUSA over the staged tree on master: 100, 8 files covered, 0 findings. 6 low findings accepted as false positives after a skeptic review and the operator's accept on 2026-11-22: MP-SCAN-1781 at track.py 516, 557, 571, 572 and MP-SCAN-1878 at 557, 571, all on the word 'ack' in the CLI's own subcommand and messages.

🎯 Fix: 90 %
💥 Break: 4 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 86
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kevin Veen-BirkenbachandClaude Opus 5.5 committed 2026-11-22 22:09:28 +00:00
1 parent 144dbf1941
commit f0d5eafcac
8 files changed
+946 -29

No files matched your search

+6
View File
@@ -47,6 +47,7 @@ flowchart LR
ci --> ci_triage[kvb-ci-triage]
ci --> ci_artifacts[kvb-ci-artifacts]
ci --> ci_observe[kvb-ci-observe]
ci --> ci_track[kvb-ci-track]
git --> git_commit_next[kvb-git-commit-next]
git --> git_commit_no_verify[kvb-git-commit-no-verify]
git --> git_merge_fix[kvb-git-merge-fix]
@@ -160,6 +161,7 @@ flowchart LR
triage[kvb-ci-triage]
ci_artifacts[kvb-ci-artifacts]
observe[kvb-ci-observe]
track[kvb-ci-track]
end
subgraph cat_git [git]
commit_next[kvb-git-commit-next]
@@ -339,6 +341,10 @@ flowchart LR
observe --> triage
observe --> ci_artifacts
observe --> track
triage --> track
track --> ci_artifacts
track --> hotfix
triage --> ci_artifacts
triage --> democracy
triage --> dialectic