Skip to content

R00 - Research notes

Purpose: Background research that informs the design without deciding it: surveys of prior art, measurements, and reading notes.

Where a spike (X00-indexX00-index: SpikesThe open questions that must be answered by a throwaway prototype before work builds on them, in the order they are taken up.) answers a yes/no question with a prototype, and a spec (S00-indexS00-index: SpecsEvery spec, in order.) decides, a research note reports what is out there and what it tells us. Each note is docs/research/R<NN>-<slug>.md. Run mise run doc:index to list a new one here.

ID Description Status
R01-defenseclawR01-defenseclaw: DefenseClawWhat Cisco's DefenseClaw is, how it relates to Wraith Box, which of its threats and defenses Wraith Box lacks, and what to do about it. DefenseClaw Read 2026-10-14, re-review after V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there. (I240I240 (open): Re-review the research notes on related projects after V1 and fold their recommendations into post-V1 plansAfter V1 ships, review the recommendations of the research notes that compare Wraith Box with related projects, and fold the ones that still hold into the post-V1 plans.)
R02-builder-effortR02-builder-effort: Builder effort trialWhether builders should run at high effort instead of medium. Builder effort trial Measured 2026-10-22 over 32 pull requests of V1-M2-walking-skeletonV1-M2-walking-skeleton: Walking skeletonwb-vmd boots a fixture VM bundle in its confined process, wb-guestd answers over vsock, a data disk made on the host holds the homes, and wb shell opens a PTY as a project user, with its output through the terminal fi…. Decided 2026-10-22: builders and code reviewers at medium
R03-fix-rounds-compactionR03-fix-rounds-compaction: Fix rounds and compactionWhen a wave lead should resume a builder for review findings and when it should start a fresh one, and what Claude Code's compaction and prompt cache settings do for builders, reviewers and leads. Fix rounds and compaction Measured 2026-10-22 over 42 fix rounds of V1-M2-walking-skeletonV1-M2-walking-skeleton: Walking skeletonwb-vmd boots a fixture VM bundle in its confined process, wb-guestd answers over vsock, a data disk made on the host holds the homes, and wb shell opens a PTY as a project user, with its output through the terminal fi…. PR389PR389 (merged): docs(research): R03-fix-rounds-compaction, when to resume a builder and how agents compactAdds docs/research/R03-fix-rounds-compaction.md, measured from the session transcripts of runs #307, #314, #323, #340, #367 and waves 1 and 2 of #384, and the GitHub reviews of each pull request. applies the recommendations in commit 28ab7e2, and merging it accepts them. Follow-up 2026-10-22: I392I392 (closed): Compaction: turn on auto-compaction for the project, a 200k window and compaction instructions for buildersBuilders never compact, and about half of a builder's context is its own thinking, which stays in context for the whole run. turns compaction on, with builders at 200k, and is closed after the check that follows the merge
R04-matchlockR04-matchlock: MatchlockWhat matchlock is, how it relates to Wraith Box, which of its threats and defenses Wraith Box lacks, and what to do about it. Matchlock Read 2026-10-23, no follow-up issues
R05-iron-proxyR05-iron-proxy: iron-proxyWhat iron-proxy is, how it relates to Wraith Box's egress gateway, which of its threats and defenses Wraith Box lacks, and what to do about it. iron-proxy Read 2026-10-23, re-review after V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there. (no issue yet)
R06-nonoR06-nono: nonoWhat nono is, how it relates to Wraith Box, which of its threats and defenses Wraith Box lacks, and what to do about it. nono Read 2026-10-25, re-review after V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there. (I240I240 (open): Re-review the research notes on related projects after V1 and fold their recommendations into post-V1 plansAfter V1 ships, review the recommendations of the research notes that compare Wraith Box with related projects, and fold the ones that still hold into the post-V1 plans.)
R07-egzoR07-egzo: egzoWhat egzo is and how it relates to Wraith Box: the threats and defenses of egzo that Wraith Box lacks, and what to do about them. egzo Read 2026-10-25, re-review after V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there. (I240I240 (open): Re-review the research notes on related projects after V1 and fold their recommendations into post-V1 plansAfter V1 ships, review the recommendations of the research notes that compare Wraith Box with related projects, and fold the ones that still hold into the post-V1 plans.)
R08-markdown-wrappingR08-markdown-wrapping: Markdown line wrappingWhether the line wrapping of the Markdown in this repository can be automated without breaking code spans, tables, MDX and the docs site's own parsers, with which tool, at which width, and how to roll it out. Markdown line wrapping Measured 2026-11-01 over 238 Markdown and MDX files at 10b7ab59, recommends dprint at 72 for .md after two parser fixes and a decision on the S01-spec-based-developmentS01-spec-based-development: Spec-Based DevelopmentHow the design is written down: the kinds of design documents, their IDs, the spec template, how a spec is split into pages, and how packages are named. size limits
R09-v1-progress-and-qualityR09-v1-progress-and-quality: V1 progress, effort and qualityMeasures how far along V1-initial is and what it has cost in human and AI effort. V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there. progress, effort and quality Measured 2026-11-02 over 2026-10-03 to 2026-11-01 at 6138336c. V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there. is about 28% implemented, the median forecast is January 2027 at the current attention, and quality is good to spec and unmeasured in use
R10-campaign-efficiencyR10-campaign-efficiency: Campaign efficiencyWhere the dollars, tokens and minutes of a campaign go, why campaign I792 cost about twice as much per pull request as I720, why three of I792's five waves picked two issues, and which harness changes would cut cost o… Campaign efficiency Measured 2026-11-29 over campaigns I604I604 (closed): Campaign 2026-11-08 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 2 --usd 30 --issues 10 --prs 10, I622I622 (closed): Campaign 2026-11-09 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 3 --usd 300 --issues 30 --prs 30, I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 and I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 (178 agents, 35 pull requests). A pull request costs about 8.80 dollars plus 5.25 per 1,000 code lines, and I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40’s larger pull requests explain its higher cost per pull request. Recommends five harness changes, ranked by wave minutes and lost waves saved, then dollars, then risk, and keeps the comp: rule.
R11-review-overlapR11-review-overlap: Overlap of the code and security reviewsHow much the code review and the security review of one pull request overlap, what each catches that the other misses, and which review lanes follow from that. Overlap of the code and security reviews Measured 2026-11-29 over 34 pull requests and 93 reviews of I604I604 (closed): Campaign 2026-11-08 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 2 --usd 30 --issues 10 --prs 10, I622I622 (closed): Campaign 2026-11-09 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 3 --usd 300 --issues 30 --prs 30, I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 and I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 (2026-11-08 to 2026-11-29). 54 duplicate pairs, 13 of 25 must-fix defects found by both reviewers, 7 by code only and 5 by security only. Recommends review lanes and a synthesis step, to be measured on a replay set and seeded defects first. The seed recipes haven’t been run yet
R12-model-fit-by-roleR12-model-fit-by-role: Model fit by agent roleWhich agent roles could run on Sonnet 5.5, or at a lower effort, at the same quality, what each move would save, and how to test each one before deciding. Model fit by agent role Measured 2026-11-29 over campaigns I604I604 (closed): Campaign 2026-11-08 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 2 --usd 30 --issues 10 --prs 10, I622I622 (closed): Campaign 2026-11-09 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 3 --usd 300 --issues 30 --prs 30, I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 and I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 (178 agents, 34 pull requests). Recommends tests and doesn’t decide