Skip to content

[BUG] Incorrectly getting checkpoints disabled due to nested git when it is not #1422

Description

@Shadoxity

Problem (one or two sentences)

Zoo code is not creating snapshots when the folder is under a folder, even though there is a single git repo in its folder.

So snapshots do not happen

Context (who is affected and when)

People trying to work with multiple repo's that are not nested as they need to connect i.e. frontend and middleware.
When using zoocode

Reproduction steps

  1. Create a top level folder (which has agents.md) in vscode - no git in this at all
  2. add your repo folders under it, in mine there are 3 separate repo folders, each only having a single git setup in them.
  3. ask zoocode to do something and it gives the error checkpoints are disabled because of nested git repositories.

The fault is that it is just looking for a parent folder and calling it a nested git repo when the parent folder is not a git repo.

Expected result

Works as normal and creates checkpoints

Actual result

No checkpoints get created while doing work

Variations tried (optional)

No response

App Version

3.8.0

API Provider (optional)

No response

Model Used (optional)

No response

Zoo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions