Skip to content

feat(candidate): freeze model gateway access#37

Merged
drewstone merged 1 commit into
mainfrom
feat/candidate-model-gateway-policy
Jul 11, 2026
Merged

feat(candidate): freeze model gateway access#37
drewstone merged 1 commit into
mainfrom
feat/candidate-model-gateway-policy

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Summary

  • bind model-calling candidate plans to exact evaluator-approved gateway domains
  • keep general candidate network access disabled
  • reject wildcards, URLs, private hosts, unsorted domains, and gateway access on zero-call plans

This closes the live-execution gap found by the Pier zero-call controls: model-backed candidates can receive a narrowly filtered endpoint without gaining arbitrary internet access.

Verification

  • pnpm --filter @tangle-network/agent-interface check-types
  • pnpm --filter @tangle-network/agent-interface test (103/103)
  • pnpm --filter @tangle-network/agent-interface build
  • git diff --check
  • clean merge-tree against origin/main

@drewstone drewstone merged commit bca9ea6 into main Jul 11, 2026
1 check passed
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