Skip to content

Conversation

@xpcmdshell
Copy link
Owner

@xpcmdshell xpcmdshell commented Jan 18, 2026

Why

Prevent workflow load/index from executing arbitrary code in the host process.

What

  • Validate/index workflows via AST only (no import/exec at load).
  • Execute workflow source in a fresh namespace on each invocation (stateless; no persistent module globals).
  • Follow-up typing fixes + add mypy.ini for typechecking and types-PyYAML dev stub.

Validation

  • uv run ruff check .
  • uv run mypy src/
  • uv run pytest

@xpcmdshell xpcmdshell merged commit cfc0355 into main Jan 18, 2026
2 checks passed
@xpcmdshell xpcmdshell deleted the feature/stateless-ast-workflows branch January 18, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants