fix: separate Glas actor from claim worker identity
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a02b6f-7db1-7222-918b-e813a6bda38d
This commit is contained in:
parent
15ae876beb
commit
c6332916c2
3 changed files with 55 additions and 6 deletions
|
|
@ -14,6 +14,7 @@ from typing import Any
|
|||
from rein_aharness.ops_run_client import OpsRun, OpsRunConfig, resolve_ops_target
|
||||
|
||||
GLAS_APPROACH = "glas-profile"
|
||||
GLAS_ACTOR = "agt"
|
||||
|
||||
_SCALAR_REFS = (
|
||||
"correlation_id",
|
||||
|
|
@ -38,7 +39,10 @@ def _request_kwargs(run: OpsRun, config: OpsRunConfig, report_to_hub: bool) -> d
|
|||
"repo": str(resolve_ops_target(run, config)),
|
||||
"title": run.title or "(untitled)",
|
||||
"description": run.description or "",
|
||||
"actor": config.worker_id,
|
||||
# Activity Core's worker_id owns the queue lease; it is not a Glas
|
||||
# actor type. Sand-boxer validates governed execution actors as
|
||||
# adm|agt|atm, so this runtime enters the gateway as an agent.
|
||||
"actor": GLAS_ACTOR,
|
||||
"project": "rein-aharness",
|
||||
"request_id": run.id,
|
||||
"report_to_hub": report_to_hub,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue