Skip to content

feat(data-model): deprecate GatewayRelease and GatewayNetwork, add kind-removal wave pattern - #453

Closed
markturansky wants to merge 1 commit into
mainfrom
feat/remove-gateway-release-network
Closed

markturansky wants to merge 1 commit into
mainfrom
feat/remove-gateway-release-network

Conversation

@markturansky

Copy link
Copy Markdown
Collaborator

Summary

  • Marks GatewayRelease and GatewayNetwork as Slated for Removal in specs/platform/data-model.spec.md - removed from the ER diagram, deprecation banners added to their requirement sections, API routes and CLI sections marked [REMOVED], design decision rationale added.
  • Adds 20 RM- gap items to skills/RECONCILE.md covering all 8 implementation layers (FE -> CLI -> CP -> BE+gRPC -> API+SDK -> DB migration) in reverse-dependency order.
  • Extends /reconcile skill with a Kind Removal Wave Pattern and /full-stack-pipeline with a reverse-dependency execution note, so the same skill machinery that builds new kinds can plan and execute kind deletion.

Why these two kinds

GatewayRelease: Gateways already carry image/supervisor_image directly; the release indirection layer (canary rollout, rollback) added complexity without product adoption.

GatewayNetwork: The reconciler explicitly says "applying real gateway-to-gateway connectivity is future work." It owns no Kubernetes resources and only validates topology vocabulary. Being removed until the product defines concrete connectivity semantics.

What this does NOT do

This PR is spec + skill changes only. No code is deleted yet. Running /reconcile on this branch will plan the 6-wave RM removal and present it for approval before touching any implementation.

Test plan

  • make check passes (no em-dashes, pre-commit hooks clean)
  • specs/platform/data-model.spec.md renders cleanly (mermaid ER diagram has no GatewayRelease or GatewayNetwork entities)
  • skills/RECONCILE.md gap table has 20 RM- items, all Missing
  • /reconcile --dry-run on this branch surfaces the RM wave plan

🤖 Generated with Claude Code

Mark both kinds as Slated for Removal in the data model spec:
- GatewayRelease: Gateway image/supervisor_image fields make the release
  indirection layer unnecessary; canary rollout was never adopted.
- GatewayNetwork: The reconciler owns no K8s resources and only validates
  topology fields; real mesh/tunnel provisioning was never defined.

Remove both from the ER diagram. Add deprecation banners to their
requirement sections. Mark API routes, CLI sections, and hsctl apply rows
as [REMOVED]. Add design decision rationale for both removals.

Add 20 RM- gap items to skills/RECONCILE.md covering all 8 implementation
layers (FE -> CLI -> CP -> BE+gRPC -> API+SDK -> DB) in reverse-dependency
removal order.

Extend skills/build/reconcile/SKILL.md with a Kind Removal Wave Pattern
and skills/build/full-stack-pipeline/SKILL.md with a reverse-dependency
execution note, so /reconcile can plan and execute kind deletion the same
way it plans additions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository YAML (base), Central YAML (inherited)
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 67b6147c-7f91-4038-a94e-757d06213e3b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@markturansky

Copy link
Copy Markdown
Collaborator Author

Consolidated into PR #452 (feat/adlc-agent-runtime-spec) - one big spec change PR.

@hypershell-delivery

hypershell-delivery Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Amber review

Status: Stopped

The pull request closed before Amber posted the review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant