From e67379aca4dfc304bb45cf07f87bbe47d1aa1115 Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Thu, 29 Oct 2026 20:09:27 -0500 Subject: [PATCH 1/2] chore: ignore runtime residue (local state, session dirs, config backups, stray redirects) --- .gitignore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index 03b209884..ceeaa0e38 100755 --- a/.gitignore +++ b/.gitignore @@ -160,3 +160,11 @@ codedb.snapshot /*.log .opencode/antigravity-accounts.json .opencode/opencode-notifier-state.json + +# Runtime residue from fleet sessions and local tooling (2026-10-29): +# local state, session working dirs, config backups, stray redirect captures. +/.local/ +/bin/work/sessions/ +.opencode/*.bak-* +/r.out +/r.err From 84eebbc5061796839ebf5daafba58a6085fec860 Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Thu, 29 Oct 2026 21:52:25 -0500 Subject: [PATCH 2/2] fix(gitignore): stop ignoring session work dirs and config backups bin/work/sessions/ holds real session work products (agent notes, queue packets, probe reports - 633MB of them were swept aside on 2026-10-29) and .opencode/*.bak-* files are config audit references. Per Drew (2026-10-29): files should not be ignored; residue is handled by moving it to dated dirs, not by hiding it. Keeps only /.local/ (gh runtime state) and the two stray redirect captures /r.out and /r.err. --- .gitignore | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index ceeaa0e38..140ae3af5 100755 --- a/.gitignore +++ b/.gitignore @@ -161,10 +161,14 @@ codedb.snapshot .opencode/antigravity-accounts.json .opencode/opencode-notifier-state.json -# Runtime residue from fleet sessions and local tooling (2026-10-29): -# local state, session working dirs, config backups, stray redirect captures. +# Runtime residue from local tooling (2026-10-29): gh state dir and +# stray shell redirect captures only. Session working dirs +# (bin/work/sessions/) and config backups (.opencode/*.bak-*) are NOT +# ignored: sessions leave real work products there (agent notes, queue +# packets, probe reports) and config backups are audit references - +# hiding them behind .gitignore loses work. They are cleaned by moving +# them to dated residue dirs (e.g. ~/primary-residue-2026-10-29), never +# by ignoring them. Drews call, 2026-10-29: fix so files arent ignored. /.local/ -/bin/work/sessions/ -.opencode/*.bak-* /r.out /r.err