Commit graph

27 commits

Author SHA1 Message Date
409bd894a9 fix(workplans): declare type: workplan on records the hub already holds
These files carried no type field at all. Selection is by 'type: workplan', so
they were invisible to every projection while the hub held a record for each —
and a forge-derived reset read those correct records as no longer deriving and
queued them for retirement.

Only the type line is added.

Refs STATE-WP-0083-T05

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 2583210@bnt-lap001
Assistant-Session: f2bff2d5-e9b2-4338-92ca-10282a927006
2026-08-26 20:56:05 +02:00
bc0e0bc7af chore(consistency): refresh work-record index
Refs CUST-WP-0068-T03

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 2583210@bnt-lap001
Assistant-Session: f2bff2d5-e9b2-4338-92ca-10282a927006
2026-08-25 22:43:19 +02:00
custodian-sync
b4d6fc1266 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-08-25:
  - update .custodian-brief.md for rein-openweights

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 2583210@bnt-lap001
Assistant-Session: f2bff2d5-e9b2-4338-92ca-10282a927006
2026-08-25 22:42:58 +02:00
ff94dfdb27 fix(workplans): move work-record identifiers onto the repository prefix
Identifiers predating the PREFIX-WP-NNNN convention were rejected by the canon
registry, so none of this repository's work records could be registered.

One prefix per repository (ADR-007). Existing conforming identifiers keep their
numbers where possible; the pre-convention records take the next free numbers
rather than renumbering work that was already correct.

Projection UUIDs are re-derived from the new canonical ids (ADR-007 decision 2).
Nothing was registered on central under the old identifiers, so no hub record is
orphaned by this.

Refs CUST-WP-0068-T03

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 2583210@bnt-lap001
Assistant-Session: f2bff2d5-e9b2-4338-92ca-10282a927006
2026-08-25 22:42:48 +02:00
fb72f2cd0c fix(workplans): adopt ADR-007 derived identifiers
Records absent from central carried random pre-ADR-007 identifiers minted by
the retired local hub, which C-06 refused as stale references. Deriving from
the canonical record id takes no identity from anything.

Refs CUST-WP-0068-T06

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 2583210@bnt-lap001
Assistant-Session: f2bff2d5-e9b2-4338-92ca-10282a927006
2026-08-25 19:31:01 +02:00
6f2c3ebec7 chore(classification): add repo classification
Sector domain and category decided with the repository owner on 2026-08-25.
Classification is not mechanical: the sector describes intended users, so a
confident wrong value is harder to correct than a missing one.

Refs CUST-WP-0067-T05

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 2583210@bnt-lap001
Assistant-Session: f2bff2d5-e9b2-4338-92ca-10282a927006
2026-08-25 14:02:42 +02:00
01a4b5bde5 docs(agents): repoint remote State Hub URL to the in-cluster address
The remote row pointed at 127.0.0.1:18000, a reverse tunnel back to the
workstation. On railiance01 the State Hub runs in the cluster on that same
machine, so the request left the box and came back to reach a local service.

Refs CUST-WP-0067-T07

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 2583210@bnt-lap001
Assistant-Session: f2bff2d5-e9b2-4338-92ca-10282a927006
2026-08-25 00:21:55 +02:00
a9071245b2 feat: support governed Glas execution 2026-08-21 00:21:53 +02:00
34e179ea5d Adopt Target Revenue Source License V1C1 (org-wide preliminary rollout)
Maintainer decision, 2026-07-29: adopts TRSL V1C1 as this repo's
preliminary governing license, per target-revenue's
workplans/TREV-WP-0008-governance-and-pilot-rollout.md T05. Full
specialist legal review is deferred until out of beta (target-revenue
SCOPE.md §1). No Phase is yet declared for this repo.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-30 00:58:43 +02:00
d6db385576 Regenerate WORK-RECORDS.md
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-27 02:04:15 +02:00
d65827c7a5 Mark REIN-OW-0001 bootstrap workplan finished
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-27 02:03:24 +02:00
custodian-sync
29ad25ae3c chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-07-27:
  - update .custodian-brief.md for rein-openweights
2026-07-27 02:00:29 +02:00
1b255b7d60 Mark REIN-OW-WP-0001 finished
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-27 02:00:13 +02:00
864ff4c124 Record live-verified OpenBao path (GLAS-WP-0002-T02 closed)
Real AppRole login, real KV v2 read, real OpenRouter call, real commit,
with OPENROUTER_API_KEY explicitly unset. Full build record in
ops-mason/plans/rein-openweights-openrouter-approle.md.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-27 01:53:31 +02:00
5619a14f15 Cross-reference GLAS-WP-0002-T02 for the untested OpenBao credential path
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 20:13:49 +02:00
1e0653d46c Regenerate WORK-RECORDS.md
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 19:46:56 +02:00
custodian-sync
782e75b312 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for rein-openweights
2026-07-26 19:46:36 +02:00
5f3e4333f5 Close out statehub-register bootstrap housekeeping (REIN-OW-0001)
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 19:46:21 +02:00
a9658352db Regenerate WORK-RECORDS.md
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 14:52:37 +02:00
custodian-sync
7b5bed5eef chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for rein-openweights
2026-07-26 14:14:24 +02:00
1ace67ddab Close REIN-OW-WP-0001-T05: repo attached to Forgejo, registered with State Hub
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 14:14:09 +02:00
custodian-sync
21f9f8b275 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for rein-openweights
2026-07-26 14:13:47 +02:00
148b7d8a14 Merge Forgejo stub (LICENSE) into local history
Kept the local README (richer, describes the actual implementation)
over the stub's placeholder one-liner; the MIT LICENSE from the stub
merges in cleanly, matching the sibling rein repos.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 14:11:27 +02:00
4a82650ba5 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>
2026-07-26 13:46:24 +02:00
4ee612140b Bootstrap rein-openweights: minimal agentic loop over OpenRouter (REIN-OW-WP-0001)
Implements T01-T04:
- tools.py: green-commit-only-equivalent tool surface (read/write/edit/
  glob/grep + git status/diff/log/add+commit), path-traversal guarded.
- openrouter_client.py: own minimal chat-completions client — llm-connect's
  OpenRouterAdapter takes a single prompt string and never surfaces
  tool_calls, so it can't drive a multi-turn tool-calling loop without a
  breaking change to its frozen Core ABC. llm-connect stays an optional
  dependency (pyproject.toml), not load-bearing.
- loop.py: plan -> tool call -> observe -> repeat, budget- and
  turn-bounded, tool errors reported back to the model instead of
  crashing the loop.
- credentials.py: own OpenBao AppRole/ambient-token acquisition, per
  glas-harness ADR-002 (Option B) — glas-harness does not broker this.
- runner.py/hub.py: commit-verified success criterion + State Hub
  progress/token reporting, mirroring rein-aharness's model.

26 tests, all mocked at the httpx/subprocess boundary — no real
OpenRouter or OpenBao calls made. T05 (Forgejo repo creation) stays
open, deferred to the operator.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 13:37:09 +02:00
ac5407a83e Charter rein-openweights
Agentic tool-use harness for current open-weight models via OpenRouter/
llm-connect, as an alternative to frontier-model-vendor harnesses
(Claude Code, Grok CLI, Codex/GPT CLI). Chartered by glas-harness
ADR-001. Local scaffold only, no Forgejo remote yet.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 12:29:06 +02:00
fd9bc9311d Initial commit 2026-07-26 10:06:03 +00:00