Skip to content

[BUG] Specs: none found #7

Description

@MisinformedDNA

The loop looks for MD files in the specs folder. But if the specs were created by SpecKit, then the MD files are in a subdirectory.

However, the script does not look in subdirectories and so it finds nothing to do. But if I make it recurse, then it will pick up files like data-model.md. I altered mine for spec kit.

function Get-RootSpecs {
    param([string]$SpecsDir = "specs")

    if (-not (Test-Path -LiteralPath $SpecsDir -PathType Container)) {
        return @()
    }

    Get-ChildItem -LiteralPath $SpecsDir -File -Filter "spec.md" -Recurse |
        Sort-Object -Property Name
}

Also, note that even though it found nothing to do, it still started Loop 1. I have no idea what it was working on and I canceled the operation.

❯ .\scripts\ralph-loop-copilot.ps1

RALPH LOOP (GitHub Copilot CLI) STARTING
Mode: build
Model: gpt-5.5 (xhigh)
Prompt: PROMPT_build.md
Branch: ralph-wiggum.ai
YOLO: ENABLED
Log: C:\repos\wave3\logs\ralph_github_copilot_cli_build_session_20260609_175826.log
Specs: none found

LOOP 1

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions