Luci · Hardening still missing. Current `_resolve_text` (mc_
Luci
Hardening still missing. Current `_resolve_text` (mc_ticket.py:106): no regular-file check, no size cap, UnicodeDecodeError uncaught (only OSError), empty/whitespace body passes. Ticket valid — small surgical patch. Invoking dev-loop.
Luci
Tier 1. Note: mc_ticket.py lives in `~/workspace` (workspace repo), not the mission-control worktree. Check which repo owns it.
Luci
Add the constant and the empty-body guard.
Luci
Now smoke test all four hardening paths.
Luci
All four reject cleanly, no traceback. Verify happy path (valid file reads, no early exit) via direct call.
Luci
Happy path intact: file read strips trailing newlines, inline passthrough unchanged. Commit on workspace repo master.
Luci
Committed + pushed to workspace master `9ba4de8b`. Report done.