Close out statehub-register bootstrap housekeeping (REIN-OW-0001)
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
a9658352db
commit
5f3e4333f5
3 changed files with 52 additions and 17 deletions
43
SCOPE.md
43
SCOPE.md
|
|
@ -1,32 +1,49 @@
|
|||
# SCOPE
|
||||
|
||||
> This file was generated by `statehub register`. Refine it as the repository
|
||||
> boundaries become clearer.
|
||||
|
||||
## One-liner
|
||||
|
||||
Agentic tool-use harness driving open-weight models via OpenRouter
|
||||
Agentic tool-use harness driving current open-weight models via OpenRouter —
|
||||
an alternative to the frontier-vendor harnesses (Claude Code, Grok CLI, Codex).
|
||||
|
||||
## Core Idea
|
||||
|
||||
rein-openweights exists to provide the capability described in INTENT.md.
|
||||
One agentic loop (plan → tool call → observe → repeat), own minimal OpenRouter
|
||||
client (not llm-connect's `OpenRouterAdapter` — it can't drive a multi-turn
|
||||
tool-calling loop; see `workplans/REIN-OW-WP-0001-bootstrap.md` T01), same
|
||||
starter tool surface as rein-aharness's `green-commit-only`, own OpenBao
|
||||
credential acquisition (glas-harness ADR-002, Option B).
|
||||
|
||||
## In Scope
|
||||
|
||||
- Maintain the repository's primary implementation.
|
||||
- Keep docs, tests, and operational metadata current.
|
||||
- `openrouter_client.py`: thin chat-completions client, own transport,
|
||||
not routed through llm-connect
|
||||
- `tools.py`: read/write/edit/glob/grep + git status/diff/log/add+commit,
|
||||
path-traversal guarded
|
||||
- `loop.py`: the agentic loop itself, turn- and budget-bounded
|
||||
- `credentials.py`: own OpenBao AppRole/ambient-token acquisition
|
||||
- `runner.py`/`hub.py`: commit-verified success criterion + State Hub
|
||||
reporting, mirroring rein-aharness's model
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- Own unrelated adjacent systems.
|
||||
- Make irreversible operational decisions without human approval.
|
||||
- Model routing/selection policy — caller-supplied `--model`, not owned here
|
||||
- Monitoring/evaluation/optimization as first-class capabilities — a
|
||||
deliberately deferred question (glas-harness ADR-002 part 2, "composable
|
||||
reins as middleware") rather than something this repo builds ad hoc
|
||||
- Scheduling/task intake beyond a task-file/caller-driven CLI — no
|
||||
kaizen-agentic/issue-core-style coupling (glas-harness ADR-003)
|
||||
- Being the glas-harness meta-framework itself — this repo is one
|
||||
concrete rein under it
|
||||
|
||||
## Current State
|
||||
|
||||
- Status: active; implementation and stability should be verified by the repo agent.
|
||||
`REIN-OW-WP-0001` is done (5/5). Live-proven through glas-harness's gateway
|
||||
against the real OpenRouter API (`qwen/qwen-2.5-72b-instruct`), real
|
||||
tool-calling loop, real verified commit. Attached to its Forgejo remote and
|
||||
registered with State Hub.
|
||||
|
||||
## Getting Oriented
|
||||
|
||||
- Start with: INTENT.md
|
||||
- Agent instructions: AGENTS.md
|
||||
- Workplans: workplans/
|
||||
- Start with: `INTENT.md`
|
||||
- Agent instructions: `AGENTS.md`
|
||||
- Workplans: `workplans/`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue