Fork policy: why the lab forks open-source projects
Out of 64 public repositories across the lab, 42 are maintained as independent open-source forks. Here is why I fork them, the five rules that govern them, and the complete catalog grouped by purpose.
In one minute
- Forks protect autonomous agent workflows from unexpected upstream API breaks and schema changes.
- Security updates are triaged and patched autonomously through GitHub Project 6 and Jules.
- Every fork enforces five quality gates: branch protection, zero-warning linters, SHA-256 digest pinning, human review on upstream rebases, and CVE scanning.
- 17 of the 42 forks are low-level Go libraries (SIMD acceleration, hashing) needed by the sovereign S3 storage tier.
Why fork instead of using upstream packages directly?
An autonomous system running continuous coding tasks cannot afford unexpected upstream churn. Forking critical dependencies provides four concrete engineering advantages:
1. Deterministic SDD contracts
Autonomous agents need deterministic CLI arguments, flags, and JSON schemas. In forks like
spec-kit and speckit-superpowers-bridge, command interfaces and output schemas
are locked so that agent runs do not break when upstream repositories change behaviour.
Status: Verified
2. Immediate security patching
When Dependabot or CodeQL identifies a CVE in a dependency, the lab does not wait weeks for an upstream maintainer to merge a fix. The hourly scanner in GitHub Project 6 and Jules opens and tests patches immediately.
Status: Deployed
3. Uniform quality gates
Every maintained fork is brought under the same automated linting and security rules:
strict clippy or ruff settings, automated vulnerability audits, and pinned dependency versions.
Status: Verified
4. Build hermeticity
Containers and binaries build cleanly from pinned tags and publish to
ghcr.io/lgcorzo/*, decoupling internal builds from external registry downtime or license changes.
Status: Deployed
What five rules govern every fork?
Each of the 42 forks must satisfy five strict engineering standards. No fork is exempt.
| Rule | Standard | Enforcement mechanism | Status |
|---|---|---|---|
| 1. Remote and branch hygiene | Upstream clean tags are tracked on dedicated tracking branches. Custom modifications live on isolated branches. | Branch protection rules reject direct pushes to main. |
Verified |
| 2. Strict quality gates | Zero-warning policy across linters and strict type-checking mode. | CI blocks merges on any clippy, ruff, or mypy warning. |
Verified |
3. Hermetic builds & zero :latest |
All images pinned to immutable SHA-256 digests or semver releases. Floating tags are rejected. | KubeLinter and Trivy scans in CI enforce digest pinning. | Verified |
| 4. Human review on upstream rebases | Upstream sync PRs require automated test passes and manual sign-off before merge. | Strict Human-in-the-Loop policy. No agent merges to default branches. | Verified |
| 5. Automated CVE triage | Vulnerabilities tracked in GitHub Project 6 are reviewed hourly. | Hourly cron triggers scanner and Jules remediation workflows. | Deployed |
How are the 42 forks categorized?
The 42 forks fall into five functional groups. Earlier references mentioned “38 MinIO forks”; in reality, 17 are small Go utility libraries (SIMD acceleration, hashing, streaming parsers) and 10 are storage platform components.
Agent and spec tooling (4 repositories)
Tools that shape how agents plan and write code.
| Repository | Description and role |
|---|---|
spec-kit | 💫 Toolkit to help you get started with SDD or any other process! |
superpowers | An agentic skills framework & software development methodology that works |
speckit-superpowers-bridge | Architectural handoff connecting Spec-Driven Development (Spec Kit) with Superpowers TDD execution discipline |
openevolve | Open-source implementation of AlphaEvolve |
Memory, documentation and gateway (5 repositories)
Provenance, generated docs and model routing.
| Repository | Description and role |
|---|---|
semantica | Graph-native context infrastructure tracking accountable AI artifacts and compliance lineage across factory wo |
deepwiki-rs | High-performance Rust engine generating AST-driven OpenWiki documentation and code context for autonomous agen |
CodeWiki | [ACL 2026] Open-source framework for holistic, structured repository-level documentation across multilingual c |
openwiki | OpenWiki is a CLI that writes and maintains agent documentation for your codebase |
dark-litellm | The fastest, litest AI Gateway |
Storage platform (10 repositories)
Self-hosted S3-compatible storage and its tools.
| Repository | Description and role |
|---|---|
operator | Hardened Kubernetes Operator automating in-cluster sovereign S3 storage deployment and lifecycle for Dark Grav |
mc | MinIO Client (mc) utility independently maintained for CI/CD bucket mirroring, checkpoint archiving, and S3 pe |
kes | Key Encryption Server providing hardware-backed zero-trust authenticated encryption at rest for sensitive mode |
directpv | Kubernetes CSI direct-attached NVMe storage driver independently maintained for high-throughput pipeline execu |
warp | S3 IOPS and latency stress-testing tool validating storage SLA gates before Dark Gravity deployments |
sidekick | High-performance sidecar load balancer optimizing S3 traffic distribution across sovereign storage pods |
certgen | Generates self-signed TLS/mTLS X.509 certificates for air-gapped Dark Gravity Kubernetes pods |
mint | Comprehensive S3 API compatibility verification suite executed during Dark Gravity release gates |
docs | Complete operational architecture and API specifications for Dark Gravity's hardened S3 storage tier |
minio-cf | Infrastructure-as-code deployment templates for distributed sovereign storage nodes |
Go libraries (hashing, parsing, I/O) (17 repositories)
Small libraries the storage tools depend on.
| Repository | Description and role |
|---|---|
asm2plan9s | Translates AMD64 assembly into Plan 9 bytes for Go, enabling custom SIMD crypto compilation in Dark Gravity |
blake2b-simd | SIMD-vectorized pure Go BLAKE2b hashing for cryptographic integrity in Dark Gravity pipelines |
md5-simd | AVX-512 & AVX2 hardware-accelerated parallel MD5 engine for high-speed artifact deduplication |
sha256-simd | AVX-512 & ARM64 SIMD hardware-accelerated SHA256 hashing for tamper-proof artifact verification in Dark Gravit |
highwayhash | Assembly HighwayHash (>10 GB/s/core) enabling instantaneous AST symbol indexing and artifact hashing |
crc64nvme | CLMUL SIMD-accelerated CRC64 computation verifying NVMe block payloads at line rate in Dark Gravity |
simdjson-go | AVX-512 SIMD-accelerated JSON parser streaming gigabytes/sec within strict 30 MiB sandbox limits |
sio | Pure Go Data At Rest Encryption (DARE) implementing authenticated encryption for model weights and tokens |
colorjson | Zero-overhead syntax-highlighted JSON formatter for Dark Gravity CLI diagnostics and task inspection |
csvparser | High-throughput zero-buffer CSV parser processing metric dumps without exceeding sandbox memory bounds |
dnscache | Concurrent DNS caching library optimizing outbound GitPlatformPoller queries in Dark Gravity |
filepath | Flat-key filesystem traversal optimized for S3 prefix walking across sovereign storage buckets |
multipart-debug | HTTP multipart upload tracing utility for troubleshooting large model weight transfers |
pkger | Toolchain building reproducible Debian, RPM, and APK packages for sovereign storage binaries |
selfupdate | Secure, atomic self-update engine for sovereign CLI tools without external package manager dependencies |
xxml | High-performance memory-efficient XML 1.0 parser for parsing AWS S3 response envelopes |
zipindex | Compresses and indexes ZIP archives for O(1) random artifact access without full disk extraction |
Experiments and learning (6 repositories)
Forked to study, not part of the factory.
| Repository | Description and role |
|---|---|
ai-agents-for-beginners | 10 Lessons to Get Started Building AI Agents |
TradingAgents | TradingAgents: Multi-Agents LLM Financial Trading Framework |
mocogpt | MocoGPT is an GPT mock server, which can be used to test your GPT API calls |
dark-rea | Reverse engineer anything with agents, from app behavior down to native binaries |
knowledge-catalog | Google Cloud Knowledge Catalog Tools and Samples |
gpu-unlock | Unlock FP/BF16 instruction issue rate on Nvidia 3000's cards to their professional equivalents |
How is dependency security verified?
Forked code is not trusted blindly. Dependencies undergo continuous automated verification:
Automated threat triage
Project 6 tracks vulnerabilities across all 64 public repositories. Dependabot alerts, CodeQL queries, and pip-audit / cargo-audit runs feed into a centralized triage queue.
Evidence: threat-model.md
Process micro-isolation
When an agent executes code or tests from a dependency, it runs inside a restricted gVisor sandbox with
CAP_DROP_ALL, read-only root filesystems, and strict CPU/memory limits.
Evidence: live-gvisor-isolation.json & GITOPS_RUNTIME_VERIFICATION.md