Repository navigation
research(oracle): pyRevit runner skeleton for the ES-remap-00 fixture family - #193
Merged
Merged
Conversation
… family tools/oracle/ was a README-only contract. This adds a pyRevit extension that builds the S_All seed (wall W + DataStorage DS carrying the entity; DirectShape T and X as level-independent targets; role markers in a separate S_Role schema), then runs N1-N4, R1/R2, C1/C2, C3a/C4a — each from a fresh copy of the seed, one mutation per transition — saving every state, hashing every file, and writing observations in the es-observation.schema.json shape plus per-state API truth JSON. Written without a Revit install and marked UNTESTED throughout; every Revit API member used is named inline so the first in-Revit run can fix signatures quickly. No on-disk ES layout is asserted, oracle_agrees stays null, and evidence_tier stays E1 (single-environment observation) per the report's tier table. tools/oracle/out/ is git-ignored.
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_dae2f029-c1a5-4d1e-a6ed-00ea58b1dad9) |
1 of 2 tasks
DrunkOnJava
added a commit
that referenced
this pull request
Aug 30, 2026
…today (#196) ## Summary Makes the release-path viewer smoke run the compiled-WASM import audit (it skipped for lack of `wasm-objdump`), and brings the hand-curated `[Unreleased]` changelog up to date with today's merged changes. ## Changes - .github/workflows/publish.yml — `apt-get install wabt` before the viewer build, mirroring deploy-viewer.yml - CHANGELOG.md — Added / Changed entries for #182, #183, #185, #189, #190, #191/#192, #193, #195 ## Testing - [x] YAML + actionlint clean - [ ] Fourth `workflow_dispatch` dry-run after merge must show the `wasm-no-network-imports` spec as ✓ instead of skipped
DrunkOnJava
added a commit
that referenced
this pull request
Aug 31, 2026
… family (#193) ## Summary Turns `tools/oracle/` from a README-only contract into a runnable pyRevit extension that generates the ES-remap-00 seed and the N1–N4 / R1–R2 / C1–C2 / C3a–C4a transitions, saving every state and writing observations + API truth JSON. ## Motivation Phase 2 of the ES ElementId remapping program (unified report §15, §30) is blocked on a Revit-hosted oracle. Having the runner ready means the sprint starts the day a Revit install is available instead of with a week of add-in plumbing. ## Changes - tools/oracle/runner/pyrevit/RvtOracle.extension/lib/rvt_oracle.py — seed builder, schemas, truth capture, transitions, observation writer - …/Run ES-remap-00.pushbutton/script.py — pyRevit entry point - tools/oracle/runner/pyrevit/README.md, tools/oracle/README.md — install/run/outputs, explicit UNTESTED status - .gitignore — tools/oracle/out/ ## Testing - [x] Both files compile under CPython (`py_compile`); no Rust changes - [ ] Not executed inside Revit — no Revit on this machine. First in-Revit run is expected to need small API-signature fixes; the file names each API member it relies on to make that quick. ## Audit-honesty checklist - No ES on-disk byte layout is asserted; `oracle_agrees` is always `null`; `evidence_tier` is E1 per the report's table; capability `es.elementid_remap` remains unchanged.
DrunkOnJava
added a commit
that referenced
this pull request
Aug 31, 2026
…today (#196) ## Summary Makes the release-path viewer smoke run the compiled-WASM import audit (it skipped for lack of `wasm-objdump`), and brings the hand-curated `[Unreleased]` changelog up to date with today's merged changes. ## Changes - .github/workflows/publish.yml — `apt-get install wabt` before the viewer build, mirroring deploy-viewer.yml - CHANGELOG.md — Added / Changed entries for #182, #183, #185, #189, #190, #191/#192, #193, #195 ## Testing - [x] YAML + actionlint clean - [ ] Fourth `workflow_dispatch` dry-run after merge must show the `wasm-no-network-imports` spec as ✓ instead of skipped
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Turns
tools/oracle/from a README-only contract into a runnable pyRevit extension that generates the ES-remap-00 seed and the N1–N4 / R1–R2 / C1–C2 / C3a–C4a transitions, saving every state and writing observations + API truth JSON.Motivation
Phase 2 of the ES ElementId remapping program (unified report §15, §30) is blocked on a Revit-hosted oracle. Having the runner ready means the sprint starts the day a Revit install is available instead of with a week of add-in plumbing.
Changes
Testing
py_compile); no Rust changesAudit-honesty checklist
oracle_agreesis alwaysnull;evidence_tieris E1 per the report's table; capabilityes.elementid_remapremains unchanged.Note
Low Risk
Adds research-only Python/pyRevit tooling and documentation; no Rust or production decode paths change, and generated fixtures stay local via gitignore.
Overview
Replaces the README-only oracle scaffold with a pyRevit extension that can generate the ES-remap-00 owned synthetic seed and run transitions N1–N4, R1/R2, and C1/C2/C3a/C4a from fresh seed copies (one mutation per transition).
The new
rvt_oracle.pybuildsS_All/ role schemas, captures API truth JSON, applies no-op/scalar/copy transitions via the Revit API, and writesobservations.json,bundle.json, SHA-256–hashed.rvtfiles, and related outputs undertools/oracle/out/(now git-ignored). A push-button entry script supportsRVT_ORACLE_OUTandRVT_ORACLE_ONLY. Docs state the runner is UNTESTED without Revit and leavesoracle_agreesnull per the research contract.Reviewed by Cursor Bugbot for commit 6d0c925. Configure here.