Skip to content

PLATFORM_git-touching-tests-docker-cutover #593

Description

@flyingrobots

Migrated from a local Wesley Method backlog card after adopting METHOD v2.1.0 tracker doctrine.

  • Source path: docs/method/backlog/up-next/PLATFORM_git-touching-tests-docker-cutover.md
  • Original filesystem lane: up-next
  • Canonical Method lane label: lane:asap
  • Legend: PLATFORM
  • Migration issue: Migrate Wesley Method backlog to GitHub Issues #548
  • Migrated on: 2026-06-04

Original Local Backlog Card

PLATFORM_git-touching-tests-docker-cutover

Why

Wesley now carries the invariant that any test touching real Git must run in a
hermetic Dockerized lane.

The current audit shows Holmes tests and other Git-touching suites still run on
the host, which is how hook-inherited Git environment was able to contaminate a
real branch.

Done when

  • every test that shells out to git is classified into the Docker lane
  • the Docker lane uses copy-in isolation and does not expose the host repo's
    .git, hooks, remotes, or inherited GIT_*
  • the Docker lane obliterates remotes before tests run unless a suite
    intentionally creates a local fixture remote
  • hook-driven sanity runs dispatch those suites into Docker instead of running
    them on the host
  • tests that do not truly need real Git are downgraded to fake-port/native
    tests rather than being containerized by default

Evidence

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlegend:PLATFORMPlatform/infrastructure workv0.4.0Scheduled work for the v0.4.0 release.work:integrityRemoves lies, drift, flake, or trust debt

    Projects

    Status
    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions