Commit graph

64 commits

Author SHA1 Message Date
custodian-sync
fc70e49a81 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-08-23:
  - update .custodian-brief.md for rein-aharness

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a02b6f-7db1-7222-918b-e813a6bda38d
2026-08-23 00:02:30 +02:00
abe1d305f5 docs: record profiled consumer deployment blocker
Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a02b6f-7db1-7222-918b-e813a6bda38d
2026-08-23 00:01:20 +02:00
custodian-sync
79a003322a chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-08-23:
  - update .custodian-brief.md for rein-aharness

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a02b6f-7db1-7222-918b-e813a6bda38d
2026-08-23 00:00:26 +02:00
db588010f7 fix: back off after ops claim errors
Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a02b6f-7db1-7222-918b-e813a6bda38d
2026-08-22 23:59:02 +02:00
repo-manager
81d6222c6b chore(registrar): assign State Hub identifiers
Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a02b6f-7db1-7222-918b-e813a6bda38d
2026-08-22 23:56:22 +02:00
custodian-sync
857f5c8061 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-08-22:
  - update .custodian-brief.md for rein-aharness

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a02b6f-7db1-7222-918b-e813a6bda38d
2026-08-22 23:56:21 +02:00
0f01c3e421 feat: route profiled ops runs through Glas
Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a02b6f-7db1-7222-918b-e813a6bda38d
2026-08-22 23:55:29 +02:00
custodian-sync
68ab94581a chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-08-22:
  - update .custodian-brief.md for rein-aharness

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a02b6f-7db1-7222-918b-e813a6bda38d
2026-08-22 23:55:18 +02:00
cf24d34b28 feat: accept Glas execution overrides 2026-08-21 00:21:53 +02:00
0ebca80254 Track uv dependency lockfile 2026-08-08 21:42:21 +02:00
b6e69663f8 Finish REIN-A-0003 production rollout 2026-08-08 21:35:24 +02:00
custodian-sync
a7b47b0763 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-08-08:
  - update .custodian-brief.md for rein-aharness
2026-08-08 21:34:53 +02:00
8e98eada89 Add Binky weekly review approach 2026-08-08 21:26:29 +02:00
custodian-sync
140d1b0dc7 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-08-08:
  - update .custodian-brief.md for rein-aharness
2026-08-08 21:25:32 +02:00
custodian-sync
0b215fa472 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-08-08:
  - REIN-A-0003-T03: progress → wait
2026-08-08 21:25:28 +02:00
e0916ed531 Finish REIN-A-0002 timer cutover 2026-08-08 21:13:13 +02:00
custodian-sync
941666e418 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-08-08:
  - update .custodian-brief.md for rein-aharness
2026-08-08 21:09:44 +02:00
13d827eaf8 fix(claim-loop): unit must use rein-aharness-claim wrapper
EnvironmentFile + direct venv ExecStart skipped k8s:// resolution and
could not parse REPO_MAP JSON. Wrapper loads env safely and resolves
ClusterIPs; PATH includes kubectl.
2026-08-05 17:26:03 +02:00
94a15d67aa feat: k8s:// ClusterIP claim env + complete payload target_repo
Resolve llm-connect / actcore-api / edge-relay without port-forward.
Include target_repo on FI and Binky complete payloads for ops UI artefacts.
2026-08-05 17:23:03 +02:00
6383944939 fix(fi-research-brief): less empty shells; best-effort push
Harden the daily FI prompt and enforce minimum signal so green runs are
not empty templates. Raise default max_tokens. Push origin after commit
when enabled so workstation/Forgejo see briefs (diverged repos still OK).
2026-08-05 15:30:00 +02:00
4bb631723d Note REIN-A-0002 FI e2e smoke on railiance (claim-loop active). 2026-08-03 21:24:49 +02:00
993627d466 chore(consistency): follow-up after REIN-A-0002 hub sync 2026-08-03 20:05:27 +02:00
custodian-sync
19225e7e84 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-08-03:
  - update .custodian-brief.md for rein-aharness
2026-08-03 20:05:06 +02:00
8200a672ea Implement REIN-A-0002 ops_run claim loop and approach registry.
Add activity-core ops_run client, approach selection (FI/Binky/mail/agent),
claim-loop worker with lease heartbeat, CLI run --from-ops-run and claim-loop,
install units, and docs demoting issue-core to legacy external tickets.
T05 timer cutover remains operator after five clean cycles.
2026-08-03 20:04:25 +02:00
9644202eb2 chore(consistency): sync workplan hub IDs [auto follow-up] 2026-08-03 19:16:51 +02:00
custodian-sync
a2694f0683 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-08-03:
  - update .custodian-brief.md for rein-aharness
2026-08-03 18:53:37 +02:00
6115bb8df6 Add REIN-A-0002 for ops_run claim loop and approach selection.
Implements ACT-ADR-005 consumer side: claim from activity-core, approach table,
and cutover off dual host timers after proof window.
2026-08-03 18:51:38 +02:00
877688b2e3 Add fi-research-brief executor for Freedom Intelligence daily rhythm.
activity-core owns schedule and spawn; rein-aharness executes the research
brief via llm-connect, commits the artifact, and posts fi_daily_brief for
fi_brief_status idempotence — same layering as brief-daily for Binky.
2026-08-03 17:53:06 +02:00
2ab33869f8 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:57:34 +02:00
28c2d7a748 Regenerate WORK-RECORDS.md
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-27 02:04:14 +02:00
custodian-sync
260874bdbb chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-07-27:
  - update .custodian-brief.md for rein-aharness
2026-07-27 02:03:20 +02:00
8733d9a029 Mark REIN-A-0001 bootstrap workplan finished
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-27 02:03:08 +02:00
custodian-sync
b2c931a670 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-07-27:
  - update .custodian-brief.md for rein-aharness
2026-07-27 01:59:41 +02:00
fa2f7e3c27 Mark HARNESS-WP-0002 finished
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-27 01:59:26 +02:00
6e9afaecf1 Regenerate WORK-RECORDS.md
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 19:46:54 +02:00
custodian-sync
fb8b4fdbf8 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for rein-aharness
2026-07-26 19:46:18 +02:00
363866f3a8 Close out statehub-register bootstrap housekeeping (REIN-A-0001)
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 19:46:05 +02:00
f457db0e44 Regenerate WORK-RECORDS.md
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 19:41:41 +02:00
custodian-sync
dedca936ed chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for rein-aharness
2026-07-26 18:45:11 +02:00
4d1e6bbb6a Close HARNESS-WP-0002-T02: live Railiance cutover done
Full cutover executed on railiance01 with operator go-ahead: host
secrets dir + checkout renamed, host venv recreated from scratch
(renaming a venv directory breaks its embedded shebang paths), image
rebuilt/imported, renamed k8s manifests applied alongside the old
namespace (not overwriting it), rollout + in-cluster smoke verified,
then the authoritative host smoke script run against the live
deployment: ok: true, committed: true, pushed: true, with a matching
harness_smoke event confirmed in State Hub. Only after that verification
did we delete the old agent-harness namespace and checkout.

Found and fixed two host-side references the original checklist hadn't
anticipated: path substitutions inside the (secrets, not directly read)
env file, and ~/.ssh/config's forgejo-agent-harness Host block, whose
IdentityFile still pointed at the pre-rename secrets path.

HARNESS-WP-0002 is now fully done (4/4).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 18:44:56 +02:00
ced68ea325 Regenerate WORK-RECORDS.md
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 14:52:36 +02:00
custodian-sync
d4d31642ad chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for rein-aharness
2026-07-26 14:52:14 +02:00
a3fc75ced1 Close HARNESS-WP-0002-T04 per glas-harness ADR-003
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 14:52:01 +02:00
custodian-sync
a6151c1551 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for rein-aharness
2026-07-26 14:49:54 +02:00
6c4f00e2c2 Add real-time per-tool-call audit streaming (HARNESS-WP-0002-T03)
Claude Code executes its own tools internally in --print mode -- there
is no way for a caller to externally dispatch individual tool calls
without abandoning that self-contained agent model. What
--output-format stream-json --include-hook-events does allow: observing
each tool_use/tool_result/hook event in real time.

- adapter.py: AgenticClaudeCodeAdapter gains an optional on_tool_event
  callback; streaming mode (Popen + background reader thread) is used
  only when set, blocking subprocess.run path is unchanged otherwise.
- runner.py: run_task gains emit_tool_events/on_tool_event, collecting
  events onto RunResult.tool_events and posting a tool_call hub event
  per tool when reporting is enabled.
- cli.py: --stream-tool-events flag on `run`, prints each event as a
  tagged JSON line ahead of the unchanged final result block.

Live-verified against the real claude CLI: 5 real tool events streamed
correctly (2x Bash, 1x Write) plus Stop hook lifecycle events, real
commit landed, final result block unchanged. 13 new tests
(test_adapter.py + 2 in test_runner.py), all passing.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 14:49:36 +02:00
custodian-sync
c77a643393 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for rein-aharness
2026-07-26 14:22:40 +02:00
f6930ad115 Rename package, CLI, and deploy artifacts to rein-aharness (HARNESS-WP-0002-T02)
agent_harness -> rein_aharness (package + all imports), CLI command
agent-harness -> rein-aharness, Docker image tag, k8s namespace/labels/
names, Makefile targets, deploy script env var/paths. In-repo identity
strings (hub event source, metrics harness field, default assignee,
argparse prog name, commit author identity) updated to match.

Historical documents left untouched on purpose: docs/adr/ADR-001-agent-harness-architecture.md,
docs/architecture.md (dated v0.1 snapshot), workplans/HARNESS-WP-0001
(completed under the old name), and the SSH host alias
"forgejo-agent-harness" (external ~/.ssh/config entry, not owned here).

Verified: 47/47 tests pass, CLI runs correctly from a fresh venv,
`make image` builds and the resulting container runs correctly.

deploy/README.md gained an explicit rename cutover checklist for what
this session cannot safely do unattended -- moving the host-side
secrets dir and checkout on railiance01, and not deleting the old k8s
namespace until the new one is confirmed working. The actual live
cutover (running that checklist against the real Railiance deployment)
is not attempted here -- real production surgery on binky-control's
live automation, needs the operator present.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 14:22:18 +02:00
custodian-sync
08327a34a4 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-07-26:
  - update .custodian-brief.md for rein-aharness
2026-07-26 13:52:54 +02:00
custodian-sync
8f72f04ab9 chore(consistency): renormalize lifecycle state [auto]
Updated by fix-consistency on 2026-07-26:
  - workplan status: proposed → active
2026-07-26 13:52:51 +02:00
a1e35eceaf Note live-proven coarse glas-harness integration on HARNESS-WP-0002-T03
The whole-run-as-one-dispatch_tool-call wrapper is live-proven now; the
per-tool-call hook refactor this task describes remains open.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 13:52:42 +02:00