Implement human operational rulebook
This commit is contained in:
@@ -187,10 +187,14 @@ def write_orders(
|
||||
try:
|
||||
path.write_text(order_markdown(order, str(platform_folder), real_repo), encoding="utf-8")
|
||||
except PermissionError:
|
||||
pass
|
||||
else:
|
||||
# The central can be dirty or temporarily locked by a previous
|
||||
# round. Reusing the existing active order is safer than
|
||||
# creating hundreds of duplicate continuations with the same
|
||||
# semantic title.
|
||||
written.append(path)
|
||||
continue
|
||||
written.append(path)
|
||||
continue
|
||||
last_error: PermissionError | None = None
|
||||
for _attempt in range(max_attempts_per_order):
|
||||
order.order_id = incrementing_id(prefix, next_number[subfolder], order.title)
|
||||
|
||||
Reference in New Issue
Block a user