Rename the two os-sdlc FakeRunner fakes after their collaborator #1468

Closed
opened 2026-10-28 16:56:50 +00:00 by jared · 2 comments
Owner

Problem

Two unrelated fakes share the name FakeRunner.

  1. plugins/os-sdlc/tests/evidence/probe/lsp_test.rb:12 — a nested class with symbols(name:, root:); it fakes a symbol probe.
  2. plugins/os-sdlc/eval/ticket-takedown/test/run_support.rb:12 — call(argv, cwd:, stdin:, timeout:); it fakes the claude CLI call.
    A shared name for different jobs hides the collaborator.

Approach

Rename them to FakeSymbolProbe and FakeClaudeCall, or to the collaborator's real name after you read each.
Update callers in those files only.

Required work:

  1. Rename both fakes — check: absent FakeRunner in plugins/os-sdlc/tests/**
  2. Rename the eval fake — check: absent FakeRunner in plugins/os-sdlc/eval/ticket-takedown/test/**

Acceptance criteria

  1. Given the renamed fakes, when the os-sdlc suite and the ticket-takedown eval tests run, then both are green.

Owner sketch

FakeSymbolProbe
FakeClaudeCall

Route: fast-batch.

Origin

  • Trigger: tests/support inventory survey 2026-10-28 after fast-batch-21 (#1019)
  • Improvised this session: none
  • Chain: misnamed or hand-built test records ← convention adopted 2026-10-28 but only TicketFixture converted ← DESIGN (#1019 memo comment)
  • Root candidate: none found; searched FakeRunner, fake, test double, run_support, lsp_test
  • Where: plugins/os-sdlc/tests/evidence/probe/lsp_test.rb
  • Session: 2dd497e0-555e-4518-9cdd-c68461c32463
  • Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os/2dd497e0-555e-4518-9cdd-c68461c32463.jsonl

VERDICT: CREATE

Parent: #1019

## Problem Two unrelated fakes share the name `FakeRunner`. 1. `plugins/os-sdlc/tests/evidence/probe/lsp_test.rb:12` — a nested class with `symbols(name:, root:)`; it fakes a symbol probe. 2. `plugins/os-sdlc/eval/ticket-takedown/test/run_support.rb:12` — `call(argv, cwd:, stdin:, timeout:)`; it fakes the claude CLI call. A shared name for different jobs hides the collaborator. ## Approach Rename them to `FakeSymbolProbe` and `FakeClaudeCall`, or to the collaborator's real name after you read each. Update callers in those files only. Required work: 1. Rename both fakes — check: absent `FakeRunner` in `plugins/os-sdlc/tests/**` 2. Rename the eval fake — check: absent `FakeRunner` in `plugins/os-sdlc/eval/ticket-takedown/test/**` ## Acceptance criteria 1. Given the renamed fakes, when the os-sdlc suite and the ticket-takedown eval tests run, then both are green. ## Owner sketch ```ruby FakeSymbolProbe FakeClaudeCall ``` Route: fast-batch. ## Origin - Trigger: tests/support inventory survey 2026-10-28 after fast-batch-21 (#1019) - Improvised this session: none - Chain: misnamed or hand-built test records ← convention adopted 2026-10-28 but only TicketFixture converted ← DESIGN (#1019 memo comment) - Root candidate: none found; searched FakeRunner, fake, test double, run_support, lsp_test - Where: plugins/os-sdlc/tests/evidence/probe/lsp_test.rb - Session: 2dd497e0-555e-4518-9cdd-c68461c32463 - Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os/2dd497e0-555e-4518-9cdd-c68461c32463.jsonl VERDICT: CREATE Parent: #1019
Author
Owner

Work started on branch fast-batch-22.

Work started on branch fast-batch-22.
Author
Owner

Resolution

Done: The two FakeRunner fakes carry their collaborator's name: FakeLspSession (tests/evidence/probe/lsp_test.rb, stands in for Evidence::LazyLspSession) and FakeProcessRunner (eval/ticket-takedown/test/run_support.rb, stands in for Takedown::ProcessRunner).

Evidence: fast-batch-22 merged to main 5f32ca8f; commit a43959fe. os-sdlc suite 2904 runs, eval suite 608 runs, 0 failures. No FakeRunner left in tests or eval tests outside frozen ledger data (ruling K2).

Follow-ups: none

## Resolution **Done:** The two FakeRunner fakes carry their collaborator's name: FakeLspSession (tests/evidence/probe/lsp_test.rb, stands in for Evidence::LazyLspSession) and FakeProcessRunner (eval/ticket-takedown/test/run_support.rb, stands in for Takedown::ProcessRunner). **Evidence:** fast-batch-22 merged to main 5f32ca8f; commit a43959fe. os-sdlc suite 2904 runs, eval suite 608 runs, 0 failures. No FakeRunner left in tests or eval tests outside frozen ledger data (ruling K2). **Follow-ups:** none
jared closed this issue 2026-10-28 19:00:09 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#1468
No description provided.