Archiv: Quellen und Arbeitsdateien fertiger Versionen auf ARCHIV_DIR auslagern (z. B. Storage Box)
Nach jedem fertigen Lauf und beim Start nachholend; QUELLEN.md bleibt. Löschen und Zurücksetzen räumen das Archiv mit. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
478ce6b412
commit
be19abc065
9 files changed
+109
-2
No files matched your search
+3
-1
@@ -3,7 +3,7 @@ Dateimarker (Bericht existiert = Agent fertig)."""
|
||||
import asyncio
|
||||
import logging
|
||||
|
||||
from . import agenten, config, gliederung, lektorat, montage, prompts, state
|
||||
from . import agenten, archiv, config, gliederung, lektorat, montage, prompts, state
|
||||
|
||||
log = logging.getLogger("buchwerk")
|
||||
_laeufe: dict[str, asyncio.Task] = {}
|
||||
@@ -67,6 +67,8 @@ async def _lauf(name: str) -> None:
|
||||
s["status"] = "fehler"
|
||||
finally:
|
||||
state.speichern(name)
|
||||
if st["status"] == "fertig":
|
||||
archiv.anstossen(name)
|
||||
|
||||
|
||||
def _offen(name: str) -> None:
|
||||
|
||||
Reference in new issue
Block a user