cli: add caller-buffer lexical path APIs

Add pure std.path queries and failure-preserving normalization/join using
safe reverse measurement/emission and caller-provided output storage.
Component queries return explicit Copy ranges; filesystem authority is
checked independently. Complete the STD-7 implementation gate.

Validation: 1079 conformance cases, 18 path cases with per-step collection
and 12-seed schedule stress, independent 132-path/49-join capacity oracle,
68 CLI checks, fourteen previous source/std CLI suites, unit/Quick Reference,
formatting, hosted smoke, 117/117 source coverage and reference budgets.
This commit is contained in:
dev committed 2026-10-07 13:41:45 +03:00
1 parent 8d8bef8f3e
commit 8edec5b831
35 files changed
+1189 -8

No files matched your search

+2
View File
@@ -27,6 +27,8 @@ CHECKLIST = [
("heap", "explicit order and bounded owning push", r"std\.heap\.push::<", True),
("heap", "Copy peek and moving pop", r"std\.heap\.(peek|pop)::<", True),
("heap", "explicit heap growth and drain", r"std\.heap\.(reserve|free)::<", True),
("path", "raw byte components and ranges", r"std\.path\.(is_absolute|basename|parent|extension)\(", True),
("path", "caller-buffer normalization and join", r"std\.path\.(normalize|join)\(", True),
("buffered io", "owned reader construction and explicit termination", r"std\.io\.reader\.(new|finish|discard)\(", True),
("buffered io", "borrowed cached reads and exact prefixes", r"std\.io\.reader\.(read|read_exact)\(", True),
("buffered io", "owned writer construction and explicit termination", r"std\.io\.writer\.(new|finish|discard)\(", True),