Skip to content

Read the Intent catalogue from the node, and ask each bounty only for what the node takes - #186

Merged
1xAhmed merged 2 commits into
mainfrom
feat/catalog-from-node
Nov 13, 2026
Merged

1xAhmed merged 2 commits into
mainfrom
feat/catalog-from-node

Conversation

@muhammadtalha198

Copy link
Copy Markdown
Collaborator

Two problems, one cause.

The catalogue was hand-written. catalog/intents.json held 103 family names with hand-typed classes and scoring metadata. Against the node its class was wrong for 64 of the 93 names the network actually serves, 41 families were missing, and 10 names are not on the network at all.

So the board asked for impossible work. A scoring module is registered on a family, the family's own kind decides which kind it takes, and a family's module scores only the Intents of that kind. A deterministic Intent under a judgment family therefore has no module anyone can register — the node's shared comparator scores it. 28 of our Issues asked for a comparator on such a family. Registrations have sat at pending / awaiting_compatible_material since 3 November (#171, #183).

What changed

scripts/sync_catalog.py (new) writes catalog/intents.json from the node: one entry per family with its own kind, and the Intents under it with their kind, parameters and answer fields. Only the tier, Category, priority score and mission map are still kept by hand, because the node knows none of them. --check fails when the file has drifted. Python standard library only, free node reads, no new dependency.

The catalogue is now 134 families / 136 Intents. The 10 names the network does not serve are kept and marked on_network: false, because five of them are referenced by missions and renaming one is not this script's decision.

docs/INTENTS.md lists all 136 Intents with the kind the node scores each as, what that kind needs, a link that opens Anjoman's Evaluate page with the Intent already chosen, and a search for any open bounty. It states per Intent which have no scoring module to build, and that contributing needs no Issue at all.

The flow is written once, in CONTRIBUTING.md: find what the Intent needs from the node, submit through Anjoman, /submit the reference here, and a maintainer's approval and the network's acceptance are two separate decisions. README.md, AGENTS.md, docs/GLOSSARY.md, docs/EVALUATION_NEEDS.md and both evaluation Issue templates point there instead of each describing a different path.

./tb intent <NAME> finds a family or an Intent and prints its kind, what it asks and answers, what to contribute and its Anjoman link.

Three stale evaluator seed candidates are removed: they asked for a retired WASM adapter format through a submission channel that no longer exists.

Checked

  • python scripts/prepush.py and npm test pass.
  • python3 scripts/sync_catalog.py --check → OK: 134 families, 136 Intents, matching the node.
  • Anjoman's own form validators accept a truth source written from the public guide for GAS_PRICE_GENERAL and a question pair for CODE_REVIEW_GENERAL, and refuse the wrong Intent, a source needing an API key, and identical answers.
  • The /submit wording the Issues now ask for clears the bot's own rule.

Needs telegraphprotocol/telegraph-docs#71 merged first: the rewritten Issues link to its new "Check the family before you build" section.

The posted Issues are rewritten separately, with the bot's own edit flow, once this and the docs PR are in.

muhammadtalha198 and others added 2 commits November 12, 2026 15:44
The catalogue was 103 hand-written family names carrying hand-written classes and
scoring metadata. Against the node its class was wrong for 64 of the 93 names the
network actually serves, 41 families were missing, and contributors were told to
build things the node cannot accept.

scripts/sync_catalog.py now writes catalog/intents.json from the node: one entry per
family with its own kind, and the Intents under it with their kind, parameters and
answer fields. Only the tier, Category, priority score and mission map are still kept
by hand, because the node knows none of them. --check fails when the file has drifted.
A catalogue name the node does not serve is kept and marked, because missions
reference five of them and renaming one is the protocol team's decision.

docs/INTENTS.md now lists all 136 Intents with the kind the node scores each as, what
that kind needs, a link that opens Anjoman with the Intent chosen, and a search for
any open bounty. It says plainly which Intents have no scoring module anyone can build,
and that contributing needs no Issue.

The flow is written once, in CONTRIBUTING.md: find what the Intent needs from the node,
submit through Anjoman, /submit the reference here. README, AGENTS.md, the glossary, the
two Issue templates and docs/EVALUATION_NEEDS.md point there instead of describing a
Category-level path that sent people somewhere else. Three stale evaluator seed
candidates asking for retired WASM adapters through the old channel are removed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
docs/INTENTS.md is a directory deep, so ../../issues landed on /blob/issues.
The Issue templates are rendered on the new-issue page, where a relative link
does not resolve to a file in the repository at all.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@1xAhmed
1xAhmed merged commit 7a21ac7 into main Nov 13, 2026
8 checks 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.

2 participants