changelog/pending/D276-L2-R1.md

Repository
guillermomolina/protos
Commit
379c6fa63685c39a5954cfbd577bfda3b4df8e75
Tree
8cd4f4afe29ae4c3866381f38c1858108e9799f6
Blob
31c59694cd821940ed9878767e15de460bc8e9fa
Source
View exact source on GitHub

D276-L2-R1 / LIB033 — Capability-confined Filesystem and Path Standard Library

  • Extend io/FILESYSTEM.md §20.2.1 with the eight synchronous, authority-free std:io/paths operations: components, parent, name, extension, stem, join, parse and format, including exact component preservation and portable relative-text admission.
  • Define the seventeen additional std:io/files operations in §20.5, preserving the four existing whole-file helpers: exact no-follow metadata and predicates, exclusive directory and file creation, bounded streaming copy, planned tree copy, bounded traversal, removal and portable glob matching, exclusive temporary resources and explicit timestamps.
  • Require genuine capabilities and Paths, provider-specific guarantees, confined entry selection and fail-closed admission without weaker pathname or ambient-authority fallback. Preserve bounded work, partial progress, cancellation and acquired File custody without rollback or retries.
  • Define temporary names from exactly sixteen bytes of explicit Entropy and one exclusive creation attempt; ownership of a successfully published live File transfers to the caller, with no automatic removal.
  • Define setTimes on an already selected writable File using exact Integer epoch nanoseconds, descriptor-based mutation and exact provider readback, preserving File queue ordering, cancellation, position and contents without implicit Clock authority.
  • Preserve the public Core surface, existing authority model and Path semantics; archive decoding and compression remain outside this contract.