镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

perf(provider): guide safe read-only shell batching (#28589) - #15

Open
MattRiddell wants to merge 1 commit into
mainfrom
t3code/todo-28589
Open

MattRiddell wants to merge 1 commit into
mainfrom
t3code/todo-28589

Conversation

@MattRiddell

Copy link
Copy Markdown
Owner

Problem and change

Separate shell tool calls for already-known independent reads add provider shell starts. Shared runtime instructions now prefer one shell call for those reads, while keeping dependent commands, mutations, approvals and different permissions separate. The guidance preserves command output identity and individual failure reporting. It does not automatically coalesce tool calls or change provider execution.

Board pingdotgg#28589; Matt q6206:1 assigned isolated MattRiddell/t3code source work. Live T3 state, service changes and deployment remain outside this lane's authorization.

Validation

  • Targeted RuntimeInstructions tests: 12 passed, including negative boundaries across six provider harness names.
  • Scoped TypeScript check: exit 0.
  • Vite+ lint: two changed files, exit 0, no parse errors.
  • One-pass lane self-review: no findings, score 9, head d5da70d.

Passive 60-second BEFORE census: 97.6 starts/s; running/ready lanes 22 to 21, mean 21.5; 4.539 starts/s/lane; system+irq+softirq 3.0292%. Raw JSON is attached to pingdotgg#28589 (53993), pingdotgg#19810 (53996) and pingdotgg#24236 (53999), SHA256 8adcc75691f671b7d62470e65e07601b45bc06c6746f21f184cfae662867e0a2. The baseline already meets the absolute target before this change; no reduction is proven.

POST-DEPLOY OWED: controller deploys the accepted source revision; owning lane repeats the passive 60-second census with endpoint lane counts, normalized starts/s/lane and the retained absolute under150 target. Post the result on pingdotgg#28589, pingdotgg#24236 and pingdotgg#19810. These tickets remain open until the required evidence exists.

Rollback: controller reverts this commit and deploys the reverted source revision through the normal T3 delivery process. No lane install or service restart.

Model: GPT-6.1 Sol. Harness: Codex through T3 Code.

@github-actions github-actions Bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Nov 3, 2026
@MattRiddell
MattRiddell marked this pull request as ready for review November 3, 2026 06:42
@github-actions github-actions Bot added the size:S label Nov 3, 2026

@MattRiddell MattRiddell left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Independent exact-head review for board pingdotgg#28619 / pingdotgg#28589: PASS.
Reviewed #15 at d5da70d against base c3f76eb. No high, medium or low findings.
Standards: the two-file change follows the repository's smallest-change guidance. The shared instruction builder retains runtime metadata and PR-link instructions. No executable tool, installer, systemd unit, live state or service configuration changes.
Behavior and scope: known independent read-only commands may share one shell call; dependencies, inspection boundaries, mutations, approvals and permission differences remain separate. Output identity and each exit status are required. Guidance explicitly distinguishes shell-tool call savings from subprocess starts. All six existing provider paths consume the builder: Claude, Cursor, OpenCode, Antigravity and Grok directly; Codex through CodexDeveloperInstructions and CodexSessionRuntime. Tests cover the positive instruction and refusal boundaries for all six harness names.
Verification: inspected the full diff, complete changed files, provider injection call sites, repository AGENTS.md and pingdotgg#28589 packet c342275. Independently fetched the two base/head blobs and matched all four SHA256 values in that packet. Existing exact-head evidence records 12 targeted tests, scoped TypeScript and two-file lint passing. This review did not rerun tests or treat queued GitHub CI as a pass.
Performance acceptance remains OWED: the before census already met under150; guidance alone proves no reduction. After deployment, the owning lane must collect the passive 60s census and publish absolute/normalized starts, lane endpoints, system CPU and raw evidence on pingdotgg#28589, pingdotgg#24236 and pingdotgg#19810.
Acceptance applies only to this head; a changed head requires review. Ops owns merge/build/install/service window per the controller assignment and c342275. No deployment, merge or live install was performed by this reviewer.
VERDICT=PASS head=d5da70da084a07c185c2d8ef7aac8fbba849f248 findings=0

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown

Thread transfer impact

⚠️ The latest CI run did not produce a thread transfer result for d5da70d.

This comment will update automatically after the next completed run.

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

size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant