Skip to content

Never in the way: behold refuses to apply a terragucci repo, export works, an empty workspace draws instead of crashing #489

Closed

Description

@lex00

The first step before behold shows terragucci estates: it must never act outside terragucci's pipeline, and its existing paths must not break on a terragucci repo.

Done when:

  • POST /api/apply (and any deploy action) refuses when the project holds terragucci.yml, with a message naming the pipeline as the way to apply (src/server.ts:3690-3767 runs a real deploy today).
  • behold export works on 0.22.x and main: it copies web/icons as a directory (src/export.ts:194-196), and a test runs export end to end.
  • A chant.workspace.json with members: [] (terragucci's example ships one) draws the declared Terraform roots instead of 0 of 0, and behold doctor does not crash on it (src/doctor.ts:524).
  • The docs' "never mutates anything" matches the code, or the code matches the docs.

Research: /tmp/gucci7/behold-research.md (local). Part of the behold-terragucci epic.

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

    epic:behold-terragucci

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions