@protoboardai/ext-hardware 0.0.0-stage → 0.2.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/LICENSE +202 -0
- package/NOTICE +13 -0
- package/checks/evidence.ts +63 -0
- package/evals/compose-probe-cable/case.json +160 -0
- package/evals/e2e-desk-rover/case.json +62 -0
- package/evals/e2e-desk-rover/fixture/AGENTS.md +9 -0
- package/evals/e2e-desk-rover/fixture/docs/brief.md +28 -0
- package/evals/e2e-desk-rover/fixture/docs/decisions.md +3 -0
- package/evals/e2e-desk-rover/fixture/package.json +1 -0
- package/evals/e2e-desk-rover/fixture/protoboard.config.ts +12 -0
- package/evals/e2e-desk-rover/fixture/src/.gitkeep +0 -0
- package/evals/e2e-desk-rover/solution/decisions.md +26 -0
- package/evals/e2e-desk-rover/solution/desk-rover.uhd.ts +60 -0
- package/evals/find-reversed-cell-leads/case.json +78 -0
- package/evals/fix-gnss-uart-swap/case.json +32 -0
- package/evals/fix-two-wiring-faults/case.json +97 -0
- package/evals/rough-draft-is-concept/case.json +36 -0
- package/evals/rough-draft-is-concept/fixture/AGENTS.md +9 -0
- package/evals/rough-draft-is-concept/fixture/docs/brief.md +8 -0
- package/evals/rough-draft-is-concept/fixture/docs/decisions.md +3 -0
- package/evals/rough-draft-is-concept/fixture/package.json +1 -0
- package/evals/rough-draft-is-concept/fixture/protoboard.config.ts +11 -0
- package/evals/rough-draft-is-concept/fixture/src/.gitkeep +0 -0
- package/evals/rough-draft-is-concept/solution/trail-light.uhd.ts +40 -0
- package/evals/tidy-the-diagram/case.json +30 -0
- package/evals/tidy-the-diagram/fixture/.protoboard/display.json +20 -0
- package/evals/tidy-the-diagram/fixture/AGENTS.md +9 -0
- package/evals/tidy-the-diagram/fixture/docs/brief.md +5 -0
- package/evals/tidy-the-diagram/fixture/package.json +1 -0
- package/evals/tidy-the-diagram/fixture/protoboard.config.ts +12 -0
- package/evals/tidy-the-diagram/fixture/src/bike-computer.uhd.ts +63 -0
- package/ops/bom.ts +22 -0
- package/package.json +30 -4
- package/protoboard-extension.json +65 -0
- package/skills/build-a-project/SKILL.md +562 -0
- package/skills/harness-author/SKILL.md +232 -0
- package/skills/harness-author/references/stack-up.md +70 -0
- package/skills/harness-author/references/wire-harnesses.md +35 -0
- package/skills/harness-author/scripts/stackup.ts +104 -0
- package/skills/harness-verify/SKILL.md +112 -0
- package/skills/system-compose/SKILL.md +269 -0
- package/skills/system-compose/references/diagnostic-codes.md +292 -0
- package/skills/system-compose/scripts/scenarios.ts +82 -0
- package/skills/system-review/SKILL.md +145 -0
- package/skills/test-and-measure/SKILL.md +181 -0
- package/skills/test-and-measure/references/procedure-template.md +45 -0
- package/skills/test-and-measure/references/test-plan.md +35 -0
- package/skills/test-and-measure/scripts/test-data.ts +94 -0
- package/README.md +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protoboardai/ext-hardware",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Protoboard extension: system composition, harness, test and release skills, BOM, evidence checks",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"author": "Delta Robotics, Inc.",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/Delta-Robotics-Inc/protoboard-stack.git",
|
|
10
|
+
"directory": "packages/ext-hardware"
|
|
11
|
+
},
|
|
12
|
+
"type": "module",
|
|
13
|
+
"files": [
|
|
14
|
+
"protoboard-extension.json",
|
|
15
|
+
"ops",
|
|
16
|
+
"checks",
|
|
17
|
+
"skills",
|
|
18
|
+
"evals",
|
|
19
|
+
"LICENSE",
|
|
20
|
+
"NOTICE"
|
|
21
|
+
],
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=22"
|
|
24
|
+
},
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"access": "public"
|
|
27
|
+
},
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"@protoboardai/core": "^0.2.0",
|
|
30
|
+
"@deltarobotics/uhd": ">=0.3.0"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "protoboard.extension/v0",
|
|
3
|
+
"id": "@protoboardai/ext-hardware",
|
|
4
|
+
"version": "0.2.0",
|
|
5
|
+
"description": "General hardware engineering: system composition and review, harnesses and fastener stack-ups, test and measurement, BOM export, evidence coverage. Releases are @protoboardai/ext-release.",
|
|
6
|
+
"compatibility": {
|
|
7
|
+
"protoboard": "^0.2.0",
|
|
8
|
+
"uhd": ">=0.3.0"
|
|
9
|
+
},
|
|
10
|
+
"skills": [
|
|
11
|
+
{
|
|
12
|
+
"id": "build-a-project",
|
|
13
|
+
"summary": "Start here: the top-level SOP from an idea or a brief to a release, one level of detail at a time (concept of 3 to 6 blocks, blocks, parts, definitions verified, schematic and PCB), asking before each level deeper — sourcing, parts by tier, system and harnesses, boards, enclosures and structures, harness CAD, checks, firmware, documents, Manufacturing Package, evals — delegating to each extension's SOP",
|
|
14
|
+
"path": "skills/build-a-project/SKILL.md"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "system-compose",
|
|
18
|
+
"summary": "Brief → requirements → module selection → UHD system (links, harnesses, mates) → fault scenarios → the protoboard check loop, with every diagnostic code explained",
|
|
19
|
+
"path": "skills/system-compose/SKILL.md",
|
|
20
|
+
"verifiedBy": "system-review"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "system-review",
|
|
24
|
+
"summary": "Independent review of a composed system against its brief: requirement trace, link and harness justification, diagnostic dispositions, scenario coverage",
|
|
25
|
+
"path": "skills/system-review/SKILL.md"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "harness-author",
|
|
29
|
+
"summary": "Wire harnesses (conductors, lengths, gauges, connectors) and fastener stacks (stack-up arithmetic, supplier-cited hardware, nut engagement, torque)",
|
|
30
|
+
"path": "skills/harness-author/SKILL.md",
|
|
31
|
+
"verifiedBy": "harness-verify"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "harness-verify",
|
|
35
|
+
"summary": "Independently re-derive every stack-up, thread engagement, torque and cable fact from the sources",
|
|
36
|
+
"path": "skills/harness-verify/SKILL.md"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "test-and-measure",
|
|
40
|
+
"summary": "Test plan from requirements and the model, procedures, and measured test-data files (status standin|measured) that replace stand-in data in the documents",
|
|
41
|
+
"path": "skills/test-and-measure/SKILL.md"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"operations": [
|
|
45
|
+
{
|
|
46
|
+
"id": "bom",
|
|
47
|
+
"summary": "Write the bill of materials (quantities multiplied through the instance tree, with origins) to docs/bom.md and docs/bom.json",
|
|
48
|
+
"entry": "./ops/bom.ts#bom",
|
|
49
|
+
"effect": "export",
|
|
50
|
+
"inputs": {
|
|
51
|
+
"out": {
|
|
52
|
+
"description": "output folder, project-relative",
|
|
53
|
+
"default": "docs"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"checks": [
|
|
59
|
+
{
|
|
60
|
+
"id": "evidence",
|
|
61
|
+
"summary": "Every purchased part used has cited sources and a recorded verification",
|
|
62
|
+
"entry": "./checks/evidence.ts#evidence"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|