@metaharness/legal 0.1.0 → 0.1.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.
- package/README.md +34 -0
- package/package.json +8 -6
package/README.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# MetaHarness: legal vertical
|
|
2
2
|
|
|
3
|
+
<!-- ruv-seo:start (ADR-356) -->
|
|
4
|
+
MetaHarness example — contract redline, citation check, and risk rating drafts for Claude Code.
|
|
5
|
+
|
|
6
|
+
**Supported environments:** Node.js 20+ on Linux, macOS and Windows. The scaffold runs `npx metaharness@latest`, so the first run needs network access. This is the `@metaharness/legal` path from [`metaharness`](https://www.npmjs.com/package/metaharness): the same scaffold as `npx metaharness new my-bot`, plus this example's files.
|
|
7
|
+
|
|
8
|
+
## Quickstart
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npx @metaharness/legal my-bot
|
|
12
|
+
npx -y -p metaharness harness doctor my-bot | tail -1
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Expected output (npm notices removed, temp path shortened to `./`):
|
|
16
|
+
|
|
17
|
+
```text
|
|
18
|
+
Scaffolded my-bot into ./my-bot
|
|
19
|
+
Files: 23
|
|
20
|
+
Manifest: ./my-bot/.harness/manifest.json
|
|
21
|
+
|
|
22
|
+
Next steps:
|
|
23
|
+
cd my-bot && npm install
|
|
24
|
+
harness doctor # verify Claude Code + MCP wiring, then drop contracts into inputs/
|
|
25
|
+
Result: HEALTHY (./my-bot)
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
**Next:** [`@metaharness/darwin`](https://www.npmjs.com/package/@metaharness/darwin) — evolve the scaffolded harness against its own tests instead of hand-tuning it.
|
|
29
|
+
<!-- ruv-seo:end -->
|
|
30
|
+
|
|
31
|
+
## Reference
|
|
32
|
+
|
|
33
|
+
> ⚠️ **Illustrative output.** Transcripts and validation/run output shown in this README are
|
|
34
|
+
> representative examples, not captured from a specific run — actual output depends on your
|
|
35
|
+
> environment, models, and inputs. Run the commands to see real results.
|
|
36
|
+
|
|
3
37
|
A ready-made Claude Code harness for drafting contract redlines, sanity-checking citations, and producing first-pass risk ratings. Scaffolds a multi-agent setup wired for legal review workflows: an intake agent that reads the document, a redline drafter, a citation/authority checker, and a risk rater that classifies clauses by severity. Aimed at legal-ops teams, in-house counsel, and lawtech builders who want a working starting point instead of a blank repo. This is a drafting aid — it does not give legal advice, does not replace attorney review, and every output is meant to be checked by a qualified human before it leaves your office.
|
|
4
38
|
|
|
5
39
|
## Quickstart
|
package/package.json
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metaharness/legal",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "MetaHarness example — contract redline, citation check, and risk rating drafts for Claude Code (npx @metaharness/legal my-bot)",
|
|
5
|
-
"homepage": "https://
|
|
5
|
+
"homepage": "https://ruv.io",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/ruvnet/
|
|
8
|
+
"url": "https://github.com/ruvnet/metaharness.git",
|
|
9
9
|
"directory": "examples-packages/legal"
|
|
10
10
|
},
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/ruvnet/metaharness/issues"
|
|
13
|
+
},
|
|
11
14
|
"license": "MIT",
|
|
12
15
|
"author": "rUv <ruv@ruv.net>",
|
|
13
16
|
"type": "module",
|
|
@@ -23,14 +26,13 @@
|
|
|
23
26
|
"keywords": [
|
|
24
27
|
"metaharness",
|
|
25
28
|
"agent-harness",
|
|
26
|
-
"agent-harness-generator",
|
|
27
29
|
"legal",
|
|
28
|
-
"vertical",
|
|
29
30
|
"claude-code",
|
|
30
31
|
"ai-agent",
|
|
31
32
|
"mcp",
|
|
32
33
|
"npx",
|
|
33
|
-
"scaffold"
|
|
34
|
+
"scaffold",
|
|
35
|
+
"agent-scaffold"
|
|
34
36
|
],
|
|
35
37
|
"publishConfig": {
|
|
36
38
|
"access": "public"
|