loopprep

Path Resolver

total 00:00
Hard48 minPremium Asked at OpenAIPerplexity

    Build the in-memory file system a sandboxed agent works in, then the path resolver underneath it: cd with . and .., relative and home paths, symbolic links that resolve the way a kernel does, and a loop check that tells a cycle from a long chain.

    The five steps
    1. Directories and files 8 min
    2. Moving around with cd 9 min
    3. Relative paths and home 9 min
    4. Symbolic links 11 min
    5. Links that loop 11 min