@sixsevenai/ai-dlc-installer 1.5.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/commands/commit.md +15 -11
- package/library/commands/git/branch-report.md +176 -176
- package/library/commands/git/branch-validate.md +279 -279
- package/library/commands/git/rebase.md +232 -232
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
command: commit
|
|
3
3
|
description: Intelligently group staged changes into logical commits
|
|
4
|
-
argument-hint: "[--all] [--staged] [--review] [--generate-pr] [--generate-merge-pr] [--generate-merge-pr-tag]"
|
|
4
|
+
argument-hint: "[--all] [--staged] [--review] [--generate-pr] [--generate-merge-pr] [--generate-merge-pr-tag] [--no-squash]"
|
|
5
5
|
allowed-tools: Bash, Read, Glob, Grep
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -17,8 +17,8 @@ Intelligently group staged changes into logical commits.
|
|
|
17
17
|
/commit --staged --review # Review proposed groupings before committing
|
|
18
18
|
/commit --all --review # Review proposed groupings for all changes
|
|
19
19
|
/commit --generate-pr # Commit and create pull request
|
|
20
|
-
/commit --generate-merge-pr # Commit, create PR, and merge to main
|
|
21
|
-
/commit --generate-merge-pr-tag # Commit, create PR, merge, and tag release
|
|
20
|
+
/commit --generate-merge-pr # Commit, create PR, and squash merge to main
|
|
21
|
+
/commit --generate-merge-pr-tag # Commit, create PR, squash merge, and tag release
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
## Options
|
|
@@ -27,8 +27,9 @@ Intelligently group staged changes into logical commits.
|
|
|
27
27
|
- `--all`: Include both staged and unstaged changes
|
|
28
28
|
- `--review`: Show proposed groupings and ask for confirmation before committing
|
|
29
29
|
- `--generate-pr`: Create a pull request after committing
|
|
30
|
-
- `--generate-merge-pr`: Create and merge a PR after committing
|
|
31
|
-
- `--generate-merge-pr-tag`: Create, merge PR, and create a semantic version tag
|
|
30
|
+
- `--generate-merge-pr`: Create and squash merge a PR after committing
|
|
31
|
+
- `--generate-merge-pr-tag`: Create, squash merge PR, and create a semantic version tag
|
|
32
|
+
- `--no-squash`: Use regular merge instead of squash merge (applies to `--generate-merge-pr` and `--generate-merge-pr-tag`)
|
|
32
33
|
- `--force`: Bypass PR readiness checks (open AI-DLC sessions/specs)
|
|
33
34
|
|
|
34
35
|
## How It Works
|
|
@@ -37,7 +38,7 @@ Intelligently group staged changes into logical commits.
|
|
|
37
38
|
2. **Groups** related changes (tests with source, features together, docs/config separately)
|
|
38
39
|
3. **Generates** conventional commit messages with emojis
|
|
39
40
|
4. **Creates** commits automatically (or shows review if `--review` flag)
|
|
40
|
-
5. **Optional PR workflow**: Push → Create PR → Merge → Tag with semantic versioning
|
|
41
|
+
5. **Optional PR workflow**: Push → Create PR → Squash Merge → Tag with semantic versioning
|
|
41
42
|
|
|
42
43
|
---
|
|
43
44
|
|
|
@@ -117,11 +118,11 @@ Creates a pull request on GitHub (runs Branch Sync Gate first)
|
|
|
117
118
|
</execution-mode>
|
|
118
119
|
|
|
119
120
|
<execution-mode name="generate-merge-pr" trigger="--generate-merge-pr">
|
|
120
|
-
Creates PR, merges to main, and pulls main locally (runs Branch Sync Gate first)
|
|
121
|
+
Creates PR, squash merges to main, and pulls main locally (runs Branch Sync Gate first). Use `--no-squash` for regular merge.
|
|
121
122
|
</execution-mode>
|
|
122
123
|
|
|
123
124
|
<execution-mode name="generate-merge-pr-tag" trigger="--generate-merge-pr-tag">
|
|
124
|
-
Creates PR, merges, pulls main, and creates a semantic version tag (v1.0.0 → v1.0.1) (runs Branch Sync Gate first)
|
|
125
|
+
Creates PR, squash merges, pulls main, and creates a semantic version tag (v1.0.0 → v1.0.1) (runs Branch Sync Gate first). Use `--no-squash` for regular merge.
|
|
125
126
|
</execution-mode>
|
|
126
127
|
|
|
127
128
|
---
|
|
@@ -140,11 +141,14 @@ Creates PR, merges, pulls main, and creates a semantic version tag (v1.0.0 → v
|
|
|
140
141
|
/commit --generate-pr # Commit and create PR
|
|
141
142
|
/commit --all --generate-pr # Commit all and create PR
|
|
142
143
|
|
|
143
|
-
/commit --generate-merge-pr # Commit, create PR, and merge to main
|
|
144
|
-
/commit --all --generate-merge-pr # Commit all, create PR, and merge
|
|
144
|
+
/commit --generate-merge-pr # Commit, create PR, and squash merge to main
|
|
145
|
+
/commit --all --generate-merge-pr # Commit all, create PR, and squash merge
|
|
145
146
|
|
|
146
|
-
/commit --generate-merge-pr-tag # Full workflow: commit → push → PR → merge → tag
|
|
147
|
+
/commit --generate-merge-pr-tag # Full workflow: commit → push → PR → squash merge → tag
|
|
147
148
|
/commit --all --generate-merge-pr-tag # Full workflow with all changes
|
|
149
|
+
|
|
150
|
+
/commit --generate-merge-pr --no-squash # Regular merge instead of squash
|
|
151
|
+
/commit --generate-merge-pr-tag --no-squash # Regular merge with tagging
|
|
148
152
|
```
|
|
149
153
|
|
|
150
154
|
**With review:**
|
|
@@ -1,176 +1,176 @@
|
|
|
1
|
-
---
|
|
2
|
-
command: git:branch-report
|
|
3
|
-
description: List git branches with dates, commit messages, and behind/ahead tracking
|
|
4
|
-
argument-hint: "[--local] [--online] [--path <dir>]"
|
|
5
|
-
phase: cross-cutting
|
|
6
|
-
allowed-tools: Bash, Read
|
|
7
|
-
args:
|
|
8
|
-
- name: --local
|
|
9
|
-
description: List local branches (default if no flag specified)
|
|
10
|
-
required: false
|
|
11
|
-
- name: --online
|
|
12
|
-
description: List remote origin branches
|
|
13
|
-
required: false
|
|
14
|
-
- name: --path
|
|
15
|
-
description: Path to another git repository to report on
|
|
16
|
-
required: false
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
# Branch Report
|
|
20
|
-
|
|
21
|
-
List git branches with rich metadata including last commit date, commit message, and behind/ahead counts.
|
|
22
|
-
|
|
23
|
-
## Command: /git:branch-report [--local|--online] [--path <dir>]
|
|
24
|
-
|
|
25
|
-
## Execution Protocol
|
|
26
|
-
|
|
27
|
-
### Step 1: Resolve Target Directory
|
|
28
|
-
|
|
29
|
-
- Parse arguments. If `--path <dir>` is provided, set `GIT_DIR_FLAG="-C <dir>"`, otherwise `GIT_DIR_FLAG=""`.
|
|
30
|
-
- Validate the path is a git repo:
|
|
31
|
-
```bash
|
|
32
|
-
git $GIT_DIR_FLAG rev-parse --git-dir 2>/dev/null
|
|
33
|
-
```
|
|
34
|
-
- If validation fails, report error: "Not a git repository: <dir>" and stop.
|
|
35
|
-
|
|
36
|
-
### Step 2: Determine Mode
|
|
37
|
-
|
|
38
|
-
- If `--online` is specified, set MODE to "remote"
|
|
39
|
-
- Otherwise (default, or `--local`), set MODE to "local"
|
|
40
|
-
|
|
41
|
-
### Step 3: Detect Default Branch
|
|
42
|
-
|
|
43
|
-
Run these commands to auto-detect the default branch name:
|
|
44
|
-
```bash
|
|
45
|
-
# Try symbolic ref first
|
|
46
|
-
git $GIT_DIR_FLAG symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@'
|
|
47
|
-
|
|
48
|
-
# Fallback: check if main exists
|
|
49
|
-
git $GIT_DIR_FLAG show-ref --verify --quiet refs/heads/main 2>/dev/null && echo "main"
|
|
50
|
-
|
|
51
|
-
# Fallback: check if master exists
|
|
52
|
-
git $GIT_DIR_FLAG show-ref --verify --quiet refs/heads/master 2>/dev/null && echo "master"
|
|
53
|
-
```
|
|
54
|
-
Use the first successful result as `DEFAULT_BRANCH`.
|
|
55
|
-
|
|
56
|
-
### Step 4: Fetch Remote (online mode only)
|
|
57
|
-
|
|
58
|
-
If MODE is "remote":
|
|
59
|
-
```bash
|
|
60
|
-
git $GIT_DIR_FLAG fetch origin --prune
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
### Step 5: List Branches
|
|
64
|
-
|
|
65
|
-
**For local mode** (`refs/heads/`):
|
|
66
|
-
```bash
|
|
67
|
-
git $GIT_DIR_FLAG for-each-ref --sort=-committerdate refs/heads/ \
|
|
68
|
-
--format='%(HEAD)|%(refname:short)|%(committerdate:relative)|%(subject)'
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
**For online mode** (`refs/remotes/origin/`):
|
|
72
|
-
```bash
|
|
73
|
-
git $GIT_DIR_FLAG for-each-ref --sort=-committerdate refs/remotes/origin/ \
|
|
74
|
-
--format='%(refname:short)|%(committerdate:relative)|%(subject)' \
|
|
75
|
-
| grep -v 'origin/HEAD'
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
### Step 6: Calculate Behind/Ahead
|
|
79
|
-
|
|
80
|
-
For each branch from Step 5, calculate behind/ahead relative to the default branch:
|
|
81
|
-
|
|
82
|
-
**Local mode:**
|
|
83
|
-
```bash
|
|
84
|
-
git $GIT_DIR_FLAG rev-list --left-right --count $DEFAULT_BRANCH...<branch> 2>/dev/null
|
|
85
|
-
```
|
|
86
|
-
Output format: `<behind>\t<ahead>`
|
|
87
|
-
|
|
88
|
-
**Online mode:**
|
|
89
|
-
```bash
|
|
90
|
-
git $GIT_DIR_FLAG rev-list --left-right --count origin/$DEFAULT_BRANCH...<branch> 2>/dev/null
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
If the command fails (e.g., unrelated histories), show `-` for both values.
|
|
94
|
-
|
|
95
|
-
### Step 7: Format Output
|
|
96
|
-
|
|
97
|
-
Display a header, then render results as a clean columnar table with a horizontal rule under the header:
|
|
98
|
-
|
|
99
|
-
```
|
|
100
|
-
Branch Report (local) — repo: <repo-name>
|
|
101
|
-
Default branch: <DEFAULT_BRANCH>
|
|
102
|
-
|
|
103
|
-
Branch Age Behind Ahead Last Commit
|
|
104
|
-
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
105
|
-
* main 2 hours ago — — feat: add new dashboard widget
|
|
106
|
-
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
107
|
-
feature/auth-refactor 3 days ago 12 5 fix: token refresh edge case
|
|
108
|
-
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
109
|
-
hotfix/login-crash 1 week ago 25 2 hotfix: null check on login response
|
|
110
|
-
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
111
|
-
stale/old-experiment 3 months ago 142 1 experiment: try new caching approach
|
|
112
|
-
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
113
|
-
|
|
114
|
-
4 branches | 3 ahead of main | 4 behind main
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
- No outer border or vertical pipe characters — just aligned columns with space padding
|
|
118
|
-
- Horizontal rule (`─`) under each column header AND between every row for grid-like readability
|
|
119
|
-
- `*` in the left margin indicates current branch (local mode only)
|
|
120
|
-
- Behind/Ahead columns right-aligned; use `—` (em dash) for the default branch row
|
|
121
|
-
- Truncate commit message to 50 characters, append `...` if truncated
|
|
122
|
-
- Sort by most recent commit date (descending) — already handled by `--sort=-committerdate`
|
|
123
|
-
- Summary line below the table with branch counts
|
|
124
|
-
- For online mode, header says "Branch Report (remote)" instead of "(local)"
|
|
125
|
-
|
|
126
|
-
## Usage Examples
|
|
127
|
-
|
|
128
|
-
```bash
|
|
129
|
-
# List local branches (default)
|
|
130
|
-
/git:branch-report
|
|
131
|
-
|
|
132
|
-
# Explicitly local
|
|
133
|
-
/git:branch-report --local
|
|
134
|
-
|
|
135
|
-
# List remote branches
|
|
136
|
-
/git:branch-report --online
|
|
137
|
-
|
|
138
|
-
# Report on a different repository
|
|
139
|
-
/git:branch-report --path /c/dev/other-project
|
|
140
|
-
|
|
141
|
-
# Remote branches of another repo
|
|
142
|
-
/git:branch-report --online --path /c/dev/other-project
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
## Sample Output
|
|
146
|
-
|
|
147
|
-
```
|
|
148
|
-
Branch Report (local) — repo: SixSevenAI
|
|
149
|
-
Default branch: main
|
|
150
|
-
|
|
151
|
-
Branch Age Behind Ahead Last Commit
|
|
152
|
-
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
153
|
-
* hotfix/cli-false-complete 2 hours ago 0 2 fix(cli): use unit-based completion for status
|
|
154
|
-
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
155
|
-
feature/workflow-engine 1 day ago 5 8 feat: add workflow pause/resume support
|
|
156
|
-
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
157
|
-
feature/agent-voting 3 days ago 12 3 feat: implement MAKER voting consensus
|
|
158
|
-
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
159
|
-
bugfix/session-archive 1 week ago 20 1 fix: archive metadata generation
|
|
160
|
-
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
161
|
-
experiment/mcp-bridge 2 months ago 87 4 experiment: MCP server bridge prototype
|
|
162
|
-
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
163
|
-
|
|
164
|
-
5 branches | 4 ahead of main | 4 behind main
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
## Prerequisites
|
|
168
|
-
|
|
169
|
-
- Git repository (local or specified via `--path`)
|
|
170
|
-
- For `--online`: network access to fetch from origin
|
|
171
|
-
|
|
172
|
-
## Related Commands
|
|
173
|
-
|
|
174
|
-
- `/git:branch-validate` — Deep comparison of a branch against another
|
|
175
|
-
- `/git:check-duplicates` — Analyze changed files for semantic duplicates
|
|
176
|
-
- `/commit` — Intelligent commit workflow
|
|
1
|
+
---
|
|
2
|
+
command: git:branch-report
|
|
3
|
+
description: List git branches with dates, commit messages, and behind/ahead tracking
|
|
4
|
+
argument-hint: "[--local] [--online] [--path <dir>]"
|
|
5
|
+
phase: cross-cutting
|
|
6
|
+
allowed-tools: Bash, Read
|
|
7
|
+
args:
|
|
8
|
+
- name: --local
|
|
9
|
+
description: List local branches (default if no flag specified)
|
|
10
|
+
required: false
|
|
11
|
+
- name: --online
|
|
12
|
+
description: List remote origin branches
|
|
13
|
+
required: false
|
|
14
|
+
- name: --path
|
|
15
|
+
description: Path to another git repository to report on
|
|
16
|
+
required: false
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# Branch Report
|
|
20
|
+
|
|
21
|
+
List git branches with rich metadata including last commit date, commit message, and behind/ahead counts.
|
|
22
|
+
|
|
23
|
+
## Command: /git:branch-report [--local|--online] [--path <dir>]
|
|
24
|
+
|
|
25
|
+
## Execution Protocol
|
|
26
|
+
|
|
27
|
+
### Step 1: Resolve Target Directory
|
|
28
|
+
|
|
29
|
+
- Parse arguments. If `--path <dir>` is provided, set `GIT_DIR_FLAG="-C <dir>"`, otherwise `GIT_DIR_FLAG=""`.
|
|
30
|
+
- Validate the path is a git repo:
|
|
31
|
+
```bash
|
|
32
|
+
git $GIT_DIR_FLAG rev-parse --git-dir 2>/dev/null
|
|
33
|
+
```
|
|
34
|
+
- If validation fails, report error: "Not a git repository: <dir>" and stop.
|
|
35
|
+
|
|
36
|
+
### Step 2: Determine Mode
|
|
37
|
+
|
|
38
|
+
- If `--online` is specified, set MODE to "remote"
|
|
39
|
+
- Otherwise (default, or `--local`), set MODE to "local"
|
|
40
|
+
|
|
41
|
+
### Step 3: Detect Default Branch
|
|
42
|
+
|
|
43
|
+
Run these commands to auto-detect the default branch name:
|
|
44
|
+
```bash
|
|
45
|
+
# Try symbolic ref first
|
|
46
|
+
git $GIT_DIR_FLAG symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@'
|
|
47
|
+
|
|
48
|
+
# Fallback: check if main exists
|
|
49
|
+
git $GIT_DIR_FLAG show-ref --verify --quiet refs/heads/main 2>/dev/null && echo "main"
|
|
50
|
+
|
|
51
|
+
# Fallback: check if master exists
|
|
52
|
+
git $GIT_DIR_FLAG show-ref --verify --quiet refs/heads/master 2>/dev/null && echo "master"
|
|
53
|
+
```
|
|
54
|
+
Use the first successful result as `DEFAULT_BRANCH`.
|
|
55
|
+
|
|
56
|
+
### Step 4: Fetch Remote (online mode only)
|
|
57
|
+
|
|
58
|
+
If MODE is "remote":
|
|
59
|
+
```bash
|
|
60
|
+
git $GIT_DIR_FLAG fetch origin --prune
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Step 5: List Branches
|
|
64
|
+
|
|
65
|
+
**For local mode** (`refs/heads/`):
|
|
66
|
+
```bash
|
|
67
|
+
git $GIT_DIR_FLAG for-each-ref --sort=-committerdate refs/heads/ \
|
|
68
|
+
--format='%(HEAD)|%(refname:short)|%(committerdate:relative)|%(subject)'
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**For online mode** (`refs/remotes/origin/`):
|
|
72
|
+
```bash
|
|
73
|
+
git $GIT_DIR_FLAG for-each-ref --sort=-committerdate refs/remotes/origin/ \
|
|
74
|
+
--format='%(refname:short)|%(committerdate:relative)|%(subject)' \
|
|
75
|
+
| grep -v 'origin/HEAD'
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Step 6: Calculate Behind/Ahead
|
|
79
|
+
|
|
80
|
+
For each branch from Step 5, calculate behind/ahead relative to the default branch:
|
|
81
|
+
|
|
82
|
+
**Local mode:**
|
|
83
|
+
```bash
|
|
84
|
+
git $GIT_DIR_FLAG rev-list --left-right --count $DEFAULT_BRANCH...<branch> 2>/dev/null
|
|
85
|
+
```
|
|
86
|
+
Output format: `<behind>\t<ahead>`
|
|
87
|
+
|
|
88
|
+
**Online mode:**
|
|
89
|
+
```bash
|
|
90
|
+
git $GIT_DIR_FLAG rev-list --left-right --count origin/$DEFAULT_BRANCH...<branch> 2>/dev/null
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
If the command fails (e.g., unrelated histories), show `-` for both values.
|
|
94
|
+
|
|
95
|
+
### Step 7: Format Output
|
|
96
|
+
|
|
97
|
+
Display a header, then render results as a clean columnar table with a horizontal rule under the header:
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
Branch Report (local) — repo: <repo-name>
|
|
101
|
+
Default branch: <DEFAULT_BRANCH>
|
|
102
|
+
|
|
103
|
+
Branch Age Behind Ahead Last Commit
|
|
104
|
+
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
105
|
+
* main 2 hours ago — — feat: add new dashboard widget
|
|
106
|
+
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
107
|
+
feature/auth-refactor 3 days ago 12 5 fix: token refresh edge case
|
|
108
|
+
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
109
|
+
hotfix/login-crash 1 week ago 25 2 hotfix: null check on login response
|
|
110
|
+
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
111
|
+
stale/old-experiment 3 months ago 142 1 experiment: try new caching approach
|
|
112
|
+
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
113
|
+
|
|
114
|
+
4 branches | 3 ahead of main | 4 behind main
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
- No outer border or vertical pipe characters — just aligned columns with space padding
|
|
118
|
+
- Horizontal rule (`─`) under each column header AND between every row for grid-like readability
|
|
119
|
+
- `*` in the left margin indicates current branch (local mode only)
|
|
120
|
+
- Behind/Ahead columns right-aligned; use `—` (em dash) for the default branch row
|
|
121
|
+
- Truncate commit message to 50 characters, append `...` if truncated
|
|
122
|
+
- Sort by most recent commit date (descending) — already handled by `--sort=-committerdate`
|
|
123
|
+
- Summary line below the table with branch counts
|
|
124
|
+
- For online mode, header says "Branch Report (remote)" instead of "(local)"
|
|
125
|
+
|
|
126
|
+
## Usage Examples
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
# List local branches (default)
|
|
130
|
+
/git:branch-report
|
|
131
|
+
|
|
132
|
+
# Explicitly local
|
|
133
|
+
/git:branch-report --local
|
|
134
|
+
|
|
135
|
+
# List remote branches
|
|
136
|
+
/git:branch-report --online
|
|
137
|
+
|
|
138
|
+
# Report on a different repository
|
|
139
|
+
/git:branch-report --path /c/dev/other-project
|
|
140
|
+
|
|
141
|
+
# Remote branches of another repo
|
|
142
|
+
/git:branch-report --online --path /c/dev/other-project
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
## Sample Output
|
|
146
|
+
|
|
147
|
+
```
|
|
148
|
+
Branch Report (local) — repo: SixSevenAI
|
|
149
|
+
Default branch: main
|
|
150
|
+
|
|
151
|
+
Branch Age Behind Ahead Last Commit
|
|
152
|
+
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
153
|
+
* hotfix/cli-false-complete 2 hours ago 0 2 fix(cli): use unit-based completion for status
|
|
154
|
+
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
155
|
+
feature/workflow-engine 1 day ago 5 8 feat: add workflow pause/resume support
|
|
156
|
+
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
157
|
+
feature/agent-voting 3 days ago 12 3 feat: implement MAKER voting consensus
|
|
158
|
+
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
159
|
+
bugfix/session-archive 1 week ago 20 1 fix: archive metadata generation
|
|
160
|
+
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
161
|
+
experiment/mcp-bridge 2 months ago 87 4 experiment: MCP server bridge prototype
|
|
162
|
+
───────────────────────────────── ────────────── ────── ───── ──────────────────────────────────────────────
|
|
163
|
+
|
|
164
|
+
5 branches | 4 ahead of main | 4 behind main
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
## Prerequisites
|
|
168
|
+
|
|
169
|
+
- Git repository (local or specified via `--path`)
|
|
170
|
+
- For `--online`: network access to fetch from origin
|
|
171
|
+
|
|
172
|
+
## Related Commands
|
|
173
|
+
|
|
174
|
+
- `/git:branch-validate` — Deep comparison of a branch against another
|
|
175
|
+
- `/git:check-duplicates` — Analyze changed files for semantic duplicates
|
|
176
|
+
- `/commit` — Intelligent commit workflow
|