tracker/semantic-firewall/day-2
2
WK1Build The Core Firewall· day 2/30

Command Parsing

tasks░░░░░░░░░░░░0/4
CONCEPTS
  • shlex
  • safe parsing
  • tokenization
BUILD
  • Parser that splits: rm -rf / → base_command='rm', args=['-rf', '/']
TASKS
0%
01Write parser.py with shlex
02Parse base command and args
03Handle edge cases (quotes, pipes)
04Write tests for parser
OUTPUTbase_command = 'rm' args = ['-rf', '/']
DEV LOG · 2026-05-27
dump your brain — what clicked, what broke, what you're thinking
← day 1semantic-firewallday 3