Skip to content

feat(decisions): bind approval to dispatch artefact - #2

Merged
jeleel-muibi merged 3 commits into
mainfrom
feature/bind-approval-to-dispatch-artifact
Sep 12, 2026
Merged

jeleel-muibi merged 3 commits into
mainfrom
feature/bind-approval-to-dispatch-artifact

Conversation

@jeleel-muibi

@jeleel-muibi jeleel-muibi commented Sep 12, 2026 •

Copy link
Copy Markdown
Member

Summary

  • add a deterministic SHA-256 identity for approval-relevant dispatch contents
  • verify request version, digest and dispatch filename before applying approval posture
  • require approval files to reference the exact dispatch identity and include approver and approval time
  • reject stale, invalid or malformed approval without emitting approved-ready
  • preserve the approved artefact identity in execution records
  • retain no-approval route semantics after request identity verification
  • add focused acceptance tests and run them in collection CI

Public engineering context: hybridops-tech/hybridops-core#376

Acceptance cases

  • exact approved artefact promotes successfully
  • changed artefact under the same dispatch_id makes prior approval stale
  • changing approval posture without updating the declared identity is rejected before the no-approval path
  • wrong request or approval version is rejected
  • malformed identity or missing audit context is rejected
  • corrected stale or invalid approval can be retried
  • no-approval route still promotes without an approval file

Scope

The SHA-256 value binds content; it does not authenticate filesystem writers. Request and approval directories remain trusted boundaries.

This does not add the separate final pre-deployment live-state check discussed in the practitioner review. That belongs at a real execution boundary, while the current executor is still a dry-run staging path.

@jeleel-muibi
jeleel-muibi marked this pull request as ready for review September 12, 2026 16:05
@jeleel-muibi
jeleel-muibi merged commit 0f27854 into main Sep 12, 2026
1 check passed
@jeleel-muibi
jeleel-muibi deleted the feature/bind-approval-to-dispatch-artifact branch September 12, 2026 16:05
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