Skip to content

AK-508: add root .gitignore for agent gate-findings dirs - #2

Draft
benw5483 wants to merge 2 commits into
mainfrom
gitignore-agent-findings-dirs
Draft

AK-508: add root .gitignore for agent gate-findings dirs#2
benw5483 wants to merge 2 commits into
mainfrom
gitignore-agent-findings-dirs

Conversation

@benw5483

@benw5483 benw5483 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a root .gitignore. This repo had none. A subtree-scoped npm/.gitignore covering CI binary payloads already exists, and this change leaves it alone.
  • Ignores .architect/ and .reviewer/, the review-findings directories that automated coding-agent tooling writes at the repo root of a working tree. They hold internal run identifiers and raw review commentary, so a broad git add -A recovery could otherwise sweep them into a PR.
  • Adds the baseline this repo's languages call for: .DS_Store, plus node_modules/ because the repo ships five npm package manifests. There are no Python, Go, or Rust sources here, so ignores for those were deliberately left out.

Nothing matching was already tracked

git ls-files | grep -E '^\.(architect|reviewer)/' returns empty, so no findings were ever committed here and nothing needs untracking. This change is purely a forward-looking guard.

The diff is additive: one new file, 11 insertions, no deletions. No existing ignore entry was removed or reordered, and no other file in the repo was touched.

Test plan

  • git ls-files | grep -E '^\.(architect|reviewer)/' is empty
  • git check-ignore -v resolves each pattern against a probe file: .architect/round-1.findings.json, .reviewer/round-1.findings.json, node_modules/probe/index.js, .DS_Store
  • With probe files planted in all four locations, git add -A stages .gitignore and nothing else. That is the recovery move this change exists to make safe.
  • git status --porcelain is clean once the probes are removed, and npm/.gitignore is unmodified

Generated by the operator's software factory.
• City: factory-main · Agent: local-core.builder-5
• On behalf of: @benw5483

benw5483 and others added 2 commits July 28, 2026 20:06
Factory agents write .architect/ and .reviewer/ gate-findings directories at
the repo root of every worktree. They carry internal identifiers and raw
review commentary. This repo had no root .gitignore, so a broad `git add -A`
recovery could sweep them into a PR.

Adds a root .gitignore with those two entries, plus the baseline appropriate
to this repo's languages: .DS_Store, and node_modules/ because the repo ships
five npm package manifests. No Python, Go, or Rust sources are present here,
so ignores for those were deliberately left out.

Verified before committing that no tracked file already matched the new
patterns, and confirmed by probe that a broad `git add -A` with findings dirs
present stages nothing but this file. The existing npm/.gitignore, which
covers CI binary payloads, is untouched.

Generated by the operator's software factory.
City: factory-main · Agent: local-core.builder-5
On behalf of: @benw5483
Co-Authored-By: <operator-factory-bot> <factory-bot@actual.invalid>
The three sibling repos in this sweep all carry a de-jargoned version of
this comment: "Coding-agent review-findings dirs" rather than "Agent gate
findings dirs (architect/reviewer rounds)", and "internal run identifiers"
rather than the internal task-tracker vocabulary.

This repo is public and had been left on the older wording. The revision
exists precisely so that internal vocabulary does not ship into a public
repo, so this brings the file in line with the other three byte for byte.

Comment text only. The ignored paths, the baseline entries, and every
other file are unchanged, and the probe check still shows a broad
`git add -A` staging this file and nothing else.

Generated by the operator's software factory.
City: factory-main · Agent: local-core.builder-5
On behalf of: @benw5483
Co-Authored-By: <operator-factory-bot> <factory-bot@actual.invalid>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant