Record live proof-of-concept run via glas-harness's gateway

Real ext.bwrap sandbox, real OpenRouter call (qwen/qwen-2.5-72b-instruct),
real 2-turn tool-calling loop, real verified commit. Credential reused
the OPENROUTER_API_KEY already in the environment via credentials.py's
env-var short-circuit -- no OpenBao round trip needed this time.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
tegwick 2026-07-26 13:46:24 +02:00
parent 4ee612140b
commit 4a82650ba5
2 changed files with 28 additions and 11 deletions

View file

@ -50,9 +50,17 @@ owns the open-weight-model-specific agentic loop and tool execution.
Minimal agentic loop implemented and unit-tested (26 tests, all mocked
at the network/subprocess boundary): tool surface, OpenRouter client,
credential acquisition, commit-verified success criterion, State Hub
reporting. See `workplans/REIN-OW-WP-0001-bootstrap.md`. Not yet
executed against a real OpenRouter model or a real OpenBao instance —
those are human-triggered follow-ups (real API cost, real credentials).
No glas-harness adapter (`reins/rein_openweights.py`, mirroring
`reins/rein_aharness.py`) yet — that's a `GLAS-WP-0001` follow-up once
this CLI is considered stable enough to shell out to.
reporting. See `workplans/REIN-OW-WP-0001-bootstrap.md`.
**Live-proven (2026-07-26):** run for real through glas-harness's
gateway (`glas_harness.reins.rein_openweights.ReinOpenWeights`) inside a
real `ext.bwrap` sandbox, against the real OpenRouter API
(`qwen/qwen-2.5-72b-instruct`) — a 2-turn tool-calling loop produced a
real, verified git commit. Credential reused the `OPENROUTER_API_KEY`
already present in the environment (the same one llm-connect resolves),
via this repo's own `credentials.py` env-var short-circuit — no OpenBao
round trip needed for this run.
The glas-harness adapter (`glas_harness/reins/rein_openweights.py`,
mirroring `reins/rein_aharness.py`) now exists and is what performed
this run.