fix: only the designer side approves files; specks are not strokes
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Successful in 3m52s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 1m14s
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Successful in 3m52s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 1m14s
- "The designer approves every file" (Dropstar's rule D-16): the Operador leaves "produce", so it no longer approves final files, picks the contraction, treats the art or marks the contact wait. It pulls and prints. The order panel says the Designer approves and shows the contraction read-only; the profiles table follows. - The stroke measure drops ink components under 30 px (at 300 DPI) before the distance, as Dropstar's method says (2026-10-30). Each strip keeps at least 30 rows of context, so a speck is always seen whole and a component cut by the strip is a stroke. One real order sheet went from C1 (2 px, specks) to C2 (5 px); Dropstar's four test sheets still give 2, 5, 20 and 4 px. The artwork browser test checks widths 2, 5 and 6, and a C3 sheet with 300 specks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -153,6 +153,11 @@ def run():
|
||||
assert (me['machine_question'], me['machine_answered'], me['machine']) == ('required', False, None), me
|
||||
assert {str(uv_o), str(textil_o)} <= {o['id'] for o in op.call('/operator/board')['orders']}
|
||||
assert sorted(me['moves']) == [['imp', 'rev'], ['imp', 'tra'], ['rev', 'imp'], ['tra', 'imp']]
|
||||
# The designer approves every file (D-16): the operator neither approves
|
||||
# a final nor picks the contraction.
|
||||
assert me['can'] == ['deliver', 'print', 'view'], me
|
||||
op.call(f'/operator/orders/{uv_o}/contraction', {'item_index': 0, 'value': 'C2'}, expected=403)
|
||||
op.call(f'/operator/orders/{uv_o}/final-files', {'version': 0, 'note': '', 'files': []}, expected=403)
|
||||
op.call(f'/operator/orders/{uv_o}/move', {'state': 'tra', 'version': 0, 'reason': ''}, expected=403)
|
||||
with db.connect() as c:
|
||||
c.execute("UPDATE dtf_local.orders SET state='imp' WHERE id=%s", (uv_o,))
|
||||
|
||||
Reference in New Issue
Block a user