Harsh | building Medha (@ReetuHarsh) — Harnesses and agentic coding

Original post: https://x.com/ReetuHarsh/status/2115910750573396299
Posted: 2026-10-29T20:56:49Z · Collected: 2026-10-30T14:59:37Z

Why it matters

Concrete, code-backed harness security patterns.

Summary

Harsh | building Medha (@ReetuHarsh) walks through six security decisions in the Rust Medha agent harness: approvals bound to the reviewed file state, shell networking denied by default, compaction that changes the model’s view but not the event log, escalation of irreversible actions after web content enters, scanning of skill packages before install, and delegation that intersects child tools with parent capabilities, each linked to code (tools, sandbox, context, kernel, skills, orchestrator).

Topics

Keywords

medha, agent-harness, rust, sandbox, permission, compaction

Archive

Browse