Repository navigation
Conversation
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
Add an opt-in Unix process owner for the existing Native runtime, independent of Desktop/TUI lifetime:
devo daemon start|run|status|stop|attach, authenticated readiness, explicit ownership, attach-only failure when absent, and SIGTERM/SIGINT teardown.server/shutdownwire method in the daemon itself, including from older Desktop bundles. Explicit stop usesdaemon/shutdownand waits for owner-lock release.This is independent of #269. It does not change Desktop queue UI or subagent execution semantics.
Validation
Passed on Linux:
cargo clippy --locked -p devo-server -p devo-cli --all-targets -- -D warnings.cargo fmt --all --checkandgit diff --check.Full server library run: 557 passed, 2 ignored, 3 failed. The failures are existing plain-folder/worktree expectations in unmodified code. This container exposes a synthetic
/tmp/.gitancestor: the filesystem-only repository detector treats temporary directories as repositories while Git rejects them. Those local checks are not reported as passing. The full workspace Test job subsequently passed in CI on the exact PR head below.Exact head
b89bc44d9ab1e26380808d7a59cb114b6b7473c0is green:Boundaries
Design, Prime source comparison, operating limits, and follow-up work: docs/native-background-daemon.md.
Draft for review; do not merge automatically.