Bootstrap one metered owner cycle against a pinned standalone runtime
Some checks failed
Governed runtime contract / contract (push) Failing after 23s

Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a07ff8-19d0-7820-b4d0-1353833cb7fc
This commit is contained in:
tegwick 2026-09-09 22:56:38 +02:00
parent 3e4c976090
commit 565b07716a
11 changed files with 664 additions and 2 deletions

View file

@ -554,6 +554,13 @@ def main(argv: list[str] | None = None) -> int:
)
poll.add_argument("--no-hub", action="store_true", help="Skip hub on execute")
metered = sub.add_parser(
"metered-once", help="One admitted owner claim cycle with explicit exec-env delivery"
)
metered.add_argument("--owner-config", required=True, type=Path)
metered.add_argument("--check", action="store_true", help="Validate local pins without claiming")
metered.add_argument("--no-hub", action="store_true")
claim_loop = sub.add_parser(
"claim-loop",
help="Continuously claim ops_runs, select approach, execute, complete/fail",
@ -622,6 +629,9 @@ def main(argv: list[str] | None = None) -> int:
if args.command == "poll":
return _cmd_poll(args)
if args.command == "metered-once":
from rein_aharness.owner_bootstrap import run_once
return run_once(args.owner_config, check_only=args.check, report_to_hub=not args.no_hub)
if args.command == "claim-loop":
return _cmd_claim_loop(args)