feat(watch): Publish fresh graph state - #164
Open
reneleonhardt wants to merge 5 commits into
Open
Conversation
Publish atomic instance-local generations after a quiet window and acknowledge freshness requests through the project runtime bridge. Co-Authored-By: GPT-5.6 Sol <codex@openai.com>
Flush watcher state before rendering and keep input, cleanup, subprocesses, and output within the hook deadline. Co-Authored-By: GPT-5.6 Sol <codex@openai.com>
Retry failed publishes, bound control artifacts, drain queued events, and propagate final session-stop failures. Co-Authored-By: GPT-5.6 Sol <codex@openai.com>
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.
What does this PR do?
Hardens watcher publication and hook cleanup:
Why it matters
Rapid file changes and bounded hook lifetimes could publish stale state, lose a final update, or hide cleanup failures. Publication now converges on the latest state and reports terminal errors.
CLI / MCP surface
No new commands, arguments, or MCP tools. Existing hooks and watch-state consumers receive fresher state.
Verification
codemap .andcodemap --deps .The repository linter still reports its existing baseline findings plus unchecked-return findings in this branch's watcher changes.
Co-Authored-By: GPT-5.6 Sol codex@openai.com