Skip to content
Menu

Groundwork Rule

Keep temporary files inside Groundwork

Complete user-readable behavior generated from the authoritative rule module.

Rule decision

Decision

Allow intermediate work without unnecessary host permission prompts or durable-state pollution.

Behavior

Required behavior

When intermediate files are needed, resolve the application root and create or use its root-relative tmp/ folder; Treat tmp/** as a scratch-only operational allowance separate from capability business-state write scopes; Keep temporary paths inside the application root and exclude them from canonical state, generated outputs, backups, releases, and upgrades; Use project-local tmp/** without requesting host permission when the application root is already writable

Prohibited behavior

Use the operating system /tmp or another outside path when project-local scratch space can complete the work; Treat tmp/** as canonical state, a user-facing deliverable, durable evidence, or authority for another mutation; Let temporary-file access broaden the selected capability, bypass an approval, or authorize an external action

Boundary or exception

If project-local tmp/ is unavailable, prefer an in-memory or direct file-native path and request only the minimum host access that remains necessary.