Skip to content

T-0A07-project-root-help-states-the-real-default

State: planning/draft · Impact: low · Complexity: small

Every op’s --project-root help says “Default: cwd”. The real default is the nearest sdlc.yaml above the cwd, which is what makes nested projects behave differently by directory. The help should say so.

The option description is shared across ops and reads “Project root the op runs against. Default: cwd.” resolveProjectRoot() (lib/config/load.ts:1648-1651) walks up to the nearest sdlc.yaml.

The help reads: “Project root the op runs against. Default: the nearest directory above the cwd that holds an sdlc.yaml.”

  1. Find the shared option definition and update the text.
  2. Regenerate any generated CLI reference docs.
AreaNote
solutions/ontological/lib/Shared CLI option definition
  • AC-1: sdlc task resolve --help shows the corrected default.
  • AC-2: Generated CLI reference docs match.
  • Changing how the default is resolved.

← Back to Tasks