We raised $3M for agent-native runners

Validate shared declarations once without losing file boundaries

Validate shared declarations in one pass, and keep each file's own syntax check.

How OpenAI used this technique

Read what OpenAI changed and follow the original sources.

Validate shared declarations once without losing file boundaries

The Ruby SDK parses each of its 1,209 RBS files on its own, then runs one consolidated Steep pass for semantics. If any file has NUL bytes or file-scoped directives, the whole job takes the per-file path, and any error in the fast path reruns the original files for exact diagnostics.

Complete local validator: per-file Steep run 52.38s to 6.22s consolidated Source

Use it when
A declaration validator analyzes the same reopened namespaces again for every file.
Before applying it
Concatenation can make invalid files look valid together or leak file-scoped directives. Keep the per-file fallback with exact diagnostics.

Company Playbooks