Implement human operational rulebook

This commit is contained in:
Ami Soares
2026-04-30 07:40:25 -03:00
parent c9c1056193
commit 3d2748adf5
84 changed files with 88406 additions and 9115 deletions

View File

@@ -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)