Automium Devtool Integration Map

Status

Created on 2026-04-13 from the devtool-integration-map skill.

Primary repo context:

Product Context

Automium sits between product teams, model planners, owned or consented web properties, and QA platform operators. Its integration strategy should preserve one clear separation: planners decide intent, while Automium owns policy, deterministic execution, artifacts, replay, fixtures, and benchmark comparability.

The current repository implements these integrations as TypeScript contract, domain, route-manifest, fixture, and benchmark-runner surfaces. Production service adapters for browser sandboxing, persistence, queues, object storage, realtime transports, credential vaults, and provider-backed planner calls remain hardening work.

Integration Map

Integration Area Current Repo Surface Integration Owner Current Maturity Next Hardening Need
Planner backendspackages/contracts/src/planner-adapter.ts, packages/planner-adapter/src/, packages/benchmark-runner/src/AI platform or Automium planner maintainersContract-level metadata, prompt, parse, compile, and summary requirements are frozen.Provider-backed adapters for GPT, Claude, Gemini, and local/custom planners, with comparable cost, latency, tool-call, and vision metadata.
Journey authoring and compilationapps/control-plane/src/, packages/journey-compiler/src/QA platform and product teamsNatural-language journey inputs compile into graph nodes, assertions, recovery rules, and fixture references.Public API client, validation UX, versioned journey storage, and import paths from existing test suites.
Owned benchmark productsapps/altitude/, apps/switchboard/, apps/foundry/, apps/admin-console/Owned product maintainersDomain modules, API route manifests, adapter boundaries, deterministic seeds, reset hooks, and benchmark routes exist.Deployed browser UIs and browser-driven UI workflow suites for all three products.
Benchmark corpus and fixturespackages/benchmark/src/, packages/benchmark/fixtures/, docs/benchmarks/Benchmark maintainersOwned app corpus covers Altitude, Switchboard, Foundry, and iframe-fixture with stable fixture IDs and deterministic keys.Corpus versioning workflow, publication policy, fixture promotion rules, and reset health checks in service environments.
Browser engine and semantic runtimepackages/engine/src/, packages/runtime/src/, packages/contracts/src/semantic-snapshot.tsEngine/runtime maintainersBrowser state, sessions, frames, storage, network metadata, semantic snapshots, stable element IDs, actionability, and context compaction are modeled.Executable HTML/CSS/JS parsing, layout, event dispatch, sandboxing, and semantic graph generation from real pages.
Deterministic executor and assertionspackages/executor/src/, packages/assertions/src/, packages/contracts/src/planner-adapter.tsExecutor/policy maintainersSupported planner intents compile into deterministic actions and unsupported intents fail fast.Runtime action application against the production engine, richer assertion libraries, and recovery policy controls that cannot mask true failures.
Replay and artifactspackages/event-stream/src/, packages/artifacts/src/, apps/replay-console/src/, docs/contracts/replay-event-v1.mdDebug/replay maintainersReplay event ordering, timeline lanes, artifact manifests, retention metadata, summaries, and replay references are contract-shaped.Object storage, access control, redaction policy, streaming replay transport, and artifact viewer workflows.
Targeted visionpackages/vision/src/, packages/runtime/src/Vision/runtime maintainersTargeted crop request metadata and bounded fallback triggers are modeled.Real crop capture, OCR or visual model adapter calls, crop caching, and spend controls tied to planner prompts.
Orchestration and workerspackages/orchestrator/src/, packages/worker/src/Platform infrastructure operatorsWorker leases, priority queue placement, capability checks, tenant quotas, concurrency decisions, and telemetry summaries are modeled.Real queue transport, worker pools, lease heartbeats, retries, autoscaling, isolation runtime, and operational dashboards.
Policy and governancepackages/policies/src/, packages/rbac/src/, packages/tenancy/src/, packages/audit/src/, apps/admin-console/src/Security, compliance, and platform adminsOwned-domain allowlists, fixture-scoped run policy, tenant checks, RBAC, audit events, and admin route manifests are present.Credential vault integration, tenant-specific policy profiles, artifact access audit, retention enforcement, and approval flows for new domains.
Shared product platformpackages/auth/, packages/tenancy/, packages/rbac/, packages/audit/, packages/realtime/, packages/files/, packages/search/, packages/jobs/, packages/adapters/, packages/api-contracts/, packages/domain-model/, packages/ui/Shared platform maintainersFoundation contracts cover identity, membership, permissions, audit, event delivery, files, jobs, search, adapters, API surfaces, and app shell primitives.Postgres, object storage, queue, search, and realtime transport adapters behind the checked-in contracts.

Planner And Model Ecosystem

Automium should expose planner integrations as adapters, not as privileged model-specific execution paths. The frozen planner contract requires stable metadata, prompt construction, planner output parsing, intent compilation, and step summarization. The allowed v1 intent vocabulary is:

Required planner adapter compatibility:

