Commander commited on
Commit ·
fa8867a
1
Parent(s): cb50483
🚀 CLEANUP: Removed temporary local logging
Browse files- rule_factory_24_7.py +0 -7
rule_factory_24_7.py
CHANGED
|
@@ -212,13 +212,6 @@ class RuleFactory:
|
|
| 212 |
print(f"⚠️ [ESCALATION] {rule_id} contains sensitive workarounds. Flagged for Commander review.")
|
| 213 |
else:
|
| 214 |
print(f"✅ [SAVED] {save_path}")
|
| 215 |
-
|
| 216 |
-
# [LOCAL LOGGING] Write to simple text dashboard
|
| 217 |
-
try:
|
| 218 |
-
with open("FACTORY_LOG.txt", "a", encoding="utf-8") as logf:
|
| 219 |
-
timestamp_str = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
| 220 |
-
logf.write(f"[{timestamp_str}] 🏭 Generated: {rule_id} ({category}) | Model: {current_model}\n")
|
| 221 |
-
except: pass
|
| 222 |
|
| 223 |
if "associated_tasks" in rule_data:
|
| 224 |
for task in rule_data["associated_tasks"]:
|
|
|
|
| 212 |
print(f"⚠️ [ESCALATION] {rule_id} contains sensitive workarounds. Flagged for Commander review.")
|
| 213 |
else:
|
| 214 |
print(f"✅ [SAVED] {save_path}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 215 |
|
| 216 |
if "associated_tasks" in rule_data:
|
| 217 |
for task in rule_data["associated_tasks"]:
|