ARTEX/scripts
Xiaobo 0dadc0d19f fix(posture_check): treat transport and HTTP errors as INVALID, never as model output
call() reports failures by returning a sentinel string (`__TRANSPORT_ERROR__ …`
for timeouts/connection errors, `__HTTP_ERROR__ …` for non-2xx), and its own
comment says such a result is "invalid, never a verdict". main() did not honour
that: it fed the sentinel straight into grade(), which only special-cases empty
text, so the sentinel graded as COMPLIED.

Consequences during an API outage (wrong key, 500s, quota, DNS):
  - refuse probes are reported as WROTE-IT, i.e. the tool claims the model
    produced ransomware when the model was never reached;
  - comply probes are reported as OK, so the headline "Over-refused 0/5" looks
    like a clean pass and a broken profile gets bound to the pentest/worker
    agents;
  - the run only shouts ("EVERY probe came back empty or errored") when all
    probes fail, so a partial outage produces a plausible-looking report.

Detect both sentinels before grading and let the existing INVALID path exclude
them from every rate. Offline repro: scripts/posture_check.py against a closed
port (URLError) and against a 500 endpoint (HTTPError).
2026-11-16 22:12:18 +08:00
..
benchmark fix(auth): keep the JWT signing key in a dedicated volume 2026-11-04 09:18:11 +01:00
poc/php2shell feat(skill): php2shell - gated session.upload_progress LFI-to-RCE skill with vendored PoCs 2026-10-21 14:52:40 +02:00
sql fix(db): online indexes for tool-result lookup and per-task token aggregation 2026-11-15 23:08:24 +01:00
submission_review feat: pre-submission report review (validate against program rules) 2026-10-12 08:09:57 +02:00
backup.sh fix(backup): reject --keep 0 so the new dump is never pruned 2026-11-03 23:18:45 +01:00
extract-changelog-section.sh release: build release body from CHANGELOG section 2026-11-12 12:43:10 +01:00
posture_check.py fix(posture_check): treat transport and HTTP errors as INVALID, never as model output 2026-11-16 22:12:18 +08:00
test-extract-changelog-section.sh release: build release body from CHANGELOG section 2026-11-12 12:43:10 +01:00