Complete tasks 3-7: harden verdict parsing, outputs retention, base branch, linux schedule parity, claim loop task
CI / build (push) Has been cancelled

This commit is contained in:
Lap Tran
2026-06-24 10:31:49 -04:00
parent dd2726c0dd
commit e13513faaa
193 changed files with 14934 additions and 98 deletions
@@ -0,0 +1,23 @@
# Adversarial Bug Report: parametrize-base-branch
## A1 — Git injection via base_branch value
`base_branch` values like `"; rm -rf /"` or `"main\norigin/main"` are passed through to `subprocess.run` in list mode. The entire value is a single argv element — no shell expansion, no injection. Git will attempt to resolve the string as a revision name and fail (fatal: bad revision), which triggers the WARNING-skip path. No exploit.
**Verdict**: no vector. List-mode subprocess.run is safe by construction.
## A2 — Non-string base_branch (int, bool) coerce to string
`42` → `"42"`, `True` → `"True"`. Both are valid git ref names (a tag named `42` or `True` would resolve). The WARNING notifies the operator. No crash, no silent misbehavior.
**Verdict**: acceptable. The WARNING is a signal to fix the config.
## A3 — Empty base_branch falls back to main
`""` → `"main"` with WARNING. Operator typed it intentionally or accidentally; either way the drift gate works on `main`. No data loss.
**Verdict**: correct per D-B4.
## No BLOCKERS
Proceed to doc_review.