sequant 2.8.0 → 2.9.0
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 +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +9 -1
- package/dist/bin/cli.js +2 -1
- package/dist/marketplace/external_plugins/sequant/.claude-plugin/plugin.json +1 -1
- package/dist/marketplace/external_plugins/sequant/README.md +2 -0
- package/dist/marketplace/external_plugins/sequant/hooks/post-tool.sh +18 -3
- package/dist/marketplace/external_plugins/sequant/hooks/pre-tool.sh +330 -57
- package/dist/marketplace/external_plugins/sequant/skills/assess/SKILL.md +96 -15
- package/dist/marketplace/external_plugins/sequant/skills/assess/references/predicted-collision-detection.md +9 -6
- package/dist/marketplace/external_plugins/sequant/skills/fullsolve/SKILL.md +1 -1
- package/dist/marketplace/external_plugins/sequant/skills/reflect/SKILL.md +27 -13
- package/dist/marketplace/external_plugins/sequant/skills/reflect/references/documentation-tiers.md +80 -68
- package/dist/marketplace/external_plugins/sequant/skills/reflect/references/phase-reflection.md +31 -15
- package/dist/marketplace/external_plugins/sequant/skills/release/SKILL.md +10 -2
- package/dist/marketplace/external_plugins/sequant/skills/spec/references/verification-criteria.md +1 -1
- package/dist/src/commands/logs.js +6 -1
- package/dist/src/commands/run-display.d.ts +20 -0
- package/dist/src/commands/run-display.js +80 -1
- package/dist/src/commands/stats.js +47 -0
- package/dist/src/lib/assess-collision-detect.d.ts +19 -2
- package/dist/src/lib/assess-collision-detect.js +68 -4
- package/dist/src/lib/cli-ui/run-renderer.js +17 -9
- package/dist/src/lib/errors.d.ts +6 -0
- package/dist/src/lib/errors.js +9 -2
- package/dist/src/lib/manifest.js +1 -17
- package/dist/src/lib/version-check.js +1 -5
- package/dist/src/lib/workflow/batch-executor.d.ts +13 -0
- package/dist/src/lib/workflow/batch-executor.js +81 -18
- package/dist/src/lib/workflow/chain-preflight.d.ts +89 -0
- package/dist/src/lib/workflow/chain-preflight.js +199 -0
- package/dist/src/lib/workflow/chain-resume.d.ts +116 -0
- package/dist/src/lib/workflow/chain-resume.js +166 -0
- package/dist/src/lib/workflow/dependency-markers.d.ts +29 -0
- package/dist/src/lib/workflow/dependency-markers.js +79 -0
- package/dist/src/lib/workflow/drivers/claude-code.d.ts +7 -0
- package/dist/src/lib/workflow/drivers/claude-code.js +30 -6
- package/dist/src/lib/workflow/error-classifier.d.ts +9 -2
- package/dist/src/lib/workflow/error-classifier.js +14 -1
- package/dist/src/lib/workflow/log-writer.js +6 -8
- package/dist/src/lib/workflow/metrics-schema.d.ts +39 -0
- package/dist/src/lib/workflow/metrics-schema.js +16 -0
- package/dist/src/lib/workflow/metrics-writer.d.ts +2 -1
- package/dist/src/lib/workflow/phase-executor.d.ts +32 -0
- package/dist/src/lib/workflow/phase-executor.js +77 -5
- package/dist/src/lib/workflow/run-log-schema.d.ts +23 -0
- package/dist/src/lib/workflow/run-log-schema.js +45 -1
- package/dist/src/lib/workflow/run-orchestrator.d.ts +14 -0
- package/dist/src/lib/workflow/run-orchestrator.js +291 -30
- package/dist/src/lib/workflow/status-derivation.d.ts +30 -0
- package/dist/src/lib/workflow/status-derivation.js +27 -0
- package/dist/src/lib/workflow/types.d.ts +23 -0
- package/dist/src/lib/workflow/worktree-manager.d.ts +43 -1
- package/dist/src/lib/workflow/worktree-manager.js +103 -33
- package/dist/src/mcp/tools/run.d.ts +2 -0
- package/dist/src/mcp/tools/run.js +2 -0
- package/package.json +2 -4
- package/templates/hooks/post-tool.sh +18 -3
- package/templates/hooks/pre-tool.sh +330 -57
- package/templates/scripts/cleanup-worktree.sh +103 -14
- package/templates/skills/assess/SKILL.md +96 -15
- package/templates/skills/assess/references/predicted-collision-detection.md +9 -6
- package/templates/skills/fullsolve/SKILL.md +1 -1
- package/templates/skills/reflect/SKILL.md +27 -13
- package/templates/skills/reflect/references/documentation-tiers.md +80 -68
- package/templates/skills/reflect/references/phase-reflection.md +31 -15
- package/templates/skills/release/SKILL.md +10 -2
- package/templates/skills/spec/references/verification-criteria.md +1 -1
|
@@ -70,26 +70,42 @@ Focus on QA/review effectiveness after `/qa`:
|
|
|
70
70
|
|
|
71
71
|
## Good Reflection Examples
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
Note what these have in common: each names a **specific file and a specific
|
|
74
|
+
wrong line**, and each was *verified* before being proposed. A reflection that
|
|
75
|
+
proposes fixing something you have not opened is a guess.
|
|
74
76
|
|
|
75
|
-
|
|
77
|
+
### Correcting a stale memory
|
|
78
|
+
|
|
79
|
+
> **Friction Point:** Followed a memory that prescribed `echo y | cleanup-worktree.sh`; the script had since grown a real `--yes` flag and a merge gate (#750).
|
|
76
80
|
>
|
|
77
|
-
> **Root Cause:**
|
|
81
|
+
> **Root Cause:** Memory entries citing script flags rot silently when the script ships a change. The entry read as authoritative and was 67 days old.
|
|
78
82
|
>
|
|
79
83
|
> **Proposal:**
|
|
80
|
-
> - **Type:**
|
|
81
|
-
> - **Target:**
|
|
82
|
-
> - **Content:**
|
|
83
|
-
> - **Priority:**
|
|
84
|
-
> - **Risk:** Low (
|
|
84
|
+
> - **Type:** Update
|
|
85
|
+
> - **Target:** `feedback_cleanup_worktree_after_gh_merge`
|
|
86
|
+
> - **Content:** Replace the `echo y |` workaround with the shipped flags; add the `--delete-branch`-fails-when-a-worktree-holds-the-branch trap.
|
|
87
|
+
> - **Priority:** High (a wrong memory is worse than a missing one — it gets trusted)
|
|
88
|
+
> - **Risk:** Low (verified against the script's `--help` first)
|
|
89
|
+
|
|
90
|
+
### Retiring guidance that a skill already implements
|
|
91
|
+
|
|
92
|
+
> **Friction Point:** Was about to propose adding a diff-size threshold to `/qa` so small diffs skip sub-agents.
|
|
93
|
+
>
|
|
94
|
+
> **Root Cause:** The proposal was based on the skill text actually executed, which came from a **stale plugin cache** (1.20.3) rather than the repo (2.8.0). The repo's `/qa` already has the size gate. Invoking `sequant:qa` resolves to the installed plugin; bare `qa` resolves to `.claude/skills/`.
|
|
95
|
+
>
|
|
96
|
+
> **Proposal:**
|
|
97
|
+
> - **Type:** Withdraw + document the routing trap
|
|
98
|
+
> - **Target:** the proposal itself; memory entry for the skew
|
|
99
|
+
> - **Priority:** High (the finding was an artifact, and acting on it would have duplicated shipped work)
|
|
100
|
+
> - **Risk:** None — verification *removed* work rather than adding it
|
|
85
101
|
|
|
86
|
-
###
|
|
102
|
+
### Pruning content inherited from another project
|
|
87
103
|
|
|
88
|
-
> **Bloat:** CLAUDE.md
|
|
104
|
+
> **Bloat:** `references/documentation-tiers.md` prescribed a 700–800 line CLAUDE.md target and named `ARCHITECTURE.md`, `DATA_PIPELINE.md`, `ADMIN_CMS_ARCHITECTURE.md` as "current docs". None exist here; CLAUDE.md is 13 lines by design. Its "**Expand:** <600 lines" rule would have demanded ~590 lines of invented content.
|
|
89
105
|
>
|
|
90
106
|
> **Proposal:**
|
|
91
|
-
> - **Type:**
|
|
92
|
-
> - **Target:**
|
|
93
|
-
> - **Action:**
|
|
94
|
-
> - **Priority:**
|
|
95
|
-
> - **Risk:** Low (
|
|
107
|
+
> - **Type:** Restructure
|
|
108
|
+
> - **Target:** `references/documentation-tiers.md` (×3 skill dirs)
|
|
109
|
+
> - **Action:** Rewrite around this repo's real tiers (CLAUDE.md index → auto-memory → `docs/` → skills → code comments); drop all line targets.
|
|
110
|
+
> - **Priority:** Medium
|
|
111
|
+
> - **Risk:** Low (verified every named doc was absent before rewriting)
|
|
@@ -512,8 +512,11 @@ Release v{version} Complete
|
|
|
512
512
|
npx sequant@{new}
|
|
513
513
|
|
|
514
514
|
Install (plugin):
|
|
515
|
-
/plugin marketplace update sequant-io/sequant
|
|
516
|
-
/plugin install sequant
|
|
515
|
+
/plugin marketplace update sequant-io/sequant # refreshes the marketplace LISTING only
|
|
516
|
+
/plugin install sequant # new installs
|
|
517
|
+
|
|
518
|
+
Update an existing plugin install:
|
|
519
|
+
claude plugin update sequant@sequant # then restart Claude Code
|
|
517
520
|
|
|
518
521
|
Verification:
|
|
519
522
|
[x] npm view shows correct version
|
|
@@ -527,6 +530,11 @@ Next steps:
|
|
|
527
530
|
- Announce release (if major/minor)
|
|
528
531
|
- Update dependent projects
|
|
529
532
|
- Monitor for issues
|
|
533
|
+
- Installed plugins do NOT pick up this release automatically: Claude Code
|
|
534
|
+
pins each install at its installed version, and `/plugin marketplace
|
|
535
|
+
update` refreshes only the marketplace listing. Each existing install
|
|
536
|
+
updates only via `claude plugin update sequant@sequant` + restart
|
|
537
|
+
(the pre-tool hook nags stale installs once a day — #784)
|
|
530
538
|
```
|
|
531
539
|
|
|
532
540
|
## Dry Run Mode
|
|
@@ -43,7 +43,7 @@ AC-1: Timing logs capture start/end of each tool call
|
|
|
43
43
|
**Test Scenario:**
|
|
44
44
|
- Given: Claude Code session with hooks enabled
|
|
45
45
|
- When: Any tool is invoked (e.g., Edit, Read)
|
|
46
|
-
- Then:
|
|
46
|
+
- Then: claude-timing.log contains START (from pre-tool.sh) and END (from post-tool.sh) with tool name and timestamp, both in the SAME file — /logs/ for plugin users, else /.sequant/logs/
|
|
47
47
|
|
|
48
48
|
**Integration Points:**
|
|
49
49
|
- Claude Code hook system (stdin JSON input)
|