Skip to content

Commit b04099d

Browse files
add repograph and protocolwarden profiles; fix git_watcher column alignment
- Add repograph.yaml and protocolwarden.github.io.yaml profiles - Whitelist both in .gitignore alongside other platform-group members - Compute name/branch column widths dynamically in git_watcher so long names like ProtocolWarden.github.io no longer clobber adjacent columns Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 0a02bfd commit b04099d

5 files changed

Lines changed: 45 additions & 1 deletion

File tree

.console/log.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,11 @@ top block flows behind them.
273273
- Updated repo-owned references from the previous GitHub username to `ProtocolWarden` after the account rename.
274274
- Scope: license headers, GitHub URLs, workflow install commands, manifests, dependency URLs, examples, and local owner defaults where present.
275275

276+
## 2026-05-13 — Add repograph/protocolwarden profiles; fix git_watcher columns
277+
278+
- Created `config/profiles/repograph.yaml` and `config/profiles/protocolwarden.github.io.yaml`; whitelisted both in `.gitignore`.
279+
- `git_watcher.py`: name and branch column widths now computed dynamically from actual repo names so long entries like `ProtocolWarden.github.io` don't clobber adjacent columns.
280+
276281
## 2026-05-10 — Console setup and Custodian hook resolution
277282

278283
- Added non-interactive `setup.sh` to bootstrap OperatorConsole and symlink `console` into `~/.local/bin`.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ config/profiles/*.yaml
2020
!config/profiles/sourceregistry.yaml
2121
!config/profiles/rxp.yaml
2222
!config/profiles/platformmanifest.yaml
23+
!config/profiles/repograph.yaml
24+
!config/profiles/protocolwarden.github.io.yaml
2325

2426
# Saved tab layouts, session IDs, and generated rc files (always private)
2527
config/profiles/*.kdl
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: ProtocolWarden.github.io
2+
repo_root: /home/dev/Documents/GitHub/ProtocolWarden.github.io
3+
4+
claude:
5+
continue: true
6+
bootstrap_files: []
7+
peers: []
8+
9+
panes:
10+
git:
11+
command: lazygit
12+
shell:
13+
command: bash
14+
15+
helpers:
16+
dev: mkdocs serve
17+
build: mkdocs build

config/profiles/repograph.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: RepoGraph
2+
repo_root: /home/dev/Documents/GitHub/RepoGraph
3+
4+
claude:
5+
continue: true
6+
bootstrap_files: []
7+
peers: []
8+
9+
panes:
10+
git:
11+
command: lazygit
12+
shell:
13+
command: bash
14+
15+
helpers:
16+
test: pytest -q
17+
audit: ruff check .

src/operator_console/git_watcher.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ def _draw(stdscr, repos: list[str], statuses: dict, branches: dict, sel: int, re
9191
C_DIRTY = curses.color_pair(3)
9292
C_WAIT = curses.color_pair(4)
9393

94+
name_w = max((len(Path(r).name) for r in repos), default=18)
95+
branch_w = max((len(branches.get(r, "?")) for r in repos), default=14)
96+
9497
# header
9598
spin = " ⟳" if refreshing else " "
9699
hdr = f" {_HELP}{spin}"
@@ -113,7 +116,7 @@ def _draw(stdscr, repos: list[str], statuses: dict, branches: dict, sel: int, re
113116
else:
114117
icon, detail, color = _CLEAN, "", C_CLEAN
115118

116-
label = f" {icon} {name:<18} {branch:<14} {detail}"
119+
label = f" {icon} {name:<{name_w}} {branch:<{branch_w}} {detail}"
117120
label = label[:w - 1].ljust(w - 1)
118121

119122
if i == sel:

0 commit comments

Comments
 (0)