Skip to content

SDD/OpenSpec seems to not work with monorepo projects #810

Description

@ccll

Pre-flight Checklist

  • I have searched existing issues and this is not a duplicate
  • I understand that PRs will be rejected if the linked issue does not have status:approved

📝 Bug Description

I have a monorepo project, containing sub-project A written in Python, and sub project B written in Rust.
/sdd-init won't recognize both sub-projects, it generates a config.yaml like this even though A and B have lots of code and tests:

strict_tdd: false
context: |
  workspace is a Unclassified software project project.
  Detected markers: none.
  No reliable test runner was detected; verify testing manually before enabling strict TDD.
  Unit tests: none.
  Integration tests: none.
  E2E tests: none.
rules:
  proposal:
    require_problem_statement: true
  spec:
    require_acceptance_criteria: true
  design:
    require_tradeoffs: true
  tasks:
    protect_review_workload: true
  apply:
    test_command: ""
  verify:
    test_command: ""
testing:
  detected: "2026-06-11"
  runner:
    command: ""
    framework: ""
  layers:
    unit: ""
    integration: ""
    e2e: ""
  commands:
    unit:
      []
    integration:
      []
    e2e:
      []
  coverage:
    command: ""
    commands:
      []
quality:
  lint: ""
  lint_commands:
    []
  typecheck: ""
  typecheck_commands:
    []
  format: ""
  format_commands:
    []

🔄 Steps to Reproduce

  1. mkdir monorepo && cd monorepo
  2. uv init A && cargo new B
  3. pi "/sdd-init"

✅ Expected Behavior

I expect the openspec/config.yaml to hold correct information of the sub-project A and B.

❌ Actual Behavior

Sub-projects not detected, and openspec/config.yaml appear to be an empty template.

Gentle AI Version

v1.37.2

Operating System

Linux (Ubuntu/Debian)

AI Agent / Client

Other

📋 Affected Area

Other

💡 Logs / Error Output

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:approvedApproved for implementation — PRs can now be openedtype:bugBug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions