diff --git a/.gitleaks.toml b/.gitleaks.toml new file mode 100644 index 0000000..cca2a7f --- /dev/null +++ b/.gitleaks.toml @@ -0,0 +1,14 @@ +title = "ktg-plugin-marketplace gitleaks config" + +# Extend default rules +[extend] +useDefault = true + +# Path-based allowlist: vendored design-system MANIFEST.json files +# contain SHA-256 hashes per file by design (drift detection). +# These are public file integrity hashes, not secrets. +[[allowlists]] +description = "Vendored design-system MANIFEST files (SHA-256 file hashes)" +paths = [ + '''playground/vendor/playground-design-system/MANIFEST\.json$''', +] diff --git a/README.md b/README.md index 03af5e7..6dea521 100644 --- a/README.md +++ b/README.md @@ -192,6 +192,8 @@ Key commands: `/architect`, `/architect:ros`, `/architect:security`, `/architect 12 specialized agents · 24 commands · 5 skills (387 reference docs) · 2 hooks · sitemap-based KB monitoring +**Playground:** `playground/ms-ai-architect-playground.html` — interactive 5-step pipeline (Intake → Explore → Configure → Review → Export). Vendored copy of the shared design-system at `playground/vendor/`, kept in sync via `scripts/sync-design-system.mjs ms-ai-architect`. Standalone — opens from `file://` without server or marketplace dependency. + → [Full documentation](plugins/ms-ai-architect/README.md) --- @@ -254,6 +256,7 @@ Targets five plugins: `ms-ai-architect`, `okr`, `llm-security`, `ultraplan-local - **JSON schemas** — `finding.schema.json`, `okr-set.schema.json`, `ros-threat.schema.json` for cross-plugin data interchange - **Privacy-first** — all fonts self-hosted as woff2 in `fonts/`, zero external CDN requests, GDPR-safe for offentlig sektor, works offline / behind air-gapped firewalls - **Reference scenarios** — Lier kommune ROS-rapport (ms-ai-architect), Bærum kommune T2 OKR live-writer, Direktoratet for digital tjenesteutvikling ToxicSkills findings review (85 funn, BLOCK) +- **Vendoring sync** — `scripts/sync-design-system.mjs ` copies the design-system into `plugins//playground/vendor/` so each plugin stays standalone. SHA-256 MANIFEST detects local drift; `--force` to override. First adopter: `ms-ai-architect` (2026-05-03). → [Full documentation](shared/playground-design-system/README.md) · [Browse showcase](shared/playground-examples/index.html) diff --git a/plugins/ms-ai-architect/CLAUDE.md b/plugins/ms-ai-architect/CLAUDE.md index 3ead81e..5bd550f 100644 --- a/plugins/ms-ai-architect/CLAUDE.md +++ b/plugins/ms-ai-architect/CLAUDE.md @@ -172,11 +172,11 @@ claude --plugin ./plugins/ms-ai-architect /architect:help ``` -## Playground (v2) +## Playground -Interaktiv 5-stegs arkitektur-pipeline for Azure AI-beslutninger. +Interaktiv 5-stegs arkitektur-pipeline for Microsoft AI-beslutninger. -- **Fil:** `playground/azure-ai-playground.html` (~1840 linjer, self-contained) +- **Fil:** `playground/ms-ai-architect-playground.html` (~1990 linjer) - **Spec:** `docs/playground-v2-spec.md` - **Build:** `playground/build/` (7 deler, brukes kun under utvikling — slettes etter assembly) - **Innhold:** 11 Azure AI-tjenester, 8 kategorier, 76 kapabiliteter, 8 scenarioer, 9 command pipelines @@ -185,6 +185,27 @@ Interaktiv 5-stegs arkitektur-pipeline for Azure AI-beslutninger. - **4 eksport-formater:** Strukturert prompt, Command pipeline med per-command copy, Markdown brief, JSON Decision Record - **Data extensions (vs v1):** `skill` (citizen/pro/devops), `setupDays`, `userRec` per item + `COMMAND_PIPELINES` per scenario +### Vendored design-system (2026-05-03) + +Playground laster CSS fra `playground/vendor/playground-design-system/` — en vendored +kopi av marketplace-rotens `shared/playground-design-system/`. Dette holder pluginen +**standalone**: HTML-filen kan åpnes fra `file://` uavhengig av marketplace-roten. + +- **Sync-kilde:** `shared/playground-design-system/` (commit `f1fecf3` på sync-tidspunktet) +- **Sync-skript:** `node scripts/sync-design-system.mjs ms-ai-architect` (ved marketplace-rot) +- **Drift-deteksjon:** `MANIFEST.json` lagrer SHA-256 per fil. Re-sync feiler hvis + vendored fil er endret lokalt — `--force` overstyrer. +- **Lastes i HTML:** ``-tags til `fonts.css`, `tokens.css`, `base.css`, + `components.css`, `components-tier2.css`, `components-tier3.css`, + `components-tier3-supplement.css` (i den rekkefølgen). +- **Legacy var-shim:** Inline `