Skip to content

chore(model): drop dead HasProviderConfigured#747

Closed
bussyjd wants to merge 3 commits into
mainfrom
chore/model-dead-code
Closed

chore(model): drop dead HasProviderConfigured#747
bussyjd wants to merge 3 commits into
mainfrom
chore/model-dead-code

Conversation

@bussyjd

@bussyjd bussyjd commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Zero references anywhere including tests (its only grep hit was its own doc comment). Found by the dead-code sweep that accompanied the /v1 pipeline audit (#745, #746). Other deadcode hits in internal/buy and internal/inference are exported, test-covered API — left untouched.

https://claude.ai/code/session_014YjPMViNrZ7zBVgUQzwEKk

Zero callers anywhere (including tests) — flagged by the /v1 pipeline
audit's dead-code sweep alongside WarnAndStripV1Suffix (removed in
#745). Other deadcode-tool hits in internal/{buy,inference} are
test-covered exported API and were left alone.

Claude-Session: https://claude.ai/code/session_014YjPMViNrZ7zBVgUQzwEKk
bussyjd added 2 commits July 14, 2026 12:11
Two-vendor (GPT + Grok) audited deletions, intersection-only:
- inference: dead ProbeEndpoint/ScanLocalEndpoints/DetectServerType/
  ParseModelsResponse wrappers (live path is the *Context variants
  used by model discovery); tests retargeted to live functions
- erc8004: superseded NewClient/Register/RegisterDetailed/SetAgentURI
  (+ETH/RegisterWithOpts/SubmitRegister); tests retargeted to the
  WithOpts variants
- x402: ResolveAssetInfo/BuildV1Requirement/TokenSupportedOnChain
  (production uses ResolveAssetInfoForPayment/BuildV2Requirement/
  ResolveToken); test coverage migrated, not dropped
- hermes: hermesExecArgs legacy test adapter + dead List/Skills/
  ResolveInstance; agentruntime/dns/stack/schemas/serviceoffercontroller
  zero-reference symbols; dead flow-lib shell functions
- flow-11: fix stale diag capture (deploy/litellm -c x402-buyer ->
  deploy/x402-buyer, stale since the b68fc34 split)

Held back by committee split or product decision: RouteRulesForOffer
(golden-test seam), erc8004 SetMetadata, all TEE/CoCo + enclave +
OpenClaw capabilities (kept intentionally, see #748).

Claude-Session: https://claude.ai/code/session_014YjPMViNrZ7zBVgUQzwEKk
- pitfall 6 generalized: EVERY LiteLLM openai/ api_base must include
  /v1 (LiteLLM posts <api_base>/chat/completions verbatim); buyer-side
  tooling uses the opposite convention; discovery fixed in #745
- new pitfall 22: poisoned model group (two deployments, one bare
  api_base -> intermittent 404, no retry; GET /model/info vs CM is
  the decisive check)
- new pitfall 23: buyer disconnect != no charge (hermes non-streaming
  path completes + settles after abort; keep runs short via
  spec.maxTurns; maxConcurrentRuns semantics; 4xx never settled)
- skill: lessons table updated (poisoned model group, parserless QA
  endpoint -> relaunch with publisher-exact launcher), version 3.2.0

Claude-Session: https://claude.ai/code/session_014YjPMViNrZ7zBVgUQzwEKk
@bussyjd

bussyjd commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #749 (integration/v0.13.0-rc4) — this branch is merged into the integration branch verbatim (merge commits a02b62f/7d963125) and ships there. Validated by the fully green release smoke rc4-run7-20260714-171005 (18/18 flows incl. flow-13/14, on-chain receipts in #749).

@bussyjd bussyjd closed this Jul 14, 2026
auto-merge was automatically disabled July 14, 2026 10:50

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant