| 25 | |
| 26 | |
| 27 | def work_body(uid, complete): |
| 28 | criterion = 'status=met verifiedBy="native-fixture" evidence="Exact fixture bytes checked before attestation"' if complete else 'status=unmet' |
| 29 | status = 'done' if complete else 'open' |
| 30 | return f''':::why |
| 31 | Preserve the two original native records during promotion. |
| 32 | ::: |
| 33 | :::acceptance-criterion{{#{uid}-ac-1 {criterion}}} |
| 34 | The two source files have the expected fixture bytes. |
| 35 | ::: |
| 36 | :::task{{#{uid}-1 status={status} criteria={uid}-ac-1}} |
| 37 | Implement the two fixture files. |
| 38 | ::file-ref{{path=src/one.rs}} |
| 39 | ::file-ref{{path=src/two.rs}} |
| 40 | ::: |
| 41 | :::scope-in |
| 42 | src/one.rs and src/two.rs. |
| 43 | ::: |
| 44 | :::scope-out |
| 45 | Git imports, remotes and production user data. |
| 46 | ::: |
| 47 | :::constraint |
| 48 | Original change hashes and bytes must survive promotion. |
| 49 | ::: |
| 50 | ''' |
| 51 | |
| 52 | |
| 53 | def review_body(uid, target, verifier): |