DESIGN.md@Packages/src/Editor/FirstPartyTools/ExecuteDynamicCodeA
DESIGN.md@Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode from hatayama/unity-cli-loop is a DESIGN.md file: the design rules coding agents follow in that repo.
mdr add hatayama/unity-cli-loop/Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/DESIGN.md@git:20260617.2d76c63Pins git:20260617.2d76c63 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- DESIGN.md file
- Repository
- hatayama/unity-cli-loop
- Path
Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/DESIGN.md- Versions recorded
- 2
- Latest version
- git:20260617.2d76c63, committed Jun 17, 2026
- First version recorded
- May 7, 2026
- Size
- 1,631 bytes
- Repository stars
- 592
- License
- MIT
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# execute-dynamic-code design notes This directory owns the user-facing `execute-dynamic-code` tool contract. The public contract must stay stable even when the internal compiler strategy changes. ## Fast path intent - The preferred compilation path is Unity-bundled Roslyn. - `SharedRoslynCompilerWorkerHost` keeps a warm compiler process so structural cache misses stay fast. - The shared worker is an optimization only. It must not own response shaping or tool-specific policy. - `DynamicCodeStartupPrewarmer` requests one delayed idle execution at editor startup so the first visible user request does not pay the compiler startup cost. - Startup prewarm is best-effort. A foreground request may preempt it, and the foreground warmup fallback must remain correct. ## Fallback intent - Preferred order is: shared Roslyn worker -> one-shot Roslyn -> AssemblyBuilder fallback. - Fallback changes performance, not semantics. - Any fallback from the ideal fast path is a maintainer-visible error condition and must be logged through `DynamicCompilationHealthMonitor`. ## Invariants - Compiled assemblies are loaded only after the selected backend reports a successful build. …
Read the whole file at its exact version.
How to install
mdr add hatayama/unity-cli-loop/Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/DESIGN.md@sha256:6a4bfdddc00c74caThe line at the top of this page pins the label git:20260617.2d76c63, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_rmonfymkqds6aaqq)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between May 7, 2026 and Jun 17, 2026, about one every 41 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260617.2d76c63 latest | 2026-06-17 | 2d76c63 | 1,631 B | A | view · diff |
| git:20260507.df68997 | 2026-05-07 | df68997 | 1,642 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (1631 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
hatayama/unity-cli-loop · 592 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_rmonfymkqds6aaqq GET https://markdownregistry.com/api/v1/resolve?ref=hatayama/unity-cli-loop/Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/DESIGN.md GET https://markdownregistry.com/api/v1/blob/6a4bfdddc00c74ca7adc448ed1cc31249a2577f5c8e7c7b02660cbf4530e4a36
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: what DESIGN.md is and how agents use it · which agent file does what.