Files
websitedev/openspec/changes/hosting-plans-page-mithome-130/specs/hosting-plans/spec.md
T
Do SikiandClaude Opus 5.5 7e03d9ae4c
CI Pipeline with Test Management / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
CI Pipeline with Test Management / 🐳 Docker Integration Tests (push) Canceled after 0s
CI Pipeline with Test Management / 🏗️ Build Docker Image (push) Canceled after 0s
CI Pipeline with Test Management / 📊 Generate Test Summary (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 📊 Analyze Test Coverage (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🔄 Sync with Linear (push) Canceled after 0s
Test Reporting & Gherkin Analysis / ⚡ Performance Monitoring (push) Canceled after 0s
docs(openspec): propose MITHOME-130 hosting plans page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 18:33:44 +02:00

3.0 KiB

Spec Delta

Purpose

Describes how the website stores, gates and presents its hosting plans (currently mIT Start and mIT Mid), as an interim product catalogue that follows the central catalogue model (PLATFM-3).

ADDED Requirements

Requirement: Product records follow the central catalogue model

The CMS SHALL store each plan as a product record with a stable slug, a product type (hosting or managed service), a lifecycle status (draft, internal, publishable, active, retired), localized public fields (name, audience, short description, price or "custom quote", billing period, key features, call to action), and a service definition (storage, mail storage, domains, databases, mailboxes, backup, SSL, spam filtering). Internal operations data SHALL NOT be stored in or exposed by the website.

Scenario: An administrator creates a plan

  • WHEN an administrator creates a hosting product with the required fields
  • THEN the CMS SHALL persist it with its status, public fields and service definition

Scenario: A plan has no price yet

  • WHEN a product has no net monthly price
  • THEN the public page SHALL show a "request a quote" call to action instead of a price

Requirement: Lifecycle gate for public plans

The production site SHALL show only products in the "active" status. The staging site SHALL show every product except "retired" ones, so that drafts can be reviewed there. When no product is showable, the hosting plans page SHALL return not found and SHALL be omitted from the main navigation and the sitemap.

Scenario: Draft plans in production

  • WHEN all hosting products are drafts and the production site receives a request for the hosting plans page
  • THEN it SHALL respond with not found, and the page SHALL NOT appear in the menu or the sitemap

Scenario: Draft plans on staging

  • WHEN the same draft products exist on the staging site
  • THEN the staging hosting plans page SHALL show them for review

Scenario: A plan is activated

  • WHEN an administrator sets a product to "active"
  • THEN the production hosting plans page SHALL show it without a redeployment

Requirement: Hosting plans comparison page

The site SHALL serve the hosting plans page at /hu/tarhely-csomagok and /en/hosting-plans. It SHALL show the showable hosting products as comparable cards in their configured order, mark the highlighted plan, and offer a call to action for larger needs. All page copy SHALL come from the CMS in the requested locale, and English copy SHALL follow the translation status gate.

Scenario: Visitor compares the plans

  • WHEN a visitor opens the hosting plans page with two showable plans
  • THEN the page SHALL show both plans with their storage, mail storage, domains, databases and mailboxes side by side, and the highlighted plan SHALL be marked

Scenario: Managed services are not mixed in

  • WHEN a managed-service product exists
  • THEN it SHALL NOT appear on the hosting plans page