Skip to content

feat: add Phase 7 execution read models - #329

Draft
eshulman2 wants to merge 4 commits into
phase6/reconciliation-contractfrom
phase7/execution-read-models
Draft

feat: add Phase 7 execution read models#329
eshulman2 wants to merge 4 commits into
phase6/reconciliation-contractfrom
phase7/execution-read-models

Conversation

@eshulman2

Copy link
Copy Markdown
Collaborator

Summary

  • add a versioned operator read model over checkpoint position, pinned process definition, station attempts and durable effects
  • explain running, waiting, blocked, failed and completed states without Jira-label or log inference
  • expose permitted commands and manifest-derived next transitions
  • report observation availability/freshness and external-state conflicts
  • expose migration eligibility/incompatibilities when revision analysis is available
  • retain canonical declarative definitions with checkpoints so inspection uses the pinned revision
  • retain compact station-attempt evidence without storing complete request/output payloads
  • add GET /api/v1/workflows/{ticket_key}/execution

Stack

  • Depends on feat: begin Phase 5 explicit process definitions #328; Phase 6 is intentionally not part of this branch
  • Implements Phase 7 execution projection, pinned-definition visibility and operator API slices
  • Durable command/observation timelines and Org Pulse integration remain follow-up slices

Verification

  • uv run ruff check src/ ...
  • focused mypy checks for read models, API loader and station audit helper
  • uv run pytest tests/unit/ tests/workflow tests/contracts tests/flows -q --strict-markers — 2,842 passed

@eshulman2
eshulman2 force-pushed the phase5/process-definition branch from 9e67ce3 to 490325c Compare August 27, 2026 18:36
@eshulman2
eshulman2 force-pushed the phase7/execution-read-models branch from e0358a3 to 32110d1 Compare August 27, 2026 18:36
@eshulman2
eshulman2 force-pushed the phase5/process-definition branch from 490325c to 0ce128a Compare August 27, 2026 18:44
@eshulman2
eshulman2 force-pushed the phase7/execution-read-models branch from 32110d1 to ed05f16 Compare August 27, 2026 18:44
@eshulman2
eshulman2 force-pushed the phase5/process-definition branch from 0ce128a to 940179e Compare August 27, 2026 18:46
@eshulman2
eshulman2 force-pushed the phase7/execution-read-models branch from ed05f16 to f659735 Compare August 27, 2026 18:46
@eshulman2
eshulman2 force-pushed the phase5/process-definition branch from 940179e to 965f7ff Compare August 27, 2026 18:46
@eshulman2
eshulman2 force-pushed the phase7/execution-read-models branch from f659735 to bbc36ea Compare August 27, 2026 18:48
@eshulman2
eshulman2 changed the base branch from phase5/process-definition to phase6/reconciliation-contract August 27, 2026 18:48
@eshulman2
eshulman2 force-pushed the phase6/reconciliation-contract branch from 4ea51ac to 935f3b6 Compare August 27, 2026 18:54
@eshulman2
eshulman2 force-pushed the phase7/execution-read-models branch from 0b64e5b to 2b3367e Compare August 27, 2026 18:54
@eshulman2
eshulman2 force-pushed the phase6/reconciliation-contract branch from 935f3b6 to 6bc1c16 Compare August 27, 2026 18:58
@eshulman2
eshulman2 force-pushed the phase7/execution-read-models branch from 2b3367e to f2caef6 Compare August 27, 2026 18:58
@eshulman2
eshulman2 force-pushed the phase6/reconciliation-contract branch from 6bc1c16 to 7643900 Compare August 27, 2026 19:04
@eshulman2
eshulman2 force-pushed the phase7/execution-read-models branch from f2caef6 to b97185a Compare August 27, 2026 19:04
@eshulman2
eshulman2 force-pushed the phase6/reconciliation-contract branch from 7643900 to 7f59016 Compare August 27, 2026 19:06
@eshulman2
eshulman2 force-pushed the phase7/execution-read-models branch from b97185a to e8d14cf Compare August 27, 2026 19:06
@eshulman2
eshulman2 force-pushed the phase6/reconciliation-contract branch from 7f59016 to 83014f9 Compare August 27, 2026 19:08
@eshulman2
eshulman2 force-pushed the phase7/execution-read-models branch from e8d14cf to 71e0182 Compare August 27, 2026 19:08
@eshulman2
eshulman2 force-pushed the phase6/reconciliation-contract branch from 83014f9 to d8228f9 Compare August 27, 2026 19:13
@eshulman2
eshulman2 force-pushed the phase7/execution-read-models branch from 71e0182 to 67fd359 Compare August 27, 2026 19:13
@eshulman2
eshulman2 force-pushed the phase6/reconciliation-contract branch from d8228f9 to 028fe32 Compare August 27, 2026 21:06
@eshulman2
eshulman2 force-pushed the phase7/execution-read-models branch from 67fd359 to d713b6b Compare August 27, 2026 21:09
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