Repository navigation
Read the Intent catalogue from the node, and ask each bounty only for what the node takes - #186
Merged
Merged
Conversation
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>
muhammadtalha198
requested review from
1xAhmed and
telegraphprotocol
as code owners
November 12, 2026 12:11
1xAhmed
approved these changes
Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two problems, one cause.
The catalogue was hand-written.
catalog/intents.jsonheld 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_materialsince 3 November (#171, #183).What changed
scripts/sync_catalog.py(new) writescatalog/intents.jsonfrom 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.--checkfails 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.mdlists 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,/submitthe 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.mdand 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.pyandnpm testpass.python3 scripts/sync_catalog.py --check→ OK: 134 families, 136 Intents, matching the node.GAS_PRICE_GENERALand a question pair forCODE_REVIEW_GENERAL, and refuse the wrong Intent, a source needing an API key, and identical answers./submitwording 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.