The file API's mkdir post-hook still seeded auto-own .zddc files via the hardcoded IsAutoOwnPath path-segment predicate, while EnsureCanonicalAncestors had already moved to the cascade's auto_own: flag. Point the hook at AutoOwnAt / AutoOwnFencedAt so both paths agree and an operator's .zddc reshaping actually takes effect — fenced when the new directory's own cascade level declares auto_own_fenced (per-user working homes), unfenced otherwise. Retires IsAutoOwnPath and WormMask (the latter already superseded by WormZoneGrant's & VerbsRC) plus their tests, and the now-unused path/filepath import in special.go. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| apps | ||
| archive | ||
| auth | ||
| cache | ||
| config | ||
| fs | ||
| handler | ||
| jsonschema | ||
| listing | ||
| policy | ||
| tlsutil | ||
| zddc | ||