fix(ms-ai-architect): registry-herding Fase 1a — +5 sitemap-prefiks + skjemaløs URL-ekstraksjon
Update-mekanismen lot siterte URL-er stå som not_in_sitemap fordi deres docset aldri ble pollet, og skjemaløse citater (tabellceller: bare learn.microsoft.com/... uten https://) ble aldri ekstrahert. - Taxonomy: +5 docsets (graph, ai-builder, power-apps, power-automate, microsoftsearch) — hver ett child-sitemap, verifisert live mot indeksen. Bevist: 21/24 not_in_sitemap-URL-er i disse docsetene blir nå tracked. - url-normalize: extractUrls fanger skjemaløse citater-med-sti (krever /path etter domenet → avviser bare-domene-prosa og JSON-eksempler); normalizeUrl kanonikaliserer scheme til https. Bevist: +19 nye URL-er ekstraherbare. - Bugfix: backtick fra inline-kode-citat (`learn.microsoft.com/...`) lekket inn i URL-en — ekskludert i regex + trailing-strip. TDD: tests/kb-update/test-url-normalize.test.mjs (ny, 14) + test-taxonomy prefiks-count 18→23 + Fase 1a-assertion. Full suite 338/338, 0 regresjon. Registry-refresh (build-registry --merge + poll) bevisst utsatt — unngår 552KB re-order-churn; effekten er empirisk verifisert read-only.
This commit is contained in:
parent
6ae0ed5821
commit
e74646d395
4 changed files with 152 additions and 7 deletions
|
|
@ -3,7 +3,7 @@
|
|||
"description": "Single source of truth (lag 0) for 'in-domain' classification. Consolidates four previously-divergent taxonomies into one: (a) poll-sitemaps TARGET_PREFIXES, (b) discover-new-urls INCLUDE/EXCLUDE, (c) category->skill ownership, (d) report-changes getFilePriority. Scripts READ this file; they no longer embed their own copies.",
|
||||
"provenance": {
|
||||
"category_skill": "PHYSICAL DISK is canonical (skills/<skill>/references/<category>/). category-skill-map.json drifted on 4 entries (copilot-extensibility, monitoring-observability, performance-scalability, prompt-engineering) and is no longer consumed by code.",
|
||||
"sitemap_prefixes": "poll-sitemaps superset (18). discover-new-urls previously had only 12 — now reads this list for poll parity.",
|
||||
"sitemap_prefixes": "poll-sitemaps superset (23). discover-new-urls previously had only 12 — now reads this list for poll parity. Fase 1a (2026-06-26) added 5 stack-relevant docsets — graph, ai-builder, power-apps, power-automate, microsoftsearch — each a single child sitemap verified live against the index, reclaiming cited URLs previously stranded as not_in_sitemap.",
|
||||
"notes": "dotnet_en-us_ deliberately excluded: 75 sitemaps, only ~12 matches — not worth weekly polling.",
|
||||
"course_products": "Product slugs enumerated LIVE from the Learn Platform API (C3.3, server-side /api/v1/modules?products=<slug> probe). Doc slug 'azure-ai-foundry' is DEAD (0 hits) → Foundry/AI-services courses surface under 'azure-openai'. Slug gotchas confirmed live: 'fabric' (not 'microsoft-fabric'), 'entra' (not 'microsoft-entra-id'), 'azure-cosmos-db' (not 'cosmos-db'), 'azure-cognitive-search' (not 'azure-ai-search'). 'azure-kubernetes-service' is live but excluded (no AI category → noise). Maps slug->category; the owning skill is DERIVED from category_skill via makeCourseClassifier (never stored, cannot diverge)."
|
||||
},
|
||||
|
|
@ -25,7 +25,12 @@
|
|||
"microsoft-365_en-us_",
|
||||
"training_en-us_",
|
||||
"cloud-computing_en-us_",
|
||||
"privacy_en-us_"
|
||||
"privacy_en-us_",
|
||||
"graph_en-us_",
|
||||
"ai-builder_en-us_",
|
||||
"power-apps_en-us_",
|
||||
"power-automate_en-us_",
|
||||
"microsoftsearch_en-us_"
|
||||
],
|
||||
"category_skill": {
|
||||
"agent-orchestration": "ms-ai-engineering",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue