implement RetryFailedFlows orchestration rule
when a flow run transitions from RUNNING to FAILED:
- if retries configured and run_count <= retries, reject FAILED
- schedule AwaitingRetry state with retry_delay offset
- return REJECT status with SCHEDULED state (matching python behavior)
changes:
- add empirical_policy column (JSON with retries/retry_delay)
- extend RuleContext with retry fields and scheduleRetry method
- implement rule in flow_rules.zig with 6 unit tests
- wire up API to parse empirical_policy and handle retry response
- add test-retry script and justfile target
- use PREFECT_PROFILE=oss for test harness (uses prefect profiles)
- add loq exceptions for files with inline tests
- reference zig 0.15 notes in CLAUDE.md
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>