Skip to content

Comparator modules are no longer accepted; deterministic intents take no adapter - #229

Merged
1xAhmed merged 6 commits into
mainfrom
umar/no-comparator-modules
Nov 25, 2026
Merged

1xAhmed merged 6 commits into
mainfrom
umar/no-comparator-modules

Conversation

@0xWick

@0xWick 0xWick commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

What changed?

  • Comparator modules are no longer accepted (CTO, 22 Nov). The docs now say a deterministic Intent takes no adapter (the node's built-in checker scores it), and an adapter is for a judgment or hybrid family, registered on the parent family (GAS_PRICE, not GAS_PRICE_GENERAL).
  • Catalogue re-synced from the node (ac2728f): 38 Intents the page called deterministic are judgment on the node (CVE_LOOKUP_CVSS is hybrid). So the page now asks for truth sources only on the 8 deterministic and 4 hybrid Intents.
  • sync_catalog.py sends a User-Agent (the node answered Python's default with 403), and takes the family from the node listing instead of guessing it from prefixes (one run: 5 min → 2.5 min).
  • validate_catalog.py checks that every Intent has its family's kind, as the docs now say.
  • "Adapter", not "module", in the evaluator-gap form, CONTRIBUTING and AGENTS.
  • Lines: +296 / −272 in all. Generated catalog/intents.json + docs/INTENTS.md: +246 / −212. Prose: +22 / −23. Scripts: +28 / −37.

Why?

Builders keep building comparators the node now refuses. Also, the page still invited truth sources on 38 judgment Intents.

Proof

  • sync_catalog.py --check against the live node: OK: 134 families, 136 Intents, matching the node.
  • npm test (Python 26 OK, JS workflow 43 + stale-claim 8), generate_docs.py --check, validate_catalog.py, prepush.py, ruff check . and git diff --check: all pass. No mocks.

Checklist

  • The change is the smallest useful implementation of the requirement.
  • I ran/tested what I changed (npm test and python scripts/prepush.py pass).
  • This PR contains only material approved for public disclosure; sensitive information uses the private reporting path.
  • I updated tests and docs for any change to claim, reward or disclosure behaviour.
  • Demand, endorsements, request IDs and results are supported by verifiable evidence.
  • If this closes a bounty, the acceptance criteria are reproducibly met. (n/a)

… no adapter

- generator, tb, CONTRIBUTING, AGENTS, glossary, evaluator-gap form: adapters register on the parent family; deterministic takes none
- docs/INTENTS.md regenerated
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.

2 participants