Skip to content

test(coding-agent): prove B00B production-path swarm gate - #1115

Open
sethkarten wants to merge 28 commits into
perf/c00-session-lifecyclefrom
perf/b00b-production-gate
Open

test(coding-agent): prove B00B production-path swarm gate#1115
sethkarten wants to merge 28 commits into
perf/c00-session-lifecyclefrom
perf/b00b-production-gate

Conversation

@sethkarten

@sethkarten sethkarten commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Outcome

Adds the B00B test-only production-path gate on top of C00. It exercises real provider registration, AgentSession.runRlmChild, daemon supervisor/workers, upstream cancellation/429 handling, signed evidence, exact economics, attachment backpressure, and whole process-group RSS without changing production behavior.

Stack: #1106#1107 → this PR.

Scope boundary

  • Diff is confined to 16 files under packages/coding-agent/test/swarm.
  • No production src, provider default/export, dependency, daemon protocol, product documentation, shared semaphore, client queue, local 429, or paid/network provider.
  • Independent requests enter the scripted provider concurrently; barriers observe entry and never admit/rate-limit requests.
  • This is a reproducibility/resource-safety gate, not an absolute RSS improvement claim.

Exact validation

Exact head 9d9cf28d51490ef06efba738c3fff788463acdff on the pinned isolated Linux runner:

  • Biome and root tsgo --noEmit: pass
  • Full monorepo build: pass
  • Integrated focused suite: 70/70
  • Real RLM + signed-adapter suite across three invocations: 60/60
  • Process-stress: 6/6 runnable, 8 tag-skipped
  • RSS fanout 1/4/16/64 × 5: 20/20 complete, max gap 28 ms, positively verified final empty process groups
  • No surviving matching processes, sockets, or temp directories

Retained evidence archive SHA-256: f9985c73eecc893904e4c5d40958d34e964b44295895a43481a1bee4552c871c
Exact Git bundle SHA-256: 2d06070c9411a9c729b5c2e2513ce3f661d84ec313ac70f87200ea3939698359

Evidence integrity

A retained content-free corpus is externally Ed25519 committed and fresh-process verified. Artifact/trust files are 0600; recursive privacy scans reject fixture canaries. Requested/resolved identities and exact integer economics remain separate. Failed historical RSS/cadence/ownership campaigns remain retained in the component evidence history.

Merge order

Review the complete stack now, but merge parent-first: #1106, then #1107, then this PR. Revalidate each updated head/default branch before advancing.

Comment thread packages/coding-agent/test/swarm/production-scripted-provider.ts
@sethkarten
sethkarten force-pushed the perf/b00b-production-gate branch from 020c28e to 1ec2d4e Compare August 10, 2026 05:16
Comment thread packages/coding-agent/test/swarm/run-production-rss-campaign.ts
Comment thread packages/coding-agent/test/swarm/daemon-production-dispatch.test.ts Outdated
Comment thread packages/coding-agent/test/swarm/production-scripted-provider.ts
@sethkarten
sethkarten force-pushed the perf/b00b-production-gate branch from c7a4848 to f6b2810 Compare August 10, 2026 06:07
(cherry picked from commit 7a51453ca7bf4036641b71738b3a5ed6bdb389ff)
(cherry picked from commit 8b087dffbd76cc6b052cd40a16610d501f67e71f)
(cherry picked from commit ae0c335da0225517a32044b997d7916496a3381a)
(cherry picked from commit acd8de0c8fa800db8ec46cc03c1b93127f647526)
(cherry picked from commit 32a9570861fad3a6e3dc22e3253dd89ed4223e2e)
(cherry picked from commit d7d5dfd630a0bf35620c63847e2d27b21e029ec4)
(cherry picked from commit d279037bba89be299d0ba8a63893f963a6df6157)
(cherry picked from commit 9c66fccce4b5a1b265c621cd165d7f6e238d6932)
(cherry picked from commit 6dd1e53734ea74897159fa62a3fafcc92fe69245)
(cherry picked from commit d860c1dac5021d2fe8d05db8708353f3b44bf295)
(cherry picked from commit d672b051a636f26f661b2b70b49a39f78fa61612)
(cherry picked from commit 4ecb14d0bc41fc4c9e99d769c2c044e7f7a93d3e)
(cherry picked from commit 1a051af313aeb5ebec9d331fdc6a4b88035c16f0)
(cherry picked from commit 27de42170303d6942af9443af8827c553a246c74)
(cherry picked from commit 0b43304d5821ea59ff85b1a11fb5109b82be6ead)
(cherry picked from commit 6f1368010ea16193d7ec60f373cf3d0e820118d4)
(cherry picked from commit 5474a1ec731793e1ad57263f984da5acc29f0ed1)
(cherry picked from commit 68132ed1e7ea6b83ee00868d0ea5ebe35e21b37a)
(cherry picked from commit cc8f12b7c8659e9f0473ef86ac4f06c8e4fd733d)
(cherry picked from commit 32c2af11823ae36ecd3bd683db26248fa5e2aec1)
(cherry picked from commit 7fd57674c21ba6c8a46d87c31f8fcb5317934f57)
(cherry picked from commit 334682199513ad552834af462e1e2794adcd1019)
(cherry picked from commit ab170645d8390f36f6ff4b7aa17fd4802bc7db9a)
(cherry picked from commit 7c2485ae54ad9ae31a193fcef8dcf32bfcb17ffc)
@sethkarten
sethkarten force-pushed the perf/b00b-production-gate branch from f6b2810 to 6e9354c Compare August 10, 2026 06:27

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 6e9354c. Configure here.

Comment thread packages/coding-agent/test/swarm/run-production-rss-campaign.ts
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