This commit is contained in:
swaits committed 2026-11-23 12:03:00 -07:00
1 parent 48712e3129
commit 5335a9c14f
2 files changed
+29 -29

No files matched your search

+1 -1
View File
@@ -331,7 +331,7 @@ def _decide(payload):
own = _own_changed(sess, sid, cwd, top, attr)
own_floor, own_reasons = risk.assess(own, diff_text=_diff_text(project, sess.get("head")),
patterns=risk.load_patterns(project))
claimed = c is not None and _claims_unit(sess, path)
claimed = c is not None and (attr is None or _claims_unit(sess, path)) # no transcript: every change is ours
if own_floor == "trivial" and not claimed and not (c is not None and sess.get("last_unit") == c.get("id")):
return stop.allow(cwd) # documentation and the like, or nothing of this session's: nothing is asked
if c is not None: