Skip to content

[P0.5] VerificationWrapper runs gates/quick-fixes against the main repo, not the worktree the agent modified #716

Description

@frankbria

Severity: high | Category: correctness | Phase: P0.5

Problem

Runtime passes the worktree path to wrapper.run(...), but the wrapper verifies with run_gates(self._workspace, ...) and quick-fixes self._workspace.repo_path — both the original repo. Under worktree isolation gates test an unmodified tree (trivially pass → false COMPLETED) while corrections target the wrong checkout.

Evidence

codeframe/core/adapters/verification_wrapper.py:92

Acceptance criteria

  • Gates and quick-fixes execute against the workspace_path argument passed to run().
  • Test: with isolation=worktree, a failing gate in the worktree causes a correction round (not a false pass).

Dependencies

blocked by #714 ([P0.3])


Filed from the SaaS launch-readiness audit. Atomic: one developer, one session. Work order: strictly P0.1 → P3.12 (no forward dependencies).

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0-blocker-betaCritical blocker - must fix before beta testingpriority:hightype:bugSomething is broken and needs fixing

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions