Bind deployment trigger and commit identity
This commit is contained in:
parent
0dda73604d
commit
2bc6ec6be2
7 changed files with 22 additions and 5 deletions
|
|
@ -1427,3 +1427,9 @@ Deployment requests accepted `script_hash_or_review_ref`, treating byte
|
|||
identity and approval as interchangeable. They now require both a script hash
|
||||
and a script-review reference. The hash binds the reviewed bytes; the review
|
||||
receipt carries judgment. Neither may impersonate the other.
|
||||
|
||||
Deployment also accepted `git_ref_or_branch`, obscuring the difference between
|
||||
the mutable ref Idunn watches and the immutable commit it deploys. The Idunn
|
||||
receipt contract already records both `watched_ref` and `source_commit`.
|
||||
Deployment requests now require both fields: trigger topology and artifact
|
||||
identity are conjunctive evidence.
|
||||
|
|
|
|||
|
|
@ -529,3 +529,8 @@ public feedback rather than "human or Persona review"; Mind/Bifrost remain the
|
|||
gates. Deployment requests require both script hash and script-review ref,
|
||||
because identity and approval are distinct proofs. Continue classifying the
|
||||
remaining OR-shaped fields by what invariant each alternative actually proves.
|
||||
|
||||
Deployment git identity is also split. Requests now require both watched ref
|
||||
and source commit SHA, matching Idunn's receipt. A branch/ref identifies the
|
||||
mutable trigger path; the commit SHA identifies deployed bytes. Do not collapse
|
||||
them back into one convenient string.
|
||||
|
|
|
|||
Reference in a new issue