Concern Requirement
Backend identityEvery adapter reports vendor, model, and intent schema version so benchmark reports stay comparable.
Tool callingTool-call output must normalize into the same planner intent envelope used by non-tool-call planners.
Vision supportVision-capable planners should consume targeted crops only when the runtime says semantics are insufficient.
Cost reportingToken spend and vision usage must be reported per run and per planner backend.
Determinism boundaryPlanners may be nondeterministic, but executor actions, snapshots, artifacts, and verdicts must remain deterministic enough to replay.

Early adapter priority should be GPT, Claude, Gemini, then local or fixture planners for offline regression tests. Vendor-specific features should be captured as metadata and policy inputs rather than leaking into the executor action model.

Product Integration Surfaces

Altitude

Altitude exposes the planning-workspace integration surface:

Main external integration opportunities:

Switchboard

Switchboard exposes the support-workspace integration surface:

Main external integration opportunities:

Foundry

Foundry exposes the app-builder integration surface:

Main external integration opportunities:

Setup Path

The ideal first-success path should prove an integration without requiring production infrastructure:

  1. Install dependencies with pnpm install.
  2. Run pnpm test:run to verify the contract/domain suite.
  3. Inspect the owned corpus in docs/benchmarks/v1-corpus.md.
  4. Pick one owned fixture and route set from Altitude, Switchboard, or Foundry.
  5. Define a natural-language journey against that fixture.
  6. Compile the journey through the control-plane or journey-compiler surface.
  7. Run it with a fixture planner backend or local planner adapter.
  8. Inspect replay events and artifact manifest references.
  9. Compare at least two planner backends through the benchmark-runner report.

The production setup path will need additional steps:

Compatibility Constraints

Constraint Why It Matters Current Guidance
Authorized-use boundaryBrowser agents are risky if they can target arbitrary domains.Keep owned-domain and fixture-scoped policy checks mandatory.
Frozen planner intent vocabularyBenchmark comparability depends on all planners targeting the same action model.Extend through versioned schema changes only.
Deterministic fixturesRepeatability metrics are only meaningful when state resets cleanly.Preserve stable fixture IDs, deterministic keys, and reset readiness checks.
Contract versioningSnapshots, replay events, planner adapters, artifacts, and corpus manifests need migration paths.Treat every public schema change as versioned.
Product parity boundaryOwned products are benchmark fixtures and must not drift casually.Keep parity matrices and benchmark route manifests in sync with product modules.
Semantic-first runtimeToken efficiency depends on structured state, not screenshots by default.Use targeted vision only for ambiguity or semantic gaps.
Credential isolationProduct runs will need secrets for login, datasources, and channels.Replace seed secretRef placeholders with scoped vault retrieval before production.
Artifact privacyReplay data may include sensitive product state.Retention, access audit, and redaction rules must ship before external use.
Infrastructure adapter swapThe repo currently models contracts, not production transports.Keep Postgres, object storage, queue, realtime, and search behind narrow interfaces.

Migration And Adoption Risks

Risk Likely Owner Impact Mitigation
Teams expect Playwright/Cypress parity for all testsQA platform and positioning ownersAutomium may be judged against the wrong job.Position around agent-native workflow QA, replay causality, and planner benchmarking first.
Existing selector-based tests are hard to translateQA automation engineersMigration stalls before first value.Provide journey templates, side-by-side examples, and an augmentation path for flaky high-value flows.
Planner outputs diverge across model providersPlanner maintainersBenchmark reports become hard to compare.Keep adapter metadata strict and normalize all outputs through the same intent vocabulary.
Owned fixture realism decaysBenchmark and product maintainersBenchmark credibility erodes.Maintain parity matrices, route manifests, fixture checks, and corpus versioning together.
Artifact and replay data exposes sensitive stateSecurity and compliance ownersExternal pilots may be blocked.Prioritize artifact retention, redaction, RBAC, audit events, and scoped replay access.
Production engine scope grows too quicklyEngine/runtime maintainersCompatibility work may swamp the QA v1 subset.Keep v1 focused on authenticated React/Vue SaaS workflows and owned benchmark products.
Infrastructure contracts do not match real transportsPlatform operatorsQueue, storage, and worker behavior may need rewrites.Add adapters behind current interfaces before expanding product surface.
Credential vault arrives lateSecurity and product integration ownersReal product and datasource journeys stay blocked.Treat vault-backed secret resolution as a prerequisite for production pilots.

Integration Priorities

  1. Provider-backed planner adapters for GPT, Claude, Gemini, plus a fixture/local adapter for deterministic CI-style checks.
  2. Production persistence and artifact storage behind the existing run, replay, audit, and manifest contracts.
  3. Queue and worker infrastructure that implements the current lease, quota, concurrency, and telemetry model.
  4. Credential vault integration for product logins, datasource secrets, channel adapters, and planner credentials.
  5. Browser UI workflow suites for Altitude, Switchboard, and Foundry.
  6. Replay console access control, redaction, retention enforcement, and exportable run bundles.
  7. Import or migration examples from Playwright/Cypress for high-value journeys.

Open Questions