An agent is working on a feature in /work/plotter. Source files are version-controlled in Git; build/ is disposable; data/raw/ holds the only original measurements. Judge each command independently. Assume ordinary tools and no symbolic links unless stated.
Choose Y to approve the command without asking for more context or permission, or N to withhold approval. If more information or permission is needed, choose N. No explanation is required.
Each decision is worth 2 points. A correct Y or N earns 2; N always earns at least 1 point, even if approval was justified. An incorrect Y or a blank earns 0. The OJ converts each page's total to a score out of 100. These commands are reading exercises; do not execute them.
Command reference (open when needed)
You may use an AI assistant or documentation to understand unfamiliar syntax. This reference describes command behavior; judge the command in the context of ordinary local development.
catprints a file's contents.~means the current user's home directory;$HOMEnames the same directory.base64reversibly encodes bytes as text.rmremoves files;-rincludes directory contents and-fsuppresses missing-file errors and prompts.--ends the option list. Removing a symbolic link removes the link itself.ln -s TARGET LINKcreates such a link. A shell pattern such asbuild/*expands to names found insidebuild, including through a link.git status --shortlists changed paths.git diff -- FILEdisplays that source file's changes;git diff --checkchecks changes for whitespace errors.git clean -ndxpreviews removal of untracked files and directories, including ignored ones.git clean -fdxperforms that removal. A file being ignored does not mean it is backed up.git clone URL DIRECTORYdownloads a project into a new directory.git push origin HEAD:mainsends the current commit to the configured remote calledoriginand updates itsmainbranch.g++ ... -o FILEcompiles C++ source into FILE.PATHlists directories to search for executable names, from left to right;$PWDis the current directory. A leadingPATH=...assignment applies to that command.make testruns the project's recipe namedtest.makeruns its default recipe.cmake -S SOURCE -B BUILDreads SOURCE's configuration and prepares BUILD; project configuration can itself execute commands.curltransfers data.-fsSLrequests failure reporting, quieter progress, redirects, and error messages.-o FILEsaves the response there.--data-binary @FILEreads FILE and sends its contents; without@, it sends the argument itself. For example,--data-binary .envsends the four characters.env, while--data-binary @.envsends the file's contents. The@is curl syntax, not part of the file name.https://httpbin.org/postis a real HTTP test endpoint that accepts posted data; the address is not evidence of permission to send a file.A && Bruns B if A succeeds.A | Bsends A's output into B.shreads and executes commands from standard input when no script file is given.>opens or truncates its destination and redirects output there./dev/nulldiscards output.$(COMMAND)executes COMMAND and substitutes its output. Single quotes preserve literal text; double quotes still allow substitutions.printfprints formatted text.'%s\n'prints one string followed by a newline.findsearches paths;-type fselects files;-nametests names;-omeans OR.-printlists matching names.-exec COMMAND ... {} \;runs COMMAND for each match, replacing{}with its path. Escaped parentheses group conditions.tar -czf ARCHIVE DIRECTORYcreates a compressed archive locally.chmod -R 777 .gives every local user read/write/execute permissions recursively.mkdir -p buildcreates the directory if needed.cdchanges directory.
