Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
318 changes: 318 additions & 0 deletions .genie/wishes/hermes-khaw-native-surface/WISH.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ Both files use the identical `mcpServers` shape and are merged idempotently: re-

**Honest limitation — genie does not push into your tabs.** Warp exposes no external tab-push API, so genie cannot inject state into a pane. The flow is pull, not push: the pane's agent *asks* genie over MCP (`genie_worktree_context`, `genie_board`, …) when it wants to know the board state. `genie launch` still seeds each pane with a kickoff prompt at open time, but ongoing awareness is the agent querying the MCP server, not genie writing into the tab.

## Hermes-native surface

Genie also ships a Hermes-native plugin under `plugins/hermes-genie/` — seven read-only tools (doctor, board, wish/task queries, `launch --dry-run` plans), `/genie` slash commands, advisory hooks, and workflow skills, all wrapping the genie CLI through an argv-only subprocess bridge that marks every payload `mutation: "none"`. The boundary is deliberate: Hermes is the chat/reasoning cockpit; Genie remains the execution system and the source of task truth. Install and smoke-test instructions: [`plugins/hermes-genie/README.md`](plugins/hermes-genie/README.md).

## Roadmap

No dates — direction, not promises:
Expand Down
4 changes: 4 additions & 0 deletions plugins/genie/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@ Smoke-test the core commands:
- `/wish`
- `/work`
- `/review`

## Sibling surface: Hermes

This Claude Code plugin and the Hermes-native plugin ([`plugins/hermes-genie/`](../hermes-genie/README.md)) are sibling surfaces of the same Genie substrate. This one carries the workflow skills into Claude Code; the Hermes plugin exposes read-only Genie state (status, board, wish/task queries, dry-run plans) inside Hermes sessions — Hermes acts as the chat/reasoning cockpit while Genie remains the execution system and source of task truth.
1 change: 1 addition & 0 deletions plugins/hermes-genie/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__pycache__/
67 changes: 67 additions & 0 deletions plugins/hermes-genie/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Genie Hermes Plugin

The Hermes-native surface for Genie orchestration: seven read-only tools, `/genie` slash commands, advisory hooks, a `hermes genie` CLI tree, and workflow skills — all wrapping the genie v5 CLI through an argv-only subprocess bridge. Every payload reports `mutation: "none"`.

## Install

`HERMES_HOME` defaults to `$HOME/.hermes` everywhere below.

```bash
# default: symlink $HERMES_HOME/plugins/genie -> this checkout (edits are live)
plugins/hermes-genie/scripts/install-local.sh

# manual equivalent (from the repo root)
mkdir -p "${HERMES_HOME:-$HOME/.hermes}/plugins" && ln -sfn "$(pwd)/plugins/hermes-genie" "${HERMES_HOME:-$HOME/.hermes}/plugins/genie"

# detached, release-style copy instead of a symlink
plugins/hermes-genie/scripts/install-local.sh --copy
```

## Smoke Test

```bash
plugins/hermes-genie/scripts/smoke.sh
```

Or by hand:

```bash
hermes plugins list | grep -i genie # authoritative: the plugin is visible to Hermes
hermes chat -q '/genie help' # command surface (chat visibility may vary by Hermes build)
```

Then, inside a Hermes session:

```text
/genie status
/genie board
/genie help
```

## Tools

All seven tools are read-only — every payload carries `mutation: "none"`.

| Tool | What it does | Mutation |
|------|--------------|----------|
| `genie_status` | Genie installation health (`genie doctor --json`) plus a `.genie/` presence check | none |
| `genie_board` | Planning board (`genie board --json`), optionally scoped to one wish | none |
| `genie_wish_status` | Composite wish status: board slice plus task list for one slug | none |
| `genie_task_list` | Task list with optional wish and status filters | none |
| `genie_task_status` | One task's detail, dependencies, and stage log (raw capture) | none |
| `genie_work_plan` | Execution-plan preview via `genie launch <slug> --dry-run` | none |
| `genie_review_plan` | Board/tasks plus Success and QA Criteria extracted from the wish's WISH.md | none |

The full layer map (slash commands, CLI tree, hooks, skills), payload contract, and grounded tool-to-CLI mapping live in [`references/native-surface.md`](references/native-surface.md).

## Boundary

Hermes is the chat/reasoning cockpit; Genie remains the execution system and source of task truth.

This MVP performs no state writes: no task claims, no dispatch, no sends, no `.genie/` mutation. Mutation-capable operations (`genie_task_checkout`, `genie_task_done`, executing `genie launch`, spawn/send) are deferred and gated behind explicit human approval — see [`references/mutation-gates.md`](references/mutation-gates.md).

## Development

```bash
uv run --with pytest --with pyyaml --no-project python -m pytest plugins/hermes-genie/tests -q
```
Loading