Skip to content

feat(state): DeploymentStore and RuntimeStore facades (#11)#43

Merged
leo-aa88 merged 2 commits into
mainfrom
issue/11-state-facade
Apr 11, 2026
Merged

feat(state): DeploymentStore and RuntimeStore facades (#11)#43
leo-aa88 merged 2 commits into
mainfrom
issue/11-state-facade

Conversation

@leo-aa88
Copy link
Copy Markdown
Member

@leo-aa88 leo-aa88 commented Apr 11, 2026

Define state.DeploymentStore and state.RuntimeStore mirroring SQLite APIs so plan, apply, and runtime avoid importing internal/state/sqlite.

  • Document thread-safety expectations for the single-process MVP CLI
  • Assert *sqlite.Store implements both interfaces at compile time
  • Add minimal Planner, Applier, and Runner constructors/methods (§5.2)
  • Test planner against a stub DeploymentStore (no sqlite import)

Closes #11

Made-with: Cursor

Define state.DeploymentStore and state.RuntimeStore mirroring SQLite APIs so
plan, apply, and runtime avoid importing internal/state/sqlite.

- Document thread-safety expectations for the single-process MVP CLI
- Assert *sqlite.Store implements both interfaces at compile time
- Add minimal Planner, Applier, and Runner constructors/methods (§5.2)
- Test planner against a stub DeploymentStore (no sqlite import)

Made-with: Cursor
@leo-aa88 leo-aa88 merged commit 57ca241 into main Apr 11, 2026
4 checks passed
@leo-aa88 leo-aa88 deleted the issue/11-state-facade branch April 11, 2026 08:56
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.

[MVP] State facade and domain models (internal/state)

1 participant