|
| 1 | +# Sailr PR #17 Progression Spec |
| 2 | + |
| 3 | +## Reframed Scope: Image Provenance & Publication Foundation |
| 4 | + |
| 5 | +PR #17 implements: |
| 6 | +- Typed image publication planning, provenance, and mandatory digests |
| 7 | +- Non-mutating push planning |
| 8 | +- Protected, immutable image push execution |
| 9 | +- Target-neutral provenance data foundation |
| 10 | + |
| 11 | +**Non-Goals for this PR:** |
| 12 | +- GitOps write-backs |
| 13 | +- Argo CD API or app syncs |
| 14 | +- Direct cluster reconciliation or applies |
| 15 | +- Rollbacks |
| 16 | + |
| 17 | +### Stage 1: image publication contract |
| 18 | +Status: complete |
| 19 | + |
| 20 | +Includes: |
| 21 | +- ImagePushPlanItem |
| 22 | +- PublishedImageArtifact |
| 23 | +- ImageProvenance |
| 24 | +- validated image push plans |
| 25 | +- image report plumbing |
| 26 | +- digest-bearing image references |
| 27 | + |
| 28 | +### Stage 2: ci-build-push-plan |
| 29 | +Status: complete |
| 30 | + |
| 31 | +Includes: |
| 32 | +- non-mutating push planning |
| 33 | +- workflow:push-plan |
| 34 | +- image_push_plan in workflow reports |
| 35 | +- plan/graph/explain support |
| 36 | + |
| 37 | +### Stage 3: ci-build-push |
| 38 | +Status: complete |
| 39 | + |
| 40 | +Includes: |
| 41 | +- protected image push workflow |
| 42 | +- CI external approval requirement |
| 43 | +- registry authentication |
| 44 | +- mandatory digest capture |
| 45 | +- runtime artifact reports |
| 46 | +- GitHub Actions, CircleCI, and Travis guidance |
| 47 | +- source revision evidence for every actual publication |
| 48 | + |
| 49 | +Provenance policy: |
| 50 | +- all actual image publications require source revision evidence |
| 51 | +- plan-only workflows may omit source revision evidence |
| 52 | + |
| 53 | +### Stage 3.5: external repository validation |
| 54 | +Status: tracked separately |
| 55 | + |
| 56 | +Separate pilot goals: |
| 57 | +- run Sailr from an external application repo |
| 58 | +- validate CircleCI and another CI provider |
| 59 | +- build and push a real application image |
| 60 | +- produce a digest-bearing report |
| 61 | +- remove repository-specific assumptions |
| 62 | + |
| 63 | +### Stage 4: target-neutral promotion planning |
| 64 | +Status: follow-up PR |
| 65 | + |
| 66 | +Goals: |
| 67 | +- consume a published image artifact report |
| 68 | +- plan promotion between environments |
| 69 | +- resolve a deployment target |
| 70 | +- produce a non-mutating desired-state diff |
| 71 | +- avoid Argo CD-specific core abstractions |
0 commit comments