Repository navigation
docs(state-machines): reconcile P5, P6, and Tier-A owners with teardown and race tests - #905
sambitcreate wants to merge 2 commits into
Conversation
…th targeted race/teardown tests
There was a problem hiding this comment.
Important
The reconciliation overstates one cross-owner shutdown guarantee, and two new race tests do not independently prove the invariants they claim.
Reviewed changes across all 9 files in the initial PR, including both state-machine documents and every added teardown/race test.
- P5/P6 reconciliation — Adds dispositions and transition descriptions for remaining P5, P6, deferred, and dense Tier-A owners.
- Cross-lane lifecycle trace — Documents startup recovery and shutdown ordering from admission through physical teardown.
- Behavioral race coverage — Extends Bot, browser, background-job, Git, schedule, routine, and subagent suites with teardown and race scenarios.
@v0 or keep the SHA fresh with Dependabot | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using GPT Sol | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes since the prior Pullfrog review, covering the follow-up fixes in bba618e6d and their full-PR context.
- Clarified bounded shutdown semantics — Replaced the strict Bot ingress settlement claim with an explicit account of the five-second schedule cap, non-cancelling send race, and harness admission boundary.
- Isolated the Git environment fence — Reworked the
GIT_EXEC_PATHtest to leave signed paths unchanged and independently observe baseline fast-path reuse plus repeated Git-backed verification under the dangerous environment. - Strengthened nested cleanup assertions — Recorded the nested run identity and now require exactly one completion and one matching
SubagentStop.
@v0 or keep the SHA fresh with Dependabot | View workflow run | Using GPT Sol | 𝕏

Summary
docs/state-machines/physical-teardown.mdwith verified dispositions for remaining P5 rows (M112,M125–M156,C43, Rank 13/14) and P1–P5 cross-lane shutdown/restart tracedocs/state-machines/p5-p6-tier-a-reconciliation.mdwith explicit transition tables and dispositions for open P6 owners,M100,M163,M166,M026/M158/M159/M147,C03, Lane B's 30 deferred IDs, and dense Tier-A owners (VerifiedRepoIdentityProof,bot-allow-list/access/tallies,aiden-remote-bot-session,bot-application-service)background-jobs.test.ts,browser/core.test.ts,subagent-supervisor.test.ts,schedule-service-core.test.ts,scheduled-bot-routines.test.ts,bot-session-service.test.ts, andgit-executable.test.tsVerification
npm run type-check,test:follow-through(180/180),test:scheduled(373/373),subagent-supervisor.test.ts(62/62),git-executable.test.ts(30/30),browser/core.test.ts(22/22),bot-session-service.test.ts(53/53),test:bot-runtime(625/625)