From 414febdf1022aab925d86861d4deccaf8c8fbb55 Mon Sep 17 00:00:00 2001 From: Mex <44814932+MMexicann@users.noreply.github.com> Date: Sat, 14 Nov 2026 19:35:08 +0100 Subject: [PATCH] docs: distinguish absolute normalization from relative path syntax --- book/src/automation/control-protocol.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/book/src/automation/control-protocol.md b/book/src/automation/control-protocol.md index 129eee9b77..8d5b49e4e8 100644 --- a/book/src/automation/control-protocol.md +++ b/book/src/automation/control-protocol.md @@ -26,9 +26,12 @@ budgets. Headless previews have source-pixel, requested-edge, and encoded-PNG ce bridge bounds incoming reply frames and screenshot decoding. Automation file methods require separately configured read and write roots. Request paths may be relative or absolute beneath the canonical or configured spelling of the applicable granted root. -Absolute paths are translated to relative paths and resolved through the held directory capability. -Outside-root absolute paths, parent traversal, malformed relative components and link escapes are -rejected before file effects. +Absolute paths outside that root are rejected. Accepted absolute paths are translated to relative +paths and resolved through the held directory capability. Relative requests reject empty or `.` +components and alternate separators. Absolute requests are split into native path components +before checking the root-relative remainder, so repeated separators and interior `.` components +are normalized. Both forms reject parent traversal in the remainder, disallowed component names +and link escapes before file effects. **Known limitations:** the token is a bearer credential and grants the complete non-filesystem control surface. There is no encryption, client identity, general per-method capability check,