specweave 3.1.10 → 3.1.12
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.
- package/.claude-plugin/marketplace.json +2 -2
- package/README.md +1 -1
- package/dist/dashboard/assets/{index-VnHjeVmH.js → index-DjwOIk2X.js} +2 -2
- package/dist/dashboard/index.html +1 -1
- package/package.json +2 -2
- package/plugins/specweave/.claude-plugin/plugin.json +1 -1
- package/src/templates/AGENTS.md.template +5 -4
- package/src/templates/CLAUDE.md.template +1 -0
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>SpecWeave Dashboard</title>
|
|
7
7
|
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Ctitle%3ESpecWithCode%3C/title%3E%3Crect width='64' height='64' rx='14.4' fill='%235B6CFF'/%3E%3Csvg x='12.8' y='12.8' width='38.4' height='38.4' viewBox='10 10 80 80'%3E%3Cpath fill='%23FFFFFF' d='M29 10H60L78 28V83Q78 90 71 90H29Q22 90 22 83V17Q22 10 29 10Z'/%3E%3Cpath fill='%23AAACB2' d='M60 10V24Q60 28 64 28H78Z'/%3E%3Cpath fill='%230B1020' d='M38.703 41.051L50.703 52.051A4 4 0 0 1 50.703 57.949L38.703 68.949A4 4 0 0 1 33.297 63.051L42.080 55L33.297 46.949A4 4 0 0 1 38.703 41.051ZM54 62H64A4 4 0 0 1 64 70H54A4 4 0 0 1 54 62Z'/%3E%3C/svg%3E%3C/svg%3E" />
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-DjwOIk2X.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-B4Xv671Q.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body class="antialiased">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "specweave",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.12",
|
|
4
4
|
"description": "Keep intent, specifications, and verified progress portable across AI coding tools. A local live work board, append-only task evidence, explicit handoffs, and optional GitHub/Jira/Azure DevOps integrations.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"src/styles/fonts/*-OFL.txt"
|
|
104
104
|
],
|
|
105
105
|
"dependencies": {
|
|
106
|
-
"@anthropic-ai/sdk": "^0.
|
|
106
|
+
"@anthropic-ai/sdk": "^0.135.0",
|
|
107
107
|
"@inquirer/prompts": "^8.1.0",
|
|
108
108
|
"@octokit/rest": "^22.0.1",
|
|
109
109
|
"@types/handlebars": "^4.0.40",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sw",
|
|
3
3
|
"description": "Portable intent and verified progress across coding tools. Six core workflow skills plus opt-in grill-me, glossary, sync, project and jev, two default lifecycle hooks, and a deterministic CLI and live local dashboard.",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.12",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SpecWeave Team",
|
|
7
7
|
"url": "https://spec-weave.com"
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
<!-- SECTION:header required -->
|
|
2
2
|
# {PROJECT_NAME}
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
SpecWeave increments live in `.specweave/increments/NNNN-slug/spec.md`: Problem, Scope, Acceptance Criteria, Approach and Tasks. `ledger.jsonl` records claims and completions. Start with `specweave pickup`.
|
|
5
5
|
<!-- /SECTION -->
|
|
6
6
|
|
|
7
7
|
<!-- SECTION:loop required -->
|
|
8
8
|
## The loop
|
|
9
9
|
|
|
10
10
|
1. `specweave pickup`: applies the latest handoff, prints the open increment, next task and ACs, claims, branch, notes and memory.
|
|
11
|
-
2. New work needing ACs or handoff: `specweave create-increment "title"`, then fill spec.md.
|
|
11
|
+
2. New work needing ACs or handoff: `specweave create-increment "title"`, then fill spec.md. Ask only critical decisions, one at a time with a recommendation, and record them under `## Decisions` (sw-increment). If an open increment owns the files, add ACs and tasks there. Recommended for features, not required; to skip one run `specweave small-fix "<why>"`. Close what you open: its plan ends with "Verify and close NNNN".
|
|
12
12
|
3. `specweave task claim T-NN`, edit only that task's Files, commit as `NNNN: what changed`, then `specweave task done T-NN --run "<its Test>"`. `--line`/`--link` feed `specweave cards --md`.
|
|
13
13
|
4. When the last task is done or skipped, without asking: `specweave verify`, a fresh-context review (subagent or new session) for anything that ships, `specweave complete NNNN`. PR-shipped work needs `task done` first.
|
|
14
14
|
5. Stopping with tasks left, or switching tools: `specweave handoff --reason "<why>"`.
|
|
15
15
|
|
|
16
16
|
**Handoff.** When the user says "hand off", "out of tokens" or "switching accounts", or "[Usage limit reached" appears (outside SpecWithCode), run `specweave handoff --reason "<why>"`; tell them to say "pick up" in the other tool. "[Usage limit approaching" or usage heads-ups mean keep working; say so. When the user says "pick up", run `specweave pickup`; continue through step 4, passing any given id/title. Take the newest handoff if several; say which.
|
|
17
17
|
|
|
18
|
-
Tasks in spec.md: `### T-01 Title`, then `- AC: AC-01 | Files: src/a.ts, tests/e2e/a.test.ts | Test: npm test -- e2e/a`.
|
|
18
|
+
Tasks in spec.md: `### T-01 Title`, then `- AC: AC-01 | Files: src/a.ts, tests/e2e/a.test.ts | Test: npm test -- e2e/a`. ACs derive from done tasks. Notes: `specweave note "<text>"`. Skills: `.agents/skills/sw-*` and `.claude/skills/sw-*`; other tools: `npx vskill install anton-abyzov/specweave/sw-do`.
|
|
19
19
|
<!-- /SECTION -->
|
|
20
20
|
|
|
21
21
|
<!-- SECTION:rules required -->
|
|
@@ -24,8 +24,9 @@ Tasks in spec.md: `### T-01 Title`, then `- AC: AC-01 | Files: src/a.ts, tests/e
|
|
|
24
24
|
- Use headless Chrome/Playwright CLI for browser tests and automation: `headless: true`, `PWDEBUG=0`, `PLAYWRIGHT_HTML_OPEN=never`, HTML reports `open: 'never'`. Save captures to files; propagate to subagents. Before opening an essential visible browser, ask the user and wait for explicit approval. Headless failure is not approval.
|
|
25
25
|
- A task is done when its Test exits 0 and you have seen the real output. A Test checks the AC as users would (CLI, HTTP, UI, API); add unit tests only when asked or when config or conventions require them. Never skip, weaken or delete a test to pass, and never set a status by hand.
|
|
26
26
|
- One agent per branch/worktree: `git worktree add .worktrees/NNNN-<agent> -b inc/NNNN-<agent>` (never `../`). Claims older than 2h are stale. On `ledger.jsonl` conflicts keep both sides' lines.
|
|
27
|
-
-
|
|
27
|
+
- Commit durable decisions in spec.md Approach or one fact per file in `.specweave/memory/`, indexed in `MEMORY.md`, for all tools.
|
|
28
28
|
- Check a secret exists without printing it; never commit `.env*`.
|
|
29
|
+
- Honor project identity and licensing. Keep provenance and required notices; never infer license grants or history rewrites from branding changes.
|
|
29
30
|
- Without the CLI, append ledger lines yourself, one JSON object per line, UTF-8, LF: `{"t":"T-01","e":"claim","by":"<tool>@<host>","at":"<ISO time>"}` (`e` is claim, done, release, skip or block; `done` needs `"evidence":"<commit sha>"`, `skip` needs `"note":"<why>"`).
|
|
30
31
|
<!-- /SECTION -->
|
|
31
32
|
|
|
@@ -8,6 +8,7 @@ Everything shared by every tool is in AGENTS.md, imported above. Only Claude-spe
|
|
|
8
8
|
- Skills: `/sw-increment "title"`, `/sw-do`, `/sw-auto`, `/sw-review`, `/sw-done`, `/sw-handoff`, from `.claude/skills/`, so they load in cloud sessions too. With the `sw` plugin they are also `/sw:do` and so on.
|
|
9
9
|
- With the plugin, the SessionStart hook prints a short pickup; run `specweave pickup` for the next task's acceptance criteria.
|
|
10
10
|
- Use plan mode before writing a spec for anything bigger than a small fix.
|
|
11
|
+
- Follow AGENTS.md for product identity and licensing; preserve required third-party notices and accurate provenance.
|
|
11
12
|
<!-- /SECTION -->
|
|
12
13
|
|
|
13
14
|
<!-- SECTION:jev when="jev" -->
|