chore: scrub fleet-scale metrics from the release knowledge base - #3216
Merged
vpetersson merged 1 commit intoJul 27, 2026
Merged
Conversation
The anthias-release skill (shipped in the curated KB) carried a handful of business-sensitive operational specifics that a PII scrub misses because they're not identifiers: absolute fleet/device counts (pin backlog size, registered/online totals, per-incident device counts) and the exact WAF-bypass detail for the balena actions endpoint. Redact those to qualitative descriptions and keep every engineering lesson intact — bulk-PATCH mutates the whole matching set, only online devices are HUP-able, the resinhup trigger needs a descriptive User-Agent, the pre-rebrand path-migration regression, the pi4 dtparam reboot-loop. No counts, no endpoint/error-code specifics. Follow-up to the knowledge-base PR. Note: this only cleans the current tree; the numbers remain in that PR's git history. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HJ3ucEkn62cbgPoisAZ5LQ
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Follow-up to the curated Claude knowledge base (#3210).
Why
The PII scrub on #3210 correctly caught identifiers (IPs, emails, tokens, UUIDs, MACs). But a regex scrub doesn't catch business-sensitive operational data, and the
anthias-releaseskill carried some: absolute fleet/device counts and the exact WAF-bypass detail for the balena actions endpoint. On a public repo those are a disclosure decision, not engineering content.What
Redact the quantities and the bypass specifics to qualitative descriptions, keeping every engineering lesson intact.
anthias-release/SKILL.mdonly, 5 lines:15k devices in seconds/32,319-device pin backlogthe whole matching set in seconds/a large pin backlogactions.<…>/resinhupendpoint,error code: 1010,failed 581/581, "Cloudflare 403s … set ANY UA → 202"~1700 of ~42k registereda minority of the registered fleet~48 devices healedhealed the affected devices~16.9k devices; unpinned pi4 = 0/69 onlinethe entire pi4 fleet; unpinned pi4 devices went offlineThe actionable knowledge is unchanged — bulk-PATCH mutates the whole matching set, only online devices are HUP-able, the resinhup trigger needs a descriptive User-Agent, the pre-rebrand path-migration regression, the pi4 dtparam reboot-loop.
Caveat
This cleans the current tree only. The original numbers remain in #3210's git history and any existing clones/forks — history isn't rewritten here.
All skills remain tracked (no
.gitignorechange).🤖 Generated with Claude Code
https://claude.ai/code/session_01HJ3ucEkn62cbgPoisAZ5LQ