Initial commit: a0_software_orchestrator v1.0
- Auto-Registration-Bug behoben (register_project/get_project_id/resolve_project Trennung) - 25 Tests gruen (Pytest) - block_compactor-Tool refactored (Option B: Soft-Check statt Hard-Block) - 4 Restbaustellen gefixt - DB-Schema: plugin_settings-Tabelle hinzugefuegt - 3 Schattenprojekte aus DB geloescht - Plan v3 + Refactor-Plan + Worklog dokumentiert
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
"""Extension: Remind the orchestrator to persist state at monologue end."""
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
|
||||
|
||||
def get_reminder(project_root: str = None) -> str:
|
||||
"""Return a compact DB-first persistence reminder."""
|
||||
return (
|
||||
"Reminder: If a work block was completed, persist state via DB-backed tools "
|
||||
"(orchestrator_state, next_step, scorecard_update, block_compactor). "
|
||||
".a0 files are legacy snapshots only, not the source of truth."
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(get_reminder(os.getcwd()))
|
||||
|
||||
|
||||
from helpers.extension import Extension
|
||||
|
||||
|
||||
class RemindStateUpdate(Extension):
|
||||
async def execute(self, loop_data=None, **kwargs):
|
||||
# Intentionally no-op for now; state reminders are in the prompt/tool docs to avoid noisy loops.
|
||||
return
|
||||
Reference in New Issue
Block a user