proto, memoryd: no line of an entry may start with §, and headers are exact

Implemented-By: OpenCode session (model recorded in docs/implementer-log.md)
This commit is contained in:
2026-09-25 16:41:44 -07:00
parent 3640d32de0
commit 81107bc5c6
6 changed files with 114 additions and 4 deletions
+2 -1
View File
@@ -118,7 +118,8 @@ fn parse_header(line: &str) -> Option<(Kind, String, String)> {
};
let untrusted = match parts.get(2) {
None => false,
Some(s) => *s == "untrusted",
Some(&"untrusted") => true,
Some(_) => return None,
};
Some((
Kind::Noted { class, untrusted },