MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / work_body

Function work_body

tests/harness/native_review_insert_test.py:27–50  ·  view source on GitHub ↗
(uid, complete)

Source from the content-addressed store, hash-verified

25
26
27def 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
31Preserve the two original native records during promotion.
32:::
33:::acceptance-criterion{{#{uid}-ac-1 {criterion}}}
34The two source files have the expected fixture bytes.
35:::
36:::task{{#{uid}-1 status={status} criteria={uid}-ac-1}}
37Implement the two fixture files.
38::file-ref{{path=src/one.rs}}
39::file-ref{{path=src/two.rs}}
40:::
41:::scope-in
42src/one.rs and src/two.rs.
43:::
44:::scope-out
45Git imports, remotes and production user data.
46:::
47:::constraint
48Original change hashes and bytes must survive promotion.
49:::
50'''
51
52
53def review_body(uid, target, verifier):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected