Skip to content

Saved Lessons Against Claude Code Memory: Twenty Stair Jobs in Rhino

We tested whether saved lessons carry between Rhino jobs on Sonnet 5.5. A user-stated rule carried 4 of 4 times with saved lessons and with Claude Code memory.

On October 21 and 22, 2026 we tested whether Compound Modeling, our plan, build, evaluate and learn skills for Rhino, improves on later jobs because of lessons it saved on earlier ones. Our October 20 stair pilot had no lesson store and could not test this. The test used three stair jobs (a straight stair, a switchback and a change of floor height), repeated in two independent series, on Sonnet 5.5. We compared the saved-lesson arm against the same arm with its lessons wiped, against plain Claude Code with its own auto-memory, and against the same plain Claude Code with our version 6 Rhino skill added.

The lessons carried. The rule we stated in a review line (name the treads Tread-NN) was applied on the later jobs in 4 of 4 chances with saved lessons, 0 of 2 with the lessons wiped, and 4 of 4 with Claude Code’s own memory, which saved the rule without being asked in all four baseline series. A rule that the slice’s own checker caught, and that no brief or review line mentioned, was applied in 4 of 4 chances with saved lessons and in 0 of 2 with the store wiped. The baselines could not be tested on it, because they never run that checker. The saved-lesson arm cost $0.77 per job on average against $0.16 and $0.26 for the two baselines. The rule we had fixed in advance returned “partly”, because the arm that carried lessons failed more model checks than its controls in two jobs of the first series.

On October 22 we designed a second test in which the agent keeps the script that built the stair and the next job edits it. We ran a Haiku 5.5 practice run, saw that the agent did not load the modeling skill in 3 of 4 third jobs, and paused the work the same afternoon. No script was ever kept between jobs, and no verdict was reached on that second design.

Results at a glance

We count jobs (one stair task: P1, P2 or P3), sessions (one Claude Code session; P3 resumes P2’s session, so one session holds two jobs) and turns (one claude -p call; a job takes several). The graded Sonnet 5.5 runs are 20 jobs in 14 sessions. The Haiku 5.5 dry runs, which checked that the test ran end to end, are 42 jobs in 36 sessions. No dry run is counted in any result below. The batch table in Inputs lists every batch.

Chances are the later jobs (P2 and P3) in each of two series, so each lesson has 4 chances per arm. P1 is where the lessons are taught.

Saved lessons (A2), 6 jobsWiped control, 2 jobsClaude Code memory, no skill (A0), 6 jobsClaude Code memory and v6 skill (A1), 6 jobs
Naming rule applied on later jobs4 of 4 chances0 of 2 (P2 only)4 of 44 of 4
Same rule, pilot of Oct 20 (no lessons, memory off)0 of 4–0 of 40 of 4
Self-caught assembly_name rule passed on the first check of later jobs4 of 40 of 2not testablenot testable
Nosing layer (reported, not decisive)0 of 40 of 24 of 44 of 4
Planted fault repaired before delivery4 of 62 of 20 of 60 of 6
Model checks failed, fault’s own check set aside2 of 6 jobs0 of 22 of 63 of 6
Cost per job, mean (median)$0.77 ($0.87)$1.03$0.16 ($0.14)$0.26 ($0.25)
run_python calls per job, mean17.525.53.53.8
Time per job, mean362 s598 s151 s180 s

The fixed outcome rule compares each saved-lesson job with a job that has no lessons: the wiped control for P2, and for P3 the slice arm of the October 20 pilot, which had no lesson store. Under that rule the naming lesson meets its mark (4 of 4, against 0 of 4), the self-caught lesson meets its mark (4 of 4, with the wiped control failing both times), and the model checks do not hold (the saved-lesson arm failed 2 of 4 pairs, the controls 0 of 4). Verdict by the rule: partly. Both failures are in series 1, and in both the lower landing slab sat on top of the floor, so every riser came out about 1/16 in short of the 7 in target.

Inputs

The task. Three stair jobs on one stair, as in our October 20 pilot. The briefs, the scripted client’s answers, the planted faults, the review lines, the expected files and the graders are unchanged from the pilot; the harness lints them byte for byte.

  • P1, straight run. IBC 2021 egress dimensions, 126 in floor to floor, 44 in wide, 11 in treads as 1.5 in slabs, 44 in landings, every element a closed solid, a parent layer named Pilot Stair, every object named, a revision named in a document string and in the report. The client’s one needed answer: work out the riser count so every riser is equal. After the build the harness moves the 9th tread up 0.5 in. The review line, sent after delivery: “Accepted. For this and every future stair: name treads Tread-NN, zero-padded from the bottom, and put nosing lines on their own layer.”
  • P2, switchback in a stair enclosure. The same rules, inside an enclosure running from (0, 0) to (120, 240) in plan, 168 in floor to floor, with handrails on both sides of every flight as closed pipe solids. An attached note says the stair is 42 in wide; the needed answer is “Use 44 in. The 42 in in the engineer’s note is out of date.” The harness opens the second landing. The review line is “Accepted.”
  • P3, revision. “Floor-to-floor is now 180 in.” A new revision name, and the accepted revision kept restorable. The harness moves the 5th tread up 1.0 in. No review line.
  • Scripted client. Every question gets the answer sheet’s answer if it matches, and otherwise “No preference. Use your judgment and state the assumption.” The final report is requested with “Please give me the final report for delivery.” Questions about anything unscored get a fixed neutral reply, and loops are bounded.

The arms. Each arm ran two independent series of P1, P2 and P3 on Sonnet 5.5. P1 and P2 each start a new session and a freshly reset Rhino document; P3 resumes P2’s session and document, as in the pilot.

ArmWhat it hadWhat carried between jobs
A2, saved lessonsThe Compound Modeling skills at pinned commit ff87750: model-plan (which now reads saved lessons), model-build, model-evaluate, and a new model-learn that writes one markdown lesson file per solved problem to the project’s studio-notes/solutions/ folder, with no approval step. Claude Code auto-memory off.The lesson files. The harness copies the store in before each job and out after, and records a SHA-256 before and after.
A2-wiped controlThe same slice and pin, store emptied before the job. P2 only, one per series.Nothing.
A0, memory onlyClaude Code with its own auto-memory on, scoped to a folder per arm and series. No Arch Studio plugin.Whatever Claude chose to write to its memory folder. The harness never asks for a save.
A1, memory and v6 skillThe same memory set-up plus our version 6 Rhino skill (rhino-model) at commit d9963bd.As A0.

Series 1 of A2 is the earlier Step 0 run (3 jobs); the other arms’ series 1 ran in the full run. Series 1 of A2 ran on harness commit 7c6f86a, which answered a review-time save offer with an older neutral line; the rest ran on 8de5910, whose single neutral line is “The delivered model stays as it is; anything else is your call.” A2 saves without asking, so the older line did not change what it did.

The lessons.

  • L1, the naming rule. Taught by the P1 review line. Graded by names Treads (regex ^Tread-\d{2}$, numbered from the bottom in one sequence). The pilot’s base rate was 0 of 12 on P2 and P3 across all arms. The review line’s second half, the nosing layer, is graded by layer Nosing Lines and reported only: the slice builds closed solids and cannot add curves.
  • L4, the self-caught rule. The project’s quality check, which we planted in the checker stand-in (standin-0.2), requires every closed solid to carry the user-text key assembly_name equal to its assembly layer name. No brief or review line says so. The check fails on the first build unless the agent already knows the rule.

Model, tools and build. claude-sonnet-5-5 for the graded runs; claude-haiku-5-5 for the dry runs and for a logged cross-check of the scripted client’s replies. Claude Code 2.1.301. Rhino 8.35.26251.13002 with Rhino MCP router 0.3.0 on one Mac for every Oct 21 run; the Oct 22 practice run was on Rhino 8.36.26293.11002 after a restart. Tools allowed: the Rhino MCP, Read, Glob, Grep and Skill. Bash, web, Write and Edit were denied; A0 and A1 could Write and Edit only inside their memory folder.

Grader. The deterministic check_model.py checks run on the delivered .3dm: units, parent layer, layer contents, extents, names, validity, closed solids, risers against the target, per-flight risers, tread depth, width, landing depth, flight rise, handrails on both sides, handrail height, and the revision named in the document and the report. A second, secondary grader (JEv) was run and reported on, and decides nothing.

What the runs loaded. We ran every turn with --setting-sources "", --strict-mcp-config and an environment scrubbed to HOME, USER, LOGNAME, PATH, TMPDIR, LANG and the API key. The traces of the first turn of each session show what loaded:

  • Plugins. Every arm loaded three built-in Claude Code plugins (cc-plugin-agents-md, cc-plugin-telemetry, cc-plugin-plugin-authoring) and 19 built-in skills. A1 and A2 also loaded the whole Arch Studio plugin from the pinned checkout, not an isolated slice: version 1.5.1.1 with 63 Arch Studio skills and 9 agents for A1, version 1.6.0 with 65 skills and 8 agents for A2. Those include skills unrelated to Rhino, such as zoning and product-data skills. A0 loaded no Arch Studio plugin. The plugin list was identical on every turn of a job (the harness checks this).
  • Hooks. The Arch Studio plugin registers two SessionStart hooks (a welcome message and a version check) and one PostToolUse hook on Write and Edit (a disclaimer check). In every fresh A1 and A2 session the traces show two SessionStart hooks running; the welcome hook injected the line “Use Arch Studio for architecture and firm work; Norma coordinates when useful…” into the context. Resumed sessions (P3) show none. A0 ran no hooks. The traces show no PostToolUse hook event; A2 could not Write or Edit, and we did not check whether A1’s memory writes would have triggered it.
  • Memory. A2, the wiped control and the pilot ran with auto-memory off (CLAUDE_CODE_DISABLE_AUTO_MEMORY=1, memory_paths empty in the first-turn record of every session). A0 and A1 ran with auto-memory on and pointed at an empty per-arm, per-series folder through autoMemoryDirectory; each turn’s memory_paths had to equal exactly that folder, and all 65 turn-level isolation checks of the full run passed.
  • Not verified. A global CLAUDE.md of working rules exists in the operator’s home directory. The traces do not show whether Claude Code loaded it under --setting-sources "". If it loaded, it loaded in every arm.

Budget. Step 0 was capped at $15 and the full run at $30 (hard stop $29.50), with per-job caps of $2.50 for planning and building, $1 for the report and $1 for the review. Dry runs were outside both caps.

Every batch.

BatchModelDry run?Jobs gradedSessionsTurns
Step 0, one series (Oct 21)Sonnet 5.5No3215
Full run, 17 jobs (Oct 21)Sonnet 5.5No17 (one half-written job set aside)13 (12 + 1 set aside)66
Sonnet save probe (Oct 21)Sonnet 5.5No: a 2-turn probe, no Rhino012
Step 0 dry runs 1 to 5 (Oct 21)Haiku 5.5Yes1511 (one killed launch)86
Full-run dry run, 17 jobs (Oct 21)Haiku 5.5Yes17 (one set aside)1374
Grasshopper feasibility check (Oct 22)none: scripted MCP calls–000
Two-path preflight (Oct 22)none: scripted checks on live Rhino–000
Two-path practice run (Oct 22)Haiku 5.5Yes10 (two set aside)1260

Raw workflow

October 21, 09:11 to 10:05 (UTC−3): the plan. The morning’s first plan had four stair jobs, three lessons and two series. It changed twice before any spend. First we rewrote the learning design to follow Every’s Compound Engineering plugin, in which one markdown file per solved problem is saved without approval and read by a lookup at the start of planning; that added model-learn and the lookup in model-plan. Then we asked for a lean version that reused the 18 pilot runs as no-lesson controls, ran one series first (Step 0), and used Claude Code’s own auto-memory as the baseline for A0 and A1.

October 21, 10:05 to 15:03: building and rehearsing the test. Our first smoke tests passed, and two design problems appeared before Step 0 could run. First, the planted rule as written (assembly) could never fail for the saved-lesson arm, because the slice’s own ms.add already writes that key on every solid; all 288 solids in the pilot’s A2 models carried it. We moved the rule to assembly_name. Second, the nosing half of L1 is out of the slice’s reach, so Step 0’s go rule reads naming alone and reports nosing separately. Our standing instruction for the rest of the test was that no item in a review line may be removed to make a run easier, and that any question the agent asks about an unscored point must never stall the run.

An independent reviewer then listed six blocking design failures, which we fixed (see Corrections and failures). We rehearsed the whole chain five times on Haiku 5.5, with a fix between each run:

Dry runWhat it showedMeasured cost
1All three jobs graded. The assembly_name lesson was not saved: the agent judged the repair “a one-off slip”.$0.30
2All three graded. The fault went in too early after an approval phrasing the driver did not recognise, and the lesson was again not saved.$0.49
3The third job hit the total cap before its report. The lesson was not saved because Rhino returned an empty result for any single print over about 2,000 characters, and the report that tells the agent to save was 4,178.$0.31
4All three graded. The lesson was not saved because the agent printed the report cut to 1,800 characters, which dropped the line that hands the repair to model-learn. We also found the cost-accounting error described below.$0.79
5Every checklist item passed: the fault after the build, both lessons saved as two files, found in a new session on P2, cited in the plan, P3 resumed from P2.$0.47

October 21, 15:03 to 15:19: Step 0 on Sonnet. One series, three jobs, A2 only. P1: the agent planned, built through the slice, failed the planted assembly_name rule on its first check, repaired it, delivered, and after the review line saved three lesson files (naming, assembly_name, nosing). P2, in a new session: the agent read the store, cited all three files in its plan, and followed naming and assembly_name. P3 resumed P2. The jobs cost $2.37 in total.

October 21, 15:39 to 17:34: the full-run design. We counted Step 0 as a go. A second independent review found six more blocking problems specific to the full run: there was no full-run rule or report; the written rule left some results with no verdict; the model-check clause would be decided by the slab slip; a neutral review reply would decline a baseline’s offer to save; nothing proved the baselines saved unprompted; and a stop partway could not be resumed. We fixed all six and ran a 17-job Haiku dry run with a forced kill and resume (spend $1.01 measured, outside the $30). In that dry run Claude Code’s own memory saved the rule unprompted in 4 of 4 baseline series. We then ran a two-turn Sonnet probe, with the exact A0 flags and the review line verbatim, to check the same on Sonnet: it saved the rule to a MEMORY.md-indexed file.

