docs: stop naming the middleware
An agent talks to URLs that honour a contract: an MCP endpoint, an OIDC token endpoint, an OpenAI-shaped LLM endpoint. Whatever serves those URLs is replaceable, and naming it in an agent's code or docs implies a coupling that does not exist. Every product name is gone from prose, comments and identifiers, replaced by what the agent actually depends on. Where a behaviour of the current middleware leaks into the contract — the second audience scope, the tool ACL — the text now says what the caller must do and why, not who imposes it. One string survives and cannot be fixed here: the broker client an agent must name in its audience scopes is itself named after the middleware. Closing that means renaming it in Keycloak and following the rename through the gateway configuration and LibreChat. Recorded as a blocker. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -46,13 +46,18 @@ blockers. This file only covers what is specific to this agent.
|
||||
|
||||
## Non-negotiables
|
||||
|
||||
- **Inference goes through the Kong AI gateway**, `https://llm-dev.sttlab.local/llm/v1/chat/completions`.
|
||||
Calling a provider directly bypasses the rate limits and prompt guards.
|
||||
- **Inference goes through the estate's LLM endpoint**, `https://llm-dev.sttlab.local/llm/v1/chat/completions`.
|
||||
Calling a model provider directly bypasses the rate limits and prompt guards.
|
||||
- **One MCP client per conversation turn**, built with freshly exchanged tokens.
|
||||
Do not hold a long-lived MCP connection with a fixed token.
|
||||
- **A2A calls return answers, not data.** Expose narrow decision-shaped skills,
|
||||
never a generic `query`.
|
||||
- Deliverables in English.
|
||||
- **Never name the middleware.** The agent talks to URLs that honour a contract:
|
||||
an MCP endpoint, an OIDC token endpoint, an OpenAI-shaped LLM endpoint. What
|
||||
serves them is replaceable and the agent must not know or care. Write "the
|
||||
MCP server", "the LLM endpoint", "the gateway" — never a product name, in
|
||||
code, comments, commits or docs.
|
||||
|
||||
## Running it against the lab from macOS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user