1
0
Fork 0
forked from lukas/nixos-config
nixos-config/hosts/blunix/localServices/agent-codex
pijukka 5b96dc072f agent-codex: scope Builder's git add to its own changes only
commit_and_push previously ran `git add -A`, which would sweep up any
unrelated uncommitted work already sitting in the working tree (not
just what the Builder itself wrote this turn) into its commit.

stash_foreign_changes now stashes (push --include-untracked) whatever
was already dirty before Codex runs, so the tree Codex/git add -A sees
only ever contains this job's own changes; restore_foreign_changes pops
it back afterward regardless of success/failure (wrapped in try/finally
in process_job). Covered by a real tempdir git-repo integration test,
not just mocks.
2026-07-30 10:57:41 +02:00
..
builder.py agent-codex: scope Builder's git add to its own changes only 2026-07-30 10:57:41 +02:00
listener.py agent(xmpp): persist Codex sessions 2026-07-30 00:08:28 +02:00
test_agent_codex.py agent-codex: scope Builder's git add to its own changes only 2026-07-30 10:57:41 +02:00
worker.py agents: aktualisiere Builder-Schreibtest 2026-07-30 10:51:33 +02:00