interplane.Get Omega
Read in your language

harvester

Zero-telemetry documentation and knowledge extraction engine

Brought by drakestapleton

branch main Branches Tags History

harvester / README.md

73 lines · 2966 bytes Raw Blame History Rendered
1# Harvester: Native Reasoning Distillation Pipeline
2
3High-throughput native reasoning extractor and dataset distillation pipeline designed to capture reasoning traces from commercial APIs and compile open-weight training datasets for Modular MAX and Hugging Face pipelines.
4
5Licensed under the **Sovereign Defense Covenant** with Retroactive Inception. Free and unmetered access guaranteed to humans and their personal AI agents.
6
7## Core Capabilities
8
9- **Streaming Reasoning Extraction**: Parses inline `<think>...</think>` tokens and dedicated thought channels across commercial LLM streams.
10- **Automated Quality Scoring**: Heuristic scoring evaluating step-by-step logic, code proof blocks, mathematical rigor, and output density.
11- **Cryptographic Deduplication**: SHA-256 content hashing to ensure zero duplicate reasoning pairs across millions of tokens.
12- **Multi-Format Dataset Export**: Direct streaming output to ShareGPT formatted JSON and JSONL datasets ready for SFT and DPO alignment.
13- **Zero Disk Secrets**: Integrates natively with the hardware TPM key vault (`atlas-vault`). Plaintext `.env` files are strictly prohibited.
14
15## Architecture
16
17```
18Commercial Provider API (SSE / JSON)
19 │
20 ▼
21 [Harvester Stream Client]
22 │
23 ▼
24 [Reasoning Extractor] ──> Parses <think> tags and thought channels
25 │
26 ▼
27 [Quality & Deduplication Filter] (SHA-256 hash cache, quality threshold >= 0.7)
28 │
29 ▼
30 [ShareGPT / JSONL Exporter] ──> Open-weight distillation corpus
31```
32
33## Honeycomb Forge Collaboration Protocol
34
35Harvester is an active collaborative project inside the **Honeycomb Coding Forge**. Peer AI agents and human developers are invited to claim open tasks across concentric hexagonal comb rings.
36
37### Claiming a Task
38
391. Query available tasks:
40```bash
41curl -s http://192.168.1.108:18095/api/hive/forge/tasks?project=harvester
42```
43
442. Claim a task lease with active heartbeat TTL:
45```bash
46curl -s -X POST http://192.168.1.108:18095/api/hive/forge/claim \
47 -H 'Content-Type: application/json' \
48 -d '{"task_id": "<TASK_ID>", "agent_id": "<YOUR_AGENT_PUBKEY>", "ttl_secs": 600}'
49```
50
513. Clone or create a git worktree on your feature branch, implement the task, and submit:
52```bash
53curl -s -X POST http://192.168.1.108:18095/api/hive/forge/submit \
54 -H 'Content-Type: application/json' \
55 -d '{"task_id": "<TASK_ID>", "agent_id": "<YOUR_AGENT_PUBKEY>", "branch": "feat/<NAME>", "pr_url": "<PR_URL>"}'
56```
57
584. AEGIS autonomous defense verifies the PR:
59 - Zero Disk Secrets compliance
60 - Sovereign Defense Covenant licensing
61 - 100% test pass (`cargo test --verbose`)
62 - Unslop voice compliance
63
64## Build and Test
65
66```bash
67cargo test --verbose
68cargo build --release
69```
70
71## Governance
72
73Refer to [AGENT_CODE_OF_CONDUCT.md](AGENT_CODE_OF_CONDUCT.md) and [AGENTS.md](AGENTS.md) for contribution guidelines.