@codeenginestudio/harness-creator 1.0.4 → 1.0.6

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/README.md CHANGED
@@ -69,7 +69,7 @@ flowchart TD
69
69
  P4["Phase 4\nHarness Files\nCLAUDE.md · feature_list.json\nprogress.md · init.sh"]
70
70
  P5["Phase 5\nWorkflows ✦\nPropose 4 dynamic-workflow\nenforcement scripts"]
71
71
  P6["Phase 6\nHooks ✦\nlefthook + Claude Code hooks\n3-tier enforcement wired"]
72
- P7["Phase 7\nRules ○\n42 curated templates\n+ scan-generated + interview"]
72
+ P7["Phase 7\nRules ○\n24 curated templates\n+ scan-generated + interview"]
73
73
  P8["Phase 8\nSkills ○\nStack-matched templates\n+ custom workflow interview"]
74
74
 
75
75
  P1 --> P2 --> P3 --> P4 --> P5 --> P6 --> P7 --> P8
@@ -90,7 +90,7 @@ flowchart TD
90
90
  | 4 — Harness Files | `CLAUDE.md` · `feature_list.json` · `progress.md` · `session-handoff.md` · `init.sh` |
91
91
  | 5 — Workflows | `.claude/workflows/*.js` — adapted from 4 generic templates |
92
92
  | 6 — Hooks | `lefthook.yml` · `.claude/settings.json` · `.claude/hooks/*.sh` |
93
- | 7 — Rules | `.claude/rules/*.md` — 42-template library, propose-and-select |
93
+ | 7 — Rules | `.claude/rules/*.md` — 24-template library, propose-and-select |
94
94
  | 8 — Skills | `.claude/skills/*/SKILL.md` — per-stack templates, tailored to real conventions |
95
95
 
96
96
  ---
@@ -133,21 +133,19 @@ Workflows are **templates, not verbatim scripts**. At generation time, Claude ad
133
133
 
134
134
  ---
135
135
 
136
- ## Rules Library (42 templates)
136
+ ## Rules Library (24 templates)
137
137
 
138
138
  Six rules are enabled by default; the rest are proposed-and-selected:
139
139
 
140
140
  | Category | Templates (count) | Default-on |
141
141
  | ---------------- | ----------------- | ---------------------------------------- |
142
- | Git & Commits | 5 | `semantic-commits`, `no-agent-coauthor` |
143
- | Agent Behavior | 5 | `verify-before-done`, `surgical-changes` |
144
- | Security | 4 | `no-secrets-in-code` |
145
- | Documentation | 3 | `adr-for-decisions` |
146
- | Code Quality | 5 | — |
147
- | Testing | 4 | |
142
+ | Agent Behavior | 6 | `verify-before-done`, `surgical-changes` |
143
+ | Git & Commits | 4 | `semantic-commits`, `no-agent-coauthor` |
144
+ | Harness Design | 4 | |
145
+ | Security | 3 | `no-secrets-in-code` |
146
+ | Testing | 3 | — |
147
+ | Documentation | 2 | `adr-for-decisions` |
148
148
  | PR Workflow | 2 | — |
149
- | Harness Design | 5 | — |
150
- | Memory & Context | 9 | — |
151
149
 
152
150
  > `no-agent-coauthor` encodes the CES preference: humans own the commit record; no AI co-author trailers.
153
151
 
@@ -162,7 +160,7 @@ flowchart TB
162
160
  SK["skills/\nOrchestrator SKILL.md\n+ 7 sub-skills"]
163
161
  SC["scripts/\nNode.js ES modules\n(no npm deps)"]
164
162
  TM["templates/\nhooks/ · adr/ · c4/\nclaude.md · feature-list"]
165
- RL["rules-library/\n42 × .md templates\n9 categories"]
163
+ RL["rules-library/\n24 × .md templates\n7 categories"]
166
164
  SL["skills-library/\n5 × stack skill templates"]
167
165
  WL["workflows-library/\n4 × .js workflow templates"]
168
166
  end
@@ -277,6 +275,16 @@ Every generated harness propagates these principles into the target project:
277
275
 
278
276
  ---
279
277
 
278
+ ## Evaluation
279
+
280
+ This plugin's own output quality is measured by a standalone [PromptFoo](https://promptfoo.dev) eval suite in [`evals/`](evals/README.md) — a deterministic script route (real generators run in a tmp dir, file/stdout assertions) and a skill route (SKILL.md guidance judged by `llm-rubric`).
281
+
282
+ ```bash
283
+ cd evals && npm install
284
+ npm run eval:scripts # deterministic, no API key — CI-safe
285
+ npm run eval:skill # needs ANTHROPIC_API_KEY (skips cleanly without)
286
+ ```
287
+
280
288
  ## References
281
289
 
282
290
  - [Learn Harness Engineering](https://github.com/walkinglabs/learn-harness-engineering) — 12-lecture course; original `harness-creator`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeenginestudio/harness-creator",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "CES Harness Creator — install wizard",
@@ -49,6 +49,10 @@ async function main() {
49
49
  const scope = await promptScope();
50
50
  await ensureSuperpowers();
51
51
  await installPlugin(scope);
52
+ p.note(
53
+ `claude plugin add harness-creator@ces --scope ${scope}`,
54
+ 'Enable the plugin'
55
+ );
52
56
  p.outro('Done. Open Claude Code and run /ces-harness-creator');
53
57
  }
54
58