open-swe/tests
Adam Moussa 1ba5ccc65d
harden PR guards + sidebar after security review
- Mirror upstream #1786's nested-shell / executable-normalization hardening
  into the fork-only pr_verdict_guard.py (verdict-gating is a real fork
  control), keeping it in parity with pr_creation_guard.py.
- Close the glued short-flag bypass (bash -c'...') in BOTH guards: a shell's
  -c argument can be concatenated into the same argv token, which the
  space-separated -c detection missed. Diverges pr_creation_guard.py from
  upstream #1786 by design; to be upstreamed.
- Gate the new #1799 sidebar active-thread refresh on ownership so a non-owner
  viewing a shared thread reads last-known state without persisting a metadata
  write (mirrors the is_owner gate on the single-thread read path).
- Fix an F821 in the #1799 cherry-pick (Mapping import / concrete dict type).

Guards remain intentionally fail-open per the honest-agent threat model;
docstrings narrowed to name the residual exotic-shell / stdin-fed vectors.
2026-07-24 16:03:30 -04:00
..
agent chore: clarify shared response image guidance (#1782) 2026-07-24 15:34:26 -04:00
analyzer refactor: move tests into tests/<domain>/ layout 2026-07-17 14:42:45 -04:00
auth test: cover bot-token fallback when an unbound user token is refused 2026-07-17 17:08:09 -04:00
dashboard fix: show current shared thread in sidebar (#1799) 2026-07-24 15:34:56 -04:00
e2e fix: show current shared thread in sidebar (#1799) 2026-07-24 15:34:56 -04:00
github harden PR guards + sidebar after security review 2026-07-24 16:03:30 -04:00
middleware refactor: move tests into tests/<domain>/ layout 2026-07-17 14:42:45 -04:00
models refactor: move tests into tests/<domain>/ layout 2026-07-17 14:42:45 -04:00
reviewer feat: clean-review auto-approve for unsolicited verdicts [BLOCKED — security] (#217) 2026-07-21 20:18:25 -04:00
sandbox fix: bind cached GitHub tokens to users (#1736) 2026-07-17 17:08:09 -04:00
slack refactor: move tests into tests/<domain>/ layout 2026-07-17 14:42:45 -04:00
tools feat(open-swe): port upstream clean batch (#1775, #1785, #1789) (#215) 2026-07-20 19:54:16 +00:00
webhooks refactor: move tests into tests/<domain>/ layout 2026-07-17 14:42:45 -04:00
conftest.py refactor: split webapp.py into api/ + per-source webhook routes 2026-07-17 14:30:05 -04:00