2e8cb9ed93
feat(ms-ai-architect): renderer A.1 classify adopt page-header + tier-desc
...
- renderAiActPyramid wrapped med renderPageShell (eyebrow KLASSIFISERING, verdict via aiact-archetype, keyStats via inferKeyStats)
- 4 details/summary-blokker under pyramide for klikk-pa-tier kort beskrivelse (active tier open by default)
- Inline CSS for pyramide-desc + scenario-card-grid + residual-pair + read-more-block (klargjor renderers A.2-A.6)
2026-05-04 06:03:35 +02:00
6f1631a32f
feat(ms-ai-architect): surfaces adopt page-header + key-stats (4 surfaces)
...
Steg 8 i v1.10.0-loepet. Wrappe alle 4 surfaces (Onboarding, Home, Catalog,
Project) med renderPageShell({eyebrow, title, lede, verdict, keyStats}, body):
- Onboarding: eyebrow ONBOARDING, lede tilpasset for 20-felts onboarding
- Home: dynamisk "Hei, {orgName | venn}", keyStats {PROSJEKTER, AKTIVE RAPPORTER}
- Catalog: keyStats {KOMMANDOER 24, AGENTER 12, SKILLS 5}
- Project: title=project.name, lede=description, verdict via inferProjectVerdict
(block > go-with-conditions > approved > n-a), keyStats {RAPPORTER, SIST OPPDATERT}
Project-surface utvidet med .screen-tabs (A4 Tier 3): Oversikt / Rapporter /
Kontekst / Eksport. Rapporter er primaer (eksisterende category-tabs+panels);
andre skjermer er stub i Sesjon 2 og fylles ut i Sesjon 3-6. Screen-tabs CSS
inline i playground-style-blokk per scope-regel (plugin standalone).
Per R8: ingen .page__meta chips. Action-buttons (Tilbake/Slett) flyttet under
page-shell-headeren (verdict-slot tar ikke arbitrary HTML).
Helpers lagt til:
- inferProjectVerdict(project) — aggregert verdict, tom reports -> n-a
- inferProjectLastUpdated(project) — siste report.updatedAt eller createdAt
- ACTIONS['project-screen'] — toggle screen-tabs uten full re-render
Verify: 4/4 surfaces kaller renderPageShell. Tester: 215 statiske, 240 playground,
7 migrations PASS.
2026-05-04 03:33:22 +02:00
8be04e3a21
feat(ms-ai-architect): onboarding fritekst-omlegging (4 strukturerte + 16 fritekst per R4)
...
ONBOARDING_SCHEMA går fra 18 -> 20 felt:
- 4 strukturerte: sector (select), ai_act_role (NY select),
risk_level (NY select), data_classification (multiSelect)
- 16 fritekst (text/textarea), alle med non-empty placeholder
ai_act_role + risk_level legges i ny "regulatory"-gruppe (totalt 6 grupper).
renderOnboardingField utvidet med placeholder-attr-stoette for text/textarea.
Onboarding-header + tracks-card desc oppdatert "18 felles" -> "20 felles".
Verify: 20 felt totalt, 4 struct (sector/ai_act_role/risk_level/data_classification),
16 free med placeholder. Tester: 215 statiske + 240 playground PASS.
2026-05-04 03:27:45 +02:00
502faa97d5
feat(ms-ai-architect): add v1→v2 MIGRATIONS handler with snapshot fixture and idempotency test
2026-05-04 03:14:46 +02:00
1fe40fe886
feat(ms-ai-architect): add renderPageShell + verdict + keyStats helpers (v2 foundation)
2026-05-04 03:10:39 +02:00
3c933ae3fa
feat(ms-ai-architect): upgrade theme bootstrap with prefers-color-scheme fallback
2026-05-04 03:04:43 +02:00
9664bf1b1c
feat(ms-ai-architect): release v1.9.0 with playground v3 + screenshot suite
...
Version bump: v1.8.0 -> v1.9.0 (minor — plugin API surface unchanged).
Version sync:
- .claude-plugin/plugin.json (canonical), README.md badge,
CHANGELOG.md (full v1.9.0 entry with playground v3 architecture,
validation suite, A11Y artifacts, SemVer rationale),
marketplace root README.md listing.
Screenshot suite (new):
- scripts/screenshots/capture-playground.py — Playwright Python automation
that opens playground from file://, populates __store with Statens vegvesen
ANPR demo data, navigates each surface, paste-imports fixtures, scrolls to
the relevant report-slot, and saves viewport screenshots.
- 6 PNG screenshots in playground/screenshots/ covering: onboarding (18/18
filled), home (3 projects), catalog (24 commands across 5 expansion groups),
classify pyramid (high-risk Annex III), ROS 5x5 matrix + 7-dim radar,
cost P10/P50/P90 distribution.
Doc updates (3 levels per repo policy):
- Plugin README: new "Screenshots" subsection embeds all 6 with description
columns, plus reproduce command.
- Plugin CLAUDE.md: new "Screenshot-suite (v1.9.0)" subsection documenting
the automation, demo-state seeding, and re-run trigger conditions.
- Marketplace root README: ms-ai-architect listing now mentions the
screenshot suite + reproduce command.
Reproduce screenshots: python3 scripts/screenshots/capture-playground.py.
Notes:
- Light-mode tokens are not in the vendored design-system yet. The toggle
swaps data-theme + label correctly (Step 13 mechanics intact), but the
CSS palette only ships dark. Captured dark-mode only; light-mode capture
re-enables when shared/playground-design-system gains [data-theme="light"]
overrides.
- Local CSS fix in playground HTML: added `[hidden] { display: none !important; }`
in the inline app-shell <style> block. The vendored .error-summary rule
sets display: flex which overrode HTML's [hidden] default, leaking the
onboarding error banner on cold start. Plugin-local for now; a proper
fix belongs in shared/playground-design-system/components-tier3.css.
Verified post-bump:
- bash tests/validate-plugin.sh -> 215/215 PASS
- bash tests/run-e2e.sh --playground -> 240/240 PASS
2026-05-03 20:40:07 +02:00
2ad02ed002
feat(ms-ai-architect): replace playground v2 with v3 + docs update
...
Step 17 (Wave 5, final). Closes the v3 playground delivery (5-session run,
17 commits total).
Pre-flight tests verified passing before deletion:
- bash tests/validate-plugin.sh -> 215/215 PASS
- bash tests/run-e2e.sh --playground -> 240/240 PASS (170 + 70)
Changes:
- DELETE playground/ms-ai-architect-v3.html
- MOVE v3 content to playground/ms-ai-architect-playground.html (3867 lines).
Replaces the deleted v2 file at the same canonical path so external
references continue to resolve.
- UPDATE tests/test-playground-v3.sh + tests/test-playground-parsers.sh
to point at the renamed canonical file.
- UPDATE plugin README.md (## Playground (v3) section): describes the
4-surface decision-builder + report-viewer architecture, persistent state
model, 17 report renderers, theme toggle, and the validation matrix.
- UPDATE plugin CLAUDE.md: replaces v2 5-step pipeline section with v3
architecture overview. Marks docs/playground-v2-spec.md as historical-only
(no longer the contract); points at .claude/projects/2026-05-03-playground
-v3-architecture/ for v3 spec.
- UPDATE root README.md: marketplace listing for ms-ai-architect now
describes v3 architecture (4 surfaces, persistence, 17 renderers, theme,
240-test validation) and references the test command.
Verify (post-rename):
- ! test -f playground/ms-ai-architect-v3.html: pass
- test -f playground/ms-ai-architect-playground.html (>3000 lines): pass
- grep -q "v3" in plugin README + plugin CLAUDE.md + root README: pass
- bash tests/validate-plugin.sh: exit 0 (215/215)
- bash tests/run-e2e.sh --playground: exit 0 (240/240)
2026-05-03 20:16:37 +02:00
Kjell Tore Guttormsen
abf2246ea1
refactor(ms-ai-architect): playground uses vendored design-system
...
Renames playground/azure-ai-playground.html to
playground/ms-ai-architect-playground.html (history preserved via git mv).
Old name was too narrow — plugin covers the full Microsoft AI stack
(Foundry, Copilot Studio, M365 Copilot, Power Platform, Agent Framework).
Replaces the inline <style> block with seven <link> tags pointing at the
vendored design-system under playground/vendor/playground-design-system/:
fonts.css, tokens.css, base.css, components.css, components-tier2.css,
components-tier3.css, components-tier3-supplement.css.
A small inline shim maps legacy playground tokens (--bg, --surface,
--accent, --gradient1) onto design-system tokens (--color-bg,
--color-surface, --color-primary-500, etc.), keeping all existing
playground-specific class CSS (.hero, .wizard-card, .scenario-card,
.item-card, ...) working without rewrites. <html data-theme="dark">
preserves v2's dark visual identity; light-mode toggle is deferred.
DOM, JS logic, scenario data, and command pipelines are unchanged.
Also includes .gitleaks.toml at repo root (path allowlist for vendored
MANIFEST.json files — SHA-256 file hashes are not secrets) which was
missed in the previous commit due to global git ignore.
Docs updated:
- README.md (root): notes the vendoring sync script + ms-ai-architect
Playground subsection
- plugins/ms-ai-architect/README.md: new Playground section with sync
workflow and standalone guarantee
- plugins/ms-ai-architect/CLAUDE.md: Playground section updated with
vendored design-system details + new filename
2026-05-03 12:35:47 +02:00