Conversation
Publish host intent plus a kernel-owned PendingMutation before retiring owned direct MCP, raise transaction schema 3 / writer floor 2 for that transition, and keep the floor after cleanup or rollback. Ordinary installs stay on protocol v1. Coordinators take a process lease and replay journals through a recovery-only Commit entry. Co-authored-by: Илия <iliyazelenkog@gmail.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## feat/agent-notify-e2e #180 +/- ##
=========================================================
- Coverage 65.27% 65.18% -0.09%
=========================================================
Files 168 170 +2
Lines 17182 17474 +292
=========================================================
+ Hits 11215 11391 +176
- Misses 4360 4432 +72
- Partials 1607 1651 +44 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This was referenced Sep 14, 2026
macOS and Windows CI failed Recover-only replay because the ledger stores EvalSymlinks/long-path roots while t.TempDir() still holds the uncanonical path. Accept SIGTERM as a successful blocked-MCP join on Darwin. Co-authored-by: Илия <iliyazelenkog@gmail.com>
Rewrite the SIGTERM-or-exit-2 check as a positive join predicate so golangci-lint staticcheck no longer flags De Morgan's law. Co-authored-by: Илия <iliyazelenkog@gmail.com>
This was referenced Sep 14, 2026
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.
Stacked on #177 (
feat/agent-notify-e2e@89d8524). This is P4a only from the UAP installer SDK + notification wizard plan: kernel reservation/intent/floor guard. Default installer routing is unchanged. Do not merge this into #177; keep it as a child PR.What landed
PendingMutationreservation published in the same recoverable transaction as host-ownedportable-handoff.json.ErrReservationConflict..setup-coordinator.lock) serializes confirmed handoff/resume. Death releases the lease; the persisted reservation remains.Recover()/Commit(RecoverOnly)replays a pending journal and returns without refresh, install, or a new consumer.ErrPolicyRecovery.portablesetupor UAP types and does not parse intent JSON.Tests (no Claude/Codex login)
TestRecoverOnlyReplaysJournalWithoutConsumercompares recoveredRuntimeRootthroughCanonicalPath.TestAgentNotifyProcessBlockedMCP/signaltreats SIGTERM as a successful join, using a positive join predicate that satisfies staticcheck QF1001.Not in this PR (later plan checkpoints)
setup-notifications wizard.Plan acceptance for P4a
Reservation blocks conflicting replace/register; intent+reservation are published atomically through the existing transaction; schema 3 + floor 2; old writer rejects pending start/cleanup/reverse; floor is not lowered; coordinator lease; recovery-only kernel entry; no second journal engine.