Skip to main content

Session document discovery

Installed baseline — 2026-10-20​

The installed 0.10.0-lifecycle.3 host (source a6b720c3c997cf77a268b78db0b04b112d87925d, protocol 12 / 31 tools) reproduced a targeting gap in normal Revit 2027.3. One official-SDK external MCP client opened two exact disposable RVT copies in the background. A fresh independent client still saw Home with no active document identity, and its tool inventory offered no document enumeration. Native open receipts proved both distinct document IDs existed; the fresh caller could not discover them without prior path knowledge.

The first harness attempt used incompatible sharing while hashing an open RVT. It closed normally and independently verified unchanged source/A/B bytes. The corrected harness used shared read access and ran in fresh copies: PID 21360/start 639280981455337891/session dc671823-c673-43a0-b940-19843978344b. It reproduced the gap, activated exact A and explicitly closed B through MCP, verified all file hashes unchanged, and closed the owned process normally. No trusted C#, test observer registration or UI lifecycle fallback was used. Private transcripts, before-state and cleanup evidence remain under ignored artifacts/document-discovery.

Candidate contract​

ListDocuments uses the existing native queue and API callback. Core owns captured-target validation, sorted session-native identities, bounded pages and a fingerprint over the native session plus every visible returned record. Native enumeration uses Application.Documents. There is no model transaction, document activation, disk hashing, save or new scheduler. Filtering fixture-bound sessions precedes paging and hashing.

Continuations require the original inventory token and current capture. Background open/close or any returned metadata change rejects continuation even where the active context/revision stays unchanged. Existing document-open snapshot equality and host revision behavior are preserved. Recovered/replayed read outcomes remain point-in-time evidence; fresh inspection requires a new request. Discovery flags do not bypass lifecycle restrictions.

Candidate qualification — 2026-10-20​

81 actual-Revit external SDK/CLI checks passed against the normally installed signed 0.10.0-lifecycle.4 candidate, protocol 13 / 32 tools. Native source: 78c7b7b109773b612d6ff9a142607da17c5ab53e; test source: 160ba41259912ba1aecb175eb42222bd414196b9. Immutable manifest SHA-256: dfc615a934082dd22fb5002d10870e4c3038f63af35ce9721bee346383960676. The accepted fresh run used PID 16924/start 639281001916006914/session 5c563272-eda8-4329-a90e-742fcd206688, with trusted C# disabled.

  • A fresh independent MCP client discovered owner-opened A/B while Home and its capture stayed unchanged. One-item pages returned each exact native ID once, with identical tokens and observed project flags. The installed CLI independently returned the same identities/token. Opening B invalidated continuation without a revision event.
  • Returned IDs activated A and closed B. Old captures, changed inventory, wrong document ID/path and wrong saved hash were refused. Separate native rename/restore operations made A dirty; discovery observed that flag without saving. An explicit save of only copied A restored clean state and retained its original view name. Dirty-page tokens then failed against fresh context.
  • During a controlled native B-open dialog, the original open actually timed out at 30.004 seconds. Its retained result stayed Pending. After that occupied request pipe freed, discovery read 9890545f-15f3-4a06-b1e3-410ed56422fa entered the same native queue. Only its exact owned MCP server was terminated, and its original SDK call actually threw. Independent/new clients recovered Pending before explicit intervention.
  • Computer Use observed and selected only the identified test-dialog Close button after readiness. The original open completed under its original GUID. The original discovery read recovered Inspected with its original GUID and exact A/reopened-B IDs; repeated recovery was byte-stable. The reopened B received a new ID, and its former ID was refused. Closing B changed fresh inventory to one while retained recovery still returned its original two-document page.
  • Five Pending polls took 1.6–96.8 ms; original read acceptance was observed after 21.9 ms, and recovery completed 17.809 seconds after submission. The queued read retains the existing 30-second native deadline. A separate retained failed run demonstrates the boundary: after late intervention, recovery at 51.592 seconds returned the original cancelled result, rather than inventing completion. That failed completion attempt was closed normally and preserved separately; no product change was made to force it through.
  • An exact 512-pixel native view export returned matching inline PNG bytes/hash/dimensions with unchanged active A/view/clean state. Source and B retained SHA-256 3ae0941f3b5043c430a8df4e3e2e902189a899b4b2ef81b85336e6fb39bfd173; A's separately requested save produced 18905b0b1227459ac0a5adc1ea27c77fd2a86a93b032fa1d99f7ff6ed5873093. Listing itself performed no model/file write.

The accepted process closed normally and the exact temporary signed observer registration was removed after exit. The earlier installed bundle, other registrations, primary checkout/unrelated logo and working gable model were preserved. Installation changed only the owned toolkit registration/receipt/CLI PATH entry, retaining backups; other PATH entries and registry type were unchanged. Eleven first-party signatures were verified. Source checks passed 600 unit / 76 MCP / 13 Agent / 6 UI / 47 development checks; the full Revit API build had zero warnings/errors. Separate isolated upgrade/global-command checks passed 20/25 cases, and packaged official-SDK checks passed nine. Deep-worktree installer qualification hit an existing native path-resolution limit; the same owned scripts/package passed under an ordinary short physical QA path. These are separate proofs, not native model acceptance substitutes.

The observer only generated the exact armed test dialog; every document operation used MCP or CLI. No submitted C#, lifecycle callback implementation or UI lifecycle fallback was used. Private bindings, original intents, transcripts, explicit UI intervention records, accepted and failed outcomes, package and cleanup/preservation reports remain under ignored artifacts/document-discovery. Prior image, lifecycle and startup results retain their original provenance.

Native document boundaries — 2026-10-20​

A further 168 actual-Revit external SDK checks passed against the unchanged installed signed source 78c7b7b109773b612d6ff9a142607da17c5ab53e and manifest above: 93 normal-session and 75 fixture-bound checks. Test source was de0b521 (probe code ddbc123); the staged probe SHA-256 was 7e0d5e169ef4841e6c1b599b9a3d0c6aaeadb20fed17c264a34b02b7c7a87b42. No host reinstall or working-session restart was needed.

The separate signed Autodesk-only fixture author/oracle prepared clean active saved A, background saved B, unsaved project and unsaved family in each owned process. It recorded complete native metadata independently of the toolkit's opaque IDs. RevitThyme lifecycle/discovery requests all used its installed external MCP interface. Test preparation and explicit retained-reference teardown ran in the test application's ExternalEvent, never as a product fallback.

  • Normal run cdb99b35-56ec-4f81-9864-632ff0cf43fc: PID 20332/start 639281017286775550/session eea0a198-10ce-469e-9298-702f88bf7758. All four documents and flags matched the native oracle, with stable distinct IDs and one-item pages. Refused wrong IDs/path pairings and empty unsaved paths preserved every native record and active A/view. Removing unsaved fixtures invalidated the original inventory; explicit MCP close removed only saved B.
  • Fixture run cd668ff6-6745-4b67-a026-80b0f6191e79: PID 30056/start 639281017928891870/session df9fb716-421d-45e4-91db-f46bd755720f. The native oracle still saw four documents, while MCP exposed only A. Other-path lifecycle requests returned wrong_fixture. Hidden fixture teardown changed native revisions and rejected old captures, while the inventory token over visible A remained stable, including after hidden B closed.
  • Both original completed reads recovered byte-for-byte after the SDK client was disposed and replaced, retaining their original GUID and original membership after teardown. This demonstrates retained completed-read recovery, not another interrupted-request experiment. Independent before/after receipts confirmed pure reads/refusals left native state unchanged. All source/A/B bytes retained 3ae0941f3b5043c430a8df4e3e2e902189a899b4b2ef81b85336e6fb39bfd173; the family template retained 494342c1c023628d38d3587ae743f5273469c801e73b50ecc9912808d7017948.

Two earlier test-harness failures are retained separately: default Idling stopped polling for external fixture commands, and teardown compared an already-closed native Document. Both attempts closed normally with saved bytes unchanged. The probe was corrected without changing the installed toolkit or weakening assertions. Both accepted processes closed normally; the exact temporary registration was removed after exit. Existing toolkit/other registrations, setup receipt, raw PATH/type, primary checkout, unrelated logo and working model remained unchanged. Portable checks again passed 600 unit / 76 MCP / 13 Agent / 6 UI / 47 development checks. Private evidence is under ignored artifacts/document-boundaries.

Remaining scope​

Native coverage includes local nonworkshared projects, active/background, clean/dirty, close/reopen, recovery, background unsaved project/family metadata and cross-document fixture filtering. Further restricted-document qualification records linked/workshared/saved-family metadata and read-only-file save preflight against a later installed candidate. Active-family and dynamic read-only contexts, cloud models and broader unsaved-document workflows remain unqualified. Empty-path refusal does not prove a family-specific native guard. Controlled test dialogs do not qualify arbitrary project warnings or automatic dismissal. Last-active close to Home and bounded model promotion remain separate gaps; >512 changed-ID work is unchanged. No release, website deployment or promotional posts. Physical TimberFold fabrication remains outstanding.