October 21, about 17:45 to 19:53: the full run on Sonnet. 17 jobs in this order: P1 of series 2 for A0, A1 and A2; then P2 and P3 of series 2 for each; the wiped control for series 1 and series 2; then series 1 of A1 and of A0. The first launch died after one turn: the detached process inherited the agent shell’s proxy variables, which expired when the launching command ended, and the harness’s own call to Rhino returned HTTP 407. We relaunched with the proxy variables stripped. The harness set the half-written A0 job aside and reran it from an empty memory folder.

What the agents did. A0 and A1 built the stair before any approval in all 12 of their jobs, in 2 to 6 run_python calls per job; A0 asked questions in two jobs (8 in P2 of series 2) and A1 in one (1 in P3 of series 1). A2 followed the slice’s loop: a plan card, an approval turn, a build in stages with a check after each stage (ms.begin, ms.add, ms.check), an evaluation, and a learn step. In series 2, A2 loaded model-plan twice, model-build once and model-evaluate once through the Skill tool, and never loaded model-learn. It saved three lesson files anyway, through the slice’s ms.learn helper: the evaluation output ended with “Then run model-learn once” for the repaired assembly_name check, and the agent called the helper directly. A1 loaded rhino-model once in each fresh session. A0 loaded no skill.

October 22, 12:42 to 16:59: the two-path design. The full-run result showed that only notes had carried. We designed a second test with two paths in which the agent keeps code that the next job edits: a Python build script, or a Python script that builds a Grasshopper definition. A feasibility check ran without any model. Through the Rhino MCP, one g1_apply_graph call placed 12 components, wired 16 and solved to 5 treads. The MCP has no tool to save or open a Grasshopper file; saving takes three lines in run_python. A 60-line Python script built a definition identical to the MCP-built one (12 objects, 16 wires, the same slider ranges, the same 5 treads), and both files reopened in a freshly launched Rhino and solved to the same result. Feeding the canvas graph back into g1_apply_graph rebuilt the wires and treads but dropped the sliders’ ranges and types.

We then drafted the design, had it reviewed (14 findings, all adopted), built it and ran a $0 preflight (three Rhino relaunches adopted in about 4 s each, in inches at tolerance 0.01; fault-handling controls that gave the expected “present”, “caught” and “erased by rebuild”). The Haiku practice run covered 10 jobs, with one forced kill and resume. At 16:59 we closed the whole cluster and its evaluation, and said we would not spend more time on it for now. Nothing was merged or deployed.

Metrics

Every Sonnet job

Costs use per-turn differences of each session’s running total (see Corrections and failures). Time is wall-clock for the whole job. The first twelve rows are the baselines. A2 series 1 is Step 0.

ArmSeriesJobCostUser turnsAgent turnsTool callsrun_python calls (errors)Time
Memory only (A0)1P1$0.17316135 (1)180 s
Memory only (A0)1P2$0.20315123 (1)94 s
Memory only (A0)1P3$0.112975 (2)163 s
Memory only (A0)2P1$0.12415113 (0)179 s
Memory only (A0)2P2$0.27516113 (0)247 s
Memory only (A0)2P3$0.093632 (0)43 s
Memory + v6 skill (A1)1P1$0.24418135 (0)212 s
Memory + v6 skill (A1)1P2$0.32317133 (1)121 s
Memory + v6 skill (A1)1P3$0.26317146 (1)217 s
Memory + v6 skill (A1)2P1$0.21417125 (0)205 s
Memory + v6 skill (A1)2P2$0.37314102 (0)151 s
Memory + v6 skill (A1)2P3$0.152862 (0)173 s
Saved lessons (A2)1P1$0.936453723 (5)288 s
Saved lessons (A2)1P2$1.076504119 (4)345 s
Saved lessons (A2)1P3$0.3731299 (0)121 s
Saved lessons (A2)2P1$0.825413520 (2)516 s
Saved lessons (A2)2P2$1.065453723 (3)655 s
Saved lessons (A2)2P3$0.353151211 (1)247 s
Wiped control1P2$1.087554425 (4)647 s
Wiped control2P2$0.986504026 (3)548 s

Totals by arm: A0 $0.96 (6 jobs, 21 run_python calls, 4 errors); A1 $1.55 (6 jobs, 23 calls, 2 errors); A2 $4.59 (6 jobs, 105 calls, 15 errors); wiped control $2.06 (2 jobs, 51 calls, 7 errors). All 20 jobs total $9.16. Mean input tokens per job, mostly cache reads: A0 0.9 M, A1 1.4 M, A2 9.6 M, wiped control 13.2 M.

On P2 the carried lessons did not lower cost, turns or time against the wiped control: A2 cost $1.07 and $1.06 in 50 and 45 agent turns; the wiped control $1.08 and $0.98 in 55 and 50.

Lessons, job by job

A dash means the lesson is not graded on that job: L1 is taught at P1, and L4 applies only to the arms that run the slice’s checker. “First check ✗, repaired” means the first stand-in check row failed the assembly_name rule and a later row passed. “Plan cites saved lessons” is the number of saved lesson files the job’s plan names.

ArmSeriesJobTread namesNosing layerassembly_name rulePlan cites saved lessonsChecks failed, raw (nosing excluded)
Memory only (A0)1P1––––risers = target
Memory only (A0)1P2✓✓––layer Treads, closed Landings
Memory only (A0)1P3✓✓––risers = target, risers per flight
Memory only (A0)2P1––––risers = target
Memory only (A0)2P2✓✓––closed Landings
Memory only (A0)2P3✓✓––risers = target
Memory + v6 skill (A1)1P1––––risers = target
Memory + v6 skill (A1)1P2✓✓––closed Landings, risers = target
Memory + v6 skill (A1)1P3✓✓––risers = target
Memory + v6 skill (A1)2P1––––risers = target
Memory + v6 skill (A1)2P2✓✓––closed Landings
Memory + v6 skill (A1)2P3✓✓––risers = target, handrail height 34-38 in
Saved lessons (A2)1P1––first check ✗, repaired0risers = target
Saved lessons (A2)1P2✓✗✓3risers = target
Saved lessons (A2)1P3✓✗✓3risers = target
Saved lessons (A2)2P1––first check ✗, repaired0none
Saved lessons (A2)2P2✓✗✓3none
Saved lessons (A2)2P3✓✗✓3risers = target
Wiped control1P2✗✗first check ✗, repaired0none
Wiped control2P2✗✗first check ✗, repaired0none

The failed checks include the planted fault’s own check. On P1 and P3 the fault is a moved tread, which fails risers = target if it is still in the model; on P2 it is an opened landing, which fails closed Landings. So risers = target appears for a baseline job when the fault was not repaired. It appears for A2 series 1 P2 and P3 because of the slab slip described below, and for A2 series 2 P3 because the moved tread was left in place.

The four chances, as the rule pairs them

ChanceNo-lesson partnerA2 namingPartner namingA2 assembly_nameWiped assembly_nameA2 model checksPartner model checks
P2, series 1Wiped control, series 1✓✗✓✗✗✓
P3, series 1Pilot A2 P3, series 1✓✗✓–✗✓
P2, series 2Wiped control, series 2✓✗✓✗✓✓
P3, series 2Pilot A2 P3, series 2✓✗✓–✓✓

The rule fixed before the run: the naming lesson meets its mark when A2 gets it in at least 3 of 4 chances and at least 2 more times than its partners (4 against 0: met). The self-caught lesson meets its mark when A2 passes it in at least 3 of 4 and the wiped control fails it every time (4 of 4, and 2 of 2 failures: met). Model checks hold when A2 fails at most one more pair than its partners (2 against 0: not held). Both lessons meet their marks and the model checks do not hold, which the rule reads as “partly”. The P3 partners are pilot jobs from the earlier harness, so only the P2 pairs share a harness.

Against Claude Code’s own memory

The comparison uses the same 4 chances and the same naming check for every arm. A0 and A1 each scored 4 of 4, within 1 of A2, so the rule’s reading is that Claude Code’s own memory does the work for a lesson the user states. The pilot, with memory off, scored 0 of 4 for each of them.

After P1, every baseline series had a memory file stating the naming rule and an index line in MEMORY.md. The harness denied no write in any baseline job, and nothing in the harness asks for a save. A0 series 1 saved stair-modeling-conventions.md, which reads: “Name treads Tread-NN (hyphen, zero-padded, numbered from the bottom). Put nosing lines on their own dedicated layer…”, plus two project-fact files (pilot-stair-project.md, switchback-stair-project.md). A1’s files had the same content, and its series 2 file also named Nosing-NN lines per tread. In all four series the memory carried to P2.

Cost

ArmJobsTotalMedian per jobMean per jobLessons carried (graded chances passed)Cost per carried lesson
A26$4.59$0.87$0.778$0.57
Wiped control2$2.06$1.03$1.030–
A06$0.96$0.14$0.164$0.24
A16$1.55$0.25$0.264$0.39

Ratios of A2 to a baseline, by cut: median job against A0 6.1 (6.2 from the rounded $0.87 and $0.14), against A1 3.5; mean job against A0 4.8, against A1 3.0, against A0 and A1 pooled 3.7. By job type, A2 against A0 is 6.1 on P1, 4.6 on P2 and 3.5 on P3. In the pilot, with the same cost accounting, the saved-lesson arm cost 2.9 times the baselines ($0.53 against $0.18 per job), so the ratio under Step 0 and the full run is higher than the pilot’s.

Faults

The planted fault was repaired before delivery in 4 of 6 A2 jobs and in both wiped-control jobs, and in none of the 12 baseline jobs. By type: the opened landing on P2 was repaired in 4 of 4 slice jobs (2 A2, 2 wiped); the moved tread on P1 and P3 in 2 of 4 A2 jobs (series 1 P3 and series 2 P1). On series 1 P1 the report said it had re-measured the open document and passed every measured check, and the moved tread was still in the model. The slice’s own checks do not measure each tread’s height.

The slab slip

In four jobs the lower landing’s top surface sat at z = 1.5 in instead of 0: A2 series 1 P2 and P3 and A1 series 1 P2 and P3. In each, every riser is 6.9375 in on P2 (168 in floor to floor over 24 risers less the 1.5 in slab) or 6.865 in on P3, against targets of 7.000 and 6.923. No arm in series 2, no A0 job and neither wiped-control job did this. The A2 plan for series 1 P2 states the reason: “24 uniform risers of 6.9375 in (168 less the 1.5 in lower slab, so nothing sits below z=0)”. The brief says every element is a closed solid inside the enclosure and does not say where the landing top sits. None of the saved lessons mentions slabs or z = 0.

The two-path practice run (Haiku 5.5, a dry run)

This run checked the second design end to end. It is not a result about Sonnet or about kept code. “Lines carried” is the share of the previous job’s non-blank, non-comment lines kept verbatim in the script at the same path. “Valid” is false when the agent built without loading the skill or running the kept script, which the design counts as missing rather than as a failure. Costs are measured; $0.97 of the ledger’s $2.01 was two placeholders for killed turns.

PathJobValidKept script openedLines carriedRebuild aloneCostAgent turns
PythonP1yes––✓$0.0742
PythonP2yesyes0.72✗ (handrail height, a real failure)$0.3248
PythonP3noyes1.0 (script unchanged, never run)–$0.0636
GrasshopperP1yes––✓$0.1036
GrasshopperP2noyes1.0 (unchanged, never run)–$0.0420
GrasshopperP3noyes1.0 (stale script, never run)–$0.0218
Grasshopper, seeded with a reference builderP1yesyes0.94✓$0.0632
Grasshopper, seededP2yesyes0.01 (rewritten)✗$0.2040
Grasshopper, seededP3yesyes0.74✗$0.0524
Notes only, new sessionP3yes–––$0.0637

In 3 of the 4 third jobs the agent loaded no skill. The Python and Grasshopper P3 jobs therefore never saw the rule to edit the kept script, and built the revision inline. The seeded Grasshopper P3 was the one job that went as designed: it proposed a plan change, waited for approval, edited the builder (0.74 of lines kept), ran it once and delivered 44 in wide, with the old revision kept. The rebuild-alone failures were all on the “revision named in the report” check, which we changed after the run and did not re-verify in Rhino. A reopened folder still held P2’s approval.json, so the build gate accepted an old plan id in three jobs. No job wrote a checks file, so no lesson was turned into a check. All 10 jobs graded, the forced kill and resume relaunched Rhino and reopened P2’s file, every Rhino was adopted in 4 to 6 s in inches, and the model/ hashes chained through all nine code jobs.

Outputs

  • Per-job records. Each of the 20 Sonnet jobs has a delivered Rhino file, the agent’s report, the full turn-by-turn trace, a check file per grader and a run record with cost, tokens and carry hashes. The harness wrote a report per batch and one pooled report for the full run, with a lesson grid per arm, a cost table and an every-job table.
  • Saved lessons. Each A2 series ended with three lesson files in its store: the naming rule (source: user correction), the assembly_name rule (source: own check, with the check named in its frontmatter and the evidence “landings check failed project assembly_name on first build, passed after rebuild with the keyword”) and the nosing rule (user correction). The nosing file records “Pilot Stair R1 has no nosing lines (nosings were out of scope), so it was not changed”, and the later plans cite it as “Not applied: nosing lines are not requested and the Solid slice builds closed solids only”. The wiped control saved its own assembly_name lesson in each series.
  • Baseline memory. Four memory folders (A0 and A1, two series each), with the rule files and indexes described above.
  • Grasshopper check. A 60-line Python builder, the definition it writes in both binary and XML form, the g1_apply_graph input and the round-trip, and read-back scripts.
  • Practice-run records. A report per path with every cell filled, and the preflight results.
  • Where to see them. The run folders are on one machine and are not published. We can show the pooled report, the lesson files and the memory files on request. No Rhino screenshots were captured by these runs.

Corrections and failures

The planted rule could not fail. As first written, L4 required the key assembly. The slice’s own ms.add writes assembly on every solid it adds, so the rule passed for A2 by construction. The 18 pilot models confirm it: all 288 A2 solids carried assembly, and none carried assembly_name. We moved the rule to assembly_name, and a live check showed the stand-in failing with no key, failing with a wrong value and passing with the layer name.

Cost accounting was wrong in the pilot and in three dry runs. claude -p reports total_cost_usd as the session’s running total, not the turn’s cost. Our ledger added those totals, so every resumed turn charged all earlier turns again. We found it in dry run 4, confirmed it on four resumed Haiku turns ($0.0019 in total against reported totals of 0.00045, 0.00098, 0.00142 and 0.00191), and fixed the ledger to charge differences. Re-derived from the traces, the pilot cost $5.33, not the $25.60 logged, and the four A2 P1 and P2 jobs cost $0.61 to $0.69 each, against $2.23 to $3.47 logged. Dry runs 1 to 3 were logged at $1.09, $2.09 and $1.98 and measure $0.30, $0.49 and $0.31. The two-path practice run was logged at $2.01 and measures $1.04, because $0.97 of the ledger is two placeholders charged at the cap for turns that were killed and reported no cost. The overcount stopped dry run 3’s P3 at the money cap before its report.

The pilot’s ratio changed. The pilot’s results record said the saved-lesson arm cost “4–5× as much per run” ($2.97 against $0.65). Those figures come from the running-total sums: the logged per-job means are $2.965 and $0.651, a ratio of 4.55. With per-turn differences the pilot’s means are $0.526 and $0.181, a ratio of 2.9. That pilot record was not updated.

Rhino drops long prints. A run_python call that printed more than about 2,000 characters in one write came back empty (1,999 characters returned, 2,004 did not; two writes of 1,500 came back whole). That hid the evaluation’s hand-off line from the agent in dry runs 3 and 4. The slice now splits prints into pieces of 1,000 characters, and moves the hand-off line to the top of the evaluation output. Two empty ms.card prints in dry run 4 were never reproduced.

Review findings that changed the design before spend. The Step 0 review found that the teaching turn could be skipped by the turn or money cap, that the harness guessed “build finished” from free text and misfired on 4 of 6 pilot transcripts, that the go rule could say “stop” when nothing had been taught, that the caps sat inside the expected cost, that a saved lesson could be skipped because of how its element was worded, and that the self-caught path had never run in a session. The full-run review found the six problems listed in Raw workflow. Each was fixed and checked with a self-test, a planted-defect control or a dry run before any Sonnet spend.

A rule gap found by the full-run dry run. In that run Haiku’s wiped control in series 1 skipped the slice entirely, so its assembly_name result was blank, and the rule had read a blank as “the control did not fail”. A job that never ran the checker now counts as not passing.

A failed launch. The full run’s first launch died after one turn (HTTP 407 from the egress proxy, see Raw workflow). The turn’s $0.0715 is in the ledger and the job was rerun from scratch.

What the results record said and the data show. Where a report and the run data disagree, we give both.

  • The close-out line. The October 22 close-out says: “Plain Claude did it in one ~5k-char Python script; the skill cluster rebuilt it 20–26 times per job at ~6× the cost.”
    • “20 to 26 rebuilds.” The data count run_python calls, not rebuilds. A2’s P1 and P2 jobs made 19 to 23 run_python calls and the wiped control’s P2 jobs 25 and 26; P3 jobs made 9 to 11. Calls that began or added geometry were 4 to 9 per job in P1 and P2. The rest were plan cards, checks, evaluations and lesson calls.
    • “About 6×.” The median job of the saved-lesson arm ($0.87) over A0’s median ($0.14) is 6.1 (6.2 if computed from the rounded figures). Against A1 the median ratio is 3.5, and the mean ratios are 4.8 against A0, 3.0 against A1 and 3.7 pooled. The pilot’s ratio is 2.9 when computed with per-turn costs. We found no single cut that gives “about 6” against both baselines.
    • “One ~5k-char script.” In A0’s P1 jobs the agent made 5 and 3 run_python calls, with 4,875 and 2,899 characters of Python in total and a largest single script of 1,422 characters. A1’s P2 scripts reach 5.2 to 5.6 thousand characters. We found no A0 job in which one script of about 5,000 characters built the stair.
  • Sonnet probe cost. The probe’s record says $0.0889. Its two turns share one session whose reported total is $0.0607; the record added the running totals ($0.0283 and $0.0607).
  • Total spend. The close-out says about $9. The Sonnet runs and probe measure $9.33 ($2.38 Step 0, $6.90 full run, $0.06 probe). The Haiku dry runs add $4.41 measured, plus about $0.10 for a killed first launch (an estimate), plus about $0.11 of setup smoke tests as reported (not re-derived). The total is about $13.9; $9 matches the Sonnet runs only.
  • Step 0 and the slab slip. The Step 0 comment scored P3 of series 1 as a model-check pass with the fault’s check set aside, and noted that this hid a real miss. The full-run rule, which sets a fault’s check aside only while the fault is still in the model, scores that job as a fail. We reported Step 0 as a go and the pooled run as “partly”; both come from the same two jobs.
  • Series 2 model checks. The full-run comment reports A2’s series 2 P2 and P3 as model-check passes. P3 passes only with the fault’s check set aside, because the moved tread was still in the model.
  • Memory-off pilot. The baselines’ 0 of 4 on naming in the pilot is a result with memory off. Both baselines scored 4 of 4 with memory on.

What later records changed. In the records we read (the Rhino tracker and the issues on the pilot, the slice and this test), the only later revision to a number reported earlier is the cost correction above. We found nothing that reverses the lesson-carry results. The close-out’s recommendation on file is to default to plain Claude Code with memory, scripts kept as files and a thin Rhino pipe, and to judge compounding on real project work.

Lessons learned

  1. A rule stated in a review line was carried by Claude Code’s own memory with no instruction to save it. In all four baseline series, A0 and A1 wrote the rule to a memory file and indexed it; all four applied it on the next two jobs. With memory off, the same arms applied it in 0 of 4 chances. The memory files and their indexes are part of each baseline job’s record.
  2. A rule the slice’s own check caught was the one result the baselines could not match, and it could not be tested on them. A2 failed assembly_name on its first check at P1 in both series, repaired it, saved the lesson, and passed on the first check of all four later jobs; the wiped control failed the first check both times. The baselines never run that checker, so the comparison shows the loop learns from its own checks and says nothing about plain memory.
  3. A lesson with no check behind it was saved and not applied. A2 saved the nosing rule and its plans cited it in all four later jobs, each time as not applicable because the slice builds solids only. A0 and A1 each passed the nosing check in all four later jobs. The slice’s limits decided that outcome, not the lesson store.
  4. Carried lessons did not make later jobs cheaper in this test. On P2, A2 cost $1.07 and $1.06 and the wiped control $1.08 and $0.98, in similar turn counts. A2’s cost over the baselines goes with 9 to 26 run_python calls per job against 2 to 6 for the baselines, in a loop of plan card, approval, staged build and evaluation that every A2 job ran.
  5. A planted rule has to be able to fail before it can show a lesson. Check that the agent’s own tools do not already satisfy the rule. Ours did for the first design, and the stand-in needed a key the slice never writes.
  6. Reconcile a ledger against session totals before quoting costs. Our running-total error overstated the pilot by a factor of 4.8, and it changed the pilot’s cost ratio from 4.55 to 2.9. The check takes one comparison of the ledger with the last total reported in each session.
  7. Tools can drop output without an error. Rhino’s run_python returned an empty result for any single print over about 2,000 characters. Chunking prints at 1,000 characters, and putting the line the agent must act on first, removed the cause in later runs.
  8. A saved-lesson design that depends on the agent loading a skill is only as reliable as that loading. In series 2, A2 never loaded model-learn and still saved lessons, because the evaluation output told it to call a helper. In the Haiku practice run on October 22, the agent never loaded a modeling skill in 3 of 4 third jobs (the notes-only baseline, the Python path and the Grasshopper path), and the Python and Grasshopper jobs were missing from the comparison under our validity rules.
  9. Notes were the only thing that carried. No script was kept between jobs in any arm, so this test cannot say whether kept code compounds.

Limits

  • Run counts. Each lesson had 4 chances per arm: P2 and P3 in two series. P3 resumes P2’s session, so the two jobs of a series are not independent. The wiped control has 2 jobs. One flipped chance changes the memory comparison and the model-check margin.
  • One task, one operator, one machine. One stair task, briefs written by us, run by one operator on one Mac with Rhino 8.35 and Claude Code 2.1.301. A global CLAUDE.md exists on the machine, and we did not verify whether it loaded.
  • One model for the graded runs. Sonnet 5.5 only. Haiku 5.5 ran the rehearsals and the Oct 22 practice run. No Opus, and no other model family.
  • Controls are not all alike. The P2 partners are the wiped control, with the same slice and harness. The P3 partners are the pilot’s slice jobs, which ran on an older harness and a slice version without model-learn. A2’s series 1 ran on an earlier harness commit with an older neutral reply.
  • Pooled “partly”. The verdict rests entirely on the two slab-slip jobs in series 1; series 2 passed the model checks. The rule pools both series by design.
  • L4 favours the slice. The planted rule lives in the checker the baselines never run.
  • JEv. The secondary grader agreed with the deterministic naming check in 7 of 8 comparisons (87.5%), under our 90% bar, so its lesson verdicts are not used anywhere. We took that figure from the project record and did not re-derive it.
  • Not tested. A kept script or Grasshopper definition carried between jobs (the practice run reached no verdict: 3 of 4 third jobs never loaded the skill, and the one valid Grasshopper pair is a single pair), a store larger than three lessons, lessons across projects, other task types, Windows, Opus, and real project work.
  • Spend. $9.33 for the Sonnet runs and probe, and about $4.5 for the Haiku dry runs, on corrected accounting.

Records: our internal trackers and design reviews for the stair pilot (Oct 20), the Compound Modeling slice and the compounding evaluation (Oct 21 to 22). Run data: Step 0, the full run and the save probe (Oct 21); five Step 0 dry runs and one full-run dry run (Oct 21); the Grasshopper feasibility check, preflight and practice run (Oct 22).