Rename UnresolvedArenaEnvGraphSpec to ArenaEnvInitialGraphSpec#783
Rename UnresolvedArenaEnvGraphSpec to ArenaEnvInitialGraphSpec#783qianl-nv wants to merge 1 commit into
Conversation
Use link() instead of resolve() for the compile-to-full-graph step so the API matches the initial-graph mental model. Signed-off-by: Qian Lin <qianl@nvidia.com>
Greptile SummaryThis PR renames
Confidence Score: 5/5This is a pure rename across 5 files with no logic changes; all references to the old name and method have been updated. Every occurrence of UnresolvedArenaEnvGraphSpec and resolve() in Python source, tests, and YAML comments has been replaced consistently. No stale references remain anywhere in the repository, and the underlying behavior of the link() method is identical to the former resolve(). No files require special attention. Important Files Changed
Sequence DiagramsequenceDiagram
participant Agent
participant IntentCompiler
participant ArenaEnvInitialGraphSpec
participant ArenaEnvGraphSpec
Agent->>IntentCompiler: compile(EnvironmentIntentSpec)
IntentCompiler-->>ArenaEnvInitialGraphSpec: create(env_name, nodes, tasks, initial_state_spec)
Note over ArenaEnvInitialGraphSpec: Holds initial state only<br/>(tasks carry kind/params, not wired)
ArenaEnvInitialGraphSpec-->>IntentCompiler: ArenaEnvInitialGraphSpec
IntentCompiler-->>Agent: ArenaEnvInitialGraphSpec
Agent->>ArenaEnvInitialGraphSpec: link()
Note over ArenaEnvInitialGraphSpec: Chains tasks → state_spec_0..N<br/>Wires initial/success_state_spec_ids
ArenaEnvInitialGraphSpec-->>ArenaEnvGraphSpec: create(env_name, nodes, tasks, state_specs)
ArenaEnvGraphSpec-->>Agent: Fully-wired ArenaEnvGraphSpec
Reviews (1): Last reviewed commit: "Rename UnresolvedArenaEnvGraphSpec to Ar..." | Re-trigger Greptile |
Summary
UnresolvedArenaEnvGraphSpec naming improvements
Detailed description
-- The current naming is not informative.
-- UnresolvedArenaEnvGraphSpec renamed to ArenaEnvInitialGraphSpec. It captures only the initial state, vs ArenaEnvGraphSpec capturing all subtask success states additionally.
-- Use link() instead of resolve(). This adds subtask success states and linkage between tasks and states.
Pure naming change