Skip to content

Extract run control store interface#344

Merged
chubes4 merged 2 commits into
mainfrom
cook/run-control-store-interface
Jun 18, 2026
Merged

Extract run control store interface#344
chubes4 merged 2 commits into
mainfrom
cook/run-control-store-interface

Conversation

@chubes4

@chubes4 chubes4 commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a generic WP_Agent_Run_Control_Store contract for run-control state persistence.
  • Move the current option-backed persistence into WP_Agent_Option_Run_Control_Store.
  • Keep WP_Agent_Run_Control as the compatibility facade while allowing store injection.
  • Add smoke coverage for injectable store behavior through the existing facade.

Verification

  • php tests/workflow-runner-smoke.php
  • composer run phpstan
  • composer run smoke
  • git diff --check

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted the store extraction, focused smoke coverage, and verification workflow; Chris remains responsible for review and merge.

@chubes4 chubes4 merged commit 21ce0f8 into main Jun 18, 2026
0 of 2 checks passed
@chubes4 chubes4 deleted the cook/run-control-store-interface branch June 18, 2026 15:20
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.

1 participant