chore: add a gitignored .ai/ scratch space for cross-agent work - #29
Merged
Conversation
More than one agent works on this repository and they do not share a session, so they need somewhere on this machine to leave work for each other: audits, generated snapshots, scratch. The directory is gitignored in full, which is the point. It holds working notes, never decisions. The contract lives in tracked files — the invariants, the tests, the public types — so an audit that changes something must land that change in a tracked file in the same session or it did not happen. A finding that exists only in .ai/ is lost the moment the directory is cleaned. AGENTS.md also states the two consequences that are easy to get wrong: a file in .ai/ is one tool's opinion against a commit that may no longer exist, so it gets verified against the code like any external source; and nothing secret goes in a directory that is untracked rather than protected.
Nothing in the repository writes an architecture snapshot, and AGENTS.md says to add structure only when something uses it. An empty convention nobody produces is scaffolding, so the directory goes until there is a generator. Audit filenames lead with the date. Grouping by type first meant a listing interleaved dates and buried the newest file; the order you want when scanning a directory of audits is the order they happened.
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.
What
Gitignored in full, documented in
AGENTS.md. Verified withgit check-ignore -vrather than assumed.The rule that makes it safe
.ai/holds working notes, never decisions. Two PRs ago this repositoryremoved an external "source of truth" document that nobody could read, and the
whole point was that the contract lives in tracked files. An untracked scratch
directory could quietly recreate that problem, so
AGENTS.mdstates theopposite up front: an audit that changes something must land that change in a
tracked file in the same session, or it did not happen.
Plus two consequences that are easy to get wrong:
.ai/is one tool's opinion against a commit that may no longerexist. Verify claims against the code, same as any external source.
Impact
No source, no tests, nothing in the published tarball. No version bump.