Skip to content

test: fixtures cannot run under CSA git guard #3046

Description

@aider4ryder

Reproduction

Run from a CSA executor session:

just test-f "/soft_limit|writer_default_projection|host_memory_reviewer_guidance|run_from_non_vcs_directory/"

The selector stops at the pre-existing integration test session_result_summary_surfaces_pre_exec_soft_limit_admission_result. Its fixture calls csa_session::create_session, which tries git init, but the executor git guard rejects it.

The normal fast commit gate has the same root cause:

just pre-commit-fast

Its source monolith check passes, then its hermetic test script invokes git -C ... and is rejected by the same guard.

Receipt

  • CSA session: 01KZPDNCSAQ1PY9D8BBS9ENN6G
  • Session directory: /home/obj/.local/state/cli-sub-agent/home/obj/project/github/RyderFreeman4Logos/cli-sub-agent/sessions/01KZPDNCSAQ1PY9D8BBS9ENN6G
  • Focused-selector exit code: 100
  • Fast-gate exit code: 128
  • Stderr excerpts:
    • CSA git-guard: blocked command: git <command>; Use a hermetic local bare fixture under $CSA_SESSION_DIR/git-fixtures and push to its direct canonical path or file:// URL.
    • CSA git-guard: blocked command: git -C <value> <command> <option>

Expected: repository-declared focused selectors and normal commit gates can run inside a CSA executor session without changing unrelated test fixtures or bypassing the guard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions