Repository navigation
fix(security): gitignore guards for the #424 credential-debris class - #2296
Merged
Merged
Conversation
…— root work-*/ + nested .airc/identity.key The 2026-08-14 audit found an escaped agent workspace at the repo root (work-team-wordstats/) carrying a live .airc/identity.key. Manual quarantine was required because git offered no guard: the root-anchored `.airc/*` rule does not cover scopes minted inside subdirectories, and only /core/work-*/ (not root-level work-*/) was ignored. Two rules close the class, both positive-controlled with git check-ignore: - /work-*/ root-level agent/persona scratch can never be tracked - **/.airc/identity.key a nested scope's credential is untrackable anywhere The root .airc whitelist (POLICY.md, manifest.json) is unaffected. The substrate half is already fixed in-tree: ensure_engine roots persona hands at the citizen layer and ensure_shell follows the engine root (both carry their own regression comments). The quarantined dirs are deleted and the key destroyed per owner authorization; enrolled peers were tier=untrusted, so no live trust referenced it. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
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.
Closes the guard gap behind the 2026-08-14 credential-workspace leak (audit card #424): an escaped agent workspace at repo root (
work-team-wordstats/) carried a live.airc/identity.keyand required manual quarantine because git offered no protection.Two rules, both positive-controlled with
git check-ignore:/work-*/— root-level agent/persona scratch dirs can never be tracked (mirrors the existing/core/work-*/)**/.airc/identity.key— a nested airc scope's credential is untrackable anywhere in the tree (the root-anchored.airc/*rule never covered nested scopes)Root
.aircwhitelist (POLICY.md, manifest.json) verified unaffected. Substrate half already fixed in-tree (ensure_enginecitizen-layer rooting +ensure_shellfollows the engine root). Quarantine deleted and key destroyed per owner authorization; the enrolled peers are tier=untrusted, so no live trust referenced the key.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo