Skip to content

test(miner-hands): parity/contract test suite for CodingAgentDriver implementations #4296

Description

@JSONbored

Explicitly depends on #4262 (the interface), #4266 (CLI-subprocess driver), and #4267 (Agent-SDK driver) landing first — a parity/contract suite has nothing to compare until at least two real implementations of CodingAgentDriver exist. Its job is to prove #4266 and #4267 are actually interchangeable behind the shared interface (the property #4267's own deliverables and maintainer-only issue #2333 both depend on: "a caller... can swap this driver for the CLI-subprocess driver with no caller-side changes"), the same way test/contract/engine-parity.test.ts proves buildPredictedGateVerdict's re-export surface stays byte-identical to its engine source. This suite is NOT a golden-snapshot comparison the way that one is (a coding-agent driver's output is not deterministic byte-for-byte across implementations, or even across runs of the same implementation) — it's a behavioral contract suite: given the same fake/injected backend, do both drivers honor the same input shape, the same error-surfacing convention, the same result-shape guarantees.

Deliverables

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.gittensor:priorityMaintainer-selected Gittensor priority — scores a 1.5x multiplier.help wantedExtra attention is needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions