Skip to content

Add independently graded browser-agent repair pilot - #80

Merged
Narrator merged 1 commit into
mainfrom
codex/cloud-agent-repair
Oct 26, 2026
Merged

Narrator merged 1 commit into
mainfrom
codex/cloud-agent-repair

Conversation

@Narrator

Copy link
Copy Markdown
Member

An agent returning a plausible patch is insufficient evidence that it fixed the intended UI behavior. This pilot gives full browser/source tools to an agent, captures its patch against an immutable seeded app commit, then applies that exported artifact to a fresh worktree/install for independent browser grading. A second condition also supplies a persisted Domscribe annotation and exact runtime/source tools.

The controlled cart defect updates both variants sharing an SKU. Acceptance checks only the intended line changes, reload persistence, sorting/filtering, Cancel, application errors, and functional production UI without instrumentation. Local execution builds Domscribe artifacts from a separate clean worktree at pinned main 2306385, records/validates their digest, and preserves the primary checkout. SDK execution adds only a selected Codex kit, existing provider-secret resource reference, and safe required extra artifacts to the existing bounded lifecycle runner. No credential values are read/copied, and no GitHub issue ingestion, publishing or deployment is implemented.

Validation:

  • Both final local agent conditions passed the strengthened exported-patch/fresh-worktree verification. Same source seed, harness digest and pinned artifact digest; both returned the identical minimal SKU-to-ID repair. Domscribe resolved the selected line-a and handled ambiguous source lookup via an exact instance.
  • Node 24.22.1, Codex CLI 0.164.0, Playwright MCP 0.0.83, Chromium 156.0.8078.4, React 18.3.1 / Vite 7.3.7. Zero application console/page/network errors. All 15 package build/sync targets ran uncached independently for each final condition.
  • 36 offline tests and three owned-process regressions pass, plus standalone TypeScript, zero-warning lint, syntax, formatting and CLI help checks. Meaningful RED/GREEN regressions cover staged-patch omission, source provenance/stale dist, exact runtime evidence and cancellation. CI runs no model/cloud workloads.
  • Independent review found three material gaps (staged patch omission, missing production-build cancellation, unverified artifact provenance). All were reproduced/fixed; re-review found no remaining material issues and independently regraded the retained raw evidence.

Cloud qualification is still blocked: both existing provider-secret references returned HTTP 409 failedPrecondition with no details, even for a shell kit. The native Codex kit starts without a binding but a minimal model request returns HTTP 401. All accepted diagnostic sandboxes were confirmed deleted. The user has been asked about provider/account setup. Keep this PR draft until the native cloud flow is qualified; local results do not establish cloud success.

One seeded task and one final local trial per condition do not establish demand or efficiency. Completed MCP calls were 5 baseline / 15 enriched; the enriched prompt requires additional Domscribe work and strategies differ. Exact model ID was not reported. This is feasibility evidence with an explicit cloud gate, not a performance claim. Usage, evidence and limits are in docs/cloud-agent-repair-pilot.md.

@nx-cloud

nx-cloud Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit ce29c29

Command Status Duration Result
nx run domscribe-test-fixtures:install-fixture-... ✅ Succeeded 19s View ↗
nx run domscribe-test-fixtures:integration--web... ✅ Succeeded 2m 52s View ↗
nx run domscribe-test-fixtures:integration--web... ✅ Succeeded 2m 54s View ↗
nx run domscribe-test-fixtures:install-fixture-... ✅ Succeeded 17s View ↗
nx run domscribe-test-fixtures:integration--web... ✅ Succeeded 2m 12s View ↗
nx run domscribe-test-fixtures:integration--web... ✅ Succeeded 2m 6s View ↗
nx run domscribe-test-fixtures:integration--vit... ✅ Succeeded 44s View ↗
nx run domscribe-test-fixtures:install-fixture-... ✅ Succeeded 42s View ↗
Additional runs (18) ✅ Succeeded ... View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-10-26 01:35:27 UTC

@Narrator
Narrator marked this pull request as ready for review October 26, 2026 13:14
@Narrator
Narrator merged commit bfb108d into main Oct 26, 2026
40 checks passed
@Narrator
Narrator deleted the codex/cloud-agent-repair branch October 26, 2026 13:15
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