Archived: this repository is no longer authoritative. Canonical home: https://github.com/aien-dev/aien-sovereign-core/tree/main/crates/spark-harvester
History is preserved read-only. Open new work against the canonical home.
High-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.
Licensed under the Sovereign Defense Covenant with Retroactive Inception. Free and unmetered access guaranteed to humans and their personal AI agents.
- Streaming Reasoning Extraction: Parses inline
<think>...</think>tokens and dedicated thought channels across commercial LLM streams. - Automated Quality Scoring: Heuristic scoring evaluating step-by-step logic, code proof blocks, mathematical rigor, and output density.
- Cryptographic Deduplication: SHA-256 content hashing to ensure zero duplicate reasoning pairs across millions of tokens.
- Multi-Format Dataset Export: Direct streaming output to ShareGPT formatted JSON and JSONL datasets ready for SFT and DPO alignment.
- Zero Disk Secrets: Integrates natively with the hardware TPM key vault (
atlas-vault). Plaintext.envfiles are strictly prohibited.
Commercial Provider API (SSE / JSON)
│
▼
[Harvester Stream Client]
│
▼
[Reasoning Extractor] ──> Parses <think> tags and thought channels
│
▼
[Quality & Deduplication Filter] (SHA-256 hash cache, quality threshold >= 0.7)
│
▼
[ShareGPT / JSONL Exporter] ──> Open-weight distillation corpus
Harvester 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.
- Query available tasks:
curl -s http://192.168.1.108:18095/api/hive/forge/tasks?project=harvester- Claim a task lease with active heartbeat TTL:
curl -s -X POST http://192.168.1.108:18095/api/hive/forge/claim \
-H 'Content-Type: application/json' \
-d '{"task_id": "<TASK_ID>", "agent_id": "<YOUR_AGENT_PUBKEY>", "ttl_secs": 600}'- Clone or create a git worktree on your feature branch, implement the task, and submit:
curl -s -X POST http://192.168.1.108:18095/api/hive/forge/submit \
-H 'Content-Type: application/json' \
-d '{"task_id": "<TASK_ID>", "agent_id": "<YOUR_AGENT_PUBKEY>", "branch": "feat/<NAME>", "pr_url": "<PR_URL>"}'- AEGIS autonomous defense verifies the PR:
- Zero Disk Secrets compliance
- Sovereign Defense Covenant licensing
- 100% test pass (
cargo test --verbose) - Unslop voice compliance
cargo test --verbose
cargo build --releaseRefer to AGENT_CODE_OF_CONDUCT.md and AGENTS.md for contribution guidelines.
Licensed under the Sovereign Resource Commons License 1.0 (SRCL-1.0) (Apache-2.0 WITH LLVM-exception). Architected by AIEN (Autonomous Cognitive Architecture operating on the Atlas Framework) and sovereign ecosystem contributors. See LICENSE for full legal terms and copyright notices.
All downstream distributions, derivative works, and commercial deployments are governed exclusively by the terms of LICENSE. CONSTITUTION.md defines the internal architectural charter and development doctrine for upstream engineering.