roadmap PARTIAL

946. A granted file name can be longer than sixteen bytes

PARTIAL, 2026-10-24 (UTC). A file named over 16 bytes is granted at the prompt and read, gated by script/swish-check on aarch64 and x86_64 and by CI on all three. Left: an installed least_authority_demo run by its package path, which waits on milestone 909 ("BUGS").

(Title and slug provisional.)

Raised 2026-10-20 (UTC) by maintainer/record-2026-10-20, recording calef's ruling of that day on milestone 922 (the demos are packaged in basalt). He kept the ratified least_authority_demo rather than shortening it: "B". The fix is to lift the limit that refuses the name. calef asked on 2026-10-24 (UTC) for it to be built.

What a name may be

How a long name reaches a program

Reuse: none exists; this is nife's own grant wiring between the shell, the progenitor and a caretaker, and no library carries a capability's name by argument words or frame.

Built 2026-10-24 (UTC)

Lane milestone/946-granted-file-name-longer-than-sixteen-bytes.

script/swish-check's aarch64 and x86_64 legs type these, and each answers as shown:

The shell's stack was measured rather than scaled, on the same leg: twelve pages fault on the boot's first pipeline, sixteen in installed/jig rollback, seventeen pass both boots. The shell gets twenty-one (system_initializer::SHELL_STACK_PAGES), the planner is compiled optimized in a debug build, and a set holds at most 512 bytes of name. notes/glob-grant/xargs.md ("The bytes a set carries") has the numbers. The progenitor's capability peak stays at the 37 that kernel/src/cap.rs records, on both boots. The timetable, which holds an Endowment per entry, was measured the same way: login_user_schedule_tests faults at 52 pages and passes at 56, and timetable::contract::STACK_PAGES is 60, with the crate compiled optimized in a debug build.

The bound

grant::MAX_NAME is 252, calef's ruling of 2026-10-24 (UTC): "B". It is §307 (how long a name may be)'s bound, RedoxFS's DIR_ENTRY_MAX_LENGTH, the smallest name limit of a filesystem nife installs onto. The option he did not take was 255, Linux's NAME_MAX and xattr::MAX_NAME, under which a name of 253 to 255 bytes would be grantable and unstorable on nife's own disk. The stacks above were measured at 255; a shorter name can only make every frame that holds one smaller.

Exit

On aarch64, riscv64 and x86_64: a file named with more than 16 bytes is granted at the prompt and read by the program it was granted to, and an installed least_authority_demo runs by its package path.

BUGS

Follow-on

Index row

A customer's files are not named for a demonstrator's limit. A name like quarterly-report.txt can be granted at the prompt and read by the program it was granted to, and a package's program named over sixteen bytes runs by its path.