Skip to content

docs(state-machines): reconcile P5, P6, and Tier-A owners with teardown and race tests - #905

Open
sambitcreate wants to merge 2 commits into
mainfrom
feat/sm-p5-p6-tier-a
Open

sambitcreate wants to merge 2 commits into
mainfrom
feat/sm-p5-p6-tier-a

Conversation

@sambitcreate

Copy link
Copy Markdown
Owner

Summary

  • Update docs/state-machines/physical-teardown.md with verified dispositions for remaining P5 rows (M112, M125–M156, C43, Rank 13/14) and P1–P5 cross-lane shutdown/restart trace
  • Add docs/state-machines/p5-p6-tier-a-reconciliation.md with 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)
  • Add 12 behavioral teardown/race tests across 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, and git-executable.test.ts

Verification

  • 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)

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Pullfrog  | ⚠️ this action is pinned to a commit SHA, which freezes the cleanup step — switch to @v0 or keep the SHA fresh with Dependabot | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using GPT Sol | 𝕏

Comment thread main/services/git-executable.test.ts Resolved

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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_PATH test 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.

Pullfrog  | ⚠️ this action is pinned to a commit SHA, which freezes the cleanup step — switch to @v0 or keep the SHA fresh with Dependabot | View workflow run | Using GPT Sol | 𝕏

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant