jig-plan 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@
8
8
  "name": "jig",
9
9
  "source": "./",
10
10
  "description": "Planning and build harness for coding agents. Sizes the plan to the task, writes executable acceptance checks before code, reviews plans and diffs in a fresh context, and uses hooks to stop test tampering, unvetted installs and unverified 'done' claims.",
11
- "version": "2.0.0",
11
+ "version": "2.0.1",
12
12
  "author": { "name": "Ashwin Sathian", "url": "https://ashwinsathian.com/" },
13
13
  "repository": "https://github.com/AshwinSathian/jig",
14
14
  "license": "MIT",
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
3
3
  "name": "jig",
4
4
  "displayName": "jig",
5
- "version": "2.0.0",
5
+ "version": "2.0.1",
6
6
  "description": "Planning and build harness for coding agents. Sizes the plan to the task, writes executable acceptance checks before code, reviews plans and diffs in a fresh context, and uses hooks to stop test tampering, unvetted installs and unverified 'done' claims.",
7
7
  "author": { "name": "Ashwin Sathian", "url": "https://ashwinsathian.com/" },
8
8
  "repository": "https://github.com/AshwinSathian/jig",
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # jig
2
2
 
3
- [![CI](https://github.com/AshwinSathian/jig/actions/workflows/ci.yml/badge.svg)](https://github.com/AshwinSathian/jig/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/github/license/AshwinSathian/jig)](LICENSE)
3
+ [![CI](https://github.com/AshwinSathian/jig/actions/workflows/ci.yml/badge.svg)](https://github.com/AshwinSathian/jig/actions/workflows/ci.yml) [![npm](https://img.shields.io/npm/v/jig-plan?label=npm%20jig-plan)](https://www.npmjs.com/package/jig-plan) [![Release](https://img.shields.io/github/v/release/AshwinSathian/jig)](https://github.com/AshwinSathian/jig/releases) [![License: MIT](https://img.shields.io/github/license/AshwinSathian/jig)](LICENSE)
4
4
 
5
5
  A planning and build harness for Claude Code. jig plans the work at the size it needs, writes the acceptance checks before the code, and uses hooks to catch the ways agent work usually goes wrong: a test edited until it passes, a package that doesn't exist, edits that wander outside the task, and "done" with nothing run.
6
6
 
@@ -9,6 +9,12 @@ claude plugin marketplace add AshwinSathian/jig
9
9
  claude plugin install jig@jig
10
10
  ```
11
11
 
12
+ Only want the CLI, say for CI or a repo where you don't run Claude Code? It's on npm as `jig-plan`, with no dependencies:
13
+
14
+ ```bash
15
+ npx jig-plan doctor # or: npm install -g jig-plan, then `jig doctor`
16
+ ```
17
+
12
18
  Then work the way you already do, e.g. *"add CSV export to the reports page"*. A one-line fix gets a four-line plan in chat and carries on. A feature gets a short plan you approve, and then it's built one slice at a time, with the evidence written into the plan. Run `jig doctor` in a repo to see what it'd want fixed first.
13
19
 
14
20
  **Contents:** [How it works](#how-it-works) · [What a plan looks like](#what-a-plan-looks-like) · [Hooks](#hooks) · [The CLI](#the-cli) · [Evidence](#evidence) · [Limits](#limits) · [How it compares](#how-it-compares) · [Updating and troubleshooting](#updating-and-troubleshooting)
@@ -186,7 +192,8 @@ jig works alongside [loupe](https://github.com/AshwinSathian/loupe) and [humaniz
186
192
  ## Updating and troubleshooting
187
193
 
188
194
  ```bash
189
- claude plugin marketplace update jig && claude plugin update jig@jig # update
195
+ claude plugin marketplace update jig && claude plugin update jig@jig # update the plugin
196
+ npm install -g jig-plan@latest # update the standalone CLI, if you use it
190
197
  claude plugin details jig # what's installed and its token cost
191
198
  claude plugin uninstall jig@jig # remove
192
199
  ```
@@ -194,6 +201,7 @@ claude plugin uninstall jig@jig # remove
194
201
  - **jig never fires:** check `claude plugin details jig` lists the hooks, and that `JIG_NUDGE` isn't `off`.
195
202
  - **An install keeps asking:** that's the pre-bash hook. Approve it once the package checks out, or set `JIG_HOOKS_OFF=pre-bash`.
196
203
  - **The agent won't finish:** the Stop hook wants `jig verify` evidence. Run `jig verify --fast --record`, or tell it plainly which check can't run, and why.
204
+ - **Two planning workflows at once:** superpowers' skills also trigger on planning requests. In our trigger eval jig fired first on every planning prompt with both installed, but if you'd rather have one, `claude plugin disable superpowers@claude-plugins-official` turns superpowers off.
197
205
  - **A plan fails lint:** `jig lint <path>` prints each rule ID and line. The rules are in [references/plan-format.md](references/plan-format.md).
198
206
 
199
207
  ## Contributing
package/cli/jig.mjs CHANGED
@@ -8,7 +8,7 @@ import { statusSummary, findPlans, activePlans, doingSlice, plansDir } from './l
8
8
  import { verifyPlan } from './lib/verify.mjs';
9
9
  import { repoRoot } from './lib/git.mjs';
10
10
 
11
- const VERSION = '2.0.0';
11
+ const VERSION = '2.0.1';
12
12
  const HELP = `jig ${VERSION}
13
13
 
14
14
  Usage:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jig-plan",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Plan, verify and guard work done by coding agents: short reviewable plans, executable acceptance checks, and hooks that stop false completion claims.",
5
5
  "type": "module",
6
6
  "bin": {