Git file (not runnable yet)
Know what the Git file node does today, and run a file from a repository safely. Time: 5 minutes.
The editor offers Git file (kind: git) with fields for a public repository, ref, path, and inferred language. The runner rejects kind: git. A workflow that contains it won’t save or run, even if the editor verified the repository.
Use Code file after checkout: clone or check out the repository locally, review the revision, then point a code_file block at it.
The workaround
Pinning to a tag or commit you’ve reviewed means the code you run is code you’ve read. That’s also why this route is safer than running whatever happens to be on a remote branch.
Save accepts the code_file version. If you put kind: git in YAML, Save reports 'kind' must be code, code_file, http, mcp, ai, decision, loop.
Write the YAML for a Code file block that runs scripts/build.ps1 from your checkout with the args -Configuration Release.