> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sifr.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# SIFR-WORKSPACE-0004: Workspace source root entry has an invalid shape or path.

> Workspace source root entry has an invalid shape or path.

`SIFR-WORKSPACE-0004` belongs to the **Workspace metadata** diagnostic family. It means: workspace source root entry has an invalid shape or path.

## Why It Happens

Workspace metadata does not describe a valid Sifr source layout. Keep source roots inside the workspace and use valid member/source-root shapes.

<Info>
  Use `sifr --explain SIFR-WORKSPACE-0004` locally to see the renderer's exact message template and any machine-applicable suggestions for the compiler version you are running.
</Info>

## Erroneous Code

```toml theme={null}
[workspace]
members = [123]
```

## How To Fix It

Fix workspace metadata so source roots stay inside the workspace and each entry has the expected string/path shape.

## Fixed Code

```toml theme={null}
[workspace]
members = ["crates/app"]
```

## Details

| Field                  | Value                                                     |
| ---------------------- | --------------------------------------------------------- |
| Code                   | `SIFR-WORKSPACE-0004`                                     |
| Family                 | `WORKSPACE`                                               |
| Severity               | Error                                                     |
| Stability              | stable                                                    |
| Owner                  | `sifr_driver::workspace`                                  |
| Representative fixture | `crates/sifr_driver/src/tests/discovery_and_workspace.rs` |

See the [Error Codes index](/diagnostics/error-codes) for the complete catalog.
