feat: propagate dataset tags and category to catalog, schema and MCP - #738
Merged
Conversation
- Aggiornato toolkit a v1.46.1 (include PR #434: tags/category in cfg) - Aggiornato clean_catalog.schema.json: nuovi campi opzionali tags (list[string]) e category (string) - Aggiunto _enrich_tags_and_category() in build_clean_catalog.py: legge tags/category dai dataset.yml candidati tramite load_dataset_manifest() e li fonde nel catalogo - Aggiornato MCP catalog.py: list_datasets(), search_datasets() e describe_dataset() espongono tags e category - Aggiornato MCP server.py: find() cerca anche per tag/categoria e li include nei risultati; dataset_overview() li espone
- lint.yml assorbe test-audit.yml (audit marker test come step) - lint.yml assorbe smoke MCP e pytest da validate-clean-catalog - lint.yml trigger esteso a registry/** per coprire path catalogo - validate-clean-catalog slimmato: solo validate + GCS + notifiche - validate-candidate-structure.yml unificato in pr-toolkit-check.yml (rimosso workflow separato) - pr-toolkit-check: run full sostituito da preflight + dry-run SQL - Rimosso test-audit.yml (step inline in lint.yml) - Rimosso validate-candidate-structure.yml (unito in pr-toolkit-check) Risparmio: 2 setup Python eliminati, pytest eseguito una volta invece che in 3 workflow separati.
…y-source" This reverts commit 3a237a1.
Gabrymi93
force-pushed
the
feat/propagate-tags-category
branch
from
July 29, 2026 21:12
1dea3ae to
194fd5b
Compare
5 tasks
Gabrymi93
added a commit
that referenced
this pull request
Jul 29, 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.
Sintesi
Propaga i nuovi campi
tagsecategory(aggiunti al contratto dataset.yml nella PR dataciviclab/toolkit#434, inclusa in toolkit v1.46.1) attraverso tutto lo stack DI: catalogo, schema JSON e MCP clean-query.Contesto collegato
Nessuna issue — follow-up della PR toolkit #434 su richiesta batch smart.
Cosa cambia
Impatto
candidates/Checklist candidate
N/A — non tocca candidate.
Verifica
run allodry-runeseguito senza errori (candidate/support)python scripts/validate_candidate_structure.pypassatoNote / rischi
I nuovi campi diventano effettivi solo dopo:
tags:/category:in un dataset.yml candidatopython scripts/build_clean_catalog.py --derive --writeIl MCP clean-query legge il catalogo aggiornato automaticamente (cache per processo).