# WATR Software Oracle — architecture standard by rule_id

> 152 rules with a stance: enforce blocks the PR, prefer is justified. From Clean Code to agents.

- name: io.github.edbror/watr-software-oracle
- version: 0.2.0
- connection class: R0 (autonomous)
- trust: 77/100 flags: no-repository
- quality: 73/100 (needs work)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.edbror%2Fwatr-software-oracle
- tools: https://api.protogrid.dev/v1/servers/io.github.edbror%2Fwatr-software-oracle/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "watr-software-oracle": {
      "type": "http",
      "url": "https://watr-software-oracle.onrender.com/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 100
- freshness: 100
- provenance: 35
- drivers: +reachable +uptime-100% +updated-13d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 73/100 (needs work)

### protocol: 88 (weight 25)

- pass `protocol.modern`: supports 2026-07-28 (server/discover)
- pass `protocol.stateless`: answers without a session
- pass `protocol.transport`: streamable HTTP
- warn `protocol.list_ttl`: tools/list declares ttlMs 0, so clients re-fetch it on every use

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 72 (weight 30)

- pass `tools.descriptions`: every tool has a description
- warn `tools.description_length`: 1 tools have descriptions over 1,024 characters, which crowds the context
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: review_code (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_rule (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); search_practices (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 1,054 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

### stability: 50 (weight 15)

- warn `stability.changes`: 6 tool changes in 30 days
- fail `stability.rug_pull`: 2 tools kept their name but changed most of their description in 30 days; review before trusting them
- pass `stability.new_links`: no tool change named a new site

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 5, about 1,054 tokens to load them all
- tool set hash: e1642c8029138bd09033c2eabed913a7
- tools last changed: 2026-11-16T23:19:16.614Z
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.edbror/watr-software-oracle.svg)](https://protogrid.dev/servers/io.github.edbror/watr-software-oracle)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

- 2026-11-16 `list_domains` changed (description)
  - before: Mapa del corpus: dominios, temas y los rule_id de cada uno, con su stance.
  - after: Map of the corpus: domains, topics and each one's rule_ids, with stance. — Mapa del corpus: dominios, temas y los rule_id de cada uno, con su stance.
- 2026-11-16 `judge_code` changed (description) **meaning changed**
  - before: Opinión del corpus sobre un fragmento, con una probabilidad por regla. Diferencia con `review_code`: ahí recibes las reglas y juzgas tú, así que dos clientes sobre el mismo diff pueden discrepar. Aquí el corpus se moja: una pregunta por regla en alcance, y el stance decide qué umbral aplica. ⚠️ NO es una compuerta, y no lo cuelgues de un CI. Medido sobre 13 pares reales (26 mediciones, 6 autores, 2018–2026): deja pasar el 38% de las violaciones, y el barrido completo de umbrales no encuentra nada mejor porque el límite es la resolución del instrumento, no dónde se corta. Para lo que sí sirve: ordenar qué mirar primero y decirte con qué regla, que son 11 aciertos de 13 al comparar un antes contra un después. ⚠️ Manda el fragmento a api.typesafe.ai, un tercero. `review_code` no sale de esta máquina: si el código no puede salir, usa ése. ⚠️ PIDE TOKEN en el servidor remoto, porque es el único tool que cuesta dinero y lo paga quien lo hospeda. Va en la cabecera `Authorization: Bearer <token>` de la conexión MCP. Sin él, este tool contesta diciéndolo y te manda a `review_code`, que hace el mismo trabajo gratis. Esto se dice aquí a propósito: un cliente MCP lee esta descripción antes de llamar, así que es donde se entera sin tener que fallar primero.
  - after: The corpus's own opinion on a snippet, with a probability per rule. Difference from `review_code`: there you get the rules and judge yourself, so two clients can disagree on the same diff. Here the corpus commits: one question per rule in scope, and the stance decides which threshold applies. ⚠️ NOT a gate, and do not hang it off a CI. Measured over 13 real pairs (26 measurements, 6 authors, 2018–2026): it lets 38% of violations through, and a full threshold sweep finds nothing better, because the limit is the instrument's resolution and not where you cut. What it is good for: ranking what to look at first and telling you which rule — 11 of 13 right when comparing a before against an after. ⚠️ Sends the snippet to api.typesafe.ai, a third party. `review_code` never leaves this server: if the code cannot leave, use that one. ⚠️ REQUIRES A TOKEN on the remote server, because it is the only tool that costs money and whoever hosts it pays. It goes in the MCP connection's `Authorization: Bearer <token>` header. Without it this tool says so and points you at `review_code`, which does the same work for free. This is stated here on purpose: an MCP client reads this description before calling, so it is where you find out without having to fail first. — Opinión del corpus sobre un fragmento, con una probabilidad por regla. NO es compuerta: deja pasar el 38% de las violaciones, medido sobre 13 pares reales. Manda el fragmento a api.typesafe.ai, un tercero, y PIDE TOKEN en la cabecera `Authorization: Bearer`. Si el código no puede salir de la máquina, o no tienes token, usa `review_code`.
- 2026-11-16 `review_code` changed (description) **meaning changed**
  - before: Devuelve el estándar WATR que aplica a un fragmento, para que TÚ emitas el veredicto. Este servidor no juzga el código: entrega las señales estructurales que observa, las reglas aplicables con su stance, las meta-heurísticas que gobiernan el juicio, y el formato de salida obligatorio. El razonamiento y el veredicto son tuyos — la consistencia la pone el corpus.
  - after: Return the WATR standard that applies to a snippet, so that YOU judge it. This server does not judge code: it hands back the structural signals it observes, the applicable rules with their stance, the meta-heuristics that govern the call, and the mandatory output format. The reasoning and the verdict are yours; the corpus supplies the consistency. Nothing leaves this server. Prefer this over judge_code when the code cannot go to a third party. — Devuelve el estándar WATR que aplica a un fragmento, para que TÚ emitas el veredicto. Este servidor no juzga el código: entrega las señales estructurales, las reglas aplicables con su stance y el formato de salida obligatorio. No sale nada de este servidor.
- 2026-11-16 `search_practices` changed (description)
  - before: Busca las reglas del estándar WATR que aplican a una consulta o a un fragmento. La consulta debe ir **en inglés**: el corpus está en inglés y la búsqueda es léxica, así que una consulta en español devuelve poco o nada. Traduce la intención antes de llamar ("catch vacío" -> "empty catch swallowing error"). Devuelve top-k con rule_id y stance; usa get_rule para el texto completo.
  - after: Find the WATR rules that apply to a question or a snippet. The query must be **in English**: the corpus is in English and the search is lexical, so a query in any other language returns little or nothing. Translate the intent before calling ("catch vacío" -> "empty catch swallowing error"). Returns the top k with rule_id and stance; use get_rule for the full text. — Busca las reglas del estándar WATR que aplican a una consulta o a un fragmento. La consulta debe ir EN INGLÉS: el corpus está en inglés y la búsqueda es léxica, así que una consulta en español devuelve poco o nada. Devuelve top-k con rule_id y stance; usa get_rule para el texto completo.
- 2026-11-16 `get_rule` changed (description)
  - before: Devuelve una regla, smell o meta-heurística completa por su rule_id. Ejemplos de rule_id: CC-FN-01, SOLID-DIP-01, SMELL-14, WATR-MH-02.
  - after: Return one full rule, smell or meta-heuristic by its rule_id. Example rule_ids: CC-FN-01, SOLID-DIP-01, SMELL-14, WATR-MH-02. — Devuelve una regla, smell o meta-heurística completa por su rule_id. Ejemplos de rule_id: CC-FN-01, SOLID-DIP-01, SMELL-14, WATR-MH-02.
- 2026-11-06 `judge_code` changed (description)
  - before: Opinión del corpus sobre un fragmento, con una probabilidad por regla. Diferencia con `review_code`: ahí recibes las reglas y juzgas tú, así que dos clientes sobre el mismo diff pueden discrepar. Aquí el corpus se moja: una pregunta por regla en alcance, y el stance decide qué umbral aplica. ⚠️ NO es una compuerta, y no lo cuelgues de un CI. Medido sobre 13 pares reales (26 mediciones, 6 autores, 2018–2026): deja pasar el 38% de las violaciones, y el barrido completo de umbrales no encuentra nada mejor porque el límite es la resolución del instrumento, no dónde se corta. Para lo que sí sirve: ordenar qué mirar primero y decirte con qué regla, que son 11 aciertos de 13 al comparar un antes contra un después. ⚠️ Manda el fragmento a api.typesafe.ai, un tercero. `review_code` no sale de esta máquina: si el código no puede salir, usa ése.
  - after: Opinión del corpus sobre un fragmento, con una probabilidad por regla. Diferencia con `review_code`: ahí recibes las reglas y juzgas tú, así que dos clientes sobre el mismo diff pueden discrepar. Aquí el corpus se moja: una pregunta por regla en alcance, y el stance decide qué umbral aplica. ⚠️ NO es una compuerta, y no lo cuelgues de un CI. Medido sobre 13 pares reales (26 mediciones, 6 autores, 2018–2026): deja pasar el 38% de las violaciones, y el barrido completo de umbrales no encuentra nada mejor porque el límite es la resolución del instrumento, no dónde se corta. Para lo que sí sirve: ordenar qué mirar primero y decirte con qué regla, que son 11 aciertos de 13 al comparar un antes contra un después. ⚠️ Manda el fragmento a api.typesafe.ai, un tercero. `review_code` no sale de esta máquina: si el código no puede salir, usa ése. ⚠️ PIDE TOKEN en el servidor remoto, porque es el único tool que cuesta dinero y lo paga quien lo hospeda. Va en la cabecera `Authorization: Bearer <token>` de la conexión MCP. Sin él, este tool contesta diciéndolo y te manda a `review_code`, que hace el mismo trabajo gratis. Esto se dice aquí a propósito: un cliente MCP lee esta descripción antes de llamar, así que es donde se entera sin tener que fallar primero.

Full history: https://api.protogrid.dev/v1/servers/io.github.edbror%2Fwatr-software-oracle/changes

## Remotes

- https://watr-software-oracle.onrender.com/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (5)

- `get_rule`: Return one full rule, smell or meta-heuristic by its rule_id.

Example rule_ids: CC-FN-01, SOLID-DIP-01, SMELL-14, WATR-MH-02.

— Devuelve una regla, smell o meta-heurística completa por su rule_id.
Ejemplos de rule_id: CC-FN-01, SOLID-DIP-01, SMELL-14, WATR-MH-02.

- `judge_code`: The corpus's own opinion on a snippet, with a probability per rule.

Difference from `review_code`: there you get the rules and judge yourself,
so two clients can disagree on the same diff. Here the corpus commits: one
question per rule in scope, and the stance decides which threshold applies.

⚠️ NOT a gate, and do not hang it off a CI. Measured over 13 real pairs
(26 measurements, 6 authors, 2018–2026): it lets 38% of violations through,
and a full threshold sweep finds nothing better, because the limit is the
instrument's resolution and not where you cut. What it is good for: ranking
what to look at first and telling you which rule — 11 of 13 right when
comparing a before against an after.

⚠️ Sends the snippet to api.typesafe.ai, a third party. `review_code` never
leaves this server: if the code cannot leave, use that one.

⚠️ REQUIRES A TOKEN on the remote server, because it is the only tool that
costs money and whoever hosts it pays. It goes in the MCP connection's
`Authorization: Bearer <token>` header. Without it this tool says so and
points you at `review_code`, which does the same work for free. This is
stated here on purpose: an MCP client reads this description before
calling, so it is where you find out without having to fail first.

— Opinión del corpus sobre un fragmento, con una probabilidad por regla.
NO es compuerta: deja pasar el 38% de las violaciones, medido sobre 13
pares reales. Manda el fragmento a api.typesafe.ai, un tercero, y PIDE
TOKEN en la cabecera `Authorization: Bearer`. Si el código no puede salir
de la máquina, o no tienes token, usa `review_code`.

- `list_domains`: Map of the corpus: domains, topics and each one's rule_ids, with stance.

— Mapa del corpus: dominios, temas y los rule_id de cada uno, con su stance.

- `review_code`: Return the WATR standard that applies to a snippet, so that YOU judge it.

This server does not judge code: it hands back the structural signals it
observes, the applicable rules with their stance, the meta-heuristics that
govern the call, and the mandatory output format. The reasoning and the
verdict are yours; the corpus supplies the consistency.

Nothing leaves this server. Prefer this over judge_code when the code
cannot go to a third party.

— Devuelve el estándar WATR que aplica a un fragmento, para que TÚ emitas
el veredicto. Este servidor no juzga el código: entrega las señales
estructurales, las reglas aplicables con su stance y el formato de salida
obligatorio. No sale nada de este servidor.

- `search_practices`: Find the WATR rules that apply to a question or a snippet.

The query must be **in English**: the corpus is in English and the search is
lexical, so a query in any other language returns little or nothing.
Translate the intent before calling ("catch vacío" -> "empty catch
swallowing error").

Returns the top k with rule_id and stance; use get_rule for the full text.

— Busca las reglas del estándar WATR que aplican a una consulta o a un
fragmento. La consulta debe ir EN INGLÉS: el corpus está en inglés y la
búsqueda es léxica, así que una consulta en español devuelve poco o nada.
Devuelve top-k con rule_id y stance; usa get_rule para el texto completo.

