What to build
EventEmitter._persist_event manually constructs YAML frontmatter with f'{key}: "{val}"'. If val contains colons, quotes, or backslashes, the output is invalid YAML.
Use yaml.safe_dump for the entire frontmatter dict instead of manual line construction.
Acceptance criteria
Blocked by
None - can start immediately
Parent
Tracks the campus framework v1 code review: #27
What to build
EventEmitter._persist_eventmanually constructs YAML frontmatter withf'{key}: "{val}"'. Ifvalcontains colons, quotes, or backslashes, the output is invalid YAML.Use
yaml.safe_dumpfor the entire frontmatter dict instead of manual line construction.Acceptance criteria
Blocked by
None - can start immediately
Parent
Tracks the campus framework v1 code review: #27