test: add headless_prompt stub to in-test AgentProvider subclasses
lint / lint (push) Successful in 1m59s
test / unit (pull_request) Successful in 51s
test / integration (pull_request) Successful in 18s
test / coverage (pull_request) Successful in 1m7s

The new abstract headless_prompt method broke two test files that
define minimal _Provider subclasses of AgentProvider, causing
collection-time TypeErrors that aborted the whole unit suite.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WL77TgFxKbs3cidGMG9dz7
This commit is contained in:
2026-06-30 13:31:19 -04:00
parent ee5c042c9e
commit b04c81c4f1
2 changed files with 2 additions and 0 deletions
@@ -38,6 +38,7 @@ class _Provider(AgentProvider):
def provision_prompt(self, plan, bottle): ... # type: ignore[override]
def provision(self, plan, bottle): ... # type: ignore[override]
def provision_supervise_mcp(self, plan, bottle, supervise_url): ... # type: ignore[override]
def headless_prompt(self, prompt): return [] # type: ignore[override]
_PROVIDER = _Provider()
@@ -49,6 +49,7 @@ class _Provider(AgentProvider):
def provision_prompt(self, plan, bottle): ... # type: ignore[override]
def provision(self, plan, bottle): ... # type: ignore[override]
def provision_supervise_mcp(self, plan, bottle, supervise_url): ... # type: ignore[override]
def headless_prompt(self, prompt): return [] # type: ignore[override]
_PROVIDER = _Provider()