Commit graph

26 commits

Author SHA1 Message Date
custodian-sync
4dbddfc5e8 chore(consistency): sync task status from DB [auto]
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 22s
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for glas-harness
2026-07-26 19:46:00 +02:00
5520ba3ab2 Close out statehub-register bootstrap housekeeping (GLAS-0001)
Some checks failed
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Has been cancelled
Refined the auto-generated SCOPE.md/AGENTS.md from generic templates
to real repo specifics, added a Developer Workflow section with
actual install/test/run commands. Real workplan (GLAS-WP-0001) was
already seeded and done.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 19:45:47 +02:00
custodian-sync
5603d97ebc chore(consistency): sync task status from DB [auto]
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for glas-harness
2026-07-26 14:51:57 +02:00
c5943ac048 ADR-003: scheduling and blueprint-sourcing stay rein-local
All checks were successful
CI Smoke / host-smoke (push) Successful in 1s
CI Smoke / container-smoke (push) Successful in 3s
Closes HARNESS-WP-0002-T04. With rein-openweights now real (not
hypothetical), the two reins already sit at opposite ends of this
question with no code change needed -- rein-aharness keeps its
kaizen-agentic + issue-core coupling, rein-openweights has none at all.
glas-harness does not become a task source or scheduler, consistent
with its own INTENT.md boundary.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 14:51:42 +02:00
custodian-sync
815971ea6a chore(consistency): sync task status from DB [auto]
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 3s
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for glas-harness
2026-07-26 14:50:27 +02:00
799c61d20e Consume rein-aharness's per-tool-call audit stream (HARNESS-WP-0002-T03)
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 4s
ToolResult gains an events field (additive, defaults empty) carrying
per-tool audit records when a rein can observe its own inner loop's
individual tool calls -- populated after dispatch_tool returns, not via
a live callback (the contract has no per-event hook). ReinAharness
gains a stream_tool_events flag: when set, passes --stream-tool-events
and parses the tagged {"stream_event": ...} lines back out of captured
stdout into ToolResult.events.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 14:50:14 +02:00
custodian-sync
eaa7f4e7e9 chore(consistency): sync task status from DB [auto]
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for glas-harness
2026-07-26 13:52:39 +02:00
bb2bbc70d7 Close GLAS-WP-0001-T04: live-prove the gateway against rein-aharness too
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s
Ran run_task_through_rein for real (user's explicit go-ahead) with
rein=ReinAharness(): real ext.bwrap sandbox, real kaizen-agentic schedule
prepare persona load, real claude --print --permission-mode acceptEdits
session under green-commit-only, real commit (8b63424a) in 11.4s,
verified via git rev-parse HEAD, sandbox torn down, executor-sandbox
untouched. Both reins now have a live end-to-end proof through the same
gateway code -- the parity proof this task and HARNESS-WP-0002 were
gated on. GLAS-WP-0001 is now fully done (6/6).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 13:52:24 +02:00
5ac81efd60 Record live proof: gateway -> bwrap sandbox -> ReinOpenWeights -> real OpenRouter -> verified commit
All checks were successful
CI Smoke / host-smoke (push) Successful in 1s
CI Smoke / container-smoke (push) Successful in 3s
Ran run_task_through_rein for real (user's explicit go-ahead): profile.bwrap-local
sandbox, ReinOpenWeights against qwen/qwen-2.5-72b-instruct on the real
OpenRouter API. 2-turn tool-calling loop produced a real commit
(2effe57a), verified via git rev-parse HEAD, sandbox torn down,
executor-sandbox itself untouched. Proves the glas-harness -> sand-boxer
-> rein -> verified-commit path end-to-end for one rein; the same proof
against rein-aharness/Claude Code CLI specifically remains open (T04).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 13:46:05 +02:00
custodian-sync
cb1c77eddf chore(consistency): sync task status from DB [auto]
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for glas-harness
2026-07-26 13:42:44 +02:00
266f99a2fe Add ReinOpenWeights adapter, closing GLAS-WP-0001-T05
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s
glas_harness/reins/rein_openweights.py implements the Rein ABC by
shelling out to `rein-openweights run --task-file ... --no-hub
[--model ...]`, mirroring reins/rein_aharness.py exactly. Factored the
duplicated git_head/write_task_file logic into reins/_shared.py, used
by both adapters now. registry/reins/rein-openweights.yaml flipped to
status: implemented. 8 new tests (mocked subprocess), 18/18 passing.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 13:42:29 +02:00
custodian-sync
4bdf8de950 chore(consistency): sync task status from DB [auto]
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 6s
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for glas-harness
2026-07-26 13:37:51 +02:00
603b7cfb9f Update T05: rein-openweights standalone loop done, glas-harness adapter still open
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s
REIN-OW-WP-0001 T01-T04 landed in the rein-openweights repo. The
glas_harness/reins/rein_openweights.py adapter (mirroring
reins/rein_aharness.py) that actually plugs it into the gateway is the
remaining piece.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 13:37:38 +02:00
custodian-sync
16d37b24c4 chore(consistency): sync task status from DB [auto]
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for glas-harness
2026-07-26 13:26:16 +02:00
139b76e9c1 ADR-002: resolve credential brokering for rein-openweights (Option B)
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 3s
rein-openweights acquires its OpenRouter credential directly
(OpenBao/ops-warden), consistent with rein-aharness's existing
credential-holder principle — glas-harness does not broker
LLM-provider credentials. Confirmed llm-connect itself never brokers
credentials either (resolve_api_key() only reads an
already-materialized key from explicit/env/file), so routing through
llm-connect vs. a leaner wrapper doesn't change this. Composable reins
as middleware (monitoring/eval/optimization) is recorded as a separate,
deliberately deferred question in the same ADR — one candidate
capability isn't evidence of a recurring pattern yet.

GLAS-WP-0001-T06 done; T05 (bootstrap rein-openweights) unblocked.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 13:26:00 +02:00
custodian-sync
eb5fd5d676 chore(consistency): sync task status from DB [auto]
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 4s
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for glas-harness
2026-07-26 13:03:24 +02:00
custodian-sync
7aa029ffe8 chore(consistency): renormalize lifecycle state [auto]
Updated by fix-consistency on 2026-07-26:
  - workplan status: proposed → active
2026-07-26 13:03:18 +02:00
5681fce787 Implement the harness contract and prove it against rein-aharness (GLAS-WP-0001-T02/T03/T04)
All checks were successful
CI Smoke / host-smoke (push) Successful in 1s
CI Smoke / container-smoke (push) Successful in 3s
- src/glas_harness/contract.py: Rein ABC (start_session/dispatch_tool/
  end_session), SandboxHandle/ToolCall/ToolResult, per docs/harness-contract.md.
- reins/rein_aharness.py: adapter around the rein-aharness CLI. Collapses
  a whole `agent-harness run` into one dispatch_tool call for now (no
  per-tool hooks yet — tracked in rein-aharness HARNESS-WP-0002-T03);
  verifies success via new-commit detection, mirroring rein-aharness's
  own success signal.
- gateway.py + cli.py: resolves a sand-boxer sandbox, runs one task
  through a rein, tears the sandbox down.
- registry/reins/*.yaml (rein-aharness implemented, rein-openweights
  planned) and profiles/harness.agent-dev{,-local}.yaml, pairing with
  sand-boxer's profile.agent-dev and the new profile.bwrap-local.

Tested against a real local git repo + mocked SandboxManager/CLI
subprocess (10 tests, all passing). A real live run against the actual
Claude Code CLI is deliberately left for a human-triggered follow-up —
not executed autonomously since it spends real API credits/credentials.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 13:02:59 +02:00
97a50fc780 Define the harness contract (GLAS-WP-0001-T01)
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
start_session/dispatch_tool/end_session, mirroring sand-boxer's
SandboxExtension ABC one layer up: sand-boxer establishes where work
runs, this contract governs how an agent session runs on top of it.
Unblocks the rein-aharness parity proof (T04) and rein-openweights
bootstrap (T05).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 12:37:59 +02:00
7a3c8669c7 Fix ADR-001 workplan reference after HARNESS-WP-0002 rename
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 3s
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 12:33:07 +02:00
custodian-sync
748cf09e28 chore(consistency): sync task status from DB [auto]
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 3s
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for glas-harness
2026-07-26 12:31:37 +02:00
c2a788aed9 Add ADR-001: rein harness family, and first workplan
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Establishes glas-harness as the framework routing between concrete
harness backends ("reins"): rein-aharness (renamed from agent-harness)
and the newly chartered rein-openweights. GLAS-WP-0001 defines the
harness contract, rein registry, and a minimal gateway proving parity
against rein-aharness.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 12:29:02 +02:00
e64ddad637 Add Forgejo CI smoke workflow for migration pilot
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Probes host (self-hosted) and container (ubuntu-latest) runner labels on
railiance01-build-01 as part of CUST-WP-0054 forge routing validation.
2026-07-04 00:58:20 +02:00
e35e287ff7 Seeded INTENT.md 2026-06-22 21:41:12 +02:00
db4b85b3a9 Update README.md 2026-06-22 19:23:45 +00:00
Coulomb Social
f4403312fb Initial commit 2026-06-22 19:22:49 +00:00