Skip to content

Lazurio Folder project offers "Initialize Git", which puts .git into the Folder root and blocks every Machines apply #47

Closed

Description

@immakermatty

What happens

On a hosted Remote Environment, T3 Code's project for the Lazurio Folder (the Environment's Folder root, where every thread starts per decision 0189) shows Initialize Git in the Git actions control (GitActionsControl → vcs.init), because the Folder root is deliberately not a Git repository.

One click runs git init in the Folder root. T3 then stores its checkpoints there as refs/t3/checkpoints/<thread>/turn/<n>.

From that moment:

  • the Folder boundary refuses the Environment: Platform requireFolderBoundary returns foreign-entry, and the Machines readback check lazurio-folder fails;
  • the next Machines apply fails at that Environment and retains its lock;
  • every later rollout of that Environment stays blocked until someone moves .git out of the Folder by hand.

Observed 2026-10-09: a Team Remote Environment, .git created by the button about eight hours before a planned apply, with no commits, no remote and nine checkpoint refs of one thread.

Proposal

Do not offer Initialize Git for the Lazurio Folder project, i.e. the project whose root is the Environment's Folder. Show a short line that the Folder is not a repository and that checkpoints work inside a module repository or a worktree.

This is option 2 of Lazurio/LazurioPlatform#256: remove the cause instead of tolerating .git in the Folder root. Other projects keep the button.

Acceptance

  • In the Lazurio Folder project the control offers no git init.
  • A test covers the Folder root project and a normal non-Git project.

Activity

  1. immakermatty commented on Oct 19, 2026

    @immakermatty
    Author

    Closing: fixed since 0.0.45-lazurio.8 and carried into v0.1.0 as overlay row 15 (7144624d41). In the Lazurio project the web shows no Git actions control at all, so no "Initialize Git" (apps/web/src/components/GitActionsControl.tsx, pinned by the contract test). The server refuses git init of the Folder root for every client ("The Lazurio Folder holds separate repositories, so it cannot become a repository itself.", apps/server/src/vcs/VcsProvisioningService.ts; test "never makes a managed Environment's Lazurio Folder a repository", which also checks that a repository inside the Folder can still be initialized). Other projects keep the button.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions