You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
agent-guards fast path: umask-proof bytecode tests and real code filenames (#1119 follow-up) #1143
area:guardsAgent guards, hooks, permissionssize:smallOne place, about an hour, no design questiontype:tech-debtKnown shortcut or follow-up to pay back later
The agent-guards bytecode tests pass only under umask 022. Under umask 002 four subtests fail, because the .pyc the test writes is group-writable and the guard (rightly) refuses it. Fix: chmod 0644 in the test helper.
The installer's .pyc names its code after the temporary install folder, so a guard traceback shows a folder that no longer exists. Answers are unaffected. Fix: _imp._fix_co_filename or the dfile argument when compiling.
(Theoretical) If the 3 s stdin alarm fires right after a read, that chunk of the event is lost. Only matters for an event still arriving after 3 s.
area:guardsAgent guards, hooks, permissionssize:smallOne place, about an hour, no design questiontype:tech-debtKnown shortcut or follow-up to pay back later
Activity
scuttletoby commentedon Nov 28, 2026
Claimed by the agent-guards follow-up sweep (#1143 + #1131 in one PR, branch
fix/agent-guards-1143-1131).agent-guards: actions guard fails closed on words made at run time; f…
agent-guards: fast path keeps every stdin byte and names bytecode aft…