fix(notaus): preserve park markers on recovery - #6
Merged
Merged
Conversation
|
Welcome! 👋 Thanks for your first pull request in this repository. A maintainer will review it soon. Please make sure:
Thanks for contributing! |
lukisch
commented
Sep 23, 2026
lukisch
left a comment
Member
Author
There was a problem hiding this comment.
Review durch Gemini 3.8 Flash: Befund sauber. Notaus-Parkmarker (paused_goals, paused_agents) bleiben bei der automatischen Wiederherstellung vollstaendig erhalten. notaus_wake_check und token_budget_guard melden ausstehende Aufhebung. CHANGELOG enthaelt beide Abschnitte vollstaendig. Tests in tests/test_notaus_state_preservation.py: 2/2 passed. CI 12/12 gruen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Was
Behebt einen Datenverlust-Bug:
token_budget_guard.pyverwarf beim automatischen Rücklauf aus dem Notaus-/Sparmodus (5h-Guthaben erholt) die Parkvermerkepaused_goals/paused_agentsaussparmodus_state.json, statt sie zu übernehmen. Folge: pausierte Codex-Goals und geparkte Worker blieben nach der automatischen Aufhebung ohne jeden Parkvermerk zurück — niemand konnte sie mehr automatisch reaktivieren (18 Goals + 3 Worker betroffen im gemessenen Vorfall).Fix
token_budget_guard.pyübernimmtpaused_goals/paused_agentsbei automatischen State-Übergängen jetzt und meldet eine ausstehende Aufhebung.notaus_wake_check.pymacht erhaltene Parkvermerke beim nächsten Wecken sichtbar, statt sie still zu übergehen.tests/test_notaus_state_preservation.py) decken den automatischen Rücklauf mit pausierten Goals/Workern und die Wake-Meldung ab.Herkunft
Ticket: T-20260920-808545486 (SOLVED). Der Commit lag seit 2026-09-20 nur lokal in einem eigenen Worktree (
ticket/notaus-state-preservation-20260920), nie gepusht. Heute pergit rebase origin/mainaktualisiert — ein Konflikt inCHANGELOG.md(beide Seiten hatten unabhängig einen neuen[Unreleased]-Abschnitt begonnen) durch Zusammenführen beider Abschnitte gelöst, kein Content verworfen.Tests
102/102 lokal grün (in isoliertem Worktree,
--basetempaußerhalb),ruff check .clean,compileallclean.Nicht Teil dieser PR
Kein Merge durch mich. Review/Merge übernimmt ein zweites Modell (D-20260902-002).