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.

Install it, pinned
mdr add hatayama/unity-cli-loop/Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/DESIGN.md@git:20260617.2d76c63

Pins 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

The exact contents, by fingerprint
mdr add hatayama/unity-cli-loop/Packages/src/Editor/FirstPartyTools/ExecuteDynamicCode/DESIGN.md@sha256:6a4bfdddc00c74ca

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_rmonfymkqds6aaqq.svg)](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.

versioncommittedcommitsizeaudit
git:20260617.2d76c63 latest2026-06-17 2d76c63 1,631 BA view · diff
git:20260507.df689972026-05-07 df68997 1,642 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from hatayama/unity-cli-loop

uloop-clear-console SKILL.md skill
hatayama/unity-cli-loop · .agents/skills/uloop-clear-console/SKILL.md · Clear Unity Console entries. Use before compile, tests, or debugging when stale logs would hide the current result.
git:20260711.6daa84f · audit A · 592 stars
uloop-compile SKILL.md skill
hatayama/unity-cli-loop · .agents/skills/uloop-compile/SKILL.md · Compile the Unity project and report errors/warnings. Use after C# edits; to try edits in the running Editor without a…
git:20261012.2ce77ac · audit A · 592 stars
uloop-control-play-mode SKILL.md skill
hatayama/unity-cli-loop · .agents/skills/uloop-control-play-mode/SKILL.md · Control Unity Editor Play Mode. Use to Play (or Resume, its alias), Stop, Pause, or Step Play Mode, or query Status…
git:20260930.e85f53d · audit A · 592 stars
uloop-execute-dynamic-code SKILL.md skill
hatayama/unity-cli-loop · .agents/skills/uloop-execute-dynamic-code/SKILL.md · Execute C# with Unity APIs when existing uloop tools cannot inspect or edit enough. Use for reachable scene/component…
git:20261013.530faa6 · audit A · 592 stars
uloop-find-game-objects SKILL.md skill
hatayama/unity-cli-loop · .agents/skills/uloop-find-game-objects/SKILL.md · Find or inspect Unity GameObjects, especially objects the user currently selected in the Hierarchy. Use for details…
git:20260907.07fd55c · audit A · 592 stars
uloop-focus-window SKILL.md skill
hatayama/unity-cli-loop · .agents/skills/uloop-focus-window/SKILL.md · Bring the Unity Editor window to front. Use when Unity must be visible for visual checks or user-facing interaction.
git:20260727.a58b0b2 · audit A · 592 stars
uloop-game-view-mode SKILL.md skill
hatayama/unity-cli-loop · .agents/skills/uloop-game-view-mode/SKILL.md · Show which view the Game tab is showing, switch it between the Game view and the Device Simulator (rotating the…
git:20261020.28f020b · audit A · 592 stars
uloop-get-hierarchy SKILL.md skill
hatayama/unity-cli-loop · .agents/skills/uloop-get-hierarchy/SKILL.md · Get the Unity scene hierarchy as a structured tree. Use for parent-child structure, descendants, roots, or subtrees…
git:20260907.07fd55c · audit A · 592 stars
uloop-get-logs SKILL.md skill
hatayama/unity-cli-loop · .agents/skills/uloop-get-logs/SKILL.md · Read current Unity Console entries from a running Editor. Use during bug investigation after compile, tests, PlayMode…
git:20260711.604a4d3 · audit A · 592 stars
uloop-hello-world SKILL.md skill
hatayama/unity-cli-loop · .agents/skills/uloop-hello-world/SKILL.md · Sample uloop hello-world tool. Use to verify custom tool wiring or inspect a minimal tool implementation example.
git:20260622.7b7ead4 · audit A · 592 stars
uloop-hot-reload SKILL.md skill
hatayama/unity-cli-loop · .agents/skills/uloop-hot-reload/SKILL.md · Apply C# edits to the running Editor without a compile or domain reload, keeping Play Mode state. Use instead of…
git:20261013.e8058b6 · audit A · 592 stars
uloop-launch SKILL.md skill
hatayama/unity-cli-loop · .agents/skills/uloop-launch/SKILL.md · Launch or restart Unity Editor. Use only when Unity is not running or stays frozen after retries — not as a health…
git:20261027.57108db · audit A · 592 stars

Every file in hatayama/unity-cli-loop

Browse by kind, by grade A, or by owner.