Merge remote-tracking branch 'origin/main' into item-581
CI / tests (pull_request) Has been cancelled

# Conflicts:
#	CHANGELOG.md
#	README.md
This commit is contained in:
2026-12-04 05:16:07 +01:00
11 changed files with 82 additions and 304 deletions
+12 -24
View File
@@ -7,27 +7,14 @@ sys.path.insert(0, str(pathlib.Path(__file__).resolve().parents[1]))
from repo_checks import ROOT
PRIVATE = [
".claude/settings.local.json",
".credentials.json",
"auto-mode-transcripts/a.jsonl",
"backups/.claude.json.backup.1",
"daemon-auth-status.json",
"daemon.log",
"daemon/control.key",
"debug/a.txt",
"file-history/a/b.md",
"history.jsonl",
"jobs/a/b.json",
"memory/MEMORY.md",
"paste-cache/a.txt",
"projects/-home-a/a.jsonl",
"projects/-home-a/memory/MEMORY.md",
"projects/-home-a/memory/a.md",
"session-env/a/b.sh",
"sessions/a.json",
"shell-snapshots/a.sh",
"tasks/a/b.json",
GENERATED = [
"bin/__pycache__/a.cpython-313.pyc",
"bin/agent_cycle/__pycache__/a.cpython-313.pyc",
"presentation/build-release-explained.pdf",
"reviewer-merge-trials/agents-wave3.json",
"reviewer-merge-trials/clones/rm-a/b.py",
"reviewer-merge-trials/results/a/b.json",
"reviewer-merge-trials/runs.pkl",
"workflow-bench/a-1-1.md",
"workflow-bench/a-1-1/README.md",
"workflow-bench/compare/a/A1/fixes.diff",
@@ -44,6 +31,7 @@ class Gitignore(unittest.TestCase):
ignored = subprocess.run(["git", "ls-files", "-oi", "--exclude-standard", "--", "bin/*.py", "bin/**/*.py"], capture_output=True, check=True, cwd=ROOT, text=True).stdout
self.assertEqual(ignored, "")
def test_ignores_every_private_file(self):
ignored = subprocess.run(["git", "check-ignore", "--no-index", "--stdin"], capture_output=True, cwd=ROOT, input="\n".join(PRIVATE), text=True).stdout
self.assertEqual(ignored.splitlines(), PRIVATE)
def test_ignores_every_generated_file(self):
ignored = subprocess.run(["git", "check-ignore", "--no-index", "--stdin"], capture_output=True, cwd=ROOT, input="\n".join(GENERATED), text=True).stdout
self.assertEqual(ignored.splitlines(), GENERATED)