Metadata-Version: 2.4
Name: graft-core
Version: 0.1.0
Summary: Rust hot-path kernel for Graft Robotics (continuous Kay-Kajiya swept-path slab checks, Envelope 0.2 geometry, and LiDAR voxel-to-OBJ meshing)
Author-email: Craig Merry <craigm26@gmail.com>
License: Apache-2.0
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Documentation, https://graftrobotics.ai/docs/
Project-URL: Homepage, https://graftrobotics.ai
Project-URL: Repository, https://github.com/craigm26/graft-robotics

# `graft-core` — Graft Robotics Rust Spatial & Watchdog Kernel

GIL-free Rust hot-path spatial kernel (`PyO3`) and monotonic heartbeat watchdog (`graft-watchdog`) for [`robot-gate`](https://pypi.org/project/robot-gate/) and [Graft Robotics](https://graftrobotics.ai).

- **Exact Continuous Swept-Path Kernel (`check_swept_path_fast`):** Continuous Kay-Kajiya ray-vs-AABB slab intersection (`1.96 µs/check` on Raspberry Pi 5 ARM64) with strict fail-closed IEEE-754 `NaN`/`Inf` and inverted-box guards.
- **LAN 3D LiDAR Voxel Mesher (`pointcloud_to_obj_mesh`):** 10,000-point cloud → manifold `.obj` obstacle mesh at `316 Hz` (`3.16 ms p50` on Pi 5).
- **Monotonic Heartbeat Watchdog (`graft-watchdog`):** Static GIL-free Rust supervisor (`std::time::Instant`, `0.22 ms p50` `/stop` under load, bounded connection pool).

> **ISO 13850 Safety Boundary:** `graft-core`, `graft-watchdog`, and `robot-gate` are strictly a deterministic, default-deny software pre-flight boundary and cryptographic audit layer claiming **zero ISO 13849-1 PL/SIL risk-reduction credit**. They are **NOT** a safety-rated ISO 13850 hardware emergency stop and must always be paired alongside certified hardwired E-stops and safety relays.

