Skip to content

chore: unify findRepoRoot in agentkit_test.go before merging PRs #56 and #59 #68

Description

@sonupreetam

Problem

PRs #56 and #59 both define a findRepoRoot helper function in internal/agentkit/agentkit_test.go with incompatible signatures:

Merging both will cause a compile error.

Resolution

Establish merge order: #56 merges first (introduces findRepoRoot(t *testing.T) string), then #59 rebases and adopts the existing function.

The (t *testing.T) string signature is preferred — it's idiomatic for test helpers (uses t.Helper() + t.Fatalf internally).

Context

Identified by review council run on 2026-08-10 across the DCP prompt hardening PR series (#54-#59).

Recommended merge order: #54 (merged) → #55#57#56#59

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions