Electrical-lab MCP loop
The current-source electrical-lab workflow passed in actual Revit through the external official MCP SDK, including bounded edits, native image export, explicit save, close/reopen, stale-document refusal and original-request recovery. The latest run passed 418 assertions in one client invocation, continuously polling through two transport timeouts. Explicit agent intervention in Revit's missing-reference warning was still required. Earlier staged continuation and failures retain their separate provenance; neither run establishes unattended operation or historical fixture acceptance.
Earlier qualification kept its installed 0.10.0-lifecycle.5 host unchanged: protocol 13 / 32 tools, native source 9e3db84e3c29e31230b217a7bad151d15538e187, manifest 332c26eff5341ea26b66651bbd8f492dc3953bc82db7e1df46e0366dc8d43809. Prior startup/image, lifecycle, modal recovery and restricted-document evidence retains its original provenance. The rebuilt 0.11.0 qualification below has its own package, installation and native records.
Rebuilt 0.11.0 candidate — 2026-10-21
Runtime source 8aae9f9c11e9df629cfbb0a033cb9154e9536ddc, immutable manifest bdfaa317a3b61d9b49277803d33f168b4b3fe0ecdb94ebd2f498a76976056445, independently passed the complete 418-assertion external SDK workflow in one invocation. The owned process was PID 19628, start 639281837995235648, session 605b7263-ab15-4d30-9693-6bb5e4e522df. This qualifies the identity-fixed 0.11.0-mcp.1 package separately from the earlier lifecycle.5 results below.
First activation fb44ef0e-3c1c-457c-91f5-d870b0368fcd recorded 22 Pending observations before original terminal completion at 44.296 seconds into recovery. Saved/reopened activation 63a9aeb2-61e4-4b89-9533-ace9e4ea5704 recorded 8 Pending observations before original completion at 16.119 seconds. Both native missing-reference warnings required explicit agent Computer Use intervention. The same client continued without replacement requests, continuation modes or source repair.
Study 26326510-e99e-45ed-b62c-e1a8217e00b9-002c7c2c and annotation IDs 2915381/2915382 persisted after save/reopen. The native inventory independently verified all twelve additions, including the collector-invisible Viewport; the collected addition count remained eleven. Explicit save produced SHA-256 6f858eb4f884417a87414d5cd810ed54a827edff77a665c3b1115b236ed79e8a. Retired-document refusal preserved the exact B handoff, and final native context contained only clean A on the persisted study. Original model, handoff source and untouched handoff copy hashes remained preserved; the owned process closed normally.
Four distinct PNG hashes across six stages were visually inspected. Empty/copied/reopened study images are still identical: they prove valid image capture, not visual annotation-copy correctness. Independent native identity/type/placement/persistence checks prove the copy. Historical Fine-detail acceptance remains false. Private receipts, the original recovery observations, continuous-summary.json, complete/cleanup records and failed earlier runs remain under ignored artifacts. The new package also passes 56 Home/lifecycle and 16 discovery/view-image checks plus 59 normal-host image/edit/recovery checks; Home regression and image provenance record those separately. Physical fabrication and public release gates remain outstanding.
Harness and acceptance
The opt-in ElectricalLab runner starts an owned trusted process at Home, copies the current electrical project and a distinct clean handoff project, and pins their hashes and process/start/session. The official SDK client launches the immutable installed MCP executable. Trusted C# only inspects or performs bounded transactions; open, activation, view switching, image export, save and close use typed operations. No test-only native callback or dialog handler was installed.
The edit creates an independent Power study without detailing, then copies exactly two inspected Generic Annotation instances in a second transaction. Every native Added ID requires a bounded role; Modified IDs require explicit bookkeeping roles. Each edit retains the 512 changed-ID budget. Canonical views/templates, raw settings/ranges, annotations, model counts, schedule footers, sheet placements and original collector membership must remain unchanged. Only copied A may be explicitly saved.
The later source differs from the historical reference: all four working views are Medium rather than Fine, two schedule footer arrays have one fewer empty cell, and non-type membership is 10,871 rather than 10,876. Current source size is 195,670,016 bytes, SHA-256 8b9dd4c93e3e18c1f4833dcf014a5d67686c865a7315072bd3b1071f1b78c77a; older receipts describe different files. The cause of that transition is unestablished. Current identities, names, scales, annotation counts, model quantities, wire counts and nonempty schedule totals still match the historical hard guards. Current raw fields and complete collector membership are frozen independently before edits and compared through save/reopen.
Consequently currentSourceWorkflow=passed, while historicalAcceptance=false and historicalFineAcceptance=false remain explicit. Historical raw-footer conformity and older derived display/range booleans are not requalified by preserving the later source. No source restoration or settings changes were made.
Continuous Pending recovery — 2026-10-20
Fresh run 9a14c7ec-4a40-4176-a6d3-8c1be3e34d2f used owned PID 6732/start 639281094019556116/session 75a20311-28d7-4c07-9700-47b3e747c7ad, harness source d3f46825b8b7cd60501a8bca700698abbf29246c and the same unchanged installed host above. A single --electrical-lab-live invocation passed 418 assertions from Home through the complete edit/image/save/reopen/close workflow. No continuation command, replacement request, source repair or fixture substitution was needed.
| Original activation GUID | Actual recovery observations |
|---|---|
d892f04a-ff37-47c4-a21e-b725db8590e5 — first A activation | Caller returned Unconfirmed/transport_lost; independent SDK observer recorded 13 Pending responses, then original Completed/document_activated at 26.187 s into recovery. Terminal lookup took 4.8 ms. |
c0fabd5d-0d37-4903-bf3a-3fbf13a8efd4 — saved/reopened A activation | Caller returned Unconfirmed/transport_lost; observer recorded 13 Pending responses, then original Completed/document_activated at 26.169 s into recovery. Terminal lookup took 3.0 ms. |
For each warning the agent observed the exact owned Revit window and explicitly selected Ignore and continue once using Computer Use. The running client kept polling its original GUID and resumed dependent work automatically when the original terminal result arrived. Pending response IDs remained separate from the original request identity. This qualifies the continuous polling branch under actual native blocking; it does not qualify automatic dialog handling, the full three-minute expiry boundary or the recovered-inline-image branch.
The retained submission inventory contains exactly two model modifications, one save, three opens (initial A/B plus reopened A), two closes (A with B handoff, then background B), three document activations (including the deliberate retired-ID refusal) and six image exports. Each interrupted activation was submitted exactly once. Study 0a196188-be66-4076-807a-9dcf4b262b6d-002c7c2c and copied annotation IDs 2915381/2915382 persisted after actual save/reopen. All ten duplicate additions (study plus nine companions), including the collector-invisible Viewport, retained their identities and associations. Total additions remained 12 native / 11 collected; canonical current-source inventory was unchanged.
Explicit save produced SHA 2314cd97ba4704b797a3440352cea405dac1db0f8b3211c25854a912b6e66b5b. Reopened A received a new native document ID; the retired ID was refused without changing B. Original edit/save results recovered byte-exact. The final inventory contained only clean A on the persisted study. Native PNG metadata/inline bytes passed; the four distinct image hashes across six stages were visually inspected. Empty/copied/reopened study images remain identical, preserving the image-evidence limitation described below. The owned process then closed normally, with source/handoff hashes and installation/registration/PATH/unrelated-work preservation checked again.
Private continuous-summary.json, original recovery receipts, transcript, bodies/results, images, complete.json, visual review and cleanup establish this run separately from the earlier staged run. The latest result strengthens current-source acceptance only; historical acceptance remains explicitly false.
Earlier staged Revit results — 2026-10-20
Accepted staged run bc512072-f0c8-4487-bb8e-cb575d00b3da used PID 29668/start 639281066629826971/session 3cc890dc-9c6b-4621-b851-3b9e69e8980b. Native duplicate source was 994f77d, committed companion classification/continuation source 2d7a023, and final saved-reopen recovery source c027bd6008eeba36c9b247457bb2dceaa4630543. The final SDK invocation passed 187 assertions. Original failed checkpoints remain retained; their assertion counts are not added into a purported single passing run.
| Native action or check | Observed result |
|---|---|
| Home and background open | Exact copied A opened in 6.224 s; distinct clean B in 0.497 s. Both retained original GUID/path/hash and different native document IDs. |
| Duplicate Power without detailing | Original GUID 43357777-5344-465e-875a-e4b6fb491f61 Applied in 0.704 s. Ten native Added IDs: study plus nine classified structural companions; no Modified/Deleted IDs. |
| Inspect postcommit additions | All ten directly accessible by ID, nine collector-visible. ID 2915374 is an unplaced Viewport for exact study 2915372, invalid sheet ID, valid type, and a study dependency. Its UID/role/associations persisted after actual save/reopen. |
| Copy exact two annotations | GUID 84eef81d-24e6-4b23-94e3-135d4e3c94ef Applied in 0.269 s. Added IDs 2915391/2915392 only; no Modified/Deleted IDs. Independent queries verified owner, types, exact points and all nine native transform-basis components. |
| Image export and switching | Typed exact-view activation and six native PNG exports: baseline Power/E101, empty study, copied study, subsequent E101 and reopened study. Plan 1600 x 1082; sheet 1600 x 1066. PNG bytes, dimensions, SHA and inline MCP image agreed; each export preserved native state. |
| Explicit A save | GUID 0adfcc02-ebea-4750-8107-87a5d712c2cf completed in 2.161 s. Saved SHA 273802c2694cba931938e5a6b6d7c58ea5d5c4c3f17d3f28c6a8d07157c7db57 matched disk; A clean. |
| Active close and reopen | Typed close handed off to exact clean B in 1.749 s. Saved A reopened in 5.853 s with a new document identity. Retired A identity was refused with wrong_document, preserving B. |
| Interrupted reopened activation | Original GUID 93de2571-eea0-4449-b9d7-de5a544f4bde returned Unconfirmed/transport_lost after 30.008 s while the native warning blocked. Following explicit UI intervention, a fresh SDK observer recovered Completed/document_activated for that same GUID in 106.1 ms, without replay. |
| Persisted state and recovery | Canonical inventory unchanged; study UID, all ten direct duplicate identities/roles, and both annotation identities/types/positions/orientations persisted. Original duplicate/copy/save and lifecycle/query/refusal outcomes recovered byte-exact through SDK clients. |
| Finish and cleanup | Typed close removed clean background B; inventory contained only clean A on the persisted QA view. All prior run files retained their hashes before completion. Runner then normally closed the owned process; source, handoff and installation preservation passed. |
Total additions are 12 native IDs and 11 collector-visible IDs. Native accounting counts the internal Viewport and remains the basis for the unchanged budget. No original native IDs were modified or deleted by either transaction. A temporary rollback-only clone supplied metadata, but postcommit direct-ID reads supplied the authoritative companion classification.
All six PNGs were inspected as images: native plans show devices/fans and halftone architecture; E101 shows its titleblock, lighting views, legend and schedules, without app chrome or warning overlays. Empty, copied and reopened study PNGs share SHA 1bebe1bab3d82f449e3c0dd78045f51ded020f63e3ce450d988b56db6a323c2f. They do not visually prove the annotation copy; independent native identities/type/point/basis checks do. E101's titleblock timestamp changes between exports, so byte equality is not a preservation oracle for that sheet.
Failures and recovery retained
Initial run e8e53655-7f3c-494e-a040-2ce07336ca80 encountered Revit's actual missing-three-point-cloud warning during activation. The caller timed out at 30.015 s. Two independent SDK clients recovered Pending in 101.0 / 93.8 ms; after explicit agent Computer Use intervention, they recovered the original Completed activation in 107.9 / 90.6 ms. The agent inspected the exact owned warning and selected Ignore and continue. References and source files were not edited or sanitized. The initial process later closed normally with source/copy hashes checked; it has no accepted completion marker.
The first inventory query rolled back because Revit could not extract LocationPoint.Rotation. Harness commit 147172c uses GetTransform basis instead. Subsequent source/reference mismatch led to the explicit current-source profile in ec819ab, not silently restoring historical settings. A first duplicate diagnostic rolled back on an unknown companion; 994f77d classified observed structures, then 2d7a023 added direct postcommit inspection when the native Added set exposed a Viewport absent from the collector. The already-Applied duplicate was recovered and continued, never resubmitted.
On saved-copy activation the same real warning recurred. The agent resolved it directly in the owned process, recovered the original GUID, and used a narrowly guarded saved-reopen tail rather than repeating duplicate/copy/save/open. Source c027bd6 adds bounded original-GUID polling to future calls. Its terminal recovery branch passed in the staged run; the continuous polling branch passed in the later full run above. Full deadline expiry and recovered-image delivery remain separately unqualified. Earlier modal qualification remains separate evidence. See native dialog recovery.
Private evidence under ignored artifacts/electrical-lifecycle includes exact intents/bodies, native results, all transcripts, frozen inventory, classifications, image bytes, completion/cleanup and before/after preservation receipts. Models and private reference/captures are not repository artifacts.
Source checks passed: focused Release compilation with zero warnings/errors, five submitted script bodies compiled against the installed Revit 2027 API, 76 portable MCP checks, launcher PowerShell parsing and git diff --check. The website build passed, followed by 7,371 content/link/contract checks across 59 HTML pages, 50 canonical documents and 32 MCP tools. These checks supplement the native evidence; they do not replace it. Separate Standards and Spec reviews found no blockers.
Preservation and remaining gaps
Final hashes preserved the electrical source, handoff source/copy, user TimberFold test model, unrelated logo, installation receipt and both add-in registrations. Raw user PATH value/type and the primary worktree HEAD/status also matched their initial records. Installed payload hashes passed before completion. No existing working Revit process was used; both owned test processes exited normally.
Historical Fine/raw-footer/display acceptance remains outstanding. This fixture requires explicit native-warning intervention; there is no general automatic warning handler. A visibly different annotation-image example remains useful because this copy's pixels did not change. Last-active close to Home, active unsupported contexts and broader warning workflows remain gaps. Work above 512 changed IDs stays separate. Physical TimberFold calibration, cutting and assembly remain outstanding. No release, website deployment or promotional posts.
Close-to-Home feasibility and next action
A separate read-only Revit 2027.3 query in owned PID 29396/start 639281091774348765/session 060e6eb5-8211-45ab-ae8f-5764c206d432 resolved an API-description ambiguity: PostableCommand.Close mapped to ID_REVIT_FILE_CLOSE (57602), distinct from ExitRevit / ID_APP_EXIT (57665). It observed a writable inherited BeforeExecutedEventArgs.Cancel property. Original query 89170b14-3931-4fcf-b245-4ec5af4923ba recovered byte-exact, native snapshot and file hashes were unchanged, and the process closed normally. No command was posted and no callback was registered; these are metadata facts, not close/cancellation qualification or numeric constants to embed.
Autodesk documents that posting defers execution and does not establish accessibility or completion. It also documents that DocumentClosed can occur after failure or cancellation. The installed 2027 API documentation corroborates these constraints. Request ownership across deferred dispatch, effective cancellation before any save decision, and proof that no posted close remains require further native qualification. A happy-path close or a post-checked file hash would not resolve those races.
Keep last-active close unsupported until that contract is proven. Next: prepare and qualify a reviewed MCP release candidate using the already-supported typed operations and these strengthened recovery results. The user has authorized release publication; candidate/package and native gates still apply. Website deployment and promotional posts remain separate, and physical fabrication remains outstanding.