Hint at the missing Aura.toml when a namespaced type id fails outside a project #185
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Running
aura run(oraura graph build) on a blueprint that references a project-namespaced type id while OUTSIDE any project directory fails withUnknownNodeType— technically true (no project vocabulary is merged, so the id is unknown), but the actual cause is that noAura.tomlwas discovered, and nothing says so. A newcomer who scaffolds a project and then runs the host from the wrong directory gets a type-resolution error instead of the orienting "not inside an aura project (no Aura.toml found up from )" diagnosis.Observed by the milestone fieldtest (finding F5,
fieldtests/milestone-project-environment/FINDINGS.md, 2026-07-02); reproduction in the corpus fixturess4_outside_run.err/s4_outside_build.err.Likely shape: when type resolution fails on a NAMESPACED id (contains
::) and no project env is loaded, append the hint to the refusal ("type id looks project-namespaced but no Aura.toml was found — run inside a project directory"). The bare-id case stays as is; the hint fires only where the confusion actually arises.