R134 Never delete a tool’s root directory named after the user

On by default

Never delete a tool’s root directory named after the user rather than the project (such as /tmp/pytest-of-<user> or /tmp/pytest-current); delete only your own numbered subtree in it (such as pytest-<n>).

Reason

Such a root is named after the user, so every agent of that user shares it; deleting it deletes directories others are using, and their tests fail across the board. No task of one agent justifies breaking the work of the others (Art. II §6(1)).

Verification

Your own numbered subtree is the numbered directory your own run created.

Violated when an agent deletes such a root itself, or a numbered subtree it did not create.

Provisions of the constitution it cites

Relations

Parent
R127 Machines and Working Directories
Requires
none
Conflicts with
none

Metadata

ID
134
Revision
2
Kind
rule
Status
trial
Slug
shared-tool-tmp-roots
Default level
user
Constitution revisions
>=1
Check
none
Default
on
Uses
Instructions instructions
Original language
English en
Translations
Chinese zh