Repository navigation
fix: add durable watcher session runner - #131
Closed
JTInventory wants to merge 10 commits into
Closed
JTInventory wants to merge 10 commits into
JTInventory wants to merge 10 commits into
Conversation
Adopt upstream baseline and active watcher fix
feat: adopt deterministic route resolver
* feat(cognee): add local lookup manifest checker * feat(cognee): verify local source hints
JTInventory
force-pushed
the
fix/watch-session-runner-0629
branch
from
June 29, 2026 01:20
fbedb2a to
bcde1e4
Compare
Author
|
Closing because this work is maintained in the JTInventory fork. We are not expecting upstream review or merge for this branch. |
fritznoff
pushed a commit
to fritznoff/starship
that referenced
this pull request
Nov 2, 2026
…unchenguid#131) * feat(test): move upstream watch and drift test ownership into the fork registry The private upstream drift check and weekly watch are fork-only, but the runner carried their knowledge inline: three test scripts named in its family map, the fork's watch sources and ported-ledger named in its changed-path map, and a fork owner in its .gitignore branch. Each is a line the fork has to defend on every upstream change to that file. They move to tests/fork-test-registry.conf instead. The bootstrap hooks that call the drift check and the pending watch report are already one-line calls and are unchanged. Row types follow what the runner's own map still answers. Every fork source here is named by a test, so the reference fallback still reaches it and the rows are additive; only the ported ledger, which the runner treats as prose, is covered exclusively. Both capabilities now declare the registry rather than the runner as the file they modify. The changed-file fixture copies the real registry, so the two newly registered scripts are created there too, with a note that a new row needs a new stub. * no-mistakes(review): drop watch ledger covers row, fix gitignore test label
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.
Summary
Active supervision can now stay alive in harness lanes where tracked background tasks are not durable.
bin/fm-watch-session.sh startcreates one tmux runner perFM_HOME/state pair and loops through the existing verifiedfm-watch-arm.shpath, so it does not use broad process matching or disturb sibling homes.The guard now requires real watcher proof before staying quiet:
state/.watch.lockmust name a livebin/fm-watch.shprocess for the same home, with matching pid identity, and the liveness beat must be fresh. A fresh.last-watcher-beatby itself now warns instead of hiding a stopped watcher.Docs now point Codex/API-style lanes at the session runner and describe the stronger liveness proof.
Tests
bash -n bin/fm-guard.sh bin/fm-watch-session.sh tests/fm-watcher-lock.test.sh tests/fm-watch-session.test.sh tests/fm-wake-queue.test.shgit diff --checkbash tests/fm-watch-session.test.sh && bash tests/fm-watcher-lock.test.shbash tests/fm-wake-queue.test.sh && bash tests/fm-watch-triage.test.sh && bash tests/fm-wake-daemon-lifecycle-e2e.test.sh