Hardware.ChiMesh/SPEC
ChiMesh — Product specification
The complete product, written down before it is built (owner, 2026-11-30, MAT-T360). Every epic, feature and story the finished product will have is listed here, built or not. The ticket tree mirrors this file one to one: every ID below is a ticket. Nothing gets built unless it is here, and anything taken out of here is closed wont-do in the tree.
docs/RELEASE.mdsays which part of this the current milestone delivers.
1. Product definition
Place in the ecosystem: a hardware product (docs/ECOSYSTEM.md §2.2); its channel key is a credential and lives in Vault.
ChiMesh is a buildable guide, parts catalog and PowerShell tooling for solar-powered RAK4631 Meshtastic nodes on stock firmware and LiFePO4 power (~$62 per node). The finished product is a guide proven on real hardware: three nodes built by it route a message A via B to C across Chicago with A and C out of direct range, the power chain holds through winter, and a lamp-style v2 enclosure is documented and proven on one node. It is for a reader with basic soldering skill, and for the owner, who builds the reference mesh.
2. Scope boundary
2.1 In the product
- The written guide (
docs/overview.md): parts, assembly, flashing, configuration, verification, power budget. - The parts catalog
config/parts.jsonwith its build options, and the hand-maintained parts tables (CM-LAW-7). - Provisioning and healthcheck tooling with a secured channel (RFC 0001).
- The three-node multi-hop proof, the winter power verdict, and the v2 lamp-style enclosure.
2.2 Never in the product
- Custom or forked firmware: stock Meshtastic only (CM-LAW-5).
- Li-ion cells: LiFePO4 only, outdoors in a Chicago winter (CM-LAW-1).
- A 1-hop demo: placement must force a relay (CM-LAW-6).
- An interactive configurator, cost calculator or generated parts table: the guide is static by design.
- A server, app, database or web deploy of its own: the docs flow to the MindAttic wiki and brochure.
- Repo-wide bughunt sweeps: defects found while building are filed as fix tasks (HCM-T3).
3. Users and roles
- A builder follows the guide to order, assemble, flash and provision nodes.
- The owner builds the reference mesh and signs off each milestone; every "Owner hands-on" task needs them.
- An agent keeps the tooling and docs correct.
4. Requirements
Status is built (closed ticket, with evidence) or MS-n: the milestone in §7 that delivers it. Every unbuilt story is approved and prioritised in build order; the planner splits a story into tasks when the queue reaches it.
E1. Build guide and node tooling — HCM-T22 — built
F1.1 Guide and parts catalog — HCM-T23 — built
- S1.1.1 Step-by-step build guide — HCM-T24 — built As a builder, I want one guide from parts to a verified node, so that I can build without outside help. Acceptance: the guide covers parts, assembly, flashing, configuration and verification, with CM-LAW-1/2 surfaced. Evidence:
docs/overview.md. - S1.1.2 Compatibility-checked parts catalog — HCM-T25 — built As a builder, I want every part checked panel to antenna, so that nothing arrives incompatible. Evidence:
config/parts.json(20 parts). - S1.1.3 Build options — HCM-T26 — built As a builder, I want region, role, deployment and antenna choices explained, so that I know which steps change. Evidence:
config/parts.jsonconfigAxes.
F1.2 Provisioning tooling — HCM-T27 — built
- S1.2.1 Identical node provisioning — HCM-T28 — built As the owner, I want every node provisioned the same way and read back, so that the mesh is consistent. Acceptance: a wrong region code is refused; a failed read-back exits 5. Evidence:
scripts/cli/provision-node.ps1. - S1.2.2 Mesh healthcheck — HCM-T29 — built — six checks against a provisioned node. Evidence:
scripts/cli/healthcheck-mesh.ps1. - S1.2.3 ChiMesh console — HCM-T30 — built — provision, healthcheck and pull-latest from one menu. Evidence:
scripts/cli/ChiMesh.Console.ps1,pull-latest-finisher.ps1.
E2. Node tooling ready — HCM-T4 — MS-71
F2.1 Secured mesh channel — HCM-T5 — MS-71
- HCM-T6 provision-node -Psk parameter — As the owner, I want one shared PSK on every node, so that the mesh is private. Acceptance: the key is written, read back and never echoed.
- HCM-T7 Document the secured channel — RFC 0001 marked implemented; the default-PSK limitation is gone.
F2.2 Guide rebuilds a node — HCM-T8 — MS-71
- HCM-T9 Drop stale README.htm references; HCM-T10 Refresh parts prices and links.
E3. First node live — HCM-T11 — MS-71
F3.1 Node built and provisioned — HCM-T12 — MS-71
- HCM-T13 Order parts for one node; HCM-T14 Assemble and flash node (owner hands-on); HCM-T15 Provision and healthcheck (all six checks pass); HCM-T16 Fold build notes into guide.
F3.2 Solar power proven outdoors — HCM-T17 — MS-71
- HCM-T18 Seven-day outdoor run (owner hands-on); HCM-T19 Record observed power budget.
E4. Multi-hop proven — HCM-T31 — MS-124
F4.1 Nodes two and three — HCM-T32 — MS-124
- S4.1.1 Build and provision two more nodes — HCM-T33 — MS-124 As the owner, I want two more nodes from the proven recipe, so that a relay is possible. Acceptance: chimesh-002 and chimesh-003 pass the healthcheck on the shared PSK.
F4.2 Multi-hop proof — HCM-T34 — MS-124
- S4.2.1 Place nodes out of direct range — HCM-T35 — MS-124 — A and C cannot hear each other directly.
- S4.2.2 Record a multi-hop route — HCM-T36 — MS-124 As a reader, I want recorded proof of A via B to C, so that I trust the guide. Acceptance: traceroute and a delivered message are in
docs/overview.mdVerify the mesh.
F4.3 Winter power — HCM-T37 — MS-124
- S4.3.1 Winter power verdict — HCM-T38 — MS-124 — a month of winter telemetry decides the second-cell or 5 W panel option; the numbers go into the Power budget.
F4.4 Polish and release 1.1 — HCM-T39 — MS-124
- S4.4.1 Release 1.1 sign-off — HCM-T40 — MS-124 — overview, BIBLE §6 and brochure describe the proven mesh.
E5. Disguised enclosure — HCM-T41 — MS-125
F5.1 Enclosure design — HCM-T42 — MS-125
- S5.1.1 Lamp-style enclosure design — HCM-T43 — MS-125 As a builder, I want a lamp-style enclosure, so that a node can be mounted where a box would draw attention. Acceptance:
docs/enclosure.mdkeeps IP65, panel sun exposure and SMA antenna clearance.
F5.2 Enclosure build — HCM-T44 — MS-125
- S5.2.1 Rehouse a node — HCM-T45 — MS-125 — owner hands-on; the node keeps its place in the route for 7 days.
F5.3 Polish and release 2.0 — HCM-T46 — MS-125
- S5.3.1 Release 2.0 sign-off — HCM-T47 — MS-125 — the finished guide, both enclosures verified.
5. Non-functional requirements
- Safety: LiFePO4 only; never USB-C into the RAK19003 while the cell is wired; TP5000 jumper to LFP first; SMA, not RP-SMA (CM-LAW-1..4).
- Tooling runs on Windows PowerShell 5.1, ASCII-safe; it never echoes a key.
- Single home per fact:
config/parts.jsonis canon; tables are copied by hand (CM-LAW-7).
6. Interfaces and dependencies
- Platform by concern (
docs/ECOSYSTEM.md§2.1): credentials, MindAttic.Vault (the channel PSK, HCM-T6); the plan, MindAttic.Tickets; documentation hub, MindAttic.Docs. and themeshtasticPython CLI. - RAK Wireless RAK4631/RAK19003 hardware; vendors in
config/parts.json. - MindAttic docs wiki and brochure (HOUSE-LAW-14) publish
docs/.
7. Release sequence
- MS-71 ChiMesh 1.0, first node live (active,
docs/RELEASE.md): E2, E3. - MS-124 ChiMesh 1.1, multi-hop proven: E4 (ends with F4.4 Polish and release 1.1).
- MS-125 ChiMesh 2.0, disguised enclosure: E5 (ends with F5.3 Polish and release 2.0). The finished product.
8. Change log
| Date | Change to scope | Ticket |
|---|---|---|
| 2026-11-30 | Specification written from the BIBLE, overview, RFC 0001, code and ticket history; release sequence MS-71, MS-124, MS-125 | MAT-T375 |
| 2026-11-30 | MAT-T462 single-source pass: 4 renamed, 0 buckets dissolved (HCM-T8 "Docs match the repo" reworded as the capability "Guide rebuilds a node"), 12 requires added (milestone chain MS-71 -> MS-124 -> MS-125), 1 platform re-point (HCM-T6 PSK from Vault) | MAT-T475 |