Skip to content

docs(boost): RHIDP-15302 migration design document (from #4042) #4223

Description

@mareklibra

Summary

Parent: #4042 (narrowed to RHIDP-15302)
Split sibling (out of scope here): #4220 (RHIDP-15346/15347)

Create the RHIDP-15302 migration design document: current → upstream/downstream mapping for the seven AI-asset categories, field-level transformation rules, consumer-facing impact, and backward compatibility.

Mapping tables were already reconciled in #4188 / #4189. This issue writes the design document from that SoT — it does not re-litigate Decision 1 or MCP Option 3.

Labels: workspace/boost, documentation, ready-to-code
RHIDP Story: RHIDP-15302 (partial — design doc only)
Feature: RHDHPLAN-1507 — Epic RHIDP-15258


Goal

Ship a design doc that platform engineers can review and that an RHDH architect can later sign off on (#4042 tasks 8.5–8.6 — human follow-up, not this issue).

Suggested path (use unless repo convention says otherwise):

workspaces/boost/specifications/ai-asset-upstream-migration-design.md

Also update cross-links from:


Binding context (do not re-open)

Topic Decision
Current kinds / categories Decision 1 — seven categories only
MCP Kind already aligned: API + mcp-server (backstage#34016); document field/module/fallback gaps only — no kind: McpServer
Model server Candidate API + ai-model-server: upstream backstage#34476 + downstream #4211
Agents Not RFC #32062; track RHIDP-15865 / #4164 (AiResource + spec.type: agent)
Skills / rules Toward shipped AiResource
Skill-bundle No upstream kind yet — Low confidence
vector-store / ai-tool Out of scope (Augment leftovers)

Gate / decisions: comment on #4042

Primary OpenSpec sources after #4189:


Document outline (required sections)

  1. Status / purpose — readiness design only; actual migration is future work
  2. Current-state SoT — Decision 1 table (seven categories)
  3. Mapping table — current kind + spec.type + annotation → target + confidence + notes (cite docs(#4188): reconcile current→upstream AI-asset mapping tables #4189)
  4. Transformation rules — per category, field-level (not only kind)
  5. Consumer-facing changes — catalog UI filters, entity refs, API queries
  6. Backward compatibility — e.g. keep rhdh.io/ai-asset-category for one major version; deprecation approach
  7. Out of scopevector-store / ai-tool; CLI (Upstream Schema Alignment — Annotation Spec & Migration-Readiness CLI (RHIDP-15346/15347; split from #4042) #4220); live migration
  8. Sign-off placeholder — empty section for reviewer / role / date / status (to be filled in Upstream Schema Alignment — Annotation Spec, Migration Design & Tooling (issue 4 of 29) #4042 tasks 8.5–8.6; do not invent an approval)

Tasks (RHIDP-15302 — 8.1–8.4 only)

  • 8.1 Create migration design document with mapping table: current → target for all seven categories
  • 8.2 Document transformation rules per category (field-level; MCP = remotes/module/fallback, not kind rename)
  • 8.3 Identify consumer-facing changes: catalog UI filters, entity refs, API queries
  • 8.4 Document backward compatibility strategy
  • Cross-link from OpenSpec migration-readiness / tasks to the new doc
  • Cite feat(#4209): add ai-model-server API spec type extension #4211 + #34476 (model-server) and RHIDP-15865 / feat(#4128): add AiResource agent typed schema #4164 (agents) in the relevant rows

Out of scope


Acceptance criteria

  • Design doc exists under workspaces/boost/specifications/ (or agreed path) with all required sections
  • Seven categories covered; consistent with post-docs(#4188): reconcile current→upstream AI-asset mapping tables #4189 OpenSpec
  • No API → McpServer kind-rename guidance
  • vector-store / ai-tool explicitly out of scope
  • Sign-off section present but unsigned (placeholder only)
  • PR closes this issue and references #4042

Suggested PR title

docs(#NNNN): RHIDP-15302 migration design document

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions