Update the workflow prompts and skill scripts for the orchestrator, and add the shared test-runs reference

AI Assisted
This commit is contained in:
jparkerweb committed 2026-11-02 12:00:11 -08:00
1 parent 1f80fa6a7c
commit 2468027a5a
32 files changed
+289 -221

No files matched your search

+6 -6
View File
@@ -9,7 +9,7 @@ A persistent three-line status bar for Claude Code that displays model info, pro
```
╭───╮ Opus 4.6 | High │ plan2code │ feature/statusline │ +12 -3
│ ★ │ ┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
╰┬─┬╯ 3h 5m ($4.62) │ ▰▰▰▰▰▱▱▱▱▱▱▱ 42% (84k) │ 5h: 28% · 7d: 61%
╰┬─┬╯ 84k ⋅ ▰▰▰▰▰▱▱▱▱▱▱▱ 42% │ 5h: 28% · 7d: 61% | 3h 5m ($4.62)
```
**Enterprise / Bedrock / Vertex / PAYG** — session token counts (no `rate_limits` in stdin):
@@ -17,7 +17,7 @@ A persistent three-line status bar for Claude Code that displays model info, pro
```
╭───╮ Sonnet 4.5 | Medium │ plan2code │ main │ +12 -3
│ ★ │ ┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
╰┬─┬╯ 2m ($0.18) │ ▰▰▱▱▱▱▱▱▱▱▱▱ 18% │ 88k in · 3k out
╰┬─┬╯ ▰▰▱▱▱▱▱▱▱▱▱▱ 18% │ 88k in · 3k out | 2m ($0.18)
```
**Git worktree** — session running in a linked worktree at `C:\git\plan2code-user-auth`:
@@ -25,14 +25,14 @@ A persistent three-line status bar for Claude Code that displays model info, pro
```
╭───╮ Opus 4.6 | High │ plan2code ⑂ │ feature/user-auth │ +12 -3
│ ★ │ ┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
╰┬─┬╯ 3h 5m ($4.62) │ ▰▰▰▰▰▱▱▱▱▱▱▱ 42% (84k) │ 5h: 28% · 7d: 61%
╰┬─┬╯ 84k ⋅ ▰▰▰▰▰▱▱▱▱▱▱▱ 42% │ 5h: 28% · 7d: 61% | 3h 5m ($4.62)
```
**Line 1:** Planny icon | Model name + reasoning effort | Project name | Git branch | Uncommitted changes
**Line 2:** Planny icon | Gray separator
**Line 3:** Planny icon | Session duration + cost | Context window bar (+ absolute tokens used, Pro/Max/Teams only) | Usage (rate limits or token counts)
**Line 3:** Planny icon | Context window bar (after absolute tokens used, Pro/Max/Teams only) | Usage (rate limits or token counts) | Session duration + cost
The context bar's absolute token count `(84k)` only appears on Pro/Max/Teams (rate-limit) accounts, where it's the only place total context tokens are shown. On Enterprise/Bedrock/Vertex/PAYG accounts, it's suppressed because the `in`/`out` token counts already cover it.
The absolute token count before the context bar (`84k ⋅`) only appears on Pro/Max/Teams (rate-limit) accounts, where it's the only place total context tokens are shown. On Enterprise/Bedrock/Vertex/PAYG accounts, it's suppressed because the `in`/`out` token counts already cover it.
## Installation
@@ -97,7 +97,7 @@ Edit `~/.claude/statusline-config.json`:
| `items.worktree` | `true` | Detect [git worktrees](https://git-scm.com/docs/git-worktree) and render the project segment as `repo ⑂ worktree` instead of just the worktree's directory name. See [Worktree Display](#worktree-display). Requires `items.project`. |
| `items.branch` | `true` | Show current git branch (falls back to short SHA when detached HEAD) |
| `items.contextBar` | `true` | Show context window usage bar with percentage |
| `items.contextTokens` | `true` | Append raw tokens used in the context window next to the percentage, e.g. `42% (84k)`. Reads `context_window.total_input_tokens` (the same input-token count `used_percentage` is derived from — excludes output tokens). Requires `items.contextBar` to also be enabled. Suppressed automatically on Enterprise/Bedrock/Vertex/PAYG accounts, where the `in`/`out` token usage segment already shows the same number. |
| `items.contextTokens` | `true` | Append raw tokens used in the context window before the bar, e.g. `84k ⋅ ▰▰▰▰▰▱▱▱▱▱▱▱ 42%`. Reads `context_window.total_input_tokens` (the same input-token count `used_percentage` is derived from — excludes output tokens). Requires `items.contextBar` to also be enabled. Suppressed automatically on Enterprise/Bedrock/Vertex/PAYG accounts, where the `in`/`out` token usage segment already shows the same number. |
| `items.planUsage` | `true` | Show usage info: rate limits (Pro/Max) or token counts (Bedrock/Vertex/PAYG) |
| `items.linesChanged` | `true` | Show uncommitted git diff stats (+added -removed) |
| `items.duration` | `true` | Show session duration |
+10 -10
View File
@@ -106,6 +106,7 @@ const C = {
const SEP = (config) => config.color ? `${C.gray} │ ${C.reset}` : ' │ ';
const DOT = (config) => config.color ? `${C.gray} · ${C.reset}` : ' · ';
const PIPE = (config) => config.color ? `${C.gray} | ${C.reset}` : ' | ';
// ============================================================================
// Git helpers
@@ -291,15 +292,15 @@ function formatContextBar(percent, tokens, config, suppressTokens) {
const emptyStr = '▱'.repeat(CONTEXT_BAR_LEN - filled);
const showTokens = config.items.contextTokens && !suppressTokens && tokens != null;
const tokenStr = showTokens ? ` (${formatTokenCount(tokens)})` : '';
const tokenStr = showTokens ? formatTokenCount(tokens) : '';
if (!config.color) return `${filledStr}${emptyStr} ${clamped}%${tokenStr}`;
if (!config.color) return `${tokenStr ? `${tokenStr} ⋅ ` : ''}${filledStr}${emptyStr} ${clamped}%`;
const barColor = clamped >= CONTEXT_THRESHOLDS.yellow ? C.barRed
: clamped >= CONTEXT_THRESHOLDS.green ? C.barYellow
: C.barGreen;
const tokenPart = tokenStr ? `${C.label}${tokenStr}${C.reset}` : '';
return `${barColor}${filledStr}${C.gray}${emptyStr}${C.reset} ${barColor}${clamped}%${C.reset}${tokenPart}`;
const tokenPart = tokenStr ? `${C.label}${tokenStr}${C.reset}${C.gray} ⋅ ${C.reset}` : '';
return `${tokenPart}${barColor}${filledStr}${C.gray}${emptyStr}${C.reset} ${barColor}${clamped}%${C.reset}`;
}
function formatLinesChanged(stdinData, config) {
@@ -441,11 +442,6 @@ function formatLine1(stdinData, config) {
function formatLine2(stdinData, config) {
const segments = [];
if (config.items.duration) {
const dur = formatDuration(stdinData, config);
if (dur) segments.push(dur);
}
// Token usage ("X in / Y out") already surfaces total_input_tokens — suppress the
// context bar's duplicate (XXk) in that case. Rate-limit accounts show no absolute
// tokens elsewhere, so the bar's (XXk) stays as the only source there.
@@ -464,7 +460,11 @@ function formatLine2(stdinData, config) {
if (usage) segments.push(usage);
}
return segments.join(SEP(config));
// Duration + cost closes the line, set off with a plain pipe
const main = segments.join(SEP(config));
const dur = config.items.duration ? formatDuration(stdinData, config) : null;
if (!dur) return main;
return main ? main + PIPE(config) + dur : dur;
}
// ============================================================================