Skip to content

Phase 3 (#1075): Migrate loop.py to run(gremlin) #1092

@xbrianh

Description

@xbrianh

Part of #1075. Depends on #1091 (Phase 2).

What

Same mechanical change as Phase 2 (run(gremlin), replace state.X with gremlin.state.X), but Loop has the most complex state interactions — it rebinds artifacts, records fields, calls record_bail(), and manages scope across iterations — so it gets its own phase.

Verify every state.* call in loop.py has a clear mapping through gremlin.state.*. Remove the State import.

Files

  • gremlins/stages/loop.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions