transductive.scienceLab note / direct access

Minefield Engine » Preparation checkpoint 01

From Native Browser Agent to Crash-Consistent Runtime

ChromiumFish has proved that Chromium itself can perceive and act. Minefield must make that power durable, profile-correct, restartable, and explicitly governed by the user.

31 July 2026 · Direct-access technical note · Not linked from the public index

Ground reality

ChromiumFish is not a cosmetic fork and not merely Playwright around Chromium. Its source contains a native C++ perceive–think–act loop inside the browser process, built on Chromium’s experimental Actor framework and AIPageContent and exposed through Browser.agentRunTask.

That is a serious donor substrate. It is not yet the Minefield Engine.

What the donor already proves

What remains missing

The current controller is task-local rather than a permanent profile subsystem. The convenient launcher creates and deletes a temporary profile. Provider credentials travel in process arguments. Replay is a workflow cache, not a crash-consistent transaction journal.

Minefield additionally requires durable operation identities, target generations, document epochs, stale-result rejection, unknown-outcome reconciliation, and continuation after browser restart.

The Minefield delta

  1. Profile integration: a complete MinefieldAgentServiceFactory, with separate regular, guest, and off-the-record services.
  2. Target ownership: owned WebContents under unique ownership; adopted tabs observed through leases.
  3. Transaction evidence: a SQLite WAL recording OBSERVED, INTENT_COMMITTED, DISPATCH_STARTED, DISPATCH_ACKNOWLEDGED, and OUTCOME_OBSERVED.
  4. Recovery: uncertain external effects become UNKNOWN_OUTCOME and are re-observed rather than blindly retried.
  5. Secure model transport: authenticated WinAgent named-pipe requests; WinAgent performs provider HTTPS calls and never returns the long-lived key.
  6. Scoped scheduling: a page lease prevents active targets from freezing without falsely foregrounding unrelated pages or processes.
  7. User-owned authority: Minefield-specific capability policy instead of globally disabling Chromium Actor checks.
First rule: reproduce the unmodified ChromiumFish donor against an exact upstream revision before writing Minefield code.

Version drift found

The donor repository currently describes a Chromium 150 engine in its upstream pin and source patches, while its application script and default Python SDK release pin still describe Chromium 149. The first artifact is therefore a reproducibility manifest containing exact commits, patch hashes, GN arguments, toolchain versions, build output, and a native-agent smoke result.

What we will not do

  • No ignored patch failures.
  • No global Actor safety function changed to unconditional success.
  • No visibility fiction through SetHidden.
  • No API key in Chromium arguments.
  • No dangling WebContents pointer.
  • No DevTools target ID treated as durable identity.
  • No blind retry after an irreversible or uncertain action.

Implementation order

  1. Pin and reproduce ChromiumFish.
  2. Add the profile-keyed service and target ownership.
  3. Add operation IDs, generations, and document epochs.
  4. Add the journal and deterministic kill points.
  5. Move model transport into the WinAgent broker.
  6. Add page-scoped scheduler leases.
  7. Install the user-owned capability policy.
  8. Add restart continuation and outcome reconciliation.

Acceptance boundary

The engine is accepted only when secrets stay outside Chromium, profile shutdown is memory-safe, incognito remains isolated, stale generations cannot execute, scheduler exemptions end with leases, every kill point recovers deterministically, and uncertain non-idempotent actions never duplicate external effects.

Current checkpoint

The first implementation packet is deliberately narrow: MinefieldAgentService, its complete factory, explicit profile selection, owned/adopted target leases, generation and document-epoch types, build integration, and lifecycle tests.

The hard problem is no longer proving that Chromium can act. ChromiumFish has proved that. The Minefield problem is making native action durable, attributable, profile-correct, restartable, and under explicit user authority.

← Return to Transductive Science