fix(ms-ai-architect): Foundry URL-navnerom-migrering (ai-foundry → foundry/foundry-classic, 141 filer)

Task #5 del 1/3 (URL-migrering). Verifiseringen motbeviste STATE.md-premisset om ren prefix-swap: rebrand er per-URL, ikke mekanisk. En blind sed ai-foundry→foundry ville lagd 56 nye 404-er (classic-stiene finnes ikke under nytt foundry/-prefiks — bekreftet empirisk).

Metode: resolverte alle 237 unike KB-URLer mot live redirects (curl -L), bygde full-URL→full-URL-mapping fra faktisk url_effective. Bevarer locale-form, query (?view=) og #fragment per lenke.

- 231 navnerom-erstatninger over 141 filer (408 forekomster):
  - 161 → azure/foundry/ (98 ren prefix-swap + 10 sti-reorg + reorg-tilfeller)
  - 69 → azure/foundry-classic/ (eldre hub-spor: assistants, hub-DR, on-your-data; faktisk redirect-mål per operatorvalg)
  - 1 → azure/foundry-local/

- 2 døde lenker (404) fikset til verifiserte mål:
  - agent-service → azure/foundry/agents/overview
  - concepts/evaluation-evaluators/ → azure/foundry/how-to/evaluate-generative-ai-app

- 5 path-/display-referanser (uten https://, i backticks/lenketekst) rettet manuelt.

- 6 slug-baserte ai-foundry-treff urørt (scope-grense): managed-grafana-dashboard, security-baseline, power-platform prompt-builder, architecture baseline-chat (sistnevnte slug-rebrand i annet navnerom — mulig fremtidig funn).

- Parkert til task #5 del 2/3: Norway East GPT-5-datasuverenitet-fiks + modellkatalog-utvidelse (5.3/5.4/5.5, gpt-oss, sora-2).

Verifisert: 0 gjenværende azure/ai-foundry/-navnerom i skills/. validate-plugin.sh 219 PASS. test-kb-integrity.sh 117/117 passed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01REiKFhP4w6xGXXqWKpPCJJ
This commit is contained in:
Kjell Tore Guttormsen 2026-06-18 13:37:06 +02:00
commit dd1036ab8a
141 changed files with 399 additions and 399 deletions

View file

@ -388,7 +388,7 @@ Hvis du har 10,000 queries per måned: **11,300 NOK/måned** (kun LLM-kostnad, i
### Microsoft Learn (Verified via MCP)
1. **Azure OpenAI Assistants API — Context Window Management**
https://learn.microsoft.com/en-us/azure/ai-foundry/openai/concepts/assistants#context-window-management
https://learn.microsoft.com/en-us/azure/foundry-classic/openai/concepts/assistants#context-window-management
*Dekning: max_prompt_tokens, max_completion_tokens, truncation strategy, File Search recommendations*
**Confidence: Verified**
@ -398,12 +398,12 @@ Hvis du har 10,000 queries per måned: **11,300 NOK/måned** (kun LLM-kostnad, i
**Confidence: Verified**
3. **Azure OpenAI in Microsoft Foundry Models — Quotas and Limits**
https://learn.microsoft.com/en-us/azure/ai-foundry/openai/quotas-limits
https://learn.microsoft.com/en-us/azure/foundry/openai/quotas-limits
*Dekning: TPM limits per model, context window sizes, rate limits*
**Confidence: Verified**
4. **Azure OpenAI On Your Data — Token Usage Estimation**
https://learn.microsoft.com/en-us/azure/ai-foundry/openai/concepts/use-your-data#token-usage-estimation-for-azure-openai-on-your-data
https://learn.microsoft.com/en-us/azure/foundry-classic/openai/concepts/use-your-data#token-usage-estimation-for-azure-openai-on-your-data
*Dekning: Intent prompt vs. generation prompt token breakdown, RAG pipeline token costs*
**Confidence: Verified**
@ -413,12 +413,12 @@ Hvis du har 10,000 queries per måned: **11,300 NOK/måned** (kun LLM-kostnad, i
**Confidence: Verified**
6. **Chat Markup Language ChatML — Managing Conversations**
https://learn.microsoft.com/en-us/azure/ai-foundry/openai/how-to/chat-markup-language#preventing-unsafe-user-inputs
https://learn.microsoft.com/en-us/azure/foundry/openai/how-to/responses#preventing-unsafe-user-inputs
*Dekning: Token counting med tiktoken, conversation history truncation*
**Confidence: Verified**
7. **Code Sample: Token Counting with tiktoken (Python)**
https://learn.microsoft.com/en-us/azure/ai-foundry/openai/how-to/chatgpt
https://learn.microsoft.com/en-us/azure/foundry/openai/how-to/chatgpt
*Dekning: Praktisk implementasjon av token management i conversation loops*
**Confidence: Verified**