Skip to content

feat(architecture): map-deployment readers for Terraform, Pulumi and Bicep; merged layered Compose; compute-node placement #5400

Closed

Description

@kyle-sexton

Refs #4649
Refs #4639

Problem

The 2026-09-29 audit of the Cursor run found that map-deployment reads Docker Compose and Kubernetes manifests only. After the fixes in #5392, every other IaC shape is declined by name instead of half-read. That is correct behavior, but it means a Terraform, Pulumi or Bicep repository gets no deployment view at all. The placement model is also thin: containers sit directly under the environment node.

Scope

  • Readers for Terraform (*.tf, *.tf.json, *.tfvars, module-only roots), Pulumi, Bicep, ARM, CloudFormation, Helm (chart plus templates/) and Kustomize. Each is declined by name today.
  • Merge a layered Compose base and its override files in Compose merge order, instead of refusing the pair.
  • Place containers on compute nodes. Both renderers currently skip compute nodes, and containers sit directly under the environment.
  • Draw Kubernetes Service and Ingress as Rel links between containers.
  • Diff nodes (networks, Ingress hosts) as well as containers and parameters in --diff.

Acceptance criteria

  • Each new reader has a fixture that produces a per-environment topology with no cloud credentials and no live state.
  • A tool that is still unread stays declined by name. No repository is half-read silently.
  • A layered Compose base plus override produces one merged environment, with a fixture that asserts the merged values.
  • Containers render inside their compute node in both the C4-PlantUML and LikeC4 dialects.
  • --diff reports node differences, with a fixture.
  • Secret-shaped values still go through the shared redactor, with a no-leak fixture per reader.

Activity

  1. added
    area: security
    on Sep 29, 2026
  2. kyle-sexton commented on Oct 13, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. The owner approved applying independently verified recommendations (confirmed, low-risk set) on 2026-10-13.

    Asked for map-deployment readers beyond Compose and Kubernetes, merged layered Compose, compute-node placement, Service/Ingress links and node diffs. #5567 shipped Terraform, Bicep, ARM, CloudFormation, Pulumi YAML, layered Compose, compute nodes, Rel links and network/Ingress diffs; Helm, Kustomize and non-YAML Pulumi are still declined by name, and SKILL.md lists rendering Helm or Kustomize as something the skill does not do.

    Verification notes:

    • The cited line numbers have drifted slightly: the Helm/Kustomize refusal is at SKILL.md:287 and the Pulumi/Helm/Kustomize decline at :189-192. The content matches.

    Verified by an independent fresh-context check (confirmed, risk low): gh issue view 5400 (OPEN, no comments); PR #5567 MERGED 2026-10-02 (body: Refs only; 'Not done' paragraphs on CronJob/Job and IaC compute-node diff); PR #6167 MERGED 2026-10-04; origin/main map-deployment SKILL.md:186-192, 224-225 (IaC compute nodes not compared), 280-292; git grep cronjob in map-deployment (none, so the residual is still open)

    Admission to an agent lane stays with the work-class rules and owner ratification.

  3. removed
    area: security
    on Oct 15, 2026
  4. kyle-sexton commented on Oct 18, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI during backlog shaping.

    Closing as completed. #5567 shipped the Terraform, Bicep, ARM and CloudFormation readers, and the owner decided on 2026-10-13 to keep Helm, Kustomize and Pulumi programs declined, file one follow-up for the two residuals, and close.

    Evidence:

    The owner approved this in an attended backlog-shaping session on 2026-10-17.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions