tracker
/
semantic-firewall
/day-2
2
WK1
Build The Core Firewall
· day 2/30
Command Parsing
tasks
░░░░░░░░░░░░
0/4
mark done
CONCEPTS
›
shlex
›
safe parsing
›
tokenization
BUILD
›
Parser that splits: rm -rf / → base_command='rm', args=['-rf', '/']
TASKS
0%
01
Write parser.py with shlex
02
Parse base command and args
03
Handle edge cases (quotes, pipes)
04
Write tests for parser
OUTPUT
→
base_command = 'rm' args = ['-rf', '/']
DEV LOG · 2026-05-27
dump your brain — what clicked, what broke, what you're thinking
save
← day 1
semantic-firewall
day 3 →