fix(agent-org): harden recovery, task orchestration, and run finality#382
Closed
ShiboSheng wants to merge 2 commits into
Closed
fix(agent-org): harden recovery, task orchestration, and run finality#382ShiboSheng wants to merge 2 commits into
ShiboSheng wants to merge 2 commits into
Conversation
Split the deterministic Agent Org recovery, task authority, planner approval, wake dispatch, restart handling, and run-finality backend from the combined #373 change so it can be reviewed independently of the UI. Verification: - PROTOC=/tmp/protoc-28.3/bin/protoc cargo test -p agent_core --lib agent_org (178 passed) - PROTOC=/tmp/protoc-28.3/bin/protoc cargo test -p agent_core --lib lifecycle::tests -- --test-threads=1 (5 passed) - PROTOC=/tmp/protoc-28.3/bin/protoc cargo check -p org2 - git diff --cached --check - Full strict Clippy is blocked by unchanged develop warnings in orgtrack-core and agent-core Pre-commit hook ran. Total eslint: 0, total circular: 0
Keep the backend recovery, planner approval, and finality audit trail with the backend half of the #373 split so reviewers can evaluate the invariants alongside the Rust implementation. Verification: - git diff --cached --check Pre-commit hook ran. Total eslint: 0, total circular: 0
This was referenced Jul 15, 2026
ShiboSheng
marked this pull request as ready for review
July 15, 2026 08:43
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
Part 1 of #272.
This is the backend half of #373, split out so the Agent Org runtime, persistence, recovery, scheduling, and task invariants can be reviewed independently from the UI.
Combined reference: #373
What changed
Issue #272 coverage
EXISTS, skips missed watchdog ticks, and removes repeated task × member scanning.Review boundaries
src-tauri/**src/**or browser E2E filesStacked frontend: #383
Verification
PROTOC=/tmp/protoc-28.3/bin/protoc cargo test -p agent_core --lib agent_org— 178 passedPROTOC=/tmp/protoc-28.3/bin/protoc cargo test -p agent_core --lib lifecycle::tests -- --test-threads=1— 5 passedPROTOC=/tmp/protoc-28.3/bin/protoc cargo check -p org2— passedagent_core,core_types,e2e-test,org2, andsession_persistencegit diff --cached --check— passedsrc-tauri/**and architecture-audit filesKnown target-branch baseline
Full workspace
cargo clippy --all-targets -- -D warningsis currently blocked by unchanged warnings in the latestdeveloporgtrack-coreand unrelatedagent_corepaths. The repository's scoped pre-commit Clippy passed for this change.