---
title: "overlane brief"
description: "Repository state in one line and the open P0 lines of TASKS.md"
---

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

# overlane brief

{/* Generated by apps/docs/scripts/generate.mjs (CLI pages from the command registry in packages/cli). Do not edit; run `pnpm --filter @overlane/docs gen`. */}

git: "branch sha7 ahead N behind N of upstream, N dirty, last: subject" in one line, in place of git status and git log. tasks: the unticked "- [ ] P0" lines of TASKS.md cut to 160 characters (a repository without TASKS.md points at overlane task status). all (the default) prints both. Works offline.

## Usage

```sh
overlane brief [what]
```

## Arguments

| Argument | Required | Description |
| --- | --- | --- |
| `what` | no | git, tasks or all (default all) |

## Examples

```sh
overlane brief
overlane brief git
overlane brief tasks
```

## Behavior

- Effect: `read` (changes nothing).
- Needs credentials: no. Uses the network: no.
- Supports `--dry-run`: no. Accepts `--force`: no.
- Machine-readable description: `overlane schema brief`.

## Result

With `--json` (the default when stdout is not a terminal) the command prints this JSON Schema's shape on stdout.

```json
{
  "type": "object",
  "properties": {
    "git": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "branch": {
              "type": "string"
            },
            "sha": {
              "type": "string"
            },
            "upstream": {
              "type": [
                "string",
                "null"
              ]
            },
            "ahead": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "behind": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "dirty": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "subject": {
              "type": "string"
            }
          },
          "required": [
            "branch",
            "sha",
            "upstream",
            "ahead",
            "behind",
            "dirty",
            "subject"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "tasks": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string",
          "enum": [
            "TASKS.md",
            "none"
          ]
        },
        "open": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "more": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "source",
        "open",
        "more"
      ],
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}
```

See [exit codes](/cli/#exit-codes) for the status the process returns.

Source: https://docs.overlane.app/cli/brief/index.mdx
