odysseus/website
Léo 34f01c0b58 fix(agent): capture Windows Bash output and pass the subprocess env
The Windows branch of `_create_bash_subprocess` spawned Git Bash with
neither pipes nor the env it was handed. `proc.stdout` and `proc.stderr`
came back `None`, so `_run_subprocess_streaming`'s reader returned
immediately and the Bash tool reported `"(no output)"` alongside the real
exit code — while the child inherited the server's own stdout/stderr and
wrote agent command output into the console and the launchd/Docker logs.

The `env` parameter was accepted and never used, so `PATH`, `VIRTUAL_ENV`,
`HOME`, `TMPDIR` and the configured import paths carried in
`ctx["subproc_env"]` never reached the child on Windows, even though every
POSIX path applies them.

Spawn it the way the POSIX path at `:688` already does: `stdin=DEVNULL`,
`stdout=PIPE`, `stderr=PIPE`, `env=env`.

`website/configuration-reference.md` is generated from source line numbers,
so the four added lines shift one entry; regenerated with
`scripts/generate_env_reference.py`.
2026-10-01 16:48:05 +02:00
..
_config.yml refactor(docs): separate Pages site source (#6176) 2026-08-27 10:20:36 +02:00
agent-migration.md refactor(docs): separate Pages site source (#6176) 2026-08-27 10:20:36 +02:00
attachments.md refactor(docs): separate Pages site source (#6176) 2026-08-27 10:20:36 +02:00
backup-restore.md refactor(docs): separate Pages site source (#6176) 2026-08-27 10:20:36 +02:00
bg.webm refactor(docs): separate Pages site source (#6176) 2026-08-27 10:20:36 +02:00
chat.webm refactor(docs): separate Pages site source (#6176) 2026-08-27 10:20:36 +02:00
compare.webm refactor(docs): separate Pages site source (#6176) 2026-08-27 10:20:36 +02:00
configuration-reference.md fix(agent): capture Windows Bash output and pass the subprocess env 2026-10-01 16:48:05 +02:00
document.webm refactor(docs): separate Pages site source (#6176) 2026-08-27 10:20:36 +02:00
email-outlook.md refactor(docs): separate Pages site source (#6176) 2026-08-27 10:20:36 +02:00
gallery.webm refactor(docs): separate Pages site source (#6176) 2026-08-27 10:20:36 +02:00
index.html refactor(docs): separate Pages site source (#6176) 2026-08-27 10:20:36 +02:00
notes.webm refactor(docs): separate Pages site source (#6176) 2026-08-27 10:20:36 +02:00
original-harness-capability-policy.md Squash Odysseus development history 2026-09-11 06:04:19 +00:00
photo-editor-audit.md Squash Odysseus development history 2026-09-11 06:04:19 +00:00
pr-blocker-audit.md refactor(docs): separate Pages site source (#6176) 2026-08-27 10:20:36 +02:00
research.webm refactor(docs): separate Pages site source (#6176) 2026-08-27 10:20:36 +02:00
security-ci.md refactor(docs): separate Pages site source (#6176) 2026-08-27 10:20:36 +02:00
setup.md docs: generate the ODYSSEUS_* configuration reference from the source 2026-09-30 15:11:19 +02:00
sft-expansion-launch-ledger-20260830.md Squash Odysseus development history 2026-09-11 06:04:19 +00:00
sft-style-contract.md Squash Odysseus development history 2026-09-11 06:04:19 +00:00
theme.webm refactor(docs): separate Pages site source (#6176) 2026-08-27 10:20:36 +02:00