Skip to content

About

A read-only OpenSpec dashboard for Herdr: changes, artifacts, and task progress in a pane beside your agents.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

herdr-openspec

CI

A read-only OpenSpec dashboard for Herdr: your changes, their artifacts, and their task progress, in a pane beside your agents.

The dashboard: a list of OpenSpec changes beside the open change's specs and tasks

What you get

  • Every change at a glance. Active and archived changes sit in two foldable sections, each row with its task count, and an open change's header adds a progress gauge. / filters by name.
  • Artifacts as tabs. Open a change to read its proposal, specs, design, and tasks, one tab each, in the order your schema declares them. Markdown renders with its headings, lists, tables, code blocks, and quotes, and a long artifact folds into sections you open one at a time.
  • Tasks as a checklist. The tasks tab shows a progress bar, then each group's items with their check state. Groups that still hold unfinished work start open.
  • Live updates. When you or an agent in another pane edits openspec/, the dashboard updates within moments, with no key to press.
  • Linked worktrees included. Changes being worked on in other linked git worktrees of the same repository appear too, marked @, with the owning branch in the change's header.
  • Keyboard or mouse. Scroll under the pointer, click a row to select it and again to open it, click a section header to fold it, click a tab to switch.
  • Read-only, always. The dashboard never writes to openspec/, or anywhere else.
  • The CLI is optional. With the openspec CLI installed, the dashboard asks it about schemas, artifacts, and progress. Without it, or when it rejects the repository's schema, the dashboard reads openspec/ directly, and with no CLI at all its header shows file mode.

Requirements

  • Herdr 0.7.5 or later, on macOS or Linux.
  • A Rust toolchain, for now: Herdr compiles the plugin when it installs it. Prebuilt release binaries are planned.
  • Optionally, the OpenSpec CLI (@fission-ai/openspec). The dashboard finds it on PATH, through nvm, or under Homebrew's prefix, and works without it.

Install

herdr plugin install optioni/herdr-openspec

Herdr clones the repository and compiles it in place.

Quick start

  1. Open a Herdr workspace in a repository that has an openspec/ directory. Any subdirectory of it works too.
  2. From Herdr's action menu, choose OpenSpec: dashboard to open the dashboard split from the current pane, or OpenSpec: dashboard (tab) to open it in a new tab. Choosing either again focuses the dashboard you already have rather than opening a second one.
  3. Move with j/k, open a change with Enter, switch tabs with 1–9, fold with Space, and press ? for every key. q quits.

The same pane can also be opened directly:

herdr plugin pane open --plugin herdr-openspec --entrypoint dashboard

Dashboards come back after a Herdr restart: an idle shell labelled OpenSpec is treated as a dead dashboard and replaced.

If the action-menu entries are missing from a plugin you installed or linked earlier, relink it (herdr plugin link ., or reinstall) or restart the Herdr server. Herdr re-reads a plugin's manifest only then.

Keys

Key Action
j / k, arrows Move the selection in the list, or scroll the open change a line at a time. Stops at either end rather than wrapping.
Enter Open the selected change
Esc Step back one layer: leave filter mode, then clear a leftover filter, then close the open change. Does nothing at the list itself.
1–9, [, ] Switch artifact tab, from the list or an open change. [ and ] step to the previous and next tab; 0 does nothing
/ Filter changes by name
Backspace While filtering, delete the last character. Does nothing otherwise
Space Fold or unfold the section under the cursor: a list section in the list, an artifact section in an open change
r Refresh now: re-read every change from disk and ask the CLI again
? Show or hide every key and mouse gesture the pane understands
q Quit
Ctrl-C Quit

While filtering, every printable key types into the filter, including q, r, j, k, and the digits. Backspace deletes, Enter keeps the filter, Esc cancels it, and the arrows still move. Ctrl-C always quits.

Only q and Ctrl-C close the pane. Esc never does.

Configuration

Optional, in config.toml inside the directory this prints:

herdr plugin config-dir herdr-openspec

Outside a Herdr-started process, for local testing, the plugin falls back to $HOME/.config/herdr/plugins/config/herdr-openspec.

Key Default Meaning
openspec_bin auto-detected Path to the openspec binary
archived_count 5 Accepted and parsed, but has no effect. The archived section folds instead: Space toggles it, and an open one shows the whole archive. The key is kept so that no existing config.toml becomes invalid, and a malformed value is still reported

Built with OpenSpec

This plugin was built spec-first with OpenSpec itself, on a test-driven schema: every feature began as a change proposal with specs, a design, and a task list, and was archived once implemented and verified. The living specs are in openspec/specs/, and every change the plugin went through is in openspec/changes/archive/. SPEC.md is the design contract and PRD.md the product requirements.

Development

Requires Rust — Cargo.toml's rust-version = "1.88" is the supported floor — python3, which the hygiene-gate tier's own scripts and the coverage gate's production-floor script invoke, and git, for make check's own test suite (worktree-overlay's scratch repositories), plus two one-time components:

rustup component add clippy
cargo install cargo-llvm-cov

Link the working tree into Herdr instead of installing from GitHub:

herdr plugin link .

plugin link does not build the crate; only a GitHub-managed plugin install does. Build the release binary yourself before opening the pane:

make build

Run every quality gate — format, lint, the hygiene-gate tier, the structural covers check, tests, and the 80% coverage floor:

make check

Licence

MIT

About

A read-only OpenSpec dashboard for Herdr: changes, artifacts, and task progress in a pane beside your agents.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages