From 11b97c7e866f52079509a1bd81e1face97e10f3b Mon Sep 17 00:00:00 2001 From: Mark Kats Date: Wed, 9 Sep 2026 07:32:12 +0300 Subject: [PATCH] chore: normalize MCP widgets and remove legacy artifacts --- .../SKILL.md | 12 +- .../agents/openai.yaml | 2 +- .../references/audit-contract.md | 4 +- .../skills/shd-estimate-management/SKILL.md | 4 +- .../skills/shd-routing/SKILL.md | 4 +- .../skills/shd-safe-bulk-change/SKILL.md | 8 +- .../widgets/airbase-preview/v1/SHA256SUMS | 1 + .../widgets/airbase-preview/v1/UPSTREAM.md | 5 + .../v1/index.html | 12 +- .../widgets/airbase-preview/v1/manifest.json | 20 + .../widgets/airbase/v1/SHA256SUMS | 1 + .../{project-db => airbase}/v1/UPSTREAM.md | 4 +- .../{project-db => airbase}/v1/index.html | 8 +- .../{schemes => airbase}/v1/manifest.json | 12 +- .../documents-completeness/v1/SHA256SUMS | 2 +- .../documents-completeness/v1/index.html | 4 +- .../documents-completeness/v1/manifest.json | 6 +- .../pdf-scheme-editor-progress/v1/SHA256SUMS | 1 + .../v1/UPSTREAM.md | 4 +- .../v1/index.html | 12 +- .../v1/manifest.json | 20 + .../widgets/pdf-scheme-editor/v1/SHA256SUMS | 1 + .../v1/UPSTREAM.md | 4 +- .../v1/index.html | 6 +- .../v1/manifest.json | 10 +- .../widgets/project-db-preview/v1/SHA256SUMS | 1 - .../widgets/project-db-preview/v1/UPSTREAM.md | 5 - .../project-db-preview/v1/manifest.json | 20 - .../widgets/project-db/v1/SHA256SUMS | 1 - .../widgets/project-db/v1/manifest.json | 20 - .../widgets/schemes-progress/v1/SHA256SUMS | 1 - .../widgets/schemes-progress/v1/manifest.json | 20 - .../widgets/schemes/v1/SHA256SUMS | 1 - .../widgets/terms/v1/SHA256SUMS | 1 - .../widgets/terms/v1/UPSTREAM.md | 5 - .../widgets/terms/v1/index.html | 563 ------------------ 36 files changed, 108 insertions(+), 697 deletions(-) rename plugins/shd-mcp-plugin/skills/{shd-project-db-audit => shd-airbase-audit}/SKILL.md (74%) rename plugins/shd-mcp-plugin/skills/{shd-project-db-audit => shd-airbase-audit}/agents/openai.yaml (75%) rename plugins/shd-mcp-plugin/skills/{shd-project-db-audit => shd-airbase-audit}/references/audit-contract.md (91%) create mode 100644 plugins/shd-mcp-plugin/widgets/airbase-preview/v1/SHA256SUMS create mode 100644 plugins/shd-mcp-plugin/widgets/airbase-preview/v1/UPSTREAM.md rename plugins/shd-mcp-plugin/widgets/{project-db-preview => airbase-preview}/v1/index.html (98%) create mode 100644 plugins/shd-mcp-plugin/widgets/airbase-preview/v1/manifest.json create mode 100644 plugins/shd-mcp-plugin/widgets/airbase/v1/SHA256SUMS rename plugins/shd-mcp-plugin/widgets/{project-db => airbase}/v1/UPSTREAM.md (69%) rename plugins/shd-mcp-plugin/widgets/{project-db => airbase}/v1/index.html (98%) rename plugins/shd-mcp-plugin/widgets/{schemes => airbase}/v1/manifest.json (51%) create mode 100644 plugins/shd-mcp-plugin/widgets/pdf-scheme-editor-progress/v1/SHA256SUMS rename plugins/shd-mcp-plugin/widgets/{schemes-progress => pdf-scheme-editor-progress}/v1/UPSTREAM.md (63%) rename plugins/shd-mcp-plugin/widgets/{schemes-progress => pdf-scheme-editor-progress}/v1/index.html (98%) create mode 100644 plugins/shd-mcp-plugin/widgets/pdf-scheme-editor-progress/v1/manifest.json create mode 100644 plugins/shd-mcp-plugin/widgets/pdf-scheme-editor/v1/SHA256SUMS rename plugins/shd-mcp-plugin/widgets/{schemes => pdf-scheme-editor}/v1/UPSTREAM.md (65%) rename plugins/shd-mcp-plugin/widgets/{schemes => pdf-scheme-editor}/v1/index.html (98%) rename plugins/shd-mcp-plugin/widgets/{terms => pdf-scheme-editor}/v1/manifest.json (52%) delete mode 100644 plugins/shd-mcp-plugin/widgets/project-db-preview/v1/SHA256SUMS delete mode 100644 plugins/shd-mcp-plugin/widgets/project-db-preview/v1/UPSTREAM.md delete mode 100644 plugins/shd-mcp-plugin/widgets/project-db-preview/v1/manifest.json delete mode 100644 plugins/shd-mcp-plugin/widgets/project-db/v1/SHA256SUMS delete mode 100644 plugins/shd-mcp-plugin/widgets/project-db/v1/manifest.json delete mode 100644 plugins/shd-mcp-plugin/widgets/schemes-progress/v1/SHA256SUMS delete mode 100644 plugins/shd-mcp-plugin/widgets/schemes-progress/v1/manifest.json delete mode 100644 plugins/shd-mcp-plugin/widgets/schemes/v1/SHA256SUMS delete mode 100644 plugins/shd-mcp-plugin/widgets/terms/v1/SHA256SUMS delete mode 100644 plugins/shd-mcp-plugin/widgets/terms/v1/UPSTREAM.md delete mode 100644 plugins/shd-mcp-plugin/widgets/terms/v1/index.html diff --git a/plugins/shd-mcp-plugin/skills/shd-project-db-audit/SKILL.md b/plugins/shd-mcp-plugin/skills/shd-airbase-audit/SKILL.md similarity index 74% rename from plugins/shd-mcp-plugin/skills/shd-project-db-audit/SKILL.md rename to plugins/shd-mcp-plugin/skills/shd-airbase-audit/SKILL.md index f9398f9..4007b8e 100644 --- a/plugins/shd-mcp-plugin/skills/shd-project-db-audit/SKILL.md +++ b/plugins/shd-mcp-plugin/skills/shd-airbase-audit/SKILL.md @@ -1,9 +1,9 @@ --- -name: shd-project-db-audit -description: Use when the user asks to inspect ProjectBase tables, validate project data, find duplicate or broken links, or audit ProjectBase quality without changing records. +name: shd-airbase-audit +description: Use when the user asks to inspect AirBase tables, validate project data, find duplicate or broken links, or audit AirBase quality without changing records. --- -# ProjectBase audit +# AirBase audit See `references/audit-contract.md` for the bounded read and evidence format. @@ -12,11 +12,11 @@ See `references/audit-contract.md` for the bounded read and evidence format. 1. Resolve the canonical Base identity. A supplied `project_code` is accepted as the legacy alias only when the server accepts it; prefer the returned Base identity for subsequent calls. -2. If no table is named, call `shd_project_db_tables` first and select only the +2. If no table is named, call `shd_airbase_tables` first and select only the relevant tables. Do not load every table by default. -3. Call `shd_project_db_schema` for each selected table before reading its +3. Call `shd_airbase_schema` for each selected table before reading its records. Pass the table explicitly when a single-table audit is requested. -4. Call `shd_project_db_records` with bounded reads and the selected table. +4. Call `shd_airbase_records` with bounded reads and the selected table. 5. Compare records with the returned schema and report only evidence visible in the response. diff --git a/plugins/shd-mcp-plugin/skills/shd-project-db-audit/agents/openai.yaml b/plugins/shd-mcp-plugin/skills/shd-airbase-audit/agents/openai.yaml similarity index 75% rename from plugins/shd-mcp-plugin/skills/shd-project-db-audit/agents/openai.yaml rename to plugins/shd-mcp-plugin/skills/shd-airbase-audit/agents/openai.yaml index 3f629c0..46f3b8c 100644 --- a/plugins/shd-mcp-plugin/skills/shd-project-db-audit/agents/openai.yaml +++ b/plugins/shd-mcp-plugin/skills/shd-airbase-audit/agents/openai.yaml @@ -1,5 +1,5 @@ interface: - display_name: ProjectBase audit + display_name: AirBase audit short_description: Read-only schema and data audit policy: allow_implicit_invocation: false diff --git a/plugins/shd-mcp-plugin/skills/shd-project-db-audit/references/audit-contract.md b/plugins/shd-mcp-plugin/skills/shd-airbase-audit/references/audit-contract.md similarity index 91% rename from plugins/shd-mcp-plugin/skills/shd-project-db-audit/references/audit-contract.md rename to plugins/shd-mcp-plugin/skills/shd-airbase-audit/references/audit-contract.md index 877dc66..7595f3f 100644 --- a/plugins/shd-mcp-plugin/skills/shd-project-db-audit/references/audit-contract.md +++ b/plugins/shd-mcp-plugin/skills/shd-airbase-audit/references/audit-contract.md @@ -1,6 +1,6 @@ -# ProjectBase audit contract +# AirBase audit contract -Use this contract for every read-only ProjectBase audit. +Use this contract for every read-only AirBase audit. 1. Resolve the canonical Base identity before selecting tables. Treat a user-provided project code as an alias until the server returns the diff --git a/plugins/shd-mcp-plugin/skills/shd-estimate-management/SKILL.md b/plugins/shd-mcp-plugin/skills/shd-estimate-management/SKILL.md index 0e4fee5..a73f299 100644 --- a/plugins/shd-mcp-plugin/skills/shd-estimate-management/SKILL.md +++ b/plugins/shd-mcp-plugin/skills/shd-estimate-management/SKILL.md @@ -10,8 +10,8 @@ description: Use when the user asks to inspect, compare, validate, create or upd 1. Resolve the project, proposal, terms document or contract before acting. 2. Use `shd_list_proposals` and `shd_get_proposal` for proposal registers and details. -3. Use `shd_list_terms_documents`, `shd_get_terms_document`, - `shd_get_terms_document_completeness` and `shd_validate_terms_document` for +3. Use `shd_list_contracts`, `shd_get_contract`, + `shd_get_pdf_scheme_editor_completeness` and `shd_validate_pdf_scheme_editor_document` for terms and completeness checks. 4. Inspect template capabilities before proposing a template-driven change. 5. Report line items, versions, completeness, approvals and publication state diff --git a/plugins/shd-mcp-plugin/skills/shd-routing/SKILL.md b/plugins/shd-mcp-plugin/skills/shd-routing/SKILL.md index f92ba4b..f5687f7 100644 --- a/plugins/shd-mcp-plugin/skills/shd-routing/SKILL.md +++ b/plugins/shd-mcp-plugin/skills/shd-routing/SKILL.md @@ -13,8 +13,8 @@ readback. Do not invent fields, statuses, identifiers, routes or capabilities. - Project list, project status, deadlines or project context: use the Projects Core tools and the `shd-active-projects` or `shd-project-status` workflow. -- ProjectBase schema, records, links or data quality: use Project DB tools and - the `shd-project-db-audit` workflow. +- AirBase schema, records, links or data quality: use AirBase tools and + the `shd-airbase-audit` workflow. - Tasks, task projects, task status or task dates: use Tasks tools and the `shd-task-workflow` workflow. - Project files and paths: use Files tools and the `shd-project-files` workflow. diff --git a/plugins/shd-mcp-plugin/skills/shd-safe-bulk-change/SKILL.md b/plugins/shd-mcp-plugin/skills/shd-safe-bulk-change/SKILL.md index d764376..d911844 100644 --- a/plugins/shd-mcp-plugin/skills/shd-safe-bulk-change/SKILL.md +++ b/plugins/shd-mcp-plugin/skills/shd-safe-bulk-change/SKILL.md @@ -11,10 +11,10 @@ description: Use before any SHD bulk create, update, import, archive, delete, or intended side effect. 2. Read current schemas and records. Estimate affected, skipped, invalid and ambiguous rows. -3. Prefer a server validation or dry-run operation. For ProjectBase use - `shd_project_db_validate_records`, then - `shd_project_db_bulk_create_records` or - `shd_project_db_bulk_upsert_records` with `dry_run: true` when applicable. +3. Prefer a server validation or dry-run operation. For AirBase use + `shd_airbase_validate_records`, then + `shd_airbase_bulk_create_records` or + `shd_airbase_bulk_upsert_records` with `dry_run: true` when applicable. 4. Present the plan and stop unless the user explicitly authorized execution. ## Execute safely diff --git a/plugins/shd-mcp-plugin/widgets/airbase-preview/v1/SHA256SUMS b/plugins/shd-mcp-plugin/widgets/airbase-preview/v1/SHA256SUMS new file mode 100644 index 0000000..ba5d3eb --- /dev/null +++ b/plugins/shd-mcp-plugin/widgets/airbase-preview/v1/SHA256SUMS @@ -0,0 +1 @@ +950024eb11a0b54dad7af732d24c44aba4796392ade66bbf6d5f96f9eeab3c35 index.html diff --git a/plugins/shd-mcp-plugin/widgets/airbase-preview/v1/UPSTREAM.md b/plugins/shd-mcp-plugin/widgets/airbase-preview/v1/UPSTREAM.md new file mode 100644 index 0000000..a876506 --- /dev/null +++ b/plugins/shd-mcp-plugin/widgets/airbase-preview/v1/UPSTREAM.md @@ -0,0 +1,5 @@ +# AirBase preview widget + +This artifact is served by the SHD MCP backend as ui://shd/airbase-preview/v1.html. + +The HTML is standalone, uses the MCP Apps bridge first, and keeps window.openai as a compatibility extension. It has no external script or network dependency. The widget provides a read-only AirBase table record preview. diff --git a/plugins/shd-mcp-plugin/widgets/project-db-preview/v1/index.html b/plugins/shd-mcp-plugin/widgets/airbase-preview/v1/index.html similarity index 98% rename from plugins/shd-mcp-plugin/widgets/project-db-preview/v1/index.html rename to plugins/shd-mcp-plugin/widgets/airbase-preview/v1/index.html index de296c7..b9cfeb7 100644 --- a/plugins/shd-mcp-plugin/widgets/project-db-preview/v1/index.html +++ b/plugins/shd-mcp-plugin/widgets/airbase-preview/v1/index.html @@ -38,7 +38,7 @@ -
+
SHD MCP

SHD

@@ -48,7 +48,7 @@ - - -