---
title: "PCR Protocol — Code Harness Reconstruction"
description: "Documentation: PCR Protocol — Code Harness Reconstruction"
type: research
tags: [protocol, reconstruction, pcr, harness, bare-metal]
timestamp: 2026-06-30
---

# PCR Protocol — Code Harness Reconstruction

Kary Mullis metaphor applied to reconstructing code agent harnesses from leaked source code.

Full documentation: `~/workdir/study/coworks/kaggle-agent-security/docs/pcr_protocol.md`

## PCR Analogy

| PCR Stage | Code Equivalent |
|-----------|-----------------|
| DNA template | Leaked Claude Code source code (March version) |
| Primers | Local models that bind to each specific function |
| Thermal cycling | Elo tournament iterations |
| Amplification | Best translation selected per function |
| Result | New open-source implementation |

## Targets (priority order)

1. **Mobile** (Claude iOS/React Native) — most restricted, Alefita's primary domain
2. **Desktop** (Claude Desktop) — already mapped: bundles, 226 feature flags, voice protocol
3. **Claude Code** (full agent) — most complex, source available

## Why "POSIX-free"

The goal is not a fork or patch. It's to rebuild from scratch operating on bare metal:
- io_uring proved that POSIX I/O bypass is viable
- Cell Broadband Engine (PS3) proved that deterministic compute without POSIX is viable
- Apple Container Machine proved that macOS ↔ Linux bridging is seamless

## Hardware

| Machine | Role |
|---------|------|
| MacBook M3 | Development, Apple Container Machine |
| PS3 Evilnat | Bare-metal inference (Cell BE, 1 PPE + 8 SPEs) |
| PC Windows | GPU training (RTX 2060) |

## Legal Framework

CopyLeft / AsIs. No distribution of proprietary code. Research only. Local execution.

## Connections

- [[kaggle-agent-security]] — Uses the same primitives
- [[attack-primitives]] — Theoretical foundation
- [[hypersigil-research]] — Identity framework for reconstructed models
