Repository navigation
-
Read-only tool results are now minified JSON by default (about 14-24% fewer characters on typical reads; pass
response_options.compact: falsefor indented text) and capped at 20,000 characters. Over the cap, the largest lists are trimmed to valid JSON and markedtruncated: truewithtotal,returnedand a hint to narrow the call;response_options.max_charschanges the cap (0 turns it off). Plans, proofs, approvals, jobs, errors and every tool that can write are untouched. -
revit_list_elements,revit_list_views,revit_list_families,revit_get_categories,revit_get_warningsandrevit_get_schedule_dataaccept optionallimit,offsetandcount_only. The slice is made in the server after Revit answers (no add-in change), so it saves response tokens, not Revit time. -
MCP tool text is shorter and clearer: the duplicate
annotations.titleis gone, repeated parameter text (dry_run,on_error,limit,tag,fields,status_labels) uses one short wording, and 29 look-alike tools say which sibling to use for what. About 3.5% fewer tokens in the full and daily catalogues; approval wording is unchanged. -
Tool profiles can no longer hide the approval tools (
plan_actions,execute_plan,list_pending_plans,plan_revert,get_proof_bundle). A custom profile file that excludes the approval provider is refused with a clear error. -
Dev mode wording: the server instructions, panel chat prompt and
plan_actionsdescription now say that whenrevit_get_contextshowsserver.dev_modetrue, write tools are called directly with no plan orplan_id. In Dev,plan_actionsstill creates the plan but addsdev_mode: trueand a note. A supplied plan that is still pending is refused as before, with a clearer message. Approval rules are unchanged. -
aec-model-bridge-approve reject --older-than DAYSand--all-pending(with--dry-run) clear out old pending plans. They touch pending plans only and print each id; approved and executed plans are left alone. -
Plan-shaped results are never compacted or trimmed, including
parameter_manager_plan_set_params,revit_mep_hanger_plan,revit_recipe_getand any result withplan_typeorplan_arguments. Paging arguments rejectinf/nanand readcount_only: "false"as false;count_only: falsealone no longer applies a default limit.aec-model-bridge-approve reject --older-thanrefusesnan,infand negative values. Module handlers declared asdef h(*args)again receive the arguments dict. -
/diagnosticsnow reportsworkspace_dirand adev_off_reasonwhen Dev reads off (for example a key or workspace mismatch). It never includes the token or nonce. -
Require
certifi>=2026.10.19and refresh its lock entry so the release bundle cannot restore the affected emSign trust root (GHSA-6q48-6c7w-9gw2). Regression checks cover the dependency floor and the actual bundled trust store. -
Audited the 19 open PRs from oldest to newest and consolidated their current implementations and fixes. Setup recovery supports Codex-only chat; previews clear stale state and accept 64-bit IDs; QA issues are isolated by rule pack; explicit workspace allowlists are preserved. Snapshot audits disclose partial data and no longer invent full-model findings from incomplete captures. Snapshot point locations use SI units and stable names survive serialization. See
docs/release-audit-2026-11-06.mdfor coverage and remaining live acceptance work. -
MCP token use: static
full(default),dailyand custom module profiles; hidden direct/plan/job targets are refused without weakening approval. Optional compact/read-field responses andplan_actionsargument-echo omission reduce returned text while retaining full human-review data in storage. Measurements and reproduction commands are indocs/mcp-token-budget.md. -
Release preparation: restore patched MCP/Speckle/GraphQL and VS Code packaging dependencies, regenerate complete third-party notices, install portable runtime dependencies from the lock and validate the release SBOM against its actual installed distributions. Correct extension release dispatch, provenance checks, checksums, support routes and setup documentation. No live model writes were used for these checks.
-
Ribbon: new "cut slate" icons, matching the Recipe Editor tab. They come in light and dark variants and are embedded in the DLL, and the old vector icons stay as a fallback. The generator is
scripts/make_ribbon_icons.py. About now shows the cerberus mark. Seedocs/RIBBON_ICONS.md. UNVERIFIED in Revit. -
Fixed from a 1.4.0 user report (Revit 2027.2, Windows on ARM):
revit_set_parameter_valueand every other native write froze Revit because the transaction helper called itself (fixed earlier in 189e25a, first release 1.5.0);revit.get_sheet_infofailed on sheets that carry two parameters with the same name (for example "Category"), now the second one is listed as "Category (2)"; a force-closed Revit leavesrevit-<pid>.jsonbehind, the add-in now removes entries of dead processes when it starts;config\default.jsonno longer carries the build machine's profile path (%USERPROFILE%is written literally). -
Connection: a
MCP_REVIT_BRIDGE_URLthat is empty or still the old defaulthttp://127.0.0.1:3000now means "not set", so the server finds the running Revit by itself (the add-in picks a random port at every start, so a client config pinned to :3000 could never connect). The DXT manifest,smithery.yamlandserver.jsonno longer ship :3000 as the default. Any other explicit URL stays pinned. -
Scripts:
revit_execute_pythonin write mode getsamb_transaction(doc, name); it dismisses Revit warnings (no dialog) and returns them in the result, errors roll back. stdout without a trailing newline is now flushed on IronPython 3 (the tail was dropped). UNVERIFIED in Revit. Removed two unreferenced files (new_checks.txt,banner.png). -
Panel: the dark theme uses the slate colours of Revit's own dark UI (#3B4453 background, #222933 headers, #515C6B lines, measured from Revit 2024) instead of the near-black blue (
docs/design/tokens.mdupdated, dialogs match; status colours lightened to keep WCAG AA). -
Recipes: new
revit_recipesmodule (revit_recipe_save,_list,_get,_run,_delete). A recipe is saved IronPython with a typed parameter schema and a code hash. A write run needs a plan bound to the recipe id, version, code hash and parameter values, so editing a recipe voids old approvals. A read recipe runs without approval only if its code passes read mode at run time. A recipe can carry a standing approval, set only by a person withaec-model-bridge-approve recipe-standing, tied to id and hash. Parameters reach the script as one JSON string, never spliced into code. UNVERIFIED in Revit. -
Documentation batch:
revit_place_views,revit_list_view_templates,revit_set_view_templates,revit_make_view_template,revit_align_crop,revit_list_revisions,revit_add_revision,revit_add_revision_clouds,revit_issue_revision,revit_sheet_indexandrevit_update_sheets(collision check, temporary numbers for swaps). Strict schemas,dry_runon every write. UNVERIFIED in Revit. -
Sparing: status flow (
revit_sparing_status_get,_summary,_setwith a transition table,_setupfor the shared parameter, only through an approved plan) and copy to discipline models (revit_sparing_export_spec,revit_sparing_place_spec, active document only). UNVERIFIED in Revit. -
MEP hangers:
revit_mep_hanger_plan(read) andrevit_mep_hanger_place(gated,dry_run, idempotent). The spacing table ships empty; a rule without a named source is never used, and results carry the not-an-engineering-calculation notice. UNVERIFIED in Revit. -
Cleanup: new read-only
revit_cleanup_audit(11 checks, scope by model, categories or view, time budget,purge_candidatesas a separate field). It deletes nothing. UNVERIFIED in Revit. -
Tests and reach: a C# xUnit project (
packages/revit-bridge-addin-tests, 145 tests, runs in CI, no Revit needed); one tool count (302,scripts/count_tools.py, checked by a test);aec-model-bridge --helpno longer starts the server; PyPI classifiers and__version__; demo shot list underscripts/demo/. Nothing is published. -
Fixed after the first live run (Revit 2024): door and window results returned the host wall as
element_id; replacing a view or an MEP route failed on the camera, section box, nested fitting parts and centre lines Revit makes itself; a rerun of a route failed with NO_FREE_CONNECTOR because the piping system counted as a connection; a tee split made the system report flag a planned free end; 3D views are now cropped to their scope (before, an export was a speck on a blank page); the door/window fit check measured sill height as distance from the wall. -
Security: read mode could be bypassed by building the name
Transactionat run time (getattr(DB, 'Trans' + 'action')), which changed a wall parameter without approval. Read-mode scripts now run inside a transaction group that is always rolled back, and the result says so. Revit rolling back a committed inner transaction was confirmed live; the runner change itself is UNVERIFIED until the rebuilt add-in is loaded. -
Dry run: every write tool of the docs, family and MEP modules takes
dry_run. It does the work and the checks, then always rolls the group back and reportswould_change; it writes no file and loads nothing. Still approval-gated like a real write. -
Parameters: new
revit_get_parameters(read-only) andrevit_set_parameters(approval-gated, up to 500 elements, explicit units, never creates parameters, refuses read-only and critical ones with a reason per element, reads every value back and returns arevertlist). UNVERIFIED in Revit. -
API lookup: new read-only
revit_api_lookupanswers whether a Revit API type or member exists, with its signature and the nearest real names when it does not, from the documentation XML that ships with Revit (2024 to 2027) or the NuGet cache. No Revit needed. Agents should check unfamiliar members with it before writing a script. -
IFC: new read-only
revit_ifc_checkcompares an exported IFC with the live model per category (counts, missing elements, classification, materials, storeys, expected parameters, origin offset). It is never PASS when the Revit side was truncated or the IFC could not be read;ifc_onlychecks the file alone. UNVERIFIED in Revit. -
Openings: new
revit_sparing_find(read-only: where MEP crosses walls and floors, in linked models too, with a suggested size and any existing opening) andrevit_sparing_place(approval-gated: places a loaded sparing family or a native opening, tagged and idempotent, withdry_run). UNVERIFIED in Revit. -
Breaking: the old creators were hardened in place.
revit_create_walltakeswall_typeandreverse(flip the exterior side) and uses the default basic wall type when none is given.revit_create_floorforwardsfloor_typeand no longer defaults to a foundation slab.revit_create_roofforwardsroof_type(it used to pass none, so Revit refused) andslope(rise over run; omitted means flat; the old hidden default of 0.5 was never applied and is gone).revit_create_levelalso creates the floor plan view unlesscreate_plan_viewis false. An unknown type name now fails instead of falling back. Not yet run in Revit. -
Transactions: native add-in commands commit through a checked transaction. Revit warnings are dismissed and listed; an error rolls the call back and returns
ok: falsewith Revit's message, the failing element ids and the transaction status, instead of an opaque error or a stuck dialog. Live repro on the old build (2400 mm window in a 1 m wall) showed the dialog and a message-less error. -
Doors and windows: placement checks that the opening fits the host wall before any transaction starts and refuses with the wall id and the numbers; picks the first loaded door or window type when none is named and says which;
hand_flippedandfacing_flippedcontrol the swing; the result carrieshost_wall_idandfit_check.revit_check_clashesgetsmax_pairsandtime_budget_sand reportstruncatedinstead of freezing Revit. Not yet run in Revit. -
MEP: new
revit_mepmodule withrevit_mep_route(pipe or duct with fittings, branches, risers),revit_mep_connect,revit_mep_circuitand the read-onlyrevit_mep_check_elements. A category guard refuses a family whose category, connectors or system domain do not match. Write tools are approval-gated, roll back by default (on_error=skipkeeps what worked) and finish with a system report. UNVERIFIED in Revit. -
Families: new
revit_make_familybuilds loadable families from data specs (thedocs/recipes/villa2/m1_specs.jsonformat), checks the category against the port kinds, saves and loads them, and runs the family probe. Approval-gated, UNVERIFIED in Revit. -
Live verification: exercised the new Revit 2024 add-in's read-only runtime and QA/documentation tools. Fixed the family probe's IronPython
FamilySymbol.Namefailure with parameter-first name access and explicit unverified fallbacks; added six regressions and verified shallow/deep native probes after installing the corrected wheel. Seedocs/revit-addin-live-validation-2026-10-14.mdfor measured results, the stale-chat-routing issue and remaining scratch-model acceptance. -
Panel: add explicit Dev mode, confirmed in Settings and visible in the mode chip and chat banner. A signed workspace switch keeps it on until the person switches it off, including across restarts; an owner-only nonce authority prevents a revoked signed record from re-enabling it. Ask first clears it and timed Auto replaces it. Look only remains enforced, supplied plan ids retain hash/single-use checks, and Dev calls and toggles are audited. Workspace sandbox and secret/path redaction remain enforced. See ADR 0018. Revit 2024 read-only smoke checks observed Dev active; mutating scratch-model acceptance remains pending.
-
QA/QC: recover the unfinished opening/roof audits, family probe, MEP system report, naming/parameter and level/grid checks, plus
revit_review. Generated scripts now load their shared helpers. Missing scopes, empty checks, unreadable geometry and budget limits cannot produce a verified PASS. Added behavioral tests using a Revit API stub; bounded native read checks are recorded indocs/revit-addin-live-validation-2026-10-14.md; complete geometry acceptance remains pending. -
Documentation: recover view/sheet/schedule creation and listing, PNG content checks, and PDF/DWG/IFC/NWC export. Generated writes use one outer approved action through an execution capability bound to that exact call; stale executors are refused. Replacement checks the complete deletion cascade and rolls back foreign dependencies. Exports stage actual filenames before publishing and guard split outputs/sidecars against overwrite. Corrupt or unsupported PNGs remain unverified, and decompression is bounded. The corrected server wheel is installed; live creation, layout and export acceptance are pending.
-
Plans:
execute_plannow honors provider-reported failures and retains running receipts instead of marking them complete. Pending actions remain consumed and have no success proof; repeated execution cannot turn them into completed actions. -
Security: a mutating call that comes back
running(Revit still working,{status: "running", request_id}) is no longer booked as done. The approval claim stays consumed (no replay), the action staysrunningand is recorded as in flight underplans/.inflight/<request_id>.json, which survives a server restart, and the reply says "still running, resume with revit_get_result".revit_get_result(orrevit_job_statusforrevit_run_job) closes it: a final result marks itexecuted, Revit's own failure marks itfailedwith Revit's message; a lost connection or an expired id leaves itrunningforaec-model-bridge-approve recover. Applies to MCP calls,run_asyncjobs, the panel route and module steps. Arevit_run_jobthat is still queued or running is held open the same way (before, it was booked done at once). -
revit_get_contextnow reports the approval mode in force right now, including the signed temporary Auto window from the panel (server.approval_mode,configured_approval_mode,auto_expires_at), not only the mode the server started with. -
Deploy: new
scripts/deploy-addin.ps1mirrors the whole add-in output folder, includingLib\, toC:\ProgramData\AECModelBridge\bin\<year>\, refuses to run while Revit.exe is running (unless-Force), backs up the previous folder, and verifies the DLL size and file time afterwards (restoring the backup on a mismatch). Python scripts: a missingLib\no longer disablesrevit_execute_python; the engine starts without the standard library and the result says so. The engine runtime is shut down after every script, and a script that leaves a transaction started is rolled back and reported (transaction_left_open). The complete Revit 2024 deployment and packaged IronPython standard library were verified live; open-transaction and missing-library acceptance remain pending. -
Docs: add
docs/upgrade-plan-hands-and-eyes.md(phased upgrade and bug-fix plan with a bug list B-01..B-18, owner priorities, source implementation status and a live acceptance suite) anddocs/prompts/revit-agent-preflight-and-verify.md(copy-paste pre-flight and verification prompt for AI building in live Revit). -
Security: the panel now shows a plan's hashed review block (summary, reasoning, citations, assumptions, excluded elements, warnings, conflicts, reverted plan id) in the Plans view, built on demand, and says which parts the approval hash covers. Review text is untrusted and shown as plain text only. The panel hub adds a validated
review_viewtolist_pending_plansresults on the panel route only, sorts plans newest first and sends at most 50. Every card shows the plan id and a copyableaec-model-bridge-approve show <plan id>command. Approve is disabled, with a pointer to that command, for a hash_version 2 plan whose review is missing, malformed or not yet opened, for legacy revert plans with content outside the hash, for numbers above 2^53, for lists over 100 entries, and for plans holding a real credential (password, API key, bearer value, high-entropy token), which the panel masks. Paths,codearguments, parameter names such asAssembly Codeand ordinary prose are shown as they are on the approval card; other routes keep their full redaction. NaN and Infinity are refused at drafting. Reject still works. Not verified in a live Revit panel. -
Security: a person can now recover a plan stuck by a crashed process.
aec-model-bridge-approve recover <plan_id> --reason ...marks actions left inrunningasabandoned(never re-run, the approved plan becomespartial, remaining actions need a new plan);showlists running actions with their age. It is not an MCP tool and nothing recovers automatically. Plan writes retryos.replaceup to 5 times on a WindowsPermissionErrorbefore failing with a clear error (UNVERIFIED on Windows).docs/security.mdlists the remaining gaps and ADR 0017 (Proposed) covers document binding and expiry; no behaviour change for those. -
Brand: add the Cerberus sub-mark artwork (Ember mesh: three jackal heads in an ouroboros ring) under
assets/cerberus/for the Cerberus feature, and rewritedocs/design/brand.mdto separate the product brand (AEC Model Bridge, Pier mark) from the feature sub-mark. The product mark, installer images, icons and READMEs keep the Pier mark. Setting the repository social preview in Settings remains a manual step. -
Security: log and error redaction now also covers UNC network paths (
\\server\share\model.rvt, the usual way central models are shared) and backslash paths without a drive letter. Before, a server or share name could appear in audit logs and error messages. This also fixestest_redaction_in_serveron Linux.
Easiest install: download AECModelBridge-Setup-1.5.0.exe below, double-click it and follow the wizard. It detects your Revit versions and sets everything up. Checksums are in SHA256SUMS.txt. The shipped Python dependency inventory is aec-model-bridge-1.5.0.cdx.json; see docs/supply-chain.md for its scope and verification.