Skip to content

Add work-system statusline segment#33

Merged
gering merged 1 commit into
mainfrom
task/add-work-system-statusline
Jul 15, 2026
Merged

Add work-system statusline segment#33
gering merged 1 commit into
mainfrom
task/add-work-system-statusline

Conversation

@gering

@gering gering commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • New /work-system:statusline skill renders a compact [ws ○… ●… ◇… ✓…] task-backlog segment in Claude Code's status line, mirroring the knowledge-system /statusline pattern.
  • Counts the repo's tasks/*.md by state — ○ not-started, ● active (worktree), ◇ in review (open PR), ✓ merged (ready to /close) — with muted single-width glyphs; zero columns dropped.
  • PR state comes from a short-TTL cache in .git/ refreshed by a detached background gh call, so a render never blocks on the network.
  • Owns its own marker segment and coexists with the knowledge-system [cks …] block in one ~/.claude/statusline.sh (verified live).

Changes

  • plugins/work-system/scripts/ws-statusline.sh — self-contained renderer (glyph mapping, worktree/PR state, background cache with a mkdir lock + stale-lock sweep).
  • plugins/work-system/scripts/ws-statusline-install.sh — installer cloned from statusline-install.sh: own # {{ws}} marker, atomic + restorable install/enable/disable/uninstall/status.
  • plugins/work-system/skills/statusline/SKILL.md — thin wrapper over the installer.
  • Version bump work-system 1.6.0 → 1.7.0; READMEs, CLAUDE.md, CHANGELOG.md, and the statusline knowledge entry updated.

Readiness

  • ✅ README (top-level + work-system) updated
  • ✅ Version synced (plugin.json + marketplace.json)
  • ✅ CHANGELOG entry added
  • ✅ Knowledge entry updated (statusline-integration.md)
  • check-structure.py green (0 errors)
  • ➖ Build N/A (declarative markdown plugins)

Test plan

  • bash "$HOME/.claude/plugins/.../ws-statusline.sh" <repo-with-tasks> renders [ws …]; silent outside a tasks/ backlog.
  • install injects the # {{ws}} block alongside an existing [cks …] block without touching it; uninstall strips it cleanly.
  • All four state columns render (○ ● ◇ ✓) and zero columns are dropped.

🤖 Generated with Claude Code

New /work-system:statusline skill renders a compact [ws ○… ●… ◇… ✓…]
task-backlog segment in Claude Code's status line, mirroring the
knowledge-system /statusline pattern.

- scripts/ws-statusline.sh — self-contained renderer. Counts tasks/*.md by
  state with muted single-width glyphs (zero columns dropped): ○ not-started,
  ● active (worktree), ◇ in review (open PR), ✓ merged (ready to /close).
  Precedence PR → worktree → not-started. Silent outside a repo with a
  tasks/ backlog.
- PR state via a short-TTL cache in .git/ (never dirties the tree) refreshed
  by a detached background `gh` call — render never blocks on the network.
- scripts/ws-statusline-install.sh — installer cloned from the knowledge-system
  statusline-install.sh: own marker segment (# {{ws}}), coexists with the
  {{cks}} block; atomic + restorable install/enable/disable/uninstall/status.
- skills/statusline/SKILL.md — thin wrapper over the installer.
- Bump work-system 1.6.0 → 1.7.0 (minor: new skill); update READMEs + CLAUDE.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BXcDFmjmST5nvVi7hfmk7w
@gering
gering force-pushed the task/add-work-system-statusline branch from e4da145 to 5f6f213 Compare July 15, 2026 22:00
@gering
gering merged commit 466a1b5 into main Jul 15, 2026
1 check passed
@gering
gering deleted the task/add-work-system-statusline branch July 15, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant